+ python -tt /usr/share/python-support/python-problem-report/problem_report.py -v Test adding information to an existing report. ... ok Test basic creation and operation. ... ok Test writing and re-decoding a big random file. ... ok Test handling of CompressedValue values. ... ok Test non-default constructor arguments. ... ok Test ProblemReport iteration. ... ok Test load() with various formatting. ... ok Test reading, modifying fields, and writing back. ... ok Test reading a report with binary data. ... ok Test reading a report with binary data in legacy format without gzip ... ok Test various error conditions. ... ok Test writing and a big random file with a size limit key. ... ok Test new_keys() and write() with only_new=True. ... ok Test write() and proper formatting. ... ok Test write() with appending to an existing file. ... ok Test writing a report with file pointers and delayed data. ... ok Test writing a report with a pointer to a file-like object with enforcing non-emptyness. ... ok Test writing a report with binary file data. ... ok Test writing a report with a pointer to a file-like object. ... ok Test write_mime() for binary values and file references. ... ok Test write_mime() with extra headers. ... ok Test write_mime() for text values. ... ok ---------------------------------------------------------------------- Ran 22 tests in 4.747s OK + python -tt /usr/share/python-support/python-apport/apport/fileutils.py -v Test check_files_md5(). ... ok Test delete_report(). ... ok Test find_file_package(). ... ok Test find_package_desktopfile(). ... ok Test get_all_reports(). ... ok Test get_recent_crashes(). ... ok Test get_all_system_reports() and get_new_system_reports(). ... ok Test likely_packaged(). ... ok Test make_report_path(). ... ok Test get_new_reports() and seen_report(). ... ok ---------------------------------------------------------------------- Ran 10 tests in 13.090s OK + python -tt /usr/share/python-support/python-apport/apport/report.py -v Test add_gdb_info() with core dump file reference. ... ok Test add_gdb_info() with inline core dump. ... ok Test add_gdb_info() with a script. ... ok Test add_hooks_info(). ... ok Test add_os_info(). ... ok Test add_package_info(). ... ok Test add_proc_info(). ... ok Test add_user_info(). ... ok Test check_ignored() for system-wise blacklist. ... ok Test _check_interpreted(). ... ok Test crash_signature(). ... ok Test _gen_stacktrace_top(). ... ok Test has_useful_stacktrace(). ... ok Test mark_ignore() and check_ignored(). ... ok Test obsolete_packages(). ... ok Test search_bug_patterns(). ... ok Test standard_title(). ... ok ---------------------------------------------------------------------- Ran 17 tests in 14.467s OK + python -tt /usr/share/python-support/python-apport/apport_python_hook.py -v Check the test environment. ... ok Test general operation of the Python crash hook. ... ok Test that the Python crash hook respects the ignore list. ... ok Test that interactive Python sessions never generate a report. ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.525s OK + python -tt /usr/share/python-support/python-apport/apport/ui.py -v Test collect_info() on report without information (distro bug). ... ok Test collect_info() on report with only ExecutablePath. ... ok Test collect_info() on report with a package. ... ok Test format_filesize(). ... ok Test get_complete_size() and get_reduced_size(). ... ok Test handle_duplicate(). ... ok Test load_report(). ... ok Test restart(). ... ok Test run_crash(). ... ok Test run_crash() through a file specified on the command line. ... ok Test run_crash() on various error conditions. ... ok Test run_crash() for a kernel error. ... ok Test run_crash() for a crash dump without CoreDump. ... ok Test run_crash() for a package error. ... ok Test run_crash() on a crash with the UnreportableReason ... ok Test run_crash() on a crash with the UnsupportableReason ... ok Test run_report_bug() for a general distro bug. ... ok Test run_report_bug() for a pid which runs as a different user. ... ok Test run_report_bug() for a package. ... ok Test run_report_bug() for a pid. ... ok Test run_report_bug() for a nonexisting pid. ... ok ---------------------------------------------------------------------- Ran 21 tests in 103.553s OK + python -tt /usr/share/python-support/python-apport/apport/REThread.py -v Test that exc_raise() raises caught thread exception. ... ok Test that exception in thread is caught and passed. ... ok Test that REThread works if run() does not return anything. ... ok Test that return value works properly. ... ok ---------------------------------------------------------------------- Ran 4 tests in 0.500s OK + python -tt /usr/share/python-support/python-apport/apport/chroot.py -v Test directory chroot. ... FAIL Test symlink fixing in chroots. ... FAIL Test null chroot (working in the main system) ... FAIL Test tarball chroot. ... FAIL ====================================================================== FAIL: Test directory chroot. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/share/python-support/python-apport/apport/chroot.py", line 213, in test_dir c = Chroot(d) File "/usr/share/python-support/python-apport/apport/chroot.py", line 73, in __init__ setup_fakeroot_env() File "/usr/share/python-support/python-apport/apport/chroot.py", line 25, in setup_fakeroot_env '%s not found; please set APPORT_LIBFAKEROOT correctly' % libfakeroot AssertionError: /usr/lib/libfakeroot/libfakeroot-sysv.so not found; please set APPORT_LIBFAKEROOT correctly ====================================================================== FAIL: Test symlink fixing in chroots. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/share/python-support/python-apport/apport/chroot.py", line 301, in test_fix_symlinks c = Chroot(d) File "/usr/share/python-support/python-apport/apport/chroot.py", line 73, in __init__ setup_fakeroot_env() File "/usr/share/python-support/python-apport/apport/chroot.py", line 25, in setup_fakeroot_env '%s not found; please set APPORT_LIBFAKEROOT correctly' % libfakeroot AssertionError: /usr/lib/libfakeroot/libfakeroot-sysv.so not found; please set APPORT_LIBFAKEROOT correctly ====================================================================== FAIL: Test null chroot (working in the main system) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/share/python-support/python-apport/apport/chroot.py", line 173, in test_null c = Chroot(None) File "/usr/share/python-support/python-apport/apport/chroot.py", line 73, in __init__ setup_fakeroot_env() File "/usr/share/python-support/python-apport/apport/chroot.py", line 25, in setup_fakeroot_env '%s not found; please set APPORT_LIBFAKEROOT correctly' % libfakeroot AssertionError: /usr/lib/libfakeroot/libfakeroot-sysv.so not found; please set APPORT_LIBFAKEROOT correctly ====================================================================== FAIL: Test tarball chroot. ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/share/python-support/python-apport/apport/chroot.py", line 263, in test_tarball c = Chroot(tar) File "/usr/share/python-support/python-apport/apport/chroot.py", line 73, in __init__ setup_fakeroot_env() File "/usr/share/python-support/python-apport/apport/chroot.py", line 25, in setup_fakeroot_env '%s not found; please set APPORT_LIBFAKEROOT correctly' % libfakeroot AssertionError: /usr/lib/libfakeroot/libfakeroot-sysv.so not found; please set APPORT_LIBFAKEROOT correctly ---------------------------------------------------------------------- Ran 4 tests in 2.585s FAILED (failures=4)