apport autopkgtests broken (valgrind error) toolchain regression?

Bug #1757470 reported by Gianfranco Costamagna on 2018-03-21
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Undecided
Unassigned

Bug Description

--- Testing apport_valgrind ---
test_help_display (__main__.T)
help display ... ok
test_intentional_mem_leak_detection (__main__.T)
apport-valgrind log reports intentional memory leak ... ok
test_invalid_args (__main__.T)
return code is not 0 when invalid args are passed ... ok
test_sandbox_cache_options (__main__.T)
apport-valgrind creates a user specified sandbox and cache ... WARNING: /lib/x86_64-linux-gnu/libc.so.6 is needed, but cannot be mapped to a package
ERROR: Cannot find package which ships ExecutablePath /bin/true

Interrupted while creating sandbox
ERROR
test_unpackaged_exe (__main__.T)
apport-valgrind creates valgrind log on unpackaged executable ... /tmp/autopkgtest.aOT0xm/autopkgtest_tmp/apport-tests
ok
test_valgrind_min_installed (__main__.T)
valgrind is installed and recent enough ... ok
test_vlog_created (__main__.T)
apport-valgrind creates valgrind.log with expected content ... ok

======================================================================
ERROR: test_sandbox_cache_options (__main__.T)
apport-valgrind creates a user specified sandbox and cache
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_apport_valgrind.py", line 143, in test_sandbox_cache_options
    subprocess.check_call(cmd)
  File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['apport-valgrind', '--sandbox-dir', '/tmp/tmpbvxep0y2/test-sandbox', '--cache', '/tmp/tmpbvxep0y2/test-cache', 'true']' returned non-zero exit status 1.

----------------------------------------------------------------------
Ran 7 tests in 30.319s

FAILED (errors=1)
--- Testing backend_apt_dpkg ---

the regression seems to indicate a coreutils installation issue
apport-valgrind creates a user specified sandbox and cache ... Installing extra package coreutils to get ExecutablePath
Sandbox directory: /tmp/tmpoytew5vn/test-sandbox
Cache directory: /tmp/tmpoytew5vn/test-cache
ok

Timing and artifacts indicates an lxc regression:

liblxc-common 3.0.0~beta2-0ubuntu2 BAD
liblxc-common 3.0.0~beta1-0ubuntu3 GOOD

Christian Brauner (cbrauner) wrote :

Can we get some logs for the LXC containers that created and fail? Otherwise this is very much a black box.

no longer affects: lxc (Ubuntu)
summary: - apport autopkgtests broken (valgrind error) LXC regression?
+ apport autopkgtests broken (valgrind error) toolchain regression?
Brian Murray (brian-murray) wrote :

I was unable to recreate this failure when testing apport with the following command:

autopkgtest --shell-fail -U apport_2.20.8-0ubuntu10.dsc -- qemu /mnt/sec-machines/autopkgtest-bionic-amd64.img

I also just created the .img file via:

autopkgtest-buildvm-ubuntu-cloud -a amd64 -r bionic -o /mnt/sec-machines/ -m http://192.168.10.7/ubuntu

Here are the test results:

--- Testing apport_valgrind ---
test_help_display (__main__.T)
help display ... ok
test_intentional_mem_leak_detection (__main__.T)
apport-valgrind log reports intentional memory leak ... ok
test_invalid_args (__main__.T)
return code is not 0 when invalid args are passed ... ok
test_sandbox_cache_options (__main__.T)
apport-valgrind creates a user specified sandbox and cache ... Installing extra package coreutils to get ExecutablePath
Sandbox directory: /tmp/tmphurfbeaj/test-sandbox
Cache directory: /tmp/tmphurfbeaj/test-cache
ok
test_unpackaged_exe (__main__.T)
apport-valgrind creates valgrind log on unpackaged executable ... /tmp/autopkgtest.d3vYLb/autopkgtest_tmp/apport-tests
ok
test_valgrind_min_installed (__main__.T)
valgrind is installed and recent enough ... ok
test_vlog_created (__main__.T)
apport-valgrind creates valgrind.log with expected content ... ok

----------------------------------------------------------------------
Ran 7 tests in 44.930s

OK

Changed in apport (Ubuntu):
status: New → Incomplete

I see the latest apport test ran successfully, maybe the bug solved by unrelated changes, lets auto-close this bug in 59 days unless it happens again (I retried the failed tests a few seconds ago)

I retried and the succeeded, closing

Changed in apport (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers