Build failed in Jenkins: Platform-IntegrationTests #2261

1 view
Skip to first unread message

Jenkins

unread,
Jun 24, 2016, 5:42:17 AM6/24/16
to motec...@googlegroups.com, mtok...@soldevelo.com, wstrz...@soldevelo.com
See <http://ci.motechproject.org/job/Platform-IntegrationTests/2261/changes>

Changes:

[Marek Tokarski] MOTECH-1269 Sets proper data after reverting history

------------------------------------------
[...truncated 11498 lines...]
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testNoReadAccess(org.motechproject.security.it.MotechURLSecurityServiceBundleIT) Time elapsed: 0.001 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework startup error occurred
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:123)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:96)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testHasReadAccess(org.motechproject.security.it.MotechURLSecurityServiceBundleIT) Time elapsed: 0 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework startup error occurred
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:123)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:96)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

testUpdateSecurity(org.motechproject.security.it.MotechURLSecurityServiceBundleIT) Time elapsed: 0.001 sec <<< ERROR!
org.ops4j.pax.exam.TestContainerException: Framework startup error occurred
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.waitForTestedBundle(MotechNativeTestContainer.java:123)
at org.motechproject.testing.osgi.container.MotechNativeTestContainer.call(MotechNativeTestContainer.java:96)
at org.ops4j.pax.exam.spi.reactors.SingletonStagedReactor.invoke(SingletonStagedReactor.java:114)
at org.ops4j.pax.exam.spi.reactors.PerSuiteStagedReactor.invoke(PerSuiteStagedReactor.java:47)
at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:264)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)

Running org.motechproject.security.it.WebSecurityIntegrationTests
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.151 sec - in org.motechproject.security.it.WebSecurityIntegrationTests

Results :

