Bug#1133156: RFS: avocado/113.0-1 [ITP] -- Set of tools and libraries to help with automated testing

Simon Quigley <[email protected]> Wed, 15 Jul 2026 14:58:10 -0500
Newsgroups gmane.linux.debian.devel.mentors
Message-ID <FBAAC1AB-EC18-4380-AD54-021A2D1ABB76__8267.31533031619$1784145583$gmane$org@tsimonq2.net>
Control: tags -1 +moreinfo

Hello,

Thank you for your work on this package.

I'm getting some test failures on build, can you reproduce this?

RESULTS    : PASS 897 | ERROR 0 | FAIL 5 | SKIP 32 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB TIME   : 160.48 s
Log file "debug.log" content for test "unit-129-selftests/unit/runner_package.py:ActionTests.test_success_remove" (FAIL):
[stdout] ======================================================================
[stdout] FAIL: test_success_remove (runner_package.ActionTests.test_success_remove)
[stdout] ----------------------------------------------------------------------
[stdout] Traceback (most recent call last):
[stdout]   File "/build/reproducible-path/avocado-113.0/selftests/unit/runner_package.py", line 133, in test_success_remove
[stdout]     self.assertIn(stdout, messages[-3]["log"])
[stdout]     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[stdout] AssertionError: b'Package(s) foo removed successfully' not found in b'Package foo not installed'
[stdout] 
[stdout] ----------------------------------------------------------------------
[stdout] Ran 1 test in 0.576s
[stdout] 
[stdout] FAILED (failures=1)

Log file "debug.log" content for test "unit-127-selftests/unit/runner_package.py:ActionTests.test_already_installed" (FAIL):
[stdout] ======================================================================
[stdout] FAIL: test_already_installed (runner_package.ActionTests.test_already_installed)
[stdout] ----------------------------------------------------------------------
[stdout] Traceback (most recent call last):
[stdout]   File "/build/reproducible-path/avocado-113.0/selftests/unit/runner_package.py", line 93, in test_already_installed
[stdout]     self.assertEqual(messages[-1]["result"], "pass")
[stdout]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[stdout] AssertionError: 'error' != 'pass'
[stdout] - error
[stdout] + pass
[stdout] 
[stdout] 
[stdout] ----------------------------------------------------------------------
[stdout] Ran 1 test in 0.627s
[stdout] 
[stdout] FAILED (failures=1)

Log file "debug.log" content for test "unit-131-selftests/unit/runner_package.py:ActionTests.test_fail_remove" (FAIL):
[stdout] ======================================================================
[stdout] FAIL: test_fail_remove (runner_package.ActionTests.test_fail_remove)
[stdout] ----------------------------------------------------------------------
[stdout] Traceback (most recent call last):
[stdout]   File "/build/reproducible-path/avocado-113.0/selftests/unit/runner_package.py", line 168, in test_fail_remove
[stdout]     self.assertEqual(messages[-1]["result"], "error")
[stdout]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[stdout] AssertionError: 'pass' != 'error'
[stdout] - pass
[stdout] + error
[stdout] 
[stdout] 
[stdout] ----------------------------------------------------------------------
[stdout] Ran 1 test in 0.582s
[stdout] 
[stdout] FAILED (failures=1)

Log file "debug.log" content for test "unit-126-selftests/unit/runner_package.py:ActionTests.test_success_install" (FAIL):
[stdout] ======================================================================
[stdout] FAIL: test_success_install (runner_package.ActionTests.test_success_install)
[stdout] ----------------------------------------------------------------------
[stdout] Traceback (most recent call last):
[stdout]   File "/build/reproducible-path/avocado-113.0/selftests/unit/runner_package.py", line 75, in test_success_install
[stdout]     self.assertEqual(messages[-1]["result"], "pass")
[stdout]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[stdout] AssertionError: 'error' != 'pass'
[stdout] - error
[stdout] + pass
[stdout] 
[stdout] 
[stdout] ----------------------------------------------------------------------
[stdout] Ran 1 test in 1.183s
[stdout] 
[stdout] FAILED (failures=1)

Log file "debug.log" content for test "unit-132-selftests/unit/runner_package.py:ActionTests.test_success_check" (FAIL):
[stdout] ======================================================================
[stdout] FAIL: test_success_check (runner_package.ActionTests.test_success_check)
[stdout] ----------------------------------------------------------------------
[stdout] Traceback (most recent call last):
[stdout]   File "/build/reproducible-path/avocado-113.0/selftests/unit/runner_package.py", line 186, in test_success_check
[stdout]     self.assertEqual(messages[-1]["result"], "pass")
[stdout]     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[stdout] AssertionError: 'error' != 'pass'
[stdout] - error
[stdout] + pass
[stdout] 
[stdout] 
[stdout] ----------------------------------------------------------------------
[stdout] Ran 1 test in 0.605s
[stdout] 
[stdout] FAILED (failures=1)


Test summary:
unit-126-selftests/unit/runner_package.py:ActionTests.test_success_install: FAIL
unit-127-selftests/unit/runner_package.py:ActionTests.test_already_installed: FAIL
unit-129-selftests/unit/runner_package.py:ActionTests.test_success_remove: FAIL
unit-131-selftests/unit/runner_package.py:ActionTests.test_fail_remove: FAIL
unit-132-selftests/unit/runner_package.py:ActionTests.test_success_check: FAIL
make[1]: *** [debian/rules:13: override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/reproducible-path/avocado-113.0'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Build finished at 2026-07-15T19:55:11Z

Please remove the moreinfo tag once you're ready for another review. Feel free to CC me, if I'm available I can take another look.

Best regards,
Simon Quigley
[email protected]