Bug 2264232 - xrootd fails to build in Copr: Multiple test failures due to filesystem without xattrs support
Summary: xrootd fails to build in Copr: Multiple test failures due to filesystem witho...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xrootd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattias Ellert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-02-14 17:19 UTC by Karolina Surma
Modified: 2024-03-23 00:39 UTC (History)
4 users (show)

Fixed In Version: xrootd-5.6.8-1.fc38 xrootd-5.6.8-1.el9 xrootd-5.6.8-1.el8 xrootd-5.6.8-1.fc39 xrootd-5.6.8-1.el7 xrootd-5.6.9-1.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-09 00:51:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-02-14 17:19:14 UTC
xrootd fails to build with Python 3.13.0a3.

There are multiple test failures: 
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07015458-xrootd/builder-live.log.gz

For all our attempts to build xrootd with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/xrootd/

To see What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html

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.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
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 Guilherme Amadio 2024-02-15 16:25:15 UTC
I had a look at the build logs, and it looks like this is similar to https://github.com/xrootd/xrootd/issues/2096
Are the tests by any chance being run on a filesystem without support for user extended attributes?
You will likely need a kernel with the configurations below enabled if the tests must run on tmpfs.

CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y

Comment 3 Karolina Surma 2024-02-16 10:15:33 UTC
I conditionalized the test run:

 %check
-%ctest3
+%{!?copr_projectname:%ctest3}

The build succeeded: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/build/7022148/
If that's an acceptable solution, I'll send a PR.

Comment 4 Miro Hrončok 2024-02-16 10:33:07 UTC
We should probably only skip *some* tests.

Comment 5 Karolina Surma 2024-02-16 14:25:22 UTC
Local build with Python 3.13 repository in mock was successful with all the tests passing. So this would be indeed a copr issue.

Comment 6 Guilherme Amadio 2024-02-16 16:28:10 UTC
Any test which involves running the server will need to use a filesystem with support for extended attributes, as the server needs it to function.
I will add a configuration flag and also a simple check to disable tests that require the server if the filesystem has no support for xattrs, as
this is not the first time that this comes up. We already disable those tests automatically when running as root, since the server refuses to run
in privileged mode due to security concerns.

Comment 7 Mattias Ellert 2024-02-23 13:15:17 UTC
The Debian build does the following:

override_dh_auto_test:
	touch testfile
	if ( setfattr -n user.testattr -v testvalue testfile ) ; then \
	    dh_auto_test ; \
	else \
	    echo "Extended file attributes not supported by file system" ; \
	    echo "Don't run tests that require them" ; \
	    dh_auto_test -- ARGS+="-E '\
XrdCl::FileCopyTest|\
XrdCl::FileSystemTest.PlugInTest|\
XrdCl::FileSystemTest.ServerQueryTest|\
XrdCl::FileSystemTest.XAttrTest|\
XrdCl::FileTest.XAttrTest|\
XrdCl::LocalFileHandlerTest.XAttrTest|\
XrdCl::ThreadingTest|\
XrdCl::WorkflowTest.CheckpointTest|\
XrdCl::WorkflowTest.XAttrWorkflowTest|\
XrdCl::XrdEcTests|\
XrdEc::|\
XRootD::smoke-test-cluster'" ; \
	fi
	rm testfile

This was never implemented in the Fedora/EPEL spec file since all the builders in koji supports xattrs.

Comment 8 Fedora Update System 2024-02-29 06:40:13 UTC
FEDORA-EPEL-2024-dea1770c72 (xrootd-5.6.8-1.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-dea1770c72

Comment 9 Fedora Update System 2024-02-29 06:40:13 UTC
FEDORA-2024-f5d56c3484 (xrootd-5.6.8-1.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f5d56c3484

Comment 10 Fedora Update System 2024-02-29 06:40:14 UTC
FEDORA-2024-66208ca068 (xrootd-5.6.8-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-66208ca068

Comment 11 Fedora Update System 2024-02-29 06:40:14 UTC
FEDORA-EPEL-2024-5f2cfdd2dd (xrootd-5.6.8-1.el7) has been submitted as an update to Fedora EPEL 7.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-5f2cfdd2dd

Comment 12 Fedora Update System 2024-02-29 06:40:17 UTC
FEDORA-EPEL-2024-05feb745eb (xrootd-5.6.8-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-05feb745eb

Comment 13 Fedora Update System 2024-03-01 01:56:57 UTC
FEDORA-2024-85476d3863 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-85476d3863`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-85476d3863

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2024-03-01 02:05:10 UTC
FEDORA-EPEL-2024-05feb745eb has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-05feb745eb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2024-03-01 02:12:55 UTC
FEDORA-EPEL-2024-dea1770c72 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-dea1770c72

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2024-03-01 02:19:34 UTC
FEDORA-EPEL-2024-5f2cfdd2dd has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-5f2cfdd2dd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2024-03-01 02:25:51 UTC
FEDORA-2024-66208ca068 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-66208ca068`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-66208ca068

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2024-03-01 02:33:28 UTC
FEDORA-2024-f5d56c3484 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f5d56c3484`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f5d56c3484

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Miro Hrončok 2024-03-01 10:14:58 UTC
Thank you!

Comment 20 Fedora Update System 2024-03-09 00:51:27 UTC
FEDORA-2024-f5d56c3484 (xrootd-5.6.8-1.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2024-03-09 01:13:28 UTC
FEDORA-EPEL-2024-05feb745eb (xrootd-5.6.8-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 22 Fedora Update System 2024-03-09 01:36:37 UTC
FEDORA-EPEL-2024-dea1770c72 (xrootd-5.6.8-1.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2024-03-09 01:40:46 UTC
FEDORA-2024-66208ca068 (xrootd-5.6.8-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 Fedora Update System 2024-03-09 01:46:17 UTC
FEDORA-EPEL-2024-5f2cfdd2dd (xrootd-5.6.8-1.el7) has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 25 Fedora Update System 2024-03-23 00:39:34 UTC
FEDORA-2024-981e961a88 (xrootd-5.6.9-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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