New MoarVM, NQP and Rakudo packages (2016.07)
Dominique Dumont
dod at debian.org
Sat Aug 27 08:36:01 UTC 2016
On Friday, August 26, 2016 3:36:32 PM CEST Daniel Dehennin wrote:
> Great, I'll wait for info before upgrading to 2016.08.1
Tests on arm64 are not consistent.
A test sometimes pass or sometimes hangs. Hanging always happens at start-up of a test.
There, you can see that 01-argless.t pass sometimes:
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$ perl t/harness5 t/04-nativecall
t/04-nativecall/01-argless.t ............. ^C
Test run interrupted!
Files=0, Tests=0, 44 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU)
Result: NOTESTS
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$ perl t/harness5 t/04-nativecall --verbose=3
t/04-nativecall/01-argless.t ............. ok
t/04-nativecall/02-simple-args.t ......... ^C
Test run interrupted!
All tests successful.
Files=1, Tests=3, 2 wallclock secs ( 0.05 usr 0.00 sys + 1.81 cusr 0.08 csys = 1.94 CPU)
Result: PASS
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$ perl t/harness5 t/04-nativecall --verbose=3
t/04-nativecall/01-argless.t ............. ok
t/04-nativecall/02-simple-args.t ......... ^C
Test run interrupted!
All tests successful.
Files=1, Tests=3, 25 wallclock secs ( 0.05 usr 0.00 sys + 1.76 cusr 0.12 csys = 1.93 CPU)
Result: PASS
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$ perl t/harness5 t/04-nativecall --verbose=3
t/04-nativecall/01-argless.t ............. ok
t/04-nativecall/02-simple-args.t ......... ^C
Test run interrupted!
All tests successful.
Files=1, Tests=3, 17 wallclock secs ( 0.03 usr 0.02 sys + 1.78 cusr 0.10 csys = 1.93 CPU)
Result: PASS
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$ ./perl6 t/04-nativecall/01-argless.t
1..3
^C
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$ perl t/harness5 --verbose=3 t/04-nativecall
t/04-nativecall/01-argless.t ............. ok
t/04-nativecall/02-simple-args.t ......... ok
t/04-nativecall/03-simple-returns.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests
t/04-nativecall/04-pointers.t ............ ok
t/04-nativecall/05-arrays.t .............. ^C
Test run interrupted!
Test Summary Report
-------------------
t/04-nativecall/03-simple-returns.t (Wstat: 256 Tests: 11 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=4, Tests=40, 64 wallclock secs ( 0.06 usr 0.01 sys + 10.55 cusr 0.22 csys = 10.84 CPU)
Result: FAIL
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$ perl t/harness5 --verbose=3 t/04-nativecall
t/04-nativecall/01-argless.t ............. ^C
Test run interrupted!
Files=0, Tests=0, 257 wallclock secs ( 0.04 usr + 0.00 sys = 0.04 CPU)
Result: NOTESTS
(sid_arm64-dchroot)dod at asachi:~/rakudo-2016.07.1$
CPU is mostly idle when a test hangs.
strace shows:
newfstatat(AT_FDCWD, "blib/Perl6/ModuleLoader.moarvm", {st_mode=S_IFREG|0644, st_size=19720, ...}, 0) = 0
write(11, "1..3", 41..3) = 4
epoll_ctl(5, EPOLL_CTL_ADD, 6, {EPOLLIN, {u32=6, u64=6}}) = 0
epoll_ctl(5, EPOLL_CTL_ADD, 8, {EPOLLIN, {u32=8, u64=8}}) = 0
epoll_pwait(5, [], 1024, 0, [], 8) = 0
write(11, "\n", 1
) = 1
epoll_pwait(5, [], 1024, 0, [], 8) = 0
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 19
fstat(19, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
fstat(19, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
read(19, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 127
lseek(19, -71, SEEK_CUR) = 56
read(19, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 71
close(19) = 0
brk(0x41682000) = 0x41682000
brk(0x416a4000) = 0x416a4000
pipe2([19, 20], O_CLOEXEC) = 0
rt_sigprocmask(SIG_SETMASK, ~[RTMIN RT_1], [], 8) = 0
read(3, "*", 1) = 1
rt_sigaction(SIGCHLD, {0x7f9c559c38, ~[RTMIN RT_1], 0}, NULL, 8) = 0
write(4, "*", 1) = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f9cb230d0) = 25569
close(20) = 0
read(19, "", 4) = 0
close(19) = 0
epoll_pwait(5,
Please let me know if you need other tests to understand what's going on..
All the best
--
https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
More information about the Pkg-rakudo-devel
mailing list