Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4920

pytest metadata for custom cluster tests being put in wrong path

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.9.0
    • Fix Version/s: Impala 2.9.0
    • Component/s: Infrastructure
    • Labels:
      None

      Description

      Pytest emits a log and junit-style xml about tests executed, skipped, failed, etc. It's sometimes useful to check these artifacts after a run-all-tests.sh run, because the stdout/stderr console is so cluttered, or maybe you forgot to tee.

      There is a bug in which the custom cluster test pytest metadata are ending up in the tests directory, not in the logs directory. The bug is escaped quotes in a shell script being taken literally. The logs are typically going to be in $IMPALA_HOME/tests/"/$IMPALA_HOME/logs/custom_cluster_tests/results/TEST-impala-custom-cluster.xml" instead.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikesbrown Michael Brown
                Reporter:
                mikesbrown Michael Brown
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: