The attempt to merge lp:~brendan-donegan/checkbox/bug1084601 into lp:checkbox failed. Below is the output from the failed tests. Running unittests... [checkbox/lib/tests/test_resolver.py] (tests=9, failures=0, errors=0) [checkbox/parsers/tests/test_xinput.py] (tests=8, failures=0, errors=0) [checkbox/parsers/tests/test_dmidecode.py] (tests=5, failures=0, errors=0) [checkbox/parsers/tests/test_description.py] (tests=14, failures=0, errors=0) [checkbox/parsers/tests/test_efi.py] (tests=3, failures=0, errors=0) [checkbox/parsers/tests/test_dmi.py] (tests=0, failures=0, errors=0) [checkbox/parsers/tests/test_udevadm.py] (tests=4, failures=0, errors=0) [checkbox/parsers/tests/test_cputable.py] (tests=2, failures=0, errors=0) [checkbox/parsers/tests/test_submission.py] (tests=10, failures=0, errors=0) [checkbox/tests/test_message_files.py] (tests=7, failures=0, errors=0) [checkbox/tests/test_report.py] (tests=4, failures=0, errors=0) [checkbox/tests/test_setup_files.py] (tests=3, failures=0, errors=0) [checkbox/tests/test_job.py] (tests=2, failures=0, errors=0) [checkbox/heuristics/tests/test_udisks2.py] (tests=1, failures=0, errors=0) Running doctests... [checkbox/parsers/tests/fixtures/xinput_quantal.txt] (tests=0, failures=0, errors=0) [checkbox/parsers/tests/fixtures/xinput_toshiba.txt] (tests=0, failures=0, errors=0) Total test cases: 72 Total doctests: 0 Total failures: 0 Total errors: 0 running test running egg_info creating plainbox.egg-info writing requirements to plainbox.egg-info/requires.txt writing plainbox.egg-info/PKG-INFO writing top-level names to plainbox.egg-info/top_level.txt writing dependency_links to plainbox.egg-info/dependency_links.txt writing entry points to plainbox.egg-info/entry_points.txt writing manifest file 'plainbox.egg-info/SOURCES.txt' reading manifest file 'plainbox.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'plainbox.egg-info/SOURCES.txt' running build_ext + ./test ......... ---------------------------------------------------------------------- Ran 9 tests in 0.041s OK ........ ---------------------------------------------------------------------- Ran 8 tests in 0.177s OK ..... ---------------------------------------------------------------------- Ran 5 tests in 0.050s OK .............. ---------------------------------------------------------------------- Ran 14 tests in 0.053s OK ... ---------------------------------------------------------------------- Ran 3 tests in 0.025s OK ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK .... ---------------------------------------------------------------------- Ran 4 tests in 0.037s OK .. ---------------------------------------------------------------------- Ran 2 tests in 0.008s OK .......... ---------------------------------------------------------------------- Ran 10 tests in 3.043s OK ....... ---------------------------------------------------------------------- Ran 7 tests in 82.222s OK .... ---------------------------------------------------------------------- Ran 4 tests in 0.054s OK ... ---------------------------------------------------------------------- Ran 3 tests in 0.095s OK .. ---------------------------------------------------------------------- Ran 2 tests in 0.334s OK . ---------------------------------------------------------------------- Ran 1 test in 0.004s OK + cd plainbox + ./setup.py test test_default_dump (impl.exporter.test_json.JSONSessionStateExporterTests) ... ok test_machine_dump (impl.exporter.test_json.JSONSessionStateExporterTests) ... ok test_supported_option_list (impl.exporter.test_json.JSONSessionStateExporterTests) ... ok test_classproperty_on_cls (impl.exporter.test_init.ClassPropertyTests) ... ok test_classproperty_on_obj (impl.exporter.test_init.ClassPropertyTests) ... ok test_all_at_once (impl.exporter.test_init.SessionStateExporterBaseTests) ... ok test_defaults (impl.exporter.test_init.SessionStateExporterBaseTests) ... ok test_io_log_processors (impl.exporter.test_init.SessionStateExporterBaseTests) ... ok test_repr (impl.test_rfc822.OriginTests) ... ok test_smoke (impl.test_rfc822.OriginTests) ... ok test_str (impl.test_rfc822.OriginTests) ... ok test_bad_multiline (impl.test_rfc822.RFC822ParserTests) ... ok test_duplicate_error (impl.test_rfc822.RFC822ParserTests) ... ok test_empty (impl.test_rfc822.RFC822ParserTests) ... ok test_garbage (impl.test_rfc822.RFC822ParserTests) ... ok test_irrelevant_whitespace (impl.test_rfc822.RFC822ParserTests) ... ok test_many_multiline_values (impl.test_rfc822.RFC822ParserTests) ... ok test_many_newlines (impl.test_rfc822.RFC822ParserTests) ... ok test_many_records (impl.test_rfc822.RFC822ParserTests) ... ok test_multiline_value (impl.test_rfc822.RFC822ParserTests) ... ok test_multiline_value_with_period (impl.test_rfc822.RFC822ParserTests) ... ok test_multiline_value_with_space (impl.test_rfc822.RFC822ParserTests) ... ok test_relevant_whitespace (impl.test_rfc822.RFC822ParserTests) ... ok test_single_record (impl.test_rfc822.RFC822ParserTests) ... ok test_syntax_error (impl.test_rfc822.RFC822ParserTests) ... ok test_smoke (impl.test_rfc822.RFC822RecordTests) ... ok test_multiline_value (impl.test_rfc822.RFC822WriterTests) ... ok test_multiline_value_with_period (impl.test_rfc822.RFC822WriterTests) ... ok test_multiline_value_with_space (impl.test_rfc822.RFC822WriterTests) ... ok test_multiple_record (impl.test_rfc822.RFC822WriterTests) ... ok test_single_record (impl.test_rfc822.RFC822WriterTests) ... ok test_type_error (impl.test_rfc822.RFC822WriterTests) ... ok test_affected_job (impl.test_depmgr.DependencyCycleErrorTests) ... ok test_job_list (impl.test_depmgr.DependencyCycleErrorTests) ... ok test_repr (impl.test_depmgr.DependencyCycleErrorTests) ... ok test_str (impl.test_depmgr.DependencyCycleErrorTests) ... ok test_affected_job (impl.test_depmgr.DependencyDuplicateErrorTests) ... ok test_duplicate_job (impl.test_depmgr.DependencyDuplicateErrorTests) ... ok test_job (impl.test_depmgr.DependencyDuplicateErrorTests) ... ok test_repr (impl.test_depmgr.DependencyDuplicateErrorTests) ... ok test_str (impl.test_depmgr.DependencyDuplicateErrorTests) ... ok test_affected_job (impl.test_depmgr.DependencyMissingErrorTests) ... ok test_job (impl.test_depmgr.DependencyMissingErrorTests) ... ok test_missing_job_name (impl.test_depmgr.DependencyMissingErrorTests) ... ok test_repr_direct (impl.test_depmgr.DependencyMissingErrorTests) ... ok test_repr_resource (impl.test_depmgr.DependencyMissingErrorTests) ... ok test_str_direct (impl.test_depmgr.DependencyMissingErrorTests) ... ok test_str_resoucee (impl.test_depmgr.DependencyMissingErrorTests) ... ok test_get_dependency_set_direct_one (impl.test_depmgr.DependencySolverInternalsTests) ... ok test_get_dependency_set_direct_two (impl.test_depmgr.DependencySolverInternalsTests) ... ok test_get_dependency_set_empty (impl.test_depmgr.DependencySolverInternalsTests) ... ok test_get_job_map_find_duplicates (impl.test_depmgr.DependencySolverInternalsTests) ... ok test_get_job_map_produces_map (impl.test_depmgr.DependencySolverInternalsTests) ... ok test_dependency_cycle_longer (impl.test_depmgr.TestDependencySolver) ... ok test_dependency_cycle_self (impl.test_depmgr.TestDependencySolver) ... ok test_dependency_cycle_simple (impl.test_depmgr.TestDependencySolver) ... ok test_dependency_cycle_via_resource (impl.test_depmgr.TestDependencySolver) ... ok test_direct_deps (impl.test_depmgr.TestDependencySolver) ... ok test_empty (impl.test_depmgr.TestDependencySolver) ... ok test_independent_groups_deps (impl.test_depmgr.TestDependencySolver) ... ok test_missing_direct_dependency (impl.test_depmgr.TestDependencySolver) ... ok test_missing_resource_dependency (impl.test_depmgr.TestDependencySolver) ... ok test_resource_deps (impl.test_depmgr.TestDependencySolver) ... ok test_visiting_blackend_node (impl.test_depmgr.TestDependencySolver) ... ok test_argparse_is_supported (impl.test_box.TestIOTest) ... ok test_both (impl.test_box.TestIOTest) ... ok test_both_combined (impl.test_box.TestIOTest) ... ok test_stderr (impl.test_box.TestIOTest) ... ok test_stdin (impl.test_box.TestIOTest) ... ok test_stdin_text (impl.test_box.TestIOTest) ... ok test_stdout (impl.test_box.TestIOTest) ... ok test_help (impl.test_box.TestMain) ... ok test_run_without_args (impl.test_box.TestMain) ... ok test_version (impl.test_box.TestMain) ... ok test_help (impl.test_box.TestRun) ... ok test_output_format_list (impl.test_box.TestRun) ... ok test_output_option_list (impl.test_box.TestRun) ... ok test_run_without_args (impl.test_box.TestRun) ... ok test_help (impl.test_box.TestSpecial) ... ok test_run_dot (impl.test_box.TestSpecial) ... ERROR test_run_dot_with_resources (impl.test_box.TestSpecial) ... ERROR test_run_list_expressions (impl.test_box.TestSpecial) ... ERROR test_run_list_jobs (impl.test_box.TestSpecial) ... ok test_run_list_jobs_with_filtering (impl.test_box.TestSpecial) ... ok test_run_without_args (impl.test_box.TestSpecial) ... ok test_bad_initialization (impl.test_session.JobReadinessInhibitorTests) ... ok test_failed_dep (impl.test_session.JobReadinessInhibitorTests) ... ok test_failed_resource (impl.test_session.JobReadinessInhibitorTests) ... ok test_pending_dep (impl.test_session.JobReadinessInhibitorTests) ... ok test_pending_resource (impl.test_session.JobReadinessInhibitorTests) ... ok test_unknown (impl.test_session.JobReadinessInhibitorTests) ... ok test_unknown_global (impl.test_session.JobReadinessInhibitorTests) ... ok test_can_start (impl.test_session.JobStateTests) ... ok test_getting_job (impl.test_session.JobStateTests) ... ok test_readiness_description (impl.test_session.JobStateTests) ... ok test_setting_job_is_not_allowed (impl.test_session.JobStateTests) ... ok test_setting_readiness_inhibitor_list (impl.test_session.JobStateTests) ... ok test_setting_result (impl.test_session.JobStateTests) ... ok test_smoke (impl.test_session.JobStateTests) ... ok test_assumptions (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_desire_job_A_updates_state_map (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_desire_job_X_updates_state_map (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_desired_job_X_can_run_with_passing_job_Y (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_desired_job_X_cannot_run_with_failed_job_Y (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_desired_job_X_cannot_run_with_no_resource_R (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_normal_job_result_updates (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_resource_job_result_overwrites_old_resources (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_resource_job_result_updates_resource_and_job_states (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_resource_job_with_broken_output (impl.test_session.SessionStateReactionToJobResultTests) ... ok test_initial_desired_job_list (impl.test_session.SessionStateSmokeTests) ... ok test_initial_job_list (impl.test_session.SessionStateSmokeTests) ... ok test_initial_run_list (impl.test_session.SessionStateSmokeTests) ... ok test_initial_session_dir (impl.test_session.SessionStateSmokeTests) ... ok test_resource_job_affects_resouces (impl.test_session.SessionStateSpecialTests) ... ok test_depedency_parsing_commas (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_empty (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_multiple_commas (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_multiple_spaces (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_newlines (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_single_word (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_spaces (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_spaces_and_commas (impl.test_job.TestJobDefinition) ... ok test_depedency_parsing_tabs (impl.test_job.TestJobDefinition) ... ok test_from_rfc822_record_full_record (impl.test_job.TestJobDefinition) ... ok test_from_rfc822_record_min_record (impl.test_job.TestJobDefinition) ... ok test_from_rfc822_record_missing_name (impl.test_job.TestJobDefinition) ... ok test_from_rfc822_record_missing_plugin (impl.test_job.TestJobDefinition) ... ok test_repr (impl.test_job.TestJobDefinition) ... ok test_resource_parsing_broken (impl.test_job.TestJobDefinition) ... ok test_resource_parsing_empty (impl.test_job.TestJobDefinition) ... ok test_resource_parsing_many (impl.test_job.TestJobDefinition) ... ok test_resource_parsing_typical (impl.test_job.TestJobDefinition) ... ok test_smoke_full_gettext_record (impl.test_job.TestJobDefinition) ... ok test_smoke_full_record (impl.test_job.TestJobDefinition) ... ok test_smoke_min_record (impl.test_job.TestJobDefinition) ... ok test_str (impl.test_job.TestJobDefinition) ... ok test_everything (impl.test_result.JobResultTests) ... ok test_smoke (impl.test_result.JobResultTests) ... ok test_inheritance (impl.test_resource.CodeNotAllowedTests) ... ok test_smoke (impl.test_resource.CodeNotAllowedTests) ... ok test_smoke (impl.test_resource.ExpressionCannotEvaluateErrorTests) ... ok test_smoke (impl.test_resource.ExpressionFailedTests) ... ok test_evaluate_checks_resource_type (impl.test_resource.ResourceExpressionTests) ... ok test_evaluate_exception (impl.test_resource.ResourceExpressionTests) ... ok test_evaluate_no_namespaces (impl.test_resource.ResourceExpressionTests) ... ok test_evaluate_normal (impl.test_resource.ResourceExpressionTests) ... ok test_smoke_bad (impl.test_resource.ResourceExpressionTests) ... ok test_smoke_good (impl.test_resource.ResourceExpressionTests) ... ok test_attribute_assignment_disallowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_boolean_ops_are_allowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_calling_int_is_allowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_calling_len_is_allowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_comparisons_are_allowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_function_calls_disallowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_importing_disallowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_in_expresions_are_allowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_in_expresions_with_list_are_allowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_index_assignment_disallowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_name_assignment_disallowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_names_seen (impl.test_resource.ResourceNodeVisitorTests) ... ok test_raising_disallowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_slice_assignment_disallowed (impl.test_resource.ResourceNodeVisitorTests) ... ok test_smoke (impl.test_resource.ResourceNodeVisitorTests) ... ok test_multiple (impl.test_resource.ResourceProgramErrorTests) ... ok test_none (impl.test_resource.ResourceProgramErrorTests) ... ok test_evaluate_failure_no_resource (impl.test_resource.ResourceProgramTests) ... ok test_evaluate_failure_not_true (impl.test_resource.ResourceProgramTests) ... ok test_evaluate_success (impl.test_resource.ResourceProgramTests) ... ok test_evaluate_without_no_match (impl.test_resource.ResourceProgramTests) ... ok test_expressions (impl.test_resource.ResourceProgramTests) ... ok test_required_resources (impl.test_resource.ResourceProgramTests) ... ok test_delattr (impl.test_resource.ResourceTests) ... ok test_eq (impl.test_resource.ResourceTests) ... ok test_getattr (impl.test_resource.ResourceTests) ... ok test_init (impl.test_resource.ResourceTests) ... ok test_ne (impl.test_resource.ResourceTests) ... ok test_private_data_is_not_that_protected (impl.test_resource.ResourceTests) ... ok test_private_data_is_somewhat_protected (impl.test_resource.ResourceTests) ... ok test_repr (impl.test_resource.ResourceTests) ... ok test_setattr (impl.test_resource.ResourceTests) ... ok test_can_import_plainbox_abc (test_public.ImportTestCase) ... ok test_can_import_plainbox_abc (test_abc.ImportTestCase) ... ok ====================================================================== ERROR: test_run_dot (impl.test_box.TestSpecial) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/test_box.py", line 280, in test_run_dot main(['special', '--dot']) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 480, in main retval = box.main(argv) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 452, in main return ns.command.invoked(ns) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 167, in invoked self._print_dot_graph(ns, job_list) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 241, in _print_dot_graph prog = job.get_resource_program() File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/job.py", line 119, in get_resource_program self._resource_program = ResourceProgram(self.requires) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 150, in __init__ self._expression_list.append(ResourceExpression(line)) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 410, in __init__ self._resource_name = self._analyze(text) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 475, in _analyze node = ast.parse(text) File "/usr/lib/python3.2/ast.py", line 36, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "", line 1 command: ^ SyntaxError: invalid syntax ====================================================================== ERROR: test_run_dot_with_resources (impl.test_box.TestSpecial) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/test_box.py", line 290, in test_run_dot_with_resources main(['special', '--dot', '--dot-resources']) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 480, in main retval = box.main(argv) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 452, in main return ns.command.invoked(ns) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 167, in invoked self._print_dot_graph(ns, job_list) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 241, in _print_dot_graph prog = job.get_resource_program() File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/job.py", line 119, in get_resource_program self._resource_program = ResourceProgram(self.requires) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 150, in __init__ self._expression_list.append(ResourceExpression(line)) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 410, in __init__ self._resource_name = self._analyze(text) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 475, in _analyze node = ast.parse(text) File "/usr/lib/python3.2/ast.py", line 36, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "", line 1 command: ^ SyntaxError: invalid syntax ====================================================================== ERROR: test_run_list_expressions (impl.test_box.TestSpecial) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/test_box.py", line 272, in test_run_list_expressions main(['special', '--list-expressions']) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 480, in main retval = box.main(argv) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 452, in main return ns.command.invoked(ns) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 165, in invoked self._print_expression_list(ns, job_list) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/box.py", line 216, in _print_expression_list prog = job.get_resource_program() File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/job.py", line 119, in get_resource_program self._resource_program = ResourceProgram(self.requires) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 150, in __init__ self._expression_list.append(ResourceExpression(line)) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 410, in __init__ self._resource_name = self._analyze(text) File "/home/zyga/.cache/tarmac/branches/checkbox/trunk/plainbox/plainbox/impl/resource.py", line 475, in _analyze node = ast.parse(text) File "/usr/lib/python3.2/ast.py", line 36, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "", line 1 command: ^ SyntaxError: invalid syntax ---------------------------------------------------------------------- Ran 182 tests in 24.523s FAILED (errors=3)