Bug 900317 (JBPAPP6-1179) - EAP6 Testsuite failures on windows
Summary: EAP6 Testsuite failures on windows
Keywords:
Status: CLOSED WORKSFORME
Alias: JBPAPP6-1179
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Testsuite
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 6.1.0
Assignee: Pavel Jelinek
QA Contact: Pavel Jelinek
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On: JBPAPP6-1408 JBPAPP6-1294 JBPAPP6-1329 JBPAPP6-1258 1043768
Blocks: JBPAPP6-1159
TreeView+ depends on / blocked
 
Reported: 2012-04-30 13:23 UTC by Madhumita Sadhukhan
Modified: 2014-10-25 12:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-04 14:47:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
integration.security.loginmodules.DatabaseLoginModuleTestCase.log (9.02 KB, text/x-log)
2012-05-21 15:16 UTC, Madhumita Sadhukhan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBPAPP6-1179 0 Major Closed EAP6 Testsuite failures on windows 2014-07-21 07:12:05 UTC

Description Madhumita Sadhukhan 2012-04-30 13:23:42 UTC
Link type: Superset, Source: JBPAPP6-1179, Destination: JBPAPP6-718
project_key: JBPAPP6

Windows testsuite which was stable in EAP6 ER3 cycle looks highly unstable with EAP6 ER6 and EAP6 ER7.There are some consistent as well as several random failures in the several runs I had started.

Link for best run had so far in ER6:

https://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-Windows-matrix-OracleJDK6/jdk=java16_default,label=Win2k8r2_x86_64/21/testReport/


I just noticed that the upstream job run by dev is not even testing all the tests as most tests are skipped in it dueto timeout or build failure and it still yields a yellow run!

Comment 1 Madhumita Sadhukhan 2012-05-10 12:34:06 UTC
I see many clustering tests failing often due to 

service jboss.jgroups.channel.web: java.lang.IllegalStateException: JBAS010272: A node named node-0 already exists in this cluster.  Perhaps there is already a server running on this host?  If so, restart this server with a unique node name, via -Djboss.node.name=<node-name>
	at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:62) [jboss-as-clustering-common-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_24]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_24]
	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: java.lang.IllegalStateException: JBAS010272: A node named node-0 already exists in this cluster.  Perhaps there is already a server running on this host?  If so, restart this server with a unique node name, via -Djboss.node.name=<node-name>
	at org.jboss.as.clustering.jgroups.subsystem.ChannelService.start(ChannelService.java:53) [jboss-as-clustering-jgroups-7.1.1.Final-redhat-1.jar:7.1.1.Final-redhat-1]




Comment 2 Tomaz Cerar 2012-05-10 14:48:17 UTC
Link: Added: This issue depends JBPAPP-8960


Comment 3 Tomaz Cerar 2012-05-10 14:48:18 UTC
With latest upstream(7.1.2.Final tag), there is only issue with SingletonService test. Others pass without any problems.

Comment 4 Madhumita Sadhukhan 2012-05-10 23:09:23 UTC
Link: Added: This issue incorporates JBPAPP-8225


Comment 5 Madhumita Sadhukhan 2012-05-10 23:14:38 UTC
Tomas could you please confirm the upstream job link for Windows?

I was looking at https://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-7.1.x-testSuite-windows/lastCompletedBuild/testReport/

and found that this job skips most of the tests mainly all integration tests .

Comment 6 Madhumita Sadhukhan 2012-05-10 23:16:17 UTC
Link for best run I had with ER7 on windows run over IPv4 with mcast shows 49 test failures:

http://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-Windows-matrix-OracleJDK7/17/jdk=java17_default,label=Win2k8_x86/testReport/



Comment 7 Tomaz Cerar 2012-05-11 09:22:10 UTC
https://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-7.1.x-testSuite-windows/ is the right one for upstream, few tests fail here because OutOfMemmory occurred, that can be fixed by modifying the job a bit, or replacing jvm on build server running it.

Eap build job looks odd as none of build have managed to run / complete build for few weeks now... it looks like last build was for ER6
but links appear right
http://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-Windows-matrix-OracleJDK7/
http://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-Windows-matrix-OracleJDK6/

Comment 8 Madhumita Sadhukhan 2012-05-11 09:32:26 UTC
Tomaz,

            EAP jobs are maintained by myself , so I know they are correct :-) and the builds have not completed correctly because they have failed tests precisely clustering targets.

If the upstream job link is correct please check that it does not run any of the integration tests at all in the last few runs.

