Bug 2264232
Summary: | xrootd fails to build in Copr: Multiple test failures due to filesystem without xattrs support | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | xrootd | Assignee: | Mattias Ellert <mattias.ellert> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | guilherme, ksurma, mattias.ellert, mhroncok |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
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: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-03-09 00:51:27 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2244836 |
Description
Karolina Surma
2024-02-14 17:19:14 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 Sounds similar to https://src.fedoraproject.org/rpms/pyxattr/c/918e8e4b6389ca12303c357c0aa538853de57303?branch=rawhide 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. We should probably only skip *some* tests. Local build with Python 3.13 repository in mock was successful with all the tests passing. So this would be indeed a copr issue. 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. 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. 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 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 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 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 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 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. 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. 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. 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. 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. 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. Thank you! 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. 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. 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. 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. 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. 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. |