Bug#1091076: libschedule-cron-perl: FTBFS: dh_auto_test: error: make -j8 test TEST_VERBOSE=1 "TEST_FILES=t/after_job.t t/callbackreschedule.t t/delete_entry.t t/dst_back.t t/entry.t t/execution_time.t t/load_crontab.t t/nofork.t t/pod.t t/pod_coverage.t t/pretty_print_args.t t/process_name.t t/same_time_with_reschedule.t t/sighandler.t t/startup.t t/timeshift.t" returned exit code 2
Lucas Nussbaum
lucas at debian.org
Sun Dec 22 09:28:38 GMT 2024
Source: libschedule-cron-perl
Version: 1.05-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20241222 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/after_job.t t/callbackreschedule.t t/delete_entry.t t/dst_back.t t/entry.t t/execution_time.t t/load_crontab.t t/nofork.t t/pod.t t/pod_coverage.t t/pretty_print_args.t t/process_name.t t/same_time_with_reschedule.t t/sighandler.t t/startup.t t/timeshift.t
> t/after_job.t ..................
> 1..3
> ok 1 - Return value must match
> ok 2 - Arguments must match
> ok 3 - Second call must finish test
> ok
> t/callbackreschedule.t .........
> 1..1
> # Job 1.1, job1count: 0, job2count: 0
> # Job 1.2, job1count: 1, job2count: 0
> # Job 1.1, job1count: 1, job2count: 1
> ok 1 - rescheduled jobs work properly (ok)
> ok
> t/delete_entry.t ...............
> 1..3
> ok 1 - Test1 defined
> ok 2 - Test2 not found
> ok 3 - Test3 defined
> ok
>
> # Failed test 'Expected time for PST8PDT ( Ref: Sun Nov 1 00:55:00 2009, Calc: Sun Nov 1 01:00:00 2009'
> # at t/dst_back.t line 43.
> # got: '1257066000'
> # expected: '1257062400'
> # Looks like you failed 1 test of 3.
> t/dst_back.t ...................
> 1..3
> ok 1 - Timezone MET not available
> ok 2 - Expected time for Europe/Berlin ( Ref: Sun Oct 25 02:55:00 2009, Calc: Sun Oct 25 03:00:00 2009
> not ok 3 - Expected time for PST8PDT ( Ref: Sun Nov 1 00:55:00 2009, Calc: Sun Nov 1 01:00:00 2009
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/3 subtests
> t/entry.t ......................
> 1..19
> ok 1 - invalid add arguments: Invalid number of columns in time entry (5 or 6)
> #
> ok 2 - invalid add arguments: You have to provide a simple scalar if using eval at /<<PKGBUILDDIR>>/blib/lib/Schedule/Cron.pm line 632.
> #
> ok 3 - 3 list entries
> ok 4 - entry 0 timespec
> ok 5 - entry 0 dispatcher
> ok 6 - entry 0 args
> ok 7 - entry: invalid index
> ok 8 - 3 list entries
> ok 9 - entry 1 dispatcher
> ok 10 - update: old entry
> ok 11 - update: new entry
> ok 12 - update: deep copy
> ok 13 - update: deep copy 2
> ok 14 - delete: old entry
> ok 15 - delete: nr. entries
> ok 16 - delete: splicing
> ok 17 - delete: old entry (2)
> ok 18 - delete: nr. entries
> ok 19 - clean
> ok
> t/execution_time.t .............
> 1..52
> # Cron-Entry: * * * * * 0
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:15:00 1999
> # Expected: Mon Dec 27 20:15:00 1999
> ok 1
> # Cron-Entry: 20 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:20:00 1999
> # Expected: Mon Dec 27 20:20:00 1999
> ok 2
> # Cron-Entry: 10-50 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:15:00 1999
> # Expected: Mon Dec 27 20:15:00 1999
> ok 3
> # Cron-Entry: 13-30/4 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:17:00 1999
> # Expected: Mon Dec 27 20:17:00 1999
> ok 4
> # Cron-Entry: 10 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:10:00 1999
> # Expected: Mon Dec 27 21:10:00 1999
> ok 5
> # Cron-Entry: 18,20 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:18:00 1999
> # Expected: Mon Dec 27 20:18:00 1999
> ok 6
> # Cron-Entry: * 21 * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:00:00 1999
> # Expected: Mon Dec 27 21:00:00 1999
> ok 7
> # Cron-Entry: * 19 * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Dec 28 19:00:00 1999
> # Expected: Tue Dec 28 19:00:00 1999
> ok 8
> # Cron-Entry: * 10-23/5 * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:15:00 1999
> # Expected: Mon Dec 27 20:15:00 1999
> ok 9
> # Cron-Entry: * 10-23/7 * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Dec 28 10:00:00 1999
> # Expected: Tue Dec 28 10:00:00 1999
> ok 10
> # Cron-Entry: * * 29 2 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Feb 29 00:00:00 2000
> # Expected: Tue Feb 29 00:00:00 2000
> ok 11
> # Cron-Entry: 23 4 23-30/3 * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Wed Dec 29 04:23:00 1999
> # Expected: Wed Dec 29 04:23:00 1999
> ok 12
> # Cron-Entry: 12 21 27 * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:12:00 1999
> # Expected: Mon Dec 27 21:12:00 1999
> ok 13
> # Cron-Entry: 12 19 27 * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Thu Jan 27 19:12:00 2000
> # Expected: Thu Jan 27 19:12:00 2000
> ok 14
> # Cron-Entry: * 18 21,15,8 * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Sat Jan 8 18:00:00 2000
> # Expected: Sat Jan 8 18:00:00 2000
> ok 15
> # Cron-Entry: * * * 11 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Wed Nov 1 00:00:00 2000
> # Expected: Wed Nov 1 00:00:00 2000
> ok 16
> # Cron-Entry: * * * 12 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:15:00 1999
> # Expected: Mon Dec 27 20:15:00 1999
> ok 17
> # Cron-Entry: * * * 0 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Sat Jan 1 00:00:00 2000
> # Expected: Sat Jan 1 00:00:00 2000
> ok 18
> # Cron-Entry: 42 0 4 Jan-Dec *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Jan 4 00:42:00 2000
> # Expected: Tue Jan 4 00:42:00 2000
> ok 19
> # Cron-Entry: 42 21 4 Jan-Dec/2 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Jan 4 21:42:00 2000
> # Expected: Tue Jan 4 21:42:00 2000
> ok 20
> # Cron-Entry: 42 21 * Feb-Dec/2 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:42:00 1999
> # Expected: Mon Dec 27 21:42:00 1999
> ok 21
> # Cron-Entry: 42 19 * Feb-Dec/2 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Dec 28 19:42:00 1999
> # Expected: Tue Dec 28 19:42:00 1999
> ok 22
> # Cron-Entry: 42 19 27 Feb-Dec/2 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Sun Feb 27 19:42:00 2000
> # Expected: Sun Feb 27 19:42:00 2000
> ok 23
> # Cron-Entry: 14 15 * Dec,Jan 0
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Sun Jan 2 15:14:00 2000
> # Expected: Sun Jan 2 15:14:00 2000
> ok 24
> # Cron-Entry: 14 15 * Dec,Jan 7
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Sun Jan 2 15:14:00 2000
> # Expected: Sun Jan 2 15:14:00 2000
> ok 25
> # Cron-Entry: 0 12 * * Mon-Fri
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Dec 28 12:00:00 1999
> # Expected: Tue Dec 28 12:00:00 1999
> ok 26
> # Cron-Entry: * * * * Mon
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:15:00 1999
> # Expected: Mon Dec 27 20:15:00 1999
> ok 27
> # Cron-Entry: 0 21 * * Mon
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:00:00 1999
> # Expected: Mon Dec 27 21:00:00 1999
> ok 28
> # Cron-Entry: 0 19 * * Mon
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Jan 3 19:00:00 2000
> # Expected: Mon Jan 3 19:00:00 2000
> ok 29
> # Cron-Entry: 13 14 * * Sun-Sat/2
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Tue Dec 28 14:13:00 1999
> # Expected: Tue Dec 28 14:13:00 1999
> ok 30
> # Cron-Entry: * * * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:14:15 1999
> # Expected: Mon Dec 27 20:14:15 1999
> ok 31
> # Cron-Entry: * * * * * 5-10
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:15:05 1999
> # Expected: Mon Dec 27 20:15:05 1999
> ok 32
> # Cron-Entry: * * * * * 13-30/4
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:14:17 1999
> # Expected: Mon Dec 27 20:14:17 1999
> ok 33
> # Cron-Entry: * * * * * 18
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:14:18 1999
> # Expected: Mon Dec 27 20:14:18 1999
> ok 34
> # Cron-Entry: 0 21 27 * Wed
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:00:00 1999
> # Expected: Mon Dec 27 21:00:00 1999
> ok 35
> # Cron-Entry: 0 19 27 * Wed
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Wed Dec 29 19:00:00 1999
> # Expected: Wed Dec 29 19:00:00 1999
> ok 36
> # Cron-Entry: 0 19,21 27 * Wed
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:00:00 1999
> # Expected: Mon Dec 27 21:00:00 1999
> ok 37
> # Cron-Entry: 20-30/5,17 19,21 27 * Wed
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 21:17:00 1999
> # Expected: Mon Dec 27 21:17:00 1999
> ok 38
> # Cron-Entry: 1 3 30 6 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Fri Jun 30 03:01:00 2000
> # Expected: Fri Jun 30 03:01:00 2000
> ok 39
> # Cron-Entry: 0 03 30 6 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Fri Jun 30 03:00:00 2000
> # Expected: Fri Jun 30 03:00:00 2000
> ok 40
> # Cron-Entry: 00 3 30 6 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Fri Jun 30 03:00:00 2000
> # Expected: Fri Jun 30 03:00:00 2000
> ok 41
> # Cron-Entry: 0 3 30 6 *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Fri Jun 30 03:00:00 2000
> # Expected: Fri Jun 30 03:00:00 2000
> ok 42
> # Cron-Entry: 5,10,25,30,35,40,45,50,55 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:25:00 1999
> # Expected: Mon Dec 27 20:25:00 1999
> ok 43
> # Cron-Entry: 5,10,25,30,35,40,45,50,55 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:25:00 1999
> # Expected: Mon Dec 27 20:25:00 1999
> ok 44
> # Cron-Entry: */5 * * * *
> # Ref-Time: Mon Dec 27 20:14:14 1999
> # Calculated: Mon Dec 27 20:15:00 1999
> # Expected: Mon Dec 27 20:15:00 1999
> ok 45
> # Cron-Entry: 0 12 30 * *
> # Ref-Time: Fri Feb 27 12:00:00 2009
> # Calculated: Mon Mar 30 12:00:00 2009
> # Expected: Mon Mar 30 12:00:00 2009
> ok 46
> # Cron-Entry: * 12 30 * *
> # Ref-Time: Tue Jan 27 12:01:00 2009
> # Calculated: Fri Jan 30 12:00:00 2009
> # Expected: Fri Jan 30 12:00:00 2009
> ok 47
> # Cron-Entry: * 12 27 * *
> # Ref-Time: Tue Jan 27 12:01:00 2009
> # Calculated: Tue Jan 27 12:02:00 2009
> # Expected: Tue Jan 27 12:02:00 2009
> ok 48
> # Cron-Entry: * 12 * * *
> # Ref-Time: Tue Jan 27 12:01:00 2009
> # Calculated: Tue Jan 27 12:02:00 2009
> # Expected: Tue Jan 27 12:02:00 2009
> ok 49
> # Cron-Entry: * 13 * * *
> # Ref-Time: Tue Jan 27 12:01:00 2009
> # Calculated: Tue Jan 27 13:00:00 2009
> # Expected: Tue Jan 27 13:00:00 2009
> ok 50
> # Cron-Entry: 0 23 * * 1
> # Ref-Time: Sat Sep 1 23:00:00 2007
> # Calculated: Mon Sep 3 23:00:00 2007
> # Expected: Mon Sep 3 23:00:00 2007
> ok 51
> # Cron-Entry: * * * * * */10
> # Ref-Time: Sat Sep 1 23:00:55 2007
> # Calculated: Sat Sep 1 23:01:00 2007
> # Expected: Sat Sep 1 23:01:00 2007
> ok 52
> ok
> t/load_crontab.t ...............
> 1..4
> ok 1
> ok 2
> ok 3
> ok 4
> ok
> t/nofork.t .....................
> 1..5
> # Job 1.2
> # Job 1.1
> # Job 1.2
> ok 1 - Simple nofork - Second Job finished
> ok 2 - Simple nofork - Cron has been run: ok
> # Schedule::Cron - Starting job 0
> # Job 2.1 Sun Dec 22 07:59:36 2024
> # Schedule::Cron - Finished job 0
> # Schedule::Cron - Starting job 0
> # Job 2.1 Sun Dec 22 07:59:41 2024
> ok 3 - Nofork with skip - Skip test passed
> ok 4 - Nofork with skip - Cron has been run: ok
> # Schedule::Cron - Starting job 0
> # Schedule::Cron - Error within job 0: Exception at t/nofork.t line 82.
>
> # Schedule::Cron - Finished job 0
> # Schedule::Cron - Starting job 0
> # Schedule::Cron - Error within job 0: Exception at t/nofork.t line 82.
>
> # Schedule::Cron - Finished job 0
> ok 5 - Nofork with skip - Job has run
> ok
> t/pod.t ........................
> 1..1
> ok 1 - POD test for blib/lib/Schedule/Cron.pm
> ok
> t/pod_coverage.t ...............
> 1..1
> ok 1 - Schedule::Cron is covered
> ok
> t/pretty_print_args.t ..........
> 1..1
> ok 1
> ok
> t/process_name.t ...............
> 1..6
> ok 1 - process name suffixed with debug status by default
> ok 2 - process name doesn't change with nostatus
> ok 3 - nostatus overrides processprefix
> ok 4 - process name prefixed with string when using processprefix
> ok 5 - process name set to constant string when using processname
> ok 6 - processname overrides nostatus and processprefix
> ok
> t/same_time_with_reschedule.t ..
> 1..6
> ok 1 - Finished by last action
> ok 2 - $do called 3
> ok 3 - $other called 3
> ok 4 - T1 called
> ok 5 - T2 called
> ok 6 - $do and $other are the same
> ok
> t/sighandler.t .................
> 1..1
> ok 1 - SIGCHLD received
> ok
> t/startup.t ....................
> 1..1
> ok 1
> ok
> t/timeshift.t ..................
> 1..1
> ok 1 - Call was shifted by 2 seconds (<= 3)
> ok
>
> Test Summary Report
> -------------------
> t/dst_back.t (Wstat: 256 (exited 1) Tests: 3 Failed: 1)
> Failed test: 3
> Non-zero exit status: 1
> Files=16, Tests=108, 42 wallclock secs ( 0.06 usr 0.03 sys + 1.68 cusr 0.32 csys = 2.09 CPU)
> Result: FAIL
> Failed 1/16 test programs. 1/108 subtests failed.
> make[2]: *** [Makefile:835: test_dynamic] Error 255
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test TEST_VERBOSE=1 "TEST_FILES=t/after_job.t t/callbackreschedule.t t/delete_entry.t t/dst_back.t t/entry.t t/execution_time.t t/load_crontab.t t/nofork.t t/pod.t t/pod_coverage.t t/pretty_print_args.t t/process_name.t t/same_time_with_reschedule.t t/sighandler.t t/startup.t t/timeshift.t" returned exit code 2
The full build log is available from:
http://qa-logs.debian.net/2024/12/22/libschedule-cron-perl_1.05-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241222;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241222&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-perl-maintainers
mailing list