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 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1757470 Title: apport autopkgtests broken (valgrind error) toolchain regression? Status in apport package in Ubuntu: Incomplete 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1757470/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp