Bug 1793022 - python-systemd fails to build in copr: test_notify_no_socket: PermissionError: [Errno 13] Permission denied
Summary: python-systemd fails to build in copr: test_notify_no_socket: PermissionError...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-systemd
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-20 14:09 UTC by Miro Hrončok
Modified: 2020-11-12 16:31 UTC (History)
4 users (show)

Fixed In Version: python-systemd-234-15.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-12 16:31:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-20 14:09:15 UTC
python-systemd fails to build in Copr.

____________________________ test_notify_no_socket _____________________________
    def test_notify_no_socket():
>       assert notify('READY=1') is False
E       PermissionError: [Errno 13] Permission denied
systemd/test/test_daemon.py:260: PermissionError



We add this to our Python 3.9 builds: TESTFLAGS="-k 'not test_notify_no_socket'"


Could the test suite please be adapted to skip this test when the permissions are not satisfactory? It would make stuff easier for us. Thanks.

Comment 1 Ben Cotton 2020-02-11 17:32:20 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 2 Miro Hrončok 2020-05-25 13:01:13 UTC
This comment is mass posted to all bugs blocking the Python 3.9 tracker, sorry if it is not 100 % relevant. When in doubt, please ask.


The Python 3.9 rebuild is in progress in a Koji side tag.

If you fix this bug, please don't rebuild the package in regular rawhide, but do it in the side tag with:

    $ fedpkg build --target=f33-python

The rebuild is progressing slowly and it is possible this package won't have all the required build dependencies yet. If that's the case, please just leave the fix committed and pushed and we will eventually rebuild it for you.

You are not asked to go and try rebuild all the missing dependencies yourself. If you know there is a bootstrap loop in the dependencies, let me know and we can untangle it together.

If you want to test your fix or reproduce the failure, you can still use the Copr repo mentioned in the initial comment of this bug: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Comment 3 Miro Hrončok 2020-05-29 07:11:19 UTC
Python 3.9 update: The f33-python side tag is currently being merged.

New builds in f33-python are no longer possible, but python3 is not yet updated to Python 3.9 in rawhide. You can check when Python is Python 3.9 with:

    $ koji wait-repo f33-build --build python3.9-3.9.0~b1-3.fc3

And build the packages normally after that.

Comment 4 Miro Hrončok 2020-08-04 22:55:22 UTC
The following builds were made after this report was opened: python-systemd-234-13.fc33 python-systemd-234-14.fc33

Comment 5 Miro Hrončok 2020-08-04 22:57:06 UTC
Sorry for the noise, removing the F33FTBFS tracker from here.

Comment 6 Ben Cotton 2020-08-11 15:30:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 7 Zbigniew Jędrzejewski-Szmek 2020-11-12 16:31:18 UTC
Built in rawhide.


Note You need to log in before you can comment on or make changes to this bug.