dev@glassfish.java.net

Re: adminconsole_tests failing on prelude branch

From: Sahoo <sahoo_at_sun.com>
Date: Thu, 16 Oct 2008 00:30:44 +0530

Strangely, they are passing now. I have not done anything special.

Thanks,
Sahoo

Sahoo wrote:
> Hi,
>
> In my local workspace, adminconsole_tests from quicklook test suite
> are failing. I have a bunch of local changes, which are to do with
> version changes from 10.0 to 3.0. I can't see how they are related to
> the failures shown below:
>
> [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:193)
> [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: testFrameSet
> [testng] java.lang.AssertionError: The main frameset does not appear
> to have been rendered. expected:<true> but was:<false>
> [testng] at
> test.admin.AdminConsoleTests.testFrameSet(AdminConsoleTests.java:42)
> [testng] ... Removed 25 stack frames
> [testng] FAILED: testDeployedWebAppPage
> [testng] java.lang.AssertionError:
> BaseAdminConsoleTest.getUrlAndTestForString() failed. HTTP Status
> Code: 404
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrl(BaseAdminConsoleTest.java:193)
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings(BaseAdminConsoleTest.java:169)
>
> [testng] at
> test.admin.AdminConsoleTests.testDeployedWebAppPage(AdminConsoleTests.java:86)
>
> [testng] ... Removed 23 stack frames
> [testng] FAILED: testCommonTasks
> [testng] java.lang.AssertionError:
> BaseAdminConsoleTest.getUrlAndTestForString() failed. HTTP Status
> Code: 404
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrl(BaseAdminConsoleTest.java:193)
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings(BaseAdminConsoleTest.java:169)
>
> [testng] at
> test.admin.AdminConsoleTests.testCommonTasks(AdminConsoleTests.java:75)
> [testng] ... Removed 23 stack frames
> [testng] FAILED: testNavTree
> [testng] java.lang.AssertionError:
> BaseAdminConsoleTest.getUrlAndTestForString() failed. HTTP Status
> Code: 404
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrl(BaseAdminConsoleTest.java:193)
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings(BaseAdminConsoleTest.java:169)
>
> [testng] at
> test.admin.AdminConsoleTests.testNavTree(AdminConsoleTests.java:53)
> [testng] ... Removed 23 stack frames
> [testng] FAILED: testHeader
> [testng] java.lang.AssertionError:
> BaseAdminConsoleTest.getUrlAndTestForString() failed. HTTP Status
> Code: 404
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrl(BaseAdminConsoleTest.java:193)
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings(BaseAdminConsoleTest.java:169)
>
> [testng] at
> test.admin.AdminConsoleTests.testHeader(AdminConsoleTests.java:64)
> [testng] ... Removed 23 stack frames
> [testng] FAILED: testHelpPage
> [testng] java.lang.AssertionError:
> BaseAdminConsoleTest.getUrlAndTestForString() failed. HTTP Status
> Code: 404
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrl(BaseAdminConsoleTest.java:193)
> [testng] at
> test.admin.BaseAdminConsoleTest.getUrlAndTestForStrings(BaseAdminConsoleTest.java:169)
>
> [testng] at
> test.admin.AdminConsoleTests.testHelpPage(AdminConsoleTests.java:93)
> [testng] ... Removed 23 stack frames
>
> [testng] ===============================================
> [testng] adminconsole_tests
> [testng] Tests run: 6, Failures: 6, Skips: 0
> [testng] Configuration Failures: 1, Skips: 0
> [testng] ===============================================
>
>
> All other tests in QL are passing. There is no information in
> server.log. I have checked admingui separately and it seems to be
> functioning correctly. I am using a separate maven local repo for this
> workspace and I have set it in command line like this:
> mvn -Dmaven.repo.local=/space/ss141213/WS/gf/v3-prelude/maven2rep.
>
> Any clue what's going wrong here.
>
> 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
>