| ====================================================================== | |
| ERROR: test_state_machine_exception (ubuntu_image.tests.test_main.TestMain) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_main.py", line 127, in test_state_machine_exception | |
| mock.call_args_list[-1], call('Crash in state machine')) | |
| IndexError: list index out of range | |
| ====================================================================== | |
| ERROR: test_resume_loads_pickle (ubuntu_image.tests.test_main.TestMainWithModel) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_main.py", line 307, in test_resume_loads_pickle | |
| main(('--workdir', workdir, '--resume')) | |
| File "/tmp/ubuntu-image/ubuntu_image/__main__.py", line 147, in main | |
| with open(pickle_file, 'rb') as fp: | |
| FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpimel0dzl/.ubuntu-image.pck' | |
| ====================================================================== | |
| ERROR: test_thru (ubuntu_image.tests.test_main.TestMainWithModel) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_main.py", line 293, in test_thru | |
| with open(os.path.join(workdir, '.ubuntu-image.pck'), 'rb') as fp: | |
| FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpe6valyab/.ubuntu-image.pck' | |
| ====================================================================== | |
| ERROR: test_until (ubuntu_image.tests.test_main.TestMainWithModel) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_main.py", line 278, in test_until | |
| with open(os.path.join(workdir, '.ubuntu-image.pck'), 'rb') as fp: | |
| FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfy563har/.ubuntu-image.pck' | |
| ====================================================================== | |
| ERROR: test_bootloader_options_invalid (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 302, in test_bootloader_options_invalid | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_bootloader_options_uboot (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 247, in test_bootloader_options_uboot | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_calculate_bootfs_size_no_filesystem (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 463, in test_calculate_bootfs_size_no_filesystem | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_explicit_rootfs_too_small (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1583, in test_explicit_rootfs_too_small | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_image_size_calculated (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1265, in test_image_size_calculated | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_image_size_explicit (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1311, in test_image_size_explicit | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_image_size_too_small (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1359, in test_image_size_too_small | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_image_size_too_small_with_out_of_order_structures (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1420, in test_image_size_too_small_with_out_of_order_structures | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_make_disk (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 698, in test_make_disk | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_make_disk_with_bare_parts (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 863, in test_make_disk_with_bare_parts | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_make_disk_with_out_of_order_structures (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 945, in test_make_disk_with_out_of_order_structures | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_make_disk_with_parts (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 741, in test_make_disk_with_parts | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_make_disk_with_parts_relative_offset_writes (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1136, in test_make_disk_with_parts_relative_offset_writes | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_make_disk_with_parts_system_boot (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1070, in test_make_disk_with_parts_system_boot | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_bootfs_contents (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 344, in test_populate_bootfs_contents | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_bootfs_contents_content_mismatch (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 417, in test_populate_bootfs_contents_content_mismatch | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_filesystems_bogus_type (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 643, in test_populate_filesystems_bogus_type | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_filesystems_ext4_type (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 580, in test_populate_filesystems_ext4_type | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_filesystems_none_type (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 494, in test_populate_filesystems_none_type | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_rootfs_contents_with_cloud_init (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 167, in test_populate_rootfs_contents_with_cloud_init | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_rootfs_contents_with_etc_and_stuff (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 202, in test_populate_rootfs_contents_with_etc_and_stuff | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_populate_rootfs_contents_without_cloud_init (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 131, in test_populate_rootfs_contents_without_cloud_init | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_prepare_filesystems_with_no_vfat_partitions (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1212, in test_prepare_filesystems_with_no_vfat_partitions | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_round_up_size_for_mbr_root_partitions (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1506, in test_round_up_size_for_mbr_root_partitions | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_snap_command_fails (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1645, in test_snap_command_fails | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| ERROR: test_snap_command_fails_debug (ubuntu_image.tests.test_builder.TestModelAssertionBuilder) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_builder.py", line 1692, in test_snap_command_fails_debug | |
| state = resources.enter_context(XXXModelAssertionBuilder(args)) | |
| File "/tmp/ubuntu-image/ubuntu_image/builder.py", line 53, in __init__ | |
| raise TMPNotReadableFromOutsideSnap | |
| ubuntu_image.builder.TMPNotReadableFromOutsideSnap | |
| ====================================================================== | |
| FAIL: test_debug (ubuntu_image.tests.test_main.TestMain) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_main.py", line 101, in test_debug | |
| self.assertEqual(code, 0) | |
| AssertionError: 1 != 0 | |
| ====================================================================== | |
| FAIL: test_no_debug (ubuntu_image.tests.test_main.TestMain) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_main.py", line 114, in test_no_debug | |
| self.assertEqual(code, 0) | |
| AssertionError: 1 != 0 | |
| ====================================================================== | |
| FAIL: test_output (ubuntu_image.tests.test_main.TestMainWithModel) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/tmp/ubuntu-image/ubuntu_image/tests/test_main.py", line 187, in test_output | |
| self.assertTrue(os.path.exists(imgfile)) | |
| AssertionError: False is not true | |
| ---------------------------------------------------------------------- | |
| Ran 200 tests in 4.331s | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment