gatein_portal_trunk_oraclejdk1.7 #9: Still Unstable
985 tests 9 failure(s) / +1
9 tests failed.
FAILED: org.exoplatform.services.organization.TestOrganizationService.testUserPageSize
Error Message:
expected:<16> but was:<17>
Stack Trace:
junit.framework.AssertionFailedError: expected:<16> but was:<17>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at junit.framework.Assert.assertEquals(Assert.java:204)
at
org.exoplatform.services.organization.TestOrganizationService.testUserPageSize(TestOrganizationService.java:168)
FAILED: org.exoplatform.services.organization.TestOrganizationService.testUser
Error Message:
expected:<2> but was:<3>
Stack Trace:
junit.framework.AssertionFailedError: expected:<2> but was:<3>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at junit.framework.Assert.assertEquals(Assert.java:204)
at
org.exoplatform.services.organization.TestOrganizationService.testUser(TestOrganizationService.java:211)
FAILED: org.exoplatform.services.organization.TestOrganizationService.testFindUsers
Error Message:
expected:<3> but was:<4>
Stack Trace:
junit.framework.AssertionFailedError: expected:<3> but was:<4>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at junit.framework.Assert.assertEquals(Assert.java:204)
at
org.exoplatform.services.organization.TestOrganizationService.testFindUsers(TestOrganizationService.java:271)
REGRESSION:
org.exoplatform.portal.config.TestUserPortalConfigService.testCreateUserPortalConfig
Error Message:
expected to have 5 navigations instead of
{group::/test/normalized=UserNavigation[key=SiteKey[type=GROUP,name=/test/normalized]],
group::/platform/users=UserNavigation[key=SiteKey[type=GROUP,name=/platform/users]],
portal::jazz=UserNavigation[key=SiteKey[type=PORTAL,name=jazz]],
group::/organization/management/executive-board=UserNavigation[key=SiteKey[type=GROUP,name=/organization/management/executive-board]],
group::/test/legacy=UserNavigation[key=SiteKey[type=GROUP,name=/test/legacy]],
user::root=UserNavigation[key=SiteKey[type=USER,name=root]],
group::/platform/administrators=UserNavigation[key=SiteKey[type=GROUP,name=/platform/administrators]]}
expected:<5> but was:<7>
Stack Trace:
junit.framework.AssertionFailedError: expected to have 5 navigations instead of
{group::/test/normalized=UserNavigation[key=SiteKey[type=GROUP,name=/test/normalized]],
group::/platform/users=UserNavigation[key=SiteKey[type=GROUP,name=/platform/users]],
portal::jazz=UserNavigation[key=SiteKey[type=PORTAL,name=jazz]],
group::/organization/management/executive-board=UserNavigation[key=SiteKey[type=GROUP,name=/organization/management/executive-board]],
group::/test/legacy=UserNavigation[key=SiteKey[type=GROUP,name=/test/legacy]],
user::root=UserNavigation[key=SiteKey[type=USER,name=root]],
group::/platform/administrators=UserNavigation[key=SiteKey[type=GROUP,name=/platform/administrators]]}
expected:<5> but was:<7>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at
org.exoplatform.portal.config.TestUserPortalConfigService$8.execute(TestUserPortalConfigService.java:313)
at
org.exoplatform.portal.config.TestUserPortalConfigService$UnitTest.execute(TestUserPortalConfigService.java:833)
at
org.exoplatform.portal.config.TestUserPortalConfigService.testCreateUserPortalConfig(TestUserPortalConfigService.java:299)
REGRESSION:
org.exoplatform.portal.config.TestUserPortalConfigService.testRootGetUserPortalConfig
Error Message:
expected to have 5 navigations instead of
{group::/test/normalized=UserNavigation[key=SiteKey[type=GROUP,name=/test/normalized]],
group::/platform/users=UserNavigation[key=SiteKey[type=GROUP,name=/platform/users]],
group::/organization/management/executive-board=UserNavigation[key=SiteKey[type=GROUP,name=/organization/management/executive-board]],
group::/test/legacy=UserNavigation[key=SiteKey[type=GROUP,name=/test/legacy]],
portal::classic=UserNavigation[key=SiteKey[type=PORTAL,name=classic]],
user::root=UserNavigation[key=SiteKey[type=USER,name=root]],
group::/platform/administrators=UserNavigation[key=SiteKey[type=GROUP,name=/platform/administrators]]}
expected:<5> but was:<7>
Stack Trace:
junit.framework.AssertionFailedError: expected to have 5 navigations instead of
{group::/test/normalized=UserNavigation[key=SiteKey[type=GROUP,name=/test/normalized]],
group::/platform/users=UserNavigation[key=SiteKey[type=GROUP,name=/platform/users]],
group::/organization/management/executive-board=UserNavigation[key=SiteKey[type=GROUP,name=/organization/management/executive-board]],
group::/test/legacy=UserNavigation[key=SiteKey[type=GROUP,name=/test/legacy]],
portal::classic=UserNavigation[key=SiteKey[type=PORTAL,name=classic]],
user::root=UserNavigation[key=SiteKey[type=USER,name=root]],
group::/platform/administrators=UserNavigation[key=SiteKey[type=GROUP,name=/platform/administrators]]}
expected:<5> but was:<7>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at
org.exoplatform.portal.config.TestUserPortalConfigService$3.execute(TestUserPortalConfigService.java:200)
at
org.exoplatform.portal.config.TestUserPortalConfigService$UnitTest.execute(TestUserPortalConfigService.java:833)
at
org.exoplatform.portal.config.TestUserPortalConfigService.testRootGetUserPortalConfig(TestUserPortalConfigService.java:187)
REGRESSION:
org.exoplatform.portal.config.TestUserPortalConfigService.testNavigationOrder
Error Message:
expected to have 5 navigations instead of
[UserNavigation[key=SiteKey[type=PORTAL,name=classic]],
UserNavigation[key=SiteKey[type=GROUP,name=/platform/administrators]],
UserNavigation[key=SiteKey[type=USER,name=root]],
UserNavigation[key=SiteKey[type=GROUP,name=/organization/management/executive-board]],
UserNavigation[key=SiteKey[type=GROUP,name=/platform/users]],
UserNavigation[key=SiteKey[type=GROUP,name=/test/legacy]],
UserNavigation[key=SiteKey[type=GROUP,name=/test/normalized]]] expected:<5> but
was:<7>
Stack Trace:
junit.framework.AssertionFailedError: expected to have 5 navigations instead of
[UserNavigation[key=SiteKey[type=PORTAL,name=classic]],
UserNavigation[key=SiteKey[type=GROUP,name=/platform/administrators]],
UserNavigation[key=SiteKey[type=USER,name=root]],
UserNavigation[key=SiteKey[type=GROUP,name=/organization/management/executive-board]],
UserNavigation[key=SiteKey[type=GROUP,name=/platform/users]],
UserNavigation[key=SiteKey[type=GROUP,name=/test/legacy]],
UserNavigation[key=SiteKey[type=GROUP,name=/test/normalized]]] expected:<5> but
was:<7>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at
org.exoplatform.portal.config.TestUserPortalConfigService$7.execute(TestUserPortalConfigService.java:287)
at
org.exoplatform.portal.config.TestUserPortalConfigService$UnitTest.execute(TestUserPortalConfigService.java:833)
at
org.exoplatform.portal.config.TestUserPortalConfigService.testNavigationOrder(TestUserPortalConfigService.java:280)
FAILED: org.exoplatform.portal.mop.navigation.TestNavigationService.testLoadNavigations
Error Message:
expected:<3> but was:<9>
Stack Trace:
junit.framework.AssertionFailedError: expected:<3> but was:<9>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:198)
at junit.framework.Assert.assertEquals(Assert.java:204)
at
org.exoplatform.portal.mop.navigation.TestNavigationService.testLoadNavigations(TestNavigationService.java:52)
REGRESSION: org.exoplatform.portal.mop.user.TestUserPortal.testRefreshNavigations
Error Message:
expected:<null> but
was:<UserNavigation[key=SiteKey[type=GROUP,name=/organization/management]]>
Stack Trace:
junit.framework.AssertionFailedError: expected:<null> but
was:<UserNavigation[key=SiteKey[type=GROUP,name=/organization/management]]>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:280)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at org.exoplatform.portal.mop.user.TestUserPortal$4.doExecute(TestUserPortal.java:255)
at
org.exoplatform.portal.mop.user.TestUserPortal$UnitTest.execute(TestUserPortal.java:1686)
at
org.exoplatform.portal.mop.user.TestUserPortal.testRefreshNavigations(TestUserPortal.java:263)
FAILED: org.exoplatform.portal.mop.navigation.TestNavigationServiceUpdate.testHasChanges
Error Message:
No null navigation accepted
Stack Trace:
java.lang.NullPointerException: No null navigation accepted
at
org.exoplatform.portal.mop.navigation.NavigationServiceImpl.loadNode(NavigationServiceImpl.java:230)
at
org.exoplatform.portal.mop.navigation.TestNavigationServiceUpdate.testHasChanges(TestNavigationServiceUpdate.java:67)
Changes for Build #8
[marko.strukelj] GTNPORTAL-2458 Add unit test for token services
Changes for Build #9
[marko.strukelj] GTNPORTAL-2458 Fix some bugs for GadgetTokenInfoService
[marko.strukelj] GTNPORTAL-2532 Added dependency needed for MailService to work on AS7
[marko.strukelj] GTNPORTAL-2540: Improve performance of getNavigation method in
UserPortalImpl as current user is root
[marko.strukelj] GTNPORTAL-2541: Improve performance of getNavigations() method in
UserPortalImpl as current user is root
[marko.strukelj] GTNPORTAL-2545: extract Guava as reusable AS module.
Public URL:
https://hudson.jboss.org/hudson/job/gatein_portal_trunk_oraclejdk1.7/9
Private URL:
http://hudson.qa.jboss.com/hudson/job/gatein_portal_trunk_oraclejdk1.7/9/