This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Felt
Recipients Andrew.Lutomirski, Michael.Felt, corona10, h.venev, iforapsy, miss-islington, pitrou, serhiy.storchaka, vstinner
Date 2019-11-15.14:10:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573827028.37.0.609987394256.issue22367@roundup.psfhosted.org>
In-reply-to
Content
@corona10

The AIX bot's are also in the red zone with PR17010.

This was examined earlier See: https://bugs.python.org/issue35633#msg333662

In short, the recommendation by Victor was to skip the test: quote:
> On AIX the test for flock() passes, but the test for lockf() fails: (...)

I would prefer to simply skip the lockf() test rather than ignoring PermissionError for flock() and lockf() on all platforms. 

And so,  Lib/test/eintrdata/eintr_tester.py now has:

    @unittest.skipIf(platform.system() == "AIX", "AIX returns PermissionError")
    def test_lockf(self):
        self._lock(fcntl.lockf, "lockf")


Thanks for your understanding.
History
Date User Action Args
2019-11-15 14:10:28Michael.Feltsetrecipients: + Michael.Felt, pitrou, vstinner, serhiy.storchaka, Andrew.Lutomirski, h.venev, corona10, miss-islington, iforapsy
2019-11-15 14:10:28Michael.Feltsetmessageid: <1573827028.37.0.609987394256.issue22367@roundup.psfhosted.org>
2019-11-15 14:10:28Michael.Feltlinkissue22367 messages
2019-11-15 14:10:28Michael.Feltcreate