kubernetes/test
Patrick Ohly 3e2b26ce52 e2e: revise complete report creation
The previous approach was based on the observation that some Prow jobs use the
--report-dir parameter instead of the E2E_REPORT_DIR env variable. Parsing the
command line was necessary to use the --json-report and --junit-report
parameters.

But that is complex and can be avoided by triggering the creation of complete
reports in the E2E test suite. The paths are hard-coded and relative to the
report directory to keep the code simple.

There was a report that k8s-triage started processing more data after
6db4b741dd was merged. It's unclear whether
that was because of the new <report-dir>/ginkgo_report.xml file. To avoid
this potential problem, the reports are now in a "ginkgo" sub-directory.

While at it, error checking gets enhanced:
- Create directories at the start of
  the suite and bail out early if that fails.
- *All* e2e suites using the framework do this, not just test/e2e.
- Added missing error checking of truncated JUnit report writing.
2023-02-10 10:20:20 +01:00
..
cmd Merge pull request #113542 from ardaguclu/fix-shortname-disperancy 2023-01-03 09:29:43 -08:00
conformance Merge pull request #115214 from ii/create-apiservice-test-v4 2023-01-31 07:38:49 -08:00
e2e e2e: revise complete report creation 2023-02-10 10:20:20 +01:00
e2e_kubeadm e2e: use Ginkgo context 2022-12-16 20:14:04 +01:00
e2e_node Revert "e2e: wait for pods with gomega" 2023-02-06 12:08:22 +01:00
fixtures Updating pause image refernces to 3.9 2022-11-14 10:24:54 -08:00
fuzz
images [go] Bump images, dependencies and versions to go 1.20 2023-02-03 22:55:24 +01:00
instrumentation Make generated-stable-metrics use git ls-files 2023-01-22 15:22:55 -08:00
integration Add integration tests for StatefulSetStartOrdinal feature (#115466) 2023-02-03 05:26:29 -08:00
kubemark Drop unsupported iks configuration for kubemark 2022-09-25 17:33:22 -04:00
list
soak/serve_hostnames fix typos 2022-06-15 13:38:48 +09:00
typecheck Avoid typechecking stdlib 2023-01-28 23:32:50 -05:00
utils etcd: Update to version 3.5.7 2023-01-27 17:24:00 +01:00
OWNERS test/OWNERS: add pohly as approver 2023-01-09 09:54:10 +01:00