From patchwork Wed Apr 10 13:29:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ales Musil X-Patchwork-Id: 1922000 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=H6NN7T3y; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VF3bW6Q7Hz1yY8 for ; Wed, 10 Apr 2024 23:29:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 04DB981263; Wed, 10 Apr 2024 13:29:58 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id MEDTdGP_yreh; Wed, 10 Apr 2024 13:29:57 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 08E1381252 Authentication-Results: smtp1.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=H6NN7T3y Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp1.osuosl.org (Postfix) with ESMTPS id 08E1381252; Wed, 10 Apr 2024 13:29:57 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id D9CE8C0077; Wed, 10 Apr 2024 13:29:56 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 957AEC0037 for ; Wed, 10 Apr 2024 13:29:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 76E744053A for ; Wed, 10 Apr 2024 13:29:56 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Z6IuCr7kfJOC for ; Wed, 10 Apr 2024 13:29:55 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=amusil@redhat.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 81F324052E Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 81F324052E Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=H6NN7T3y Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 81F324052E for ; Wed, 10 Apr 2024 13:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712755794; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=F4SAvBfujXYCOMlpQjooiTCHSxl5uadT7KJwFkptE/0=; b=H6NN7T3y83nphsaKrigvaBWuFxy83tsJ+RRLfoHe/Z4sPfuwZnO5+fMaoUU8bp0yFvyJY7 VrmOpO5PmRuTSR80SS/DmdJ5JS6+5LKEQby2vADobJ5ed/Bt7hasFAnr3LP+dMo2eO6Dq/ js3tV7rEwVzr50hx53BGGPW8ijRhwSg= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-381-g2_pOQh6PGi3_5JvjlRQww-1; Wed, 10 Apr 2024 09:29:52 -0400 X-MC-Unique: g2_pOQh6PGi3_5JvjlRQww-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8861C1C4C383 for ; Wed, 10 Apr 2024 13:29:52 +0000 (UTC) Received: from amusil.redhat.com (unknown [10.45.225.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0A8E9C27EAE; Wed, 10 Apr 2024 13:29:51 +0000 (UTC) From: Ales Musil To: dev@openvswitch.org Date: Wed, 10 Apr 2024 15:29:46 +0200 Message-ID: <20240410132947.1068309-1-amusil@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH ovn v3 1/2] ci: Make sure that multinode test runs on correct branch. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" The ovn-fake-multinode workflow can be triggered manually, however the definition didn't respect the branch for the manual run and always used main branch. Make sure that the correct branch is used for the ovn-fake-multinode workflow. Fixes: 033f5bebf94d ("CI: Add a couple of periodic jobs using ovn-fake-multinode.") Signed-off-by: Ales Musil Acked-by: Mark Michelson --- .github/workflows/ovn-fake-multinode-tests.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ovn-fake-multinode-tests.yml b/.github/workflows/ovn-fake-multinode-tests.yml index 79b6c4253..f097ee9a1 100644 --- a/.github/workflows/ovn-fake-multinode-tests.yml +++ b/.github/workflows/ovn-fake-multinode-tests.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: cfg: - - { branch: "main" } + - { branch: "${{ github.ref_name }}" } - { branch: "branch-22.03" } env: RUNC_CMD: podman @@ -47,7 +47,7 @@ jobs: with: path: 'ovn-fake-multinode/ovn' submodules: recursive - ref: ${{ matrix.cfg.branch }} + ref: "${{ matrix.cfg.branch }}" - name: Install dependencies run: | @@ -76,16 +76,15 @@ jobs: fail-fast: false matrix: cfg: - - { branch: "main", testsuiteflags: ""} - { branch: "branch-22.03", testsuiteflags: "-k 'basic test'" } name: multinode tests ${{ join(matrix.cfg.*, ' ') }} env: RUNC_CMD: podman OS_IMAGE: "fedora:37" CENTRAL_IMAGE: "ovn/ovn-multi-node:${{ matrix.cfg.branch }}" - CHASSIS_IMAGE: "ovn/ovn-multi-node:main" - RELAY_IMAGE: "ovn/ovn-multi-node:main" - GW_IMAGE: "ovn/ovn-multi-node:main" + CHASSIS_IMAGE: "ovn/ovn-multi-node:${{ github.ref_name }}" + RELAY_IMAGE: "ovn/ovn-multi-node:${{ github.ref_name }}" + GW_IMAGE: "ovn/ovn-multi-node:${{ github.ref_name }}" # Disable SSL for now. Revisit this if required. ENABLE_SSL: no CC: gcc @@ -114,7 +113,7 @@ jobs: - uses: actions/download-artifact@v4 with: - name: test-main-image + name: test-${{ github.ref_name }}-image - uses: actions/download-artifact@v4 with: @@ -122,7 +121,7 @@ jobs: - name: Load podman image run: | - sudo podman load --input ovn_main_image.tar + sudo podman load --input ovn_${{ github.ref_name }}_image.tar sudo podman load --input ovn_branch-22.03_image.tar - name: Check out ovn-fake-multi-node