* [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y
@ 2026-11-14 21:22 Julien Olivain via buildroot
2026-11-14 21:22 ` [Buildroot] [PATCH 2/2] support/testing: test_iso9660: fix test by setting qemu cpu Julien Olivain via buildroot
2026-11-15 19:22 ` [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-14 21:22 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
Buildroot commit [1] changed the default CPU architecture from i386
to Arm AArch64. The test configurations which were relying on the
default i386 architecture are now failing.
This commit fixes the issue by adding BR2_i386=y to the test
configuration.
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158106
https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158107
https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158108
https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158109
https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158110
https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158111
[1] https://gitlab.com/buildroot.org/buildroot/-/commit/86240fa45d11e3388968520b4a35f0a40954c132
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
support/testing/tests/fs/test_iso9660.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/support/testing/tests/fs/test_iso9660.py b/support/testing/tests/fs/test_iso9660.py
index b2edcac460..330a39c202 100644
--- a/support/testing/tests/fs/test_iso9660.py
+++ b/support/testing/tests/fs/test_iso9660.py
@@ -4,6 +4,7 @@ import infra.basetest
BASIC_CONFIG = \
"""
+ BR2_i386=y
BR2_x86_core2=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE=y
--
2.56.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] support/testing: test_iso9660: fix test by setting qemu cpu
2026-11-14 21:22 [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y Julien Olivain via buildroot
@ 2026-11-14 21:22 ` Julien Olivain via buildroot
2026-11-15 19:22 ` Peter Korsgaard
2026-11-15 19:22 ` [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-14 21:22 UTC (permalink / raw)
To: buildroot; +Cc: Julien Olivain
Since commit [1] ("tooolchain/toolchain-external:
update toolchain-external-bootlin to 2026.08"), test_iso9660.* are
failing at runtime due to an illegal instruction in init.
The error on the console is:
Run /init as init process
traps: init[1] trap invalid opcode ip:b7da4230 sp:bfffcbd0 error:0 in libc.so.6[a3230,b7d25000+188000]
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
This is because the test configurations selects BR2_x86_core2=y, but
qemu-system-i386 is started without specifying any machine or cpu.
The default machine is "pc" and the default cpu is "qemu32", which
emulates less features than a Core2. The toolchain update in [1] also
updated its glibc which is now including instructions not supported
by the qemu emulated cpu.
This commit fixes the issue by explicitly setting the qemu CPU
to "core2duo".
[1] https://gitlab.com/buildroot.org/buildroot/-/commit/eeec7b495f6b6127f0cf7020674f7853814a6d06
Signed-off-by: Julien Olivain <ju.o@free.fr>
---
support/testing/tests/fs/test_iso9660.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/testing/tests/fs/test_iso9660.py b/support/testing/tests/fs/test_iso9660.py
index 330a39c202..31d1792ae9 100644
--- a/support/testing/tests/fs/test_iso9660.py
+++ b/support/testing/tests/fs/test_iso9660.py
@@ -21,7 +21,7 @@ BASIC_CONFIG = \
def test_mount_internal_external(emulator, builddir, internal=True):
img = os.path.join(builddir, "images", "rootfs.iso9660")
- emulator.boot(arch="i386", options=["-cdrom", img])
+ emulator.boot(arch="i386", options=["-cpu", "core2duo", "-cdrom", img])
emulator.login()
if internal:
--
2.56.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y
2026-11-14 21:22 [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y Julien Olivain via buildroot
2026-11-14 21:22 ` [Buildroot] [PATCH 2/2] support/testing: test_iso9660: fix test by setting qemu cpu Julien Olivain via buildroot
@ 2026-11-15 19:22 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2026-11-15 19:22 UTC (permalink / raw)
To: Julien Olivain via buildroot; +Cc: Julien Olivain
>>>>> "Julien" == Julien Olivain via buildroot <buildroot@buildroot.org> writes:
> Buildroot commit [1] changed the default CPU architecture from i386
> to Arm AArch64. The test configurations which were relying on the
> default i386 architecture are now failing.
> This commit fixes the issue by adding BR2_i386=y to the test
> configuration.
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158106
> https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158107
> https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158108
> https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158109
> https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158110
> https://gitlab.com/buildroot.org/buildroot/-/jobs/18033158111
> [1] https://gitlab.com/buildroot.org/buildroot/-/commit/86240fa45d11e3388968520b4a35f0a40954c132
> Signed-off-by: Julien Olivain <ju.o@free.fr>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 2/2] support/testing: test_iso9660: fix test by setting qemu cpu
2026-11-14 21:22 ` [Buildroot] [PATCH 2/2] support/testing: test_iso9660: fix test by setting qemu cpu Julien Olivain via buildroot
@ 2026-11-15 19:22 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2026-11-15 19:22 UTC (permalink / raw)
To: Julien Olivain via buildroot; +Cc: Julien Olivain
>>>>> "Julien" == Julien Olivain via buildroot <buildroot@buildroot.org> writes:
> Since commit [1] ("tooolchain/toolchain-external:
> update toolchain-external-bootlin to 2026.08"), test_iso9660.* are
> failing at runtime due to an illegal instruction in init.
> The error on the console is:
> Run /init as init process
> traps: init[1] trap invalid opcode ip:b7da4230 sp:bfffcbd0 error:0 in libc.so.6[a3230,b7d25000+188000]
> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
> This is because the test configurations selects BR2_x86_core2=y, but
> qemu-system-i386 is started without specifying any machine or cpu.
> The default machine is "pc" and the default cpu is "qemu32", which
> emulates less features than a Core2. The toolchain update in [1] also
> updated its glibc which is now including instructions not supported
> by the qemu emulated cpu.
> This commit fixes the issue by explicitly setting the qemu CPU
> to "core2duo".
> [1] https://gitlab.com/buildroot.org/buildroot/-/commit/eeec7b495f6b6127f0cf7020674f7853814a6d06
> Signed-off-by: Julien Olivain <ju.o@free.fr>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-15 19:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14 21:22 [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y Julien Olivain via buildroot
2026-11-14 21:22 ` [Buildroot] [PATCH 2/2] support/testing: test_iso9660: fix test by setting qemu cpu Julien Olivain via buildroot
2026-11-15 19:22 ` Peter Korsgaard
2026-11-15 19:22 ` [Buildroot] [PATCH 1/2] support/testing: test_iso9660: fix test by selecting BR2_i386=y Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox