[JBoss JIRA] (ISPN-10319) Build alwas fails on Windows agent
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10319?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10319:
--------------------------------
Summary: Build alwas fails on Windows agent (was: Build alwas fails on Windows)
> Build alwas fails on Windows agent
> ----------------------------------
>
> Key: ISPN-10319
> URL: https://issues.jboss.org/browse/ISPN-10319
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Test Suite - Core
> Affects Versions: 10.0.0.Beta3, 9.4.14.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.Beta4
>
>
> Maven doesn't use the {{build-configuration}} POM from the reactor and instead downloads an outdated snapshot from {{repository.jboss.org}}, which doesn't set {{versionx.com.puppycrawl.tools.checkstyle}}:
> {noformat}
> 13:47:59 [DEBUG] Could not find metadata org.infinispan:infinispan-build-configuration-parent:10.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Windows\system32\config\systemprofile\.m2\repository)
> 13:47:59 [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
> 13:47:59 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
> 13:47:59 [INFO] Downloading from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infini...
> 13:48:00 [INFO] Downloaded from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infini... (632 B at 759 B/s)
> 13:48:00 [DEBUG] Writing tracking file C:\Windows\system32\config\systemprofile\.m2\repository\org\infinispan\infinispan-build-configuration-parent\10.0.0-SNAPSHOT\resolver-status.properties
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> 05:45:39 [ERROR] 'dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 26, column 19
> 05:45:39 [ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-checkstyle-plugin].dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 60, column 28
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10319) Build alwas fails on Windows
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10319?page=com.atlassian.jira.plugin... ]
Dan Berindei resolved ISPN-10319.
---------------------------------
Resolution: Done
The build was always failing on our Windows agent because it was using Maven 3.6.0, which is affected by [MNG-6261|https://issues.apache.org/jira/browse/MNG-6261]. Fixed by upgrading to Maven3.6.1.
> Build alwas fails on Windows
> ----------------------------
>
> Key: ISPN-10319
> URL: https://issues.jboss.org/browse/ISPN-10319
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Test Suite - Core
> Affects Versions: 10.0.0.Beta3, 9.4.14.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.Beta4
>
>
> Maven doesn't use the {{build-configuration}} POM from the reactor and instead downloads an outdated snapshot from {{repository.jboss.org}}, which doesn't set {{versionx.com.puppycrawl.tools.checkstyle}}:
> {noformat}
> 13:47:59 [DEBUG] Could not find metadata org.infinispan:infinispan-build-configuration-parent:10.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Windows\system32\config\systemprofile\.m2\repository)
> 13:47:59 [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
> 13:47:59 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
> 13:47:59 [INFO] Downloading from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infini...
> 13:48:00 [INFO] Downloaded from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infini... (632 B at 759 B/s)
> 13:48:00 [DEBUG] Writing tracking file C:\Windows\system32\config\systemprofile\.m2\repository\org\infinispan\infinispan-build-configuration-parent\10.0.0-SNAPSHOT\resolver-status.properties
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> 05:45:39 [ERROR] 'dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 26, column 19
> 05:45:39 [ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-checkstyle-plugin].dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 60, column 28
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10319) Build alwas fails on Windows
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10319?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10319:
--------------------------------
Status: Open (was: New)
> Build alwas fails on Windows
> ----------------------------
>
> Key: ISPN-10319
> URL: https://issues.jboss.org/browse/ISPN-10319
> Project: Infinispan
> Issue Type: Bug
> Components: Build, Test Suite - Core
> Affects Versions: 10.0.0.Beta3, 9.4.14.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.Beta4
>
>
> Maven doesn't use the {{build-configuration}} POM from the reactor and instead downloads an outdated snapshot from {{repository.jboss.org}}, which doesn't set {{versionx.com.puppycrawl.tools.checkstyle}}:
> {noformat}
> 13:47:59 [DEBUG] Could not find metadata org.infinispan:infinispan-build-configuration-parent:10.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Windows\system32\config\systemprofile\.m2\repository)
> 13:47:59 [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
> 13:47:59 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
> 13:47:59 [INFO] Downloading from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infini...
> 13:48:00 [INFO] Downloaded from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infini... (632 B at 759 B/s)
> 13:48:00 [DEBUG] Writing tracking file C:\Windows\system32\config\systemprofile\.m2\repository\org\infinispan\infinispan-build-configuration-parent\10.0.0-SNAPSHOT\resolver-status.properties
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> 05:45:39 [ERROR] 'dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 26, column 19
> 05:45:39 [ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-checkstyle-plugin].dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 60, column 28
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10313) EvictInvalidatedNearCacheTest.testEvictAfterReachingMax random failures
by Will Burns (Jira)
[ https://issues.jboss.org/browse/ISPN-10313?page=com.atlassian.jira.plugin... ]
Will Burns updated ISPN-10313:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7053
> EvictInvalidatedNearCacheTest.testEvictAfterReachingMax random failures
> -----------------------------------------------------------------------
>
> Key: ISPN-10313
> URL: https://issues.jboss.org/browse/ISPN-10313
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 10.0.0.Beta3
> Reporter: Dan Berindei
> Assignee: Will Burns
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.Beta4
>
> Attachments: ISPN-9599_globalcomponentregistry_permission_20190616-2133_EvictInvalidatedNearCacheTest-infinispan-client-hotrod.log.gz
>
>
> From the log, it looks like the near cache may ignore put requests, and {{EvictInvalidatedNearCacheTest}} doesn't expect that:
> {noformat}
> 22:02:29,709 TRACE (testng-Test:[]) [RetryOnFailureOperation] About to start executing operation GetWithMetadataOperation{(default), key=[B0x034B00000002, flags=0} on [id: 0x2ca8c2fb, L:/127.0.0.1:40582 - R:127.0.0.1/127.0.0.1:33741]
> 22:02:29,709 TRACE (testng-Test:[]) [Codec] [] Wrote header for messageId=5085 to PooledUnsafeDirectByteBuf(ridx: 0, widx: 13, cap: 21). Operation code: 0x1b(UNKNOWN). Flags: 0x0. Topology id: -1
> 22:02:29,710 TRACE (Test-Client-Async-108-1:[]) [HeaderDecoder] Response 5085 belongs to GetWithMetadataOperation{(default), key=[B0x034B00000002, flags=0} on [id: 0x2ca8c2fb, L:/127.0.0.1:40582 - R:127.0.0.1/127.0.0.1:33741]
> 22:02:29,710 TRACE (Test-Client-Async-108-1:[]) [NearCacheService] Conditionally put key=2 and value=MetadataValueImpl [created=-1, lifespan=-1, lastUsed=-1, maxIdle=-1, getVersion()=2, getValue()=v1] if absent in near cache (listenerId=[B0xD532F51E0F6632E1..[16])
> 22:02:29,725 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.near.EvictInvalidatedNearCacheTest.testEvictAfterReachingMax
> java.lang.AssertionError: expected:<v1> but was:<null>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.14.3.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.14.3.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.14.3.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88) ~[testng-6.14.3.jar:?]
> at org.infinispan.client.hotrod.near.AssertsNearCache.assertGetKeyValue(AssertsNearCache.java:235) ~[test-classes/:?]
> at org.infinispan.client.hotrod.near.AssertsNearCache.expectNearGetValue(AssertsNearCache.java:130) ~[test-classes/:?]
> at org.infinispan.client.hotrod.near.EvictInvalidatedNearCacheTest.testEvictAfterReachingMax(EvictInvalidatedNearCacheTest.java:39) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10129) CLI NullPointerException after running CLI "create" command
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10129?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10129:
-----------------------------------
Fix Version/s: 9.4.16.Final
(was: 9.4.15.Final)
> CLI NullPointerException after running CLI "create" command
> -----------------------------------------------------------
>
> Key: ISPN-10129
> URL: https://issues.jboss.org/browse/ISPN-10129
> Project: Infinispan
> Issue Type: Bug
> Components: CLI
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Environment: JDG-7.3
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.16.Final
>
>
> Getting Null Pointer Exception after running "create" command from CLI :
> Below is the exception snippet :
> ~~~
> 16:59:43,111 ERROR [org.infinispan.cli.interpreter.Interpreter] (management-handler-thread - 1) ISPN019003: Interpreter error: java.lang.NullPointerException
> at org.infinispan.cli.interpreter.session.SessionImpl.createCache(SessionImpl.java:109)
> at org.infinispan.cli.interpreter.statement.CreateStatement.execute(CreateStatement.java:25)
> at org.infinispan.cli.interpreter.Interpreter.execute(Interpreter.java:140)
> at org.infinispan.server.infinispan.SecurityActions.lambda$executeInterpreter$7(SecurityActions.java:268)
> at org.infinispan.security.Security.doPrivileged(Security.java:57)
> at org.infinispan.server.infinispan.SecurityActions.doPrivileged(SecurityActions.java:77)
> at org.infinispan.server.infinispan.SecurityActions.executeInterpreter(SecurityActions.java:269)
> at org.jboss.as.clustering.infinispan.subsystem.CliInterpreterHandler.execute(CliInterpreterHandler.java:71)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:999)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:743)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:467)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1411)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:423)
> at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:265)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:231)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:240)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:138)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:162)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:158)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:289)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:246)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:158)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> ~~~
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10149) Enable checkstyle plugin during the verify maven phase
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-10149?page=com.atlassian.jira.plugin... ]
Tristan Tarrant updated ISPN-10149:
-----------------------------------
Fix Version/s: 9.4.16.Final
(was: 9.4.15.Final)
> Enable checkstyle plugin during the verify maven phase
> ------------------------------------------------------
>
> Key: ISPN-10149
> URL: https://issues.jboss.org/browse/ISPN-10149
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.16.Final
>
>
> Today the checkstyle configuration is duplicated across multiple projects
> The docs say
> {noformat}
> ===== Checking coding style
> If you have written any new code, it is highly recommended to validate formatting before submitting a Pull Request.
> This might be done by invoking:
> $ mvn checktyle:check
> {noformat}
> but it is failing
> {noformat}
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.296 s
> [INFO] Finished at: 2019-04-25T19:55:17-03:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] No plugin found for prefix 'checktyle' in the current project and in the plugin groups [com.oracle.weblogic, org.jenkins-ci.tools, org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/dlovison/.m2/repository), -> [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/NoPluginFoundForPrefixEx...
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months