* make check: Tests for platform coreboot using temporary files fail
@ 2015-04-11 7:33 Paul Menzel
2015-04-11 15:54 ` Andrei Borzenkov
0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2015-04-11 7:33 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1.1: Type: text/plain, Size: 1367 bytes --]
Dear GRUB developers,
using Debian Sid/unstable, building GRUB from commit f11db3c (core:
avoid NULL derefrence in grub_divmod64s) and running `make check`, all
the tests using temporary files fail.
$ ./autogen.sh
$ ./configure --with-platform=coreboot --enable-boot-time --enable-cache-stats --enable-dependency-tracking
$ make -j
$ LANG=C make check
[…]
============================================================================
Testsuite summary for GRUB 2.02~beta2
============================================================================
# TOTAL: 81
# PASS: 20
# SKIP: 17
# XFAIL: 0
# FAIL: 44
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-grub@gnu.org
============================================================================
[…]
$ more test-suite.log
[…]
FAIL: grub_cmd_echo
===================
cp: cannot stat '': No such file or directory
[…]
The temporary files are present in the temporary directory, `/tmp` in my
case. Is that expected?
`test-suite.log` is attached.
Thanks,
Paul
[-- Attachment #1.2: test-suite.log --]
[-- Type: text/x-log, Size: 8801 bytes --]
=======================================
GRUB 2.02~beta2: ./test-suite.log
=======================================
# TOTAL: 81
# PASS: 20
# SKIP: 17
# XFAIL: 0
# FAIL: 44
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: ext234_test
=================
SKIP: squashfs_test
===================
mksquashfs not installed; cannot test squashfs.
FAIL: iso9660_test
==================
xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.
Drive current: -outdev 'stdio:/tmp/tmp.efW4BPK9tJ/joliet_512_512_1_0.img'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 9593m free
xorriso : WARNING : -volid text problematic as automatic mount point name
xorriso : WARNING : -volid text is too long for Joliet (32 > 16)
xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
Added to ISO image: directory '/'='/tmp/tmp.efW4BPK9tJ/master'
xorriso : UPDATE : 231 files added in 1 seconds
xorriso : UPDATE : 231 files added in 1 seconds
xorriso : UPDATE : 26.49% done
xorriso : UPDATE : 65.45% done
xorriso : UPDATE : 97.88% done
ISO image produced: 21561 sectors
Written to medium : 21561 sectors at LBA 0
Writing to 'stdio:/tmp/tmp.efW4BPK9tJ/joliet_512_512_1_0.img' completed successfully.
Device proc: Filesystem type procfs - Sector size 512B - Total size 0KiB
Device loop0: Filesystem type iso9660 - Label `g;/_____________' - Last modification time 2015-04-11 07:05:23 Saturday, UUID 2015-04-11-07-05-23-00 - Sector size 512B - Total size 43122KiB
Device host: Filesystem type hostfs - Sector size 512B - Total size 0KiB
ILIST FAIL
DIR 20150411070523 ./
DIR 20150411070523 ../
5242880 20150411070523 .!"#%@$%&'()+,-.<=>^{_}[]`|~.
DIR 20150411070522 0/
5242880 20150411070522 1.img
5242880 20150411070523 CaSe
5242880 20150411070523 __________________________________________________________________
938848 20150411070523 american-english
5242880 20150411070523 cAsE
5242880 20150411070522 hard
5242880 20150411070523 qwertzuiopasdfghjklyxcvbnm1234567890qwertzuiopasdfghjklyxcvbnm1234567890oiewqfiewioqoiqoiurqruewqoiuwoi
DIR 20150411070522 sdir/
total 31671
drwxr-xr-x 3 paul paul 72 20150411070522.000000000 0
-rw-r--r-- 2 paul paul 5242880 20150411070522.000000000 1.img
-rw-r--r-- 1 paul paul 5242880 20150411070523.000000000 CaSe
-rw-r--r-- 1 paul paul 938848 20150411070523.000000000 american-english
-rw-r--r-- 1 paul paul 5242880 20150411070523.000000000 cAsE
-rw-r--r-- 2 paul paul 5242880 20150411070522.000000000 hard
-rw-r--r-- 1 paul paul 5242880 20150411070523.000000000 qwertzuiopasdfghjklyxcvbnm1234567890qwertzuiopasdfghjklyxcvbnm1234567890oiewqfiewioqoiqoiurqruewqoiuwoi
drwxr-xr-x 2 paul paul 72 20150411070522.000000000 sdir
-rw-r--r-- 1 paul paul 5242880 20150411070523.000000000 éàèüöäëñкирилица䏌䐓䏕Ελληνικά䏌䐓䏕
SKIP: hfsplus_test
==================
SKIP: ntfs_test
===============
SKIP: reiserfs_test
===================
SKIP: fat_test
==============
SKIP: minixfs_test
==================
SKIP: xfs_test
==============
SKIP: nilfs2_test
=================
SKIP: romfs_test
================
genromfs not installed; cannot test romfs.
SKIP: exfat_test
================
SKIP: udf_test
==============
SKIP: hfs_test
==============
SKIP: jfs_test
==============
SKIP: btrfs_test
================
SKIP: zfs_test
==============
FAIL: gettext_strings_test
==========================
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-04-11 09:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: grub-core/bus/emu/pci.c:58
#, c-format
msgid "mapping 0x%llx failed (error %d)\n"
msgstr ""
#: grub-core/osdep/linux/platform.c:73
msgid "/sys/firmware/efi/fw_platform_size"
msgstr ""
FAIL: pata_test
===============
tar: Removing leading `/' from member names
cp: cannot stat '': No such file or directory
FAIL: ahci_test
===============
tar: Removing leading `/' from member names
cp: cannot stat '': No such file or directory
FAIL: uhci_test
===============
tar: Removing leading `/' from member names
cp: cannot stat '': No such file or directory
FAIL: ohci_test
===============
tar: Removing leading `/' from member names
cp: cannot stat '': No such file or directory
FAIL: ehci_test
===============
tar: Removing leading `/' from member names
cp: cannot stat '': No such file or directory
FAIL: example_grub_script_test
==============================
cp: cannot stat '': No such file or directory
FAIL: grub_script_eval
======================
cp: cannot stat '': No such file or directory
FAIL: grub_script_test
======================
cp: cannot stat '': No such file or directory
FAIL: grub_script_echo1
=======================
cp: cannot stat '': No such file or directory
FAIL: grub_script_leading_whitespace
====================================
cp: cannot stat '': No such file or directory
FAIL: grub_script_echo_keywords
===============================
cp: cannot stat '': No such file or directory
FAIL: grub_script_vars1
=======================
cp: cannot stat '': No such file or directory
FAIL: grub_script_for1
======================
cp: cannot stat '': No such file or directory
FAIL: grub_script_while1
========================
cp: cannot stat '': No such file or directory
FAIL: grub_script_if
====================
cp: cannot stat '': No such file or directory
FAIL: grub_script_comments
==========================
cp: cannot stat '': No such file or directory
FAIL: grub_script_functions
===========================
cp: cannot stat '': No such file or directory
FAIL: grub_script_break
=======================
cp: cannot stat '': No such file or directory
FAIL: grub_script_continue
==========================
cp: cannot stat '': No such file or directory
FAIL: grub_script_shift
=======================
cp: cannot stat '': No such file or directory
FAIL: grub_script_blockarg
==========================
cp: cannot stat '': No such file or directory
[] != [{ true }]
FAIL: grub_script_setparams
===========================
cp: cannot stat '': No such file or directory
FAIL: grub_script_return
========================
cp: cannot stat '': No such file or directory
FAIL: grub_cmd_regexp
=====================
cp: cannot stat '': No such file or directory
FAIL: grub_cmd_date
===================
cp: cannot stat '': No such file or directory
FAIL: grub_cmd_set_date
=======================
cp: cannot stat '': No such file or directory
FAIL: grub_cmd_sleep
====================
cp: cannot stat '': No such file or directory
FAIL: grub_script_expansion
===========================
cp: cannot stat '': No such file or directory
FAIL: grub_script_not
=====================
cp: cannot stat '': No such file or directory
FAIL: partmap_test
==================
Checking MSDOS partition types...
1+0 records in
1+0 records out
./partmap_test: line 106: parted: command not found
FAIL: xzcompress_test
=====================
cp: cannot stat '': No such file or directory
FAIL: gzcompress_test
=====================
cp: cannot stat '': No such file or directory
SKIP: lzocompress_test
======================
lzop not installed; cannot test lzo compression.
FAIL: grub_cmd_echo
===================
cp: cannot stat '': No such file or directory
FAIL: help_test
===============
cp: cannot stat '': No such file or directory
FAIL: grub_script_gettext
=========================
cp: cannot stat '': No such file or directory
FAIL: grub_script_escape_comma
==============================
cp: cannot stat '': No such file or directory
FAIL: grub_script_strcmp
========================
cp: cannot stat '': No such file or directory
FAIL: test_sha512sum
====================
cp: cannot stat '': No such file or directory
GRUB sha512sum output did not match sha512sum output.
See diff -u /tmp/tmp.ucGVpmctpi /tmp/tmp.hI9gjSgDH8
FAIL: test_unset
================
cp: cannot stat '': No such file or directory
FAIL: grub_func_test
====================
cp: cannot stat '': No such file or directory
FAIL: grub_cmd_tr
=================
cp: cannot stat '': No such file or directory
FAIL: file_filter_test
======================
cp: cannot stat '': No such file or directory
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: make check: Tests for platform coreboot using temporary files fail
2015-04-11 7:33 make check: Tests for platform coreboot using temporary files fail Paul Menzel
@ 2015-04-11 15:54 ` Andrei Borzenkov
0 siblings, 0 replies; 2+ messages in thread
From: Andrei Borzenkov @ 2015-04-11 15:54 UTC (permalink / raw)
To: Paul Menzel; +Cc: grub-devel
[-- Attachment #1: Type: text/plain, Size: 2209 bytes --]
В Sat, 11 Apr 2015 09:33:31 +0200
Paul Menzel <paulepanter@users.sourceforge.net> пишет:
> Dear GRUB developers,
>
>
> using Debian Sid/unstable, building GRUB from commit f11db3c (core:
> avoid NULL derefrence in grub_divmod64s) and running `make check`, all
> the tests using temporary files fail.
>
> $ ./autogen.sh
> $ ./configure --with-platform=coreboot --enable-boot-time --enable-cache-stats --enable-dependency-tracking
> $ make -j
> $ LANG=C make check
> […]
> ============================================================================
> Testsuite summary for GRUB 2.02~beta2
> ============================================================================
> # TOTAL: 81
> # PASS: 20
> # SKIP: 17
> # XFAIL: 0
> # FAIL: 44
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See ./test-suite.log
> Please report to bug-grub@gnu.org
> ============================================================================
> […]
> $ more test-suite.log
> […]
> FAIL: grub_cmd_echo
> ===================
>
> cp: cannot stat '': No such file or directory
it is due to
if [ x$boot = xcoreboot ]; then
imgfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
cp "${GRUB_COREBOOT_ROM}" "${imgfile}"
According to docs/grub.texi
Following variables must be defined:
@multitable @columnfractions .30 .65
@item GRUB_PAYLOADS_DIR @tab directory containing the required kernels
@item GRUB_CBFSTOOL @tab cbfstoll from Coreboot package (for coreboot platform only)
@item GRUB_COREBOOT_ROM @tab empty Coreboot ROM
@item GRUB_QEMU_OPTS @tab additional options to be supplied to QEMU
@end multitable
I have no experience with coreboot so I do not know what "empty
Coreboot ROM" is.
> […]
>
> The temporary files are present in the temporary directory, `/tmp` in my
> case. Is that expected?
>
> `test-suite.log` is attached.
>
>
> Thanks,
>
> Paul
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-11 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-11 7:33 make check: Tests for platform coreboot using temporary files fail Paul Menzel
2015-04-11 15:54 ` Andrei Borzenkov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.