Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-14255

StyleXmlExporterTest, PersonServiceImplTest, & Others are all passing locally but failing in CI

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.7, 2.1.10
    • Fix Version/s: 2.6, 2.5.4, 2.1.11, 2.3.8
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Team:
      Middleware
    • Sprint:
      Rice Sprint 2015-05-13
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Include in Release Notes?:
      Yes
    • Story Points:
      1

      Attachments

        Activity

        Hide
        shahess Shannon Hess added a comment -

        Failing for 2.3 in CI:
        org.kuali.rice.kew.role.RoleRouteModuleTest.testRoleDelegate
        org.kuali.rice.kew.role.RoleRouteModuleTest.testRoleDelegateApproval
        org.kuali.rice.kew.xml.export.StyleXmlExporterTest.testExport
        org.kuali.rice.kim.test.service.PersonServiceImplTest.testFindPeopleByWildcard
        org.kuali.rice.ksb.messaging.exceptionhandling.ExceptionMessagingTest.testTimeToLive

        Show
        shahess Shannon Hess added a comment - Failing for 2.3 in CI: org.kuali.rice.kew.role.RoleRouteModuleTest.testRoleDelegate org.kuali.rice.kew.role.RoleRouteModuleTest.testRoleDelegateApproval org.kuali.rice.kew.xml.export.StyleXmlExporterTest.testExport org.kuali.rice.kim.test.service.PersonServiceImplTest.testFindPeopleByWildcard org.kuali.rice.ksb.messaging.exceptionhandling.ExceptionMessagingTest.testTimeToLive
        Hide
        shahess Shannon Hess added a comment - - edited
        • For PersonServiceImplTest, I changed a line in UiDocumentServiceImplTest since it was causing PersonServiceImplTest.testFindPeopleByWildcard to fail if iDocumentServiceImplTest.testSaveToEntity ran before it in CI.
        • For RoleRouteModuleTest, the wrong sequence was being used to create role members. (KRIM_ROLE_ID_S instead of KRIM_ROLE_MBR_ID_S). I was able to recreate the error if I adjusted the KRIM_ROLE_ID_S to interfere with the already existing items on the KRIM_ROLE_MBR_T.

        Pull request for 2.3 for PersonServiceImplTest.testFindPeopleByWildcard and RoleRouteModuleTest errors - https://github.com/kuali/rice/pull/165

        Show
        shahess Shannon Hess added a comment - - edited For PersonServiceImplTest, I changed a line in UiDocumentServiceImplTest since it was causing PersonServiceImplTest.testFindPeopleByWildcard to fail if iDocumentServiceImplTest.testSaveToEntity ran before it in CI. For RoleRouteModuleTest, the wrong sequence was being used to create role members. (KRIM_ROLE_ID_S instead of KRIM_ROLE_MBR_ID_S). I was able to recreate the error if I adjusted the KRIM_ROLE_ID_S to interfere with the already existing items on the KRIM_ROLE_MBR_T. Pull request for 2.3 for PersonServiceImplTest.testFindPeopleByWildcard and RoleRouteModuleTest errors - https://github.com/kuali/rice/pull/165
        Hide
        shahess Shannon Hess added a comment -

        Since I had to search for this for a bit, here are the statements I used to alter the sequence. (to replicate error seen in RoleRouteModuleTest)

        select KRIM_ROLE_ID_S.nextval from dual
        /
        alter sequence KRIM_ROLE_ID_S increment by -10
        /
        select KRIM_ROLE_MBR_ID_S.nextval from dual
        /
        alter sequence KRIM_ROLE_ID_S increment by 1
        /

        Show
        shahess Shannon Hess added a comment - Since I had to search for this for a bit, here are the statements I used to alter the sequence. (to replicate error seen in RoleRouteModuleTest) select KRIM_ROLE_ID_S.nextval from dual / alter sequence KRIM_ROLE_ID_S increment by -10 / select KRIM_ROLE_MBR_ID_S.nextval from dual / alter sequence KRIM_ROLE_ID_S increment by 1 /
        Hide
        shahess Shannon Hess added a comment -

        So far, I have not been able to reproduce or determine what is causing the problem in the following 2.3 tests:

        • org.kuali.rice.ksb.messaging.exceptionhandling.ExceptionMessagingTest.testTimeToLive
        • org.kuali.rice.kew.xml.export.StyleXmlExporterTest.testExport
        Show
        shahess Shannon Hess added a comment - So far, I have not been able to reproduce or determine what is causing the problem in the following 2.3 tests: org.kuali.rice.ksb.messaging.exceptionhandling.ExceptionMessagingTest.testTimeToLive org.kuali.rice.kew.xml.export.StyleXmlExporterTest.testExport
        Hide
        shahess Shannon Hess added a comment -

        2.1 Failures:

        • In HierachyRoutingNodeTest.java, the test is failing trying to clear the database tables before the test runs with a
          "resource busy and acquire with NOWAIT specified or timeout expired" error. ( in ClearDatabaseLifecycle.start when clearTables is called).
          This code is called for many of the tests so I'm not able to determine why it is causing an issue for this one particular test.
        • In ExceptionRetyCountTest.java, the failure is due to the same problem as seen in
          ExceptionMessagingTest.testTimeToLive on 2.3; I'm not able to
          reproduce either one of these
        Show
        shahess Shannon Hess added a comment - 2.1 Failures: In HierachyRoutingNodeTest.java, the test is failing trying to clear the database tables before the test runs with a "resource busy and acquire with NOWAIT specified or timeout expired" error. ( in ClearDatabaseLifecycle.start when clearTables is called). This code is called for many of the tests so I'm not able to determine why it is causing an issue for this one particular test. In ExceptionRetyCountTest.java, the failure is due to the same problem as seen in ExceptionMessagingTest.testTimeToLive on 2.3; I'm not able to reproduce either one of these
        Hide
        shahess Shannon Hess added a comment -

        I applied the changes made to PersonServiceImplTest and RoleRouteModuleTest to 2.5 and 2.6 so the errors do not occur in the future.

        2.1 : https://github.com/kuali/rice/pull/175
        2.3 : https://github.com/kuali/rice/pull/165
        2.5 : https://github.com/kuali/rice/pull/176
        2.6 : https://github.com/kuali/rice/pull/177

        Show
        shahess Shannon Hess added a comment - I applied the changes made to PersonServiceImplTest and RoleRouteModuleTest to 2.5 and 2.6 so the errors do not occur in the future. 2.1 : https://github.com/kuali/rice/pull/175 2.3 : https://github.com/kuali/rice/pull/165 2.5 : https://github.com/kuali/rice/pull/176 2.6 : https://github.com/kuali/rice/pull/177
        Hide
        shahess Shannon Hess added a comment - - edited

        The remaining failing tests in 2.3 & 2.1:

        • ExceptionRetryCountTest.testRetryCount (ORACLE ONLY)
        • StyleXmlExporterTest.testExport
        Show
        shahess Shannon Hess added a comment - - edited The remaining failing tests in 2.3 & 2.1: ExceptionRetryCountTest.testRetryCount (ORACLE ONLY) StyleXmlExporterTest.testExport
        Hide
        shahess Shannon Hess added a comment -

        Going ahead and closing this issue since the remaining tests are only failing in CI and they are only failing in the 2.1 and 2.3 jobs. (Not failing in 2.5 or 2.6).

        Show
        shahess Shannon Hess added a comment - Going ahead and closing this issue since the remaining tests are only failing in CI and they are only failing in the 2.1 and 2.3 jobs. (Not failing in 2.5 or 2.6).

          People

          • Assignee:
            shahess Shannon Hess
            Reporter:
            shahess Shannon Hess
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: