From patchwork Tue Mar 24 18:58:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1260913 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=D0rNs3eh; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48n0sK574jz9sPR for ; Wed, 25 Mar 2020 05:58:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 850A088A05; Tue, 24 Mar 2020 18:58:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jDdbEUCacSAL; Tue, 24 Mar 2020 18:58:56 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id AE08E8836E; Tue, 24 Mar 2020 18:58:56 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9E5A0C1D7C; Tue, 24 Mar 2020 18:58:56 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 26ECDC0177 for ; Tue, 24 Mar 2020 18:58:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1E0C2844C7 for ; Tue, 24 Mar 2020 18:58:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GRYL-3YwQbz5 for ; Tue, 24 Mar 2020 18:58:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 70085834E1 for ; Tue, 24 Mar 2020 18:58:54 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id z25so5441371pfa.5 for ; Tue, 24 Mar 2020 11:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=EF57qgCxuksJOkFkBd6lfbYiqjSSO1eZzPenCn7kUrE=; b=D0rNs3ehvdEbbuJ6ks0LJX7/7ZETpR6OhEhESIjG6trT2suaAN0Sq1kEaklqVCApxE rKmq4KvQJgx0DeSWu7wh9tU/Ptq/yDqgNtvUzt8cOOIWy3ImoQEd4l9ZN7G3Lq5N21gu jJtj/7da+DdujdheUbb3dW+MApGkM3CMRUw9JkshV6bcHfHB8OvGhUNvxEJzjAA5SoH2 j907EaboUlOtTHUA1LfNvuMhiIn4yFPIbRMYABMn6+azPhp8SuO/VJtNEBteCoga6Iss ZOUz8xpFbw0DeEeBwUuxEV6PEPTZzYla4+9S0iKceKjrZrxlA7JW2s4x20R2GWV1A4o4 bDpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=EF57qgCxuksJOkFkBd6lfbYiqjSSO1eZzPenCn7kUrE=; b=Rnf8WW6KF61i66EEiYVBTmcNrNgf/RqgdOuW/AoinYJ4I+vxFSGpcRFMMyoINOC+z4 SOwMg6ZI4HE/meCW6nXqVG/XEc8VGf3qrhwCYNoWcIIuKxC6vZXAGZiyidNV7d7vu1J1 rQz2eGT3MUE4xvK2pSx752PMVkRnF5pd02AxMv91fvrR/LeCS6jLXWCRBgrPo4YHEwBY Xt7Pn9Ccb6+QWIRhg+5sEF9e52CG1CYaScttMOMxDGwoLX/iTnV3G81oDUIr2wn/RpM3 olUFz9GzHLbpMADSGtTW9s6mxb6Y/WeBLc/GbzRhllfXFRlJqbXc1teldZ/39BSCvjw6 Ft1w== X-Gm-Message-State: ANhLgQ0Bq3UxduGbOFNmDzzMGlQQJmYYSbV5LQySWVYkUgylOb7aTVWt awsa18unHmjE8PdYMg2svQ+tW7v8 X-Google-Smtp-Source: ADFU+vuDg2os+v3VYpsNmMntFMaMCUUXR5JCW0feqNiIHJUfi6yRtFKrpFq88KyUyojyTdE6Xw8IXw== X-Received: by 2002:a62:5213:: with SMTP id g19mr31591836pfb.28.1585076333389; Tue, 24 Mar 2020 11:58:53 -0700 (PDT) Received: from sc9-mailhost2.vmware.com (c-76-21-95-192.hsd1.ca.comcast.net. [76.21.95.192]) by smtp.gmail.com with ESMTPSA id a71sm16779625pfa.162.2020.03.24.11.58.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Mar 2020 11:58:52 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Tue, 24 Mar 2020 11:58:26 -0700 Message-Id: <1585076306-97012-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: fbl@sysclose.org, i.maximets@ovn.org Subject: [ovs-dev] [PATCHv2] github-ci: Enable github actions. 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: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" This enables per-commit check for 'make check-system-userspace' test using github action[1]. Currently this runs on ubuntu-1804 runner with everything PASS: 93 tests were successful. 43 tests were skipped. Example: https://github.com/williamtu/ovs-travis/runs/531402137?check_suite_focus=true [1] https://github.com/features/actions Signed-off-by: William Tu --- .github/workflows/ovs.yml | 26 ++++++++++++++++++++++++++ Makefile.am | 1 + 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/ovs.yml diff --git a/.github/workflows/ovs.yml b/.github/workflows/ovs.yml new file mode 100644 index 000000000000..ccc95641b43c --- /dev/null +++ b/.github/workflows/ovs.yml @@ -0,0 +1,26 @@ +name: OVS system-userspace Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: [ubuntu-18.04] + steps: + - uses: actions/checkout@v2 + - name: build iproute2-5.0.0 + run: sudo apt install -y bison flex; git clone -b v5.0.0 git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git; cd iproute2; ./configure && make -j2 && sudo make install + - name: configure + run: ./boot.sh; ./configure + - name: make + run: make -j2 + - name: check-system-userspace + run: sudo make check-system-userspace RECHECK=yes + - name: Upload artifact + uses: actions/upload-artifact@v1.0.0 + with: + name: system-userspace + path: tests/system-userspace-testsuite.log diff --git a/Makefile.am b/Makefile.am index b279303d186c..80448d0c31c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -92,6 +92,7 @@ EXTRA_DIST = \ $(MAN_ROOTS) \ Vagrantfile \ Vagrantfile-FreeBSD \ + .github/workflows/ovs.yml \ .mailmap bin_PROGRAMS = sbin_PROGRAMS =