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

Flaky tests TestCoordActionsKillXCommand.testActionKillCommandActionNumbers and testActionKillCommandDate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.3.0
    • tests
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: