public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Trevor Gamblin" <tgamblin@baylibre.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][PATCH] python3-numpy: upgrade 2.3.5 -> 2.4.0
Date: Tue, 06 Jan 2026 13:54:16 +0100	[thread overview]
Message-ID: <DFHISGOL9ZIH.23RLCKD2MBHAS@bootlin.com> (raw)
In-Reply-To: <20260105171830.3762638-1-tgamblin@baylibre.com>

On Mon Jan 5, 2026 at 6:18 PM CET, Trevor Gamblin wrote:
> Changelog: https://github.com/numpy/numpy/releases/tag/v2.4.0
>
> ptests look OK:
>
> |============================================================================
> |Testsuite summary
> |# TOTAL: 48248
> |# PASS: 46447
> |# SKIP: 1767
> |# XFAIL: 32
> |# FAIL: 0
> |# XPASS: 2
> |# ERROR: 0
> |DURATION: 327
> |END: /usr/lib/python3-numpy/ptest
> |2026-01-05T16:24
> |STOP: ptest-runner
> |TOTAL: 1 FAIL: 0
> |root@qemux86-64:~#
>
> and reproducibility:
>
> |2026-01-05 12:08:19,641 - oe-selftest - INFO - Ran 1 test in 1449.498s
> |2026-01-05 12:08:19,642 - oe-selftest - INFO - OK
> |2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS:
> |2026-01-05 12:08:23,069 - oe-selftest - INFO - RESULTS - reproducible.ReproducibleTests.test_reproducible_builds: PASSED (1402.66s)
> |2026-01-05 12:08:23,069 - oe-selftest - INFO - SUMMARY:
> |2026-01-05 12:08:23,070 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1449.498s
> |2026-01-05 12:08:23,070 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=1, skipped=0, failures=0, errors=0)
>
> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
> ---

Hi Trevor,

Thanks for your patch, and thanks for launching ptest and
reproducibility tests. Of course, it failed somewhere else. :)

We have this error while building piglit, reproduced and bisected
locally:

ERROR: piglit-1.0+gitr-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/temp/run.do_compile.891103' failed with exit code 1
...
| cd /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/build/generated_tests && /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/recipe-sysroot-native/usr/bin/python3-native/python3 /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/gen_builtin_uniform_tests_fp64.py > builtin_uniform_tests_fp64.list
| Traceback (most recent call last):
|   File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/gen_builtin_uniform_tests_fp64.py", line 47, in <module>
|     from builtin_function_fp64 import *
|   File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1147, in <module>
|     _make_vector_or_matrix_test_vectors(test_suite)
|     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
|   File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1122, in _make_vector_or_matrix_test_vectors
|     f('op-div', 2, _divide, match_simple_binop,
|     ~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|       [doubles+dvecs+dmats,
|       ^^^^^^^^^^^^^^^^^^^^^
|        doubles+dvecs+dmats],
|        ^^^^^^^^^^^^^^^^^^^^^
|       template='({0} / {1})')
|       ^^^^^^^^^^^^^^^^^^^^^^^
|   File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 1101, in f
|     _simulate_function(
|     ~~~~~~~~~~~~~~~~~~^
|         test_inputs, python_equivalent, tolerance_function),
|         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 536, in _simulate_function
|     expected_output = python_equivalent(*inputs)
|   File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 311, in _divide
|     if any(y_element == 0 for y_element in column_major_values(y)):
|                                            ~~~~~~~~~~~~~~~~~~~^^^
|   File "/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/x86-64-v3-poky-linux-musl/piglit/1.0+gitr/sources/piglit-1.0+gitr/generated_tests/builtin_function_fp64.py", line 257, in column_major_values
|     return list(np.reshape(value, newshape=-1, order='F'))
|                 ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| TypeError: reshape() got an unexpected keyword argument 'newshape'

https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3035
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3001
https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/2982

Can you have a look at this?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2026-01-06 12:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-05 17:18 [OE-core][PATCH] python3-numpy: upgrade 2.3.5 -> 2.4.0 Trevor Gamblin
2026-01-06 12:54 ` Mathieu Dubois-Briand [this message]
2026-01-06 20:54   ` Trevor Gamblin

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=DFHISGOL9ZIH.23RLCKD2MBHAS@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tgamblin@baylibre.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