Description
Full log is on branch perl-test-log
lind-wasm-apps/coreutils/perl_test.log
Current Failures without fix
rust panic
count: 1
first_seen_line: 2881
example: thread 'lind-fork-15' (281805) panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-multi-process/src/lib.rs:1489:50:
test_blocks: misc/wc-files0-from
exec-ed module error
count: 1
first_seen_line: 2882
example: exec-ed module error: failed to run main module
test_blocks: misc/wc-files0-from
wasm trap
count: 1
first_seen_line: 2886
example: 1: wasm trap: indirect call type mismatch
test_blocks: misc/wc-files0-from
Current Failures with fix (Ill work on it)
argv[0] Path Prefix Mismatch (Skippable)
Affected: du/files0-from, misc/basename, misc/comm, misc/cut, misc/dirname, misc/dircolors, misc/expr, misc/factor, misc/fmt, misc/join, misc/md5sum, misc/mktemp, misc/paste, misc/printf-cov, mv/i-1
Coreutils.pm uses system $cmd_str (string form), which perl passes to /bin/sh -c. Shell resolves bare binary names to full paths before exec, so argv[0] becomes /bin/cut instead of cut, causing error message mismatches. Tools are functioning correctly — failure is cosmetic.
actual: /bin/cut: fields and positions are numbered from 1
expected: cut: fields and positions are numbered from 1
Missing pr Test Data
Affected: pr/pr-tests
Test expects pre-generated reference files (/pr/0Fnt, /pr/FFn, etc.) inside the sandbox that are not present. abs_srcdir is also unset.
Use of uninitialized value $ENV{"abs_srcdir"}
/bin/sh: /pr/0Fnt: No such file or directory
Fixed
Floating Point Returns NAN
Affected: misc/seq, misc/printf-cov
Floating point format specifiers and seq produce NAN instead of correct values.
printf %F → NAN (expected: 1.000000)
printf %E → NAN (expected: 2.000000E+00)
seq 10 → (empty) (expected: 1..10)
execve Bad Address
Affected: misc/cut, misc/join (specific subtests)
A bad pointer is passed to execve for certain test cases — distinct from the earlier "No such file" error.
Can't exec "/bin/sh": Bad address at /tests/Coreutils.pm line 478.
Cage ID Panic
Affected: pr/pr-tests
The pr test suite spawns many subprocesses and exhausts the cage ID pool, causing a runtime panic.
Cage ID is outside of valid range
cage.rs:277
Description
Full log is on branch perl-test-log
Current Failures without fix
rust panic
count: 1
first_seen_line: 2881
example: thread 'lind-fork-15' (281805) panicked at /home/lind/lind-wasm/src/wasmtime/crates/lind-multi-process/src/lib.rs:1489:50:
test_blocks: misc/wc-files0-from
exec-ed module error
count: 1
first_seen_line: 2882
example: exec-ed module error: failed to run main module
test_blocks: misc/wc-files0-from
wasm trap
count: 1
first_seen_line: 2886
example: 1: wasm trap: indirect call type mismatch
test_blocks: misc/wc-files0-from
Current Failures with fix (Ill work on it)
argv[0] Path Prefix Mismatch (Skippable)
Affected:
du/files0-from,misc/basename,misc/comm,misc/cut,misc/dirname,misc/dircolors,misc/expr,misc/factor,misc/fmt,misc/join,misc/md5sum,misc/mktemp,misc/paste,misc/printf-cov,mv/i-1Coreutils.pmusessystem $cmd_str(string form), which perl passes to/bin/sh -c. Shell resolves bare binary names to full paths before exec, so argv[0] becomes/bin/cutinstead ofcut, causing error message mismatches. Tools are functioning correctly — failure is cosmetic.actual: /bin/cut: fields and positions are numbered from 1
expected: cut: fields and positions are numbered from 1
Missing pr Test Data
Affected:
pr/pr-testsTest expects pre-generated reference files (
/pr/0Fnt,/pr/FFn, etc.) inside the sandbox that are not present.abs_srcdiris also unset.Use of uninitialized value $ENV{"abs_srcdir"}
/bin/sh: /pr/0Fnt: No such file or directory
Fixed
Floating Point Returns NAN
Affected:
misc/seq,misc/printf-covFloating point format specifiers and seq produce
NANinstead of correct values.printf %F → NAN (expected: 1.000000)
printf %E → NAN (expected: 2.000000E+00)
seq 10 → (empty) (expected: 1..10)
execve Bad Address
Affected:
misc/cut,misc/join(specific subtests)A bad pointer is passed to execve for certain test cases — distinct from the earlier "No such file" error.
Can't exec "/bin/sh": Bad address at /tests/Coreutils.pm line 478.
Cage ID Panic
Affected:
pr/pr-testsThe
prtest suite spawns many subprocesses and exhausts the cage ID pool, causing a runtime panic.Cage ID is outside of valid range
cage.rs:277