You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2013/05/21 18:07:16 UTC

[jira] [Created] (SLING-2876) Integration tests fail in large numbers following changes for SLING-2869

Robert Munteanu created SLING-2876:
--------------------------------------

             Summary: Integration tests fail in large numbers following changes for SLING-2869
                 Key: SLING-2876
                 URL: https://issues.apache.org/jira/browse/SLING-2876
             Project: Sling
          Issue Type: Bug
          Components: Testing
            Reporter: Robert Munteanu
            Priority: Critical


To minimize the time needed, I have executed mvn clean install in just the launchpad/testing module ( after rebuilding the launchpad ).

Test results with current trunk at revision 1484769:

Failed tests:   testModifyAceForUser(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testModifyAceForGroup(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testMergeAceForUser(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testMergeAceForUserSplitAggregatePrincipal(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testMergeAceForUserCombineAggregatePrivilege(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testMergeAceForUserDenyPrivilegeAfterGrantPrivilege(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testAddAceOrderByFirst(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testAddAceOrderByLast(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testAddAceOrderByBefore(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testAddAceOrderByAfter(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testAddAceOrderByNumeric(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testUpdateAcePreservePosition(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testModifyAceResponseAsJSON(org.apache.sling.launchpad.webapp.integrationtest.accessManager.ModifyAceTest): expected:<200> but was:<500>
  testDeniedWriteForUser(org.apache.sling.launchpad.webapp.integrationtest.accessManager.PrivilegesInfoTest): expected:<200> but was:<500>
  testGrantedWriteForUser(org.apache.sling.launchpad.webapp.integrationtest.accessManager.PrivilegesInfoTest): expected:<200> but was:<500>
  testDeniedWriteForGroup(org.apache.sling.launchpad.webapp.integrationtest.accessManager.PrivilegesInfoTest): expected:<200> but was:<500>
  testGrantedWriteForGroup(org.apache.sling.launchpad.webapp.integrationtest.accessManager.PrivilegesInfoTest): expected:<200> but was:<500>
  testSLING_1090(org.apache.sling.launchpad.webapp.integrationtest.accessManager.PrivilegesInfoTest): expected:<200> but was:<500>
  testDelete(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletDeleteTest): Delete must return expected status (3) expected:<200> but was:<500>
  testDeleteMultiple(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletDeleteTest): Delete must return expected status (3) expected:<200> but was:<500>
  testDeleteAllChildren(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletDeleteTest): Delete must return expected status expected:<200> but was:<500>
  testDeleteAllChildrenByPath(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletDeleteTest): Delete must return expected status expected:<200> but was:<500>
  testDeleteAllChildrenOfSubNode(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletDeleteTest): Delete must return expected status expected:<200> but was:<500>
  testDeleteOnly(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletAtDeleteTest): http://localhost:39898/sling-tests/PostServletAtDeleteTest/1369152220354/some_value must be deleted expected:<200> but was:<500>
  testDeleteWithModify(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletAtDeleteTest): http://localhost:39898/sling-tests/PostServletAtDeleteTest/1369152220399/some_value must be deleted expected:<200> but was:<500>
  test_500_errorhandling(org.apache.sling.launchpad.webapp.integrationtest.servlets.resolver.errorhandler.ErrorHandlingTest): Content does not contain 'Internal Server Error (500) - custom error page' (content=<!--(..)
  testCopyNodeAbsoluteBelowDest(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Failure (dest must exist) expected:<412> but was:<500>
  testCopyNodeMultipleSourceValid(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Failure: dest parent does not exist expected:<412> but was:<500>
  testCopyNodeMultipleSourceInValid(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Failure (dest already exists) expected:<412> but was:<500>
  testCopyNodeMultipleSourcePartial(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Failure: dest parent does not exist expected:<412> but was:<500>
  testCopyNodeMultipleSourceReplace(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Failure: dest parent does not exist expected:<412> but was:<500>
  testCopyAllChildren(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Success expected:<200> but was:<500>
  testCopyAllChildrenByPath(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Success expected:<200> but was:<500>
  testCopyAllChildrenOfSubNode(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expecting Copy Success expected:<200> but was:<500>
  testMoveNodeAbsoluteBelowDest(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Failure (dest must exist) expected:<412> but was:<500>
  testMoveNodeMultipleSourceValid(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Failure: dest parent does not exist expected:<412> but was:<500>
  testMoveNodeMultipleSourceInValid(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Failure (dest already exists) expected:<412> but was:<500>
  testMoveNodeMultipleSourcePartial(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Failure: dest parent does not exist expected:<412> but was:<500>
  testMoveNodeMultipleSourceReplace(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Failure: dest parent does not exist expected:<412> but was:<500>
  testMoveAllChildren(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Success expected:<200> but was:<500>
  testMoveAllChildrenByPath(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Success expected:<200> but was:<500>
  testMoveAllChildrenOfSubNode(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expecting Move Success expected:<200> but was:<500>
  testRemoveAce(org.apache.sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest): expected:<200> but was:<500>
  testRemoveAces(org.apache.sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest): expected:<200> but was:<500>
  testRemoveAcesResponseAsJSON(org.apache.sling.launchpad.webapp.integrationtest.accessManager.RemoveAcesTest): expected:<200> but was:<500>
  testDefault(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletNopTest): expected:<200> but was:<500>
  testStatus200(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletNopTest): expected:<200> but was:<500>
  testStatus708(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletNopTest): expected:<708> but was:<500>
  testStatus88(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletNopTest): expected:<200> but was:<500>
  testStatus1234(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletNopTest): expected:<200> but was:<500>
  testStatusNonNumeric(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletNopTest): expected:<200> but was:<500>
  testRedirectOnPathWithExtension(org.apache.sling.launchpad.webapp.integrationtest.VanityPathTest): Could not move created node from http://localhost:39898/VanityPathTest_1369152235240/101_1369152235242 expected:<201> but was:<500>

Tests in error: 
  testEffectiveAclForUser(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testEffectiveAclMergeForUser_ReplacePrivilegeOnChild(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testEffectiveAclMergeForUser_FewerPrivilegesGrantedOnChild(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testEffectiveAclMergeForUser_MorePrivilegesGrantedOnChild(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testEffectiveAclMergeForUser_SubsetOfPrivilegesDeniedOnChild(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testEffectiveAclMergeForUser_SubsetOfPrivilegesDeniedOnChild2(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testEffectiveAclMergeForUser_SupersetOfPrivilegesDeniedOnChild(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testEffectiveAclMergeForUser_SupersetOfPrivilegesDeniedOnChild2(org.apache.sling.launchpad.webapp.integrationtest.accessManager.GetAclTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests, Content=[<html>(..)
  testImportReplace(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportReplaceProperties(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportCheckinNodes(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportAutoCheckoutNodes(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportJSONFromFile(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportJSONFromFileWithoutOptionalName(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportJSONFromRequestParam(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportJSONFromRequestParamWithoutOptionalName(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportXMLFromFile(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportXMLFromFileWithoutOptionalName(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportXMLFromRequestParam(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportXMLFromRequestParamWithoutOptionalName(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportZipFromFile(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportJarFromFile(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportJCRXMLFromFile(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportNodeWithExactName(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportNodeWithAlreadyUsedExactName(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testImportJSONWithUTF8Content(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletImportTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-import-tests, Content=[<html>(..)
  testCopyNodeAbsolute(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-copy-tests/abs/1369152225748/src, Content=[<html>(..)
  testCopyNodeRelative(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-copy-tests/rel/1369152225760/src, Content=[<html>(..)
  testCopyNodeExistingReplace(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-copy-tests/replace/1369152225771/src, Content=[<html>(..)
  testCopySibling(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletCopyTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-copy-tests/csp/1369152225837/a/1, Content=[<html>(..)
  testMoveNodeAbsolute(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-move-tests/abs/1369152226392/src, Content=[<html>(..)
  testMoveNodeRelative(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-move-tests/rel/1369152226412/src, Content=[<html>(..)
  testMoveNodeExistingReplace(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-move-tests/replace/1369152226442/src, Content=[<html>(..)
  testMoveAtRoot(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletMoveTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/PostServletMoveTest_A, Content=[<html>(..)
  testCheckingInACheckOutNode(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests/1369152227841/84_1369152227843, Content=[<html>(..)
  testCheckingOutACheckedInNode(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests/1369152227867/85_1369152227870, Content=[<html>(..)
  testCheckingOutAnAlreadyCheckedOutNodeIsANoOp(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests/1369152227900/86_1369152227902, Content=[<html>(..)
  testCheckingInAnAlreadyCheckedInNodeIsANoOp(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests/1369152227922/87_1369152227924, Content=[<html>(..)
  testDeletingChildNodeOfACheckedInNodeByOp(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests/1369152228007/89_1369152228010/child, Content=[<html>(..)
  testMovingAChildNodeOfACheckedInNodeToACheckedInNodeByOp(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests/abs/1369152228798/src/child, Content=[<html>(..)
  testCopyingANodeToACheckedInNodeByOp(org.apache.sling.launchpad.webapp.integrationtest.servlets.post.PostServletVersionableTest): Expected status code 302 for POST, got 200, URL=http://localhost:39898/sling-tests/abs/1369152228880/src/child, Content=[<html>(..)

Test results for current trunk after reverting revision 1481919:

Results :

Failed tests:   test_500_errorhandling(org.apache.sling.launchpad.webapp.integrationtest.servlets.resolver.errorhandler.ErrorHandlingTest): Content does not contain 'Internal Server Error (500) - custom error page' (content=<!--(..)

Tests in error: 
  test_401_errorhandling(org.apache.sling.launchpad.webapp.integrationtest.servlets.resolver.errorhandler.ErrorHandlingTest): mkdir(http://localhost:45089/apps) failed, status code=503


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira