[Taskforest-discuss] `make test` failures?
Brought to you by:
enoor
From: Steve H. <st...@id...> - 2010-02-02 07:23:54
|
Hi, I just downloaded Task Forest 1.33 with high hopes and great expectations--I've been looking for a simple yet powerful text-file-based job scheduler of this sort for a long time. I ran `perl Makefile.PL`, `make`, and `make test` but many of the unit test fail and t/025_Midnight_Ready hangs after printing 1/19. Is this expected? Did I miss a setup or configuration step? I'm running perl v5.10.0 on Linux version 2.6.31-17-generic (Ubuntu 9.10). `make test` output included below. Thanks, steve PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001_DateTime.........................ok t/002_TimeDependency...................ok t/003_Options..........................ok t/004_LogDir...........................ok t/005_Job..............................ok t/0065_StringHandle....................ok 1/16 Ignore this line: Hello, world! Back to stderr - Ignore this line Ignore this line: This is the first line Ignore this line: This is the second line t/0065_StringHandle....................ok t/006_Family...........................ok 1/74 # Failed test ' J1 is now ready' t/006_Family...........................NOK 62/74# at t/006_Family.t line 136. # got: 'Waiting' # expected: 'Ready' # Failed test ' J5 is now ready' # at t/006_Family.t line 136. t/006_Family...........................NOK 63/74# got: 'Waiting' # expected: 'Ready' # Failed test ' J10 is now ready' # at t/006_Family.t line 136. # got: 'Waiting' # expected: 'Ready' # Failed test ' J2 is has succeeded' # at t/006_Family.t line 142. # got: 'Ready' # expected: 'Success' # Failed test ' J3 is has succeeded' # at t/006_Family.t line 142. # got: 'Ready' # expected: 'Success' # Failed test ' J6 is has succeeded' # at t/006_Family.t line 142. # got: 'Ready' # expected: 'Success' # Failed test ' J7 is has succeeded' # at t/006_Family.t line 142. # got: 'Ready' # expected: 'Success' # Failed test ' J9 is has succeeded' # at t/006_Family.t line 142. # got: 'Ready' # expected: 'Success' # Looks like you failed 8 tests of 74. t/006_Family...........................dubious Test returned status 8 (wstat 2048, 0x800) DIED. FAILED tests 62-64, 70-74 Failed 8/74 tests, 89.19% okay t/007_TaskForest.......................ok 1/7# Haven't found job log files on try 1 of 10. Sleeping another 2 seconds # Haven't found job log files on try 2 of 10. Sleeping another 2 seconds # Haven't found job log files on try 3 of 10. Sleeping another 2 seconds # Haven't found job log files on try 4 of 10. Sleeping another 2 seconds # Haven't found job log files on try 5 of 10. Sleeping another 2 seconds # Haven't found job log files on try 6 of 10. Sleeping another 2 seconds # Haven't found job log files on try 7 of 10. Sleeping another 2 seconds # Haven't found job log files on try 8 of 10. Sleeping another 2 seconds # Haven't found job log files on try 9 of 10. Sleeping another 2 seconds # Haven't found job log files on try 10 of 10. Sleeping another 2 seconds # Failed test ' After first cycle, J2 ran successfully' # at t/007_TaskForest.t line 65. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t t/007_TaskForest.......................NOK 3/7 # Failed test ' After first cycle, J3 ran successfully' # at t/007_TaskForest.t line 66. t/007_TaskForest.......................NOK 4/7# Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J6 ran successfully' # at t/007_TaskForest.t line 67. t/007_TaskForest.......................NOK 5/7# Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J7 ran successfully' # at t/007_TaskForest.t line 68. t/007_TaskForest.......................NOK 6/7# Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J9 ran successfully' # at t/007_TaskForest.t line 69. t/007_TaskForest.......................NOK 7/7# Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Looks like you failed 5 tests of 7. t/007_TaskForest.......................dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 3-7 Failed 5/7 tests, 28.57% okay t/008_Repeat...........................ok t/009_Display..........................ok t/010_LongRunningJobs..................ok 1/6 # Failed test 'Got Line LONG_RUNNING::JLongRunning Ready - America/Chicago 00:00 --:-- --:--' # at /var/tmp/TaskForest-1.33/blib/lib/TaskForest/Test.pm line 28. # 'LONG_RUNNING::JLongRunning Ready - America/Chicago 00:00 --:-- --:--' # doesn't match '(?-xism:LONG_RUNNING::JLongRunning +Running +- +America/Chicago +00:00 +\d\d:\d\d +--:--)' # Looks like you failed 1 test of 6. t/010_LongRunningJobs..................dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 6 Failed 1/6 tests, 83.33% okay t/011_NotEnoughTime....................ok t/012_Collapse.........................ok t/013_Rerun............................ok t/014_Mark.............................ok t/015_Syntax...........................ok 1/18Odd number of elements in hash assignment at /var/tmp/TaskForest-1.33/blib/lib/TaskForest/Family.pm line 1155. Use of uninitialized value $args in list assignment at /var/tmp/TaskForest-1.33/blib/lib/TaskForest/Family.pm line 1155. t/015_Syntax...........................ok t/016_Cascade..........................ok t/017_IgnoreRegex......................ok 1/12# Haven't found job log files on try 1 of 10. Sleeping another 2 seconds # Haven't found job log files on try 2 of 10. Sleeping another 2 seconds # Haven't found job log files on try 3 of 10. Sleeping another 2 seconds # Haven't found job log files on try 4 of 10. Sleeping another 2 seconds # Haven't found job log files on try 5 of 10. Sleeping another 2 seconds # Haven't found job log files on try 6 of 10. Sleeping another 2 seconds # Haven't found job log files on try 7 of 10. Sleeping another 2 seconds # Haven't found job log files on try 8 of 10. Sleeping another 2 seconds # Haven't found job log files on try 9 of 10. Sleeping another 2 seconds # Haven't found job log files on try 10 of 10. Sleeping another 2 seconds # Failed test ' After first cycle, J1 ran successfully' # at t/017_IgnoreRegex.t line 67. # Try to increase the value of $SLEEP_TIME in t/017_IgnoreRegex.t t/017_IgnoreRegex......................NOK 3/12 # Failed test ' After first cycle, J2 ran successfully' # at t/017_IgnoreRegex.t line 68. t/017_IgnoreRegex......................NOK 4/12# Try to increase the value of $SLEEP_TIME in t/017_IgnoreRegex.t t/017_IgnoreRegex......................ok 5/12# Haven't found job log files on try 1 of 10. Sleeping another 2 seconds # Haven't found job log files on try 2 of 10. Sleeping another 2 seconds # Haven't found job log files on try 3 of 10. Sleeping another 2 seconds # Haven't found job log files on try 4 of 10. Sleeping another 2 seconds # Haven't found job log files on try 5 of 10. Sleeping another 2 seconds # Haven't found job log files on try 6 of 10. Sleeping another 2 seconds # Haven't found job log files on try 7 of 10. Sleeping another 2 seconds # Haven't found job log files on try 8 of 10. Sleeping another 2 seconds # Haven't found job log files on try 9 of 10. Sleeping another 2 seconds # Haven't found job log files on try 10 of 10. Sleeping another 2 seconds # Failed test ' After second cycle, J1 ran successfully' # at t/017_IgnoreRegex.t line 106. # Try to increase the value of $SLEEP_TIME in t/017_IgnoreRegex.t t/017_IgnoreRegex......................ok 9/12# Looks like you failed 3 tests of 12. t/017_IgnoreRegex......................dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 3-4, 8 Failed 3/12 tests, 75.00% okay t/018TaskForestDaemon..................# # ********************************************************************** # # No web server was found at port 1111. Skipping the rest of # these tests. If you want, you can start the web server and # rerun 'make test'. # # To start the web server enter: # # perl -T -I lib ./blib/script/taskforestd --config_file=./taskforestd.test.cfg # # For more help, see http://www.taskforest.com # # ********************************************************************** # t/018TaskForestDaemon..................ok 362/362 skipped: various reasons t/019_FamilyRemoval....................ok t/020_Run_With_Log.....................ok 1/7# Haven't found job log files on try 1 of 10. Sleeping another 2 seconds # Haven't found job log files on try 2 of 10. Sleeping another 2 seconds # Haven't found job log files on try 3 of 10. Sleeping another 2 seconds # Haven't found job log files on try 4 of 10. Sleeping another 2 seconds # Haven't found job log files on try 5 of 10. Sleeping another 2 seconds # Haven't found job log files on try 6 of 10. Sleeping another 2 seconds # Haven't found job log files on try 7 of 10. Sleeping another 2 seconds # Haven't found job log files on try 8 of 10. Sleeping another 2 seconds # Haven't found job log files on try 9 of 10. Sleeping another 2 seconds # Haven't found job log files on try 10 of 10. Sleeping another 2 seconds # Failed test ' After first cycle, J2 ran successfully' # at t/020_Run_With_Log.t line 65. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J3 ran successfully' # at t/020_Run_With_Log.t line 66. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J6 ran successfully' # at t/020_Run_With_Log.t line 67. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J7 ran successfully' # at t/020_Run_With_Log.t line 68. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J9 ran successfully' # at t/020_Run_With_Log.t line 69. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Looks like you failed 5 tests of 7. t/020_Run_With_Log.....................dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 3-7 Failed 5/7 tests, 28.57% okay t/021_Release..........................ok t/022_Debug............................ok 1/7# Haven't found job log files on try 1 of 10. Sleeping another 2 seconds # Haven't found job log files on try 2 of 10. Sleeping another 2 seconds # Haven't found job log files on try 3 of 10. Sleeping another 2 seconds # Haven't found job log files on try 4 of 10. Sleeping another 2 seconds # Haven't found job log files on try 5 of 10. Sleeping another 2 seconds # Haven't found job log files on try 6 of 10. Sleeping another 2 seconds # Haven't found job log files on try 7 of 10. Sleeping another 2 seconds # Haven't found job log files on try 8 of 10. Sleeping another 2 seconds # Haven't found job log files on try 9 of 10. Sleeping another 2 seconds # Haven't found job log files on try 10 of 10. Sleeping another 2 seconds # Failed test ' After first cycle, J2 ran successfully' # at t/022_Debug.t line 65. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t t/022_Debug............................NOK 3/7 # Failed test ' After first cycle, J3 ran successfully' # at t/022_Debug.t line 66. # Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t t/022_Debug............................NOK 4/7 # Failed test ' After first cycle, J6 ran successfully' # at t/022_Debug.t line 67. t/022_Debug............................NOK 5/7# Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J7 ran successfully' # at t/022_Debug.t line 68. t/022_Debug............................NOK 6/7# Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Failed test ' After first cycle, J9 ran successfully' # at t/022_Debug.t line 69. t/022_Debug............................NOK 7/7# Try to increase the value of $SLEEP_TIME in t/007_TaskForest.t # Looks like you failed 5 tests of 7. t/022_Debug............................dubious Test returned status 5 (wstat 1280, 0x500) DIED. FAILED tests 3-7 Failed 5/7 tests, 28.57% okay t/023_Tokens...........................ok 1/5# Loop # 5: missing the following files: # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J1.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J3.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J4.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J7.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J8.0 # Loop # 10: missing the following files: # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J1.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J3.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J4.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J7.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J8.0 # Failed test 'After first cycle, jobs J1, J3, J4, J7, J8 ran successfully' # at t/023_Tokens.t line 51. t/023_Tokens...........................NOK 3/5# Loop # 5: missing the following files: # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J2.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J5.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J9.0 # Loop # 10: missing the following files: # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J2.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J5.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J9.0 # Failed test 'After second cycle, jobs J2, J5 and J9 ran successfully' # at t/023_Tokens.t line 62. t/023_Tokens...........................NOK 4/5# Loop # 5: missing the following files: # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J6.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J10.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J11.0 # Loop # 10: missing the following files: # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J6.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J10.0 # /var/tmp/TaskForest-1.33/t/logs/20100201/TOKENS.J11.0 # Failed test 'After third cycle, jobs J6, J10 and J11 ran successully' # at t/023_Tokens.t line 71. t/023_Tokens...........................NOK 5/5# Looks like you failed 3 tests of 5. t/023_Tokens...........................dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 3-5 Failed 3/5 tests, 40.00% okay t/024_Midnight.........................ok t/025_Midnight_Ready...................ok 1/19 |