Project

General

Profile

Actions

Bug #15612

closed

centos7 tests and build jobs are failing

Added by Fernando Monserrat over 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Fernando Monserrat
Category:
-
Target version:
-
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

Actions #1

Updated by Fernando Monserrat over 5 years ago

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

Actions #2

Updated by Ward Vandewege over 5 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.

Actions #3

Updated by Nico César over 5 years ago

if there are not suitable RPMs, worst case scenario:

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

Actions #4

Updated by Fernando Monserrat over 5 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

Actions #5

Updated by Fernando Monserrat over 5 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

Actions #6

Updated by Peter Amstutz almost 5 years ago

  • Target version deleted (Kanban)
Actions #7

Updated by Peter Amstutz almost 5 years ago

  • Release set to 22
Actions

Also available in: Atom PDF