Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1078062 - ManagementClientContentTestCase sometimes fails (different JDK for master and slave)
ManagementClientContentTestCase sometimes fails (different JDK for master and...
Status: VERIFIED
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite, Domain Management (Show other bugs)
6.3.0
Unspecified Unspecified
unspecified Severity medium
: DR8
: EAP 6.4.0
Assigned To: Brian Stansberry
Petr Kremensky
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-19 02:28 EDT by Petr Kremensky
Modified: 2015-04-13 03:12 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In previous release of JBoss EAP 6, map used in the storage mechanism for management-client-content returned different values of the 'hash' attribute for the management-client-content=rollout-plans resource on different processes in a domain. In JBoss EAP 6.4, this error is fixed by updating the map with consistent ordering used for storing management-client-content. The 'hash' attribute for the management-client-content=rollout-plans resource returns the same value on all processes in a domain.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
JBoss Issue Tracker WFCORE-205 Major Resolved ManagedDMRContentTypeResource does not use a map with consistent ordering for storing content 2017-06-05 11:07 EDT

  None (edit)
Description Petr Kremensky 2014-03-19 02:28:44 EDT
Description of problem:
 org.jboss.as.test.integration.domain.suites.ManagementClientContentTestCase#testRolloutPlans test is failing in domain testsuite with different JDK for master and slave.

Version-Release number of selected component (if applicable):
 EAP 6.3.0.DR4

How reproducible:
 40%

Steps to Reproduce:
1. Prepare jdks
 JDK_MASTER=/path/to/jdk1.7.0_45
 JDK_SLAVE=/path/to/jdk1.8.0_b128
2. Go to EAP testsuite directorye and run
 mvn clean test -Dts.domain -Djboss.test.host.master.controller.jvmhome=$JDK_MASTER -Djboss.test.host.slave.controller.jvmhome=$JDK_SLAVE -Dtest=DomainTestSuite -Djboss.test.host.master.jvmhome=$JDK_MASTER -Djboss.test.host.slave.jvmhome=$JDK_SLAVE -Dtest=org.jboss.as.test.integration.domain.suites.ManagementClientContentTestCase

Actual results:
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 27.271 sec <<< FAILURE!
testRolloutPlans(org.jboss.as.test.integration.domain.suites.ManagementClientContentTestCase)  Time elapsed: 0.733 sec  <<< FAILURE!
java.lang.AssertionError: expected:<bytes {
    0x27, 0x88, 0xcf, 0x01, 0x0f, 0xfa, 0xe5, 0xd8,
    0xd4, 0xb9, 0x29, 0x07, 0x59, 0x32, 0xef, 0x4c,
    0x72, 0x88, 0x8d, 0xd0
}> but was:<bytes {
    0x60, 0x6e, 0xcf, 0x23, 0x0d, 0xf6, 0x88, 0x0f,
    0xc7, 0x72, 0xcb, 0xcc, 0xe5, 0x33, 0xd6, 0xe7,
    0xf9, 0x27, 0xe8, 0xe9
}>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:743)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at org.jboss.as.test.integration.domain.suites.ManagementClientContentTestCase.validateHashes(ManagementClientContentTestCase.java:244)
        at org.jboss.as.test.integration.domain.suites.ManagementClientContentTestCase.testRolloutPlans(ManagementClientContentTestCase.java:158)

Expected results:
 Test passed

Additional info:
 https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP6/view/EAP6-Domain-mode/job/eap6x-domain-different-JDK-DC-HC/80/ failures are random not combination specific (see run#81 has failures on different combinations)
Comment 2 Marek Kopecky 2014-11-06 02:27:01 EST
Verified on EAP 6.4.0.DR8

Note You need to log in before you can comment on or make changes to this bug.