Tests in error:
RolesBundleIT.testThatRoleThatAllowsRoleManagementIsPresent ? TestContainer Fr...
RolesBundleIT.testThatAccessIsDeniedForUnAuthorisedUserTryingToViewRoles ? TestContainer
RolesBundleIT.testThatAccessIsDeniedForUnAuthorisedUserTryingToCreateRoles ? TestContainer
RolesBundleIT.testThatAccessIsDeniedForUnAuthorisedUserTryingToUpdateRoles ? TestContainer
RolesBundleIT.testThatAccessIsDeniedForUnAuthorisedUserTryingToDeleteRoles ? TestContainer
RolesBundleIT.testThatAuthorisedUserCanViewRoles ? TestContainer Framework sta...
RolesBundleIT.testThatAccessIsDeniedForUnAuthorisedUserTryingToViewPermissions ? TestContainer
RolesBundleIT.testThatAuthorisedUserCanViewPermissions ? TestContainer Framewo...
RolesBundleIT.testThatAccessIsDeniedForUnAuthorisedUserTryingToCreatePermission ? TestContainer
RolesBundleIT.testThatAccessIsDeniedForUnAuthorisedUserTryingToDeletePermission ? TestContainer
WebSecurityBundleIT.testDynamicPermissionAccessSecurity ? TestContainer Framew...
WebSecurityBundleIT.testDynamicUserAccessSecurity ? TestContainer Framework st...
WebSecurityBundleIT.testMethodSpecificSecurity ? TestContainer Framework start...
WebSecurityBundleIT.testWebSecurityServices ? TestContainer Framework startup ...
WebSecurityBundleIT.testProxyInitialization ? TestContainer Framework startup ...
WebSecurityBundleIT.testUpdatingProxyOnRestart ? TestContainer Framework start...
AllMotechPermissionsBundleIT.findByPermissionName ? TestContainer Framework st...
AllMotechPermissionsBundleIT.shouldNotCreateNewPermissionIfPermissionAlreadyExists ? TestContainer
AllMotechPermissionsBundleIT.shouldDeletePermissions ? TestContainer Framework...
AllMotechRolesBundleIT.findByUserName ? TestContainer Framework startup error ...
AllMotechRolesBundleIT.shouldNotCreateNewRoleIfRoleAlreadyExists ? TestContainer
AllMotechRolesBundleIT.editRole ? TestContainer Framework startup error occurr...
AllMotechRolesBundleIT.removeRole ? TestContainer Framework startup error occu...
AllMotechWebUsersBundleIT.findByUserName ? TestContainer Framework startup err...
AllMotechWebUsersBundleIT.findByUserNameShouldBeCaseInsensitive ? TestContainer
AllMotechWebUsersBundleIT.shouldNotCreateNewAccountIfUserAlreadyExists ? TestContainer
AllMotechWebUsersBundleIT.shouldListWebUsersByRole ? TestContainer Framework s...
AllMotechWebUsersBundleIT.shouldNotAllowDuplicateEmails ? TestContainer Framew...
AllMotechWebUsersBundleIT.findByUseridShouldReturnNullIfuserNameIsNull ? TestContainer
AllPasswordRecoveriesBundleIT.testFindForToken ? TestContainer Framework start...
AllPasswordRecoveriesBundleIT.testRemoveOldRecovery ? TestContainer Framework ...
AllPasswordRecoveriesBundleIT.testGetExpired ? TestContainer Framework startup...
AllPasswordRecoveriesBundleIT.testFindForUser ? TestContainer Framework startu...
MotechRoleServiceBundleIT.testCreate ? TestContainer Framework startup error o...
MotechRoleServiceBundleIT.testDelete ? TestContainer Framework startup error o...
MotechRoleServiceBundleIT.shouldNotDeleteNondeletableRole ? TestContainer Fram...
MotechRoleServiceBundleIT.shouldNotDeleteRoleWithUsers ? TestContainer Framewo...
MotechRoleServiceBundleIT.shouldRefreshMultipleSessionsOnRoleUpdates ? TestContainer
MotechUserServiceBundleIT.testRegister ? TestContainer Framework startup error...
MotechUserServiceBundleIT.shouldActivateUser ? TestContainer Framework startup...
MotechUserServiceBundleIT.shouldThrowExceptionIfUserNameIsEmptyForRegister ? TestContainer
MotechUserServiceBundleIT.shouldThrowExceptionIfUserNameIsEmptyForRegisterWithActiveInfo ? TestContainer
MotechUserServiceBundleIT.shouldThrowExceptionIfPasswordIsEmptyForRegister ? TestContainer
MotechUserServiceBundleIT.shouldThrowExceptionIfUserNameisNull ? TestContainer
MotechUserServiceBundleIT.shouldThrowExceptionWhenAddingMoreThanOneAdminUser ? TestContainer
MotechUserServiceBundleIT.shouldNotActivateInvalidUser ? TestContainer Framewo...
MotechUserServiceBundleIT.shouldCreateActiveUserByDefault ? TestContainer Fram...
MotechUserServiceBundleIT.shouldCreateBlockedUser ? TestContainer Framework st...
MotechUserServiceBundleIT.testPasswordEncoding ? TestContainer Framework start...
MotechUserServiceBundleIT.shouldChangePassword ? TestContainer Framework start...
MotechUserServiceBundleIT.shouldNotChangePasswordWithoutOldPassword ? TestContainer
MotechUserServiceBundleIT.hasUserShouldReturnTrueOnlyIfUserExists ? TestContainer
MotechUserServiceBundleIT.shouldReturnPresenceOfAdmin ? TestContainer Framewor...
MotechUserServiceBundleIT.shouldValidateUserCredentials ? TestContainer Framew...
MotechUserServiceBundleIT.shouldReturnEmptyListOfRolesForNonExistentUser ? TestContainer
MotechUserServiceBundleIT.shouldChangeExpiredPassword ? TestContainer Framewor...
MotechUserServiceBundleIT.shouldNotActivateUserWhenPasswordsAreTheSame ? TestContainer
SecurityRuleBuilderBundleIT.testShouldRequireMethodsSupported ? TestContainer ...
SecurityRuleBuilderBundleIT.testMinimalRequirements ? TestContainer Framework ...
SecurityRuleBuilderBundleIT.testShouldRequirePattern ? TestContainer Framework...
SecurityRuleBuilderBundleIT.testShouldRequireProtocol ? TestContainer Framewor...
SecurityRuleBuilderBundleIT.testShouldRequireSupportedScheme ? TestContainer F...
MotechProxyManagerBundleIT.testProxyHasDefaultSecurityChains ? TestContainer F...
AllMotechSecurityRulesBundleIT.testSavingConfig ? TestContainer Framework star...
MotechURLSecurityServiceBundleIT.testNoReadAccess ? TestContainer Framework st...
MotechURLSecurityServiceBundleIT.testHasReadAccess ? TestContainer Framework s...
MotechURLSecurityServiceBundleIT.testUpdateSecurity ? TestContainer Framework ...

