metadata: annotations: prow.k8s.io/context: ci/prow/e2e-gke-parallel prow.k8s.io/job: pull-scylla-operator-master-e2e-gke-parallel creationTimestamp: "2024-10-23T14:05:25Z" generation: 16 labels: created-by-prow: "true" event-GUID: d899d340-9147-11ef-8980-0d0afe8e47c2 prow.k8s.io/build-id: "1849089751122972672" prow.k8s.io/context: e2e-gke-parallel prow.k8s.io/id: 5766d362-1317-45bb-8275-342d14d0b37a prow.k8s.io/is-optional: "false" prow.k8s.io/job: pull-scylla-operator-master-e2e-gke-parallel prow.k8s.io/refs.base_ref: master prow.k8s.io/refs.org: scylladb prow.k8s.io/refs.pull: "2160" prow.k8s.io/refs.repo: scylla-operator prow.k8s.io/type: presubmit name: 5766d362-1317-45bb-8275-342d14d0b37a namespace: prow-workspace resourceVersion: "452365033" uid: 52513fc7-b971-4e3c-9dc1-859a52c1635c spec: agent: kubernetes cluster: default context: ci/prow/e2e-gke-parallel decoration_config: gcs_configuration: bucket: gs://scylla-operator-prow path_strategy: explicit gcs_credentials_secret: gcs-credentials github_api_endpoints: - http://ghproxy.prow.svc - https://api.github.com github_app_id: "112385" github_app_private_key_secret: key: cert name: github-token grace_period: 15m0s resources: clonerefs: requests: cpu: 100m initupload: requests: cpu: 100m place_entrypoint: requests: cpu: 100m sidecar: requests: cpu: 100m timeout: 2h0m0s utility_images: clonerefs: us-docker.pkg.dev/k8s-infra-prow/images/clonerefs:v20240802-66b115076 entrypoint: us-docker.pkg.dev/k8s-infra-prow/images/entrypoint:v20240802-66b115076 initupload: us-docker.pkg.dev/k8s-infra-prow/images/initupload:v20240802-66b115076 sidecar: us-docker.pkg.dev/k8s-infra-prow/images/sidecar:v20240802-66b115076 job: pull-scylla-operator-master-e2e-gke-parallel namespace: prow-workspace pod_spec: containers: - args: - | function cleanup { touch /tmp/shared/setup.finished kubectl -n ci-clusters delete --wait=false --ignore-not-found kubernetescluster/"${POD_UID}" kubectl -n ci-clusters delete --wait=false --ignore-not-found storagebuckets/"${POD_UID}" } trap cleanup EXIT pull_refs_hash=$( sha512sum <<< "${PULL_REFS}" | cut -c 1-31 ) SOCI_PR_TAG="pr-${pull_refs_hash}" export SOCI_PR_TAG # Don't create e2e cluster before an image is build, so we don't waste infra when it doesn't compile. ERR_LOG=$( mktemp ) export ERR_LOG timeout 15m bash -xc 'until skopeo inspect --format='"'"'{{ printf "%s@%s" .Name .Digest }}'"'"' docker://"quay.io/scylladb-dev/ci:scylla-operator-${SOCI_PR_TAG}" 2>>"${ERR_LOG}"; do sleep 5; done' || ( cat "${ERR_LOG}" && exit 2 ) kubectl version -o yaml kubectl -n ci-clusters create -f - < /tmp/shared/gcs-bucket-name kubectl -n ci-clusters get secret/"${POD_UID}-gcs-service-account" --template='{{ index .data "gcs-service-account.json" }}' | base64 -d > /tmp/shared/gcs-service-account.json kubectl -n ci-clusters get secret/"${POD_UID}-kubeconfig" --template='{{ .data.kubeconfig }}' | base64 -d > /tmp/shared/kubeconfig.init kubectl --kubeconfig=/tmp/shared/kubeconfig.init config set-context --current --namespace 'default-unexisting-namespace' mv /tmp/shared/kubeconfig{.init,} # Signal cluster bootstrap by sharing the kubeconfig. # Sanity check. kubectl --kubeconfig=/tmp/shared/kubeconfig version -o yaml kubectl --kubeconfig=/tmp/shared/kubeconfig config view set +x # TODO: Wait on active signal like updating a file every X seconds # so we can deal with the other container being OOM killed. echo "Waiting for test to finish..." until [[ -f "/tmp/shared/test.finished" ]]; do sleep 1; done echo "Test has finished." set -x command: - /usr/bin/bash - -euExo - pipefail - -O - inherit_errexit - -c env: - name: POD_UID valueFrom: fieldRef: fieldPath: metadata.uid image: quay.io/scylladb/scylla-operator-images:kube-tools imagePullPolicy: Always name: setup resources: limits: cpu: 100m memory: 200Mi securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL seccompProfile: type: RuntimeDefault volumeMounts: - mountPath: /var/run/secrets/kubernetes.io/serviceaccount/ name: kube-api-access - mountPath: /tmp/shared name: shared-data - args: - | trap 'touch /tmp/shared/test.finished' EXIT set +x echo "Waiting for cluster to be provisioned..." until [[ -f "${KUBECONFIG}" || -f /tmp/shared/setup.finished ]]; do sleep 1; done if [[ -f /tmp/shared/setup.finished ]]; then echo "Cluster provisioning failed. Exiting." exit 1 fi echo "Cluster provisioning has finished." set -x # Setup info and kubeconfig sanity check kubectl config view kubectl version -o yaml kubectl cluster-info pull_refs_hash=$( sha512sum <<< "${PULL_REFS}" | cut -c 1-31 ) SOCI_PR_TAG="pr-${pull_refs_hash}" SO_SUITE=scylla-operator/conformance/parallel export SO_SUITE SO_IMAGE=quay.io/scylladb-dev/ci:scylla-operator-${SOCI_PR_TAG} export SO_IMAGE SO_SCYLLACLUSTER_NODE_SERVICE_TYPE=Headless export SO_SCYLLACLUSTER_NODE_SERVICE_TYPE SO_SCYLLACLUSTER_NODES_BROADCAST_ADDRESS_TYPE=PodIP export SO_SCYLLACLUSTER_NODES_BROADCAST_ADDRESS_TYPE SO_SCYLLACLUSTER_CLIENTS_BROADCAST_ADDRESS_TYPE=PodIP export SO_SCYLLACLUSTER_CLIENTS_BROADCAST_ADDRESS_TYPE SO_BUCKET_NAME="$( cat /tmp/shared/gcs-bucket-name )" export SO_BUCKET_NAME SO_GCS_SERVICE_ACCOUNT_CREDENTIALS_PATH=/tmp/shared/gcs-service-account.json export SO_GCS_SERVICE_ACCOUNT_CREDENTIALS_PATH timeout -v 2h ./hack/.ci/run-e2e-gke.sh command: - /usr/bin/bash - -euExo - pipefail - -O - inherit_errexit - -c env: - name: POD_UID valueFrom: fieldRef: fieldPath: metadata.uid - name: KUBECONFIG value: /tmp/shared/kubeconfig image: quay.io/scylladb/scylla-operator-images:kube-tools imagePullPolicy: Always name: test resources: limits: cpu: 100m memory: 1200Mi securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL seccompProfile: type: RuntimeDefault volumeMounts: - mountPath: /tmp/shared name: shared-data serviceAccountName: e2e volumes: - emptyDir: {} name: shared-data - name: kube-api-access projected: defaultMode: 400 sources: - serviceAccountToken: path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace prowjob_defaults: tenant_id: GlobalDefaultID refs: base_link: https://github.com/scylladb/scylla-operator/commit/c8109cc08d066682b5d1a59e507c88053887cb94 base_ref: master base_sha: c8109cc08d066682b5d1a59e507c88053887cb94 org: scylladb path_alias: github.com/scylladb/scylla-operator pulls: - author: zimnx author_link: https://github.com/zimnx commit_link: https://github.com/scylladb/scylla-operator/pull/2160/commits/361197b4a16a939b5f5e40540d62511f43b94531 head_ref: resourcelimits link: https://github.com/scylladb/scylla-operator/pull/2160 number: 2160 sha: 361197b4a16a939b5f5e40540d62511f43b94531 title: Set open file limit for ScyllaDB processes repo: scylla-operator repo_link: https://github.com/scylladb/scylla-operator report: true rerun_command: /test e2e-gke-parallel type: presubmit status: build_id: "1849089751122972672" completionTime: "2024-10-23T14:40:25Z" description: Aborted by trigger plugin. pendingTime: "2024-10-23T14:05:25Z" pod_name: 5766d362-1317-45bb-8275-342d14d0b37a prev_report_states: gcsk8sreporter: aborted gcsreporter: aborted github-reporter: aborted startTime: "2024-10-23T14:05:25Z" state: aborted url: https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2160/pull-scylla-operator-master-e2e-gke-parallel/1849089751122972672