Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6604

Intermittent failures while downloading GAVs from Nexus

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.6.0
    • 3.8.2, 4.0.0-alpha-2, 4.0.0
    • Command Line, Toolchains
    • None
    • Nexus OSS 3.15.2-01
      Docker 18.09.2 on Ubuntu 18.04.2 LTS
      Gitlab runner 11.8.0

    Description

      Hello

      we're running maven 3.6.0 builds in a docker container and we use Nexus OSS configured as proxy for Maven Central.

      While running our builds using Gitlab CI, we're experiencing intermittent build failures because Maven cannot find artifacts in Nexus which we verified they are actually available.

      Error example below:

      20744 [main] [ERROR] Failed to execute goal on project EcotransitWSClient: Could not resolve dependencies for project it.sdb.ecotransit:EcotransitWSClient:jar:7.0.1-SNAPSHOT: Could not transfer artifact commons-beanutils:commons-beanutils:jar:1.9.3 from/to nexus (http://maven-repo.sdb.it:8081/repository/maven-public/): /builds/sdb/webportal/.m2/repository/commons-beanutils/commons-beanutils/1.9.3/commons-beanutils-1.9.3.jar.part (No such file or directory) -> [Help 1]
      

      I attached the full maven build log and our Docker env settings.

      We tried disabling the keep alive and also disabling the connection pooling but nothing seems to fix the issue.

       

       

      Attachments

        1. docker-env.txt
          3 kB
          Ivan Rizzante
        2. log.txt
          5.02 MB
          Ivan Rizzante

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              irizzant Ivan Rizzante
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: