Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3590

[Platform CI] Fix java-firefox builder build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration

      Description

      Failing with

      02:40:07 Building [docker.platform-staging.dev.nuxeo.com/nuxeo/builder-java8-firefox42]...
      02:40:13 E0207 01:40:12.758326 1 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated.
      02:40:13 For verbose messaging see aws.Config.CredentialsChainVerboseErrors
      02:40:13 INFO[0000] Retrieving image manifest docker.platform-staging.dev.nuxeo.com/nuxeo/builder-java8:latest
      02:40:13 INFO[0000] Retrieving image docker.platform-staging.dev.nuxeo.com/nuxeo/builder-java8:latest from registry docker.platform-staging.dev.nuxeo.com
      02:40:13 INFO[0000] Built cross stage deps: map[]
      02:40:13 INFO[0000] Retrieving image manifest docker.platform-staging.dev.nuxeo.com/nuxeo/builder-java8:latest
      02:40:13 INFO[0000] Returning cached image manifest
      02:40:13 INFO[0000] Executing 0 build triggers
      02:40:13 INFO[0000] Only file modification time will be considered when snapshotting
      02:40:13 INFO[0000] Unpacking rootfs as cmd RUN yum -y install alsa-lib-devel tigervnc-server && yum clean all requires it.
      02:41:00 INFO[0046] Taking snapshot of full filesystem...
      02:42:08 INFO[0107] RUN yum -y install alsa-lib-devel tigervnc-server && yum clean all
      02:42:08 INFO[0107] cmd: /bin/sh
      02:42:08 INFO[0107] args: [-c yum -y install alsa-lib-devel tigervnc-server && yum clean all]
      02:42:08 INFO[0107] Running: [/bin/sh -c yum -y install alsa-lib-devel tigervnc-server && yum clean all]
      02:42:08 Loaded plugins: fastestmirror, ovl
      02:42:08 Determining fastest mirrors
      02:42:08 * base: mirror.wdc1.us.leaseweb.net
      02:42:08 * epel: reflector.westga.edu
      02:42:08 * extras: mirror.mia11.us.leaseweb.net
      02:42:08 * updates: mirror.vcu.edu
      02:42:08 https://packages.endpoint.com/rhel/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: packages.endpoint.com; Unknown error"
      02:42:08 Trying other mirror.
      02:42:08
      02:42:08
      02:42:08 One of the configured repositories failed (End Point repository),
      02:42:08 and yum doesn't have enough cached data to continue. At this point the only
      02:42:08 safe thing yum can do is fail. There are a few ways to work "fix" this:
      02:42:08
      02:42:08 1. Contact the upstream for the repository and get them to fix the problem.
      02:42:08
      02:42:08 2. Reconfigure the baseurl/etc. for the repository, to point to a working
      02:42:08 upstream. This is most often useful if you are using a newer
      02:42:08 distribution release than is supported by the repository (and the
      02:42:08 packages for the previous distribution release still work).
      02:42:08
      02:42:08 3. Run the command with the repository temporarily disabled
      02:42:08 yum --disablerepo=endpoint ...
      02:42:08
      02:42:08 4. Disable the repository permanently, so yum won't use it by default. Yum
      02:42:08 will then just ignore the repository until you permanently enable it
      02:42:08 again or use --enablerepo for temporary usage:
      02:42:08
      02:42:08 yum-config-manager --disable endpoint
      02:42:08 or
      02:42:08 subscription-manager repos --disable=endpoint
      02:42:08
      02:42:08 5. Configure the failing repository to be skipped, if it is unavailable.
      02:42:08 Note that yum will try to contact the repo. when it runs most commands,
      02:42:08 so will have to try and fail each time (and thus. yum will be be much
      02:42:08 slower). If it is a very temporary problem though, this is often a nice
      02:42:08 compromise:
      02:42:08
      02:42:08 yum-config-manager --save --setopt=endpoint.skip_if_unavailable=true
      02:42:08
      02:42:08 failure: repodata/repomd.xml from endpoint: [Errno 256] No more mirrors to try.
      02:42:08 https://packages.endpoint.com/rhel/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: packages.endpoint.com; Unknown error"
      02:42:08 error building image: error building stage: failed to execute command: waiting for process to exit: exit status 1
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: