From 0b1c3c08150f593a5de774ac1bf210b80e25d962 Mon Sep 17 00:00:00 2001 From: Tuomas Katila Date: Tue, 23 Apr 2024 18:17:01 +0300 Subject: [PATCH 1/3] e2e: use new spr bare metal node Run IAA, DSA, GPU, QAT and SGX tests on it. Signed-off-by: Tuomas Katila --- .github/workflows/lib-e2e.yaml | 33 ++++++--------------------------- Makefile | 3 +++ 2 files changed, 9 insertions(+), 27 deletions(-) diff --git a/.github/workflows/lib-e2e.yaml b/.github/workflows/lib-e2e.yaml index 1678243be..a3b92ec09 100644 --- a/.github/workflows/lib-e2e.yaml +++ b/.github/workflows/lib-e2e.yaml @@ -11,41 +11,20 @@ jobs: fail-fast: false matrix: include: - - name: e2e-dsa-spr - targetjob: e2e-dsa - runner: simics-spr - images: intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator - name: e2e-dsa-gnr targetjob: e2e-dsa runner: simics-gnr images: intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator - - name: e2e-fpga - runner: fpga - images: intel-fpga-plugin intel-fpga-initcontainer intel-fpga-admissionwebhook opae-nlb-demo - - name: e2e-gpu - runner: gpu - images: intel-gpu-plugin intel-gpu-initcontainer - targetJob: e2e-gpu SKIP=Resource:xe - - name: e2e-iaa-spr - targetjob: e2e-iaa - runner: simics-spr - images: intel-iaa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator - name: e2e-iaa-gnr targetjob: e2e-iaa runner: simics-gnr images: intel-iaa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator - - name: e2e-qat - targetjob: e2e-qat FOCUS=Resource:generic - runner: qat - images: intel-qat-plugin intel-qat-initcontainer crypto-perf - - name: e2e-qat4 - targetjob: e2e-qat FOCUS="Mode:dpdk.*Resource:(cy|dc)" SKIP=App:crypto-perf - runner: simics-spr - images: intel-qat-plugin intel-qat-initcontainer openssl-qat-engine - - name: e2e-sgx - targetjob: e2e-sgx FOCUS="|(SGX Admission)" - runner: sgx - images: intel-sgx-plugin intel-sgx-initcontainer intel-sgx-admissionwebhook sgx-sdk-demo intel-deviceplugin-operator + - name: e2e-fpga + runner: fpga + images: intel-fpga-plugin intel-fpga-initcontainer intel-fpga-admissionwebhook opae-nlb-demo + - name: e2e-spr + runner: spr + images: intel-qat-plugin intel-qat-initcontainer openssl-qat-engine intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator intel-iaa-plugin crypto-perf intel-gpu-plugin intel-sgx-plugin intel-sgx-initcontainer intel-sgx-admissionwebhook sgx-sdk-demo name: ${{ matrix.name }} runs-on: ${{ matrix.runner }} diff --git a/Makefile b/Makefile index b0726a491..69686f522 100644 --- a/Makefile +++ b/Makefile @@ -171,6 +171,9 @@ e2e-iaa: e2e-dlb: @$(GO) test -v ./test/e2e/... -ginkgo.v -ginkgo.show-node-events -ginkgo.focus "Device:dlb.*$(ADDITIONAL_FOCUS_REGEX)" $(GENERATED_SKIP_OPT) -delete-namespace-on-failure=false +e2e-spr: + @$(GO) test -v ./test/e2e/... -ginkgo.v -ginkgo.show-node-events -ginkgo.focus "Device:(iaa|dsa)|Device:qat.*Mode:dpdk.*Resource:(cy|dc).*" -ginkgo.focus "Device:sgx.*|(SGX Admission)" -ginkgo.focus "Device:gpu.*Resource:i915" $(GENERATED_SKIP_OPT) -delete-namespace-on-failure=false + pre-pull: ifeq ($(TAG),devel) @$(BUILDER) pull golang:1.22-bookworm From b5e3945620f22f55d7e6d3d7099c5ea4229dfdd6 Mon Sep 17 00:00:00 2001 From: Tuomas Katila Date: Wed, 24 Apr 2024 10:38:37 +0300 Subject: [PATCH 2/3] dupdiduu Signed-off-by: Tuomas Katila --- .github/workflows/lib-e2e.yaml | 43 ++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lib-e2e.yaml b/.github/workflows/lib-e2e.yaml index a3b92ec09..25dac419d 100644 --- a/.github/workflows/lib-e2e.yaml +++ b/.github/workflows/lib-e2e.yaml @@ -14,23 +14,56 @@ jobs: - name: e2e-dsa-gnr targetjob: e2e-dsa runner: simics-gnr - images: intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator + images: + - intel-dsa-plugin + - intel-idxd-config-initcontainer + - accel-config-demo + - intel-deviceplugin-operator - name: e2e-iaa-gnr targetjob: e2e-iaa runner: simics-gnr - images: intel-iaa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator + images: + - intel-iaa-plugin + - intel-idxd-config-initcontainer + - accel-config-demo + - intel-deviceplugin-operator + - name: e2e-qat + targetjob: e2e-qat FOCUS=Resource:generic + runner: qat + images: + - intel-qat-plugin + - intel-qat-initcontainer + - crypto-perf - name: e2e-fpga runner: fpga - images: intel-fpga-plugin intel-fpga-initcontainer intel-fpga-admissionwebhook opae-nlb-demo + images: + - intel-fpga-plugin + - intel-fpga-initcontainer + - intel-fpga-admissionwebhook + - opae-nlb-demo - name: e2e-spr runner: spr - images: intel-qat-plugin intel-qat-initcontainer openssl-qat-engine intel-dsa-plugin intel-idxd-config-initcontainer accel-config-demo intel-deviceplugin-operator intel-iaa-plugin crypto-perf intel-gpu-plugin intel-sgx-plugin intel-sgx-initcontainer intel-sgx-admissionwebhook sgx-sdk-demo + images: + - intel-qat-plugin + - intel-qat-initcontainer + - openssl-qat-engine + - intel-dsa-plugin + - intel-idxd-config-initcontainer + - accel-config-demo + - intel-deviceplugin-operator + - intel-iaa-plugin + - crypto-perf + - intel-gpu-plugin + - intel-sgx-plugin + - intel-sgx-initcontainer + - intel-sgx-admissionwebhook + - sgx-sdk-demo name: ${{ matrix.name }} runs-on: ${{ matrix.runner }} env: TARGET_JOB: ${{ matrix.targetjob || matrix.name }} - IMAGES: ${{ matrix.images }} + IMAGES: ${{ join(matrix.images, " ") }} steps: - uses: actions/checkout@v4 From a19d1020a55097d8ab967a79d831b011f21847b4 Mon Sep 17 00:00:00 2001 From: Tuomas Katila Date: Wed, 24 Apr 2024 10:50:59 +0300 Subject: [PATCH 3/3] foo Signed-off-by: Tuomas Katila --- .github/workflows/foo.yaml | 86 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 .github/workflows/foo.yaml diff --git a/.github/workflows/foo.yaml b/.github/workflows/foo.yaml new file mode 100644 index 000000000..115de4095 --- /dev/null +++ b/.github/workflows/foo.yaml @@ -0,0 +1,86 @@ +name: teste2e +on: + push: + branches: + - 'release-*' + pull_request: + branches: + - main + - 'release-*' + - '*' + +permissions: + contents: read + +jobs: + e2e: + strategy: + fail-fast: false + matrix: + include: + - name: e2e-dsa-gnr + targetjob: e2e-dsa + runner: simics-gnr + images: + - intel-dsa-plugin + - intel-idxd-config-initcontainer + - accel-config-demo + - intel-deviceplugin-operator + - name: e2e-iaa-gnr + targetjob: e2e-iaa + runner: simics-gnr + images: + - intel-iaa-plugin + - intel-idxd-config-initcontainer + - accel-config-demo + - intel-deviceplugin-operator + - name: e2e-qat + targetjob: e2e-qat FOCUS=Resource:generic + runner: qat + images: + - intel-qat-plugin + - intel-qat-initcontainer + - crypto-perf + - name: e2e-fpga + runner: fpga + images: + - intel-fpga-plugin + - intel-fpga-initcontainer + - intel-fpga-admissionwebhook + - opae-nlb-demo + - name: e2e-spr + runner: spr + images: + - intel-qat-plugin + - intel-qat-initcontainer + - openssl-qat-engine + - intel-dsa-plugin + - intel-idxd-config-initcontainer + - accel-config-demo + - intel-deviceplugin-operator + - intel-iaa-plugin + - crypto-perf + - intel-gpu-plugin + - intel-sgx-plugin + - intel-sgx-initcontainer + - intel-sgx-admissionwebhook + - sgx-sdk-demo + + name: ${{ matrix.name }} + runs-on: ${{ matrix.runner }} + env: + TARGET_JOB: ${{ matrix.targetjob || matrix.name }} + IMAGES: ${{ join(matrix.images, ' ') }} + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Describe test environment + run: | + echo "Event name: ${{ github.event_name }}" + echo "Actor: ${{ github.actor }}" + echo "Ref: ${{ github.ref }}" + echo "SHA: ${{ github.sha }}" + echo "Images: $IMAGES" + echo "Target job: $TARGET_JOB"