* [Buildroot] TestPerlDBDmysql continues to fail
@ 2019-04-22 20:12 Thomas Petazzoni
2019-04-23 7:44 ` François Perrad
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-04-22 20:12 UTC (permalink / raw)
To: buildroot
Hello Fran?ois,
The test TestPerlDBDmysql continues to fail in Gitlab CI:
https://gitlab.com/buildroot.org/buildroot/-/jobs/199339668
Could you have a look and propose a fix for this issue ? I think it has
been failing like this for quite some time, if I remember correctly.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] TestPerlDBDmysql continues to fail
2019-04-22 20:12 [Buildroot] TestPerlDBDmysql continues to fail Thomas Petazzoni
@ 2019-04-23 7:44 ` François Perrad
2019-04-23 7:58 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: François Perrad @ 2019-04-23 7:44 UTC (permalink / raw)
To: buildroot
Le lun. 22 avr. 2019 ? 22:12, Thomas Petazzoni <thomas.petazzoni@bootlin.com>
a ?crit :
> Hello Fran?ois,
>
> The test TestPerlDBDmysql continues to fail in Gitlab CI:
>
> https://gitlab.com/buildroot.org/buildroot/-/jobs/199339668
>
> Could you have a look and propose a fix for this issue ? I think it has
> been failing like this for quite some time, if I remember correctly.
>
>
I could reproduce the issue.
It is weird:
- the build step seems good, the image rootfs.cpio is created
- but the system does not boot, there is a kernel panic, see
https://gitlab.com/buildroot.org/buildroot/-/jobs/199339668/artifacts/file/test-output/TestPerlDBDmysql-run.log
Outside the testing infrastructure, I could build an image with the module
perl-dbd-mysql and run successfully:
$ perl -v
$ perl -MDBI -e 1
$ perl -MDBD::mysql -e 1
Fran?ois
> Thanks a lot!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190423/dc1adb46/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] TestPerlDBDmysql continues to fail
2019-04-23 7:44 ` François Perrad
@ 2019-04-23 7:58 ` Thomas Petazzoni
2019-04-26 23:26 ` Arnout Vandecappelle
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2019-04-23 7:58 UTC (permalink / raw)
To: buildroot
On Tue, 23 Apr 2019 09:44:33 +0200
Fran?ois Perrad <francois.perrad@gadz.org> wrote:
> I could reproduce the issue.
> It is weird:
> - the build step seems good, the image rootfs.cpio is created
> - but the system does not boot, there is a kernel panic, see
> https://gitlab.com/buildroot.org/buildroot/-/jobs/199339668/artifacts/file/test-output/TestPerlDBDmysql-run.log
I can reproduce the issue locally. If I take the same rootfs.cpio, and
boot it with -M versatilepb and the kernel-versatile kernel image, it
boots fine.
However that is strange because:
- The ARMv5 user-space that is being built should work fine under an
ARMv7 machine
- All other Perl test cases are using the same base configuration
(ARMv5) and booting under an ARMv7 Qemu machine + kernel, and they
work fine.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] TestPerlDBDmysql continues to fail
2019-04-23 7:58 ` Thomas Petazzoni
@ 2019-04-26 23:26 ` Arnout Vandecappelle
2019-04-27 6:40 ` François Perrad
0 siblings, 1 reply; 5+ messages in thread
From: Arnout Vandecappelle @ 2019-04-26 23:26 UTC (permalink / raw)
To: buildroot
On 23/04/2019 09:58, Thomas Petazzoni wrote:
> On Tue, 23 Apr 2019 09:44:33 +0200
> Fran?ois Perrad <francois.perrad@gadz.org> wrote:
>
>> I could reproduce the issue.
>> It is weird:
>> - the build step seems good, the image rootfs.cpio is created
>> - but the system does not boot, there is a kernel panic, see
>> https://gitlab.com/buildroot.org/buildroot/-/jobs/199339668/artifacts/file/test-output/TestPerlDBDmysql-run.log
>
> I can reproduce the issue locally. If I take the same rootfs.cpio, and
> boot it with -M versatilepb and the kernel-versatile kernel image, it
> boots fine.
>
> However that is strange because:
>
> - The ARMv5 user-space that is being built should work fine under an
> ARMv7 machine
>
> - All other Perl test cases are using the same base configuration
> (ARMv5) and booting under an ARMv7 Qemu machine + kernel, and they
> work fine.
The actual error is:
Unpacking initramfs...
Initramfs unpacking failed: write error
(it's quite a bit before the end of the file).
This rootfs is about 40MB, while the others are around 32MB. So I guess it just
doesn't fit in the 128MB given to the system.
Regards,
Arnout
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] TestPerlDBDmysql continues to fail
2019-04-26 23:26 ` Arnout Vandecappelle
@ 2019-04-27 6:40 ` François Perrad
0 siblings, 0 replies; 5+ messages in thread
From: François Perrad @ 2019-04-27 6:40 UTC (permalink / raw)
To: buildroot
Le sam. 27 avr. 2019 ? 01:26, Arnout Vandecappelle <arnout@mind.be> a
?crit :
>
>
> On 23/04/2019 09:58, Thomas Petazzoni wrote:
> > On Tue, 23 Apr 2019 09:44:33 +0200
> > Fran?ois Perrad <francois.perrad@gadz.org> wrote:
> >
> >> I could reproduce the issue.
> >> It is weird:
> >> - the build step seems good, the image rootfs.cpio is created
> >> - but the system does not boot, there is a kernel panic, see
> >>
> https://gitlab.com/buildroot.org/buildroot/-/jobs/199339668/artifacts/file/test-output/TestPerlDBDmysql-run.log
> >
> > I can reproduce the issue locally. If I take the same rootfs.cpio, and
> > boot it with -M versatilepb and the kernel-versatile kernel image, it
> > boots fine.
> >
> > However that is strange because:
> >
> > - The ARMv5 user-space that is being built should work fine under an
> > ARMv7 machine
> >
> > - All other Perl test cases are using the same base configuration
> > (ARMv5) and booting under an ARMv7 Qemu machine + kernel, and they
> > work fine.
>
> The actual error is:
>
> Unpacking initramfs...
>
> Initramfs unpacking failed: write error
>
> (it's quite a bit before the end of the file).
>
> This rootfs is about 40MB, while the others are around 32MB. So I guess
> it just
> doesn't fit in the 128MB given to the system.
>
>
This test was initially written with Perl 5.26 which gives a rootfs a
little smaller and allow to run successfully.
Fran?ois
> Regards,
> Arnout
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190427/474f5fee/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-04-27 6:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-22 20:12 [Buildroot] TestPerlDBDmysql continues to fail Thomas Petazzoni
2019-04-23 7:44 ` François Perrad
2019-04-23 7:58 ` Thomas Petazzoni
2019-04-26 23:26 ` Arnout Vandecappelle
2019-04-27 6:40 ` François Perrad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox