Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve fixup of Eclipse Che build in PR Happy path tests #19103

Merged
merged 1 commit into from Feb 19, 2021
Merged

Conversation

dmytro-ndp
Copy link
Contributor

@dmytro-ndp dmytro-ndp commented Feb 18, 2021

What does this PR do?

Improve fixup of Eclipse Che dependencies installation error in CRW Jenkins CI:

 Installation logs  
+ sudo yum install -y glibc.i686 libfontconfig.so.1 libstdc++-devel.i686
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
https://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 410 - Gone
Trying other mirror.

One of the configured repositories failed (Red Hat Enterprise Linux 7 Server - os (RPMs)),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix the problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a working
    upstream. This is most often useful if you are using a newer
    distribution release than is supported by the repository (and the
    packages for the previous distribution release still work).

 3. Run the command with the repository temporarily disabled
        yum --disablerepo=rhel-7-server-os-rpms ...

 4. Disable the repository permanently, so yum won't use it by default. Yum
    will then just ignore the repository until you permanently enable it
    again or use --enablerepo for temporary usage:

        yum-config-manager --disable rhel-7-server-os-rpms
    or
        subscription-manager repos --disable=rhel-7-server-os-rpms

 5. Configure the failing repository to be skipped, if it is unavailable.
    Note that yum will try to contact the repo. when it runs most commands,
    so will have to try and fail each time (and thus. yum will be be much
    slower). If it is a very temporary problem though, this is often a nice
    compromise:

        yum-config-manager --save --setopt=rhel-7-server-os-rpms.skip_if_unavailable=true

failure: repodata/repomd.xml from rhel-7-server-os-rpms: [Errno 256] No more mirrors to try.
https://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTPS Error 410 - Gone

  • true
  • sudo yum install -y glibc.i686 libfontconfig.so.1 libstdc++-devel.i686
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    https://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/85c5aac4a5508bb9ca07814683110052e5428d16-primary.sqlite.bz2: [Errno 14] HTTPS Error 410 - Gone
    Trying other mirror.
    Resolving Dependencies
    --> Running transaction check
    ---> Package fontconfig.i686 0:2.13.0-4.3.el7 will be installed
    --> Processing Dependency: libexpat.so.1 for package: fontconfig-2.13.0-4.3.el7.i686
    --> Processing Dependency: libfreetype.so.6 for package: fontconfig-2.13.0-4.3.el7.i686
    --> Processing Dependency: libuuid.so.1 for package: fontconfig-2.13.0-4.3.el7.i686
    --> Processing Dependency: libuuid.so.1(UUID_1.0) for package: fontconfig-2.13.0-4.3.el7.i686
    ---> Package glibc.i686 0:2.17-323.el7_9 will be installed
    --> Processing Dependency: glibc-common = 2.17-323.el7_9 for package: glibc-2.17-323.el7_9.i686
    --> Processing Dependency: libfreebl3.so for package: glibc-2.17-323.el7_9.i686
    --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-323.el7_9.i686
    ---> Package libstdc++-devel.i686 0:4.8.5-44.el7 will be installed
    --> Processing Dependency: libstdc++(x86-32) = 4.8.5-44.el7 for package: libstdc++-devel-4.8.5-44.el7.i686
    --> Processing Dependency: libstdc++.so.6 for package: libstdc++-devel-4.8.5-44.el7.i686
    --> Running transaction check
    ---> Package expat.x86_64 0:2.1.0-10.el7_3 will be updated
    --> Processing Dependency: expat = 2.1.0-10.el7_3 for package: expat-devel-2.1.0-10.el7_3.x86_64
    ---> Package expat.i686 0:2.1.0-12.el7 will be installed
    ---> Package expat.x86_64 0:2.1.0-12.el7 will be an update
    ---> Package freetype.x86_64 0:2.8-14.el7 will be updated
    ---> Package freetype.i686 0:2.8-14.el7_9.1 will be installed
    --> Processing Dependency: libbz2.so.1 for package: freetype-2.8-14.el7_9.1.i686
    --> Processing Dependency: libpng15.so.15 for package: freetype-2.8-14.el7_9.1.i686
    --> Processing Dependency: libpng15.so.15(PNG15_0) for package: freetype-2.8-14.el7_9.1.i686
    --> Processing Dependency: libz.so.1 for package: freetype-2.8-14.el7_9.1.i686
    ---> Package freetype.x86_64 0:2.8-14.el7_9.1 will be an update
    ---> Package glibc-common.x86_64 0:2.17-292.el7 will be updated
    --> Processing Dependency: glibc-common = 2.17-292.el7 for package: glibc-2.17-292.el7.x86_64
    ---> Package glibc-common.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package libstdc++.x86_64 0:4.8.5-39.el7 will be updated
    --> Processing Dependency: libstdc++ = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
    --> Processing Dependency: libstdc++(x86-64) = 4.8.5-39.el7 for package: libstdc++-devel-4.8.5-39.el7.x86_64
    ---> Package libstdc++.i686 0:4.8.5-44.el7 will be installed
    --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.8.5-44.el7.i686
    ---> Package libstdc++.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package libuuid.x86_64 0:2.23.2-61.el7_7.1 will be updated
    --> Processing Dependency: libuuid = 2.23.2-61.el7_7.1 for package: libblkid-2.23.2-61.el7_7.1.x86_64
    --> Processing Dependency: libuuid = 2.23.2-61.el7_7.1 for package: libmount-2.23.2-61.el7_7.1.x86_64
    --> Processing Dependency: libuuid = 2.23.2-61.el7_7.1 for package: util-linux-2.23.2-61.el7_7.1.x86_64
    ---> Package libuuid.i686 0:2.23.2-65.el7_9.1 will be installed
    ---> Package libuuid.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 will be updated
    ---> Package nss-softokn-freebl.i686 0:3.53.1-6.el7_9 will be installed
    --> Processing Dependency: nspr >= 4.25.0 for package: nss-softokn-freebl-3.53.1-6.el7_9.i686
    --> Processing Dependency: nss-util >= 3.53.1-1 for package: nss-softokn-freebl-3.53.1-6.el7_9.i686
    ---> Package nss-softokn-freebl.x86_64 0:3.53.1-6.el7_9 will be an update
    --> Running transaction check
    ---> Package bzip2-libs.i686 0:1.0.6-13.el7 will be installed
    ---> Package expat-devel.x86_64 0:2.1.0-10.el7_3 will be updated
    ---> Package expat-devel.x86_64 0:2.1.0-12.el7 will be an update
    ---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package gcc-c++.x86_64 0:4.8.5-44.el7 will be an update
    --> Processing Dependency: gcc = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64
    ---> Package glibc.x86_64 0:2.17-292.el7 will be updated
    --> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-headers-2.17-292.el7.x86_64
    --> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-devel-2.17-292.el7.x86_64
    ---> Package glibc.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package libblkid.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package libblkid.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package libgcc.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package libgcc.i686 0:4.8.5-44.el7 will be installed
    ---> Package libgcc.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package libmount.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package libmount.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be updated
    ---> Package libpng.i686 2:1.5.13-8.el7 will be installed
    ---> Package libpng.x86_64 2:1.5.13-8.el7 will be an update
    ---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package nspr.x86_64 0:4.21.0-1.el7 will be updated
    ---> Package nspr.x86_64 0:4.25.0-2.el7_9 will be an update
    ---> Package nss-util.x86_64 0:3.44.0-4.el7_7 will be updated
    ---> Package nss-util.x86_64 0:3.53.1-1.el7_9 will be an update
    ---> Package util-linux.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package util-linux.x86_64 0:2.23.2-65.el7_9.1 will be an update
    --> Processing Dependency: libsmartcols = 2.23.2-65.el7_9.1 for package: util-linux-2.23.2-65.el7_9.1.x86_64
    ---> Package zlib.x86_64 0:1.2.7-18.el7 will be updated
    --> Processing Dependency: zlib = 1.2.7-18.el7 for package: zlib-devel-1.2.7-18.el7.x86_64
    ---> Package zlib.i686 0:1.2.7-19.el7_9 will be installed
    ---> Package zlib.x86_64 0:1.2.7-19.el7_9 will be an update
    --> Running transaction check
    ---> Package gcc.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package gcc.x86_64 0:4.8.5-44.el7 will be an update
    --> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
    --> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
    ---> Package glibc-devel.x86_64 0:2.17-292.el7 will be updated
    ---> Package glibc-devel.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package glibc-headers.x86_64 0:2.17-292.el7 will be updated
    ---> Package glibc-headers.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package libsmartcols.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package libsmartcols.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be updated
    ---> Package zlib-devel.x86_64 0:1.2.7-19.el7_9 will be an update
    --> Running transaction check
    ---> Package cpp.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package cpp.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package libgomp.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package libgomp.x86_64 0:4.8.5-44.el7 will be an update
    --> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Installing:
fontconfig i686 2.13.0-4.3.el7 rhel-7-server-os-rpms 255 k
glibc i686 2.17-323.el7_9 rhel-7-server-os-rpms 4.3 M
libstdc++-devel i686 4.8.5-44.el7 rhel-7-server-os-rpms 1.5 M
Installing for dependencies:
bzip2-libs i686 1.0.6-13.el7 rhel-7-server-os-rpms 40 k
expat i686 2.1.0-12.el7 rhel-7-server-os-rpms 81 k
freetype i686 2.8-14.el7_9.1 rhel-7-server-os-rpms 377 k
libgcc i686 4.8.5-44.el7 rhel-7-server-os-rpms 111 k
libpng i686 2:1.5.13-8.el7 rhel-7-server-os-rpms 215 k
libstdc++ i686 4.8.5-44.el7 rhel-7-server-os-rpms 319 k
libuuid i686 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 85 k
nss-softokn-freebl i686 3.53.1-6.el7_9 rhel-7-server-os-rpms 322 k
zlib i686 1.2.7-19.el7_9 rhel-7-server-os-rpms 91 k
Updating for dependencies:
cpp x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 6.0 M
expat x86_64 2.1.0-12.el7 rhel-7-server-os-rpms 81 k
expat-devel x86_64 2.1.0-12.el7 rhel-7-server-os-rpms 57 k
freetype x86_64 2.8-14.el7_9.1 rhel-7-server-os-rpms 380 k
gcc x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 16 M
gcc-c++ x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 7.2 M
glibc x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 3.6 M
glibc-common x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 12 M
glibc-devel x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 1.1 M
glibc-headers x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 691 k
libblkid x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 183 k
libgcc x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 103 k
libgomp x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 159 k
libmount x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 185 k
libpng x86_64 2:1.5.13-8.el7 rhel-7-server-os-rpms 213 k
libsmartcols x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 143 k
libstdc++ x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 306 k
libstdc++-devel x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 1.5 M
libuuid x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 84 k
nspr x86_64 4.25.0-2.el7_9 rhel-7-server-os-rpms 127 k
nss-softokn-freebl x86_64 3.53.1-6.el7_9 rhel-7-server-os-rpms 322 k
nss-util x86_64 3.53.1-1.el7_9 rhel-7-server-os-rpms 79 k
util-linux x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 2.0 M
zlib x86_64 1.2.7-19.el7_9 rhel-7-server-os-rpms 90 k
zlib-devel x86_64 1.2.7-19.el7_9 rhel-7-server-os-rpms 50 k

Transaction Summary

Install 3 Packages (+ 9 Dependent packages)
Upgrade ( 25 Dependent packages)

Total download size: 60 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
https://pulp.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/Packages/g/gcc-c%2B%2B-4.8.5-44.el7.x86_64.rpm: [Errno 14] HTTPS Error 410 - Gone
Trying other mirror.

Error downloading packages:
gcc-c++-4.8.5-44.el7.x86_64: [Errno 256] No more mirrors to try.

  • true
  • sudo yum install -y glibc.i686 libfontconfig.so.1 libstdc++-devel.i686
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    Resolving Dependencies
    --> Running transaction check
    ---> Package fontconfig.i686 0:2.13.0-4.3.el7 will be installed
    --> Processing Dependency: libexpat.so.1 for package: fontconfig-2.13.0-4.3.el7.i686
    --> Processing Dependency: libfreetype.so.6 for package: fontconfig-2.13.0-4.3.el7.i686
    --> Processing Dependency: libuuid.so.1 for package: fontconfig-2.13.0-4.3.el7.i686
    --> Processing Dependency: libuuid.so.1(UUID_1.0) for package: fontconfig-2.13.0-4.3.el7.i686
    ---> Package glibc.i686 0:2.17-323.el7_9 will be installed
    --> Processing Dependency: glibc-common = 2.17-323.el7_9 for package: glibc-2.17-323.el7_9.i686
    --> Processing Dependency: libfreebl3.so for package: glibc-2.17-323.el7_9.i686
    --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-323.el7_9.i686
    ---> Package libstdc++-devel.i686 0:4.8.5-44.el7 will be installed
    --> Processing Dependency: libstdc++(x86-32) = 4.8.5-44.el7 for package: libstdc++-devel-4.8.5-44.el7.i686
    --> Processing Dependency: libstdc++.so.6 for package: libstdc++-devel-4.8.5-44.el7.i686
    --> Running transaction check
    ---> Package expat.x86_64 0:2.1.0-10.el7_3 will be updated
    --> Processing Dependency: expat = 2.1.0-10.el7_3 for package: expat-devel-2.1.0-10.el7_3.x86_64
    ---> Package expat.i686 0:2.1.0-12.el7 will be installed
    ---> Package expat.x86_64 0:2.1.0-12.el7 will be an update
    ---> Package freetype.x86_64 0:2.8-14.el7 will be updated
    ---> Package freetype.i686 0:2.8-14.el7_9.1 will be installed
    --> Processing Dependency: libbz2.so.1 for package: freetype-2.8-14.el7_9.1.i686
    --> Processing Dependency: libpng15.so.15 for package: freetype-2.8-14.el7_9.1.i686
    --> Processing Dependency: libpng15.so.15(PNG15_0) for package: freetype-2.8-14.el7_9.1.i686
    --> Processing Dependency: libz.so.1 for package: freetype-2.8-14.el7_9.1.i686
    ---> Package freetype.x86_64 0:2.8-14.el7_9.1 will be an update
    ---> Package glibc-common.x86_64 0:2.17-292.el7 will be updated
    --> Processing Dependency: glibc-common = 2.17-292.el7 for package: glibc-2.17-292.el7.x86_64
    ---> Package glibc-common.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package libstdc++.x86_64 0:4.8.5-39.el7 will be updated
    --> Processing Dependency: libstdc++ = 4.8.5-39.el7 for package: gcc-c++-4.8.5-39.el7.x86_64
    --> Processing Dependency: libstdc++(x86-64) = 4.8.5-39.el7 for package: libstdc++-devel-4.8.5-39.el7.x86_64
    ---> Package libstdc++.i686 0:4.8.5-44.el7 will be installed
    --> Processing Dependency: libgcc_s.so.1 for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_3.3) for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GCC_4.2.0) for package: libstdc++-4.8.5-44.el7.i686
    --> Processing Dependency: libgcc_s.so.1(GLIBC_2.0) for package: libstdc++-4.8.5-44.el7.i686
    ---> Package libstdc++.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package libuuid.x86_64 0:2.23.2-61.el7_7.1 will be updated
    --> Processing Dependency: libuuid = 2.23.2-61.el7_7.1 for package: libblkid-2.23.2-61.el7_7.1.x86_64
    --> Processing Dependency: libuuid = 2.23.2-61.el7_7.1 for package: libmount-2.23.2-61.el7_7.1.x86_64
    --> Processing Dependency: libuuid = 2.23.2-61.el7_7.1 for package: util-linux-2.23.2-61.el7_7.1.x86_64
    ---> Package libuuid.i686 0:2.23.2-65.el7_9.1 will be installed
    ---> Package libuuid.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 will be updated
    ---> Package nss-softokn-freebl.i686 0:3.53.1-6.el7_9 will be installed
    --> Processing Dependency: nspr >= 4.25.0 for package: nss-softokn-freebl-3.53.1-6.el7_9.i686
    --> Processing Dependency: nss-util >= 3.53.1-1 for package: nss-softokn-freebl-3.53.1-6.el7_9.i686
    ---> Package nss-softokn-freebl.x86_64 0:3.53.1-6.el7_9 will be an update
    --> Running transaction check
    ---> Package bzip2-libs.i686 0:1.0.6-13.el7 will be installed
    ---> Package expat-devel.x86_64 0:2.1.0-10.el7_3 will be updated
    ---> Package expat-devel.x86_64 0:2.1.0-12.el7 will be an update
    ---> Package gcc-c++.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package gcc-c++.x86_64 0:4.8.5-44.el7 will be an update
    --> Processing Dependency: gcc = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64
    ---> Package glibc.x86_64 0:2.17-292.el7 will be updated
    --> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-headers-2.17-292.el7.x86_64
    --> Processing Dependency: glibc = 2.17-292.el7 for package: glibc-devel-2.17-292.el7.x86_64
    ---> Package glibc.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package libblkid.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package libblkid.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package libgcc.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package libgcc.i686 0:4.8.5-44.el7 will be installed
    ---> Package libgcc.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package libmount.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package libmount.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be updated
    ---> Package libpng.i686 2:1.5.13-8.el7 will be installed
    ---> Package libpng.x86_64 2:1.5.13-8.el7 will be an update
    ---> Package libstdc++-devel.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package nspr.x86_64 0:4.21.0-1.el7 will be updated
    ---> Package nspr.x86_64 0:4.25.0-2.el7_9 will be an update
    ---> Package nss-util.x86_64 0:3.44.0-4.el7_7 will be updated
    ---> Package nss-util.x86_64 0:3.53.1-1.el7_9 will be an update
    ---> Package util-linux.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package util-linux.x86_64 0:2.23.2-65.el7_9.1 will be an update
    --> Processing Dependency: libsmartcols = 2.23.2-65.el7_9.1 for package: util-linux-2.23.2-65.el7_9.1.x86_64
    ---> Package zlib.x86_64 0:1.2.7-18.el7 will be updated
    --> Processing Dependency: zlib = 1.2.7-18.el7 for package: zlib-devel-1.2.7-18.el7.x86_64
    ---> Package zlib.i686 0:1.2.7-19.el7_9 will be installed
    ---> Package zlib.x86_64 0:1.2.7-19.el7_9 will be an update
    --> Running transaction check
    ---> Package gcc.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package gcc.x86_64 0:4.8.5-44.el7 will be an update
    --> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
    --> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64
    ---> Package glibc-devel.x86_64 0:2.17-292.el7 will be updated
    ---> Package glibc-devel.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package glibc-headers.x86_64 0:2.17-292.el7 will be updated
    ---> Package glibc-headers.x86_64 0:2.17-323.el7_9 will be an update
    ---> Package libsmartcols.x86_64 0:2.23.2-61.el7_7.1 will be updated
    ---> Package libsmartcols.x86_64 0:2.23.2-65.el7_9.1 will be an update
    ---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be updated
    ---> Package zlib-devel.x86_64 0:1.2.7-19.el7_9 will be an update
    --> Running transaction check
    ---> Package cpp.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package cpp.x86_64 0:4.8.5-44.el7 will be an update
    ---> Package libgomp.x86_64 0:4.8.5-39.el7 will be updated
    ---> Package libgomp.x86_64 0:4.8.5-44.el7 will be an update
    --> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Installing:
fontconfig i686 2.13.0-4.3.el7 rhel-7-server-os-rpms 255 k
glibc i686 2.17-323.el7_9 rhel-7-server-os-rpms 4.3 M
libstdc++-devel i686 4.8.5-44.el7 rhel-7-server-os-rpms 1.5 M
Installing for dependencies:
bzip2-libs i686 1.0.6-13.el7 rhel-7-server-os-rpms 40 k
expat i686 2.1.0-12.el7 rhel-7-server-os-rpms 81 k
freetype i686 2.8-14.el7_9.1 rhel-7-server-os-rpms 377 k
libgcc i686 4.8.5-44.el7 rhel-7-server-os-rpms 111 k
libpng i686 2:1.5.13-8.el7 rhel-7-server-os-rpms 215 k
libstdc++ i686 4.8.5-44.el7 rhel-7-server-os-rpms 319 k
libuuid i686 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 85 k
nss-softokn-freebl i686 3.53.1-6.el7_9 rhel-7-server-os-rpms 322 k
zlib i686 1.2.7-19.el7_9 rhel-7-server-os-rpms 91 k
Updating for dependencies:
cpp x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 6.0 M
expat x86_64 2.1.0-12.el7 rhel-7-server-os-rpms 81 k
expat-devel x86_64 2.1.0-12.el7 rhel-7-server-os-rpms 57 k
freetype x86_64 2.8-14.el7_9.1 rhel-7-server-os-rpms 380 k
gcc x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 16 M
gcc-c++ x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 7.2 M
glibc x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 3.6 M
glibc-common x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 12 M
glibc-devel x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 1.1 M
glibc-headers x86_64 2.17-323.el7_9 rhel-7-server-os-rpms 691 k
libblkid x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 183 k
libgcc x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 103 k
libgomp x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 159 k
libmount x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 185 k
libpng x86_64 2:1.5.13-8.el7 rhel-7-server-os-rpms 213 k
libsmartcols x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 143 k
libstdc++ x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 306 k
libstdc++-devel x86_64 4.8.5-44.el7 rhel-7-server-os-rpms 1.5 M
libuuid x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 84 k
nspr x86_64 4.25.0-2.el7_9 rhel-7-server-os-rpms 127 k
nss-softokn-freebl x86_64 3.53.1-6.el7_9 rhel-7-server-os-rpms 322 k
nss-util x86_64 3.53.1-1.el7_9 rhel-7-server-os-rpms 79 k
util-linux x86_64 2.23.2-65.el7_9.1 rhel-7-server-os-rpms 2.0 M
zlib x86_64 1.2.7-19.el7_9 rhel-7-server-os-rpms 90 k
zlib-devel x86_64 1.2.7-19.el7_9 rhel-7-server-os-rpms 50 k

Transaction Summary

Install 3 Packages (+ 9 Dependent packages)
Upgrade ( 25 Dependent packages)

