Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,149 @@
base_images:
cli:
name: "4.22"
namespace: ocp
tag: cli
fetch-managed-clusters:
name: autotest
namespace: acm-qe
tag: fetch-managed-clusters
installer:
name: "4.22"
namespace: ocp
tag: installer
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: rhel-9-release-golang-1.23-openshift-4.20
images:
items:
- dockerfile_literal: |
FROM this-is-ignored
RUN dnf install -y git python39 && dnf clean all
from: cli
optional: true
to: cli-with-git
releases:
latest:
candidate:
product: ocp
stream: nightly
version: "4.22"
resources:
'*':
requests:
cpu: 200m
memory: 400Mi
tests:
- as: cclm-bidir-mig-lp-interop-aws
cron: 0 23 28 2 *
steps:
cluster_profile: aws-cspi-qe
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest
env:
ACM_SPOKE_CLUSTER_COUNT: "2"
ACM_SPOKE_CLUSTER_INITIAL_VERSION: "4.22"
ACM_SPOKE_CLUSTER_NAME_PREFIX: acm-spoke
ACM_SPOKE_CP_TYPE: m6a.2xlarge
ACM_SPOKE_WORKER_TYPE: c5n.metal
BASE_DOMAIN: cspilp.interop.ccitredhat.com
CNV_ENABLE_CCLM: "true"
COMPUTE_NODE_TYPE: c5n.metal
CONTROL_PLANE_INSTANCE_TYPE: m6a.2xlarge
DEBUG_SLEEP_DURATION: "7200"
DR__RP__CR_COMP_NAME: lp-interop--ACM-Virt-BiDir
FIREWATCH_CONFIG: |
{
"failure_rules":
[
{"step": "cucushift-*", "failure_type": "all", "classification": "Cluster Health Check", "group": { "name" : "cluster" , "priority" : 2}, "jira_additional_labels": ["!default"] },
{"step": "acm-interop-p2p-cluster-install" , "failure_type": "all" , "classification": "Spoke cluster Installation" , "group": { "name" : "cluster" , "priority" : 2}, "jira_additional_labels": ["!default"] },
{"step": "acm-interop-p2p-cluster-uninstall" , "failure_type": "all" , "classification": "Spoke cluster Un-Installation" , "group": { "name" : "cluster" , "priority" : 2}, "jira_additional_labels": ["!default"] },
{"step": "p2p-acm-cnv-install-policy" , "failure_type": "all" , "classification": "CNV installation policy deploy" , "group": { "name" : "cluster" , "priority" : 2}, "jira_additional_labels": ["!default"] },
{"step": "acm-fetch-managed-clusters", "failure_type": "all", "classification": "ACM cluster failure", "jira_project": "!default", "group": {"name": "opp-tests", "priority": 4}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "interop-tests-deploy-odf", "failure_type": "all", "classification": "ODF deploy failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-install-odf-spokes", "failure_type": "all", "classification": "ODF spoke cluster install failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "acm-interop-p2p-submariner-cloud-prepare", "failure_type": "all", "classification": "Submariner AWS cloud prepare failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "acm-interop-p2p-submariner-broker-join", "failure_type": "all", "classification": "Submariner broker deploy / cluster join failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "acm-interop-p2p-submariner-verify", "failure_type": "all", "classification": "Submariner connectivity verification failure", "jira_project": "!default", "group": {"name": "interop-p2p-tests", "priority": 4}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default","interop-tests"]},
{"step": "acm-interop-p2p-submariner-snat-fix", "failure_type": "all", "classification": "Submariner SNAT workaround failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-cnv-cclm-readiness", "failure_type": "all", "classification": "CCLM virt-handler cert / Service / ServiceExport readiness failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-mtv-additional-config", "failure_type": "all", "classification": "MTV ForkliftController / CCLM configuration failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-mtv-register-providers", "failure_type": "all", "classification": "MTV provider registration failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-mtv-create-migration-maps", "failure_type": "all", "classification": "MTV forward migration maps failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-mtv-create-return-migration-maps", "failure_type": "all", "classification": "MTV return migration maps failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-create-migration-test-vm", "failure_type": "all", "classification": "CCLM test VM creation failure", "jira_project": "!default", "group": {"name": "interop-p2p-tests", "priority": 5}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default","interop-tests"]},
{"step": "p2p-mtv-execute-live-migration", "failure_type": "all", "classification": "MTV CCLM forward live migration failure (spoke-1 to spoke-2)", "jira_project": "!default", "group": {"name": "interop-p2p-tests", "priority": 5}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default","interop-tests"]},
{"step": "p2p-mtv-execute-live-migration-return", "failure_type": "all", "classification": "MTV CCLM return live migration failure (spoke-2 back to spoke-1)", "jira_project": "!default", "group": {"name": "interop-p2p-tests", "priority": 5}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default","interop-tests"]},
{"step": "acm-interop-p2p-submariner-diag", "failure_type": "all", "classification": "Submariner diagnostics collection failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 3}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "acm-mch", "failure_type": "all", "classification": "ACM MCH install", "jira_project": "!default", "group": {"name": "interop-p2p-tests", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]},
{"step": "p2p-debug-sleep", "failure_type": "all", "classification": "Debug sleep step failure", "jira_project": "!default", "group": {"name": "cluster", "priority": 2}, "jira_epic": "!default", "jira_assignee": "!default", "jira_additional_labels": ["!default"]}
]
}
FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/cr/lp-interop.json
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.22-p2p","ipi-aws-p2p","mpiit-acm-virt","mpiit_product2product","mpiit_virt","bidir-migration"]'
FIREWATCH_DEFAULT_JIRA_ASSIGNEE: vshakya@redhat.com
FIREWATCH_DEFAULT_JIRA_COMPONENT: '["QA","mpiit_p2p"]'
FIREWATCH_DEFAULT_JIRA_EPIC: INTEROP-8652
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
MTV_DESTINATION_PROVIDER: spoke-2
MTV_PROVIDER_NAMES: spoke-1,spoke-2
MTV_SOURCE_PROVIDER: spoke-1
MTV_SPOKE_CLUSTER_COUNT: "2"
ODF_OPERATOR_CHANNEL: stable-4.21
ODF_VERSION_MAJOR_MINOR: "4.21"
OPERATORS: |
[
{"name": "advanced-cluster-management", "source": "redhat-operators", "channel": "release-2.16", "install_namespace": "ocm", "target_namespaces": "ocm", "operator_group": "acm-operator-group"},
{"name": "mtv-operator", "source": "redhat-operators", "channel": "release-v2.11", "install_namespace": "openshift-mtv", "target_namespaces": "openshift-mtv", "operator_group": "openshift-mtv-operatorgroup"}
]
SUBMARINER_VERIFY_DEBUG_MODE: "true"
USER_TAGS: |
scenario acm-cnv-p2p-bidir
leases:
- count: 1
env: LEASED_RESOURCE
resource_type: aws-cspi-qe-quota-slice
- count: 2
env: MANAGED_CLUSTER_LEASED_RESOURCE
resource_type: aws-cspi-qe-quota-slice
post:
- ref: acm-fetch-operator-versions
- ref: acm-must-gather
- ref: acm-inspector
- ref: acm-interop-p2p-submariner-diag
- ref: gather-aws-console
- ref: p2p-debug-sleep
- ref: acm-interop-p2p-cluster-uninstall
- chain: ipi-deprovision
- ref: mpiit-data-router-reporter
- ref: firewatch-report-issues
pre:
- ref: ipi-conf
- ref: ipi-conf-telemetry
- ref: ipi-conf-aws-custom-az
- ref: ipi-conf-aws
- ref: ipi-install-monitoringpvc
- chain: ipi-install
test:
- chain: cucushift-installer-check-cluster-health
- ref: install-operators
- ref: interop-tests-deploy-odf
- ref: acm-mch
- ref: acm-interop-p2p-cluster-install
- ref: acm-fetch-managed-clusters
- ref: p2p-acm-cnv-install-policy
- ref: p2p-install-odf-spokes
- chain: acm-interop-p2p-submariner-install
- ref: p2p-cnv-cclm-readiness
- chain: p2p-mtv-bidir-mig-config
- chain: p2p-cclm-bidir-migration-test
timeout: 12h0m0s
zz_generated_metadata:
branch: master
org: RedHatQE
repo: interop-testing
variant: acm-virt-ocp4.22-p2p-bidir
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ images:
to: cli-with-git
releases:
latest:
candidate:
product: ocp
stream: nightly
release:
channel: stable
version: "4.22"
resources:
'*':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,90 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build10
cron: 0 23 28 2 *
decorate: true
decoration_config:
skip_cloning: true
timeout: 12h0m0s
extra_refs:
- base_ref: master
org: RedHatQE
repo: interop-testing
labels:
ci-operator.openshift.io/cloud: aws
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: acm-virt-ocp4.22-p2p-bidir
ci.openshift.io/generator: prowgen
job-release: "4.22"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-RedHatQE-interop-testing-master-acm-virt-ocp4.22-p2p-bidir-cclm-bidir-mig-lp-interop-aws
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=cclm-bidir-mig-lp-interop-aws
- --variant=acm-virt-ocp4.22-p2p-bidir
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build10
cron: 0 23 28 2 *
Expand All @@ -204,7 +288,6 @@ periodics:
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
ci-operator.openshift.io/variant: acm-virt-ocp4.22-p2p
ci.openshift.io/generator: prowgen
job-release: "4.22"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-RedHatQE-interop-testing-master-acm-virt-ocp4.22-p2p-cclm-liv-mig-lp-interop-aws
reporter_config:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,65 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )acm-cnv-ocp-4.22-p2p-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^master$
- ^master-
cluster: build12
context: ci/prow/acm-virt-ocp4.22-p2p-bidir-images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/variant: acm-virt-ocp4.22-p2p-bidir
ci.openshift.io/generator: prowgen
job-release: "4.22"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-RedHatQE-interop-testing-master-acm-virt-ocp4.22-p2p-bidir-images
optional: true
rerun_command: /test acm-virt-ocp4.22-p2p-bidir-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
- --variant=acm-virt-ocp4.22-p2p-bidir
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )acm-virt-ocp4.22-p2p-bidir-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand All @@ -128,7 +187,6 @@ presubmits:
labels:
ci-operator.openshift.io/variant: acm-virt-ocp4.22-p2p
ci.openshift.io/generator: prowgen
job-release: "4.22"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-RedHatQE-interop-testing-master-acm-virt-ocp4.22-p2p-images
optional: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
approvers: &owners
- cspi-qe-ocp-lp
reviewers: *owners
Loading