From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
To: "Mingyu Wang (Fujitsu)" <wangmy@fujitsu.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 07/47] gawk: upgrade 5.3.0 -> 5.3.1
Date: Mon, 18 Nov 2024 17:21:11 +0100 [thread overview]
Message-ID: <ZztpdwDKMBRDYfQx@bootlin-mathieu> (raw)
In-Reply-To: <TYWPR01MB1186132D4B68C5FBF61008C73DC272@TYWPR01MB11861.jpnprd01.prod.outlook.com>
On Mon, Nov 18, 2024 at 01:36:47PM +0000, Mingyu Wang (Fujitsu) wrote:
> I didn't find ptest error of gawk from the log.
> I did the ptest of gawk by running ptest-runner and there's no error occurred.
> Can you tell me how to reproduce the error.
>
Ok, reproducing the ptest build locally is indeed not straightforward. I
used the following procedure to reproduce something close to the setup we have
on the autobuilder, and I did reproduce the ptest failure.
First, if you want to use the exact same branch, you can take
mathieu/master-next-e78c1f31b592 from
git://git.yoctoproject.org/poky-contrib.
Then, I created a new empty configuration and added entries in
local.conf, to correspond roughly to what is described in
https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py. There is
probably a lot of things not relevant here, but it was good enough to
build and reproduce locally.
rm -rf build
source poky/oe-init-build-env
QEMU_USE_KVM = 'True'
INHERIT += 'report-error'
PREMIRRORS = ''
BB_GENERATE_MIRROR_TARBALLS = '1'
BB_NUMBER_THREADS = '16'
BB_NUMBER_PARSE_THREADS = '16'
PARALLEL_MAKE = '-j 16 -l 75'
BB_PRESSURE_MAX_CPU = '20000'
BB_PRESSURE_MAX_IO = '20000'
XZ_MEMLIMIT = '5%'
XZ_THREADS = '8'
ZSTD_THREADS = '8'
BB_TASK_NICE_LEVEL = '5'
BB_TASK_NICE_LEVEL:task-testimage = '0'
BB_TASK_IONICE_LEVEL = '2.7'
BB_TASK_IONICE_LEVEL:task-testimage = '2.1'
IMAGE_CLASSES += 'testimage'
TEST_QEMUBOOT_TIMEOUT = '1500'
SANITY_TESTED_DISTROS = ''
SDK_EXT_TYPE = 'minimal'
SDK_INCLUDE_TOOLCHAIN = '1'
ESDK_LOCALCONF_REMOVE:append = 'BB_HASHSERVE'
BB_DISKMON_DIRS = 'STOPTASKS,${TMPDIR},1G,100K STOPTASKS,${DL_DIR},1G
STOPTASKS,${SSTATE_DIR},1G STOPTASKS,/tmp,100M,30K
HALT,${TMPDIR},100M,1K HALT,${DL_DIR},100M HALT,${SSTATE_DIR},100M
HALT,/tmp,10M,1K'
BB_HEARTBEAT_EVENT = '60'
BB_LOG_HOST_STAT_ON_INTERVAL = '1'
BB_LOG_HOST_STAT_CMDS_INTERVAL = 'oe-time-dd-test.sh -c 100 -t 3'
BB_LOG_HOST_STAT_ON_FAILURE = '1'
BB_LOG_HOST_STAT_CMDS_FAILURE = 'oe-time-dd-test.sh -l'
SDK_TOOLCHAIN_LANGS += 'rust'
BB_SERVER_TIMEOUT = '60'
BB_LOADFACTOR_MAX = '1.5'
TEST_SUITES = 'ping ssh ptest'
INHERIT += 'image-buildinfo'
IMAGE_BUILDINFO_VARS:append = ' IMAGE_BASENAME IMAGE_NAME'
EOF
Then built my image and ran ptests. The runqemu-gen-tapdevs might or
might not be needed, more details in
documentation/dev-manual/runtime-testing.rst.
bitbake core-image-ptest-gawk
sudo ${BUILDDIR}/../scripts/runqemu-gen-tapdevs 1000 4
bitbake core-image-ptest-gawk:do_testimage
And I got this output:
WARNING: core-image-ptest-gawk-1.0-r0 do_testimage: There were failing ptests.
Traceback (most recent call last):
File "/home/mathieu/projects/swat/builds/poky-contrib/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/mathieu/projects/swat/builds/poky-contrib/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/mathieu/projects/swat/builds/poky-contrib/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/mathieu/projects/swat/builds/poky-contrib/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in test_ptestrunner_expectfail
self.do_ptestrunner()
File "/home/mathieu/projects/swat/builds/poky-contrib/meta/lib/oeqa/runtime/cases/ptest.py", line 120, in do_ptestrunner
self.fail(failmsg)
AssertionError:
Failed ptests:
{'gawk': ['printf-corners']}
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-11-18 16:21 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-12 9:23 [OE-core] [PATCH 01/47] barebox-tools: upgrade 2024.09.0 -> 2024.10.0 wangmy
2024-11-12 9:23 ` [OE-core] [PATCH 02/47] desktop-file-utils: upgrade 0.27 -> 0.28 wangmy
2024-11-12 9:23 ` [OE-core] [PATCH 03/47] diffoscope: upgrade 277 -> 283 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 04/47] dropbear: upgrade 2024.85 -> 2024.86 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 05/47] ell: upgrade 0.69 -> 0.70 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 06/47] epiphany: upgrade 47.1 -> 47.2 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 07/47] gawk: upgrade 5.3.0 -> 5.3.1 wangmy
2024-11-17 12:35 ` Mathieu Dubois-Briand
[not found] ` <TYWPR01MB1186132D4B68C5FBF61008C73DC272@TYWPR01MB11861.jpnprd01.prod.outlook.com>
2024-11-18 16:21 ` Mathieu Dubois-Briand [this message]
2024-11-18 16:32 ` Alexander Kanavin
2024-11-12 9:24 ` [OE-core] [PATCH 08/47] glslang: upgrade 1.3.290.0 -> 1.3.296.0 wangmy
2024-11-12 10:10 ` Alexander Kanavin
2024-11-12 9:24 ` [OE-core] [PATCH 09/47] gstreamer1.0: upgrade 1.24.6 -> 1.24.9 wangmy
2024-11-17 12:32 ` Mathieu Dubois-Briand
[not found] ` <TYWPR01MB1186175142EB976387393680FDC272@TYWPR01MB11861.jpnprd01.prod.outlook.com>
2024-11-18 9:52 ` Mathieu Dubois-Briand
2024-11-12 9:24 ` [OE-core] [PATCH 10/47] gtk4: upgrade 4.16.3 -> 4.16.5 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 11/47] harfbuzz: upgrade 10.0.1 -> 10.1.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 12/47] iptables: upgrade 1.8.10 -> 1.8.11 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 13/47] libcap: upgrade 2.70 -> 2.71 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 14/47] libinput: upgrade 1.26.1 -> 1.26.2 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 15/47] libnl: upgrade 3.10.0 -> 3.11.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 16/47] librepo: upgrade 1.18.1 -> 1.19.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 17/47] libsdl2: upgrade 2.30.8 -> 2.30.9 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 18/47] libtirpc: upgrade 1.3.5 -> 1.3.6 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 19/47] libtraceevent: upgrade 1.8.3 -> 1.8.4 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 20/47] libxcursor: upgrade 1.2.2 -> 1.2.3 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 21/47] llvm: upgrade 19.1.2 -> 19.1.3 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 22/47] log4cplus: upgrade 2.1.1 -> 2.1.2 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 23/47] makedumpfile: upgrade 1.7.5 -> 1.7.6 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 24/47] mmc-utils: upgrade to latest revision wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 25/47] mpg123: upgrade 1.32.7 -> 1.32.9 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 26/47] nghttp2: upgrade 1.63.0 -> 1.64.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 27/47] numactl: upgrade 2.0.18 -> 2.0.19 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 28/47] ofono: upgrade 2.11 -> 2.12 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 29/47] python3-dtschema: upgrade 2024.9 -> 2024.11 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 30/47] python3-flit-core: upgrade 3.9.0 -> 3.10.1 wangmy
2024-11-18 17:36 ` Ross Burton
2024-11-12 9:24 ` [OE-core] [PATCH 31/47] python3-hypothesis: upgrade 6.115.3 -> 6.118.6 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 32/47] python3-license-expression: upgrade 30.3.1 -> 30.4.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 33/47] python3-markupsafe: upgrade 3.0.1 -> 3.0.2 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 34/47] python3-packaging: upgrade 24.1 -> 24.2 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 35/47] python3-pip: upgrade 24.2 -> 24.3.1 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 36/47] python3-pyproject-metadata: upgrade 0.8.1 -> 0.9.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 37/47] python3-rpds-py: upgrade 0.20.0 -> 0.21.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 38/47] python3-websockets: upgrade 13.1 -> 14.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 39/47] python3-wheel: upgrade 0.44.0 -> 0.45.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 40/47] repo: upgrade 2.48 -> 2.49.3 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 41/47] ruby: upgrade 3.3.5 -> 3.3.6 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 42/47] seatd: upgrade 0.8.0 -> 0.9.1 wangmy
2024-11-26 23:26 ` Khem Raj
2024-11-27 0:53 ` Khem Raj
2024-11-12 9:24 ` [OE-core] [PATCH 43/47] sqlite3: upgrade 3.46.1 -> 3.47.0 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 44/47] stress-ng: upgrade 0.18.02 -> 0.18.06 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 45/47] vte: upgrade 0.78.0 -> 0.78.1 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 46/47] xrandr: upgrade 1.5.2 -> 1.5.3 wangmy
2024-11-12 9:24 ` [OE-core] [PATCH 47/47] xtrans: upgrade 1.5.1 -> 1.5.2 wangmy
2024-11-12 9:39 ` [OE-core] [PATCH 01/47] barebox-tools: upgrade 2024.09.0 -> 2024.10.0 Alexander Kanavin
2024-11-12 11:25 ` Enrico Jörns
2024-11-12 11:31 ` Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZztpdwDKMBRDYfQx@bootlin-mathieu \
--to=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=wangmy@fujitsu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox