You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2018/10/01 08:35:45 UTC

Build failed in Jenkins: brooklyn-master-build-docker-pipeline-tmp-aledsage #2

See <https://builds.apache.org/job/brooklyn-master-build-docker-pipeline-tmp-aledsage/2/display/redirect>

------------------------------------------
[...truncated 3.88 MB...]
[INFO] Exclude: **/.m2/**
[INFO] 2 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 2 licenses.
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ brooklyn-library-features ---
[INFO] Building jar: /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/karaf/features/target/brooklyn-library-features-1.0.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ brooklyn-library-features ---
[INFO] Building jar: /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/karaf/features/target/brooklyn-library-features-1.0.0-SNAPSHOT-test-sources.jar
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ brooklyn-library-features ---
[INFO] No primary artifact to install, installing attached artifacts instead.
[INFO] Installing /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/karaf/features/pom.xml to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-library-features/1.0.0-SNAPSHOT/brooklyn-library-features-1.0.0-SNAPSHOT.pom
[INFO] Installing /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/karaf/features/target/feature/feature.xml to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-library-features/1.0.0-SNAPSHOT/brooklyn-library-features-1.0.0-SNAPSHOT-features.xml
[INFO] Installing /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/karaf/features/target/brooklyn-library-features-1.0.0-SNAPSHOT-sources.jar to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-library-features/1.0.0-SNAPSHOT/brooklyn-library-features-1.0.0-SNAPSHOT-sources.jar
[INFO] Installing /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/karaf/features/target/brooklyn-library-features-1.0.0-SNAPSHOT-test-sources.jar to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-library-features/1.0.0-SNAPSHOT/brooklyn-library-features-1.0.0-SNAPSHOT-test-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Library Root 1.0.0-SNAPSHOT ............... SUCCESS [ 10.558 s]
[INFO] Brooklyn CM Chef ................................... SUCCESS [01:50 min]
[INFO] Brooklyn CM SaltStack .............................. SUCCESS [  6.468 s]
[INFO] Brooklyn CM Ansible ................................ SUCCESS [  4.503 s]
[INFO] Brooklyn CM Integration Root ....................... SUCCESS [  0.122 s]
[INFO] Brooklyn Network Software Entities ................. SUCCESS [  5.039 s]
[INFO] Brooklyn OSGi Software Entities .................... SUCCESS [  3.832 s]
[INFO] Brooklyn Database Software Entities ................ SUCCESS [  8.925 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [ 25.596 s]
[INFO] Brooklyn Messaging Software Entities ............... SUCCESS [ 33.094 s]
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SUCCESS [ 41.871 s]
[INFO] Brooklyn Monitoring Software Entities .............. SUCCESS [  3.401 s]
[INFO] Brooklyn Web App Software Entities ................. SUCCESS [  0.195 s]
[INFO] Brooklyn QA ........................................ SUCCESS [ 31.707 s]
[INFO] Brooklyn Examples Aggregator Project ............... SUCCESS [  0.111 s]
[INFO] Brooklyn Examples Aggregator Project - Webapps ..... SUCCESS [  0.100 s]
[INFO] hello-world-webapp Maven Webapp .................... SUCCESS [  0.749 s]
[INFO] hello-world-sql-webapp Maven Webapp ................ SUCCESS [  2.761 s]
[INFO] Brooklyn Simple Web Cluster Example ................ SUCCESS [  7.756 s]
[INFO] Brooklyn Library Karaf integration ................. SUCCESS [  0.106 s]
[INFO] Brooklyn Library Catalog ........................... SUCCESS [  0.298 s]
[INFO] Brooklyn Library Karaf Features 1.0.0-SNAPSHOT ..... SUCCESS [  2.094 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:17 min
[INFO] Finished at: 2018-10-01T08:35:23Z
[INFO] ------------------------------------------------------------------------
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy artifacts)
[Pipeline] sh
[brooklyn-master-build-docker-pipeline-tmp-aledsage] Running shell script
++ id -un 910
id: unknown user 910
+ mvn deploy -DskipTests -Duser.home=/var/maven -Duser.name=
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Brooklyn Library Root                                              [pom]
[INFO] Brooklyn CM Chef                                                   [jar]
[INFO] Brooklyn CM SaltStack                                              [jar]
[INFO] Brooklyn CM Ansible                                                [jar]
[INFO] Brooklyn CM Integration Root                                       [pom]
[INFO] Brooklyn Network Software Entities                                 [jar]
[INFO] Brooklyn OSGi Software Entities                                    [jar]
[INFO] Brooklyn Database Software Entities                                [jar]
[INFO] Brooklyn Web App Software Entities                                 [jar]
[INFO] Brooklyn Messaging Software Entities                               [jar]
[INFO] Brooklyn NoSQL Data Store Software Entities                        [jar]
[INFO] Brooklyn Monitoring Software Entities                              [jar]
[INFO] Brooklyn Web App Software Entities                                 [jar]
[INFO] Brooklyn QA                                                        [jar]
[INFO] Brooklyn Examples Aggregator Project                               [pom]
[INFO] Brooklyn Examples Aggregator Project - Webapps                     [pom]
[INFO] hello-world-webapp Maven Webapp                                    [war]
[INFO] hello-world-sql-webapp Maven Webapp                                [war]
[INFO] Brooklyn Simple Web Cluster Example                                [jar]
[INFO] Brooklyn Library Karaf integration                                 [pom]
[INFO] Brooklyn Library Catalog                                           [jar]
[INFO] Brooklyn Library Karaf Features                                [feature]
[INFO] 
[INFO] ----------------< org.apache.brooklyn:brooklyn-library >----------------
[INFO] Building Brooklyn Library Root 1.0.0-SNAPSHOT                     [1/22]
[INFO] --------------------------------[ pom ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.pom
Progress (1): 2.2/7.1 kBProgress (1): 5.0/7.1 kBProgress (1): 7.1 kB                        Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.pom (7.1 kB at 17 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.jar
Progress (1): 2.2/34 kBProgress (1): 5.0/34 kBProgress (1): 7.7/34 kBProgress (1): 10/34 kB Progress (1): 13/34 kBProgress (1): 16/34 kBProgress (1): 19/34 kBProgress (1): 21/34 kBProgress (1): 24/34 kBProgress (1): 27/34 kBProgress (1): 30/34 kBProgress (1): 32/34 kBProgress (1): 34 kB                      Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.jar (34 kB at 1.0 MB/s)
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ brooklyn-library ---
[INFO] Executing: /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage && git rev-parse --verify HEAD
[INFO] Working directory: /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage
[INFO] Storing buildNumber: 3a7b3dcba661007fc27bd544ba7c6059d61723a0 at timestamp: 1538382930888
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage && git rev-parse --verify HEAD
[INFO] Working directory: /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (brooklyn-build-req) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (verify-style) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ brooklyn-library ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ brooklyn-library ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 94 implicit excludes (use -debug for more details).
[INFO] Exclude: sandbox/**
[INFO] Exclude: release/**
[INFO] Exclude: README.md
[INFO] Exclude: **/.git/**
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/.repository/**
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/.classpath/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/*.log
[INFO] Exclude: **/brooklyn*.log.*
[INFO] Exclude: **/target/**
[INFO] Exclude: **/nbactions.xml
[INFO] Exclude: **/nb-configuration.xml
[INFO] Exclude: ignored/**
[INFO] Exclude: LICENSE.md
[INFO] Exclude: .mvn/jvm.config
[INFO] Exclude: **/src/main/license/**
[INFO] Exclude: **/src/test/license/**
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/*.pem.pub
[INFO] Exclude: **/*.pem
[INFO] Exclude: **/*_rsa.pub
[INFO] Exclude: **/*_rsa
[INFO] Exclude: **/*.svg
[INFO] Exclude: **/*.crt
[INFO] Exclude: **/*.csr
[INFO] Exclude: **/*.key
[INFO] Exclude: **/*.key.org
[INFO] Exclude: **/*.psd
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.plxarc
[INFO] Exclude: **/src/test/resources/org/apache/brooklyn/entity/software/base/template_with_extra_substitutions.txt
[INFO] Exclude: **/src/main/resources/banner.txt
[INFO] Exclude: **/src/test/resources/ssl/certs/localhost/info.txt
[INFO] Exclude: **/src/main/history/dependencies.xml
[INFO] Exclude: **/sandbox/examples/src/main/scripts/amis.txt
[INFO] Exclude: docs/**
[INFO] Exclude: **/.m2/**
[INFO] 5 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 3 licenses.
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ brooklyn-library ---
[INFO] Installing /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/pom.xml to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ brooklyn-library ---
Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/maven-metadata.xml
Progress (1): 616 B                   Downloaded from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/maven-metadata.xml (616 B at 897 B/s)
Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-20181001.083534-377.pom
Progress (1): 2.0/5.3 kBProgress (1): 4.1/5.3 kBProgress (1): 5.3 kB                        [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Library Root 1.0.0-SNAPSHOT ............... FAILURE [  5.386 s]
[INFO] Brooklyn CM Chef ................................... SKIPPED
[INFO] Brooklyn CM SaltStack .............................. SKIPPED
[INFO] Brooklyn CM Ansible ................................ SKIPPED
[INFO] Brooklyn CM Integration Root ....................... SKIPPED
[INFO] Brooklyn Network Software Entities ................. SKIPPED
[INFO] Brooklyn OSGi Software Entities .................... SKIPPED
[INFO] Brooklyn Database Software Entities ................ SKIPPED
[INFO] Brooklyn Web App Software Entities ................. SKIPPED
[INFO] Brooklyn Messaging Software Entities ............... SKIPPED
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SKIPPED
[INFO] Brooklyn Monitoring Software Entities .............. SKIPPED
[INFO] Brooklyn Web App Software Entities ................. SKIPPED
[INFO] Brooklyn QA ........................................ SKIPPED
[INFO] Brooklyn Examples Aggregator Project ............... SKIPPED
[INFO] Brooklyn Examples Aggregator Project - Webapps ..... SKIPPED
[INFO] hello-world-webapp Maven Webapp .................... SKIPPED
[INFO] hello-world-sql-webapp Maven Webapp ................ SKIPPED
[INFO] Brooklyn Simple Web Cluster Example ................ SKIPPED
[INFO] Brooklyn Library Karaf integration ................. SKIPPED
[INFO] Brooklyn Library Catalog ........................... SKIPPED
[INFO] Brooklyn Library Karaf Features 1.0.0-SNAPSHOT ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.980 s
[INFO] Finished at: 2018-10-01T08:35:35Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project brooklyn-library: Failed to deploy artifacts: Could not transfer artifact org.apache.brooklyn:brooklyn-library:pom:1.0.0-20181001.083534-377 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-20181001.083534-377.pom. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 5b6197ff93c4e23cd81944ff6019b17f9c38c66ac0093cc66a2ac6828dc17772
$ docker rm -f 5b6197ff93c4e23cd81944ff6019b17f9c38c66ac0093cc66a2ac6828dc17772
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
ERROR: script returned exit code 1
[Pipeline] // catchError
[Pipeline] stage
[Pipeline] { (Publish test results)
[Pipeline] junit
Recording test results
[Pipeline] step
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/2/testng/testng-results.xml'
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step

Build failed in Jenkins: brooklyn-master-build-docker-pipeline-tmp-aledsage #3

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/brooklyn-master-build-docker-pipeline-tmp-aledsage/3/display/redirect>

------------------------------------------
[...truncated 3.90 MB...]
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Deploy artifacts)
[Pipeline] sh
[brooklyn-master-build-docker-pipeline-tmp-aledsage] Running shell script
+ env
RUN_DISPLAY_URL=https://builds.apache.org/job/brooklyn-master-build-docker-pipeline-tmp-aledsage/3/display/redirect
JENKINS_URL=https://builds.apache.org/
EXECUTOR_NUMBER=1
LANG=C.UTF-8
BUILD_ID=3
HOSTNAME=5f43ad0bbd6d
RUN_CHANGES_DISPLAY_URL=https://builds.apache.org/job/brooklyn-master-build-docker-pipeline-tmp-aledsage/3/display/redirect?page=changes
MAVEN_HOME=/usr/share/maven
JENKINS_NODE_COOKIE=42f05a14-743d-43c6-9d0c-3d90584656ca
JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
JOB_BASE_NAME=brooklyn-master-build-docker-pipeline-tmp-aledsage
CLASSPATH=
JAVA_VERSION=8u171
BUILD_NUMBER=3
WORKSPACE=/home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage
PWD=/home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage
HUDSON_URL=https://builds.apache.org/
HOME=/
NODE_NAME=ubuntu-1
HUDSON_SERVER_COOKIE=f4ebd1e6b0d976e8
MAVEN_CONFIG=/var/maven/.m2
JENKINS_HOME=/x1/jenkins/jenkins-home
JOB_NAME=brooklyn-master-build-docker-pipeline-tmp-aledsage
NIX_LABEL=ubuntu
HUDSON_HOME=/x1/jenkins/jenkins-home
JOB_DISPLAY_URL=https://builds.apache.org/job/brooklyn-master-build-docker-pipeline-tmp-aledsage/display/redirect
BUILD_URL=https://builds.apache.org/job/brooklyn-master-build-docker-pipeline-tmp-aledsage/3/
STAGE_NAME=Deploy artifacts
JOB_URL=https://builds.apache.org/job/brooklyn-master-build-docker-pipeline-tmp-aledsage/
DOCKER_TAG=jenkins-brooklyn-master-build-docker-pipeline-tmp-aledsage-3
BUILD_DISPLAY_NAME=#3
SHLVL=2
BUILD_TAG=jenkins-brooklyn-master-build-docker-pipeline-tmp-aledsage-3
NODE_LABELS=trusty ubuntu ubuntu-1
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin
JAVA_ALPINE_VERSION=8.171.11-r0
WIN_LABEL=Windows
JENKINS_SERVER_COOKIE=durable-99aabd5723a3ff631f1b675047e19e38
_=/usr/bin/env
[Pipeline] sh
[brooklyn-master-build-docker-pipeline-tmp-aledsage] Running shell script
+ ls -la /var/maven
total 16
drwxrwxrwx    5 root     root          4096 Oct  1 11:32 .
drwxr-xr-x   17 root     root          4096 Oct  1 11:29 ..
drwxr-xr-x    3 910      910           4096 Oct  1 11:32 .brooklyn
drwxrwxrwx    3 root     root          4096 Oct  1 11:29 .m2
[Pipeline] sh
[brooklyn-master-build-docker-pipeline-tmp-aledsage] Running shell script
+ mvn deploy -DskipTests -Duser.home=/var/maven -Duser.name=jenkins
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Brooklyn Library Root                                              [pom]
[INFO] Brooklyn CM Chef                                                   [jar]
[INFO] Brooklyn CM SaltStack                                              [jar]
[INFO] Brooklyn CM Ansible                                                [jar]
[INFO] Brooklyn CM Integration Root                                       [pom]
[INFO] Brooklyn Network Software Entities                                 [jar]
[INFO] Brooklyn OSGi Software Entities                                    [jar]
[INFO] Brooklyn Database Software Entities                                [jar]
[INFO] Brooklyn Web App Software Entities                                 [jar]
[INFO] Brooklyn Messaging Software Entities                               [jar]
[INFO] Brooklyn NoSQL Data Store Software Entities                        [jar]
[INFO] Brooklyn Monitoring Software Entities                              [jar]
[INFO] Brooklyn Web App Software Entities                                 [jar]
[INFO] Brooklyn QA                                                        [jar]
[INFO] Brooklyn Examples Aggregator Project                               [pom]
[INFO] Brooklyn Examples Aggregator Project - Webapps                     [pom]
[INFO] hello-world-webapp Maven Webapp                                    [war]
[INFO] hello-world-sql-webapp Maven Webapp                                [war]
[INFO] Brooklyn Simple Web Cluster Example                                [jar]
[INFO] Brooklyn Library Karaf integration                                 [pom]
[INFO] Brooklyn Library Catalog                                           [jar]
[INFO] Brooklyn Library Karaf Features                                [feature]
[INFO] 
[INFO] ----------------< org.apache.brooklyn:brooklyn-library >----------------
[INFO] Building Brooklyn Library Root 1.0.0-SNAPSHOT                     [1/22]
[INFO] --------------------------------[ pom ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.pom
Progress (1): 2.2/7.1 kBProgress (1): 5.0/7.1 kBProgress (1): 7.1 kB                        Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.pom (7.1 kB at 13 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.jar
Progress (1): 2.2/34 kBProgress (1): 5.0/34 kBProgress (1): 7.7/34 kBProgress (1): 10/34 kB Progress (1): 13/34 kBProgress (1): 16/34 kBProgress (1): 19/34 kBProgress (1): 21/34 kBProgress (1): 24/34 kBProgress (1): 27/34 kBProgress (1): 30/34 kBProgress (1): 32/34 kBProgress (1): 34 kB                      Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.8.2/maven-deploy-plugin-2.8.2.jar (34 kB at 711 kB/s)
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ brooklyn-library ---
[INFO] Executing: /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage && git rev-parse --verify HEAD
[INFO] Working directory: /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage
[INFO] Storing buildNumber: c412931ca3b3497fe03ec6865427ae4c1d7e44e9 at timestamp: 1538393717333
[WARNING] Cannot get the branch information from the git repository: 
Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref

[INFO] Executing: /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage && git rev-parse --verify HEAD
[INFO] Working directory: /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (brooklyn-build-req) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (verify-style) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ brooklyn-library ---
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ brooklyn-library ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Parsing exclusions from /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/.gitignore
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 94 implicit excludes (use -debug for more details).
[INFO] Exclude: sandbox/**
[INFO] Exclude: release/**
[INFO] Exclude: README.md
[INFO] Exclude: **/.git/**
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/.repository/**
[INFO] Exclude: **/.idea/**
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/.classpath/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/*.log
[INFO] Exclude: **/brooklyn*.log.*
[INFO] Exclude: **/target/**
[INFO] Exclude: **/nbactions.xml
[INFO] Exclude: **/nb-configuration.xml
[INFO] Exclude: ignored/**
[INFO] Exclude: LICENSE.md
[INFO] Exclude: .mvn/jvm.config
[INFO] Exclude: **/src/main/license/**
[INFO] Exclude: **/src/test/license/**
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/test-output/**
[INFO] Exclude: **/*.pem.pub
[INFO] Exclude: **/*.pem
[INFO] Exclude: **/*_rsa.pub
[INFO] Exclude: **/*_rsa
[INFO] Exclude: **/*.svg
[INFO] Exclude: **/*.crt
[INFO] Exclude: **/*.csr
[INFO] Exclude: **/*.key
[INFO] Exclude: **/*.key.org
[INFO] Exclude: **/*.psd
[INFO] Exclude: **/*.json
[INFO] Exclude: **/*.plxarc
[INFO] Exclude: **/src/test/resources/org/apache/brooklyn/entity/software/base/template_with_extra_substitutions.txt
[INFO] Exclude: **/src/main/resources/banner.txt
[INFO] Exclude: **/src/test/resources/ssl/certs/localhost/info.txt
[INFO] Exclude: **/src/main/history/dependencies.xml
[INFO] Exclude: **/sandbox/examples/src/main/scripts/amis.txt
[INFO] Exclude: docs/**
[INFO] Exclude: **/.m2/**
[INFO] 5 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 0, approved: 3 licenses.
[INFO] 
[INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-source-plugin:2.4:test-jar-no-fork (attach-sources) @ brooklyn-library ---
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ brooklyn-library ---
[INFO] Installing /home/jenkins/jenkins-slave/workspace/brooklyn-master-build-docker-pipeline-tmp-aledsage/pom.xml to /var/maven/.m2/repository/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-SNAPSHOT.pom
[INFO] 
[INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ brooklyn-library ---
Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/maven-metadata.xml
Progress (1): 616 B                   Downloaded from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/maven-metadata.xml (616 B at 949 B/s)
Uploading to apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-20181001.113521-378.pom
Progress (1): 2.0/5.3 kBProgress (1): 4.1/5.3 kBProgress (1): 5.3 kB                        [INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Brooklyn Library Root 1.0.0-SNAPSHOT ............... FAILURE [  6.771 s]
[INFO] Brooklyn CM Chef ................................... SKIPPED
[INFO] Brooklyn CM SaltStack .............................. SKIPPED
[INFO] Brooklyn CM Ansible ................................ SKIPPED
[INFO] Brooklyn CM Integration Root ....................... SKIPPED
[INFO] Brooklyn Network Software Entities ................. SKIPPED
[INFO] Brooklyn OSGi Software Entities .................... SKIPPED
[INFO] Brooklyn Database Software Entities ................ SKIPPED
[INFO] Brooklyn Web App Software Entities ................. SKIPPED
[INFO] Brooklyn Messaging Software Entities ............... SKIPPED
[INFO] Brooklyn NoSQL Data Store Software Entities ........ SKIPPED
[INFO] Brooklyn Monitoring Software Entities .............. SKIPPED
[INFO] Brooklyn Web App Software Entities ................. SKIPPED
[INFO] Brooklyn QA ........................................ SKIPPED
[INFO] Brooklyn Examples Aggregator Project ............... SKIPPED
[INFO] Brooklyn Examples Aggregator Project - Webapps ..... SKIPPED
[INFO] hello-world-webapp Maven Webapp .................... SKIPPED
[INFO] hello-world-sql-webapp Maven Webapp ................ SKIPPED
[INFO] Brooklyn Simple Web Cluster Example ................ SKIPPED
[INFO] Brooklyn Library Karaf integration ................. SKIPPED
[INFO] Brooklyn Library Catalog ........................... SKIPPED
[INFO] Brooklyn Library Karaf Features 1.0.0-SNAPSHOT ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.820 s
[INFO] Finished at: 2018-10-01T11:35:22Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project brooklyn-library: Failed to deploy artifacts: Could not transfer artifact org.apache.brooklyn:brooklyn-library:pom:1.0.0-20181001.113521-378 from/to apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots): Failed to transfer file: https://repository.apache.org/content/repositories/snapshots/org/apache/brooklyn/brooklyn-library/1.0.0-SNAPSHOT/brooklyn-library-1.0.0-20181001.113521-378.pom. Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
$ docker stop --time=1 5f43ad0bbd6dc205eca518abafaf384a21ff8c322823ce513e487b1813d65c3d
$ docker rm -f 5f43ad0bbd6dc205eca518abafaf384a21ff8c322823ce513e487b1813d65c3d
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
ERROR: script returned exit code 1
[Pipeline] // catchError
[Pipeline] stage
[Pipeline] { (Publish test results)
[Pipeline] junit
Recording test results
[Pipeline] step
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-1.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-10.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-11.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-2.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-3.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-4.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-5.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-6.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-7.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-8.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results-9.xml'
Processing '/x1/jenkins/jenkins-home/jobs/brooklyn-master-build-docker-pipeline-tmp-aledsage/builds/3/testng/testng-results.xml'
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Send notifications)
[Pipeline] step