FailedConsole Output

Started by user Yuriy Movchan
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/version_4.2.0^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/version_4.2.0^{commit} # timeout=10
Checking out Revision 2eb950c89b2b36393f924cd584d1f74d64a50b51 (refs/remotes/origin/version_4.2.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2eb950c89b2b36393f924cd584d1f74d64a50b51 # timeout=10
Commit message: "Version 4.2.0.Final"
First time build. Skipping changelog.
Run condition [Boolean condition] enabling prebuild for step [Trigger/call builds on other projects]
[workspace] $ /bin/bash /opt/jetty/temp/jenkins3433162050138666653.sh
[workspace] $ /home/jenkins/.jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven_3.3.9/bin/mvn -DDEPLOY_BUILD=false -DVERSION_NAME=version_4.2.0 -DPROFILE_NAME=default -DDEVELOPMENT_BUILD=false -DMAVEN_SKIP_TESTS=true -Dpython.import.site=false -DPYTHON_HOME=/opt/jython -Dcfg=default -Dmaven.test.skip=true -Ddevelopment-build=false -Dskip.qa.test=true clean compile install javadoc:javadoc site
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.gluu:api-model:jar:4.2.0.Final
[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.Final
[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.Final
[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.Final/oxtrust-api-4.2.0.Final.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: Name or service not known
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building oxTrust API Model library 4.2.0.Final
[INFO] ------------------------------------------------------------------------
[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] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ api-model ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ api-model ---
[INFO] Tests are skipped.
[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.Final.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ api-model ---
[INFO] Skipping packaging of the test-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.Final.jar to /var/www/html/maven/org/gluu/api-model/4.2.0.Final/api-model-4.2.0.Final.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.Final/api-model-4.2.0.Final.pom
[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.Final
[INFO] ------------------------------------------------------------------------
[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] Not copying test resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ api-client ---
[INFO] Not compiling test sources
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ api-client ---
[INFO] Tests are skipped.
[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.Final.jar
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ api-client ---
[INFO] Skipping packaging of the test-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.Final.jar to /var/www/html/maven/org/gluu/api-client/4.2.0.Final/api-client-4.2.0.Final.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.Final/api-client-4.2.0.Final.pom
[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.Final
[INFO] ------------------------------------------------------------------------
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/glassfish/javax.el/3.0.1-b08/javax.el-3.0.1-b08.pom
4/18 KB   
8/18 KB   
9/18 KB   
13/18 KB   
17/18 KB   
18/18 KB   
           
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/glassfish/javax.el/3.0.1-b08/javax.el-3.0.1-b08.pom (18 KB at 28.0 KB/sec)
Downloading: https://repository.jboss.org/nexus/content/groups/public-jboss/org/glassfish/javax.el/3.0.1-b08/javax.el-3.0.1-b08.jar
4/233 KB   
5/233 KB   
8/233 KB   
12/233 KB   
13/233 KB   
16/233 KB   
20/233 KB   
24/233 KB   
25/233 KB   
27/233 KB   
29/233 KB   
30/233 KB   
34/233 KB   
38/233 KB   
42/233 KB   
46/233 KB   
48/233 KB   
52/233 KB   
54/233 KB   
58/233 KB   
59/233 KB   
63/233 KB   
67/233 KB   
71/233 KB   
75/233 KB   
77/233 KB   
78/233 KB   
79/233 KB   
82/233 KB   
86/233 KB   
88/233 KB   
92/233 KB   
96/233 KB   
98/233 KB   
102/233 KB   
103/233 KB   
107/233 KB   
111/233 KB   
113/233 KB   
116/233 KB   
119/233 KB   
121/233 KB   
123/233 KB   
127/233 KB   
131/233 KB   
133/233 KB   
137/233 KB   
140/233 KB   
144/233 KB   
148/233 KB   
152/233 KB   
156/233 KB   
159/233 KB   
163/233 KB   
167/233 KB   
171/233 KB   
175/233 KB   
179/233 KB   
183/233 KB   
187/233 KB   
191/233 KB   
195/233 KB   
199/233 KB   
203/233 KB   
207/233 KB   
211/233 KB   
215/233 KB   
219/233 KB   
223/233 KB   
227/233 KB   
231/233 KB   
233/233 KB   
             
Downloaded: https://repository.jboss.org/nexus/content/groups/public-jboss/org/glassfish/javax.el/3.0.1-b08/javax.el-3.0.1-b08.jar (233 KB at 517.2 KB/sec)
[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
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/ClientWebResource.java:[175,29] error: cannot find symbol
[ERROR]  variable client of type OxAuthClient
/home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/ClientWebResource.java:[199,30] error: cannot find symbol
[ERROR]  variable client of type OxAuthClient
/home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/PeopleWebResource.java:[194,45] error: incompatible types: GluuStatus cannot be converted to String
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/PeopleWebResource.java:[206,45] error: incompatible types: GluuStatus cannot be converted to String
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/model/GluuPersonApi.java:[43,32] error: incompatible types: String cannot be converted to GluuStatus
[INFO] 5 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] oxTrust API ........................................ SUCCESS [  2.055 s]
[INFO] oxTrust API Model library .......................... SUCCESS [  1.047 s]
[INFO] oxTrust API Client library ......................... SUCCESS [  0.165 s]
[INFO] API server rest .................................... FAILURE [  4.837 s]
[INFO] API Server ......................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.933 s
[INFO] Finished at: 2020-07-13T20:09:17+00:00
[INFO] Final Memory: 55M/617M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project api-rest: Compilation failure: Compilation failure:
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/ClientWebResource.java:[175,29] error: cannot find symbol
[ERROR] variable client of type OxAuthClient
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/ClientWebResource.java:[199,30] error: cannot find symbol
[ERROR] variable client of type OxAuthClient
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/PeopleWebResource.java:[194,45] error: incompatible types: GluuStatus cannot be converted to String
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/api/impl/PeopleWebResource.java:[206,45] error: incompatible types: GluuStatus cannot be converted to String
[ERROR] /home/jenkins/.jenkins/jobs/oxtrust-api_master/workspace/api-rest/src/main/java/org/gluu/oxtrust/api/server/model/GluuPersonApi.java:[43,32] error: incompatible types: String cannot be converted to GluuStatus
[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.
Not sending mail to unregistered user Yuriy.Movchan@gmail.com
Sending e-mails to: support@gluu.org thomas@gluu.org
[Boolean condition] checking [false] against [^(1|y|yes|t|true|on|run)$] (origin token: $DEPLOY_BUILD)
Run condition [Boolean condition] preventing perform for step [Builder to mark whether executed]
Finished: FAILURE