[Bug 2075572] [NEW] python-argcomplete autopkgtest fails with TERM=linux

Launchpad Bug Tracker 2075572 at bugs.launchpad.net
Fri Aug 2 08:45:43 UTC 2024


You have been subscribed to a public bug by Olivier Gayot (ogayot):

Autopkgtests for python-argcomplete fail on oracular and noble for all
architectures where we invoke autopkgtest with --env=TERM=linux (all but
armhf currently).

I found a somewhat related bug report from 2021
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873149 but the fix is
not enough for Ubuntu.


139s ======================================================================
139s FAIL: test_special_characters (__main__.TestZshGlobalImplicit.test_special_characters)
139s ----------------------------------------------------------------------
139s Traceback (most recent call last):
139s   File "/tmp/autopkgtest.8C6GhK/autopkgtest_tmp/test/test.py", line 1261, in setUp
139s     self.assertEqual(output, "ready\r\n")
139s AssertionError: 'ready\r\n\x1b[m\x0f\x1b[27m\x1b[24m\x1b[J' != 'ready\r\n'
139s   ready
139s - 
139s + 
139s 
139s 
139s ======================================================================
139s FAIL: test_special_characters_double_quoted (__main__.TestZshGlobalImplicit.test_special_characters_double_quoted)
139s ----------------------------------------------------------------------
139s Traceback (most recent call last):
139s   File "/tmp/autopkgtest.8C6GhK/autopkgtest_tmp/test/test.py", line 1261, in setUp
139s     self.assertEqual(output, "ready\r\n")
139s AssertionError: 'ready\r\n\x1b[m\x0f\x1b[27m\x1b[24m\x1b[J' != 'ready\r\n'
139s   ready
139s - 
139s + 
139s 
139s 
139s ======================================================================
139s FAIL: test_special_characters_single_quoted (__main__.TestZshGlobalImplicit.test_special_characters_single_quoted)
139s ----------------------------------------------------------------------
139s Traceback (most recent call last):
139s   File "/tmp/autopkgtest.8C6GhK/autopkgtest_tmp/test/test.py", line 1261, in setUp
139s     self.assertEqual(output, "ready\r\n")
139s AssertionError: 'ready\r\n\x1b[m\x0f\x1b[27m\x1b[24m\x1b[J' != 'ready\r\n'
139s   ready
139s - 
139s + 
139s 
139s 
139s ======================================================================
139s FAIL: test_unquoted_space (__main__.TestZshGlobalImplicit.test_unquoted_space)
139s ----------------------------------------------------------------------
139s Traceback (most recent call last):
139s   File "/tmp/autopkgtest.8C6GhK/autopkgtest_tmp/test/test.py", line 1261, in setUp
139s     self.assertEqual(output, "ready\r\n")
139s AssertionError: 'ready\r\n\x1b[m\x0f\x1b[27m\x1b[24m\x1b[J' != 'ready\r\n'
139s   ready
139s - 
139s + 
139s 
139s 
139s ======================================================================
139s FAIL: test_wordbreak_chars (__main__.TestZshGlobalImplicit.test_wordbreak_chars)
139s ----------------------------------------------------------------------
139s Traceback (most recent call last):
139s   File "/tmp/autopkgtest.8C6GhK/autopkgtest_tmp/test/test.py", line 1261, in setUp
139s     self.assertEqual(output, "ready\r\n")
139s AssertionError: 'ready\r\n\x1b[m\x0f\x1b[27m\x1b[24m\x1b[J' != 'ready\r\n'
139s   ready
139s - 
139s + 
139s 
139s 
139s ----------------------------------------------------------------------
139s Ran 189 tests in 75.453s

https://autopkgtest.ubuntu.com/results/autopkgtest-
oracular/oracular/amd64/p/python-
argcomplete/20240801_161300_87da0@/log.gz

** Affects: python-argcomplete (Ubuntu)
     Importance: Undecided
     Assignee: Olivier Gayot (ogayot)
         Status: New

** Affects: python-argcomplete (Debian)
     Importance: Unknown
         Status: Unknown

-- 
python-argcomplete autopkgtest fails with TERM=linux
https://bugs.launchpad.net/bugs/2075572
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list