That looks like a genuine failure :) Someone will have to take a closer look ...
For now try bypass it with -DskipTests.
On Fri, Feb 12, 2016 at 9:56 AM, Kunal K <kunal(a)plivo.com> wrote:
Tests fail from here -
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=1024m; support was removed in 8.0
Running org.keycloak.testsuite.model.ImportTest
08:53:26,964 INFO [org.keycloak.services.resources.KeycloakApplication]
Load config from
file:/var/log/kunal/keycloak/testsuite/integration/target/test-classes/META-INF/keycloak-server.json
08:53:27,830 INFO [org.infinispan.factories.GlobalComponentRegistry]
ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.0.Final
08:53:29,604 ERROR [org.keycloak.services.resources.KeycloakApplication]
Failed to migrate datamodel
java.lang.RuntimeException: Failed to update database
at
org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider.update(LiquibaseJpaUpdaterProvider.java:87)
at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:153)
at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:42)
at
org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:30)
at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)
at
org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34)
at
org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16)
at
org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:103)
at
org.keycloak.models.cache.infinispan.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:61)
at
org.keycloak.models.cache.infinispan.DefaultCacheRealmProvider.getMigrationModel(DefaultCacheRealmProvider.java:43)
at
org.keycloak.migration.MigrationModelManager.migrate(MigrationModelManager.java:21)
at
org.keycloak.services.resources.KeycloakApplication.migrateModel(KeycloakApplication.java:139)
at
org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:82)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148)
at
org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2211)
at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295)
at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236)
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112)
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at
io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at
io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:220)
at
io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:125)
at
io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:508)
at
org.jboss.resteasy.plugins.server.undertow.UndertowJaxrsServer.deploy(UndertowJaxrsServer.java:232)
at
org.keycloak.testsuite.KeycloakServer.start(KeycloakServer.java:321)
at
org.keycloak.testsuite.rule.AbstractKeycloakRule.before(AbstractKeycloakRule.java:58)
at
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: liquibase.exception.ChangeLogParseException: Error Reading
Migration File: Found 2 files that match META-INF/jpa-changelog-master.xml
at
liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:112)
at
liquibase.parser.core.xml.AbstractChangeLogParser.parse(AbstractChangeLogParser.java:17)
at liquibase.Liquibase.getDatabaseChangeLog(Liquibase.java:225)
at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:1133)
at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:1126)
at liquibase.Liquibase.listUnrunChangeSets(Liquibase.java:1122)
at
org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider.update(LiquibaseJpaUpdaterProvider.java:63)
... 39 more
Caused by: java.io.IOException: Found 2 files that match
META-INF/jpa-changelog-master.xml
at liquibase.util.StreamUtil.singleInputStream(StreamUtil.java:189)
at
liquibase.parser.core.xml.XMLChangeLogSAXParser.parseToNode(XMLChangeLogSAXParser.java:93)
... 45 more
On Fri, Feb 12, 2016 at 2:21 PM, Kunal K <kunal(a)plivo.com> wrote:
>
> Just checked, nothing seems to be running on those ports.
>
> :~$ sudo netstat -nlp | grep 8081
> :~$ sudo netstat -nlp | grep 8181
>
>
> On Fri, Feb 12, 2016 at 2:15 PM, Marko Strukelj <mstrukel(a)redhat.com>
> wrote:
>>
>> Make sure you have no other server running on ports 8081, and 8181.
>>
>> On Fri, Feb 12, 2016 at 9:34 AM, Kunal K <kunal(a)plivo.com> wrote:
>> > I'm trying to build the 1.8.x branch with mvn install -Pdistribution
>> > but
>> > tests are failing.
>> >
>> > Here are the logs -
https://gist.github.com/tsudot/6ac955a6b41d8f2df42f
>> >
>> >
>> > --
>> > KUNAL KERKAR | PRODUCT ENGINEER
>> > Plivo, Inc. 340 Pine St, San Francisco - 94104, USA
>> > Web:
www.plivo.com | Twitter: @plivo, @tsudot
>> >
>> > Free Incoming SMS for All US Short Codes – Get One Today!
>> >
>> > _______________________________________________
>> > keycloak-dev mailing list
>> > keycloak-dev(a)lists.jboss.org
>> >
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
>
>
>
> --
> KUNAL KERKAR | PRODUCT ENGINEER
> Plivo, Inc. 340 Pine St, San Francisco - 94104, USA
> Web:
www.plivo.com | Twitter: @plivo, @tsudot
>
> Free Incoming SMS for All US Short Codes – Get One Today!
--
KUNAL KERKAR | PRODUCT ENGINEER
Plivo, Inc. 340 Pine St, San Francisco - 94104, USA
Web:
www.plivo.com | Twitter: @plivo, @tsudot
Free Incoming SMS for All US Short Codes – Get One Today!