Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13613

file-amster-tests fail - 500 Internal Server Errors ++

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 6.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Bug description

      The File Based Config tests fail to complete
      Many of the tests fail with a 500 Internal Server Error

      How to reproduce the issue

      Observe the results for the PR build for

      Expected behaviour

      The test results for both LDAP and File Based config are the same

      Current behaviour

      Many of the tests fail with a 500 Internal Server Error e.g.

      21:45:28     when a realm service OAuth2Provider is created
      21:45:28 Failed to execute the 'create' command. 500 Internal Server Error: Unable to create SMS config: Organization does not exist: o=realm-0ykqjivqtphsbjs,ou=services,dc=localtest,dc=me
      
      21:52:34 Failed to import /root/workspace/ter_OpenAM-Pipeline_PR-5890-TDOC5JRXZS5DYFUUCF3DADOOLO52YAADHYZDFPS7BOH62OWZINOA/tests/openam-shell-tests/target/tmp/amster-export/realms/root-Realm-Ph4caHFSCRZJwx9/AnonymousModule/AnonymousModule.json  : 500 Internal Server Error: Unable to create SMS config: Organization does not exist: o=realm-ph4cahfscrzjwx9,ou=services,dc=localtest,dc=me
      
      22:02:18     Test Amster import and export of Agent Groups
      22:02:19       when creating objects in OpenAM from json files
      22:02:19         when exporting OpenAM using Amster
      22:02:20 ---------------------------------------------------------------------
      22:02:20    EXPORT ERRORS
      22:02:20 ---------------------------------------------------------------------
      22:02:20 Failed to export /root/workspace/ter_OpenAM-Pipeline_PR-5890-TDOC5JRXZS5DYFUUCF3DADOOLO52YAADHYZDFPS7BOH62OWZINOA/tests/openam-shell-tests/target/tmp/amster-export/global/Realms  : 500 Internal Server Error: Internal Server Error
      22:02:20           when importing OpenAM using Amster
      22:02:21 Importing directory /root/workspace/ter_OpenAM-Pipeline_PR-5890-TDOC5JRXZS5DYFUUCF3DADOOLO52YAADHYZDFPS7BOH62OWZINOA/tests/openam-shell-tests/target/tmp/amster-export
      22:02:21 Import completed successfully
      22:02:21             when created json from CREST read
      22:02:21               153) has the same content as the initial J2EEAgentGroups json file
      

      The File Based Config tests fail to complete ? when testing ValidationService

      22:09:17             when created json from CREST read
      22:09:17               237) has the same content as the initial UserSelfService json file
      22:09:18     Test Amster import and export of Services
      22:09:19       when creating objects in OpenAM from json files
      22:09:20         when exporting OpenAM using Amster
      22:09:20 ---------------------------------------------------------------------
      22:09:20    EXPORT ERRORS
      22:09:20 ---------------------------------------------------------------------
      22:09:20 Failed to export /root/workspace/ter_OpenAM-Pipeline_PR-5890-TDOC5JRXZS5DYFUUCF3DADOOLO52YAADHYZDFPS7BOH62OWZINOA/tests/openam-shell-tests/target/tmp/amster-export/global/Realms  : 500 Internal Server Error: Internal Server Error
      22:09:21           when importing OpenAM using Amster
      22:09:22 Importing directory /root/workspace/ter_OpenAM-Pipeline_PR-5890-TDOC5JRXZS5DYFUUCF3DADOOLO52YAADHYZDFPS7BOH62OWZINOA/tests/openam-shell-tests/target/tmp/amster-export
      22:09:22 Import completed successfully
      22:09:22             when created json from CREST read
      22:09:22               238) has the same content as the initial ValidationService json file
      22:09:24 Exception in thread "Thread-4" java.lang.AssertionError: Could not destroy session for fPSmJAqeC2WdwlsITXkDBWmZJYo.*AAJTSQACMDEAAlNLABxEM1RmcHZKb05PczBMQzhwKzlLZ0tMWkVsOTg9AAR0eXBlAANDVFMAAlMxAAA.*
      22:09:24 	at com.forgerock.openam.functionaltest.deployment.implementations.AdminTokenManager.deleteSession(AdminTokenManager.java:127)
      22:09:24 	at com.forgerock.openam.functionaltest.deployment.implementations.AdminTokenManager.lambda$authenticate$1(AdminTokenManager.java:112)
      22:09:24 	at com.forgerock.openam.functionaltest.commands.Command$1.execute(Command.java:51)
      22:09:24 	at com.forgerock.openam.functionaltest.commands.ConfigManager.revert(ConfigManager.java:93)
      22:09:24 	at com.forgerock.openam.functionaltest.commands.ConfigManager.revertAll(ConfigManager.java:110)
      22:09:24 	at com.forgerock.openam.functionaltest.commands.ConfigManager$1.run(ConfigManager.java:67)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              AndrewVinall Andrew Vinall
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: