ubuntu_cts_kernel / ubuntu_kernel_selftests test will cause failure in ubuntu_lxc (X-4.4)

Bug #1854145 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Won't Fix
Undecided
Unassigned

Bug Description

If you run the ubuntu_cts_kernel test before the ubuntu_lxc test on Xenial 4.4

The python API test will failed with:
  FAIL: python3: API
  ---
  Using image from local cache
  Unpacking the rootfs

  ---
  You just created an Ubuntu xenial amd64 (20191126_07:42) container.

  To enable SSH, run: apt install openssh-server
  No default root or user password are set by LXC.
  Getting instance for '0584f564-10fc-11ea-a596-1c98ec217b34'
  Creating rootfs using 'download', arch=amd64
  Testing the configuration
  Testing the networking
  Starting the container
  Getting the interface names
  Traceback (most recent call last):
    File "/tmp/tmp.OB4XyukIeM", line 109, in <module>
      assert(set(container.get_interfaces()) == set(('lo', 'eth0')))
  AssertionError
  ---

  SUMMARY: pass=38, fail=1, ignored=0

It looks like a test case issue to me, the ubuntu_cts_kernel probably didn't do a good clean up after the test.

Po-Hsu Lin (cypressyew)
tags: added: 4.4 ubuntu-cts-kernel xenial
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This issue can be found on T-4.4 as well.

tags: added: sru-20191111 trusty
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

It looks like the ubuntu_kernel_selftest will cause this failure on X-4.15 as well.

summary: - ubuntu_cts_kernel test will cause failure in ubuntu_lxc (X-4.4)
+ ubuntu_cts_kernel / ubuntu_kernel_selftests test will cause failure in
+ ubuntu_lxc (X-4.4)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still an issue, need to check which sub test is the cause.
But now I am using a workaround to test lxc first then these 2.

tags: added: sru-20200316
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Since we're not testing tests altogether now, I will close this bug.

Changed in ubuntu-kernel-tests:
status: New → Invalid
status: Invalid → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.