lxc test failed on Azure T-4.15

Bug #1813878 reported by Po-Hsu Lin
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Triaged
Undecided
Unassigned
linux-signed-azure (Ubuntu)
New
Undecided
Unassigned

Bug Description

There are 11 failures reported in the lxc test for Azure T-4.15:

* lxc-test-autostart
* lxc-test-cgpath
* lxc-test-concurrent
* lxc-test-containertests (seems flaky on different nodes, sometime it passed and some time it don't)
* lxc-test-createtest
* lxc-test-destroytest
* lxc-test-device-add-remove
* lxc-test-ubuntu
* lxc-test-unpriv
* lxc-test-usernic
* api_test.py

Test log for each tests:
* lxc-test-autostart
 Running '/usr/bin/lxc-test-autostart'
 Setting up the GPG keyring
 Downloading the image index
 ERROR: Couldn't find a matching image.
 lxc_container: lxccontainer.c: create_run_template: 1092 container creation template for lxc-test-auto failed
 lxc_container: lxc_create.c: main: 274 Error creating container lxc-test-auto
 FAIL

* lxc-test-cgpath
 setting root password to "root"
 Password for 'root' changed
 cgpath.c:69 lxc_cmd_get_cgroup_path returned NULL
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxctest1": Operation not permitted.
 lxc_container: lxccontainer.c: lxcapi_destroy: 2031 container lxctest1 is not stopped

* lxc-test-concurrent
 Running '/usr/bin/lxc-test-concurrent'

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxc-test-concurrent-0": Operation not permitted.
 Stopping the container (lxc-test-concurrent-0) failed...
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxc-test-concurrent-2": Operation not permitted.
 Stopping the container (lxc-test-concurrent-2) failed...
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxc-test-concurrent-1": Operation not permitted.
 Stopping the container (lxc-test-concurrent-1) failed...
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxc-test-concurrent-3": Operation not permitted.
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxc-test-concurrent-4": Operation not permitted.
 Stopping the container (lxc-test-concurrent-3) failed...
 Stopping the container (lxc-test-concurrent-4) failed...
 thread returned error 1

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...
 Executing (stop) for 5 containers...

* lxc-test-containertests
 Running '/usr/bin/lxc-test-containertests'
 lxc_conf is not NULL as it should be

* lxc-test-createtest
 Running '/usr/bin/lxc-test-createtest'
 setting root password to "root"
 Password for 'root' changed
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxctest1": Operation not permitted.
 72: failed to stop lxctest1

* lxc-test-destroytest
 Running '/usr/bin/lxc-test-destroytest'
 lxctest1 thought it was defined

* lxc-test-device-add-remove
 Running '/usr/bin/lxc-test-device-add-remove'
 lxc_container: lxccontainer.c: add_remove_device_node: 3260 set_cgroup_item failed while adding the device node
 Adding /dev/network_latency to the container (device_add_remove_test) failed...

* lxc-test-ubuntu
  lxc-start: lxc_start.c: main: 341 The container failed to start.
  lxc-start: lxc_start.c: main: 343 To get more details, run the container in foreground mode.
  lxc-start: lxc_start.c: main: 345 Additional information can be obtained by setting the --logfile and --logpriority options.
  Failed starting ubuntu container

* lxc-test-unpriv
 Running '/usr/bin/lxc-test-unpriv'
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 /usr/sbin/deluser: The user `lxcunpriv' does not exist.
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 Failed to open connection to "unix:path=/sys/fs/cgroup/cgmanager/sock" message bus: Failed to connect to socket /sys/fs/cgroup/cgmanager/sock: Connection refused
 c2 is not running
 c1 is not running

* lxc-test-usernic
Running '/usr/bin/lxc-test-usernic'
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 /usr/sbin/deluser: The user `usernic-user' does not exist.
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 sent invalidate(passwd) request, exiting
 sent invalidate(group) request, exiting
 Failed to open connection to "unix:path=/sys/fs/cgroup/cgmanager/sock" message bus: Failed to connect to socket /sys/fs/cgroup/cgmanager/sock: Connection refused
 FAIL

* api_test.py
 Setting up the GPG keyring
 Downloading the image index
 ERROR: Couldn't find a matching image.
Please see the attachment for the complete test log

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-4.15.0-1036-azure 4.15.0-1036.38~14.04.2
ProcVersionSignature: User Name 4.15.0-1036.38~14.04.2-username 4.15.18
Uname: Linux 4.15.0-1036-azure x86_64
ApportVersion: 2.14.1-0ubuntu3.29
Architecture: amd64
Date: Wed Jan 30 07:04:25 2019
SourcePackage: linux-signed-azure
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew)
tags: added: sru-20190722
tags: added: azure
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-lxc
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This one failed on T-4.15-azure as well:
 FAIL: lxc-tests: /usr/bin/lxc-test-containertests
 ---
 161: lxc_conf is not NULL as it should be

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Download full text (101.4 KiB)

Failure for azure : 4.15.0-1061.66~14.04.1 in this cycle, the error message is a bit different.

 FAIL: lxc-tests: /usr/bin/lxc-test-autostart
 ---
 Setting up the GPG keyring
 Downloading the image index
 ERROR: Failed to download http://images.linuxcontainers.org//meta/1.0/index-system
 lxc_container: lxccontainer.c: create_run_template: 1092 container creation template for lxc-test-auto failed
 lxc_container: lxc_create.c: main: 274 Error creating container lxc-test-auto
 FAIL

 FAIL: lxc-tests: /usr/bin/lxc-test-cgpath
 ---
 setting root password to "root"
 Password for 'root' changed
 cgpath.c:69 lxc_cmd_get_cgroup_path returned NULL
 lxc_container: commands.c: lxc_cmd_stop: 628 Failed to stop container "lxctest1": Operation not permitted.
 lxc_container: lxccontainer.c: lxcapi_destroy: 2031 container lxctest1 is not stopped

 FAIL: lxc-tests: /usr/bin/lxc-test-concurrent
 ---

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) for 5 containers...

 Iteration 1/1 maxfd:18
 Executing (create) for 5 containers...
 Executing (start) ...

tags: added: sru-20190930
Sean Feole (sfeole)
Changed in ubuntu-kernel-tests:
status: New → Triaged
tags: added: sru-20191202
Po-Hsu Lin (cypressyew)
tags: added: sru-20200406
Po-Hsu Lin (cypressyew)
tags: added: sru-20200629
Po-Hsu Lin (cypressyew)
tags: added: sru-20200831
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Still failing 4.15.0-1100.111~14.04.1 - azure

tags: added: sru-20201109
Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Found with trusty/linux-azure 4.15.0-1114.127~14.04.1.

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

Found on 4.15.0-1115.128~14.04.1 - azure

tags: added: sru-20210510
Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Found on T-4.15/Azure, cycle sru-20210531 .

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

The result message is outdated here. So I have the bug description updated.

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

Please find attachment for the latest test report on T-azure 4.15.0-1123.136~14.04.1

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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