Tests run: 80, Failures: 0, Errors: 67, Skipped: 0

[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-package-cycles) @ motech-platform-web-security ---
[INFO] Searching directory <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/classes> for package cycles.
[INFO]
[INFO] --- maven-failsafe-plugin:2.17:verify (verify) @ motech-platform-web-security ---
[INFO] Failsafe report directory: <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/failsafe-reports>
[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] MOTECH ............................................ SUCCESS [3.669s]
[INFO] MOTECH OSGi Platform .............................. SUCCESS [8.691s]
[INFO] MOTECH Platform Server API ........................ SUCCESS [2.883s]
[INFO] MOTECH Platform Commons API ....................... SUCCESS [2.268s]
[INFO] MOTECH Platform Commons Date ...................... SUCCESS [2.041s]
[INFO] MOTECH Pax Test Container ......................... SUCCESS [3.541s]
[INFO] MOTECH Testing Utils .............................. SUCCESS [3.098s]
[INFO] MOTECH Pax Testing ................................ SUCCESS [2.544s]
[INFO] MOTECH Core Config ................................ SUCCESS [8.462s]
[INFO] MOTECH Platform Commons SQL ....................... SUCCESS [6.115s]
[INFO] MOTECH Platform OSGi Extender Fragment ............ SUCCESS [1.668s]
[INFO] MOTECH OSGI Web Util .............................. SUCCESS [13.195s]
[INFO] MOTECH Platform Data Services Migration ........... SUCCESS [1.865s]
[INFO] MOTECH Platform Data Services ..................... SUCCESS [1:55.353s]
[INFO] MOTECH Platform Server Config ..................... SUCCESS [29.542s]
[INFO] MOTECH Platform Event ............................. SUCCESS [44.010s]
[INFO] MOTECH Scheduler Migration ........................ SUCCESS [1.371s]
[INFO] MOTECH Scheduler .................................. SUCCESS [1:21.516s]
[INFO] MOTECH OSGi Integration Tests ..................... SUCCESS [19.160s]
[INFO] MOTECH Web Security ............................... FAILURE [1:33.545s]
[INFO] MOTECH Platform Server Bundle ..................... SKIPPED
[INFO] MOTECH Platform Data Services Web ................. SKIPPED
[INFO] MOTECH Platform Email ............................. SKIPPED
[INFO] MOTECH Admin ...................................... SKIPPED
[INFO] Motech Tomcat IT .................................. SKIPPED
[INFO] MOTECH Platform Server ............................ SKIPPED
[INFO] MOTECH Tasks ...................................... SKIPPED
[INFO] MOTECH Tasks Test Utils ........................... SKIPPED
[INFO] MOTECH Tasks Test Bundle .......................... SKIPPED
[INFO] MOTECH Platform Data Services Test Bundle ......... SKIPPED
[INFO] MOTECH Platform Data Services Secondary Test Bundle SKIPPED
[INFO] MOTECH Platform Data Services Performance Tests ... SKIPPED
[INFO] MOTECH Platform Server WAR Test ................... SKIPPED
[INFO] MOTECH Minimal Bundle Archetype ................... SKIPPED
[INFO] MOTECH HTTP Bundle Archetype ...................... SKIPPED
[INFO] MOTECH Repository Bundle Archetype ................ SKIPPED
[INFO] MOTECH Settings Bundle Archetype .................. SKIPPED
[INFO] MOTECH Debian Packages ............................ SKIPPED
[INFO] MOTECH Base RPM package ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7:26.113s
[INFO] Finished at: Fri Jun 24 09:45:19 UTC 2016
[INFO] Final Memory: 100M/730M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.17:verify (verify) on project motech-platform-web-security: There are test failures.
[ERROR]
[ERROR] Please refer to <http://ci.motechproject.org/job/Platform-IntegrationTests/ws/platform/web-security/target/failsafe-reports> for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :motech-platform-web-security
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results

Jenkins

unread,
Jun 24, 2016, 9:31:31 AM6/24/16
to motec...@googlegroups.com, 1stma...@gmail.com, mtok...@soldevelo.com, wstrz...@soldevelo.com
Reply all
Reply to author
Forward
0 new messages