Comment 9 Madhumita Sadhukhan 2012-05-15 09:31:16 UTC
Hi Tomas,

        I have run the job manually in qa lab windows machine as well as on hudson and could get rid of Clustering test failures as they passed successfully.However i still see several tests(Mostly management cli tests) failing due to Timeout even when the tests are run manually after proper clean up of all prior processes,if any on the box.

With ER7 bits I found the following tests failing:

org.jboss.as.test.integration.jdr.mgmt.JdrReportManagmentTestCase.generateStandaloneJdrReport(JBPAPP-8225)
org.jboss.as.test.integration.ee.jmx.property.JMXPropertyEditorsTestCase.testProperties(JBPAPP-8963)

CLI tests either failing due to Timeout or JBPAPP-8966
org.jboss.as.test.integration.management.cli.ArchiveDefaultScriptNamesTestCase.testDeployArchive
org.jboss.as.test.integration.management.cli.ArchiveTestCase.testDeployArchive
org.jboss.as.test.integration.management.cli.CliArgumentsTestCase.testCommandsArgument
org.jboss.as.test.integration.management.cli.CliArgumentsTestCase.testConnectArgument
org.jboss.as.test.integration.management.cli.MultipleLinesCommandsTestCase.testOperation
org.jboss.as.test.integration.management.cli.MultipleLinesCommandsTestCase.testCommand
org.jboss.as.test.integration.management.cli.BatchTestCase.org.jboss.as.test.integration.management.cli.BatchTestCase
org.jboss.as.test.integration.management.cli.DataSourceTestCase.org.jboss.as.test.integration.management.cli.DataSourceTestCase


org.jboss.as.test.clustering.cluster.singleton.SingletonTestCase(UDP).testSingletonService(JBPAPP-8960)

Some other consistent failures I notice:


org.jboss.as.test.integration.security.loginmodules.DatabaseLoginModuleTestCase
org.jboss.as.test.integration.security.loginmodules.UsersRolesLoginModuleTestCase

http://hudson.qa.jboss.com/hudson/view/EAP6/view/EAP6-AS-Testsuite/job/eap-60-as-testsuite-Windows-matrix-OracleJDK6/jdk=java16_default,label=Win2k8_x86/lastCompletedBuild/testReport/org.jboss.as.test.integration.security.loginmodules/UsersRolesLoginModuleTestCase/org_jboss_as_test_integration_security_loginmodules_UsersRolesLoginModuleTestCase/

fail with following stacktrace:

java.lang.RuntimeException: Could not invoke deployment method: public static org.jboss.shrinkwrap.api.spec.WebArchive org.jboss.as.test.integration.security.loginmodules.UsersRolesLoginModuleTestCase.appDeployment1()
	at org.jboss.arquillian.container.test.impl.client.deployment.AnnotationDeploymentScenarioGenerator.invoke(AnnotationDeploymentScenarioGenerator.java:160)
	at org.jboss.arquillian.container.test.impl.client.deployment.AnnotationDeploymentScenarioGenerator.generateDeployment(AnnotationDeploymentScenarioGenerator.java:94)


Apart from these there are several unstable/inconsistent failures due to serbver not running or Connection Closed.

This result is as per ER7 bits .Please update jira with details of which of the above failures(consistent failures at least) have been fixed in ER8 and set the jira to correct fix version if above issues are resolved.

FYI... the latest upstream job http://hudson.jboss.org/hudson/view/All/job/JBoss-AS-7.1.x-testSuite-windows/1219/testReport/ is still not running any of the integration tests at all so its hard to determine which of the tests are actually fixed!

Comment 10 Madhumita Sadhukhan 2012-05-21 15:15:00 UTC
org.jboss.as.test.integration.security.loginmodules.DatabaseLoginModuleTestCase. fails consistently on Windows environment with EAP6 ER8 run against node0 and node1 with mcast with stacktrace attached (check integration.security.loginmodules.DatabaseLoginModuleTestCase.log)



Comment 11 Madhumita Sadhukhan 2012-05-21 15:16:25 UTC
Attachment: Added: integration.security.loginmodules.DatabaseLoginModuleTestCase.log


Comment 12 Tomaz Cerar 2012-05-30 10:40:32 UTC
Fix for JBPAPP-8960 was pushed to 7.1.x upstream

Comment 13 Madhumita Sadhukhan 2012-06-05 08:14:06 UTC
Tomas I still see it failing in EAP6 CR1 please make sure you mark the correct fix version in JBPAPP-8960 once this changed is picked up in EAP from upstream.

Comment 14 Rajesh Rajasekaran 2012-06-06 23:02:05 UTC
Link: Added: This issue is a dependency of JBPAPP-9188


Comment 15 Tomaz Cerar 2012-06-20 17:22:05 UTC
There are some more fixes for this issue, some of them are already in upstream, for few pull request was sent, and there are still some fixes in work.

Comment 16 Josef Cacek 2012-06-25 08:15:12 UTC
The DatabaseLoginModuleTestCase and UsersRolesLoginModuleTestCase were updated in both master and 7.1 AS branches. They should work now.
Madhumita, could you please retry it? Thanks.

Comment 17 Tomaz Cerar 2012-08-20 13:38:16 UTC
Link: Added: This issue depends AS7-5350


Comment 18 Tomaz Cerar 2012-08-20 13:38:51 UTC
Testsuite on windows now only has one more failure which is described in AS7-5350

Comment 19 Madhumita Sadhukhan 2012-08-20 14:23:15 UTC
Agreed,I have run with unofficial build from productization taken from upstream that shows 5 failures(4 of which also fail on RHEL and other platforms) and fifth failure is CliArgumentsTestCase.testWrongControler.This run also verifies that security tests failing in GA and fixed by Josef are passing.

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/EAP5/view/JDK7/job/eap-601-CI-as-testsuite-Win2k8R2_x86_64-OracleJDK6-srczip/15/testReport/

However I see following in my run above as well as in the upstream windows job:

org.jboss.as.test.clustering.cluster.singleton.SingletonTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.001 sec

@Tomas fyi...this was a bug in GA and this test has been skipped.(probably it is still failing?)


Comment 20 Madhumita Sadhukhan 2012-08-20 14:26:38 UTC
Link: Added: This issue relates to AS7-5210


Comment 21 Madhumita Sadhukhan 2012-08-20 14:27:21 UTC
Link: Removed: This issue relates to AS7-5210 


Comment 22 Madhumita Sadhukhan 2012-08-20 14:27:40 UTC
Link: Added: This issue depends AS7-5210


Comment 23 Tomaz Cerar 2012-08-20 14:45:23 UTC
SingletonTestCase was fixed in upstream some time ago, but after 6.0.0.GA.
there are issues in upstream on JDK7, and there is plan to fix all that issues before 7.2.0.final is released.
I would recommend you to use JDK6 for all test runs.

this is upstream master testsuite:
http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-master-windows-build/lastCompletedBuild/testReport/
and for 7.1 branch EAP 6.0.x upstream
http://lightning.mw.lab.eng.bos.redhat.com/jenkins/job/as7-7.1-windows-build/lastCompletedBuild/testReport/

classloader leak tests ware fixed week or two ago, so probably where the EAP is rebased to master it should be fixed.

Comment 24 Madhumita Sadhukhan 2012-08-20 15:08:18 UTC
Thanks Tomas , however SingletonTestCase has been skipped in the upstram master testsuite(in link provided by you above this particular testcase has been skipped and not run) so its definitely not fixed yet:-)
But I found AS7-5210 and it says it has been deferred to 7.2 (the test is not currently run at all in testsuite so we do not know if it fails or passes)

Comment 25 Paul Gier 2012-09-05 18:45:32 UTC
Please retest against EAP 6.0.1 and either re-open or create a new jira if the issues still exists.

Comment 26 Madhumita Sadhukhan 2012-09-27 08:14:04 UTC
Re-opening this as there are associated unresolved jiras 

Comment 27 Madhumita Sadhukhan 2012-09-27 09:15:41 UTC
Link: Added: This issue depends JBPAPP-10033


Comment 28 Madhumita Sadhukhan 2012-10-29 10:18:43 UTC
Link: Added: This issue depends JBPAPP-10101


Comment 29 Madhumita Sadhukhan 2012-10-29 10:24:20 UTC
Link: Added: This issue depends JBPAPP-9335


Comment 30 Misty Stanley-Jones 2012-11-05 05:08:33 UTC
Release Notes Docs Status: Added: Not Required


Comment 31 Anne-Louise Tangring 2012-11-13 20:43:48 UTC
Release Notes Docs Status: Removed: Not Required 
Docs QE Status: Removed: NEW 


Comment 33 Madhumita Sadhukhan 2013-03-12 15:55:41 UTC
This is tracker jira for all Windows test failures so assigning this to Pavel Jelinek for tracking during my absence.Pavel please check all associated jiras on which this issue depends on before verifying or closing this.

Comment 34 Tomaz Cerar 2013-09-10 19:28:43 UTC
This was fixed some time ago, and should already be part of EAP 6.1

Comment 36 Tomaz Cerar 2014-03-04 14:47:00 UTC
This was fixed some time ago, testsuite passes on windows for some time now.


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