dev@glassfish.java.net

Re: [GFv3] adminconsole_test fails randomly

From: Sahoo <sahoo_at_sun.com>
Date: Tue, 21 Jul 2009 00:42:44 +0530

Thank you for your quick response.

Sahoo

Justin Lee wrote:
> I see those tests fail intermittently, too. I've started tuning them
> out.
>
> Sahoo wrote:
>> I have a couple of changes related to bootstrapping of glassfish, but
>> I can't imagine them affecting the following failure that I observed
>> once when I ran QL. When reran QL in the same setup, tests passed.
>> So, I am wondering if this is some kind of timing bug in the test
>> itself. Has anyone else seen this test failing occasionally? I am on
>> a Solaris 10/single core/x86 system.
>>
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (1 of 60)...
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (2 of 60)...
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (3 of 60)...
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (4 of 60)...
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (5 of 60)...
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (6 of 60)...
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (7 of 60)...
>> [testng] ***** Login page not found. Sleeping to allow app to
>> deploy (8 of 60)...
>> [testng] FAILED CONFIGURATION: @BeforeTest
>> loginBeforeTest("http://localhost:4848/", 8686)
>> [testng] java.lang.AssertionError:
>> BaseAdminConsoleTest.getUrlAndTestForString() failed. HTTP Status
>> Code: 404
>> [testng] at
>> test.admin.BaseAdminConsoleTest.getUrl(BaseAdminConsoleTest.java:194)
>> [testng] at
>> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings(BaseAdminConsoleTest.java:169)
>>
>> [testng] at
>> test.admin.BaseAdminConsoleTest.loginBeforeTest(BaseAdminConsoleTest.java:112)
>>
>> [testng] ... Removed 20 stack frames
>> [testng] FAILED: testDeployedAppPage
>> [testng] java.lang.AssertionError: The Deployed Applications table
>> does not appear to have been rendered. expected:<true> but was:<false>
>> [testng] at
>> test.admin.AdminConsoleTests.testDeployedAppPage(AdminConsoleTests.java:53)
>>
>> [testng] ... Removed 25 stack frames
>> [testng] FAILED: testCommonTasks
>> [testng] java.lang.AssertionError: The Common Task page does not
>> appear to have been rendered. expected:<true> but was:<false>
>> [testng] at
>> test.admin.AdminConsoleTests.testCommonTasks(AdminConsoleTests.java:42)
>> [testng] ... Removed 25 stack frames
>> [testng] FAILED: testHelpPage
>> [testng] java.lang.AssertionError: expected:<true> but was:<false>
>> [testng] at
>> test.admin.AdminConsoleTests.testHelpPage(AdminConsoleTests.java:71)
>> [testng] ... Removed 26 stack frames
>> [testng] FAILED: testRealmsList
>> [testng] java.lang.AssertionError: The Security realms table does
>> not appear to have been rendered. expected:<true> but was:<false>
>> [testng] at
>> test.admin.AdminConsoleTests.testRealmsList(AdminConsoleTests.java:64)
>> [testng] ... Removed 25 stack frames
>>
>> [testng] ===============================================
>> [testng] adminconsole_tests
>> [testng] Tests run: 4, Failures: 4, Skips: 0
>> [testng] Configuration Failures: 1, Skips: 0
>> [testng] ===============================================
>>
>> Thanks,
>> Sahoo
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>