Skip Menu |

This queue is for tickets about the Linux-Smaps CPAN distribution.

Report information
The Basics
Id: 85068
Status: resolved
Priority: 0/
Queue: Linux-Smaps

People
Owner: OPI [...] cpan.org
Requestors: rod.taylor [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.10
Fixed in: (no value)



Subject: Linux::Smaps test failure
Module Build ============ cpanm (App::cpanminus) 1.6911 on perl 5.014002 built for x86_64-linux-gnu-thread-multi Work directory is /home/rbt/.cpanm/work/1367791421.6122 You have make /usr/bin/make You have LWP 6.04 You have /bin/tar: tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Linux::Smaps on cpanmetadb ... --> Working on Linux::Smaps Fetching http://www.cpan.org/authors/id/O/OP/OPI/Linux-Smaps-0.10.tar.gz -> OK Unpacking Linux-Smaps-0.10.tar.gz Entering Linux-Smaps-0.10 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.66) Configuring Linux-Smaps-0.10 Running Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Linux::Smaps Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.66) Building and testing Linux-Smaps-0.10 cp lib/Linux/Smaps.pm blib/lib/Linux/Smaps.pm Manifying blib/man3/Linux::Smaps.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01.t .. ok Linux::Smaps: /proc/self/smaps(16): not parsed: VmFlags: rd ex mr mw me dw # Looks like your test exited with 255 before it could output anything. t/02.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 10/10 subtests t/03.t .. ok Test Summary Report ------------------- t/02.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 10 tests but ran 0. Files=3, Tests=24, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.10 cusr 0.02 csys = 0.16 CPU) Result: FAIL Failed 1/3 test programs. 0/24 subtests failed. make: *** [test_dynamic] Error 255 -> FAIL Installing Linux::Smaps failed. See /home/rbt/.cpanm/build.log for details. KERNEL ====== Linux rbt-dell 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux It's Ubuntu 13.04. cat /proc/self/smaps ======================================= 00400000-0040b000 r-xp 00000000 08:06 1316345 /bin/cat Size: 44 kB Rss: 28 kB Pss: 28 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 28 kB Private_Dirty: 0 kB Referenced: 28 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd ex mr mw me dw 0060a000-0060b000 r--p 0000a000 08:06 1316345 /bin/cat Size: 4 kB Rss: 4 kB Pss: 4 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 4 kB Referenced: 4 kB Anonymous: 4 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd mr mw me dw ac 0060b000-0060c000 rw-p 0000b000 08:06 1316345 /bin/cat Size: 4 kB Rss: 4 kB Pss: 4 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 4 kB Referenced: 4 kB Anonymous: 4 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me dw ac 00db7000-00dd8000 rw-p 00000000 00:00 0 [heap] Size: 132 kB Rss: 12 kB Pss: 12 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 12 kB Referenced: 12 kB Anonymous: 12 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me ac 7f1265497000-7f1265760000 r--p 00000000 08:06 918329 /usr/lib/locale/locale-archive Size: 2852 kB Rss: 40 kB Pss: 2 kB Shared_Clean: 40 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Referenced: 40 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd mr mw me 7f1265760000-7f126591e000 r-xp 00000000 08:06 1317249 /lib/x86_64-linux-gnu/libc-2.17.so Size: 1784 kB Rss: 348 kB Pss: 7 kB Shared_Clean: 344 kB Shared_Dirty: 0 kB Private_Clean: 4 kB Private_Dirty: 0 kB Referenced: 348 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd ex mr mw me 7f126591e000-7f1265b1d000 ---p 001be000 08:06 1317249 /lib/x86_64-linux-gnu/libc-2.17.so Size: 2044 kB Rss: 0 kB Pss: 0 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Referenced: 0 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: mr mw me 7f1265b1d000-7f1265b21000 r--p 001bd000 08:06 1317249 /lib/x86_64-linux-gnu/libc-2.17.so Size: 16 kB Rss: 16 kB Pss: 16 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 16 kB Referenced: 16 kB Anonymous: 16 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd mr mw me ac 7f1265b21000-7f1265b23000 rw-p 001c1000 08:06 1317249 /lib/x86_64-linux-gnu/libc-2.17.so Size: 8 kB Rss: 8 kB Pss: 8 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 8 kB Referenced: 8 kB Anonymous: 8 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me ac 7f1265b23000-7f1265b28000 rw-p 00000000 00:00 0 Size: 20 kB Rss: 12 kB Pss: 12 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 12 kB Referenced: 12 kB Anonymous: 12 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me ac 7f1265b28000-7f1265b4b000 r-xp 00000000 08:06 1317110 /lib/x86_64-linux-gnu/ld-2.17.so Size: 140 kB Rss: 116 kB Pss: 0 kB Shared_Clean: 116 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Referenced: 116 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd ex mr mw me dw 7f1265d22000-7f1265d25000 rw-p 00000000 00:00 0 Size: 12 kB Rss: 12 kB Pss: 12 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 12 kB Referenced: 12 kB Anonymous: 12 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me ac 7f1265d48000-7f1265d4a000 rw-p 00000000 00:00 0 Size: 8 kB Rss: 8 kB Pss: 8 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 8 kB Referenced: 8 kB Anonymous: 8 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me ac 7f1265d4a000-7f1265d4b000 r--p 00022000 08:06 1317110 /lib/x86_64-linux-gnu/ld-2.17.so Size: 4 kB Rss: 4 kB Pss: 4 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 4 kB Referenced: 4 kB Anonymous: 4 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd mr mw me dw ac 7f1265d4b000-7f1265d4d000 rw-p 00023000 08:06 1317110 /lib/x86_64-linux-gnu/ld-2.17.so Size: 8 kB Rss: 8 kB Pss: 8 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 8 kB Referenced: 8 kB Anonymous: 8 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me dw ac 7fffca837000-7fffca858000 rw-p 00000000 00:00 0 [stack] Size: 136 kB Rss: 12 kB Pss: 12 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 12 kB Referenced: 12 kB Anonymous: 12 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd wr mr mw me gd ac 7fffca93f000-7fffca941000 r-xp 00000000 00:00 0 [vdso] Size: 8 kB Rss: 4 kB Pss: 0 kB Shared_Clean: 4 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Referenced: 4 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd ex mr mw me de ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Size: 4 kB Rss: 0 kB Pss: 0 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Referenced: 0 kB Anonymous: 0 kB AnonHugePages: 0 kB Swap: 0 kB KernelPageSize: 4 kB MMUPageSize: 4 kB Locked: 0 kB VmFlags: rd ex
From: colink [...] perlDreamer.com
I have a similar failure t/02.t fails with this: Linux::Smaps: /proc/self/smaps(16): not parsed: VmFlags: rd ex mr mw me dw 3.8.4-x86_64-linode31 #1 SMP Mon Mar 25 16:00:34 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux
RT-Send-CC: colink [...] perlDreamer.com
I have just uploaded version 0.11. Could you please check if the error still happens. Explanation: up to kernel 3.7 the smaps file format was \w+:\s+\d+\skB with 3.8 came an additional vmflags line that didn't match this format.
From: colink [...] perlDreamer.com
It installed (0.10 didn't) and client code from Plack::Middleware::SizeLimit works great! Thanks for the fast patch job!