-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
The following test cases are failing on Prow CI, which runs the test cases from a pod.
--- FAIL: kuttl (505.15s) --- FAIL: kuttl/harness (0.00s) --- FAIL: kuttl/harness/autoscale (54.29s) --- FAIL: kuttl/harness/instrumentation-sdk (178.77s) --- FAIL: kuttl/harness/instrumentation-go (163.91s) --- FAIL: kuttl/harness/instrumentation-apache-multicontainer (165.27s) --- FAIL: kuttl/harness/instrumentation-apache-httpd (167.92s) --- FAIL: kuttl/harness/route (160.50s) --- FAIL: kuttl/harness/targetallocator-features (165.37s) --- FAIL: kuttl/harness/prometheus-config-validation (159.63s) --- FAIL: kuttl/harness/smoke-targetallocator (159.80s) FAIL
Test run link:
How do I test it from a OpenShift pod to simulate a Prow CI run:
*Create the tests runner image from the opentelemetry-operator repo.
docker build -t quay.io/rhn_support_ikanse/otel-tests-runner:latest -f tests/e2e-openshift/Dockerfile .
*Create a OpenShift deployment using this image.
*Make sure you install any dependency operator for running the tests like OpenTelemetry, Jaeger, Elasticsearch and AMQ streams.
*oc rsh into the running pod.
- export KUBECONFIG=/path/to/a/kubeconfig/for our test cluster, you can use the same cluster on which the pod is running as a test cluster.
*Run the tests using steps from this script. Set the ARTIFACT_DIR var to any writable location like /tmp/artifacts. PARALLEL_TESTS=5 REPORT_NAME can be anything, set TIMEOUT=150.
#!/bin/bash set -o nounset set -o errexit set -o pipefail #Add manifest directory for kuttl mkdir /tmp/kuttl-manifests #Copy the opentelemetry-operator repo files to a writable directory by kuttl cp -R /tmp/opentelemetry-operator /tmp/opentelemetry-tests && cd /tmp/opentelemetry-tests # Execute OpenTelemetry e2e tests KUBECONFIG=$KUBECONFIG kuttl test \ --report=xml \ --artifacts-dir="$ARTIFACT_DIR" \ --parallel="$PARALLEL_TESTS" \ --report-name="$REPORT_NAME" \ --start-kind=false \ --timeout="$TIMEOUT" \ --manifest-dir=$MANIFEST_DIR \ tests/e2e \ tests/e2e-autoscale
Link to the script:
https://github.com/openshift/release/pull/40442/files#diff-27cf97b7a96c8d5b039cde3ac4e19a7002c4a7e26337e6164915092668b56fca
- is triggering
-
TRACING-3397 Fix the instrumentation E2E tests for OpenShift
- Closed
- links to