From patchwork Fri Dec 2 16:37:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 16338 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC4C3C47089 for ; Fri, 2 Dec 2022 16:37:52 +0000 (UTC) Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) by mx.groups.io with SMTP id smtpd.web11.80372.1669999068909007798 for ; Fri, 02 Dec 2022 08:37:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=iUHRbpUN; spf=pass (domain: gmail.com, ip: 209.85.218.46, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f46.google.com with SMTP id bj12so12765761ejb.13 for ; Fri, 02 Dec 2022 08:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+qq+R0QxxHAnFZQm1OBwOnZ4a6MvMD9MZVAi69l/PWY=; b=iUHRbpUNhz/7THjA8poSJzPYEbSL4YeoMHE7/f/aS8G5B7B+yxRMfq/SWKp73KRvMM xF2/Yhnt6+skTjDFVDaTTfvDkxXmvrrCTZ2oTIB5cMhie1SiiUaMaAVAZnVRQpB8ffF/ UB3u3z4Ia6vNK92OBv2wEby6BTq5O53d5jz9i5tRfoKeGEze3QQGx24Xiwm5auii4qtp S1ySN+KSmDSXVYFINCVz4bUR6QHn+4bY/fgdKM9TCg3UsV3oycCpyXeGAYwzfuvPhL/p +byoBpHinAr8ohoIcqzQozZL3WmK4AQdRd5mPaRXUMma5W12mkQFjsnpQ0jQVQdd/eAu DUkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+qq+R0QxxHAnFZQm1OBwOnZ4a6MvMD9MZVAi69l/PWY=; b=R0cODxh27w4ndEY5OWVF+aR/V8DylLs+eDopDWxOELwsTb0H/GGeiBT0jU044rA3Mc 2SxbMGaCPrlvNSc+aeQTfAHNoGJfk0rMHVMy2NEETbwZH7SQjMz2KVL4SpsSFPCnQX1d csrDQCgY5Yua8Dy2y9aaIgFeaYlrzaU9BRsHW3XRO655q0rQ+gWVnj/C9ILH9R/LtLnL T7QLbHkfNE+LvGHsLWDN6pdpfZkknFOmu3IKF5c9DSvrOw8/PYEg/MnFVuRCNHP778ai 3ZrqmIw7WDB91SJYDIy78kHCjqeQ4cBXd8KQJsSBL0KKCxXtcuR7QMI6k3j84D95BlF2 WAXg== X-Gm-Message-State: ANoB5pl6bxc7MZfHXhcAPqXxX4Izqex+oznU04Gryu0UYUpQoVP4vUWg 3QPvwJOnlH6bHdLW6NIUZhAcPIHF3sI= X-Google-Smtp-Source: AA0mqf7RnAgMKSyhSdPRlcU84oJoflaTxEMzPaJEk858Mnbf+HjkU7JgieZlOhpvizU036yq/snTjg== X-Received: by 2002:a17:906:706:b0:7ac:2e16:eb05 with SMTP id y6-20020a170906070600b007ac2e16eb05mr63095113ejb.26.1669999067253; Fri, 02 Dec 2022 08:37:47 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id kj22-20020a170907765600b007c090da9eb4sm3244340ejc.82.2022.12.02.08.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 08:37:46 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 1/4] ptest-packagelists.inc: correctly assign fast and slow tests Date: Fri, 2 Dec 2022 17:37:36 +0100 Message-Id: <20221202163739.1194505-1-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 02 Dec 2022 16:37:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/174240 The execution times were checked from https://autobuilder.yocto.io/pub/non-release/20221127-2/testresults/qemux86-64-ptest/core-image-ptest-all/log.do_testimage.40537.20221127010849 and ptests were moved both ways according to the same criteria: more than 30 seconds or less. openssl is dropped from fast tests, as it is also listed in slow tests (which is correct). With the rearrangement fast ptests altogether take about 420 seconds on qemux86_64 with kvm. m4 ptest was missing a depedency. Signed-off-by: Alexander Kanavin --- .../distro/include/ptest-packagelists.inc | 21 +++++++++---------- meta/recipes-devtools/m4/m4-1.4.19.inc | 1 + 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index cf1b57e186..66b1fcbe3f 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -5,22 +5,22 @@ # PTESTS_FAST = "\ acl-ptest \ - apr-ptest \ apr-util-ptest \ attr-ptest \ + babeltrace-ptest \ + babeltrace2-ptest \ bc-ptest \ bluez5-ptest \ - bzip2-ptest \ + busybox-ptest \ diffstat-ptest \ diffutils-ptest \ - elfutils-ptest \ ethtool-ptest \ expat-ptest \ + findutils-ptest \ flex-ptest \ gawk-ptest \ gdbm-ptest \ gdk-pixbuf-ptest \ - gettext-ptest \ glib-networking-ptest \ gzip-ptest \ json-c-ptest \ @@ -29,7 +29,6 @@ PTESTS_FAST = "\ liberror-perl-ptest \ libgpg-error-ptest\ libnl-ptest \ - libmodule-build-perl-ptest \ libpcre-ptest \ libssh2-ptest \ libtimedate-perl-ptest \ @@ -50,10 +49,8 @@ PTESTS_FAST = "\ lzo-ptest \ m4-ptest \ nettle-ptest \ - openssl-ptest \ opkg-ptest \ pango-ptest \ - parted-ptest \ popt-ptest \ python3-atomicwrites-ptest \ python3-bcrypt-ptest \ @@ -82,21 +79,23 @@ PTESTS_FAST:remove:riscv32 = "qemu-ptest" PTESTS_PROBLEMS:append:riscv32 = " qemu-ptest" PTESTS_SLOW = "\ - babeltrace-ptest \ - babeltrace2-ptest \ - busybox-ptest \ + apr-ptest \ + bzip2-ptest \ coreutils-ptest \ curl-ptest \ dbus-ptest \ e2fsprogs-ptest \ - findutils-ptest \ + elfutils-ptest \ + gettext-ptest \ glib-2.0-ptest \ gstreamer1.0-ptest \ libevent-ptest \ libgcrypt-ptest \ + libmodule-build-perl-ptest \ lttng-tools-ptest \ openssh-ptest \ openssl-ptest \ + parted-ptest \ perl-ptest \ python3-cryptography-ptest \ python3-ptest \ diff --git a/meta/recipes-devtools/m4/m4-1.4.19.inc b/meta/recipes-devtools/m4/m4-1.4.19.inc index 2adf4de6f2..6ee9742277 100644 --- a/meta/recipes-devtools/m4/m4-1.4.19.inc +++ b/meta/recipes-devtools/m4/m4-1.4.19.inc @@ -54,6 +54,7 @@ do_install_ptest() { RDEPENDS:${PN}-ptest += "make coreutils diffutils" RDEPENDS:${PN}-ptest:append:libc-glibc = "\ + locale-base-fr-fr \ locale-base-fr-fr.iso-8859-1 \ " From patchwork Fri Dec 2 16:37:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 16339 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14F9AC47088 for ; Fri, 2 Dec 2022 16:37:53 +0000 (UTC) Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) by mx.groups.io with SMTP id smtpd.web10.80460.1669999069491293052 for ; Fri, 02 Dec 2022 08:37:49 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LY8X9KdE; spf=pass (domain: gmail.com, ip: 209.85.208.49, mailfrom: alex.kanavin@gmail.com) Received: by mail-ed1-f49.google.com with SMTP id s5so7136041edc.12 for ; Fri, 02 Dec 2022 08:37:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=I+xhp0tuF2EgnO3+4n7v1ayOYTJ/prUIuRv2JJywfrM=; b=LY8X9KdEck/n8PMYnv8+5bzlJHO4toyiADtZDWQk/fwL//rrS/1X1054auF7FI7bMi IOrj6dOzWIM+8TMfr3HlMqLT7rNWYRejCs23GifR9O6Z6vdV2vPdUuyXUV4iirzby3lo GkdeyMuMQ6xiw9pkYSpI7qDAnqNksFhbgBlyUIQuvCp60vmKs7UvTm12Ir+sEk+U4IjS bTlqAYvhraoW0IrJXbno4Kul7Cx5MyMw3t11XvPwBGg/qT1G82eXxCfxHbLA1+HdC+h0 kWeA3vMXwwRUW/JcrJdrhwpua+uTSvVCSX0euw/2i9+ps9Zf99/Wo2b4HhQoSoHEJZt9 NOSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I+xhp0tuF2EgnO3+4n7v1ayOYTJ/prUIuRv2JJywfrM=; b=f9UtGIU7w31vNWJpUb6w1fmIr6g3eg81wo9yqrNr7YWIXOUUEMQdH71Anv8M0oGx1d dJnECiRN7ba0nBazKjMtyclOLX7d41o7HrCsBMQLuTMw6QMG2YlYFYM9JedVP36vcvOq ZsRvwiYfDB8OlFzKrYVmG6yunFAT6Z2fL/7Ntmv5whZaa8T7JAuNGEGiMK+v8EEXy0HD WBES8b6uu0B0P0skkHkuFfbUQ011SZ+P94AerXk6f0Jis56hFNRBvTgEpkt/3qoIRHME RVMzLr25WcY2oKhm+ohJZaDn9icdhCqnFJEgHP9SNqBIWZalHh65gXnMGBViA8hWpuAY xo1Q== X-Gm-Message-State: ANoB5pntU+M9+OAZd+yuPB71u/7IovRssVa2qZetq3psmDSG9/jqE/MM Nsd+IKrNbBqvvdHbV3sn6QHkiVmKwTY= X-Google-Smtp-Source: AA0mqf4Zgh6iW7iMdJ/GEpCTy8mfSWgrkWZIh+bmtnzjZsZMvNGURzP9HIMdRVVKY+zsN4V7BQCRlA== X-Received: by 2002:aa7:d8d5:0:b0:46b:4156:76d2 with SMTP id k21-20020aa7d8d5000000b0046b415676d2mr21051214eds.224.1669999067936; Fri, 02 Dec 2022 08:37:47 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id kj22-20020a170907765600b007c090da9eb4sm3244340ejc.82.2022.12.02.08.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 08:37:47 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 2/4] glibc-tests: correctly pull in the actual tests when installing -ptest package Date: Fri, 2 Dec 2022 17:37:37 +0100 Message-Id: <20221202163739.1194505-2-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221202163739.1194505-1-alex@linutronix.de> References: <20221202163739.1194505-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 02 Dec 2022 16:37:53 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/174241 The tests are packaged into the main glibc-tests package which is fine, but then glibc-tests-ptest package needs to depend on that. Which is what this commit addresses. Signed-off-by: Alexander Kanavin --- meta/recipes-core/glibc/glibc-tests_2.36.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/glibc/glibc-tests_2.36.bb b/meta/recipes-core/glibc/glibc-tests_2.36.bb index c71c0831c6..bb6ef06162 100644 --- a/meta/recipes-core/glibc/glibc-tests_2.36.bb +++ b/meta/recipes-core/glibc/glibc-tests_2.36.bb @@ -16,7 +16,6 @@ python __anonymous() { d.setVar("PACKAGES", "${PN} ${PN}-ptest") d.setVar("PROVIDES", "${PN} ${PN}-ptest") - d.setVar("RPROVIDES", "${PN} ${PN}-ptest") bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip() d.setVar("BBCLASSEXTEND", bbclassextend) @@ -29,6 +28,7 @@ python __anonymous() { RPROVIDES:${PN} = "${PN}" RRECOMMENDS:${PN} = "" RDEPENDS:${PN} = " glibc sed" +RDEPENDS:${PN}-ptest = "${PN}" DEPENDS += "sed" export oe_srcdir="${exec_prefix}/src/debug/glibc/${PV}/" From patchwork Fri Dec 2 16:37:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 16340 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0AA2C4708E for ; Fri, 2 Dec 2022 16:37:52 +0000 (UTC) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by mx.groups.io with SMTP id smtpd.web10.80462.1669999070372089237 for ; Fri, 02 Dec 2022 08:37:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lle+jXex; spf=pass (domain: gmail.com, ip: 209.85.218.54, mailfrom: alex.kanavin@gmail.com) Received: by mail-ej1-f54.google.com with SMTP id ud5so12800777ejc.4 for ; Fri, 02 Dec 2022 08:37:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yWks+p7xA2+LgE2uulms5js8xRy68FNG7y41o7sDL9A=; b=lle+jXex4h6NrtkxbW2UXCHGxyuAEPvrNR/dXxSBjYcLFeyxFf+1xPB6L0GptLTHnO H+m20dLy3GjHZRy2DouSlidxOt+HQZhig1HBtsMWK7NywNvt0rRXanW86zwlbaokI4dk ccCaBl5WgA4pcVP0lauLRxn9s+r2FIKPlTlte2anLet+PknRqa88d0mWkgYaYySwEpUI EdejiZLZkv6JGSUlThxkryiSaeZp0VuEN4tjErVQi+3jgJ9+4tPNEiE77gEP870Sotyp f/tdP5UdMc+Xbs2XTpCFYpOHT+9cLs/9/VDgnTlau+YSKk0EkbBAXXDl7cPinga2M3BH smHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yWks+p7xA2+LgE2uulms5js8xRy68FNG7y41o7sDL9A=; b=Yj7SRgvXRFFqn58rCAS5jbXTxOWsG1PNvqkguSLXUf7Uj1x15sgBlPnsbXf7LVwdtZ 4HBAi4YGxQaUJuppsMn5gerda5S+7gfFA+85qvCIYEpSGVAVO4PFtfuhia9HaZT9fjzD OrFBgp5IB6HrAhG9aYxGr5//c/Xz9Gy6xNfCvypjGgf1+jPohZ1tchfX60j7tV8KXfLr 2IHiO7mNgzfwm25ONwnscNacOFnwJY5HfWWBN5FqpXmzOFtCh4Mcagc6TuDKDiMjt5dY R5q4yr1xwFU5wokSam9WOjBNnBgHWznOkkxiJaBPxgcCOPP6txA5SWUX5TSywcsz0blA +3bA== X-Gm-Message-State: ANoB5pn38OEJJG1M3bqEjBge4CfzJuiXHbsO8+u9Dvdmq9F2mTsctdmt B3g1tZ1Iv7QrSunoioNDyqjd20hqJAM= X-Google-Smtp-Source: AA0mqf7wabw6pLT3oDgmfLFWg03iyGCm19mpa12GgKY5pMNmAHQTtarT/cFtg3E/4HAUQzCeWn1rYg== X-Received: by 2002:a17:906:6d03:b0:78d:9d0b:a9f6 with SMTP id m3-20020a1709066d0300b0078d9d0ba9f6mr14147605ejr.661.1669999068744; Fri, 02 Dec 2022 08:37:48 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id kj22-20020a170907765600b007c090da9eb4sm3244340ejc.82.2022.12.02.08.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 08:37:48 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 3/4] python3: fix tests on x86 (32 bit) Date: Fri, 2 Dec 2022 17:37:38 +0100 Message-Id: <20221202163739.1194505-3-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221202163739.1194505-1-alex@linutronix.de> References: <20221202163739.1194505-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 02 Dec 2022 16:37:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/174242 Signed-off-by: Alexander Kanavin --- ...add-more-elements-in-test_determinis.patch | 27 +++++++++++++++++++ .../recipes-devtools/python/python3_3.11.0.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch diff --git a/meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch b/meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch new file mode 100644 index 0000000000..9da7f94255 --- /dev/null +++ b/meta/recipes-devtools/python/python3/0001-test_marshal.py-add-more-elements-in-test_determinis.patch @@ -0,0 +1,27 @@ +From 076a4f9ab06105b94c87386c0dfe17b823502a13 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Thu, 1 Dec 2022 19:02:51 +0100 +Subject: [PATCH] test_marshal.py: add more elements in test_deterministic_sets + +Existing elements do produce different output on x86_64, but they +do not on x86. Let's make the data longer to ensure it differs. + +Upstream-Status: Submitted [https://github.com/python/cpython/pull/99935] +Signed-off-by: Alexander Kanavin +--- + Lib/test/test_marshal.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Lib/test/test_marshal.py b/Lib/test/test_marshal.py +index aae86cc..29d95ad 100644 +--- a/Lib/test/test_marshal.py ++++ b/Lib/test/test_marshal.py +@@ -352,7 +352,7 @@ class BugsTestCase(unittest.TestCase): + for elements in ( + "float('nan'), b'a', b'b', b'c', 'x', 'y', 'z'", + # Also test for bad interactions with backreferencing: +- "('Spam', 0), ('Spam', 1), ('Spam', 2)", ++ "('Spam', 0), ('Spam', 1), ('Spam', 2), ('Spam', 3), ('Spam', 4), ('Spam', 5)", + ): + s = f"{kind}([{elements}])" + with self.subTest(s): diff --git a/meta/recipes-devtools/python/python3_3.11.0.bb b/meta/recipes-devtools/python/python3_3.11.0.bb index 8c29424dde..ff25fe1ac4 100644 --- a/meta/recipes-devtools/python/python3_3.11.0.bb +++ b/meta/recipes-devtools/python/python3_3.11.0.bb @@ -33,6 +33,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://deterministic_imports.patch \ file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ file://cve-2022-37460.patch \ + file://0001-test_marshal.py-add-more-elements-in-test_determinis.patch \ " SRC_URI:append:class-native = " \ From patchwork Fri Dec 2 16:37:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 16337 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBAB5C4321E for ; Fri, 2 Dec 2022 16:37:52 +0000 (UTC) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mx.groups.io with SMTP id smtpd.web10.80463.1669999070959144169 for ; Fri, 02 Dec 2022 08:37:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=g5iBrTnG; spf=pass (domain: gmail.com, ip: 209.85.208.52, mailfrom: alex.kanavin@gmail.com) Received: by mail-ed1-f52.google.com with SMTP id r26so7151169edc.10 for ; Fri, 02 Dec 2022 08:37:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sL0/vfZVLKch0n0apybPe/VV1PrfDa75V4f5YVbdLRA=; b=g5iBrTnGTOu6maubag0z204+qmzI3W/4u+oW3Fh+QWAW9ecwdH12JYGwQ30HMENTgm e5hfnuxe37lIDk6e54/qgvT+F+nxVNli9MFhVnlPlmUOTlI2QjwLKfyk+XoHCPlok92F nkz0yfoAeEdmZtmbOjXe6kTgK40FA8ziEgkTKbKj1XcyErThIx/fYRx0nsQqlA10ZzPd 4w3MfSbH7yy/vb5yBZFI9qaRXXFlXvla+nDoHK40QSqhuRRjkePkct58R8gkaaS6f0t0 FWcNUsMZj97RVL3HrdYJ9KBBJISGp2ihNW6WdR+T0s4v1QmL75SUTVSYfII/oVXsui/1 y68g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sL0/vfZVLKch0n0apybPe/VV1PrfDa75V4f5YVbdLRA=; b=hSGa//RhllO3du0y/qz8MZO+sJJTy5E+2ktOro14KKGnfe7g5cy/ore6vAb9F05k9V 9gY+Tuj/y3l7TK3myQwM277Ddk46Laug+gYSy6PPfdyi8hDNce9KMueAVWB77QRMFAcy TYBGhkjv8sBDA9LmhezhVLfRw4z3+JAjlYDL/ETdbvOu+fv8X/8V5//UEejgeFVRJ0pG Sj20nmA2ndVEtNzszrf78H+7pVy1Rflr+MKIkffXyzdbqI+Hx+oes5KrAxU7m9R3Sl7d 8/ussxjJVkWzL+Sa/nhXvbiGqp6JqXo81o2xrcQwhkHTkrzAzKuDiY7+9FYat3M/Wl6I lKUw== X-Gm-Message-State: ANoB5pmQU33VH9YQ3J48B0y45IRSgpCa0Y8lYFs16n4fXKkemZxLtEXS PieerHfhDm2uGK9J1d0VQAWWaLxP2E4= X-Google-Smtp-Source: AA0mqf5pDxapqs8eiDTywWovZUiqpJuGnf/Y3frZI6uEXYBCynpGoWUimG+/J59AMtYN2S3LVY3MkA== X-Received: by 2002:a05:6402:530c:b0:462:df63:5ec5 with SMTP id eo12-20020a056402530c00b00462df635ec5mr64686341edb.147.1669999069535; Fri, 02 Dec 2022 08:37:49 -0800 (PST) Received: from Zen2.lab.linutronix.de. (drugstore.linutronix.de. [80.153.143.164]) by smtp.gmail.com with ESMTPSA id kj22-20020a170907765600b007c090da9eb4sm3244340ejc.82.2022.12.02.08.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 08:37:49 -0800 (PST) From: Alexander Kanavin X-Google-Original-From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Cc: Alexander Kanavin Subject: [PATCH 4/4] ptest-packagelists.inc: do not run valgrind ptests on 32 bit x86 Date: Fri, 2 Dec 2022 17:37:39 +0100 Message-Id: <20221202163739.1194505-4-alex@linutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221202163739.1194505-1-alex@linutronix.de> References: <20221202163739.1194505-1-alex@linutronix.de> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 02 Dec 2022 16:37:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/174243 Valgrind build itself with -mpreferred-stack-boundary=2 on that target (and the tests expect that). On the other hand, we enable SSE instructions, which expect things to be aligned on 16 byte boundary (e.g. -mpreferred-stack-boundary=4). This won't be reported at compile time and results in crashes at runtime, e.g. vgdb simply does not work at all and crashes out immediately. I am not sure how to resolve that, or whether we even should, but the issue is reported here: https://bugs.kde.org/show_bug.cgi?id=462553 Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/ptest-packagelists.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 66b1fcbe3f..48dec07577 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc @@ -108,6 +108,8 @@ PTESTS_SLOW = "\ PTESTS_SLOW:remove:riscv64 = "valgrind-ptest" PTESTS_PROBLEMS:append:riscv64 = "valgrind-ptest" PTESTS_SLOW:append:libc-musl = " libc-test-ptest" +PTESTS_SLOW:remove:x86 = "valgrind-ptest" +PTESTS_PROBLEMS:append:x86 = "valgrind-ptest" # ruby-ptest \ # Timeout # lz4-ptest \ # Needs a rewrite