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

Bug #2044710 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

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

Po-Hsu Lin (cypressyew)
tags: added: 6.8 noble sru-20240429
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.