Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2615

Flaky tests TestCoordActionsKillXCommand.testActionKillCommandActionNumbers and testActionKillCommandDate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.0
    • Component/s: tests
    • Labels:
      None

      Description

      Two test cases are unstable because StatusTransitService might change the coord job status.

      testActionKillCommandDate
      08:15:16,122 [pool-3063-thread-2] TRACE CoordStatusTransitXCommand:529 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081515125-oozie-root-C] ACTION[-] Precondition check for command [coord_status_transit] key [0000000-160708081515125-oozie-root-C]
      08:15:16,122 [pool-3063-thread-2] DEBUG CoordStatusTransitXCommand:526 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081515125-oozie-root-C] ACTION[-] Execute command [coord_status_transit] key [0000000-160708081515125-oozie-root-C]
      08:15:16,122 [pool-3063-thread-2]  INFO CoordStatusTransitXCommand:520 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081515125-oozie-root-C] ACTION[-] Set coordinator job [0000000-160708081515125-oozie-root-C] status to 'KILLED' from 'RUNNING'
      
      testActionKillCommandActionNumbers
      08:15:13,886 [pool-3059-thread-2] TRACE CoordStatusTransitXCommand:529 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081512561-oozie-root-C] ACTION[-] Precondition check for command [coord_status_transit] key [0000000-160708081512561-oozie-root-C]
      08:15:13,886 [pool-3059-thread-2] DEBUG CoordStatusTransitXCommand:526 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081512561-oozie-root-C] ACTION[-] Execute command [coord_status_transit] key [0000000-160708081512561-oozie-root-C]
      08:15:13,886 [pool-3059-thread-2]  INFO CoordStatusTransitXCommand:520 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-160708081512561-oozie-root-C] ACTION[-] Set coordinator job [0000000-160708081512561-oozie-root-C] status to 'RUNNINGWITHERROR' from 'RUNNING'
      

        Attachments

        1. OOZIE-2615-001.patch
          1 kB
          Peter Bacsko
        2. OOZIE-2615-002.patch
          0.8 kB
          Peter Bacsko

          Activity

            People

            • Assignee:
              pbacsko Peter Bacsko
              Reporter:
              pbacsko Peter Bacsko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: