Bug 2094212 - nordugrid-arc fails to build with Python 3.11: joblist_retrieval.py:10:37: E1101: Module 'os' has no 'getuid' member (no-member)
Summary: nordugrid-arc fails to build with Python 3.11: joblist_retrieval.py:10:37: E1...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: nordugrid-arc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2098758 (view as bug list)
Depends On:
Blocks: PYTHON3.11 F37FTBFS F37FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2022-06-07 07:13 UTC by Tomáš Hrnčiar
Modified: 2022-06-22 08:22 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-22 08:22:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2022-06-07 07:13:10 UTC
nordugrid-arc fails to build with Python 3.11.0b3.

==================
All 9 tests passed
==================
.....
----------------------------------------------------------------------
Ran 5 tests in 0.004s

OK
...
----------------------------------------------------------------------
Ran 3 tests in 0.000s

OK
.........
----------------------------------------------------------------------
Ran 9 tests in 0.001s

OK
.................
----------------------------------------------------------------------
Ran 17 tests in 0.013s

OK
...........
----------------------------------------------------------------------
Ran 11 tests in 0.310s

OK
...
----------------------------------------------------------------------
Ran 3 tests in 0.002s

OK
..
----------------------------------------------------------------------
Ran 2 tests in 0.000s

OK
make[4]: Leaving directory '/builddir/build/BUILD/nordugrid-arc-6.15.1/python/test/python'
make[3]: Nothing to be done for 'check-am'.
Making check in examples
/usr/bin/make  basic_job_submission.py partial_copy.py copy_file.py job_filtering.py joblist_retrieval.py job_status.py job_submission.py retrieving_results.py service_discovery.py dtr_generator.py job_selector.py
make[3]: Nothing to be done for 'basic_job_submission.py'.
make[3]: Nothing to be done for 'partial_copy.py'.
make[3]: Nothing to be done for 'copy_file.py'.
make[3]: Nothing to be done for 'job_filtering.py'.
make[3]: Nothing to be done for 'joblist_retrieval.py'.
make[3]: Nothing to be done for 'job_status.py'.
make[3]: Nothing to be done for 'job_submission.py'.
make[3]: Nothing to be done for 'retrieving_results.py'.
make[3]: Nothing to be done for 'service_discovery.py'.
make[3]: Nothing to be done for 'dtr_generator.py'.
make[3]: Nothing to be done for 'job_selector.py'.
/usr/bin/make  check-TESTS
make[3]: Entering directory '/builddir/build/BUILD/nordugrid-arc-6.15.1/python/examples'

------------------------------------
Your code has been rated at 10.00/10

PASS: basic_job_submission.py

------------------------------------
Your code has been rated at 10.00/10

PASS: partial_copy.py

------------------------------------
Your code has been rated at 10.00/10

PASS: copy_file.py

------------------------------------
Your code has been rated at 10.00/10

PASS: job_filtering.py
************* Module joblist_retrieval
joblist_retrieval.py:10:37: E1101: Module 'os' has no 'getuid' member (no-member)

-----------------------------------
Your code has been rated at 7.62/10

FAIL: joblist_retrieval.py
************* Module job_status
job_status.py:10:37: E1101: Module 'os' has no 'getuid' member (no-member)

-----------------------------------
Your code has been rated at 8.28/10

FAIL: job_status.py
************* Module job_submission
job_submission.py:11:37: E1101: Module 'os' has no 'getuid' member (no-member)

-----------------------------------
Your code has been rated at 8.57/10

FAIL: job_submission.py
************* Module retrieving_results
retrieving_results.py:10:37: E1101: Module 'os' has no 'getuid' member (no-member)
retrieving_results.py:40:24: E1101: Module 'os' has no 'listdir' member (no-member)

-----------------------------------
Your code has been rated at 6.67/10

FAIL: retrieving_results.py
************* Module service_discovery
service_discovery.py:24:37: E1101: Module 'os' has no 'getuid' member (no-member)

-----------------------------------
Your code has been rated at 8.53/10

FAIL: service_discovery.py
************* Module dtr_generator
dtr_generator.py:46:67: E1101: Module 'os' has no 'getuid' member (no-member)

-----------------------------------
Your code has been rated at 8.68/10

FAIL: dtr_generator.py

------------------------------------
Your code has been rated at 10.00/10

PASS: job_selector.py
===============================================
6 of 11 tests failed
Please report to http://bugzilla.nordugrid.org/
===============================================

https://docs.python.org/3.11/whatsnew/3.11.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/04494019-nordugrid-arc/

For all our attempts to build nordugrid-arc with Python 3.11, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/nordugrid-arc/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.11:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/

Let us know here if you have any questions.

Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Miro Hrončok 2022-06-07 08:14:24 UTC
This might be a pylint bug. Nevertheless, pylint should not be run during package build.

Comment 2 Miro Hrončok 2022-06-20 10:15:23 UTC
*** Bug 2098758 has been marked as a duplicate of this bug. ***

Comment 3 Miro Hrončok 2022-06-22 08:22:06 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37.

Thanks for taking care of it!


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