Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[microprofile-dev] Build failed in Jenkins: BOM-maven-snapshots #743

See <https://ci-staging.eclipse.org/microprofile/job/BOM-maven-snapshots/743/display/redirect>

Changes:

------------------------------------------
Started by timer
Running as SYSTEM
Agent default-agent-rrnlh is provisioned from template Kubernetes Pod Template
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
  name: "default-agent-rrnlh"
spec:
  containers:
  - env:
    - name: "MAVEN_OPTS"
      value: "-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.microprofile.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "default-agent-rrnlh"
    - name: "MAVEN_CONFIG"
      value: "-B -e"
    - name: "JENKINS_NAME"
      value: "default-agent-rrnlh"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.microprofile.svc.cluster.local/microprofile/";
    - name: "HOME"
      value: "/home/jenkins"
    image: "eclipsecbijenkins/jenkins-agent:3.29@sha256:3dbc231fbe975b5e9ce83f5ea55d0456963e4cc1b21fb4e63e742eabcf16a807"
    imagePullPolicy: "IfNotPresent"
    name: "jnlp"
    resources:
      limits:
        memory: "4096Mi"
        cpu: "2000m"
      requests:
        memory: "4096Mi"
        cpu: "1000m"
    securityContext:
      privileged: false
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "toolchains-xml"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/opt/tools"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings-security.xml"
      name: "settings-security-xml"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "settings-xml"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector: {}
  restartPolicy: "Never"
  volumes:
  - name: "settings-security-xml"
    secret:
      items:
      - key: "settings-security.xml"
        path: "settings-security.xml"
      secretName: "m2-secret-dir"
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-microprofile"
      readOnly: true
  - configMap:
      items:
      - key: "toolchains.xml"
        path: "toolchains.xml"
      name: "m2-dir"
    name: "toolchains-xml"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - name: "settings-xml"
    secret:
      items:
      - key: "settings.xml"
        path: "settings.xml"
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "workspace-volume"

Building remotely on default-agent-rrnlh in workspace <https://ci-staging.eclipse.org/microprofile/job/BOM-maven-snapshots/ws/>
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/eclipse/microprofile-bom.git
 > git init <https://ci-staging.eclipse.org/microprofile/job/BOM-maven-snapshots/ws/> # timeout=10
Fetching upstream changes from https://github.com/eclipse/microprofile-bom.git
 > git --version # timeout=10
 > git fetch --tags --force --progress https://github.com/eclipse/microprofile-bom.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://github.com/eclipse/microprofile-bom.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/eclipse/microprofile-bom.git # timeout=10
Fetching upstream changes from https://github.com/eclipse/microprofile-bom.git
 > git fetch --tags --force --progress https://github.com/eclipse/microprofile-bom.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 7b5012f2b715db093b82bb6a7a6a06f8c3dfe64a (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7b5012f2b715db093b82bb6a7a6a06f8c3dfe64a
Commit message: "Merge pull request #77 from eclipse/pavolloffay-patch-1"
 > git rev-list --no-walk 7b5012f2b715db093b82bb6a7a6a06f8c3dfe64a # timeout=10
Parsing POMs
Modules changed, recalculating dependency graph
Established TCP socket on 46545
Copied maven35-agent.jar
Copied maven35-interceptor.jar
Copied maven3-interceptor-commons.jar
[BOM-maven-snapshots] $ /opt/tools/java/oracle/jdk-8/latest/bin/java -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -cp /home/jenkins/agent/maven35-agent.jar:/opt/tools/apache-maven/latest/boot/plexus-classworlds-2.5.2.jar:/opt/tools/apache-maven/latest/conf/logging jenkins.maven3.agent.Maven35Main /opt/tools/apache-maven/latest /usr/share/jenkins/slave.jar /home/jenkins/agent/maven35-interceptor.jar /home/jenkins/agent/maven3-interceptor-commons.jar 46545
Picked up JAVA_TOOL_OPTIONS: -XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
Picked up _JAVA_OPTIONS: -XX:MaxRAMPercentage=64.0
Sep 21, 2019 6:20:07 AM hudson.remoting.ChannelBuilder withJarCacheOrDefault
WARNING: Could not create jar cache. Running without cache.
java.io.IOException: Failed to initialize the default JAR Cache location
	at hudson.remoting.JarCache.getDefault(JarCache.java:41)
	at hudson.remoting.ChannelBuilder.withJarCacheOrDefault(ChannelBuilder.java:221)
	at hudson.remoting.Launcher.main(Launcher.java:736)
	at hudson.remoting.Launcher.main(Launcher.java:724)
	at hudson.remoting.Launcher.main(Launcher.java:715)
	at hudson.remoting.Launcher.main(Launcher.java:711)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:137)
	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:65)
Caused by: java.lang.IllegalArgumentException: Root directory not writable: /home/jenkins/.jenkins/cache/jars
	at hudson.remoting.FileSystemJarCache.<init>(FileSystemJarCache.java:62)
	at hudson.remoting.JarCache.getDefault(JarCache.java:39)
	... 11 more
Caused by: java.nio.file.AccessDeniedException: /home/jenkins/.jenkins/cache
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
	at java.nio.file.Files.createDirectory(Files.java:674)
	at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
	at java.nio.file.Files.createDirectories(Files.java:767)
	at hudson.remoting.Util.mkdirs(Util.java:159)
	at hudson.remoting.FileSystemJarCache.<init>(FileSystemJarCache.java:60)
	... 12 more

<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f <https://ci-staging.eclipse.org/microprofile/job/BOM-maven-snapshots/ws/pom.xml> -pl !spec install
[INFO] Scanning for projects...
[INFO] 
[INFO] ---------------< org.eclipse.microprofile:microprofile >----------------
[INFO] Building MicroProfile BOM 1.4-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ microprofile ---
[INFO] Installing <https://ci-staging.eclipse.org/microprofile/job/BOM-maven-snapshots/ws/pom.xml> to /home/jenkins/.m2/repository/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.476 s
[INFO] Finished at: 2019-09-21T06:20:16Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving <https://ci-staging.eclipse.org/microprofile/job/BOM-maven-snapshots/ws/pom.xml> to org.eclipse.microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-SNAPSHOT.pom
channel stopped
No artifacts are recorded for moduleorg.eclipse.microprofile:microprofile-spec. Is this a Maven project?
Maven RedeployPublisher use remote default-agent-rrnlh maven settings from : /home/jenkins/.m2/settings.xml
[INFO] Deployment in https://repo.eclipse.org/content/repositories/microprofile-snapshots/ (id=repo.eclipse.org,uniqueVersion=true)
Deploying the main artifact microprofile-1.4-SNAPSHOT.pom
Downloading from repo.eclipse.org: https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/maven-metadata.xml
Downloaded from repo.eclipse.org: https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/maven-metadata.xml (613 B at 9.3 kB/s)
Uploading to repo.eclipse.org: https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-20190921.062017-608.pom
ERROR: Failed to deploy artifacts: Could not transfer artifact org.eclipse.microprofile:microprofile:pom:1.4-20190921.062017-608 from/to repo.eclipse.org (https://repo.eclipse.org/content/repositories/microprofile-snapshots/): Failed to transfer file https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-20190921.062017-608.pom with status code 401
org.apache.maven.artifact.deployer.ArtifactDeploymentException: Failed to deploy artifacts: Could not transfer artifact org.eclipse.microprofile:microprofile:pom:1.4-20190921.062017-608 from/to repo.eclipse.org (https://repo.eclipse.org/content/repositories/microprofile-snapshots/): Failed to transfer file https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-20190921.062017-608.pom with status code 401
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:146)
	at hudson.maven.reporters.MavenArtifactRecord.deploy(MavenArtifactRecord.java:198)
	at hudson.maven.RedeployPublisher.perform(RedeployPublisher.java:176)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1074)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
	at hudson.model.Run.execute(Run.java:1843)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Caused by: org.eclipse.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.eclipse.microprofile:microprofile:pom:1.4-20190921.062017-608 from/to repo.eclipse.org (https://repo.eclipse.org/content/repositories/microprofile-snapshots/): Failed to transfer file https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-20190921.062017-608.pom with status code 401
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:295)
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:223)
	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.deploy(DefaultRepositorySystem.java:384)
	at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:142)
	... 11 more
Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.eclipse.microprofile:microprofile:pom:1.4-20190921.062017-608 from/to repo.eclipse.org (https://repo.eclipse.org/content/repositories/microprofile-snapshots/): Failed to transfer file https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-20190921.062017-608.pom with status code 401
	at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:52)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:365)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector.put(BasicRepositoryConnector.java:284)
	at org.eclipse.aether.internal.impl.DefaultDeployer.deploy(DefaultDeployer.java:289)
	... 14 more
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file https://repo.eclipse.org/content/repositories/microprofile-snapshots/org/eclipse/microprofile/microprofile/1.4-SNAPSHOT/microprofile-1.4-20190921.062017-608.pom with status code 401
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:756)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:670)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:652)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:646)
	at org.apache.maven.wagon.shared.http.AbstractHttpClientWagon.put(AbstractHttpClientWagon.java:626)
	at org.eclipse.aether.transport.wagon.WagonTransporter$PutTaskRunner.run(WagonTransporter.java:686)
	at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:435)
	at org.eclipse.aether.transport.wagon.WagonTransporter.put(WagonTransporter.java:418)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$PutTaskRunner.runTask(BasicRepositoryConnector.java:512)
	at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:360)
	... 16 more
[INFO] Deployment failed after 0.21 sec
Build step 'Deploy artifacts to Maven repository' changed build result to FAILURE


Back to the top