← Back to team overview

canonical-ubuntu-qa team mailing list archive

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

 

Public bug reported:

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.

** Affects: ubuntu-kernel-tests
     Importance: Undecided
     Assignee: Po-Hsu Lin (cypressyew)
         Status: In Progress


** Tags: google sru-20230904 ubuntu-overlayfs-smoke-test

** Changed in: ubuntu-kernel-tests
       Status: New => In Progress

** Changed in: ubuntu-kernel-tests
     Assignee: (unassigned) => Po-Hsu Lin (cypressyew)

-- 
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



Follow ups