Bug #20878
closedrocky8 libpam-arvados-go package fails tests
Description
START: libpam-arvados-go test on arvados/package-test:rocky8 … Installing: libpam-arvados-go-2.7.0~dev20230816133232-1.x86_64 localrepo 6.8 MB … Complete. ldd: warning: you do not have execution permission for `./usr/lib/pam_arvados.so' libpam.so.0 => not found ^^^ Missing while scanning ./usr/lib/pam_arvados.so ^^^ ERROR: libpam-arvados-go test on arvados/package-test:rocky8 failed with exit status 1
Related issues
Updated by Brett Smith 11 months ago
- Subject changed from rocky8 package build/test failures related to PAM to rocky8 libpam-arvados-go package fails tests
Updated by Brett Smith 11 months ago
421d6f9ea1 added an explicit dependency on pam
to lib/pam/fpm-info.sh
. And rocky8's pam
package is the one that provides libpam.so.0
(under /usr/lib64
if that matters). And this passed before during review. Soooooo this is weird.
Updated by Brett Smith 11 months ago
It does succeed sometimes, seemingly at random. Since I added it to build-packages-multijob:
#23 failed at Aug 16, 2023 11:21 PM #22 failed at Aug 16, 2023 10:01 PM #21 failed at Aug 16, 2023 9:01 PM #20 failed at Aug 16, 2023 8:25 PM #19 succeeded at Aug 16, 2023 1:57 PM #18 failed at Aug 16, 2023 2:09 AM #17 failed at Aug 16, 2023 1:07 AM #16 failed at Aug 15, 2023 11:42 PM #15 failed at Aug 15, 2023 10:54 PM #14 failed at Aug 15, 2023 10:15 PM #13 failed at Aug 15, 2023 9:29 PM #12 failed at Aug 15, 2023 8:48 PM #11 failed at Aug 15, 2023 7:35 PM #10 succeeded at Aug 15, 2023 6:48 PM
Updated by Brett Smith 11 months ago
A successful build (#10) during the build process:
libpam-arvados-go-2.7.0~dev20230815174158-1.x86_64.rpm not found, building
And then later during the test:
START: libpam-arvados-go test on arvados/package-test:rocky8 … Package Repository Size Installing: cracklib-2.9.6-15.el8.x86_64 baseos 94.2 kB cracklib-dicts-2.9.6-15.el8.x86_64 baseos 4.1 MB libpam-arvados-go-2.7.0~dev20230815174158-1.x86_64 localrepo 6.8 MB libpwquality-1.4.4-6.el8.x86_64 baseos 108.6 kB pam-1.3.1-25.el8.x86_64 baseos 762.8 kB
A failed build (#11) during the build process:
Package libpam-arvados-go-2.7.0~dev20230814202948-1.x86_64.rpm exists upstream, not rebuilding, downloading instead!
And then during tests it only installs libpam-arvados-go
, without any dependencies. So there's some difference between these two different build cases that causes the distinction between pass and fail.
Updated by Brett Smith 11 months ago
The download logic always checks the CentOS 7 repository. So if build-packages-centos7 runs first, those packages upload and then reused for build-packages-rocky8. If it goes the other way, the rocky8 packages build and pass.
The download logic needs to be adapted for the addition of rocky8.
Updated by Brett Smith 11 months ago
- Status changed from New to In Progress
20878-rh-package-download @ a0c328d4eaa19a05f1d9028c0d21cf8657229bf7 - build-packages-multijob: #3687
Updated by Brett Smith 11 months ago
- Related to Feature #20797: Build Rocky Linux / RHEL compatible packages added
Updated by Brett Smith 11 months ago
- Related to Idea #20822: Add build-packages-rocky8 to build-packages Jenkins multijob added
Updated by Lucas Di Pentima 11 months ago
That was a tricky one!! LGTM, thanks.
Updated by Brett Smith 11 months ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|6de571a660401585bc96dd92fd2563e9b64c58c6.