From patchwork Fri Jun 12 02:24:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307950 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl2M1KN5z9sSS for ; Fri, 12 Jun 2020 12:25:47 +1000 (AEST) 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=cshbHRMK; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl2G6m69zDqrm for ; Fri, 12 Jun 2020 12:25:42 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::42d; helo=mail-wr1-x42d.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=cshbHRMK; dkim-atps=neutral Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1g0Vh3zDqsw for ; Fri, 12 Jun 2020 12:25:10 +1000 (AEST) Received: by mail-wr1-x42d.google.com with SMTP id h5so8168156wrc.7 for ; Thu, 11 Jun 2020 19:25:10 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=to/mqyazN0x4OjYFsvOWNLNfDPEtMizJ2F066SFq8ho=; b=cshbHRMKlY7DgJ0u4zlRqD9REByDqejvK8k94/p1ulR3vybNVO+Wx7L3rgEwLlbUH8 KjnaAvnEup2IyY9B7ZFo3Dn0L0hj3ZXnPdvG5NYT4chWaM/R2nJs28uPDhF9Xd5elKrm 04dz5o6sBAlSb3h/U4br3eUIanr1Nsc9fB3qUwWYCATWQZWsp7Wgww/CoQJ4y/2EvbCI +715nxkwrNae2ddYGq+HIYurskL///wtKO8GFvy1dTgkO80RvHom6etdhL9FLzbCDjPW ipbyM+9MSnmkA7GrpjCR6bkMGdUGb8JkMLYjr0qTfHjALUxvkJU0pPdY38gAkUIJsQHD 3nHQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=to/mqyazN0x4OjYFsvOWNLNfDPEtMizJ2F066SFq8ho=; b=ug/foMXwwXJcuyQ3dBkTKEcMBENZ8QdZNcP7Ez1oDCsgXmKnx/OxkGvIEHw6kDi7kM /mcxsXa+vl+fywl5qskWq4omypomQFfJDgvh2dWsFpNV8tl1Ne7pn5nzfJi0ElW1Og40 v5DHuyGJmuZDvw1vw0n7A0JS03MIPmHQkjXUiowcu7RrW1Bi66CTAJu8XHDevqfIdOfC +U8cM3k5QZkULMdC6k07snSaZsGSS/t2t2C9w+T3JsuOhB93cfNN+jcpjZMnsgxUzrVu SZokSIWscNWBYPcXV8kjeQ85CTmxU77WMoD1dCoaslj0GaPKFpRmy/gf7oX3kVDKpJfp J8JA== X-Gm-Message-State: AOAM530E2j/JT2xP1U6sleR8xaPoTUiyGpb2AhAELy3V1OlFZMLKZIOu M5665K/WmIKUCnvsW9C7AglSbm85 X-Google-Smtp-Source: ABdhPJzTQmX/PUXPQ6bmrgtOpQoP4YnWnyZHacpcdwky3n3Go7g/moYsgSfvFgkrYewQBZIIBS/EZw== X-Received: by 2002:adf:a306:: with SMTP id c6mr12442501wrb.122.1591928707218; Thu, 11 Jun 2020 19:25:07 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:06 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:38 +1000 Message-Id: <20200612022452.371685-2-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 01/15] test/qemu: Update command line arguments X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Modern qemu builds will barf if you specify the BMC / ipmi device on the command line without -nodefaults. So add that in and put in an explicit serial device. Signed-off-by: Oliver O'Halloran --- test/hello_world/run_qemu_hello_world.sh | 3 ++- test/run_qemu_boot_test.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/hello_world/run_qemu_hello_world.sh b/test/hello_world/run_qemu_hello_world.sh index 265add84728e..36f7c762b988 100755 --- a/test/hello_world/run_qemu_hello_world.sh +++ b/test/hello_world/run_qemu_hello_world.sh @@ -1,6 +1,7 @@ #!/bin/bash -QEMU_ARGS="-M powernv -nographic -device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10" +QEMU_ARGS="-M powernv -nodefaults -device ipmi-bmc-sim,id=bmc0 -serial none" +QEMU_ARGS+=" -device isa-serial,chardev=s1 -chardev stdio,id=s1,signal=off" if [ -z "$QEMU_BIN" ]; then QEMU_BIN="qemu-system-ppc64" diff --git a/test/run_qemu_boot_test.sh b/test/run_qemu_boot_test.sh index ee3d9da93148..ad28b336f7b9 100755 --- a/test/run_qemu_boot_test.sh +++ b/test/run_qemu_boot_test.sh @@ -1,6 +1,7 @@ #!/bin/bash -QEMU_ARGS="-M powernv -m 3G -nographic -device ipmi-bmc-sim,id=bmc0 -device isa-ipmi-bt,bmc=bmc0,irq=10" +QEMU_ARGS="-M powernv -nodefaults -device ipmi-bmc-sim,id=bmc0 -serial none" +QEMU_ARGS+=" -device isa-serial,chardev=s1 -chardev stdio,id=s1,signal=off" if [ -z "$QEMU_BIN" ]; then QEMU_BIN="qemu-system-ppc64" From patchwork Fri Jun 12 02:24:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307951 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl2v5QBYz9sSP for ; Fri, 12 Jun 2020 12:26:15 +1000 (AEST) 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=loIqs8fd; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl2v3bD6zDqrn for ; Fri, 12 Jun 2020 12:26:15 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::341; helo=mail-wm1-x341.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=loIqs8fd; dkim-atps=neutral Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1j39SyzDqrm for ; Fri, 12 Jun 2020 12:25:13 +1000 (AEST) Received: by mail-wm1-x341.google.com with SMTP id u13so6702190wml.1 for ; Thu, 11 Jun 2020 19:25:13 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=MIpsg3TzG7riSmTWYvhsO4L2RJrMEkYAa5dPhpeEqFc=; b=loIqs8fdxxfqOVfej4FdnB8vfgzyW6LbEZDTu31BB4bJ14wgQNolOc+ilMB61kUx4m PQNUsYNI86PHfDDhGtgEbc10asBotJLEdTFj2auMmCNc9eQ0OQfPenwFOPa2RDTyLDdq wj4gP0CJNg8tb5ZpsgdVgpqtzzP2jNmJDMpdma1Fmi/4seKSVVhyny4a2RwJ1zpjKZIX yQpxrL6TB/xkCkhKGYLiJ4Jb45zJAMHmBoExDHdbKVKNAM5+qqKiK2YA0HY0OYZRyRc6 P8cvpDiqVNDaQUcVoXaYWU994qYNhx5cOkD6tMAlpeNRdxNQjJPsImcSPjzCoyGtLUEG OmXg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=MIpsg3TzG7riSmTWYvhsO4L2RJrMEkYAa5dPhpeEqFc=; b=W2/1xjaLRxPyRYVpQQUMXO9MEsyTUzOh2ljstKgsBEJ3WAYOcsqeYHKvrqVOdT4HCW 0yHg/gDaY7PxktMZz/EeX8j7sv1J7o0vLGuI1iCxTwreHwMMlrBLEotKo+FqfSoT2xrx VbsdyUSkcBgJ3oOpPtsEr05n4wn9tNGNLbGaNdPBSUWKjVu+tMmXWJLjSp/gY3vqe+zH 6AcuBsbDH+udePjWe4O3Op3Ze4gDjXtQAcw2sqZqej8jPucYnwrM2ppJSuyBVeXOlyLK EbGrma8lrbqVbw3vEFS9BnBoTBQPlCGmvarNVgzd8GvE4VcB+wuQRNJEjU9Z/hry8oUJ 0EbA== X-Gm-Message-State: AOAM532UQWWeCsm0qoHPK4liHOW5qXrXB9qwrT3Q+yldb9tBYUmDzKtM jCRE+eZvz3+le8qMYOUmLVYReRup X-Google-Smtp-Source: ABdhPJxU52BPEl7/xvzVAKcFsOeo5Xe2tup+Meui7vTL2vbH8jl1iLKi0QW9sJRXabt3mGnJVHg3uQ== X-Received: by 2002:a1c:6006:: with SMTP id u6mr10824580wmb.39.1591928709547; Thu, 11 Jun 2020 19:25:09 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:09 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:39 +1000 Message-Id: <20200612022452.371685-3-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 02/15] travis: Remove the unused coverity token X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" In 7cd8402c3bec the coverity job config was moved to a seperate branch. The encrypted token was left in the main .travis.yaml file though so travis includes the token in the web interfaces which crowds out the information we actually care about (which docker container we used). Signed-off-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index f3a22c44f26e..44079e669fde 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,10 +17,6 @@ env: - RUN_ON_CONTAINER=debian-stretch - RUN_ON_CONTAINER=debian-unstable - RUN_ON_CONTAINER=docs - global: - # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created - # via the "travis encrypt" command using the project repo's public key - secure: "MpNEGFa1VrF/vsQq24n5UgfRbz1wVC6B8mubFnyK4gX0IuQ9xhWuTzMLUQF9UJxe5jnC2DTmVUvYTYN/hggw+PpYwbOOAE0QGR5pmPHA4PSRmc5pxt1q18/sv7EPFw66GFyWJq94nWjpigyKQ8KGtA67j1xFqrDoS43OA76WZgo=" matrix: allow_failures: @@ -42,6 +38,9 @@ script: - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . && docker run --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --rm -t $RUN_ON_CONTAINER bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh"; + +# apparently this needs to be in the master branch in order for it to work on +# other branches too. addons: coverity_scan: project: From patchwork Fri Jun 12 02:24:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307952 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl3L13MVz9sRN for ; Fri, 12 Jun 2020 12:26:38 +1000 (AEST) 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=Q4yOqUic; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl3L0DpgzDqtd for ; Fri, 12 Jun 2020 12:26:38 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::344; helo=mail-wm1-x344.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Q4yOqUic; dkim-atps=neutral Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1l5hlMzDqrm for ; Fri, 12 Jun 2020 12:25:15 +1000 (AEST) Received: by mail-wm1-x344.google.com with SMTP id d128so6853582wmc.1 for ; Thu, 11 Jun 2020 19:25:15 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=e2kFBeyAAM5WXmQo8XAs11R4WQY/pDZGyuzQoiv7ICA=; b=Q4yOqUic9GR3afAkgHLkMuZGJOFSE4usjlImL5fmYfwj8knfNpd0qEZtsvqcqUiX1+ T5ihoK+BMzB76WCSxlWvhx2HOZN0N/ThLghQNfpXGdlSbPoTBjZLLQEe6rl7/ZmmFPvQ uPAQJBuDOPc5cX4RDMYyop5B5z5GAqS2nva/w3QQ02iMfiPmR0TXmiMdcxsYLClsbH0Y canf+DXcYVO+qZ5tn+1PAp1XTWcKpLSmNn9rT3x8/p1TBYYZeHAyMuzYZXuGWtJ3Bk77 uj70pgAip+U7v1B06a4k2KuYHNCXWLeUCuV7wCQKofaIWM5Kjydr2a6XjwkRLeTHfb8E ikzg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=e2kFBeyAAM5WXmQo8XAs11R4WQY/pDZGyuzQoiv7ICA=; b=ecYpuGzCxOrxNueKxCFG+XmPLUH1DnHMcSYvEOTjCL/S75KI4C9Bk+iuDkuRY2FHZZ FYLgeTucZUyaqC/q1wUZdoYbjUoTd+kqQHzAQE5zw2y3YuL/8lC9D5N2WGu8sOeMKm6G TaIUsrbW+h5aiPDHrNJJNp+4uMbKGnsWDqSPjNebhCVQzn1eOKE2e+V0ivg30Jm8cXpj R26zNwzS8coHdBhXQHbjcOHEbNC6xlxtxInP8FiFFpuFjVO6Ytal3d6vBFqeCY4y4aMk Wqk6gspBtWzp7JvDaju4lLzjMraQ1PoAlGlWpsYyROLbxU9uT8jKwz3+YI+z6+ELoAqp /Gaw== X-Gm-Message-State: AOAM530UkhO5A9NOsLPl9BIMs2Pm0ZcB56GA+/yPjEbyaNSzsOoC4eah qvj3wCcl8Hez1260KlNfnI9mOYh1 X-Google-Smtp-Source: ABdhPJykCqwfvgiC96omgGdu5cv47o5aKVyCnH/uN9pHYNf740dhM8/SEE/v+DZrISTGbIVsYTOx4g== X-Received: by 2002:a05:600c:2313:: with SMTP id 19mr11466639wmo.51.1591928712032; Thu, 11 Jun 2020 19:25:12 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:11 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:40 +1000 Message-Id: <20200612022452.371685-4-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 03/15] travis: Update config X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Move to using Ubuntu 18.04 rather than 14.04 (which has been out of support for years now) and fix up some warnings from the config file checker. Signed-off-by: Oliver O'Halloran --- .travis.yml | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 44079e669fde..da07f200a001 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,21 +4,25 @@ os: - linux - linux-ppc64le +# NB: This is just the distro used for the container host +dist: bionic +services: docker + cache: ccache env: - matrix: - - RUN_ON_CONTAINER=ubuntu-18.04 - - RUN_ON_CONTAINER=ubuntu-20.04 - - RUN_ON_CONTAINER=ubuntu-latest - - RUN_ON_CONTAINER=centos7 - - RUN_ON_CONTAINER=fedora32 - - RUN_ON_CONTAINER=fedora-rawhide - - RUN_ON_CONTAINER=debian-stretch - - RUN_ON_CONTAINER=debian-unstable - - RUN_ON_CONTAINER=docs - -matrix: + jobs: + - RUN_ON_CONTAINER=ubuntu-18.04 + - RUN_ON_CONTAINER=ubuntu-20.04 + - RUN_ON_CONTAINER=ubuntu-latest + - RUN_ON_CONTAINER=centos7 + - RUN_ON_CONTAINER=fedora32 + - RUN_ON_CONTAINER=fedora-rawhide + - RUN_ON_CONTAINER=debian-stretch + - RUN_ON_CONTAINER=debian-unstable + - RUN_ON_CONTAINER=docs + +jobs: allow_failures: - env: RUN_ON_CONTAINER=fedora-rawhide - env: RUN_ON_CONTAINER=debian-unstable @@ -28,12 +32,6 @@ matrix: - os: linux-ppc64le env: RUN_ON_CONTAINER=docs - -sudo: required -services: docker - -dist: trusty - script: - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . && docker run --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --rm -t $RUN_ON_CONTAINER bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh"; @@ -51,8 +49,8 @@ addons: deploy: provider: pages - skip-cleanup: true - github-token: $GITHUB_TOKEN # set in travis-ci.org dashboard, marked secure + skip_cleanup: true + github_token: $GITHUB_TOKEN # set in travis-ci.org dashboard, marked secure local_dir: "doc/_build/ghpages" on: branch: master From patchwork Fri Jun 12 02:24:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307953 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl3j5r2Dz9sSP for ; Fri, 12 Jun 2020 12:26:57 +1000 (AEST) 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=lkrpOLZg; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl3j4nNYzDqvK for ; Fri, 12 Jun 2020 12:26:57 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=lkrpOLZg; dkim-atps=neutral Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1q0Q1VzDqtt for ; Fri, 12 Jun 2020 12:25:17 +1000 (AEST) Received: by mail-wm1-x343.google.com with SMTP id r15so6850289wmh.5 for ; Thu, 11 Jun 2020 19:25:17 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=5R8nPD5iun0oO15latGfdpqTfvJa5fOnfSj9nQchZa8=; b=lkrpOLZg+Zrh0rXO+/uzKWmcVmOUYbbdEvJcq+pCsPEUbIS5pGwepffxqU/+W48ob9 MVtxmZgKw+hnhvPJ6VVfpfw90toQWnvbD+gsKSQ1F+SRa//REVRI9K6Q73Kasu8mRTHG v/wq1rXmrnhcuziJRixJDNtUrW5FRLfRO9AiULqwVCzlIgByg/TmSIcs3VfF944m7Bx2 ajZTio/3zFYz05+1Wl4tDgjAu3pjUmCUlVKbcqRKHXfii5tIJd/oFlFnl2HgKy1S2LOY Dc6k3GsrwTRK+rxypjsIPTKNt+QQC02FIZwI1UiQAugdeEjtmEGqaOOmoPOfM6WIQ5iU LtYg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=5R8nPD5iun0oO15latGfdpqTfvJa5fOnfSj9nQchZa8=; b=XOhKap4Gc+iyFXRi1rf2i4UUJOJ9LMunMqN3YvVhaByP1/kajnXeJKiSda8mlB49ZH //AAt9uzPDItva+lDiSudHKOKlylDx2WYoG1aM1uQ+OhmYXplNSghPcI6i2c7XLyvq/K 7rxTrPapD/sHi+Wm7BwhMzQaxwb+/EAoThfKPB1HArvAvQi/jdEnWNea1NWXMrs+sMhS t+hd++kTAJ7R7PHRj2i1B8NnnuOBpdf2neR38novvEpJcuqG2kf4j7Vr6QpBgvE1j3kR lpQ8BzJ6OkziHyHrjDtyC8adlCBP4T/KThc1HthKBlQz03cQ9IoukUR9qnqW46xOk9y8 upXA== X-Gm-Message-State: AOAM5306D4dOkPg0wQ7bTmh5scbJ0e9DjwIoQX+0Mup8ssBR+hh/zR5a hAPwRKE+CL/RqOUe7B5fgujOLQtD X-Google-Smtp-Source: ABdhPJwXZVgW0H65H5mGGz+sE5tSvUCpCO+E+4/4ear6i+MXgfkUiSJA+JlvfMxu019Bq7KK+l3Niw== X-Received: by 2002:a1c:a5d4:: with SMTP id o203mr10864478wme.98.1591928714343; Thu, 11 Jun 2020 19:25:14 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:13 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:41 +1000 Message-Id: <20200612022452.371685-5-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 04/15] ci: Drop debian strech X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" This used the same build script as ubuntu 16.04 and is now broken. Remove it also. Signed-off-by: Oliver O'Halloran t Reviewed-by: Vasant Hegde --- .travis.yml | 1 - opal-ci/build-debian-stretch.sh | 1 - 2 files changed, 2 deletions(-) delete mode 120000 opal-ci/build-debian-stretch.sh diff --git a/.travis.yml b/.travis.yml index da07f200a001..f34d48d049ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,6 @@ env: - RUN_ON_CONTAINER=centos7 - RUN_ON_CONTAINER=fedora32 - RUN_ON_CONTAINER=fedora-rawhide - - RUN_ON_CONTAINER=debian-stretch - RUN_ON_CONTAINER=debian-unstable - RUN_ON_CONTAINER=docs diff --git a/opal-ci/build-debian-stretch.sh b/opal-ci/build-debian-stretch.sh deleted file mode 120000 index a340f1420652..000000000000 --- a/opal-ci/build-debian-stretch.sh +++ /dev/null @@ -1 +0,0 @@ -build-ubuntu-16.04.sh \ No newline at end of file From patchwork Fri Jun 12 02:24:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307954 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl4026kfz9sSP for ; Fri, 12 Jun 2020 12:27:12 +1000 (AEST) 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=vGbugzKP; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl400S2GzDqts for ; Fri, 12 Jun 2020 12:27:12 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=vGbugzKP; dkim-atps=neutral Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1r1nf7zDqv6 for ; Fri, 12 Jun 2020 12:25:20 +1000 (AEST) Received: by mail-wr1-x444.google.com with SMTP id e1so8164153wrt.5 for ; Thu, 11 Jun 2020 19:25:20 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=7RfMzrSbdEv/WbXg4IFyOJEEbj6yAlHCPh600MjeIeU=; b=vGbugzKPoTvmut6KcpbKG4ZkDAlF7R+BU1oIUsunPcrEQtFGEk2NAtwMQLbIq5WH5o BCmNtwsRV2GeMv6lKJbGlW8G4lgIyHHYjF+3jUDG36IO7d/YSZVts01V5AG1zGmzFlsk QPs9Eo+OoUKasUsnestFPoM88aoWanQyPvqz3+27dZFhywaDA76yg8zFG7ByXezPzWKe 7JAgAoStz0Crny0atD5xpZbAw95uPelcmouOdOoQPJAUIp4Knf8MK/Ga8bJYU6ZMNGEL rlWzfh+xA489IEgoJy+v8gxXDAzskMhq3GGfBuW+uBf4MB4dPwYKsT9GjVqvy7dvJ3PP lwTw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=7RfMzrSbdEv/WbXg4IFyOJEEbj6yAlHCPh600MjeIeU=; b=GZWO0vraD5xWdq5rFCHaAPMW6Zu65DtLebF6xTAZc8auhJs5slcWVw3eTxW6Ucr0Pb Un6qJTFfGGas0x+gTj2EGlIfRup7AL9sjAETlN6En5fOUyag8DrbCJVaxmQWDnz5vlGE gwOcGdJzsRK1BPgGKcTt092ezWa/oqLueUxCDI6hK+B4lOdvZZoK/USYy5hDH4lnwLMU KDGjLrjeqXPQ+RSqWZrCAizpJCDXzeFil0zOVFgVyQb52IgmZaoPrMdauKSQt5u7z7Hy ZWU9Ujis48/ovGpgDF5JLtcdIATShHVkN6FgadjGsXwGxAOH2aGqhPPT6x7g2q1N6cEm egYg== X-Gm-Message-State: AOAM530eXBbJbnquRe0ASqBBlqP8zzbF264PW5gKmqnXQXHsPpMGE4Oh 2CtsAwMUoIEieR9wcmd+A+r1UC+9 X-Google-Smtp-Source: ABdhPJy5Sd/b4z8g2L83Tpk75Ubfl+6RdbgFL05Ro8e4sjK7z5btQiL+dpEzairQ82aaQXiMSuXElA== X-Received: by 2002:a5d:5489:: with SMTP id h9mr12037443wrv.125.1591928716726; Thu, 11 Jun 2020 19:25:16 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:16 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:42 +1000 Message-Id: <20200612022452.371685-6-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 05/15] ci: Fix docs build X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" The docs build uses the Fedora32 container environment, but we didn't update the script when we moved to Fedora 32. Do that. Signed-off-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- opal-ci/build-docs.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/opal-ci/build-docs.sh b/opal-ci/build-docs.sh index e7cc87c9b503..4125f33d1a86 100755 --- a/opal-ci/build-docs.sh +++ b/opal-ci/build-docs.sh @@ -7,12 +7,6 @@ set -vx MAKE_J=$(grep -c processor /proc/cpuinfo) export CROSS="ccache powerpc64-linux-gnu-" -# There's a bug in dtc v1.4.7 packaged on fedora 28 that makes our device tree -# tests fail, so for the moment, build a slightly older DTC -git clone --depth=1 -b v1.4.4 https://git.kernel.org/pub/scm/utils/dtc/dtc.git -(cd dtc; make -j${MAKE_J}) -export PATH=`pwd`/dtc:$PATH - make -j${MAKE_J} SKIBOOT_GCOV=1 coverage-report pip install -r doc/requirements.txt From patchwork Fri Jun 12 02:24:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307955 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl4J2722z9sRN for ; Fri, 12 Jun 2020 12:27:28 +1000 (AEST) 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=mnEcN4Gl; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl4G6lk1zDqtK for ; Fri, 12 Jun 2020 12:27:26 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::336; helo=mail-wm1-x336.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=mnEcN4Gl; dkim-atps=neutral Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1v19GQzDqsw for ; Fri, 12 Jun 2020 12:25:23 +1000 (AEST) Received: by mail-wm1-x336.google.com with SMTP id f185so6847240wmf.3 for ; Thu, 11 Jun 2020 19:25:22 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=xqI1jxj6xYEnWR6h4v+mmNb4kulDwq+rDaPnQGQpdRA=; b=mnEcN4Glv52pJaevyeJtOxXCqr//lkIAAnep5xyB9cj4HtRFqczakVAypxf5yO7ZHN OEtB0Oe+NZfoJpdOAKC6BevL0IIzxuDl1USlj3tCr7/7CeM0Cr8c5PQzXOC538AvAGoC Wq1HgqBnEqCZFQcQBdg9aiNSPSIbpoI74lLtyV3fZ9Cy0WtP0FQ5q1QB7jI6zJNY3etB CnLSxubPfzzJDubKVkHDBM4soFcjq/BrES68O85FOTXzDl2PV1E9KFt02lVd7Rj5SwQi bGo/xxZs7FQn2c1dd1/ewqmMrO0htq7UYYGJmB1+ZOeNyf4jTXDkaBQ4htFGNYYDr6jG wFyA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=xqI1jxj6xYEnWR6h4v+mmNb4kulDwq+rDaPnQGQpdRA=; b=FrfKYtI2lPqwZtLOZlC3uwA8piJF5+UjTzmrawp9ZtuXN2zvyBAD2k8tNmZNc2xyRj yOI/35YcJpIKFB8o3T5U/8wWs0S7yFK6xSXc9SZGZC2xS/t/AWmwbyRw7Fk9On5EaSwS pTKB3S+7hx4kyGHYJyT09wnEqKYcug6pyhCowhqndYmBQZKMSpM29r40Xre3V9eIn4Iq Fi/PyYS/N9gHkED20cQUePqeqgPaRBnYBENXAihqWNqMSq2My9kUXYGg24A8ztTnsqE9 DLboxpmmJ2EDSzbvz5Jdb5UWfLlh60E+DQb6tNAIQFJ7MdmV3wt0cZCqWO0w+kFqM1ia EnLg== X-Gm-Message-State: AOAM530oDTQJaNW9qHn/JaIgJgNPaeFp9C1jCcPF14NxqqFPAJh1+lv2 RbPUXi4ZfsjWQ4GmW1iJzKs9IRyL X-Google-Smtp-Source: ABdhPJwFgXQqkvbeXkg6AG/8AfsM8mdex0/RNvzCZxHLDCWdNk7CCbL+ZV5OvI243Qkv/pD0CnqYQA== X-Received: by 2002:a1c:2d83:: with SMTP id t125mr11259751wmt.187.1591928719036; Thu, 11 Jun 2020 19:25:19 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:18 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:43 +1000 Message-Id: <20200612022452.371685-7-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 06/15] ci: Remove lcov workaround for Fedora X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" The bug being worked around here was fixed ages ago in F29 and F30. There's no need to continue using the testing version of lcov so go back to using the production version. Signed-off-by: Oliver O'Halloran --- opal-ci/Dockerfile-fedora32 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opal-ci/Dockerfile-fedora32 b/opal-ci/Dockerfile-fedora32 index 5fbf4683654b..9238027f8dc6 100644 --- a/opal-ci/Dockerfile-fedora32 +++ b/opal-ci/Dockerfile-fedora32 @@ -1,10 +1,8 @@ FROM fedora:32 RUN dnf -y update RUN dnf -y install --allowerasing wget curl xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel ccache dtc openssl-devel gcc-powerpc64-linux-gnu -# for building documentation -RUN dnf -y install python-pip -# for GCOV coverage reports (need testing due to https://bugzilla.redhat.com/show_bug.cgi?id=1668843 ) -RUN dnf -y install lcov --enablerepo=updates-testing +# for building documentation and the coverage report +RUN dnf -y install python-pip lcov # below packages are for building dtc RUN dnf -y install flex bison RUN if [ `arch` = "x86_64" ]; then dnf -y install http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm; fi From patchwork Fri Jun 12 02:24:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307956 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl4Z0PLyz9sRN for ; Fri, 12 Jun 2020 12:27:42 +1000 (AEST) 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=hdx/zUCM; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl4Y6tcWzDqsy for ; Fri, 12 Jun 2020 12:27:41 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::329; helo=mail-wm1-x329.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hdx/zUCM; dkim-atps=neutral Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1x03Z0zDqtp for ; Fri, 12 Jun 2020 12:25:24 +1000 (AEST) Received: by mail-wm1-x329.google.com with SMTP id l26so6692670wme.3 for ; Thu, 11 Jun 2020 19:25:24 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=PIrx4LG6IqUIaTlBzfS2Sv96mKhw3ZXsRnNuMxrwtw0=; b=hdx/zUCMLXi9NiZXqZoxHXUSnGxccXmSw/+n9vms5emnZsaSK6WV9xF11dtNWnTtjX y+aTB8mapNoPrefrmm6S1dO/kMsKwtdUhPbIszCcuTNdm7vcqooSVLrwti9+hui5gnrf Zg3CJ/AuVc0rLwuNabVlM/NaCpsW9+mfDUkn9Bb2EwiBJCdMMUMCDUXHNK80SMDGiCFD fmNsKvG8HP1muk8+h7dPv3/2vDHlSAHR2hTr7mtQlw12qqNfQ6sFBSEzTTQLpCOm6fm8 1KwGHA6HG2TneyYB6F9CA6nm/iv8ZMsYYkrxQ4usOg7hLsllhVPWuB2m6lUj7yF1CXUJ GoQQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=PIrx4LG6IqUIaTlBzfS2Sv96mKhw3ZXsRnNuMxrwtw0=; b=ucLCt52wQ5bpdM2rOAJtrzIqzaP4GwzqeMLycd/tWHr2hCgNRfi5f0pelJC3crLhrY Ey8bEF+7tZaoCzvwlQtXsX4ojU1kbQzcQZdu9A5JVYVDi3UlxTzlMsGtT3zbeGUbUFRS 1vnws7py6VKC2lSPVH0uE0XHQktAQKI0dB3ztjoikFvOJj5sBHWHZn1LS01nQCftW9Hl GTu90rIURcUzE+S+b3NUmuYxTU8J+yral8OXeZTFC6uNrbqT6f3m7yYSW8OFlojNswZc I+GHq7FwfcNXx26cv5K1owlFIWmaUebyTXSGP1RSfbQODse8otXmIfnbHf2D+g3EdtwZ XQrg== X-Gm-Message-State: AOAM533B9Pj2eGYO80owbBxpTpaAEwbBplbNXMU6yH56q+1e5VBKiAO3 Bzp8B+iY8fSb9S6JOUjETeCe4cxI X-Google-Smtp-Source: ABdhPJzXb0g+t6XkXcvL/gtb5vHCf1Sn0n75Gg5VlxhUGdIG+pnITWMfgysXs99l05nDcQbATJJ8DA== X-Received: by 2002:a1c:df57:: with SMTP id w84mr11573525wmg.52.1591928721512; Thu, 11 Jun 2020 19:25:21 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:21 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:44 +1000 Message-Id: <20200612022452.371685-8-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 07/15] travis: move container build into the install step X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Travis automatically hides the output of completed build stages. Moving the `docker build` output into the install stage results in less spam to wade through while looking at CI failures. Signed-off-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- .travis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f34d48d049ad..1ca5dd7cacd2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,9 +31,18 @@ jobs: - os: linux-ppc64le env: RUN_ON_CONTAINER=docs +install: + - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . + - mkdir -p ci_build_cache/${RUN_ON_CONTAINER} + script: - - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . && - docker run --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --rm -t $RUN_ON_CONTAINER bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh"; + - > + docker run + --volume $HOME/.ccache:/root/.ccache + --volume `pwd`:/build + --volume `pwd`/ci_build_cache/${RUN_ON_CONTAINER}:/root/ci_build_cache/ + --rm -t $RUN_ON_CONTAINER + bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh" # apparently this needs to be in the master branch in order for it to work on From patchwork Fri Jun 12 02:24:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307957 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl4r37Tlz9sRN for ; Fri, 12 Jun 2020 12:27:56 +1000 (AEST) 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=c8gpQJz6; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl4r2hnrzDqtj for ; Fri, 12 Jun 2020 12:27:56 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::441; helo=mail-wr1-x441.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=c8gpQJz6; dkim-atps=neutral Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl1z5c1lzDqts for ; Fri, 12 Jun 2020 12:25:27 +1000 (AEST) Received: by mail-wr1-x441.google.com with SMTP id y17so8135840wrn.11 for ; Thu, 11 Jun 2020 19:25:27 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=GRu5BD5IDGrmymvF9OmOibb+AHUWQ3EuAHO6thF+vVw=; b=c8gpQJz6z3SRNebLaJeR1u/fU7uEMAXXw+RSSM7/fhY2OyYJ14R/YsVG1KCGPsyFss zE6xrRcivdCgn4jZ8a9bIhRdGeaj2fR+RiJmJM6fZjjf9o1vkw1GCF4qv++QVwoakXQ8 XuZyfT1KqHc5UEarcJUAwhAVLTbPcPIkqFvXkyRmbidCI/YgtXTeDxxapfX1w4bPSYfw ja3zW8tVfr50Lc+riHwR//KFjkmkMLMX++FLueNuEMipmvVYK0OBgzMMpRFO1Us3r8qJ EadgMMFzCaYKRoub74JlvwRFxQoH/6VS9PvupmeBvrlJ8ssND4tV740AxfwWyQLF1jun TnTw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=GRu5BD5IDGrmymvF9OmOibb+AHUWQ3EuAHO6thF+vVw=; b=QVuNSY44DoqZAVmMnitmMX5NXz7eT4yZGhG+JSv2ITT4Y9he8eY78Nh/u7KG2scs6e dmMfNETIkWJRzv5XFbP9TB963SCRVEfvXDvJlM//Cvff98xLapdTYxIn9N8Mhb3odIjm X2BS+7duV00026DTcSmoJLPsvQjmW/dvQp/6uFOzdqMEwP8Gj0EEiYsgMGIfix+xmBch BfGimwQiiKY4ZY5xcqUvUvnqquGcp+s2Nrg/t5iFUiXfZGKIkLey4ymagTQWcm1cfI9T QgA1rhXznEAUjU6WY2PucXPyuDwZHbgCRowdNZ657sehgpyb/38qPEFZUJGJm1HwMGGE OjSQ== X-Gm-Message-State: AOAM532rHcAgXBL4Gyrh90APeZ/b052byysfmNSYY/AYN+hkM9xjqsdd 3EkjLNg5+RDuc/0x6SEjjpsxiILt X-Google-Smtp-Source: ABdhPJwZJzjtGQmxRbguE1e+hz2Jw6YQi/ivJQNLXEFb5NNv/ocy6PdYNdQLWHvy4xDjijrv4nuN2g== X-Received: by 2002:a5d:6acf:: with SMTP id u15mr13132579wrw.277.1591928723828; Thu, 11 Jun 2020 19:25:23 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:23 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:45 +1000 Message-Id: <20200612022452.371685-9-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 08/15] travis: Allow ubuntu-latest to fail X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Ubuntu-latest is a rolling development release, similar to rawhide. There's no need to treat failing there as an actual error. Signed-off-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 1ca5dd7cacd2..714aeb6f98eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ jobs: allow_failures: - env: RUN_ON_CONTAINER=fedora-rawhide - env: RUN_ON_CONTAINER=debian-unstable + - env: RUN_ON_CONTAINER=ubuntu-latest exclude: - os: linux-ppc64le env: RUN_ON_CONTAINER=centos7 From patchwork Fri Jun 12 02:24:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307958 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl5H2Y2Bz9sRN for ; Fri, 12 Jun 2020 12:28:19 +1000 (AEST) 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=taA8fwVY; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl5H1Gz7zDqty for ; Fri, 12 Jun 2020 12:28:19 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::331; helo=mail-wm1-x331.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=taA8fwVY; dkim-atps=neutral Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl216QYMzDqtR for ; Fri, 12 Jun 2020 12:25:29 +1000 (AEST) Received: by mail-wm1-x331.google.com with SMTP id u26so8148430wmn.1 for ; Thu, 11 Jun 2020 19:25:29 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=/wQNSvZDjSLwvm23v94h4e3vTiS8MQqrw+0bZ/LiZSg=; b=taA8fwVY7aKP3YK2ZWwPyswXitpo4ecIDAs8/KPqDUYBuZa9MoWCMkuNC0afruM9I7 jtSeKVvJX1AXlRZr5bKhPJIb8A2cYOSaugiErtrQ1dmR56AeM+BQ4mAjsxGCo7tkps1U nIilNIrCXkcQIr9+7xCuxa/wh0Gk7eiasZl9LysMWSs6TWexBTcA+CEozX2hCN84JFGo HEgUDPs160VA7W1fC08/v7+014x6HexWE6SjSErwWdaKdvzy7BYbgCBxjwjQuEs3ElB6 kbOUOr0sVAn6cqsvsc9AZeLhHuBSgNc6XlB1sfsC9L9JYyWSHCFWoz9q3v8SKRX7z4H1 eI6g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=/wQNSvZDjSLwvm23v94h4e3vTiS8MQqrw+0bZ/LiZSg=; b=qiZ4FHELXweqsaVgr+cNe2/VEKcSWDT5on4Iz4XZYc55ZursmpcqOdOOWUPZoFM+tv wE4ss3gaAf92zzZCZrpV+03HA320G9qnx8TQoayalSoQCFcSeT5CBsVaGu+PjHEpIWIo 3xf7F4B4U7kywYNVyNu8nYYbaYa6vbVIpRjtmqawKWVlqmRW7nzBPGHEUie772nIakLQ z5+anmWt1QFSdFyThNlKupAGWmbHoJqvAnfadgbfAvzW3mXCsfNSW2xXF2aO8U5SPptU TTFZBThoEUkD5Wel+vRr3oKdbtysPOrkt7MlyWekMJZ+cCtSz9lO4fdZr4JvEa+KUVV1 Tm+g== X-Gm-Message-State: AOAM530tOeQr7O/LP1wnYCvY5RQGFVk4IMaj5w7IZMhW7D3B91F5m6bg 2ZH1aUlKXlEY/JbT3C2tPRfr0Sjz X-Google-Smtp-Source: ABdhPJzU+duJUSZ5VkL8zKUa3rnvnUKiOTi0MBZ8hbk9TRBXMlTu7emNxHNM5PirJvjYtWzXPK5Ehg== X-Received: by 2002:a1c:541d:: with SMTP id i29mr10882331wmb.73.1591928726143; Thu, 11 Jun 2020 19:25:26 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:25 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:46 +1000 Message-Id: <20200612022452.371685-10-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 09/15] travis: Add an explicit tmpfs mount X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" A tempfs mount is missing on fedora 32 which seems to be causing errors when testcases attempt to write there. Signed-off-by: Oliver O'Halloran --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 714aeb6f98eb..17061913feb5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,6 +42,7 @@ script: --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --volume `pwd`/ci_build_cache/${RUN_ON_CONTAINER}:/root/ci_build_cache/ + --tmpfs /tmp/ --rm -t $RUN_ON_CONTAINER bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh" From patchwork Fri Jun 12 02:24:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307959 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl5g723Rz9sRN for ; Fri, 12 Jun 2020 12:28:39 +1000 (AEST) 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=taxPy8Zm; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl5g2yn1zDqZ2 for ; Fri, 12 Jun 2020 12:28:39 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::342; helo=mail-wm1-x342.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=taxPy8Zm; dkim-atps=neutral Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl241LwVzDqv9 for ; Fri, 12 Jun 2020 12:25:32 +1000 (AEST) Received: by mail-wm1-x342.google.com with SMTP id d128so6853839wmc.1 for ; Thu, 11 Jun 2020 19:25:31 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=NxwYqRmH74CUDBDX2IKkxpK6qiTEAsIsL/DXaTa1NPc=; b=taxPy8ZmdLxJsxKMS+MG9TiA5+cRmZYEjVM0Y85cvY1GVJAG89VpsriRA7swRxI9Sv +BF3vilvw5rX8qxCYlKLgGdx5pPtTsspcggphJ6m2wonVQipPRXp7t6QYxy8qBI/1ozv QTKvPbzTMmlSyhJ/RaTRATuNZh5z3Pnyqld5vecyinh13xJrWiuSwLB5Xur1X+kwWDQA DQhuBbFxdBT3TgQ3rr9ct+LOOWhLVibwic6SEp9HcoGaRLuu4rjzzN+ZHglnDWu7MjqO 0CiK67wpAGd5anmuZznZdMVGb34KEhENaJUMNrTxTgDx7UDeY7o8Qnmsc7jbviXDTvll M5yA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=NxwYqRmH74CUDBDX2IKkxpK6qiTEAsIsL/DXaTa1NPc=; b=FzYFgCuTMN6GbDhwF/7FoNXGYP4KsxZct40tmGpcpkbm2RyIXasF8OlA8vB5b5pD/S 0TLMwGk8k1ZZL39qHkuqGgHY8luZO0QMgB8uKyx9e7TJfh/RAEKrmF2y4seuGsU1UnRl snBhMKyKEm49M/YxPZeEKitft9EJ+RzTJjqgQwmqjigzoBLaEd8WfI+vPiBzhs5FlA+a D6n3cjA33Zl62wK9qVyedjvpx5wg36DNLpqy4AvoN1wbFkY3mEAB7Wk1WQOwlu7hVuDh +G1NXLK4oonaxGBBzLVfDwyg/DuEzd5k9N4UBiiGFF5WcJeNFhfj1E91BIS34k+E/Wep zobQ== X-Gm-Message-State: AOAM533BxZEVGMl25U6JJSCXEAXuFJWt8C+wVO1A4DvkA+P6+VlUgJuX mNyznYL+F3mwPJ4gvR4WHDumawno X-Google-Smtp-Source: ABdhPJzhgZPTTPa5IdyOQ8xw+etdb/hLXDVeY1eit7OkPFPi92uXNdO+BVzBifWIOcmeOxsalHH8pw== X-Received: by 2002:a1c:2c45:: with SMTP id s66mr11379667wms.40.1591928728448; Thu, 11 Jun 2020 19:25:28 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:27 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:47 +1000 Message-Id: <20200612022452.371685-11-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 10/15] travis: Disable seccomp on child containers X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" We've been hitting the following issue with valgrind breaking when run inside a Fedora 32 container: [ BOOT TEST ] ccan/check_type/test/run valgrind: ccan/check_type/test/run: Operation not permitted make: *** [/build/ccan/Makefile.check:24: ccan/check_type/test/run-check] Error 126 make: *** Waiting for unfinished jobs.... This seems to be a result of the default seccomp profile blocking system calls that valgrind wants to use to inspect the process being debugged (i.e. ptrace). Fix this by using the unrestricted seccomp profile and giving the container the ptrace capability. Travis uses ephemereal VMs for each job so this isn't any kind of security issue. Signed-off-by: Oliver O'Halloran --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 17061913feb5..860d204d0465 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,6 +39,7 @@ install: script: - > docker run + --security-opt seccomp=unconfined --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --volume `pwd`/ci_build_cache/${RUN_ON_CONTAINER}:/root/ci_build_cache/ From patchwork Fri Jun 12 02:24:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307960 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl5x4G9jz9sRN for ; Fri, 12 Jun 2020 12:28:53 +1000 (AEST) 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=DpwJc/B5; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl5x2gdQzDqtN for ; Fri, 12 Jun 2020 12:28:53 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::32e; helo=mail-wm1-x32e.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=DpwJc/B5; dkim-atps=neutral Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl263NwszDqtQ for ; Fri, 12 Jun 2020 12:25:34 +1000 (AEST) Received: by mail-wm1-x32e.google.com with SMTP id u13so6702564wml.1 for ; Thu, 11 Jun 2020 19:25:34 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=yfarhq/G3f4V5uBtJuRL5u59WzhWm4t9fFAxUHvmpxY=; b=DpwJc/B5VhONzxedaejyB8LBkg3Ub6WANVMJWf44g+v30GMLOI8EqJ37S4K93PNBJj 6bKq12SjQEWLgJBslAHC87DecYh8egrF+QtnJMD/W6+Bi4NMa6EdrDbJ52bLGsu1hTJy rvyS8hXNx0z5wRIwG/cZFbUtPYRPnZrqAM+alWZgcfhow4FztZeDf2iH7oSLjAVhembf RqXMAn2MrreNxfXOz3i4TAM1JDQ0IjW/46vEB+jg4KkX4hS162YBCDL3qSbyAxV33AO0 0n6DlTkO+LzbkmrlfmOJlE845v/Fkl4GdkPbXU3CkzgGwU69LBlx5q0AKP+w46FI72U8 2U3Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=yfarhq/G3f4V5uBtJuRL5u59WzhWm4t9fFAxUHvmpxY=; b=O4Mb2fLThlhFeJtcwrH9DXYR2fpnXiOomAQ1t/EQezxmPXWAaDdzi77cwnQTi9FO1B DitcjhOp22CZKoIY3YAHjNJJ5+b1I6dUsOTFhC/Rjl0RH1KwvgkRO/WVsvcnfUurK5I7 pJrCuhyxom+Tsek2KY1CXJ7xMcYRU+v+sobKwHfaadwPjBC3f7Dw01xUD3QMRJ/kiJct 2UmUNzJJmnWnslceq2SpFS58gc0ySruV2Ux9SlG4KDnUlSRbo+uTFxIw8ZhDTYog1H8D QudUlb0tDZ6qpoJq00La2Sw7d/1M6gqSbpeF+wIHuygGhuBx5Kork/H96Z8BZMXwVN8G M4Aw== X-Gm-Message-State: AOAM533Vt2mSqcRJeG3S9P/FjiuaYIIHNRbYWsp/eIWhkEe2088UXDPv WhFa7vU/SDd1B6pS5sNI4LO+q1oM X-Google-Smtp-Source: ABdhPJx2OxkcaQFv8zGlkj+uIGUSDCH59/2U6zwG3IomA96AE2cuNe+yuVInnP5AlA5VjfX+varC7A== X-Received: by 2002:a1c:3c6:: with SMTP id 189mr10689724wmd.81.1591928730718; Thu, 11 Jun 2020 19:25:30 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:30 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:48 +1000 Message-Id: <20200612022452.371685-12-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 11/15] test: Add an external-check target X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" To go along with core-check and friends. Signed-off-by: Oliver O'Halloran Reviewed-by: Vasant Hegde --- external/Makefile.check | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/external/Makefile.check b/external/Makefile.check index 7edd7a21e6ce..d3d04c7ffabb 100644 --- a/external/Makefile.check +++ b/external/Makefile.check @@ -6,9 +6,11 @@ CHECK_TOOL=$(patsubst %,check-%,$(TOOL)) TOOL_COVERAGE=$(patsubst %,%-coverage,$(TOOL)) TOOL_TEST_CLEAN=$(patsubst %,%-test-clean,$(TOOL)) +.PHONY: external-check +external-check: $(CHECK_TOOL) .PHONY: check -check: $(CHECK_TOOL) +check: external-check #Makefile knows to build and clean it before checking, should also #make clean before checking. If not, .o files for different From patchwork Fri Jun 12 02:24:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307961 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl6D0r7yz9sRN for ; Fri, 12 Jun 2020 12:29:08 +1000 (AEST) 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=Gn34/10t; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl6C6c4YzDqty for ; Fri, 12 Jun 2020 12:29:07 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::443; helo=mail-wr1-x443.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Gn34/10t; dkim-atps=neutral Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl2C145vzDqsw for ; Fri, 12 Jun 2020 12:25:38 +1000 (AEST) Received: by mail-wr1-x443.google.com with SMTP id x14so8161517wrp.2 for ; Thu, 11 Jun 2020 19:25:38 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=X/8hRSoLawQD72WGkcHXmGaX3QY1vJgnG5Ta1KRsE3g=; b=Gn34/10t6L1wtaRk87A8fP1bu05kBy3G4ju3Dm22ok7bX613FUEGCgs8g+d86P4Ach iUhbGykVyzBWkB+h75buEblddAqB2lknV2l4SQHZyo1s+AvkQ2BpuFLzWzDgV0CREdBj yGopDmWdrM8chbyTYE3nZRX8cMRp4HKfZ/x8lU/wM730voz8Ezu5747LWRYMBxNrjUrH TtozD/EMw3WZUVfQg3nTqfOvmIdy1KR5Kg9yaskNWFHR44PuftEaat1EtHOGTEr4Hwix E3EhI43pPGxWGk9mXMzEuURmDmVy7eyWTmKLVME5VHIiZiHVh4mAcLp24By3x2lhUOyu Okug== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=X/8hRSoLawQD72WGkcHXmGaX3QY1vJgnG5Ta1KRsE3g=; b=acFK3ogDTPYc+Wv77Hr8/s9E+ExleGyqMVA988Lxm4lj0H1/7stZIB5yQM1ocnCBdH pJdLazTK0bNUnM6UWGFF7hxKW/PaIp5l3Ao5XtK3wW9QYWIMy9QcRPf3CaBcyargRESq 26hzqOrJ33rhB1uyB7zEq5qOa38odsdtUtwgvK/kAvWiWiAOXKGM0Fvrfmst52luFujg gGzU+XFAXp0IRmd9UZXz0rz7pSSiqv0RNPuiMLibaIS1c8Jl0HZrxUkAw4QJ9OZEz4sk 6+h5csVPc1/Gt/EuSKu+FYuDMrMwiCo2InARc9e/0ZZnC9YH6c/ceCLFJ8vJQlp3h6OY V8dw== X-Gm-Message-State: AOAM532w5CFEIPsD9OFGTIQooaxysFNpS/ypCtNWm/sm+t60Hr82JhyJ b5AfTVckBWdepP6guLAK8gmlj0gd X-Google-Smtp-Source: ABdhPJxq6reJIpHqqq1ZNxe0rdbjVnwm7KawYG41ckEfykIaD81sySVYpVE/A1g21o+quyakuj34yQ== X-Received: by 2002:adf:a157:: with SMTP id r23mr12982188wrr.92.1591928733025; Thu, 11 Jun 2020 19:25:33 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:32 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:49 +1000 Message-Id: <20200612022452.371685-13-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 12/15] test: Do gcov builds as a seperate pass X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" We only really use the gcov output when doing the coverage report as a part of the "docs" CI builds. It's useful for development to just run the unit tests so make sure the "check" and "coverage" targets are seperate. This also speeds up our CI builds since those jobs are already doing a seperate GCOV pass so building and running the GCOV binaries during the check pass is redundant. Signed-off-by: Oliver O'Halloran --- Tbh, we could probably drop the gcov builds outside the docs container. We don't do anything with the gcov output for most of the builds, but I guess it's useful to at least verify it builds. --- ccan/Makefile.check | 5 ++--- core/test/Makefile.check | 3 +-- hw/ipmi/test/Makefile.check | 2 +- libflash/test/Makefile.check | 2 +- libstb/secvar/test/Makefile.check | 6 ++---- libstb/test/Makefile.check | 4 ++-- 6 files changed, 9 insertions(+), 13 deletions(-) diff --git a/ccan/Makefile.check b/ccan/Makefile.check index a5967661881e..e9c23970fff6 100644 --- a/ccan/Makefile.check +++ b/ccan/Makefile.check @@ -4,12 +4,11 @@ LCOV_EXCLUDE += $(CCAN_TEST_SRC) ccan/list/test/helper.c CCAN_TEST := $(CCAN_TEST_SRC:%.c=%) - -.PHONY: $(CCAN_TEST:%=%-gcov-run) ccan-check +.PHONY: ccan-check ccan-check: $(CCAN_TEST:%=%-check) -check: ccan-check $(CCAN_TEST:%=%-gcov-run) +check: ccan-check .PHONY: ccan-coverage diff --git a/core/test/Makefile.check b/core/test/Makefile.check index 8e59ef00e7b6..7c347bea2a56 100644 --- a/core/test/Makefile.check +++ b/core/test/Makefile.check @@ -35,8 +35,7 @@ LCOV_EXCLUDE += $(CORE_TEST:%=%.c) core/test/stubs.c LCOV_EXCLUDE += $(CORE_TEST_NOSTUB:%=%.c) /usr/include/* .PHONY : core-check -core-check: $(CORE_TEST:%=%-check) $(CORE_TEST:%=%-gcov-run) -core-check: $(CORE_TEST_NOSTUB:%=%-check) $(CORE_TEST_NOSTUB:%=%-gcov-run) +core-check: $(CORE_TEST:%=%-check) $(CORE_TEST_NOSTUB:%=%-check) .PHONY : core-coverage core-coverage: $(CORE_TEST:%=%-gcov-run) diff --git a/hw/ipmi/test/Makefile.check b/hw/ipmi/test/Makefile.check index c3d6359c411b..ceed1ed396b8 100644 --- a/hw/ipmi/test/Makefile.check +++ b/hw/ipmi/test/Makefile.check @@ -4,7 +4,7 @@ IPMI_TEST := hw/ipmi/test/run-fru LCOV_EXCLUDE += $(IPMI_TEST:%=%.c) .PHONY : hw-ipmi-check hw-ipmi-coverage -hw-ipmi-check: $(IPMI_TEST:%=%-check) $(IPMI_TEST:%=%-gcov-run) +hw-ipmi-check: $(IPMI_TEST:%=%-check) hw-ipmi-coverage: $(IPMI_TEST:%=%-gcov-run) check: hw-ipmi-check diff --git a/libflash/test/Makefile.check b/libflash/test/Makefile.check index 1e55237193f0..4dbd7ee75203 100644 --- a/libflash/test/Makefile.check +++ b/libflash/test/Makefile.check @@ -33,7 +33,7 @@ check_PROGRAMS = \ TEST_FLAGS = -D__TEST__ -MMD -MP .PHONY: libflash-check libflash-coverage -libflash-check: $(check_PROGRAMS:%=%-check) $(CORE_TEST:%=%-gcov-run) +libflash-check: $(check_PROGRAMS:%=%-check) libflash-coverage: $(check_PROGRAMS:%=%-gcov-run) clean: libflash-test-clean check: libflash-check diff --git a/libstb/secvar/test/Makefile.check b/libstb/secvar/test/Makefile.check index b41eaf4831ba..bba1197e63b5 100644 --- a/libstb/secvar/test/Makefile.check +++ b/libstb/secvar/test/Makefile.check @@ -8,12 +8,10 @@ SECVAR_TEST = $(patsubst %.c, %, $(wildcard $(SECVAR_TEST_DIR)/secvar-test-*.c)) HOSTCFLAGS+=-I . -I include .PHONY : secvar-check -secvar-check: $(SECVAR_TEST:%=%-check) $(SECVAR_TEST:%=%-gcov-run) -secvar-check: $(SECVAR_TEST_NOSTUB:%=%-check) $(SECVAR_TEST_NOSTUB:%=%-gcov-run) +secvar-check: $(SECVAR_TEST:%=%-check) $(SECVAR_TEST_NOSTUB:%=%-check) .PHONY : secvar-coverage -secvar-coverage: $(SECVAR_TEST:%=%-gcov-run) -secvar-coverage: $(SECVAR_TEST_NOSTUB:%=%-gcov-run) +secvar-coverage: $(SECVAR_TEST:%=%-gcov-run) $(SECVAR_TEST_NOSTUB:%=%-gcov-run) check: secvar-check coverage: secvar-coverage diff --git a/libstb/test/Makefile.check b/libstb/test/Makefile.check index d4d7cb46c7a2..6911e0aebc75 100644 --- a/libstb/test/Makefile.check +++ b/libstb/test/Makefile.check @@ -9,8 +9,8 @@ libstb/test/print-stb-container-q: libstb/print-container $(call Q, TEST , $(VALGRIND) libstb/print-container -I libstb/test/t.container |diff -u libstb/test/t.container.out -, $< t.container) .PHONY : libstb-check -libstb-check: $(LIBSTB_TEST:%=%-check) $(LIBSTB_TEST:%=%-gcov-run) libstb/test/print-stb-container-check -libstb-check: $(LIBSTB_TEST_NOSTUB:%=%-check) $(LIBSTB_TEST_NOSTUB:%=%-gcov-run) +libstb-check: $(LIBSTB_TEST:%=%-check) libstb/test/print-stb-container-check +libstb-check: $(LIBSTB_TEST_NOSTUB:%=%-check) .PHONY : libstb-coverage libstb-coverage: $(LIBSTB_TEST:%=%-gcov-run) From patchwork Fri Jun 12 02:24:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307962 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl6X4kjhz9sSP for ; Fri, 12 Jun 2020 12:29:24 +1000 (AEST) 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=skSIte2m; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl6X3cbtzDqty for ; Fri, 12 Jun 2020 12:29:24 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::443; helo=mail-wr1-x443.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=skSIte2m; dkim-atps=neutral Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl2C3ltmzDqtN for ; Fri, 12 Jun 2020 12:25:39 +1000 (AEST) Received: by mail-wr1-x443.google.com with SMTP id t18so8161412wru.6 for ; Thu, 11 Jun 2020 19:25:39 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=DByzU4jpcagjUpz8+9c5ppVj/XovtRSVLGYh/DN62+U=; b=skSIte2mNGxd+Rluwc4RmxXMe0lqJ/O99HjCJMP2gIYjj9UhnkApmtSfAV9+F6vgE6 Xx47yasA91K164YxcXyxjQa7zVgFvInvbMSdb/a8vYt3jfGiOCRgZy84rT7i+BDIKla/ 1jJH/HK7S5H1ubRA9olIim5ep86fwIJKshUgYybGOcqSOAr6Fj86pFW+CFvw7z6DArAS RKUWzcRPppxO81HkMOrmfjzPxpb1GZhq9yK3xYCQDiDle6sIQigM9a5WgwGubozQkggg m8eNq340tSMRQ27IVmbSKOPMY7SG0ofydS/xxfnsMCQZW2gUXcpI64useEjK68BzP0kM 8LBQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=DByzU4jpcagjUpz8+9c5ppVj/XovtRSVLGYh/DN62+U=; b=A4QX2wZeZQwrfx41alaVB/0Ll+qrcwXdwp9NzKhDcByk39kc+Oq+m/i/0gxlNI5Mqj 8UTkuV/dQpqS4qUBkqbXOxSVbIqvEWGtJvbIIf5j+tt9IYwTaLEStfAF+evjj8260mBG psXFr5AkCkB8Y/ojVQM5oJLkEUhORNboSmqsWUhtkxXEtqzSoH3HIADXJIH2h+aBtSNk NA0zudIQlej14r1sknxfcH3hpMbOK+IgXbeXZgH5onuezklnSFs93JafGBCe897yNGGq LbMBppc8dz8GWRDycJ5X83rdZoBFYM9pIx9rRRn4EqspeO2WrP6a9NM1glVq1DBMEm7W Z0qg== X-Gm-Message-State: AOAM530AP6hyzYaYONK4NSa0EJavDDaxfb2RSPEBHcXlgZ73ciC6kCoO ZPZ9yI5PDkr3jjoCCUg3fjccD1Xy X-Google-Smtp-Source: ABdhPJwCL8LX1zBUUhcUhVDLACvG34lPwYuSN0c4ZJnjY7IqwLMfjHF6AnJ5xmEp3c7DHy5os8cTjg== X-Received: by 2002:a5d:4090:: with SMTP id o16mr12232549wrp.354.1591928735310; Thu, 11 Jun 2020 19:25:35 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:34 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:50 +1000 Message-Id: <20200612022452.371685-14-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 13/15] Makefile: Add -Werror to try-cflag so it works on clang X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Clangs prints warnings when it sees unknown command line options. Adding -Werror to the command line to upgrade them to errors results in clang exiting with exit code 1 which is what try-cflag expects. Signed-off-by: Oliver O'Halloran --- Makefile.main | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.main b/Makefile.main index bf0fcfaebf76..ec69b2d2c882 100644 --- a/Makefile.main +++ b/Makefile.main @@ -20,8 +20,8 @@ try = $(shell set -e; if ($(1)) >/dev/null 2>&1; \ then echo "$(2)"; \ else echo "$(3)"; fi ) -try-cflag = $(call try,$(1) $(2) -x c -c /dev/null -o /dev/null,$(2)) -test_cflag = $(call try,$(1) $(2) -x c -c /dev/null -o /dev/null,1,0) +try-cflag = $(call try,$(1) -Werror $(2) -x c -c /dev/null -o /dev/null,$(2)) +test_cflag = $(call try,$(1) -Werror $(2) -x c -c /dev/null -o /dev/null,1,0) cc-name := $(shell $(CC) -v 2>&1 | grep -q "clang version" && echo clang || echo gcc) From patchwork Fri Jun 12 02:24:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307963 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl6q2yx9z9sRN for ; Fri, 12 Jun 2020 12:29:39 +1000 (AEST) 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=hzfL16eu; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl6q242yzDqsx for ; Fri, 12 Jun 2020 12:29:39 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hzfL16eu; dkim-atps=neutral Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl2G0SLqzDqts for ; Fri, 12 Jun 2020 12:25:41 +1000 (AEST) Received: by mail-wm1-x343.google.com with SMTP id g10so6690287wmh.4 for ; Thu, 11 Jun 2020 19:25:41 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=f51CbLgBVkr1z3VNK+1cHnfnU2gUKTbG/ZuDCF9Kavo=; b=hzfL16euSavJOTPPzN/CIxn0W5SuR/ZyqqsWRPG4UjdB1EcxS1pF5CT4QqRiyNgZDe Zx6uyKgGshXnxXkQt4fgciAAuyENKq04EDrZNoNbuNYMwOGSS3G4MDLA1ixp/QTD1+4/ Y6UcsTSBdmmynxpdoQEdohKRGFclcKTKUNgNthgmy72LzHx2Zo/0p52f3e2JuPEB/92U RSs+LzwzdR4bQRRl1d2Y0oI77+hU3ymWBl5NWykkT5UztZQzFA8870U+qfUmSJKLHEwd Tf5wLPNbLpaoS46I3FldZESqpFqiyBC+7RKASfhXCRziW3kDEdqRaoDjzqcFTCo3RVNx 5OlA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=f51CbLgBVkr1z3VNK+1cHnfnU2gUKTbG/ZuDCF9Kavo=; b=AMC07Mpp9c4C7EV8gvrSurOXTK1YCujHfImvAMswLf91wHWS0+1yqCFi3d1A7enIsv y06Raith6LCs6FGtD61jmqEdopi+hBV6BTtmBp/37TKnK1fz30ZuxMmkia4DUrXBQUTe pl2z22nswjg5qlcMXyo6BiHTQMWOMjrd6u6NWXk0fa7R+60E9/bBMudFtTN91yRK6aVF nkoymTMlp3Guy+C/IOsBWJuc+G4habFRaBwF7Dv3zOGq0sSCDTqCdUHcZSVu9P8Z6Vo8 txhu+9YXeX58YjZRRQ/8VhDfLhmXLtW0vhTqvjaJdc6Gt67Mu05LM7ryV10unpM5yhLv fyvw== X-Gm-Message-State: AOAM530nJKCKh+4XNDNjE5Z7JNx5g3UKTDrcGaiZWetSL5FKIizSS2Hm lXJhCu7MMptafXrnVVdBG/YtRSme X-Google-Smtp-Source: ABdhPJyOjOq/Ru0HdlvI9Nw65UgTqO4PN3AK+2wcf3np4VSXzs+28egaFR0iLSJXnU/oZ4Yy1O1rYg== X-Received: by 2002:a1c:5502:: with SMTP id j2mr10752775wmb.15.1591928737619; Thu, 11 Jun 2020 19:25:37 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:37 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:51 +1000 Message-Id: <20200612022452.371685-15-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 14/15] makefile: Supress Werror on clang X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" We get a lot more warnings from clang so disable Werror for now so it fails to compile elsewhere. Signed-off-by: Oliver O'Halloran --- Makefile.main | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.main b/Makefile.main index ec69b2d2c882..c429bf1dfb7d 100644 --- a/Makefile.main +++ b/Makefile.main @@ -43,6 +43,11 @@ CWARNS += -Werror endif endif +# clang tends to emit more warnings so stop those breaking the build for now +ifeq ($(cc-name),clang) +CWARNS += -Wno-error +endif + # Host tools and options HOSTCC=gcc HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^ppc.*/BIG/') From patchwork Fri Jun 12 02:24:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oliver O'Halloran X-Patchwork-Id: 1307964 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49jl756D2vz9sRN for ; Fri, 12 Jun 2020 12:29:53 +1000 (AEST) 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=PdZwhoBv; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49jl754cxyzDqv1 for ; Fri, 12 Jun 2020 12:29:53 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::329; helo=mail-wm1-x329.google.com; envelope-from=oohall@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=PdZwhoBv; dkim-atps=neutral Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 49jl2H4sgmzDqsx for ; Fri, 12 Jun 2020 12:25:43 +1000 (AEST) Received: by mail-wm1-x329.google.com with SMTP id g10so6690337wmh.4 for ; Thu, 11 Jun 2020 19:25:43 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=EEeRreLUBs4lmcCZtSb/LGiF4zCsxvXF7bM8tyLjfZA=; b=PdZwhoBvPyZ6czPUUlHkuhmE0PclUDhCJCNip+5kihyAyQfoO6AgTpJfWXSAYVjTmf cmRUni0nRlA/McbmAsKrePo5DFN8WFYy/qqVbB2JyGp8o2S3dvXW680OSt990lWONJmD fYf4QX9m9Aa0MWMt6+jzcSUWy3ltNEJRUebjwgYWSCBK7IpnvovjJMJElI+k05FcbAng 8V1j9HfEKTS/NNJRjCGUL3cEsp0YkArt/fHvXvhjucdHTmvoGf7ApCRAMkQeAZEou9zv bCQqr6SXEqGur1mjXyv8YkvOf2Ht9DChl6k3m4f2FFfnHiIDLNtXWRzeoiRDHu6kQs1K A6Ew== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=EEeRreLUBs4lmcCZtSb/LGiF4zCsxvXF7bM8tyLjfZA=; b=kEwreM4ljepq3zPR5VwsXqBRxB+fI7zV4mfe9+yxjL8bR9FCawl3Hvf6Qii3fN/fAd ajNQPkroQs+/7hxcP20qRlbpD1t8CLVGluLT9CZPP/OFDxHjNzLhQuCRSpdui7iBWNwC RbsbBKXBJMVdwL9igt6JNW7o3SeOWTeJD9FPu63cn2BbqM2lkb9xhruxU4oIaNFNR2l7 79Ob8Hro9Sj93/ZUbtNyMX8cDHvIzaQ9Q24aU8g4P/mt1BDqQeLX6x9B5V8mFkh4St4+ kvvHjSRaZYsCN8OMU/fNYPf/Ic6+kXh7VU6idoK6ETIkVWDbtLojnZO/d13lrKD91LrO nSFg== X-Gm-Message-State: AOAM530kgCxxKrtK/lnxdqPZaLaA9louOSB4OMk6Z0jCyxBLSH+WmKor TreP5bS1RDLJLY8qQr0lbc/fq9e5 X-Google-Smtp-Source: ABdhPJxeUUMKoIA3boWsuh3scZwWkVtPwKlOL7H9T5uLTxVB3ZDHQz7uNVRUCX90MezIhQv7lJXBgA== X-Received: by 2002:a7b:c2a9:: with SMTP id c9mr10429995wmk.11.1591928739970; Thu, 11 Jun 2020 19:25:39 -0700 (PDT) Received: from localhost.ibm.com (123-243-125-185.tpgi.com.au. [123.243.125.185]) by smtp.gmail.com with ESMTPSA id h7sm6756948wml.24.2020.06.11.19.25.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 19:25:39 -0700 (PDT) From: Oliver O'Halloran To: skiboot@lists.ozlabs.org Date: Fri, 12 Jun 2020 12:24:52 +1000 Message-Id: <20200612022452.371685-16-oohall@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200612022452.371685-1-oohall@gmail.com> References: <20200612022452.371685-1-oohall@gmail.com> MIME-Version: 1.0 Subject: [Skiboot] [PATCH 15/15] travis: Add clang specific build job X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Right now clang doesn't support the -ffixed-r compiler options that we rely on for the skiboot cpu_thread pointer so it can't build skiboot. Remove the clang builds from the debian-unstable and ubuntu-latest and builds in favour of a clang specific job. This allows those jobs to pass normally and gives us as specific job to monitor to see when support for those options lands in clang. Signed-off-by: Oliver O'Halloran --- Right now even make check fails, but we might as well have it in the matrix. --- .travis.yml | 3 +++ opal-ci/Dockerfile-clang | 6 ++++++ opal-ci/Dockerfile-debian-unstable | 2 +- opal-ci/Dockerfile-ubuntu-18.04 | 2 +- opal-ci/Dockerfile-ubuntu-20.04 | 2 +- opal-ci/Dockerfile-ubuntu-latest | 2 +- opal-ci/build-clang.sh | 10 ++++++++++ opal-ci/build-ubuntu-latest.sh | 5 ----- 8 files changed, 23 insertions(+), 9 deletions(-) create mode 100644 opal-ci/Dockerfile-clang create mode 100755 opal-ci/build-clang.sh diff --git a/.travis.yml b/.travis.yml index 860d204d0465..6eaf0a92d7dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,11 +26,14 @@ jobs: - env: RUN_ON_CONTAINER=fedora-rawhide - env: RUN_ON_CONTAINER=debian-unstable - env: RUN_ON_CONTAINER=ubuntu-latest + - env: RUN_ON_CONTAINER=clang exclude: - os: linux-ppc64le env: RUN_ON_CONTAINER=centos7 - os: linux-ppc64le env: RUN_ON_CONTAINER=docs + - os: linux-ppc64le + env: RUN_ON_CONTAINER=clang install: - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . diff --git a/opal-ci/Dockerfile-clang b/opal-ci/Dockerfile-clang new file mode 100644 index 000000000000..02a0bf54e6df --- /dev/null +++ b/opal-ci/Dockerfile-clang @@ -0,0 +1,6 @@ +FROM ubuntu:rolling +ENV DEBIAN_FRONTEND noninteractive +RUN apt-get update -qq +RUN apt-get install -y clang device-tree-compiler +COPY . /build/ +WORKDIR /build diff --git a/opal-ci/Dockerfile-debian-unstable b/opal-ci/Dockerfile-debian-unstable index 04ff179b5e9d..13c157fe7c75 100644 --- a/opal-ci/Dockerfile-debian-unstable +++ b/opal-ci/Dockerfile-debian-unstable @@ -5,7 +5,7 @@ RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget \ curl xterm device-tree-compiler build-essential gcc python g++ pkg-config \ libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind \ - libtcl8.6 clang qemu-system-ppc opal-utils + libtcl8.6 qemu-system-ppc opal-utils RUN if [ `arch` = "x86_64" ]; then curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.1-0-trusty_amd64.deb; fi COPY . /build/ WORKDIR /build diff --git a/opal-ci/Dockerfile-ubuntu-18.04 b/opal-ci/Dockerfile-ubuntu-18.04 index 1743df2f507e..3a031c3e9e76 100644 --- a/opal-ci/Dockerfile-ubuntu-18.04 +++ b/opal-ci/Dockerfile-ubuntu-18.04 @@ -2,7 +2,7 @@ FROM ubuntu:18.04 ENV DEBIAN_FRONTEND noninteractive RUN if [ `arch` != "ppc64le" ]; then apt-get update -qq && apt-get install -y gcc-powerpc64le-linux-gnu; fi RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true -RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 clang qemu-system-ppc +RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 qemu-system-ppc RUN if [ `arch` = "x86_64" ]; then curl -L -O http://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb; dpkg -i systemsim-p8_1.0-2_amd64.deb; fi RUN if [ `arch` = "x86_64" ]; then curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.1-0-trusty_amd64.deb; fi COPY . /build/ diff --git a/opal-ci/Dockerfile-ubuntu-20.04 b/opal-ci/Dockerfile-ubuntu-20.04 index 2770951667f8..515ec5c9a3f3 100644 --- a/opal-ci/Dockerfile-ubuntu-20.04 +++ b/opal-ci/Dockerfile-ubuntu-20.04 @@ -3,7 +3,7 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt-get update -qq RUN if [ `arch` != "ppc64le" ]; then apt-get update -qq && apt-get install -y gcc-powerpc64le-linux-gnu; fi RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true -RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 clang qemu-system-ppc +RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 qemu-system-ppc RUN if [ `arch` = "x86_64" ]; then curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.1-0-trusty_amd64.deb; fi COPY . /build/ WORKDIR /build diff --git a/opal-ci/Dockerfile-ubuntu-latest b/opal-ci/Dockerfile-ubuntu-latest index ce9cbdda371c..577d7a48af2f 100644 --- a/opal-ci/Dockerfile-ubuntu-latest +++ b/opal-ci/Dockerfile-ubuntu-latest @@ -2,7 +2,7 @@ FROM ubuntu:rolling ENV DEBIAN_FRONTEND noninteractive RUN apt-get update -qq RUN if [ `arch` != "ppc64le" ]; then apt-get update -qq && apt-get install -y gcc-powerpc64le-linux-gnu; fi -RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 clang qemu-system-ppc +RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6 qemu-system-ppc RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true RUN if [ `arch` = "x86_64" ]; then curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.1-0-trusty_amd64.deb; fi COPY . /build/ diff --git a/opal-ci/build-clang.sh b/opal-ci/build-clang.sh new file mode 100755 index 000000000000..09377c06d5f5 --- /dev/null +++ b/opal-ci/build-clang.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +set -uo pipefail +set -e +set -vx + +MAKE_J=$(nproc) + +make -j${MAKE_J} CC=clang +make -j${MAKE_J} CC=clang check diff --git a/opal-ci/build-ubuntu-latest.sh b/opal-ci/build-ubuntu-latest.sh index 16c33a9f39b7..ea27bba3288a 100755 --- a/opal-ci/build-ubuntu-latest.sh +++ b/opal-ci/build-ubuntu-latest.sh @@ -28,8 +28,3 @@ rm -rf builddir mkdir builddir make SRC=$(pwd) -f ../Makefile -C builddir -j${MAKE_J} make clean - -echo "Building with clang..." -make clean -make -j${MAKE_J} CC=clang -make -j${MAKE_J} CC=clang check