Total size: 60 M
Total download size: 7.2 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : libgcc-4.8.5-44.el7.x86_64 1/62
Updating : glibc-common-2.17-323.el7_9.x86_64 2/62
Updating : nss-softokn-freebl-3.53.1-6.el7_9.x86_64 3/62
Updating : glibc-2.17-323.el7_9.x86_64 4/62
Updating : nspr-4.25.0-2.el7_9.x86_64 5/62
Updating : nss-util-3.53.1-1.el7_9.x86_64 6/62
Updating : zlib-1.2.7-19.el7_9.x86_64 7/62
Updating : libuuid-2.23.2-65.el7_9.1.x86_64 8/62
Updating : libblkid-2.23.2-65.el7_9.1.x86_64 9/62
Updating : libstdc++-4.8.5-44.el7.x86_64 10/62
Updating : libstdc++-devel-4.8.5-44.el7.x86_64 11/62
Updating : libmount-2.23.2-65.el7_9.1.x86_64 12/62
Updating : 2:libpng-1.5.13-8.el7.x86_64 13/62
Updating : freetype-2.8-14.el7_9.1.x86_64 14/62
Updating : cpp-4.8.5-44.el7.x86_64 15/62
Updating : glibc-headers-2.17-323.el7_9.x86_64 16/62
Updating : glibc-devel-2.17-323.el7_9.x86_64 17/62
Updating : expat-2.1.0-12.el7.x86_64 18/62
Updating : libsmartcols-2.23.2-65.el7_9.1.x86_64 19/62
Updating : libgomp-4.8.5-44.el7.x86_64 20/62
Updating : gcc-4.8.5-44.el7.x86_64 21/62
Installing : glibc-2.17-323.el7_9.i686 22/62
Installing : nss-softokn-freebl-3.53.1-6.el7_9.i686 23/62
Installing : zlib-1.2.7-19.el7_9.i686 24/62
Installing : 2:libpng-1.5.13-8.el7.i686 25/62
Installing : bzip2-libs-1.0.6-13.el7.i686 26/62
Installing : freetype-2.8-14.el7_9.1.i686 27/62
Installing : expat-2.1.0-12.el7.i686 28/62
Installing : libuuid-2.23.2-65.el7_9.1.i686 29/62
Installing : libgcc-4.8.5-44.el7.i686 30/62
Updating : gcc-c++-4.8.5-44.el7.x86_64 31/62
Updating : util-linux-2.23.2-65.el7_9.1.x86_64 32/62
Updating : expat-devel-2.1.0-12.el7.x86_64 33/62
Updating : zlib-devel-1.2.7-19.el7_9.x86_64 34/62
Installing : libstdc++-4.8.5-44.el7.i686 35/62
Installing : libstdc++-devel-4.8.5-44.el7.i686 36/62
Installing : fontconfig-2.13.0-4.3.el7.i686 37/62
Cleanup : util-linux-2.23.2-61.el7_7.1.x86_64 38/62
Cleanup : gcc-c++-4.8.5-39.el7.x86_64 39/62
Cleanup : libstdc++-devel-4.8.5-39.el7.x86_64 40/62
Cleanup : expat-devel-2.1.0-10.el7_3.x86_64 41/62
Cleanup : zlib-devel-1.2.7-18.el7.x86_64 42/62
Cleanup : gcc-4.8.5-39.el7.x86_64 43/62
Cleanup : libmount-2.23.2-61.el7_7.1.x86_64 44/62
Cleanup : freetype-2.8-14.el7.x86_64 45/62
Cleanup : glibc-devel-2.17-292.el7.x86_64 46/62
Cleanup : 2:libpng-1.5.13-7.el7_2.x86_64 47/62
Cleanup : libblkid-2.23.2-61.el7_7.1.x86_64 48/62
Cleanup : cpp-4.8.5-39.el7.x86_64 49/62
Cleanup : libstdc++-4.8.5-39.el7.x86_64 50/62
Cleanup : glibc-headers-2.17-292.el7.x86_64 51/62
Cleanup : zlib-1.2.7-18.el7.x86_64 52/62
Cleanup : libuuid-2.23.2-61.el7_7.1.x86_64 53/62
Cleanup : libgomp-4.8.5-39.el7.x86_64 54/62
Cleanup : expat-2.1.0-10.el7_3.x86_64 55/62
Cleanup : libsmartcols-2.23.2-61.el7_7.1.x86_64 56/62
Cleanup : glibc-common-2.17-292.el7.x86_64 57/62
Cleanup : nspr-4.21.0-1.el7.x86_64 58/62
Cleanup : nss-util-3.44.0-4.el7_7.x86_64 59/62
Cleanup : nss-softokn-freebl-3.44.0-8.el7_7.x86_64 60/62
Cleanup : glibc-2.17-292.el7.x86_64 61/62
Cleanup : libgcc-4.8.5-39.el7.x86_64 62/62
Verifying : glibc-headers-2.17-323.el7_9.x86_64 1/62
Verifying : expat-2.1.0-12.el7.x86_64 2/62
Verifying : zlib-1.2.7-19.el7_9.x86_64 3/62
Verifying : 2:libpng-1.5.13-8.el7.x86_64 4/62
Verifying : libblkid-2.23.2-65.el7_9.1.x86_64 5/62
Verifying : nss-util-3.53.1-1.el7_9.x86_64 6/62
Verifying : gcc-c++-4.8.5-44.el7.x86_64 7/62
Verifying : nspr-4.25.0-2.el7_9.x86_64 8/62
Verifying : libmount-2.23.2-65.el7_9.1.x86_64 9/62
Verifying : 2:libpng-1.5.13-8.el7.i686 10/62
Verifying : bzip2-libs-1.0.6-13.el7.i686 11/62
Verifying : glibc-2.17-323.el7_9.x86_64 12/62
Verifying : cpp-4.8.5-44.el7.x86_64 13/62
Verifying : util-linux-2.23.2-65.el7_9.1.x86_64 14/62
Verifying : glibc-devel-2.17-323.el7_9.x86_64 15/62
Verifying : libsmartcols-2.23.2-65.el7_9.1.x86_64 16/62
Verifying : glibc-common-2.17-323.el7_9.x86_64 17/62
Verifying : gcc-4.8.5-44.el7.x86_64 18/62
Verifying : zlib-devel-1.2.7-19.el7_9.x86_64 19/62
Verifying : nss-softokn-freebl-3.53.1-6.el7_9.x86_64 20/62
Verifying : glibc-2.17-323.el7_9.i686 21/62
Verifying : zlib-1.2.7-19.el7_9.i686 22/62
Verifying : libstdc++-4.8.5-44.el7.i686 23/62
Verifying : freetype-2.8-14.el7_9.1.x86_64 24/62
Verifying : fontconfig-2.13.0-4.3.el7.i686 25/62
Verifying : libgcc-4.8.5-44.el7.i686 26/62
Verifying : expat-devel-2.1.0-12.el7.x86_64 27/62
Verifying : expat-2.1.0-12.el7.i686 28/62
Verifying : libuuid-2.23.2-65.el7_9.1.i686 29/62
Verifying : libuuid-2.23.2-65.el7_9.1.x86_64 30/62
Verifying : libstdc++-4.8.5-44.el7.x86_64 31/62
Verifying : freetype-2.8-14.el7_9.1.i686 32/62
Verifying : libstdc++-devel-4.8.5-44.el7.x86_64 33/62
Verifying : nss-softokn-freebl-3.53.1-6.el7_9.i686 34/62
Verifying : libgcc-4.8.5-44.el7.x86_64 35/62
Verifying : libgomp-4.8.5-44.el7.x86_64 36/62
Verifying : libstdc++-devel-4.8.5-44.el7.i686 37/62
Verifying : glibc-2.17-292.el7.x86_64 38/62
Verifying : libsmartcols-2.23.2-61.el7_7.1.x86_64 39/62
Verifying : 2:libpng-1.5.13-7.el7_2.x86_64 40/62
Verifying : gcc-4.8.5-39.el7.x86_64 41/62
Verifying : freetype-2.8-14.el7.x86_64 42/62
Verifying : expat-devel-2.1.0-10.el7_3.x86_64 43/62
Verifying : libstdc++-4.8.5-39.el7.x86_64 44/62
Verifying : zlib-devel-1.2.7-18.el7.x86_64 45/62
Verifying : zlib-1.2.7-18.el7.x86_64 46/62
Verifying : libgcc-4.8.5-39.el7.x86_64 47/62
Verifying : libgomp-4.8.5-39.el7.x86_64 48/62
Verifying : libuuid-2.23.2-61.el7_7.1.x86_64 49/62
Verifying : glibc-common-2.17-292.el7.x86_64 50/62
Verifying : libstdc++-devel-4.8.5-39.el7.x86_64 51/62
Verifying : util-linux-2.23.2-61.el7_7.1.x86_64 52/62
Verifying : glibc-devel-2.17-292.el7.x86_64 53/62
Verifying : libmount-2.23.2-61.el7_7.1.x86_64 54/62
Verifying : gcc-c++-4.8.5-39.el7.x86_64 55/62
Verifying : libblkid-2.23.2-61.el7_7.1.x86_64 56/62
Verifying : cpp-4.8.5-39.el7.x86_64 57/62
Verifying : glibc-headers-2.17-292.el7.x86_64 58/62
Verifying : nss-util-3.44.0-4.el7_7.x86_64 59/62
Verifying : nspr-4.21.0-1.el7.x86_64 60/62
Verifying : nss-softokn-freebl-3.44.0-8.el7_7.x86_64 61/62
Verifying : expat-2.1.0-10.el7_3.x86_64 62/62

Installed:
fontconfig.i686 0:2.13.0-4.3.el7 glibc.i686 0:2.17-323.el7_9
libstdc++-devel.i686 0:4.8.5-44.el7

Dependency Installed:
bzip2-libs.i686 0:1.0.6-13.el7 expat.i686 0:2.1.0-12.el7
freetype.i686 0:2.8-14.el7_9.1 libgcc.i686 0:4.8.5-44.el7
libpng.i686 2:1.5.13-8.el7 libstdc++.i686 0:4.8.5-44.el7
libuuid.i686 0:2.23.2-65.el7_9.1 nss-softokn-freebl.i686 0:3.53.1-6.el7_9
zlib.i686 0:1.2.7-19.el7_9

Dependency Updated:
cpp.x86_64 0:4.8.5-44.el7
expat.x86_64 0:2.1.0-12.el7
expat-devel.x86_64 0:2.1.0-12.el7
freetype.x86_64 0:2.8-14.el7_9.1
gcc.x86_64 0:4.8.5-44.el7
gcc-c++.x86_64 0:4.8.5-44.el7
glibc.x86_64 0:2.17-323.el7_9
glibc-common.x86_64 0:2.17-323.el7_9
glibc-devel.x86_64 0:2.17-323.el7_9
glibc-headers.x86_64 0:2.17-323.el7_9
libblkid.x86_64 0:2.23.2-65.el7_9.1
libgcc.x86_64 0:4.8.5-44.el7
libgomp.x86_64 0:4.8.5-44.el7
libmount.x86_64 0:2.23.2-65.el7_9.1
libpng.x86_64 2:1.5.13-8.el7
libsmartcols.x86_64 0:2.23.2-65.el7_9.1
libstdc++.x86_64 0:4.8.5-44.el7
libstdc++-devel.x86_64 0:4.8.5-44.el7
libuuid.x86_64 0:2.23.2-65.el7_9.1
nspr.x86_64 0:4.25.0-2.el7_9
nss-softokn-freebl.x86_64 0:3.53.1-6.el7_9
nss-util.x86_64 0:3.53.1-1.el7_9
util-linux.x86_64 0:2.23.2-65.el7_9.1
zlib.x86_64 0:1.2.7-19.el7_9
zlib-devel.x86_64 0:1.2.7-19.el7_9

Complete!

  • sudo yum install -y glibc.i686 libfontconfig.so.1 libstdc++-devel.i686
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    Package glibc-2.17-323.el7_9.i686 already installed and latest version
    Package fontconfig-2.13.0-4.3.el7.i686 already installed and latest version
    Package libstdc++-devel-4.8.5-44.el7.i686 already installed and latest version
    Nothing to do
     

Screenshot/screencast of this PR

What issues does this PR fix or reference?

#19093

How to test this PR?

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@che-bot che-bot added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Feb 18, 2021
Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Feb 18, 2021

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

@dmytro-ndp dmytro-ndp marked this pull request as ready for review February 18, 2021 23:12
@dmytro-ndp dmytro-ndp merged commit 3c7dbbd into master Feb 19, 2021
@dmytro-ndp dmytro-ndp deleted the 19093-3 branch February 19, 2021 09:58
@che-bot che-bot removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Feb 19, 2021
@che-bot che-bot added this to the 7.27 milestone Feb 19, 2021

# workaround https://github.com/eclipse/che/issues/19093
sudo yum install -y glibc.i686 libfontconfig.so.1 libstdc++-devel.i686 || true
sudo yum install -y glibc.i686 libfontconfig.so.1 libstdc++-devel.i686 || true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workaround for "can't install a thing" is "try it 4 times, that'll work!" ??? I mean, cool if it does but how do you know you won't have to add a 5th attempt in future? :D

What about installing from a different repo, like the pulp ones? or using rhel8?

Also aside, am I crazy or does i686 == 32 bit? should we be using x86_64 instead?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some settings you could try in /etc/dnf/dnf.conf (or yum.conf if you're on rhel7)

fastestmirror=True [default false]
max_parallel_downloads=[some value larger than default of 3?]
minrate=[lower value to avoid connection dropping]
retries=[value larger than default of 10]
timeout=[value greater than default of 30 (seconds)]

See also man dnf.conf or man yum.conf

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workaround for "can't install a thing" is "try it 4 times, that'll work!" ??? I mean, cool if it does but how do you know you won't have to add a 5th attempt in future? :D

It does usually take 2-3 iterations to install all three packages, e.g. https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/blue/organizations/jenkins/dashboard-next-happy-path/detail/dashboard-next-happy-path/377/pipeline/41
4th one is reserved, and nothing prevents us to add 5th one if it will be needed.

What about installing from a different repo, like the pulp ones? or using rhel8?

I am not so familiar with /etc/yum.repos.d/epel.repo to configure it properly. Anyway, as you can see in the logs installation is ending up in pulp repo.

Also aside, am I crazy or does i686 == 32 bit? should we be using x86_64 instead?

Copy link
Contributor

@nickboldt nickboldt Feb 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. From your log:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

You might be able to enable delta rpms and get better install performance by fetching smaller files :)

  1. Are these glibc and fontconfig deps because you're doing e2e tests that need them? As you can see from the CRW build script https://gitlab.cee.redhat.com/codeready-workspaces/crw-jenkins/-/blob/master/jobs/CRW_CI/crw-server_2.7.jenkinsfile#L182-184, I've had to disable all the tests ...
mvn -DskipTests clean install ${MVN_FLAGS} -P native -f ${CHE_path}/pom.xml ${MVN_EXTRA_FLAGS}

as they wouldn't run (for 2.6, anyway). I haven't re-enabled them yet for 2.7 to see if they're more stable.

Oh, but I see you're using the same skipTests !!

+ mvn clean install -f /mnt/hudson_workspace/workspace/dashboard-next-happy-path/pom.xml -T 4 -U -DskipTests -Dskip-enforce -Dskip-validate-sources

So I'm really curious what needs these c/c++ deps. What are we compiling against i686?

Might be worth trying to compute what actually depends on those rpms...

$➔ rpm -q --whatrequires glibc.i686 libstdc++-devel.i686 libfontconfig.so.1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we just instead use a predefined image having already those dependencies installed ? (to speed up each run of the jenkins flow)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benoitf:

could we just instead use a predefined image having already those dependencies installed ? (to speed up each run of the jenkins flow)

There is a plan to update Jenkins CI node snapshots.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah but the dependencies still have to come from somewhere, unless we plan to manage our own pulp repo mirrors :D

@nickboldt
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants