Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2010-05-01T09:19:07 ActivePerl-818 CPAN-1.9402 Going to read '/export/home/fly818/var/cpan/Metadata' Database was generated on Fri, 30 Apr 2010 21:27:01 GMT Running make for D/DM/DMUEY/Class-Action-0.2.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DM/DMUEY/Class-Action-0.2.tar.gz ok Will not use Archive::Tar, need 1.00 Class-Action-0.2/ Class-Action-0.2/Build.PL Class-Action-0.2/Changes Class-Action-0.2/lib/ Class-Action-0.2/lib/Class/ Class-Action-0.2/lib/Class/Action/ Class-Action-0.2/lib/Class/Action/Step.pm Class-Action-0.2/lib/Class/Action/Step.pod Class-Action-0.2/lib/Class/Action.pm Class-Action-0.2/lib/Class/Action.pod Class-Action-0.2/Makefile.PL Class-Action-0.2/MANIFEST Class-Action-0.2/META.yml Class-Action-0.2/README Class-Action-0.2/t/ Class-Action-0.2/t/00.load.t Class-Action-0.2/t/01.internal.t Class-Action-0.2/t/02.step.t Class-Action-0.2/t/03.execute_and_rollback.t Class-Action-0.2/t/04.cwd_and_no_steps.t Class-Action-0.2/t/05.exec_stack_runtime_handler.t Class-Action-0.2/t/06.convenience.t Class-Action-0.2/t/perlcritic.t Class-Action-0.2/t/pod-coverage.t Class-Action-0.2/t/pod.t CPAN.pm: Going to build D/DM/DMUEY/Class-Action-0.2.tar.gz >>> /export/home/fly818/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Class::Action >>> make cp lib/Class/Action.pm blib/lib/Class/Action.pm cp lib/Class/Action.pod blib/lib/Class/Action.pod cp lib/Class/Action/Step.pm blib/lib/Class/Action/Step.pm cp lib/Class/Action/Step.pod blib/lib/Class/Action/Step.pod Manifying blib/man3/Class::Action.3 Manifying blib/man3/Class::Action::Step.3 DMUEY/Class-Action-0.2.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly818/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Testing Class::Action 0.2 t/00.load.t ........................ 1..2 ok 1 - use Class::Action; ok 2 - use Class::Action::Step; ok # Testing Class::Action 0.2 internals # # # Starting get_errstr/set_errstr # # # # Starting get_auto_rollback/set_auto_rollback # # # # Starting other internals # This action has no steps. at t/01.internal.t line 50 # # # You will see one 'Class::Action::Stack does not implement get_class_action_steps()' carp below. # Class::Action::Stack does not implement get_class_action_steps() at t/01.internal.t line 176 t/01.internal.t .................... 1..80 ok 1 - use Class::Action; ok 2 - use Class::Action::Step; ok 3 - get_errstr default ok 4 - set_errstr 1 ok 5 - get_errstr new true val ok 6 - set_errstr 0 ok 7 - get_errstr new false 0 val ok 8 - set_errstr undef ok 9 - get_errstr new false undef val ok 10 - set_errstr back to true ok 11 - get_errstr reset ok ok 12 - set_errstr no val ok 13 - get_errstr new false no val ok 14 - get_auto_rollback default ok 15 - set_auto_rollback 1 ok 16 - get_auto_rollback new true val ok 17 - set_auto_rollback 0 ok 18 - get_auto_rollback new false 0 val ok 19 - set_auto_rollback undef ok 20 - get_auto_rollback new false undef val ok 21 - set_auto_rollback back to true ok 22 - get_auto_rollback reset ok ok 23 - set_auto_rollback no val ok 24 - get_auto_rollback new false no val ok 25 - pre execute get_current_step ok 26 - pre execute is_at_start ok 27 - pre execute is_at_end ok 28 - empty stack next_step() RC false ok 29 - empty stack next_step() does not touch current_step ok 30 - next_step() 1 of 4 ok 31 - next_step() 2 of 4 ok 32 - next_step() 3 of 4 ok 33 - next_step() 4 of 4 ok 34 - finished stack next_step() RC false ok 35 - finished stack next_step() does not touch current_step ok 36 - post execute get_current_step ok 37 - post execute is_at_start ok 38 - post execute is_at_end ok 39 - auto_rollback in constructor ok 40 - prev_step() 4 of 4 ok 41 - prev_step() 3 of 4 ok 42 - prev_step() 2 of 4 ok 43 - prev_step() 1 of 4 ok 44 - finished stack prev_step() RC false ok 45 - finished stack prev_step() does not touch current_step ok 46 - post rollback get_current_step ok 47 - post rollback is_at_start ok 48 - post rollback is_at_end ok 49 - !exists execute_called() ok 50 - !exists execute_failed() ok 51 - 0 execute_called() ok 52 - 0 execute_failed() ok 53 - 1 execute_called() ok 54 - 1 execute_failed() ok 55 - !exists rollback_called() ok 56 - !exists rollback_failed() ok 57 - 0 rollback_called() ok 58 - 0 rollback_failed() ok 59 - 1 rollback_called() ok 60 - execute_failed() ok 61 - stack in new ok 62 - get_steps ok 63 - set_steps array ref return ok 64 - set_steps array ref result ok 65 - set_steps array return ok 66 - set_steps array result ok 67 - append_steps array ref return ok 68 - append_steps array ref result ok 69 - append_steps array return ok 70 - append_steps array result ok 71 - prepend_steps array ref return ok 72 - prepend_steps array ref result ok 73 - prepend_steps array return ok 74 - prepend_steps array result ok 75 - append_steps_from_class array ok 76 - append_steps_from_class array ok 77 - append_steps_from_class array ref ok 78 - prepend_steps_from_class array ref ok 79 - set_steps_from_class ok 80 - set_steps_from_class that returns nothing ok Use of uninitialized value in concatenation (.) or string at t/02.step.t line 10. # Testing Class::Action::Step # non implemented method defaults # # # You will start seeing 'XYZ::Frobnicate::Foo does not implement METHOD()' carps below. # XYZ::Frobnicate::Foo does not implement new() at lib/Class/Action/Step.pm line 67 Class::Action::Step::new('XYZ::Frobnicate::Foo=HASH(0x1495c0)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement clone_obj() at lib/Class/Action/Step.pm line 74 Class::Action::Step::clone_obj('XYZ::Frobnicate::Foo=HASH(0x1495c0)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement state() at lib/Class/Action/Step.pm line 81 Class::Action::Step::state('XYZ::Frobnicate::Foo=HASH(0x1495c0)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement reset_obj_state() at lib/Class/Action/Step.pm line 88 Class::Action::Step::reset_obj_state('XYZ::Frobnicate::Foo=HASH(0x1495c0)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement execute() at lib/Class/Action/Step.pm line 97 Class::Action::Step::execute('XYZ::Frobnicate::Foo=HASH(0x1495c0)') called at t/02.step.t line 29 # # # 'XYZ::Frobnicate::Foo does not implement METHOD()' carps should stop now. # t/02.step.t ........................ 1..12 ok 1 - use Class::Action; ok 2 - use Class::Action::Step; ok 3 - new() returns false when not implemented ok 4 - clone_obj() returns false when not implemented ok 5 - state() returns false when not implemented ok 6 - reset_obj_state() returns false when not implemented ok 7 - execute() returns false when not implemented ok 8 - retry_execute() returns false when not implemented ok 9 - clean_failed_execute() returns false when not implemented ok 10 - retry_undo() returns false when not implemented ok 11 - clean_failed_undo() returns false when not implemented ok 12 - undo() returns false when not implemented ok # Testing Class::Action 0.2 # AUTO_ROLLBACK OFF execute(), rollback(), and undo() behavior # testing execute() and rollback() behavior when execute() succeeds # testing execute() and rollback() behavior when execute() fails # testing execute() and rollback() behavior when rollback() fails # AUTO_ROLLBACK ON execute(), rollback(), and undo() behavior # testing execute() and rollback() behavior when execute() succeeds # testing execute() and rollback() behavior when execute() fails # testing execute() and rollback() behavior when rollback() fails t/03.execute_and_rollback.t ........ 1..60 ok 1 - use Class::Action; ok 2 - use Class::Action::Step; ok 3 - pre reset state a ok 4 - pre reset state b ok 5 - pre reset state c ok 6 - pre reset state d ok 7 - post reset state a ok 8 - post reset state b ok 9 - post reset state c ok 10 - post reset state d ok 11 - post clone state a - orig ok 12 - post clone state b - orig ok 13 - post clone state c - orig ok 14 - post clone state d - orig ok 15 - post clone state a - clone ok 16 - post clone state b - clone ok 17 - post clone state c - clone ok 18 - post clone state d - clone ok 19 - execute returns true ok 20 - items executed correct ok 21 - rollback returns false ok 22 - items executed still correct ok 23 - execute returns true ok 24 - reset called ok 25 - execute returns false ok 26 - get_execution_state() returns new ref ok 27 - stack is as it should be ok 28 - rollback returns true ok 29 - stack is as it should be ok 30 - execute returns false ok 31 - rollback returns false ok 32 - stack is as it should be ok 33 - execute returns true ok 34 - items executed correct ok 35 - rollback returns false ok 36 - items executed still correct ok 37 - execute returns true ok 38 - reset called ok 39 - execute returns false ok 40 - exec_stack has rollback ok 41 - rollback returns false ok 42 - execute returns false ok 43 - exec_stack has rollback ok 44 - rollback returns false ok 45 - rollback() after auto_rollback failed execute() short circuits call ok 46 - execute returns true ok 47 - undo_called() false before undo() is called ok 48 - undo() works after successful execute ok 49 - undo_called() true after undo() is called ok 50 - good undo after good execute is not failure ok 51 - stack is as it should be w/ undo() ok 52 - undo() before execute() returns false ok 53 - execute returns false ok 54 - undo() before execute() returns false ok 55 - undo before execute is not considered failure ok 56 - execute returns true ok 57 - undo_called() false before undo() is called ok 58 - undo() fails after successful execute ok 59 - undo_called() true after undo() is called ok 60 - failed undo after good execute is failure ok # Testing Class::Action 0.2 t/04.cwd_and_no_steps.t ............ 1..22 ok 1 - use Class::Action; ok 2 - CWD not enabled by default ok 3 - CWD enabled by option to new() ok 4 - CWD enabled by set method ok 5 - CWD disabled by set method ok 6 - can not get CWD of execute until it has been set - when on ok 7 - can not get CWD of execute until it has been set - when off ok 8 - carp() was called (This action has no steps.) ok 9 - execute returns true w/ no steps - 1 ok 10 - carp() was called (This action has no steps.) ok 11 - execute returns true w/ no steps - 2 ok 12 - CWD not set on execute() when option is off ok 13 - CWD is set on execute() when option is on ok 14 - setting returns 1 when it was not previously set ok 15 - CWD set OK ok 16 - subsequent setting returns previous value when it was previously set ok 17 - CWD was updated OK ok 18 - reset updates stored value ok 19 - CWD enabled not changed by reset ok 20 - CWD disabled not changed by reset ok 21 - carp() was called (This action has no steps.) ok 22 - no steps next and prev returns false ok # Testing Class::Action 0.2 t/05.exec_stack_runtime_handler.t .. 1..6 ok 1 - use Class::Action; ok 2 - use Class::Action::Step; ok 3 - TestAct::A calls exec_stack_runtime_handler w/ HASH ok 4 - TestAct::B calls exec_stack_runtime_handler w/ HASH ok 5 - TestAct::C calls exec_stack_runtime_handler w/ HASH ok 6 - TestAct::D calls exec_stack_runtime_handler w/ HASH ok # Testing Class::Action::Step 0.2 t/06.convenience.t ................. 1..5 ok 1 - use Class::Action::Step; ok 2 - TestAct::A calls exec_stack_runtime_handler w/ HASH ok 3 - TestAct::B calls exec_stack_runtime_handler w/ HASH ok 4 - TestAct::C calls exec_stack_runtime_handler w/ HASH ok 5 - TestAct::D calls exec_stack_runtime_handler w/ HASH ok t/perlcritic.t ..................... skipped: $ENV{'do_perl_critic_tests'} must be true to run these 'development only' tests t/pod-coverage.t ................... 1..2 ok 1 - Pod coverage on Class::Action ok 2 - Pod coverage on Class::Action::Step ok t/pod.t ............................ 1..4 ok 1 - POD test for blib/lib/Class/Action.pm (no pod) ok 2 - POD test for blib/lib/Class/Action.pod ok 3 - POD test for blib/lib/Class/Action/Step.pm (no pod) ok 4 - POD test for blib/lib/Class/Action/Step.pod ok All tests successful. Files=10, Tests=193, 4 wallclock secs ( 0.26 usr 0.09 sys + 3.46 cusr 0.42 csys = 4.23 CPU) Result: PASS DMUEY/Class-Action-0.2.tar.gz make test TEST_VERBOSE=1 -- OK Picked up abstract from Makefile Daniel Muey <dmuey@cpan.org> Basic command pattern obj undo/rollback actions >>> (cd /export/home/fly818/var/cpan/build/Class-Action-0.2-nqOc5Q && tar cvf - Class-Action-0.2.ppd blib) | gzip -c >/export/home/fly818/var/REPO/D/DM/DMUEY/Class-Action-0.2.tar.gz Class-Action-0.2.ppd blib/ blib/lib/ blib/lib/Class/ blib/lib/Class/Action.pm blib/lib/Class/Action.pod blib/lib/Class/Action/ blib/lib/Class/Action/Step.pm blib/lib/Class/Action/Step.pod blib/man3/ blib/man3/Class::Action.3 blib/man3/Class::Action::Step.3 >>> mv /export/home/fly818/var/cpan/build/Class-Action-0.2-nqOc5Q/Class-Action-0.2.ppd /export/home/fly818/var/REPO/D/DM/DMUEY Finished 2010-05-01T09:19:21