--- 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
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 --- l_mem_leak_ detection (__main__.T) cache_options (__main__.T) j/test- sandbox j/test- cache t.d3vYLb/ autopkgtest_ tmp/apport- tests min_installed (__main__.T)
test_help_display (__main__.T)
help display ... ok
test_intentiona
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_
apport-valgrind creates a user specified sandbox and cache ... Installing extra package coreutils to get ExecutablePath
Sandbox directory: /tmp/tmphurfbea
Cache directory: /tmp/tmphurfbea
ok
test_unpackaged_exe (__main__.T)
apport-valgrind creates valgrind log on unpackaged executable ... /tmp/autopkgtes
ok
test_valgrind_
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