Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1914782

Summary: python-argcomplete test failures with bash 5.1 - AssertionError: '\x1b[?2004l\r\x1b[?2004h' != '' - [?2004h
Product: [Fedora] Fedora Reporter: Tomáš Hrnčiar <thrnciar>
Component: python-argcompleteAssignee: Miro Hrončok <mhroncok>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dbmacartney, gspurgeon, igor.raits, kdudka, mhroncok, pviktori, python-sig, steve.traylen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-argcomplete
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-16 10:18:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1914843    
Bug Blocks: 1868278, 1890881    

Description Tomáš Hrnčiar 2021-01-11 08:51:56 UTC
Description of problem:
Package python-argcomplete fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
1.12.0-2.fc33

Steps to Reproduce:
koji build --scratch f34 python-argcomplete-1.12.0-2.fc33.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-argcomplete

======================================================================
FAIL: test_comp_point (test.test.TestBash)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/argcomplete-1.12.0/test/test.py", line 1206, in setUp
    self.assertEqual(output, '')
AssertionError: '\x1b[?2004l\r\x1b[?2004h' != ''
- [?2004h

Comment 1 Miro Hrončok 2021-01-11 08:56:46 UTC
I suspect this has to do with new year.

Comment 2 Miro Hrončok 2021-01-11 09:36:30 UTC
Nope, it is bash 5.0 -> 5.1.

Comment 3 Miro Hrončok 2021-02-02 17:23:58 UTC
I've checked and it affects only tests, so I'll workaround it.

Comment 4 Miro Hrončok 2021-02-02 17:38:09 UTC
Workaround pushed. Waiting for https://src.fedoraproject.org/rpms/python-argcomplete/pull-request/8 before I make the build.

Comment 5 Ben Cotton 2021-02-09 15:39:11 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.

Comment 6 Petr Viktorin 2021-02-16 10:18:30 UTC
This is a test-only issue, so it's fine to work around it in tests.