Project

General

Profile

Actions

Bug #20878

closed

rocky8 libpam-arvados-go package fails tests

Added by Brett Smith 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Target version:
Story points:
0.5
Release relationship:
Auto

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

Subtasks 1 (0 open1 closed)

Task #20881: Review 20878-rh-package-downloadResolvedLucas Di Pentima08/17/2023Actions

Related issues

Related to Arvados - Feature #20797: Build Rocky Linux / RHEL compatible packagesResolvedBrett Smith08/01/2023Actions
Related to Arvados - Idea #20822: Add build-packages-rocky8 to build-packages Jenkins multijobResolvedBrett SmithActions
Actions #1

Updated by Brett Smith 9 months ago

  • Subject changed from rocky8 package build/test failures related to PAM to rocky8 libpam-arvados-go package fails tests
Actions #2

Updated by Brett Smith 9 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.

Actions #3

Updated by Brett Smith 9 months ago

  • Description updated (diff)
Actions #4

Updated by Brett Smith 9 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
Actions #5

Updated by Brett Smith 9 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.

Actions #6

Updated by Brett Smith 9 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.

Actions #7

Updated by Brett Smith 9 months ago

  • Status changed from New to In Progress
Actions #8

Updated by Brett Smith 9 months ago

  • Related to Feature #20797: Build Rocky Linux / RHEL compatible packages added
Actions #9

Updated by Brett Smith 9 months ago

  • Related to Idea #20822: Add build-packages-rocky8 to build-packages Jenkins multijob added
Actions #10

Updated by Lucas Di Pentima 9 months ago

That was a tricky one!! LGTM, thanks.

Actions #11

Updated by Brett Smith 9 months ago

  • Status changed from In Progress to Resolved
Actions #12

Updated by Peter Amstutz 9 months ago

  • Release set to 66
Actions

Also available in: Atom PDF