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 1095355
Summary: | python3 test_gdb failure on ppc64le archi | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michel Normand <normand> | ||||
Component: | python3 | Assignee: | Bohuslav "Slavek" Kabrda <bkabrda> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | amcnabb, bkabrda, mstuchli, tomspur | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ppc64le | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | python3-3.4.1-3.fc21 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-06-02 11:43:56 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: | |||||||
Bug Blocks: | 1051573 | ||||||
Attachments: |
|
Description
Michel Normand
2014-05-07 14:17:18 UTC
Created attachment 893305 [details]
python3.test_gdb_match_addr_before_builtin.patch
the proposed python3.test_gdb_match_addr_before_builtin.patch allow to make the test_gdb script to run without error on ppc64le archi in rawhide.
I do not know if the new substring from gdb now handled by proposed patch is a valid one or not. extract of patch header to show the new substring from gdb: === #0 0x00003fffb7dd0898 in builtin_id (self=<module at remote ... ....xxxxxxxxxxxxxxxxxxxxxx <= added regexp === Thanks for the report. We're currently working on pushing Python 3.4 in rawhide, so far we have it in f21-python koji side tag. How do we test whether Python 3.4 has the same problem? Can we use your builders to do test builds? (I'm assuming that the error will be the same, but I want to make sure.) If you need to get this fix just for rawhide, then we don't have to care about Python 3.3, since Python 3.4 will be merged in approximately 10 days, replacing 3.3. Thanks! (In reply to Bohuslav "Slavek" Kabrda from comment #3) > Thanks for the report. We're currently working on pushing Python 3.4 in > rawhide, so far we have it in f21-python koji side tag. How do we test > whether Python 3.4 has the same problem? Can we use your builders to do test > builds? (I'm assuming that the error will be the same, but I want to make > sure.) > If you need to get this fix just for rawhide, then we don't have to care > about Python 3.3, since Python 3.4 will be merged in approximately 10 days, > replacing 3.3. > Thanks! Yes I only need the fix for Rawhide and the patch need to be merge in 3.4 as per Confirmation that python 3.4 make check is failing with ppc64le archi with following log extract if attached patch IS NOT applied. Another trial with the patch solve the test_gdb failure. === log extract without the patch: ... Ran 47 tests in 1.356s OK (skipped=3) 360 tests OK. 3 tests failed: test_ensurepip test_gdb test_venv 1 test altered the execution environment: test_site 26 tests skipped: test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_devpoll test_ioctl test_kqueue test_msilib test_ossaudiodev test_pep277 test_smtpnet test_socketserver test_startfile test_systemtap test_timeout test_tk test_ttk_guionly test_unicode_file test_urllib2net test_urllibnet test_winreg test_winsound test_xmlrpc_net test_zipfile64 === in addition to the previously identified python3.test_gdb_match_addr_before_builtin.patch the python3.4 will need also a change in 00189-add-rewheel-module.patch from git commit http://pkgs.fedoraproject.org/cgit/python3.git/commit/?h=python3.4&id=11fb599edb14569b903abafeed7fd2349d96dfbf the 00189-add-rewheel-module.patch need to be modified as diff below: === $diff -u ../python3.old2/00189-add-rewheel-module.patch 00189-add-rewheel-module.patch --- ../python3.old2/00189-add-rewheel-module.patch 2014-04-29 08:34:05.000000000 -0400 +++ 00189-add-rewheel-module.patch 2014-05-19 11:16:13.330003903 -0400 @@ -126,7 +126,7 @@ + # if we have 0 or 2 or more dirs, something is wrong... + if len(filtered) == 1: + path = filtered[0] -+ records.append(os.path.join(path, 'RECORD')) ++ records.append(os.path.join(path, 'RECORD')) + return records + +def rewheel_from_record(record_path, outdir): === f21-python has just been merged to rawhide. Could you please re-test with python3-3.4.1-3.fc21? I verified with python3-3.4.1-8.fc21 that mock build and check succeeded for ppc64le archi. |