Bug #15612

centos7 tests and build jobs are failing

Added by Fernando Monserrat about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Fernando Monserrat
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release relationship:
Auto

Description

14:28:47 /jenkins/run-library.sh: line 241: local: -n: invalid option
14:28:47 local: usage: local [option] name[=value] ...
14:28:47 Usage: grep [OPTION]... PATTERN [FILE]...

https://ci.curoverse.com/job/build-packages-centos7/1754/console

Associated revisions

Revision 6b33f413
Added by Fernando Monserrat about 2 years ago

Merge branch '15612-update-centos7-to-bash-4' refs #15612

Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <>

History

#1 Updated by Fernando Monserrat about 2 years ago

CentOS 7: old bash version doesn't support local -n. https://github.com/tokiwinter/cloudns-api/issues/8

#2 Updated by Ward Vandewege about 2 years ago

We need to upgrade bash in the centos7 package build/test image to version 4.3 or later to support namerefs.

Specifically, add bash 4.3 or later installation to these Dockerfiles:

build/package-build-dockerfiles/centos7/Dockerfile
build/package-test-dockerfiles/centos7/Dockerfile

and that will resolve the problem. Make sure that the /bin/bash executable is updated to point at the new version of bash.

#3 Updated by Nico César about 2 years ago

if there are not suitable RPMs, worst case scenario:

https://github.com/tokiwinter/cloudns-api/issues/8#issuecomment-351304442

#4 Updated by Fernando Monserrat about 2 years ago

  • Status changed from New to In Progress
  • Assigned To set to Fernando Monserrat

I have updated the dockerfile for build and tests on commit 6a8143503ec443708a46031517944587e17cbe70 (15612-update-centos7-to-bash-4 ) and ran developer tests https://ci.curoverse.com/view/Developer/job/developer-run-tests/
and a centos7 build https://ci.curoverse.com/job/build-packages-centos7/1756/console which passed without errors.
Can you review this?

Nico César wrote:

if there are not suitable RPMs, worst case scenario:

https://github.com/tokiwinter/cloudns-api/issues/8#issuecomment-351304442

#5 Updated by Fernando Monserrat about 2 years ago

  • Status changed from In Progress to Resolved

Merged on 6b33f41375feab7c07ea97ba4257b82c0b3a3ec6 and
Fixed proof on https://ci.curoverse.com/view/Arvados%20build%20pipeline/job/build-packages-centos7/1758/console

#6 Updated by Peter Amstutz almost 2 years ago

  • Target version deleted (Kanban)

#7 Updated by Peter Amstutz almost 2 years ago

  • Release set to 22

Also available in: Atom PDF