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 Bug Fix
    • Status: Closed Closed
    • Priority: Major 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
    • Similar issues:
      KULRICE-13327IT Failure PostProcessorTest in CI, passes locally
      KULRICE-8625KRMS RepositoryCreateAndExecuteIntegrationTest fails with NPE in CI passes locally
      KULRICE-8624NaturalLanguageTemplateIntegrationGenTest.test_createNaturalLanguageTemplate_fail_existing fails in CI but passes locally.
      KULRICE-13556AFT Failures in CI that pass locally
      KULRICE-9285AccountManagerMaintenanceDocumentTest fails with NPE locally and in CI with unable to get class for unknown documentTypeName 'AccountManagerMaintenanceDocument'
      KULRICE-4523Verify all CI tests are passing for 1.0.3
      KULRICE-13363Certain AFT tests fail in CI on focus/blur due to lack of page focus when the test is run
      KULRICE-8636fix failing KRMS tests in trunk
      KULRICE-4116CI test are failing intermittently
      KULRICE-9286KualiInquirableTest fails in CI with An inquiry URL to AccountManager should be built
    • 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

      Activity

      Hide
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      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
      Shannon Hess added a comment - - edited

      The remaining failing tests in 2.3 & 2.1:

      • ExceptionRetryCountTest.testRetryCount (ORACLE ONLY)
      • StyleXmlExporterTest.testExport
      Show
      Shannon Hess added a comment - - edited The remaining failing tests in 2.3 & 2.1: ExceptionRetryCountTest.testRetryCount (ORACLE ONLY) StyleXmlExporterTest.testExport
      Hide
      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
      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:
          Shannon Hess
          Reporter:
          Shannon Hess
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Agile

              Structure Helper Panel