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

Fix Maven Dependency Timeout - Connection reset

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Jenkins X
    • Environment:
      Docker
      Kubernetes
      JenkinsX
      Nexus

      Description

      http://maven.apache.org/wagon/wagon-providers/wagon-http/

      we have this error when running Nuxeo functional tests ( in some unit tests also)
      it seems the connexion is resetting when "running ftests/nuxeo-server-gatling-tests".
       

      [2020-04-16T15:49:55.533Z] [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.3.2:compile (scala-compile) on project nuxeo-server-gatling-tests: wrap: org.apache.maven.artifact.resolver.ArtifactResolutionException: Could not transfer artifact org.scala-lang:scala-compiler:jar:2.12.3 from/to nexus (http://nexus/repository/maven-group/): GET request of: org/scala-lang/scala-compiler/2.12.3/scala-compiler-2.12.3.jar from nexus failed
      
      [2020-04-16T15:49:55.533Z] [ERROR]   org.scala-lang:scala-compiler:jar:2.12.3
      
      [2020-04-16T15:49:55.533Z] [ERROR] 
      
      [2020-04-16T15:49:55.533Z] [ERROR] from the specified remote repositories:
      
      [2020-04-16T15:49:55.533Z] [ERROR]   nexus (http://nexus/repository/maven-group/, releases=true, snapshots=true): Connection reset
      
      [2020-04-16T15:49:55.533Z] [ERROR] -> [Help 1]
      
      [2020-04-16T15:49:55.533Z] [ERROR] 
      
      [2020-04-16T15:49:55.533Z] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      
      [2020-04-16T15:49:55.533Z] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      
      [2020-04-16T15:49:55.533Z] [ERROR] 
      
      [2020-04-16T15:49:55.533Z] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      
      [2020-04-16T15:49:55.533Z] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      
      [2020-04-16T15:49:55.533Z] [ERROR] 
      
      [2020-04-16T15:49:55.533Z] [ERROR] After correcting the problems, you can resume the build with the command
      
      [2020-04-16T15:49:55.533Z] [ERROR]   mvn <goals> -rf :nuxeo-server-gatling-tests
      
      script returned exit code 1
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 6 hours
                  2d 6h