Collecting GRUB 2.06 test results
Hi!
I have started to collect test results for GRUB 2.06 here:
The results are for 635ef55ed1252f92fe3bf70caefd185dcc507c43.
If there is a testsuite result, it also obviously means the build passed without any problems.
I have also already successfully installed and boot from this git version on Debian sparc64.
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Hello!
Quoted 3 lines · John Paul Adrian Glaubitz
I have started to collect test results for GRUB 2.06 here:
Just as a heads-up: I have collected test results for all architectures supported by GRUB. I have also verified GRUB works correctly on sparc64, I might perform full tests on other architectures later.
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Hi John,
Quoted 11 lines · On Sat, 16 Jan 2021 19:26:26 +0100 John Paul Adrian Glaubitz…
Hello!
Quoted 3 lines · John Paul Adrian Glaubitz
I have started to collect test results for GRUB 2.06 here:
Just as a heads-up: I have collected test results for all architectures supported by GRUB. I have also verified GRUB works correctly on sparc64, I might perform full tests on other architectures later.
Thanks for this these tests. Are you running these tests on the same architecture that you're testing? Or, for instance, running the tests for all architectures on say x86_64?
I'd like to note that it appears that these tests do not perform most of the various filesystem tests.
Also, I believe mips arch is not being tested here. And it appears that none of the qemu tests for mipsle are being run due to not having qemu for that arch installed.
None of the qemu tests are being run for most of the architectures (I also haven't figured out how to get them to run on most architectures). But I have gotten the qemu tests to run for arm and arm64, which they are not running in your tests. What is especially odd, is that for armhf grub-shell is looking for 'qemu-system-i386' and not finding it. But it should be looking for the arm qemu variant.
For completeness, The risc architecture is not being tested either. Yes, I know most tests fail because of a bug. Are we considering it an unsupported platform because its unusable, even though it can be built?
Where is the list of architectures "supported" by GRUB? Or is it all the ones allowed to be built by master?
Glenn
Hello Glenn!
Quoted 3 lines · Glenn Washburn
Thanks for this these tests. Are you running these tests on the same architecture that you're testing? Or, for instance, running the tests for all architectures on say
x86_64?
Those were all tested on native hardware with a few exceptions:
- 32-bit PowerPC tests were run on a 64-bit PowerPC machine
- 32-bit MIPS tests were run on a 64-bit MIPS machine
I do have an iBook G4 and could run the 32-bit PowerPC tests there.
(Now I'm actually not sure anymore whether I ran the 32-bit PowerPC
tests on the G4, but I can still do that. The machine is next to me, just currently powered off).
Quoted 2 lines
I'd like to note that it appears that these tests do not perform most of the various filesystem tests.
I ran the tests with "make check" (or "make test"), I did not make any modifications. If some tests were not run that's because GRUB does not enable them on the target in question.
Quoted 3 lines
Also, I believe mips arch is not being tested here. And it appears that none of the qemu tests for mipsle are being run due to not having qemu for that arch installed.
What do you mean by "here"?
Quoted 10 lines
None of the qemu tests are being run for most of the architectures (I also haven't figured out how to get them to run on most architectures). But I have gotten the qemu tests to run for arm and arm64, which they are not running in your tests. What is especially odd, is that for armhf grub-shell is looking for 'qemu-system-i386' and not finding it. But it should be looking for the arm qemu variant.
For completeness, The risc architecture is not being tested either. Yes, I know most tests fail because of a bug. Are we considering it an unsupported platform because its unusable, even though it can be built?
I currently do not have access to a RISC-V machine yet. I have preordered one and also applied for a developer machine from SiFive, but I haven't gotten any yet.
Quoted 2 lines
Where is the list of architectures "supported" by GRUB? Or is it all the ones allowed to be built by master?
You can see that by looking at the configure.ac. It's basically all targets that build more than just the utilities.
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Quoted 9 lines · On Wed, 10 Feb 2021 20:29:41 +0100 John Paul Adrian Glaubitz…
Hello Glenn!
Quoted 3 lines · Glenn Washburn
Thanks for this these tests. Are you running these tests on the same architecture that you're testing? Or, for instance, running the tests for all architectures on say
x86_64?Those were all tested on native hardware with a few exceptions:
Quoted 8 lines
- 32-bit PowerPC tests were run on a 64-bit PowerPC machine
- 32-bit MIPS tests were run on a 64-bit MIPS machineI do have an iBook G4 and could run the 32-bit PowerPC tests there.
(Now I'm actually not sure anymore whether I ran the 32-bit PowerPC
tests on the G4, but I can still do that. The machine is next to me, just currently powered off).
Ok, I'm glad you're running the tests on native hardware and in that case I'm not surprised most of the qemu tests aren't running because I assume that qemu is not on most of the non x86 platforms. Perhaps we should have the tests show as SKIPPED when the appropriate qemu binary can not be found.
Quoted 6 lines
Quoted 2 lines
I'd like to note that it appears that these tests do not perform most of the various filesystem tests.
I ran the tests with "make check" (or "make test"), I did not make any modifications. If some tests were not run that's because GRUB does not enable them on the target in question.
That's technically true, but not the whole story. GRUB is not enabling the filesystem tests because you don't have your target environment setup such that the tests will be enabled. The filesystem tests require filesystem tools (eg. e2fsprogs for ext* fs tests). You might try installing the prerequisites needed by the tests, and then seeing if they run.
Quoted 5 lines
Quoted 3 lines
Also, I believe mips arch is not being tested here. And it appears that none of the qemu tests for mipsle are being run due to not having qemu for that arch installed.
What do you mean by "here"?
I mean that it appears to me that you don't have tests for the mips arch, only mipsle. I'm not very familiar with mips, so I may be confusing. My understanding is that there are big and little endian variants of the mips architecture, and 32 vs 64 bit variants. I understand mipsle to indicate the little-endian variant, but GRUB supports the big endian variant as well. It seems to me that you only have test logs for the 32 and 64 bit little endian variants.
Quoted 17 lines
Quoted 8 lines
None of the qemu tests are being run for most of the architectures (I also haven't figured out how to get them to run on most architectures). But I have gotten the qemu tests to run for arm and arm64, which they are not running in your tests. What is especially odd, is that for armhf grub-shell is looking for 'qemu-system-i386' and not finding it. But it should be looking for the arm qemu variant.
Quoted 4 lines
For completeness, The risc architecture is not being tested either. Yes, I know most tests fail because of a bug. Are we considering it an unsupported platform because its unusable, even though it can be built?
I currently do not have access to a RISC-V machine yet. I have preordered one and also applied for a developer machine from SiFive, but I haven't gotten any yet.
Quoted 5 lines
Quoted 2 lines
Where is the list of architectures "supported" by GRUB? Or is it all the ones allowed to be built by master?
You can see that by looking at the configure.ac. It's basically all targets that build more than just the utilities.
Great, that's what I was thinking. I notice that it appears you're not testing every supported target, just one target from each architecture. For instance, you're not testing and i386 build of the ieee1275 or efi platforms.
Since you're not using qemu on the non-x86 platforms, I'm not sure if testing the various platforms of other architectures would be worth while (eg. arm-coreboot and arm-efi). Perhaps someone more knowledgeable than I can weight in.
Glenn
Hi Glenn!
Quoted 5 lines · Glenn Washburn
Ok, I'm glad you're running the tests on native hardware and in that case I'm not surprised most of the qemu tests aren't running because I assume that qemu is not on most of the non x86 platforms. Perhaps we should have the tests show as SKIPPED when the appropriate qemu binary can not be found.
OK. I wasn't aware of that.
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
I'd like to note that it appears that these tests do not perform most of the various filesystem tests.
I ran the tests with "make check" (or "make test"), I did not make any modifications. If some tests were not run that's because GRUB does not enable them on the target in question.
Quoted 6 lines
That's technically true, but not the whole story. GRUB is not enabling the filesystem tests because you don't have your target environment setup such that the tests will be enabled. The filesystem tests require filesystem tools (eg. e2fsprogs for ext* fs tests). You might try installing the prerequisites needed by the tests, and then seeing if they run.
I can re-run them with the fsprogs installed. Does that just concern e2fsprogs or other filesystems as well?
Quoted 6 lines
Quoted 5 lines
Quoted 3 lines
Also, I believe mips arch is not being tested here. And it appears that none of the qemu tests for mipsle are being run due to not having qemu for that arch installed.
What do you mean by "here"?
Quoted 7 lines
I mean that it appears to me that you don't have tests for the mips arch, only mipsle. I'm not very familiar with mips, so I may be confusing. My understanding is that there are big and little endian variants of the mips architecture, and 32 vs 64 bit variants. I understand mipsle to indicate the little-endian variant, but GRUB supports the big endian variant as well. It seems to me that you only have test logs for the 32 and 64 bit little endian variants.
Right. I didn't test big-endian MIPS because it's not part of the Debian unstable distribution anymore (but Debian Buster). I will test big-endian in a second test run, I have access to a big-endian MIPS machine.
Quoted 7 lines
Quoted 2 lines
You can see that by looking at the configure.ac. It's basically all targets that build more than just the utilities.
Great, that's what I was thinking. I notice that it appears you're not testing every supported target, just one target from each architecture. For instance, you're not testing and i386 build of the ieee1275 or efi platforms.
Well, if ieee1275 or efi should be tested on i386, I think the testsuite should enable these tests by default. Although I'm not sure there is x86 hardware which uses OpenFirmware, is there?
Quoted 4 lines
Since you're not using qemu on the non-x86 platforms, I'm not sure if testing the various platforms of other architectures would be worth while (eg. arm-coreboot and arm-efi). Perhaps someone more knowledgeable than I can weight in.
I can also test with QEMU installed if desired for certain architectures.
Maybe you could make a list of target/architecture combinations you want me to test.
Adrian
Signature · 4 lines
.''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Quoted 10 lines · On Thu, 11 Feb 2021 01:18:38 +0100 John Paul Adrian Glaubitz…
Hi Glenn!
Quoted 5 lines · Glenn Washburn
Ok, I'm glad you're running the tests on native hardware and in that case I'm not surprised most of the qemu tests aren't running because I assume that qemu is not on most of the non x86 platforms. Perhaps we should have the tests show as SKIPPED when the appropriate qemu binary can not be found.
OK. I wasn't aware of that.
Looks like I might have been wrong about my assumption that qemu is not on our other supported architectures. If I'm reading this table correctly, https://wiki.qemu.org/Documentation/Platforms, it looks like qemu should be able to virtualize any supported platform for arm, arm64, mips, powerpc, and sparc. I would guess that debian does build all the supported qemu architectures for those platforms. That way you could say run the make check tests on a powerpc host for the arm64 target. This would be a way of testing that GRUB cross-compiled on powerpc for arm64 could in fact boot on an arm64 machine, and more generally testing every host + target combinations that we support.
Quoted 14 lines
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
I'd like to note that it appears that these tests do not perform most of the various filesystem tests.
I ran the tests with "make check" (or "make test"), I did not make any modifications. If some tests were not run that's because GRUB does not enable them on the target in question.
Quoted 6 lines
That's technically true, but not the whole story. GRUB is not enabling the filesystem tests because you don't have your target environment setup such that the tests will be enabled. The filesystem tests require filesystem tools (eg. e2fsprogs for ext* fs tests). You might try installing the prerequisites needed by the tests, and then seeing if they run.
Quoted 2 lines
I can re-run them with the fsprogs installed. Does that just concern e2fsprogs or other filesystems as well?
There's a lot more than e2fsprogs to get all the filesystems being tested. I'm putting the final touches on a CI system I've made for GRUB and here's the list of ubuntu packages I install for running the tests. I think they should be the same for debian.
qemu-system
ovmf
openbios-ppc
openbios-sparc
wamerican
xorriso
locales
language-pack-en
mtools
tar
cpio
gzip
lzop
xz-utils
parted
util-linux
squashfs-tools
zfsutils-linux
dosfstools
exfat-utils
ntfs-3g
e2fsprogs
btrfs-progs
xfsprogs
hfsprogs
jfsutils
reiserfsprogs
udftools
nilfs-tools
f2fs-tools
genromfs
attr
Quoted 11 lines
Quoted 7 lines
Quoted 2 lines
You can see that by looking at the configure.ac. It's basically all targets that build more than just the utilities.
Great, that's what I was thinking. I notice that it appears you're not testing every supported target, just one target from each architecture. For instance, you're not testing and i386 build of the ieee1275 or efi platforms.
Well, if ieee1275 or efi should be tested on i386, I think the testsuite should enable these tests by default. Although I'm not sure there is x86 hardware which uses OpenFirmware, is there?
GRUB is built for a particular target, which is an architecture, platform combination. The test suite only runs for the built target. So if you're not building for multiple targets on the same architecture, then you're not testing all targets for that architecture. I'm not familiar with the hardware of most of the targets GRUB supports, but I do believe that i386-ieee1275 is supported.
Quoted 7 lines
Quoted 4 lines
Since you're not using qemu on the non-x86 platforms, I'm not sure if testing the various platforms of other architectures would be worth while (eg. arm-coreboot and arm-efi). Perhaps someone more knowledgeable than I can weight in.
I can also test with QEMU installed if desired for certain architectures.
I think that would make for better quality test output. On ubuntu I install qemu-system and get all the right binaries.
Quoted 2 lines
Maybe you could make a list of target/architecture combinations you want me to test.
Take a look at the .travis.yml file in the matrix section. You'll see the variable GRUB_TARGETS defined multiple times, once for each architecture. GRUB_TARGETS is itself a list of targets. I believe, we should ideally testing all those targets. In practice, I've had a hard time getting quite a few of them to work (tests to run properly), including i386-ieee1275 (haven't found a build of open firmware for i386 qemu).
Glenn