← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2044710] [NEW] api_test.py test in ubuntu_lxc failed with assertion error (len(ips) > 0) on Mantic

 

Public bug reported:

Issue found on M-6.5

The LXC pyhon3 api test will fail with:
 Running 'python3 /usr/share/doc/python3-lxc/examples/api_test.py'
 Downloading the image index
 Downloading the rootfs
 Downloading the metadata 
 The image cache is now ready
 Unpacking the rootfs
 
 ---
 You just created an Ubuntu xenial amd64 (20231120_07:42) container.
 
 To enable SSH, run: apt install openssh-server
 No default root or user password are set by LXC.
 Getting instance for 'd053a1ac-8824-11ee-8a40-a8698c04ebf0'
 Creating rootfs using 'download', arch=amd64
 Testing the configuration
 Testing the networking
 Starting the container
 Getting the interface names
 Getting the IP addresses
 Traceback (most recent call last):
   File "/usr/share/doc/python3-lxc/examples/api_test.py", line 135, in  
     assert(len(ips) > 0)
            ^^^^^^^^^^^^
 AssertionError

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: 6.5 mantic sru-20231030 ubuntu-lxc

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

Title:
  api_test.py test in ubuntu_lxc failed with assertion error (len(ips) >
  0) on Mantic

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found on M-6.5

  The LXC pyhon3 api test will fail with:
   Running 'python3 /usr/share/doc/python3-lxc/examples/api_test.py'
   Downloading the image index
   Downloading the rootfs
   Downloading the metadata 
   The image cache is now ready
   Unpacking the rootfs
   
   ---
   You just created an Ubuntu xenial amd64 (20231120_07:42) container.
   
   To enable SSH, run: apt install openssh-server
   No default root or user password are set by LXC.
   Getting instance for 'd053a1ac-8824-11ee-8a40-a8698c04ebf0'
   Creating rootfs using 'download', arch=amd64
   Testing the configuration
   Testing the networking
   Starting the container
   Getting the interface names
   Getting the IP addresses
   Traceback (most recent call last):
     File "/usr/share/doc/python3-lxc/examples/api_test.py", line 135, in  
       assert(len(ips) > 0)
              ^^^^^^^^^^^^
   AssertionError

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



Follow ups