[keycloak-dev] mvn install fails

Vlasta Ramik vramik at redhat.com
Fri May 10 04:12:31 EDT 2019


https://issues.jboss.org/browse/KEYCLOAK-10246

https://issues.jboss.org/browse/KEYCLOAK-10247

On 5/10/19 9:29 AM, Chris Smith wrote:
> Well... if the build is not broken, then it is too darn persnickety.
>
> I have a FRESH Ubuntu Server 18.04.2 VirtualBox VM
> Only things installed are:
> openssl
> dkms
> build-essential
> VBOX guest additions
> GIT
> openjdk-8-jdk
> maven
>
> Only VBOX guest was not installed with apt
>
> fresh checkout from github
>
> run  mvn -e install --log-file ~/kc-build.txt
>
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [
>
> The log can be found at https://gist.github.com/smitopher/16677dd8231869ab41527665f16e67d6
>
> If you can't complete a build on a machine as generic and uncluttered as this, I would consider that a broken build.
>
> Any suggestions about what I'm missing?
>
>
> -----Original Message-----
> From: Vlasta Ramik <vramik at redhat.com>
> Sent: Sunday, April 28, 2019 4:36 AM
> To: Chris Smith <chris.smith at cmfirstgroup.com>
> Cc: keycloak-dev at lists.jboss.org
> Subject: Re: [keycloak-dev] mvn install fails
>
>   From quick look at the log, the first failed test is ClaimInformationPointProviderTest. The test fails when tries to start undertow on localhost:8989 [1] and the address is already used. Pls make sure there is nothing running on that port at you env and try to run it again.
>
> V.
>
> [1]
> https://github.com/keycloak/keycloak/blob/master/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/ClaimInformationPointProviderTest.java#L79
>
> On 4/27/19 10:21 AM, Chris Smith wrote:
>> Here is a full build log
>> https://gist.github.com/smitopher/72b75e362fa6f8856b8ea1808809e918
>>
>>
>>
>> From: Stian Thorgersen <sthorger at redhat.com>
>> Sent: Wednesday, April 24, 2019 4:18 PM
>> To: Chris Smith <chris.smith at cmfirstgroup.com>
>> Cc: keycloak-dev at lists.jboss.org
>> Subject: Re: [keycloak-dev] mvn install fails
>>
>> Looks like some test is failing, but you've not included the relevant part of the log that shows details of what test is failing.
>>
>> On Tue, 23 Apr 2019 at 18:46, Chris Smith <chris.smith at cmfirstgroup.com<mailto:chris.smith at cmfirstgroup.com>> wrote:
>> A fresh clone from Github and mvn install fails to complete.
>> Any reason why?
>>
>> Tests run: 2860, Failures: 0, Errors: 22, Skipped: 211
>>
>> [INFO]
>> ----------------------------------------------------------------------
>> -- [INFO] Reactor Summary for Keycloak 7.0.0-SNAPSHOT:
>> [INFO]
>> [INFO] Keycloak BOM Parent ................................ SUCCESS [
>> 11.402 s] [INFO] Keycloak BOM for adapters ..........................
>> SUCCESS [  0.111 s] [INFO] Keycloak BOM for server extensions
>> ................. SUCCESS [  0.105 s] [INFO] Keycloak BOM utilities
>> for the quickstarts ......... SUCCESS [  0.098 s] [INFO] Keycloak
>> ........................................... SUCCESS [  1.655 s] [INFO]
>> Keycloak Common .................................... SUCCESS [ 15.064
>> s] [INFO] Keycloak Core ...................................... SUCCESS
>> [ 12.195 s] [INFO] Keycloak Dependencies Parent
>> ....................... SUCCESS [  0.130 s] [INFO] Keycloak Drools BOM
>> ................................ SUCCESS [  0.129 s] [INFO] Keycloak
>> Server SPI ................................ SUCCESS [  3.287 s] [INFO]
>> Keycloak Server Private SPI ........................ SUCCESS [  8.419
>> s] [INFO] Keycloak Kerberos Federation ....................... SUCCESS
>> [  0.910 s] [INFO] Keycloak LDAP UserStoreProvider
>> .................... SUCCESS [  7.065 s] [INFO] Keycloak SAML Core
>> Public API ...................... SUCCESS [  2.849 s] [INFO] Keycloak
>> SAML Core ................................. SUCCESS [  9.528 s] [INFO]
>> Keycloak REST Services ............................. SUCCESS [ 25.199
>> s] [INFO] Keycloak JS Integration ............................ SUCCESS
>> [  5.176 s] [INFO] Keycloak Themes
>> .................................... SUCCESS [  9.625 s] [INFO]
>> Keycloak Dependencies Server Min ................... SUCCESS [  0.139
>> s] [INFO] Keycloak Model Parent .............................. SUCCESS
>> [  0.139 s] [INFO] Keycloak Model JPA
>> ................................. SUCCESS [  7.185 s] [INFO] Keycloak
>> Model Infinispan .......................... SUCCESS [ 13.296 s] [INFO]
>> Keycloak SSSD Federation ........................... SUCCESS [  5.565
>> s] [INFO] KeyCloak Authz: Parent ............................. SUCCESS
>> [  0.222 s] [INFO] KeyCloak AuthZ: Provider Parent
>> .................... SUCCESS [  0.182 s] [INFO] KeyCloak AuthZ: Common
>> Policy Providers ............ SUCCESS [  2.537 s] [INFO] KeyCloak
>> AuthZ: Drools Policy Provider ............. SUCCESS [  1.934 s] [INFO]
>> Keycloak Dependencies Server All ................... SUCCESS [  0.195
>> s] [INFO] Keycloak Federation ................................ SUCCESS
>> [  0.220 s] [INFO] Keycloak Util Embedded LDAP
>> ........................ SUCCESS [  3.089 s] [INFO] Keycloak Util
>> Parent ............................... SUCCESS [  0.209 s] [INFO]
>> Keycloak WildFly Integration ....................... SUCCESS [  0.184
>> s] [INFO] Keycloak WildFly Add User Script ................... SUCCESS
>> [  1.151 s] [INFO] Keycloak WildFly Extensions
>> ........................ SUCCESS [  1.184 s] [INFO] Keycloak WildFly
>> Server Subsystem .................. SUCCESS [  8.763 s] [INFO]
>> Keycloak Integration ............................... SUCCESS [  0.133
>> s] [INFO] Keycloak Admin REST Client ......................... SUCCESS
>> [  1.111 s] [INFO] Keycloak Client Registration API
>> ................... SUCCESS [  0.736 s] [INFO] Keycloak Client CLI
>> ................................ SUCCESS [  0.133 s] [INFO] Keycloak
>> Client Registration CLI ................... SUCCESS [  6.737 s] [INFO]
>> Keycloak Admin CLI ................................. SUCCESS [  5.972
>> s] [INFO] Keycloak Client CLI Distribution ................... SUCCESS
>> [  3.475 s] [INFO] Keycloak Adapter SPI
>> ............................... SUCCESS [  0.939 s] [INFO] Keycloak
>> Tomcat Adapter SPI ........................ SUCCESS [  0.822 s] [INFO]
>> Keycloak Undertow Integration SPI .................. SUCCESS [  1.166
>> s] [INFO] Keycloak Servlet Integration ....................... SUCCESS
>> [  0.828 s] [INFO] Common JBoss/Wildfly Core Classes
>> .................. SUCCESS [  0.591 s] [INFO] Keycloak Jetty Adapter
>> SPI ......................... SUCCESS [  0.928 s] [INFO] Keycloak
>> Client Adapter SPI Modules ................ SUCCESS [  0.163 s] [INFO]
>> Keycloak SAML Client Adapter Public API ............ SUCCESS [  0.621
>> s] [INFO] Keycloak SAML Client Adapter Core .................. SUCCESS
>> [  5.196 s] [INFO] Keycloak Undertow SAML Adapter
>> ..................... SUCCESS [  1.009 s] [INFO] Keycloak SAML Tomcat
>> Integration ................... SUCCESS [  0.165 s] [INFO] Keycloak
>> Tomcat Core SAML Integration .............. SUCCESS [  0.839 s] [INFO]
>> Keycloak Tomcat 8 SAML Integration ................. SUCCESS [  0.743
>> s] [INFO] Keycloak Tomcat 6 Saml Integration ................. SUCCESS
>> [  0.617 s] [INFO] Keycloak Tomcat 7 SAML Integration
>> ................. SUCCESS [  0.625 s] [INFO] Keycloak Wildfly SAML
>> Adapter ...................... SUCCESS [  0.999 s] [INFO] KeyCloak
>> Authz: Client API ......................... SUCCESS [  1.963 s] [INFO]
>> Keycloak Adapter Core .............................. SUCCESS [  6.558
>> s] [INFO] Keycloak WildFly Elytron SAML Adapter .............. SUCCESS
>> [  1.130 s] [INFO] Keycloak Wildfly SAML Adapter Subsystem
>> ............ SUCCESS [  7.527 s] [INFO] Keycloak SAML Wildfly
>> Integration .................. SUCCESS [  0.146 s] [INFO] Keycloak AS7
>> / JBoss EAP 6 Integration ............. SUCCESS [  0.183 s] [INFO]
>> Keycloak AS7 SPI ................................... SUCCESS [  3.170
>> s] [INFO] Keycloak SAML EAP Integration ...................... SUCCESS
>> [  0.130 s] [INFO] Keycloak SAML AS7 Integration
>> ...................... SUCCESS [  1.062 s] [INFO] Keycloak SAML AS7
>> Subsystem ........................ SUCCESS [  5.323 s] [INFO] Keycloak
>> SAML Servlet Filter ....................... SUCCESS [  0.804 s] [INFO]
>> Keycloak Jetty Core SAML Integration ............... SUCCESS [  0.865
>> s] [INFO] Keycloak Jetty 9.2.x SAML Integration .............. SUCCESS
>> [  0.820 s] [INFO] Keycloak Jetty 9.3.x SAML Integration
>> .............. SUCCESS [  0.894 s] [INFO] Keycloak Jetty 9.4.x SAML
>> Integration .............. SUCCESS [  1.066 s] [INFO] Keycloak SAML
>> Jetty Integration .................... SUCCESS [  0.144 s] [INFO]
>> Keycloak SAML Client Adapter Modules ............... SUCCESS [  0.132
>> s] [INFO] Keycloak Tomcat Integration ........................ SUCCESS
>> [  0.140 s] [INFO] Keycloak Tomcat Core Integration
>> ................... SUCCESS [  0.758 s] [INFO] Keycloak AS7
>> Integration ........................... SUCCESS [  0.906 s] [INFO]
>> Keycloak AS7 Subsystem ............................. SUCCESS [  4.368
>> s] [INFO] Keycloak Installed Application ..................... SUCCESS
>> [  1.609 s] [INFO] Keycloak Undertow Integration
>> ...................... SUCCESS [  2.295 s] [INFO] Keycloak Fuse 7.0
>> Integration ...................... SUCCESS [  0.161 s] [INFO] Keycloak
>> Fuse 7.0 Adapter - Camel + Undertow ....... SUCCESS [  1.773 s] [INFO]
>> Keycloak OSGI Adapter .............................. SUCCESS [  3.531
>> s] [INFO] Keycloak Fuse 7.0 Adapter - Undertow ............... SUCCESS
>> [  1.514 s] [INFO] Keycloak Jetty Core Integration
>> .................... SUCCESS [  1.175 s] [INFO] Keycloak Jetty 9.4.x
>> Integration ................... SUCCESS [  0.945 s] [INFO] Keycloak
>> Fuse 7.0 Adapter - Jetty 9.4 .............. SUCCESS [  1.345 s] [INFO]
>> Keycloak Tomcat 8 Integration ...................... SUCCESS [  0.767
>> s] [INFO] Keycloak Fuse 7.0 Adapter - Tomcat 8 ............... SUCCESS
>> [  1.105 s] [INFO] Keycloak CLI SSO Framework
>> ......................... SUCCESS [  4.620 s] [INFO] Keycloak JAX-RS
>> OAuth Client ....................... SUCCESS [  1.314 s] [INFO]
>> Keycloak Jetty 9.2.x Integration ................... SUCCESS [  1.142
>> s] [INFO] Keycloak Jetty 9.3.x Integration ................... SUCCESS
>> [  1.144 s] [INFO] Keycloak Jetty Integration
>> ......................... SUCCESS [  0.173 s] [INFO] Keycloak Servlet
>> Filter Adapter Integration ........ SUCCESS [  1.061 s] [INFO]
>> Keycloak Servlet OAuth Client ...................... SUCCESS [  4.150
>> s] [INFO] spring-boot-container-bundle ....................... SUCCESS
>> [  1.761 s] [INFO] Keycloak Spring Security Integration
>> ............... SUCCESS [  8.449 s] [INFO] Keycloak Spring Boot
>> Adapter Core .................. SUCCESS [  1.759 s] [INFO] Keycloak
>> Spring Boot Integration ................... SUCCESS [  4.437 s] [INFO]
>> Keycloak Spring Boot 2 Integration ................. SUCCESS [  4.172
>> s] [INFO] Keycloak Tomcat 6 Integration ...................... SUCCESS
>> [  0.689 s] [INFO] Keycloak Tomcat 7 Integration
>> ...................... SUCCESS [  0.761 s] [INFO] Keycloak Wildfly
>> Integration ....................... SUCCESS [  0.998 s] [INFO]
>> Keycloak Wildfly Elytron OIDC Adapter .............. SUCCESS [  1.763
>> s] [INFO] Keycloak Wildfly Adapter Subsystem ................. SUCCESS
>> [  8.862 s] [INFO] Keycloak Wildfly 8 Adapter Subsystem
>> ............... SUCCESS [  5.703 s] [INFO] Keycloak WildFly
>> Integration ....................... SUCCESS [  0.138 s] [INFO]
>> Keycloak OIDC Client Adapter Modules ............... SUCCESS [  0.124
>> s] [INFO] Keycloak Adapters .................................. SUCCESS
>> [  0.130 s] [INFO] Keycloak Misc
>> ...................................... SUCCESS [  0.138 s] [INFO]
>> Keycloak :: Spring :: Boot ......................... SUCCESS [  0.148
>> s] [INFO] Keycloak :: Spring :: Boot :: Default ::  Starter .. SUCCESS
>> [  0.371 s] [INFO] Keycloak :: Spring :: Boot
>> ......................... SUCCESS [  0.139 s] [INFO] Keycloak ::
>> Legacy :: Spring :: Boot :: Default ::  Starter SUCCESS [  0.388 s]
>> [INFO] keycloak-test-helper ............................... SUCCESS [
>> 0.937 s] [INFO] Keycloak TestSuite .................................
>> SUCCESS [  0.128 s] [INFO] DB Allocator Plugin
>> ................................ SUCCESS [ 14.444 s] [INFO] Keycloak
>> Arquillian Integration TestSuite .......... SUCCESS [  0.212 s] [INFO]
>> Test apps .......................................... SUCCESS [  0.144
>> s] [INFO] Test apps distribution ............................. SUCCESS
>> [  7.201 s] [INFO] Keycloak Authz: PhotoZ  Test Parent
>> ................ SUCCESS [  0.145 s] [INFO] Keycloak Authz Test:
>> Photoz RESTful API ............ SUCCESS [  1.871 s] [INFO] Keycloak
>> Authz Tests: Photoz HTML5 Client .......... SUCCESS [  1.330 s] [INFO]
>> Keycloak Authz Tests: Photoz Authz Rule-based Policy SUCCESS [  0.442
>> s] [INFO] Keycloak Authz Tests: Hello World Example .......... SUCCESS
>> [  0.406 s] [INFO] Keycloak Authz: Servlet Authorization Test
>> ......... SUCCESS [  0.577 s] [INFO] Keycloak Authz: Simple Servlet
>> App with Policy Enforcer SUCCESS [  0.393 s] [INFO]
>> integration-arquillian-test-apps-servlets .......... SUCCESS [  1.327
>> s] [INFO] Keycloak Test App Profile JEE ...................... SUCCESS
>> [  0.638 s] [INFO] integration-arquillian-test-apps-cors-parent
>> ....... SUCCESS [  0.144 s] [INFO] Angular Product Portal JS
>> .......................... SUCCESS [  2.995 s] [INFO] JAX-RS Database
>> Service Using OAuth Bearer Tokens .. SUCCESS [  0.728 s] [INFO] Fuse
>> Test Applications ............................. SUCCESS [  0.139 s]
>> [INFO] Customer Portal - Secured in Karaf/Fuse ............ SUCCESS [
>> 1.778 s] [INFO] CXF JAXRS Example - Secured in Karaf/Fuse ..........
>> SUCCESS [  2.099 s] [INFO] CXF JAXRS Example - Secured in Karaf/Fuse
>> 7.0 on Undertow SUCCESS [  0.798 s] [INFO] CXF JAXWS Example - Secured
>> in Karaf/Fuse .......... SUCCESS [  1.012 s] [INFO] CXF JAXWS Example
>> - Secured in Karaf/Fuse 7.0 on Undertow SUCCESS [  0.830 s] [INFO]
>> Product Portal - Secured in Karaf/Fuse ............. SUCCESS [  0.960
>> s] [INFO] Product Portal - Secured in Karaf/Fuse 7.0 on Undertow
>> SUCCESS [  1.012 s] [INFO] Camel endpoint example - Secured in
>> Karaf/Fuse ..... SUCCESS [  0.779 s] [INFO] Camel endpoint example -
>> Secured in Karaf/Fuse 7.0 on Undertow SUCCESS [  0.879 s] [INFO]
>> Keycloak Fuse Example - Features ................... SUCCESS [  0.670
>> s] [INFO] Keycloak Examples - External Config ................ SUCCESS
>> [  0.776 s] [INFO] spring-boot-adapter
>> ................................ SUCCESS [  1.358 s] [INFO]
>> spring-boot-adapter-2 .............................. SUCCESS [  1.571
>> s] [INFO] spring-boot-adapter-21 ............................. SUCCESS
>> [  1.435 s] [INFO] Servers
>> ............................................ SUCCESS [  0.152 s]
>> [INFO] Auth Server ........................................ SUCCESS [
>> 0.127 s] [INFO] Auth Server Services ...............................
>> SUCCESS [  0.129 s] [INFO] Auth Server Services - Testsuite Providers
>> ......... SUCCESS [  5.076 s] [INFO] Auth Server - JBoss
>> ................................ SUCCESS [  0.131 s] [INFO] Keycloak
>> TestSuite Utils ........................... SUCCESS [  2.794 s] [INFO]
>> Test Util .......................................... SUCCESS [  1.798
>> s] [INFO] Auth Server - Undertow ............................. SUCCESS
>> [  2.305 s] [INFO] App Server
>> ......................................... SUCCESS [  0.137 s] [INFO]
>> App Server - SPI ................................... SUCCESS [  0.541
>> s] [INFO] App Server - JBoss ................................. SUCCESS
>> [  0.132 s] [INFO] App Server - Karaf
>> ................................. SUCCESS [  0.127 s] [INFO] App
>> Server - Tomcat ................................ SUCCESS [  0.130 s]
>> [INFO] App Server - Undertow .............................. SUCCESS [
>> 1.122 s] [INFO] App Server - Jetty Parent ..........................
>> SUCCESS [  0.151 s] [INFO] Cache Server
>> ....................................... SUCCESS [  0.119 s] [INFO]
>> Cache Server - JBoss Family ........................ SUCCESS [  0.124
>> s] [INFO] Tests .............................................. SUCCESS
>> [  0.493 s] [INFO] Base TestSuite
>> ..................................... FAILURE [  01:45 h] [INFO] Other
>> Tests Modules ................................ SKIPPED [INFO] Adapter
>> Tests ...................................... SKIPPED [INFO] Adapter
>> Tests - JBoss .............................. SKIPPED [INFO] Adapter
>> Tests - Karaf .............................. SKIPPED [INFO] Adapter
>> Tests - WAS ................................ SKIPPED [INFO] Adapter
>> Tests - WLS ................................ SKIPPED [INFO] SSSD tests
>> ......................................... SKIPPED [INFO]
>> integration-arquillian-tests-springboot ............ SKIPPED [INFO]
>> ----------------------------------------------------------------------
>> --
>> [INFO] BUILD FAILURE
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>> [INFO] Total time:  01:51 h
>> [INFO] Finished at: 2019-04-23T19:51:55+08:00 [INFO]
>> ----------------------------------------------------------------------
>> -- [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project integration-arquillian-tests-base: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to C:\Users\christopher.smith\Documents\keycloak\workspace\keycloak-parent\testsuite\integration-arquillian\tests\base\target\surefire-reports for the individual test results.
>> [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 :integration-arquillian-tests-base
>>
>> C:\Users\christopher.smith\Documents\keycloak\workspace\keycloak-paren
>> t> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org<mailto:keycloak-dev at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev


More information about the keycloak-dev mailing list