← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2035301] Re: shiftfs-lxd.sh test in ubuntu_overlayfs_smoke_test hang on Google g1-small

 

** Merge proposal linked:
   https://code.launchpad.net/~canonical-kernel-team/+git/overlay-shiftfs-tests/+merge/451244

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2035301

Title:
   shiftfs-lxd.sh test in ubuntu_overlayfs_smoke_test hang on Google
  g1-small

Status in ubuntu-kernel-tests:
  In Progress

Bug description:
  Issue found on instance g1-small on Google cloud. Not a regression,
  this issues exists when we first introduce this test.

  The test will fail with the 600 seconds timeout:
   Running 'sudo -iu ubuntu /home/ubuntu/autotest/client/tmp/ubuntu_overlayfs_smoke_test/src/overlay-shiftfs-tests/tests/shiftfs-lxd.sh'
   Storage pool zfs created
   Creating c1
   
  Retrieving image: Unpack: 100% (1.46GB/s)
                                            
  Retrieving image: Unpack: 100% (1.46GB/s)
                                            
  Starting c1
   PASS
   Timer expired (600 sec.), nuking pid 7630

  Manual test shows this test stuck with:
      lxc stop c1

  From the console output it looks like we are trying to stop c1 but
  it's not fully started (console is still printing output)

  Here is the command to reproduce it:
      lxc storage create zfs zfs size=2GiB
      lxc launch ubuntu:jammy c1 -s zfs
      lxc exec c1 -- touch /root/foo
      if [ $? -ne 0 ]; then
          echo FAIL
          ret=1
      else
          echo PASS
      fi

      lxc stop c1
      lxc delete c1
      lxc storage delete zfs

  
  Adding --force to the stop command can get this fixed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2035301/+subscriptions



References