Public bug reported: The full build log can be found here: https://launchpadlibrarian.net/591270154/buildlog_ubuntu-jammy- amd64.python-argcomplete_1.12.3-0.1_BUILDING.txt.gz. There are several tests failing, here is some relevant output:
====================================================================== ERROR: test_double_quoted_completion (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1117, in test_double_quoted_completion self.assertEqual(self.sh.run_command('prog basic "f\t'), 'foo\r\n') File "/<<PKGBUILDDIR>>/test/test.py", line 1408, in run_command self.child.expect_exact('###', timeout=5) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact return exp.expect_loop(timeout) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7ffb682d51b0> command: /usr/bin/tcsh args: [b'/usr/bin/tcsh'] buffer (last 100 chars): '3> ' before (last 100 chars): '\\#\\#\\#\r\nUnmatched \'"\'.\r\nlcy02-amd64-109:/<<PKGBUILDDIR>>> ' after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 12229 child_fd: 14 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_string: 0: '###' ====================================================================== ERROR: test_exclamation_in_double_quotes (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1159, in test_exclamation_in_double_quotes self.assertEqual(self.sh.run_command('prog spec "x\t'), 'x!x\r\n') File "/<<PKGBUILDDIR>>/test/test.py", line 1408, in run_command self.child.expect_exact('###', timeout=5) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact return exp.expect_loop(timeout) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7ffb68342830> command: /usr/bin/tcsh args: [b'/usr/bin/tcsh'] buffer (last 100 chars): '3> ' before (last 100 chars): '\\#\\#\\#\r\nUnmatched \'"\'.\r\nlcy02-amd64-109:/<<PKGBUILDDIR>>> ' after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 12234 child_fd: 15 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_string: 0: '###' ====================================================================== ERROR: test_quoted_exact (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1134, in test_quoted_exact self.assertEqual(self.sh.run_command('prog basic "f\t--'), 'foo\r\n') File "/<<PKGBUILDDIR>>/test/test.py", line 1408, in run_command self.child.expect_exact('###', timeout=5) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact return exp.expect_loop(timeout) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7ffb68341990> command: /usr/bin/tcsh args: [b'/usr/bin/tcsh'] buffer (last 100 chars): '3> ' before (last 100 chars): '\\#\\#\\#\r\nUnmatched \'"\'.\r\nlcy02-amd64-109:/<<PKGBUILDDIR>>> ' after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 12255 child_fd: 19 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_string: 0: '###' ====================================================================== ERROR: test_single_quoted_completion (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1114, in test_single_quoted_completion self.assertEqual(self.sh.run_command("prog basic 'f\t"), 'foo\r\n') File "/<<PKGBUILDDIR>>/test/test.py", line 1408, in run_command self.child.expect_exact('###', timeout=5) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact return exp.expect_loop(timeout) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7ffb68343640> command: /usr/bin/tcsh args: [b'/usr/bin/tcsh'] buffer (last 100 chars): '3> ' before (last 100 chars): "\\#\\#\\#\r\nUnmatched '''.\r\nlcy02-amd64-109:/<<PKGBUILDDIR>>> " after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 12277 child_fd: 23 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_string: 0: '###' ====================================================================== ERROR: test_single_quotes_in_double_quotes (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1166, in test_single_quotes_in_double_quotes self.assertEqual(self.sh.run_command('prog quote "1\t'), "1'1\r\n") File "/<<PKGBUILDDIR>>/test/test.py", line 1408, in run_command self.child.expect_exact('###', timeout=5) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact return exp.expect_loop(timeout) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7ffb683406a0> command: /usr/bin/tcsh args: [b'/usr/bin/tcsh'] buffer (last 100 chars): '3> ' before (last 100 chars): '\\#\\#\\#\r\nUnmatched \'"\'.\r\nlcy02-amd64-109:/<<PKGBUILDDIR>>> ' after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 12282 child_fd: 24 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_string: 0: '###' ====================================================================== ERROR: test_single_quotes_in_single_quotes (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1171, in test_single_quotes_in_single_quotes self.assertEqual(self.sh.run_command("prog quote '1\t"), "1'1\r\n") File "/<<PKGBUILDDIR>>/test/test.py", line 1408, in run_command self.child.expect_exact('###', timeout=5) File "/usr/lib/python3/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact return exp.expect_loop(timeout) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 181, in expect_loop return self.timeout(e) File "/usr/lib/python3/dist-packages/pexpect/expect.py", line 144, in timeout raise exc pexpect.exceptions.TIMEOUT: Timeout exceeded. <pexpect.pty_spawn.spawn object at 0x7ffb683404c0> command: /usr/bin/tcsh args: [b'/usr/bin/tcsh'] buffer (last 100 chars): '3> ' before (last 100 chars): "\\#\\#\\#\r\nUnmatched '''.\r\nlcy02-amd64-109:/<<PKGBUILDDIR>>> " after: <class 'pexpect.exceptions.TIMEOUT'> match: None match_index: None exitstatus: None flag_eof: False pid: 12287 child_fd: 25 closed: False timeout: 30 delimiter: <class 'pexpect.exceptions.EOF'> logfile: None logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_string: 0: '###' ====================================================================== FAIL: test_completion_environment (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1183, in test_completion_environment self.assertEqual(self.sh.run_command('prog env o\t'), 'ok\r\n') AssertionError: 'o\r\n' != 'ok\r\n' - o + ok ? + ====================================================================== FAIL: test_partial_completion (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1111, in test_partial_completion self.assertEqual(self.sh.run_command('prog basic b\tr'), 'bar\r\n') AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\n[86 chars]\r\n" != 'bar\r\n' + bar - usage: prog basic [-h] {foo,bar,baz} - prog basic: error: argument arg: invalid choice: 'b' (choose from 'foo', 'bar', 'baz') ====================================================================== FAIL: test_quotes (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1162, in test_quotes self.assertEqual(self.sh.run_command('prog quote 1\t'), "1'1\r\n") AssertionError: 'usage: prog quote [-h] {1\'1,2"2}\r\npro[81 chars]\r\n' != "1'1\r\n" + 1'1 - usage: prog quote [-h] {1'1,2"2} - prog quote: error: argument arg: invalid choice: '1' (choose from "1'1", '2"2') ====================================================================== FAIL: test_simple_completion (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1108, in test_simple_completion self.assertEqual(self.sh.run_command('prog basic f\t'), 'foo\r\n') AssertionError: "usage: prog basic [-h] {foo,bar,baz}\r\n[86 chars]\r\n" != 'foo\r\n' + foo - usage: prog basic [-h] {foo,bar,baz} - prog basic: error: argument arg: invalid choice: 'f' (choose from 'foo', 'bar', 'baz') ====================================================================== FAIL: test_special_characters (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1137, in test_special_characters self.assertEqual(self.sh.run_command('prog spec d\tf'), 'd$e$f\r\n') AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y[107 chars]\r\n" != 'd$e$f\r\n' + d$e$f - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} - prog spec: error: argument arg: invalid choice: 'd' (choose from 'd$e$f', 'd$e$g', 'x!x', 'y\\y') ====================================================================== FAIL: test_special_characters_double_quoted (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1145, in test_special_characters_double_quoted self.assertEqual(self.sh.run_command('prog spec "d\tf"'), 'd$e$f\r\n') AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y[111 chars]\r\n" != 'd$e$f\r\n' + d$e$f - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} - prog spec: error: argument arg: invalid choice: 'd\tf' (choose from 'd$e$f', 'd$e$g', 'x!x', 'y\\y') ====================================================================== FAIL: test_special_characters_single_quoted (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1142, in test_special_characters_single_quoted self.assertEqual(self.sh.run_command("prog spec 'd\tf'"), 'd$e$f\r\n') AssertionError: "usage: prog spec [-h] {d$e$f,d$e$g,x!x,y[111 chars]\r\n" != 'd$e$f\r\n' + d$e$f - usage: prog spec [-h] {d$e$f,d$e$g,x!x,y\y} - prog spec: error: argument arg: invalid choice: 'd\tf' (choose from 'd$e$f', 'd$e$g', 'x!x', 'y\\y') ====================================================================== FAIL: test_wordbreak_chars (test.test.TestTcsh) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/test/test.py", line 1174, in test_wordbreak_chars self.assertEqual(self.sh.run_command('prog break a\tc'), 'a:b:c\r\n') AssertionError: "usage: prog break [-h] {a:b:c,a:b:d}\r\n[83 chars]\r\n" != 'a:b:c\r\n' + a:b:c - usage: prog break [-h] {a:b:c,a:b:d} - prog break: error: argument arg: invalid choice: 'a' (choose from 'a:b:c', 'a:b:d') ---------------------------------------------------------------------- Ran 147 tests in 123.809s FAILED (failures=8, errors=6, skipped=2, expected failures=13) Test failed: <unittest.runner.TextTestResult run=147 errors=6 failures=8> error: Test failed: <unittest.runner.TextTestResult run=147 errors=6 failures=8> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: python3.10 setup.py test dh_auto_test: error: pybuild --test -i python{version} -p 3.10 returned exit code 13 make: *** [debian/rules:13: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 ** Affects: python-argcomplete (Ubuntu) Importance: Undecided Status: New ** Tags: update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1965592 Title: python-argcomplete: FTBFS: several TestTcsh failures To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-argcomplete/+bug/1965592/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs