Bug 1318565

Summary: Tests are being skipped unnecessarily
Product: [Fedora] Fedora Reporter: Robert Kuska <rkuska>
Component: python3Assignee: Charalampos Stratakis <cstratak>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: bkabrda, cstratak, jberan, mstuchli, pviktori, rkuska, tomspur, vstinner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-05 13:44:47 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:
Bug Depends On:    
Bug Blocks: 1287556    

Description Robert Kuska 2016-03-17 09:15:38 UTC
Various tests are being skipped in python3 specfile on various architectures due to reasons which are now obsolete.

Comment 1 Robert Kuska 2016-03-17 09:21:53 UTC
PPC/PPC64, patch131, 4 tests in test_io

Successful build without patch131:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3224415

(To build on PPC use:
koji -s http://ppc.koji.fedoraproject.org/kojihub --weburl=http://ppc.koji.fedoraproject.org/koji build f24 --scratch foo.src.rpm)


Patch was removed in:
http://pkgs.fedoraproject.org/cgit/rpms/python3.git/commit/?id=e7488abc3
(ignore Patch209 from commit, it was added by accident :) )

Comment 2 Robert Kuska 2016-03-17 12:05:09 UTC
PPC/PPC64, patch150, temporarily disable rAssertAlmostEqual in test_cmath on PPC (bz #750811)
caused by glibc, already fixed in upstream  http://sourceware.org/bugzilla/show_bug.cgi?id=13472

Successful build without patch150:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3224749

Patch was removed in:
http://pkgs.fedoraproject.org/cgit/rpms/python3.git/commit/?id=83d6e884b

Comment 3 Robert Kuska 2016-03-17 13:40:21 UTC
ARM, patch139, skip known failure in test_float, http://bugs.python.org/issue8265 (rhbz#706253)

Successful build without patch139:
koji.fedoraproject.org/koji/taskinfo?taskID=13374773

ARM, patch140, patch disabling a test thats fragile on different arches

Successful build without patch140:
http://koji.fedoraproject.org/koji/taskinfo?taskID=13374763

Both patches removed in:
http://pkgs.fedoraproject.org/cgit/rpms/python3.git/commit/?id=20b919fd

Comment 4 Robert Kuska 2016-03-31 10:06:42 UTC
ARM, patch173, Workaround for ENOPROTOOPT seen in Koji withi test.support.bind_port(), rhbz#913732

Patch removed in:
http://pkgs.fedoraproject.org/cgit/rpms/python3.git/commit/?id=0a93f9db


PPC, patch164, testChainingDescriptors  test in test_exceptions fails on PPc, too (rhbz#846849)
some tests in test._io interrupted_write-* fail on PPC (rhbz#846849)

Patch removed in:
http://pkgs.fedoraproject.org/cgit/rpms/python3.git/commit/?id=0a93f9db1

Succesful build without both patches:

http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3264238
http://koji.fedoraproject.org/koji/taskinfo?taskID=13513633

Comment 5 Robert Kuska 2016-03-31 10:43:20 UTC
Following patch doesnt skip any tests but was added because of failing tests on arm.

ARM, patch179, skip printing corrupted frames,
rbhz#951802, upstream http://bugs.python.org/issue17737

Patch removed in:
http://pkgs.fedoraproject.org/cgit/rpms/python3.git/commit/?id=d2c2647

Succesful build without patch:
http://koji.fedoraproject.org/koji/taskinfo?taskID=13513633

Comment 7 Jan Kurik 2016-07-26 04:10:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 8 Fedora End Of Life 2017-11-16 19:09:30 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 9 Charalampos Stratakis 2017-11-20 17:02:47 UTC
Will need to recheck it. Moving it to rawhide for now.

Comment 10 Petr Viktorin 2018-01-18 14:24:28 UTC
Iryna, take a look when you check the specfile.
Harris might have some more insight.

Comment 11 Fedora End Of Life 2018-02-20 15:26:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 13 Petr Viktorin 2019-01-07 13:16:30 UTC
We should split this into specific bugs for specific unnecessary skips.

Comment 14 Victor Stinner 2019-03-05 13:44:47 UTC
> We should split this into specific bugs for specific unnecessary skips.

Right. I just created bz#1685557 "python3.spec skips test_distutils and test_bdist_rpm".

test_gdb skips are tracked by:

* test_gdb skipped on armv7hl: https://bugzilla.redhat.com/show_bug.cgi?id=1196181
* test_gdb skipped on s390x: https://bugzilla.redhat.com/show_bug.cgi?id=1678277

test_ctypes is skipped on mips64, but this architecture isn't supported by Fedora.

I close the issue.