[Ci-users] Issues with scl

Wed Apr 15 11:12:30 UTC 2020
Fabian Arrotin <arrfab at centos.org>

On 15/04/2020 13:04, Katerina Foniok wrote:
> Hello again,
> I finally had some time and added the installation of scl to the job. In
> the log [1] the scl is not present so it is installed. But after that,
> the script again fails with `scl: command not found`. And yes, it is
> just happening some times... Do you have any other idea?
> Script installing scl [2] and methods that are failing [3], [4]. 
> Sorry for disturbing you, but I have really run out of ideas on how to
> solve that.
> Regards, 
> Katka
> [1] https://ci.centos.org/view/Devtools/job/devtools-rh-che-periodic-prod-1a/2446/console
> [2] https://github.com/redhat-developer/rh-che/blob/master/.ci/functional_tests_utils.sh#L59
> [3] https://github.com/redhat-developer/rh-che/blob/master/.ci/functional_tests_utils.sh#L149
> [4] https://github.com/redhat-developer/rh-che/blob/master/.ci/functional_tests_utils.sh#L144


Haven't parsed you whole .sh script but you point only to
centos-release-scl in [2] while in your log [1] you try to call scl
without having even installed scl-utils ?

rpm -qif /usr/bin/scl
Name        : scl-utils

Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | twitter: @arrfab

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/ci-users/attachments/20200415/cc1dcd76/attachment-0003.sig>