Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2972 Umbrella ticket for test failures in 0.11/trunk
  3. PIG-3001

TestExecutableManager.testAddJobConfToEnv fails randomly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.11
    • None
    • None

    Description

      The test in the Summary fails intermittently.
      This is due to using a random number generator without seeding it.
      We should avoid stochastic tests.
      Furthermore, the test itself is ill conceived.

      Here the failure summary:

      12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in pig.streaming.environment not found in Configuration: ⻨ꢏ切歯
      12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in pig.streaming.environment not found in Configuration: 狓偝
      12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in pig.streaming.environment not found in Configuration: 墣챟㌌̀썬鼹騷
      12/10/23 11:02:48 WARN streaming.ExecutableManager: Property set in pig.streaming.environment not found in Configuration: 훎滼
      
      Error Message:
      There should be no remaining pairs in the included map
      
      Stacktrace:
      junit.framework.AssertionFailedError: There should be no remaining pairs in the included map
      	at org.apache.pig.impl.streaming.TestExecutableManager.testAddJobConfToEnv(TestExecutableManager.java:84)
      

      Attachments

        1. PIG-3001.patch
          3 kB
          Cheolsoo Park
        2. PIG-3001-2.patch
          3 kB
          Cheolsoo Park
        3. PIG-3001-3.patch
          1 kB
          Cheolsoo Park
        4. PIG-3001-4.patch
          9 kB
          Cheolsoo Park
        5. PIG-3001-5.patch
          3 kB
          Cheolsoo Park

        Issue Links

          Activity

            People

              cheolsoo Cheolsoo Park
              azaroth Gianmarco De Francisci Morales
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: