← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1941031] Re: lxc-test-usernsexec in ubuntu_lxc failed on F/H/I s390x LPAR

 

This was found on s2lp3 with n/fips 6.8.0-78.78+fips1.

The root cause of this issue is how we setup s390x LPARs:
We have the system installed on different disks, but that share the same /home.

When a new partition being added for a new kernel. As it does not
contain the "test-userns" user required for the tests, but it can still
see "test-userns" home directory that got created when we're testing
another release. So this will cause the problem.

To fix this, simply remove ~test-userns and allow the test to create the
"test-userns" user. After that, with all the series got the test-userns
created it should be fine.

If this is hitting us more often, we might need to consider another
solution for it. A more robust clean up process maybe.

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

Title:
  lxc-test-usernsexec in ubuntu_lxc failed on F/H/I s390x LPAR

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found on s390x LPAR node s2lp4 with Focal / Hirsute

   Running '/tmp/lxc-pkg-ubuntu/src/tests/lxc-test-usernsexec'
   [stderr] as test-userns executing /tmp/lxc-pkg-ubuntu/src/tests/lxc-test-usernsexec 
   [stderr] sudo: unknown user: test-userns
   [stderr] sudo: error initializing audit plugin sudoers_audit
   Exception escaping from test:
  Traceback (most recent call last):
    File "/home/ubuntu/autotest/client/shared/test.py", line 411, in _exec
      _call_test_function(self.execute, *p_args, **p_dargs)
    File "/home/ubuntu/autotest/client/shared/test.py", line 823, in _call_test_function
      return func(*args, **dargs)
    File "/home/ubuntu/autotest/client/shared/test.py", line 291, in execute
      postprocess_profiled_run, args, dargs)
    File "/home/ubuntu/autotest/client/shared/test.py", line 212, in _call_run_once
      self.run_once(*args, **dargs)
    File "/home/ubuntu/autotest/client/tests/ubuntu_lxc/ubuntu_lxc.py", line 104, in run_once
      utils.system_output(cmd, retain_output=True)
    File "/home/ubuntu/autotest/client/shared/utils.py", line 1267, in system_output
      verbose=verbose, args=args).stdout
    File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
      "Command returned non-zero exit status")
  CmdError: Command </tmp/lxc-pkg-ubuntu/src/tests/lxc-test-usernsexec> failed, rc=1, Command returned non-zero exit status
  * Command: 
      /tmp/lxc-pkg-ubuntu/src/tests/lxc-test-usernsexec
  Exit status: 1
  Duration: 0.0131859779358

  This failure can be found before the ubuntu_lxc test granularity
  improvement patch (bug 1939859), so this is not caused by test case
  change.

  In previous cycles, this issue can be found with Hirsute 5.11.0-20.21
  and Focal 5.4.0-76.85 thus this is not a regression.

  This issue cannot be found on amd64, so it needs to be investigated.

  Note:
    There was once a failure for "ERRORS: myuidgid" in this test (bug 1900662), but it seems unrelated.

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