I filed an upstream bug report
https://github.com/kislyuk/argcomplete/issues/496

** Description changed:

  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

** Changed in: python-argcomplete (Ubuntu)
     Assignee: (unassigned) => Olivier Gayot (ogayot)

** Bug watch added: github.com/kislyuk/argcomplete/issues #496
   https://github.com/kislyuk/argcomplete/issues/496

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2075572

Title:
  python-argcomplete autopkgtest fails with TERM=linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-argcomplete/+bug/2075572/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to