Project

General

Profile

Actions

Bug #41013

closed

install-deps.sh: fails in CentOS 7.6

Added by Ernesto Puerta over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After ensure_decent_gcc_on_rh, the command "grep -q -i error: $DIR/yum-builddep.out" wrongly catches the following string "ValueError: SELinux policy is not managed or store cannot be accessed" as error (despite devtoolset is properly updated).

That workaround comes from 739ef0f9a3a065dbb1a584f8c324b86e5dbfea68 where yum-builddep was not returning proper error codes. To fix it it'd be necessary to find the whole "error" string. However, running strings on yum-builddep does not reveal any "error" string, so that error message will come from another tool. My suggestion would be to disable the current error catching mechanism, while being watchful at possible issues until we verify that no failures are happening.

Actions #1

Updated by Ernesto Puerta over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Ernesto Puerta over 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 29403
Actions #3

Updated by Kefu Chai over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF