[jboss-jira] [JBoss JIRA] (AS7-5498) infinispan.DistributedCacheManagerTest unit tests fail with openjdk7

Radoslav Husar (JIRA) jira-events at lists.jboss.org
Tue Feb 5 07:19:51 EST 2013


    [ https://issues.jboss.org/browse/AS7-5498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12752275#comment-12752275 ] 

Radoslav Husar commented on AS7-5498:
-------------------------------------

After upgrading Open JDK I am building OK:

{noformat}
[INFO] JBoss Application Server: Clustering Subsystem .... SUCCESS [1.368s]
[INFO] JBoss Application Server: Clustering Server API ... SUCCESS [10.998s]
[INFO] JBoss Application Server: Common code for clustering subsystems  SUCCESS [3.676s]
[INFO] JBoss Application Server: JGroups Subsystem ....... SUCCESS [5.741s]
[INFO] JBoss Application Server: Infinispan Subsystem .... SUCCESS [32.820s]
[INFO] JBoss Application Server: Clustering Server API implementation  SUCCESS [1.247s]
[INFO] JBoss Application Server: Clustered registry service  SUCCESS [0.618s]
[INFO] JBoss Application Server: Clustered service provider registry services  SUCCESS [0.687s]
[INFO] JBoss Application Server: Clustered singleton services  SUCCESS [1.333s]
[INFO] JBoss Application Server: Distributed Web Session SPI  SUCCESS [1.150s]
[INFO] JBoss Application Server: Distributed Web Session Infinispan provider  SUCCESS [2.070s]
[INFO] JBoss Application Server: Clustered Stateful Session Bean cache Infinispan provider  SUCCESS [1.563s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:04.602s
[INFO] Finished at: Tue Feb 05 13:17:21 CET 2013
[INFO] Final Memory: 77M/732M
[INFO] ------------------------------------------------------------------------
[rhusar at x220 clustering]$ java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.5.fc17-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
{noformat}

However,  when I try to build entire AS, protocol utilities fail completely:

{noformat}
Tests in error: 
  testSimpleRequest(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase)
  testSimpleRequest(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.logging.LoggerProviders
  testTwoSimpleRequests(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testTwoSimpleRequests(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testSeveralConcurrentSimpleRequests(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testSeveralConcurrentSimpleRequests(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testMissingOperationHandler(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testMissingOperationHandler(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testMissingRequestHandler(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testMissingRequestHandler(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testExceptionInRequestHandlerRead(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testExceptionInRequestHandlerRead(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testExceptionInRequestHandlerWrite(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testExceptionInRequestHandlerWrite(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testExceptionInRequestWrite(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testExceptionInRequestWrite(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testNoResponse(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testNoResponse(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testCancelAsyncTask(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testCancelAsyncTask(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils
  testAwaitCompletion(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.jboss.threads.QueueExecutor
  testAwaitCompletion(org.jboss.as.protocol.mgmt.RemoteChannelManagementTestCase): Could not initialize class org.xnio.IoUtils

Tests run: 22, Failures: 0, Errors: 22, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JBoss Application Server: Build Configuration ..... SUCCESS [1.558s]
[INFO] JBoss Application Server: Parent Aggregator ....... SUCCESS [0.771s]
[INFO] JBoss Application Server: Protocol Utilities ...... FAILURE [3.790s]
{noformat}


Anyone else seeing the same now?
                
> infinispan.DistributedCacheManagerTest unit tests fail with openjdk7
> --------------------------------------------------------------------
>
>                 Key: AS7-5498
>                 URL: https://issues.jboss.org/browse/AS7-5498
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering, Test Suite
>         Environment: affected master
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>             Fix For: 7.2.0.Alpha1
>
>         Attachments: org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest.txt, TEST-org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest.xml
>
>
> Noticed by alexey
> [rhusar at rhusar jboss-as]$ java -version
> java version "1.7.0_06-icedtea"
> OpenJDK Runtime Environment (fedora-2.3.1.fc17.2-x86_64)
> OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
> {noformat}
> [INFO] 
> [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ jboss-as-clustering-web-infinispan ---
> [debug] execute contextualize
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/rhusar/git/jboss-as/clustering/web-infinispan/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jboss-as-clustering-web-infinispan ---
> [INFO] Compiling 6 source files to /home/rhusar/git/jboss-as/clustering/web-infinispan/target/test-classes
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.11:test (default-test) @ jboss-as-clustering-web-infinispan ---
> [INFO] Surefire report directory: /home/rhusar/git/jboss-as/clustering/web-infinispan/target/surefire-reports
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.jboss.as.clustering.web.infinispan.FineSessionAttributeStorageTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.334 sec
> Running org.jboss.as.clustering.web.infinispan.CoarseSessionAttributeStorageTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
> Running org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest
> Tests run: 22, Failures: 2, Errors: 6, Skipped: 0, Time elapsed: 0.42 sec <<< FAILURE!
> Running org.jboss.as.clustering.web.infinispan.SimpleExternalizerTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
> Running org.jboss.as.clustering.web.infinispan.SessionAttributeStorageFactoryTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
> Running org.jboss.as.clustering.web.infinispan.SessionMapEntryTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec
> Results :
> Failed tests:   getSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 1688182366> was not:<null>
>   getMissingSessionDataNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): expected same:<Mock for IncomingDistributableSessionData, hashCode: 981356300> was not:<null>
> Tests in error: 
>   removeSession(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
>   removeSessionLocal(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
>   removeSessionLocalNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
>   evictSession(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
>   evictSessionNoOwner(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest): (..)
>   getSessionIds(org.jboss.as.clustering.web.infinispan.DistributedCacheManagerTest)
> Tests run: 33, Failures: 2, Errors: 6, Skipped: 0
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list