Create config file EXPORT KUBECONFIG to /app/.kube/config Execute tests [2024-06-17 15:12:12 +0000] - Creating Namespace claire apiVersion: v1 kind: Namespace metadata: name: claire namespace/claire created [2024-06-17 15:12:17 +0000] - Creating secret for kubeconfig from /app/.kube/config secret/claire-kubeconfig created [2024-06-17 15:12:22 +0000] - Creating config map for run script --- apiVersion: v1 kind: ConfigMap metadata: name: run-script namespace: claire data: run.sh: |- #!/usr/bin/env bash TEST_RESULTS_DIR="/app/test-results" OPERATOR_TEST_RESULTS_DIR="${TEST_RESULTS_DIR}/operator-suite" BUILD_PROPERTIES="build_properties.yaml" CLAIRE_PROPERTIES="claire_properties.yaml" LOG_FILE="${TEST_RESULTS_DIR}/tests.execution.log" function log() { if [[ "$1" == "" ]]; then echo "$1" | tee -a "${LOG_FILE}" else echo "[$(date "+%Y-%m-%d %H:%M:%S %z")] - $1" | tee -a "${LOG_FILE}" fi } log "" log "Creating test-results directory: ${OPERATOR_TEST_RESULTS_DIR}" mkdir -p "${OPERATOR_TEST_RESULTS_DIR}" log "" log "Copying ${BUILD_PROPERTIES} to ${TEST_RESULTS_DIR}" cp "${BUILD_PROPERTIES}" "${TEST_RESULTS_DIR}" log "" log "Build properties:" log "$(cat ${BUILD_PROPERTIES})" log "" log "Copying ${CLAIRE_PROPERTIES} to ${TEST_RESULTS_DIR}" cp "${CLAIRE_PROPERTIES}" "${TEST_RESULTS_DIR}" log "" log "Claire properties:" log "$(cat ${CLAIRE_PROPERTIES})" log "" log "Starting Claire execution at $(date)" | tee "${TEST_RESULTS_DIR}/tests.execution.started" log "" log "Executing make with params: operator_test_smoke" make operator_test_smoke | tee -a "${LOG_FILE}" log "" log "Finished Claire execution $(date)" | tee "${TEST_RESULTS_DIR}/tests.execution.completed" log "" log "sleeping forever" log "" sleep 99d configmap/run-script created [2024-06-17 15:12:27 +0000] - Creating test suite pod --- apiVersion: v1 kind: Pod metadata: name: claire-test-suite namespace: claire spec: restartPolicy: Never securityContext: runAsNonRoot: true seccompProfile: type: RuntimeDefault containers: - name: claire-test-suite image: quay.io/rhmessagingqe/claire:amq-broker-lpt imagePullPolicy: Always command: ["/app/run.sh"] volumeMounts: - name: run-script-volume mountPath: /app/run.sh readOnly: true subPath: run.sh - name: claire-kubeconfig-secret mountPath: /app/.kube readOnly: true - mountPath: "/app/test-results" name: claire-storage securityContext: privileged: false allowPrivilegeEscalation: false capabilities: drop: ["ALL"] env: - name: OLM value: "true" - name: MVN_TEST_ADDITIONAL_ARGS value: -Dfailsafe.rerunFailingTestsCount=2 - name: TEST_LOG_LEVEL value: DEBUG volumes: - name: run-script-volume configMap: defaultMode: 0750 name: run-script - name: claire-kubeconfig-secret secret: secretName: claire-kubeconfig - name: claire-storage emptyDir: {} pod/claire-test-suite created [2024-06-17 15:12:32 +0000] - Waiting claire-test-suite pod reach Running state pod/claire-test-suite condition met [2024-06-17 15:12:40 +0000] - Waiting execution to finish [2024-06-17 15:12:40 +0000] - Execution not completed. Waiting for 60 seconds before check again [2024-06-17 15:13:40 +0000] - Execution not completed. Waiting for 60 seconds before check again [2024-06-17 15:14:40 +0000] - Execution not completed. Waiting for 60 seconds before check again [2024-06-17 15:15:40 +0000] - Execution not completed. Waiting for 60 seconds before check again [2024-06-17 15:16:41 +0000] - Execution not completed. Waiting for 60 seconds before check again [2024-06-17 15:17:41 +0000] - Execution not completed. Waiting for 60 seconds before check again [2024-06-17 15:18:41 +0000] - Execution not completed. Waiting for 60 seconds before check again [2024-06-17 15:19:41 +0000] - Copying test results, logs and additional files to /app/test-results tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets [2024-06-17 15:19:42 +0000] - Deleting Namespace claire apiVersion: v1 kind: Namespace metadata: name: claire Renaming xmls to junit_*.xml Copy logs and xmls to ARTIFACT_DIR namespace "claire" deleted