PATH=/usr/bin:/bin:/data/fly2400/cpanfly-5.24/var/megalib/bin Start 2018-01-04T02:20:04 ActivePerl-2400 CPAN-2.10 Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Wed, 03 Jan 2018 05:53:54 GMT Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/J/JH/JHI/Time-HiRes-1.9751.tar.gz ok Time-HiRes-1.9751/ Time-HiRes-1.9751/HiRes.xs Time-HiRes-1.9751/fallback/ Time-HiRes-1.9751/Changes Time-HiRes-1.9751/HiRes.pm Time-HiRes-1.9751/MANIFEST Time-HiRes-1.9751/ppport.h Time-HiRes-1.9751/t/ Time-HiRes-1.9751/README Time-HiRes-1.9751/TODO Time-HiRes-1.9751/typemap Time-HiRes-1.9751/META.yml Time-HiRes-1.9751/Makefile.PL Time-HiRes-1.9751/hints/ Time-HiRes-1.9751/META.json Time-HiRes-1.9751/hints/dynixptx.pl Time-HiRes-1.9751/hints/sco.pl Time-HiRes-1.9751/hints/svr4.pl Time-HiRes-1.9751/hints/dec_osf.pl Time-HiRes-1.9751/hints/solaris.pl Time-HiRes-1.9751/hints/aix.pl Time-HiRes-1.9751/hints/linux.pl Time-HiRes-1.9751/hints/irix.pl Time-HiRes-1.9751/t/utime.t Time-HiRes-1.9751/t/time.t Time-HiRes-1.9751/t/sleep.t Time-HiRes-1.9751/t/tv_interval.t Time-HiRes-1.9751/t/itimer.t Time-HiRes-1.9751/t/Watchdog.pm Time-HiRes-1.9751/t/alarm.t Time-HiRes-1.9751/t/stat.t Time-HiRes-1.9751/t/nanosleep.t Time-HiRes-1.9751/t/gettimeofday.t Time-HiRes-1.9751/t/usleep.t Time-HiRes-1.9751/t/clock.t Time-HiRes-1.9751/t/ualarm.t Time-HiRes-1.9751/fallback/const-c.inc Time-HiRes-1.9751/fallback/const-xs.inc Configuring J/JH/JHI/Time-HiRes-1.9751.tar.gz with Makefile.PL >>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL Configuring Time::HiRes... Using hints hints/linux.pl... Extra libraries: -lrt... Have syscall()... looking for syscall.h... found . Looking for gettimeofday()... found. Looking for setitimer()... found. Looking for getitimer()... found. You have interval timers (both setitimer and getitimer). Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... testing... found. You can mix subsecond sleeps with signals, if you want to. (It's still not portable, though.) Looking for clockid_t... found. Looking for clock_gettime()... found. Looking for clock_getres()... found. Looking for clock_nanosleep()... found. Looking for clock()... found. Looking for working futimens()... found. Looking for working utimensat()... found. You seem to have subsecond timestamp setting. Looking for stat() subsecond timestamps... Trying struct stat st_atimespec.tv_nsec...NOT found. Trying struct stat st_atimensec...NOT found. Trying struct stat st_atime_n...NOT found. Trying struct stat st_atim.tv_nsec...found. Trying struct stat st_uatime...NOT found. You seem to have subsecond timestamp reading. (Your struct stat has them, but the filesystems must help.) Checking if your kit is complete... Looks good Have /data/fly2400/cpanfly-5.24/var/megalib Want /home/fly2400/ap2400-300558/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Time::HiRes Writing MYMETA.yml and MYMETA.json Now you may issue 'make'. Do not forget also 'make test'. JHI/Time-HiRes-1.9751.tar.gz /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK Running make for J/JH/JHI/Time-HiRes-1.9751.tar.gz >>> make cp HiRes.pm blib/lib/Time/HiRes.pm Running Mkbootstrap for HiRes () chmod 644 "HiRes.bs" "/data/fly2400/ap2400-300558/bin/perl-static" -MExtUtils::Command::MM -e 'cp_nonempty' -- HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs 644 "/data/fly2400/ap2400-300558/bin/perl-static" "/data/fly2400/cpanfly-5.24/var/megalib/ExtUtils/xsubpp" -typemap '/home/fly2400/ap2400-300558/lib/ExtUtils/typemap' -typemap '/data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Time-HiRes-1.9751-AbFtQz/typemap' HiRes.xs > HiRes.xsc mv HiRes.xsc HiRes.c gcc -c -D_REENTRANT -D_GNU_SOURCE -DUSE_SITECUSTOMIZE -DPERL_RELOCATABLE_INCPUSH -fno-merge-constants -fwrapv -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.9751\" -DXS_VERSION=\"1.9751\" -fPIC "-I/home/fly2400/ap2400-300558/lib/CORE" -DTIME_HIRES_NANOSLEEP -DTIME_HIRES_CLOCKID_T -DTIME_HIRES_CLOCK_GETTIME -DTIME_HIRES_CLOCK_GETRES -DTIME_HIRES_CLOCK_NANOSLEEP -DTIME_HIRES_CLOCK -DHAS_FUTIMENS -DHAS_UTIMENSAT -DTIME_HIRES_UTIME -DTIME_HIRES_STAT_XTIM -DTIME_HIRES_STAT=4 -DATLEASTFIVEOHOHFIVE HiRes.c rm -f blib/arch/auto/Time/HiRes/HiRes.so LD_RUN_PATH="/lib/x86_64-linux-gnu" gcc -shared -O2 -fstack-protector -o blib/arch/auto/Time/HiRes/HiRes.so HiRes.o \ -lrt \ chmod 755 blib/arch/auto/Time/HiRes/HiRes.so Manifying 1 pod document JHI/Time-HiRes-1.9751.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 "/data/fly2400/ap2400-300558/bin/perl-static" -MExtUtils::Command::MM -e 'cp_nonempty' -- HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs 644 PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/alarm.t ......... 1..10 # I am the main process 14285, starting the watchdog process... # The watchdog process 14286 launched, continuing testing... ok 1 - require Time::HiRes; # I am the watchdog process 14286, sleeping for 360 seconds... # sigaction tick, ALRM = 14 # Tick! 4 0.302646 # Select returned! 4 0.302729 # 0.899090333333333 # Tick! 3 0.602948 # Select returned! 3 0.602983 # 0.799005666666667 # Tick! 2 0.903435 # Select returned! 2 0.903469 # 0.698843666666667 # Tick! 1 1.203952 # Select returned! 1 1.203986 # 0.598671333333333 # Tick! 0 1.504298 # Select returned! 0 1.50433 # 0.498556666666667 # ok 2 ok 3 - negative time error # Finding delay loop... # N = 1024, t1 = 1515061215.00787, t0 = 1515061215.00778, dt = 9.39369201660156e-05 # N = 2048, t1 = 1515061215.00806, t0 = 1515061215.0079, dt = 0.000164985656738281 # N = 4096, t1 = 1515061215.00839, t0 = 1515061215.00808, dt = 0.000313997268676758 # N = 8192, t1 = 1515061215.00905, t0 = 1515061215.0084, dt = 0.000649929046630859 # N = 16384, t1 = 1515061215.01187, t0 = 1515061215.00906, dt = 0.00281596183776855 # N = 32768, t1 = 1515061215.01447, t0 = 1515061215.01189, dt = 0.00257110595703125 # N = 65536, t1 = 1515061215.01955, t0 = 1515061215.01448, dt = 0.00507092475891113 # N = 131072, t1 = 1515061215.03015, t0 = 1515061215.01956, dt = 0.0105938911437988 # Alarm 1 - 1515061215.04091 # Alarm 2 - 1515061215.06228 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 # I am the main process 14285, terminating the watchdog process 14286 before it terminates me in 354 seconds (testing took 6 seconds). # kill KILL 14286 = 1 # All done. ok t/clock.t ......... 1..5 # I am the main process 14287, starting the watchdog process... # The watchdog process 14288 launched, continuing testing... ok 1 - require Time::HiRes; # I am the watchdog process 14288, sleeping for 360 seconds... # have_clock_gettime = 1 # have_clock_getres = 1 # have_clock_nanosleep = 1 # have_clock = 1 # CLOCK_REALTIME: try = 1 # t1 = 1515061220.78701, t0 = 1515061219.28442 # dt = 1.5025839805603, rt = 0.00172265370686842 ok 2 ok 3 ok 4 # clock = 0.09 # clock = 0.09 0.14 # clock = 0.09 0.14 0.2 # clock = 0.09 0.14 0.2 0.25 ok 5 # I am the main process 14287, terminating the watchdog process 14288 before it terminates me in 357 seconds (testing took 3 seconds). # kill KILL 14288 = 1 # All done. ok t/gettimeofday.t .. 1..6 # I am the main process 14289, starting the watchdog process... # The watchdog process 14290 launched, continuing testing... # gettimeofday returned 2 args ok 1 ok 2 # I am the watchdog process 14290, sleeping for 360 seconds... ok 3 ok 4 ok 5 ok 6 # I am the main process 14289, terminating the watchdog process 14290 before it terminates me in 359 seconds (testing took 1 seconds). # kill KILL 14290 = 1 # All done. ok t/itimer.t ........ 1..2 # I am the main process 14291, starting the watchdog process... # The watchdog process 14292 launched, continuing testing... # setitimer: 0 0 # I am the watchdog process 14292, sleeping for 360 seconds... ok 1 - ITIMER_VIRTUAL defined with sufficient granularity # getitimer: 0.504031 0.400025 # Tick! 2 0.750704 # Tick! 1 1.390431 # Tick! 0 2.000176 # Tick! 0 2.580662 # getitimer: 0 0 # at end, i=0 ok 2 - time left should be zero # I am the main process 14291, terminating the watchdog process 14292 before it terminates me in 357 seconds (testing took 3 seconds). # kill KILL 14292 = 1 # All done. ok t/nanosleep.t ..... 1..4 # I am the main process 14293, starting the watchdog process... # The watchdog process 14294 launched, continuing testing... ok 1 - negative time error # I am the watchdog process 14294, sleeping for 360 seconds... ok 2 ok 3 - nanosleep for more than 0.4 sec ok 4 # I am the main process 14293, terminating the watchdog process 14294 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 14294 = 1 # All done. ok t/sleep.t ......... 1..4 # I am the main process 14295, starting the watchdog process... # The watchdog process 14296 launched, continuing testing... ok 1 - require Time::HiRes; ok 2 - negative time error # time...1515061227.00679 ok 3 # I am the watchdog process 14296, sleeping for 360 seconds... # sleep...0.500564 ok 4 # I am the main process 14295, terminating the watchdog process 14296 before it terminates me in 359 seconds (testing took 1 seconds). # kill KILL 14296 = 1 # All done. ok t/stat.t .......... 1..43 # I am the main process 14297, starting the watchdog process... # The watchdog process 14298 launched, continuing testing... # I am the watchdog process 14298, sleeping for 360 seconds... ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 # mtime = 1515061227.74669 1515061228.11868 1515061228.46669 1515061228.83469 1515061229.14669 # atime = 1515061227.92268 1515061228.30268 1515061228.67068 1515061228.96268 1515061229.31468 # ai = 4, mi = 4, ss = 8 ok 36 ok 37 ok 38 ok 39 ok 40 ok 41 ok 42 ok 43 # I am the main process 14297, terminating the watchdog process 14298 before it terminates me in 358 seconds (testing took 2 seconds). # kill KILL 14298 = 1 # All done. ok t/time.t .......... 1..2 # I am the main process 14299, starting the watchdog process... # The watchdog process 14300 launched, continuing testing... ok 1 - require Time::HiRes; ok 2 # s = 42.437539100647, n = 100, s/n = 0.42437539100647 # I am the main process 14299, terminating the watchdog process 14300 before it terminates me in 360 seconds (testing took 0 seconds). # kill KILL 14300 = 1 # All done. ok t/tv_interval.t ... 1..2 ok 1 - require Time::HiRes; ok 2 ok t/ualarm.t ........ 1..12 # I am the main process 14302, starting the watchdog process... # The watchdog process 14303 launched, continuing testing... # I am the watchdog process 14303, sleeping for 360 seconds... ok 1 # tick = 1, one = 1515061229, two = 1515061229, three = 1515061229 ok 2 # tick = 3, one = 1515061229, two = 1515061229, three = 1515061229 ok 3 - negative time error # t0 = 1515061229.68419 # ualarm(100000) # t1 = 1515061229.79069 # dt = 0.106506109237671 # r = 1.06506109237671 ok 4 # t0 = 1515061229.79107 # ualarm(1100000) # t1 = 1515061230.90097 # dt = 1.1098940372467 # r = 1.00899457931519 ok 5 # t0 = 1515061230.90136 # ualarm(2200000) # t1 = 1515061233.11075 # dt = 2.20939302444458 # r = 1.00426955656572 ok 6 # t0 = 1515061233.11124 # ualarm(4300000) # t1 = 1515061237.42098 # dt = 4.30973792076111 # r = 1.00226463273514 ok 7 # t0 = 1515061237.42145 # got0 = 0 # t1 = 1515061237.72145 # t1 - t0 = 0.300000905990601 # got1 = 200002 ok 8 ok 9 ok 10 ok 11 ok 12 # I am the main process 14302, terminating the watchdog process 14303 before it terminates me in 352 seconds (testing took 8 seconds). # kill KILL 14303 = 1 # All done. ok t/usleep.t ........ 1..6 # I am the main process 14304, starting the watchdog process... # The watchdog process 14305 launched, continuing testing... # I am the watchdog process 14305, sleeping for 360 seconds... ok 1 - negative time error ok 2 ok 3 ok 4 ok 5 ok 6 # I am the main process 14304, terminating the watchdog process 14305 before it terminates me in 356 seconds (testing took 4 seconds). # kill KILL 14305 = 1 # All done. ok t/utime.t ......... # Testing for subsecond file timestamps (mtime) in /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Time-HiRes-1.9751-AbFtQz # Subsecond file timestamps in /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Time-HiRes-1.9751-AbFtQz: OK 1..18 # I am the main process 14306, starting the watchdog process... # The watchdog process 14307 launched, continuing testing... # I am the watchdog process 14307, sleeping for 360 seconds... # $^O = linux, atime = 1.111111111, mtime = 2.222222222 # utime $fh ok 1 - One file changed ok 2 - atime set correctly ok 3 - mtime set correctly #utime $filename ok 4 - One file changed ok 5 - atime set correctly ok 6 - mtime set correctly utime $filename and $fh ok 7 - Two files changed ok 8 - File 1 atime set correctly ok 9 - File 1 mtime set correctly ok 10 - File 2 atime set correctly ok 11 - File 2 mtime set correctly # utime undef sets time to now ok 12 - Two files changed ok 13 - File 1 atime set correctly ok 14 - File 1 mtime set correctly ok 15 - File 2 atime set correctly ok 16 - File 2 mtime set correctly # negative atime dies ok 17 - negative time error # negative mtime dies; ok 18 - negative time error # I am the main process 14306, terminating the watchdog process 14307 before it terminates me in 359 seconds (testing took 1 seconds). # kill KILL 14307 = 1 # All done. ok All tests successful. Files=12, Tests=114, 30 wallclock secs ( 0.06 usr 0.05 sys + 15.80 cusr 0.26 csys = 16.17 CPU) Result: PASS JHI/Time-HiRes-1.9751.tar.gz make test TEST_VERBOSE=1 -- OK Jarkko Hietaniemi <jhi@iki.fi> High resolution alarm, sleep, gettimeofday, interval timers >>> (cd /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Time-HiRes-1.9751-AbFtQz && tar cvf - Time-HiRes-1.9751.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/J/JH/JHI/Time-HiRes-1.9751.tar.gz Time-HiRes-1.9751.ppd blib/ blib/man3/ blib/man3/Time::HiRes.3 blib/arch/ blib/arch/auto/ blib/arch/auto/Time/ blib/arch/auto/Time/HiRes/ blib/arch/auto/Time/HiRes/HiRes.so blib/lib/ blib/lib/Time/ blib/lib/Time/HiRes.pm VmSize: 356392 kB Finished 2018-01-04T02:20:43