FailedConsole Output

Started by an SCM change
Running as SYSTEM
Building on master in workspace /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace
No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/GluuFederation/oxtrust-api # timeout=10
Fetching upstream changes from https://github.com/GluuFederation/oxtrust-api
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/GluuFederation/oxtrust-api +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision dabbf96f8b95b2eed61a8c8aafb78acb4f76cea4 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f dabbf96f8b95b2eed61a8c8aafb78acb4f76cea4 # timeout=10
Commit message: "Last commit"
 > git rev-list --no-walk f749daaa3ad772dd6a7aa4fc7f266515ab2b9508 # timeout=10
Run condition [Boolean condition] enabling prebuild for step [Trigger/call builds on other projects]
[workspace] $ /bin/bash /opt/jetty/temp/jenkins8256170914453162592.sh
[workspace] $ /home/jenkins/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven_3.3.9/bin/mvn -DDEPLOY_BUILD=true -DVERSION_NAME=master -DPROFILE_NAME=default -DDEVELOPMENT_BUILD=false -DMAVEN_SKIP_TESTS=false -Dpython.import.site=false -DPYTHON_HOME=/opt/jython -Dcfg=default -Dmaven.test.skip=false -Ddevelopment-build=false -Dskip.qa.test=true clean compile install javadoc:javadoc site
[INFO] Scanning for projects...
Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/gluu-core-bom/4.2.0-SNAPSHOT/maven-metadata.xml

[WARNING] Could not transfer metadata org.gluu:gluu-core-bom:4.2.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org: Name or service not known
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.gluu:api-model:jar:4.2.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.fasterxml.jackson.core:jackson-annotations:jar -> duplicate declaration of version (?) @ org.gluu:api-model:[unknown-version], /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/pom.xml, line 79, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.fasterxml.jackson.core:jackson-core:jar -> duplicate declaration of version (?) @ org.gluu:api-model:[unknown-version], /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/pom.xml, line 83, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.fasterxml.jackson.core:jackson-databind:jar -> duplicate declaration of version (?) @ org.gluu:api-model:[unknown-version], /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/pom.xml, line 87, column 15
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.gluu:api-server:war:4.2.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.gluu:api-server:[unknown-version], /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-server/pom.xml, line 68, column 12
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] oxTrust API
[INFO] oxTrust API Model library
[INFO] oxTrust API Client library
[INFO] API server rest
[INFO] API Server
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building oxTrust API 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ oxtrust-api ---
[INFO] Deleting /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/target
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ oxtrust-api ---
[INFO] Installing /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/pom.xml to /var/www/html/maven/org/gluu/oxtrust-api/4.2.0-SNAPSHOT/oxtrust-api-4.2.0-SNAPSHOT.pom
[INFO] 
[INFO] >>> maven-javadoc-plugin:3.0.1:javadoc (default-cli) > generate-sources @ oxtrust-api >>>
[INFO] 
[INFO] <<< maven-javadoc-plugin:3.0.1:javadoc (default-cli) < generate-sources @ oxtrust-api <<<
[INFO] 
[INFO] --- maven-javadoc-plugin:3.0.1:javadoc (default-cli) @ oxtrust-api ---
[INFO] 
[INFO] --- maven-site-plugin:2.1.1:site (default-site) @ oxtrust-api ---
Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/apache/maven/skins/maven-default-skin/maven-metadata.xml

[WARNING] Could not transfer metadata org.apache.maven.skins:maven-default-skin/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building oxTrust API Model library 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] Failure to transfer org.gluu:gluu-core-bom:4.2.0-SNAPSHOT/maven-metadata.xml from https://repo2.maven.org/maven2/org/bouncycastle was cached in the local repository, resolution will not be reattempted until the update interval of bouncycastle has elapsed or updates are forced. Original error: Could not transfer metadata org.gluu:gluu-core-bom:4.2.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org: Name or service not known
Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/oxeleven-client/4.2.0-SNAPSHOT/maven-metadata.xml

[WARNING] Could not transfer metadata org.gluu:oxeleven-client:4.2.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
[WARNING] Failure to transfer org.gluu:oxeleven-client:4.2.0-SNAPSHOT/maven-metadata.xml from https://repo2.maven.org/maven2/org/bouncycastle was cached in the local repository, resolution will not be reattempted until the update interval of bouncycastle has elapsed or updates are forced. Original error: Could not transfer metadata org.gluu:oxeleven-client:4.2.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/oxeleven/4.2.0-SNAPSHOT/maven-metadata.xml

[WARNING] Could not transfer metadata org.gluu:oxeleven:4.2.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
Downloading: https://repo2.maven.org/maven2/org/bouncycastle/org/gluu/oxeleven-model/4.2.0-SNAPSHOT/maven-metadata.xml

[WARNING] Could not transfer metadata org.gluu:oxeleven-model:4.2.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
[WARNING] Failure to transfer org.gluu:oxeleven-model:4.2.0-SNAPSHOT/maven-metadata.xml from https://repo2.maven.org/maven2/org/bouncycastle was cached in the local repository, resolution will not be reattempted until the update interval of bouncycastle has elapsed or updates are forced. Original error: Could not transfer metadata org.gluu:oxeleven-model:4.2.0-SNAPSHOT/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
Downloading: https://repo2.maven.org/maven2/org/bouncycastle/net/minidev/json-smart/maven-metadata.xml

[WARNING] Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ api-model ---
[INFO] Deleting /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ api-model ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ api-model ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ api-model ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ api-model ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ api-model ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ api-model ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/target/api-model-4.2.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ api-model ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/target/api-model-4.2.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ api-model ---
[INFO] Installing /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/target/api-model-4.2.0-SNAPSHOT.jar to /var/www/html/maven/org/gluu/api-model/4.2.0-SNAPSHOT/api-model-4.2.0-SNAPSHOT.jar
[INFO] Installing /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/pom.xml to /var/www/html/maven/org/gluu/api-model/4.2.0-SNAPSHOT/api-model-4.2.0-SNAPSHOT.pom
[INFO] Installing /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-model/target/api-model-4.2.0-SNAPSHOT-tests.jar to /var/www/html/maven/org/gluu/api-model/4.2.0-SNAPSHOT/api-model-4.2.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] >>> maven-javadoc-plugin:3.0.1:javadoc (default-cli) > generate-sources @ api-model >>>
[INFO] 
[INFO] <<< maven-javadoc-plugin:3.0.1:javadoc (default-cli) < generate-sources @ api-model <<<
[INFO] 
[INFO] --- maven-javadoc-plugin:3.0.1:javadoc (default-cli) @ api-model ---
[INFO] 
[INFO] --- maven-site-plugin:2.1.1:site (default-site) @ api-model ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building oxTrust API Client library 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] Failure to transfer net.minidev:json-smart/maven-metadata.xml from https://repo2.maven.org/maven2/org/bouncycastle was cached in the local repository, resolution will not be reattempted until the update interval of bouncycastle has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ api-client ---
[INFO] Deleting /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ api-client ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ api-client ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ api-client ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ api-client ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ api-client ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ api-client ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/target/api-client-4.2.0-SNAPSHOT.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ api-client ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/target/api-client-4.2.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ api-client ---
[INFO] Installing /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/target/api-client-4.2.0-SNAPSHOT.jar to /var/www/html/maven/org/gluu/api-client/4.2.0-SNAPSHOT/api-client-4.2.0-SNAPSHOT.jar
[INFO] Installing /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/pom.xml to /var/www/html/maven/org/gluu/api-client/4.2.0-SNAPSHOT/api-client-4.2.0-SNAPSHOT.pom
[INFO] Installing /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-client/target/api-client-4.2.0-SNAPSHOT-tests.jar to /var/www/html/maven/org/gluu/api-client/4.2.0-SNAPSHOT/api-client-4.2.0-SNAPSHOT-tests.jar
[INFO] 
[INFO] >>> maven-javadoc-plugin:3.0.1:javadoc (default-cli) > generate-sources @ api-client >>>
[INFO] 
[INFO] <<< maven-javadoc-plugin:3.0.1:javadoc (default-cli) < generate-sources @ api-client <<<
[INFO] 
[INFO] --- maven-javadoc-plugin:3.0.1:javadoc (default-cli) @ api-client ---
[INFO] 
[INFO] --- maven-site-plugin:2.1.1:site (default-site) @ api-client ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building API server rest 4.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] Failure to transfer net.minidev:json-smart/maven-metadata.xml from https://repo2.maven.org/maven2/org/bouncycastle was cached in the local repository, resolution will not be reattempted until the update interval of bouncycastle has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to bouncycastle (https://repo2.maven.org/maven2/org/bouncycastle): repo2.maven.org
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ api-rest ---
[INFO] Deleting /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ api-rest ---
[INFO] Compiling 71 source files to /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/target/classes
Processing annotations
No elements to process
Processing annotations
No elements to process
[INFO] 
[INFO] --- swagger-maven-plugin:2.0.8:resolve (default) @ api-rest ---
[INFO] Resolving OpenAPI specification..
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ api-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ api-rest ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- swagger-maven-plugin:2.0.8:resolve (default) @ api-rest ---
[INFO] Resolving OpenAPI specification..
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ api-rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ api-rest ---
[INFO] Compiling 20 source files to /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/test/java/org/api/server/BaseApiTest.java:[84,41] error: cannot find symbol
[ERROR]  variable cryptoProvider of type OxAuthCryptoProvider
/home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/test/java/org/api/server/OxtrustSettingWebResourceTest.java:[29,56] error: cannot find symbol
[ERROR]  class ApiConstants
/home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/test/java/org/api/server/OxtrustSettingWebResourceTest.java:[48,85] error: cannot find symbol
[INFO] 3 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] oxTrust API ........................................ SUCCESS [  1.992 s]
[INFO] oxTrust API Model library .......................... SUCCESS [  1.298 s]
[INFO] oxTrust API Client library ......................... SUCCESS [  0.189 s]
[INFO] API server rest .................................... FAILURE [ 10.175 s]
[INFO] API Server ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.130 s
[INFO] Finished at: 2020-03-25T14:46:29+00:00
[INFO] Final Memory: 82M/854M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project api-rest: Compilation failure: Compilation failure:
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/test/java/org/api/server/BaseApiTest.java:[84,41] error: cannot find symbol
[ERROR] variable cryptoProvider of type OxAuthCryptoProvider
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/test/java/org/api/server/OxtrustSettingWebResourceTest.java:[29,56] error: cannot find symbol
[ERROR] class ApiConstants
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/test/java/org/api/server/OxtrustSettingWebResourceTest.java:[48,85] error: cannot find symbol
[ERROR] -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :api-rest
Build step 'Invoke top-level Maven targets' marked build as failure
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Did not find any matching files.
Sending e-mails to: support@gluu.org thomas@gluu.org
[Boolean condition] checking [true] against [^(1|y|yes|t|true|on|run)$] (origin token: $DEPLOY_BUILD)
Run condition [Boolean condition] enabling perform for step [Builder to mark whether executed]
Finished: FAILURE