Setting PATH to /opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2010-04-23T01:11:36 ActivePerl-1003 CPAN-1.9402 Going to read '/export/home/fly1064/var/cpan/Metadata' Database was generated on Thu, 22 Apr 2010 21:26:57 GMT Running make for D/DM/DMUEY/Class-Action-0.1.tar.gz Checksum for /net/nas/data/cpan/authors/id/D/DM/DMUEY/Class-Action-0.1.tar.gz ok Will not use Archive::Tar, need 1.00 Class-Action-0.1/ Class-Action-0.1/t/ Class-Action-0.1/t/pod-coverage.t Class-Action-0.1/t/02.step.t Class-Action-0.1/t/03.execute_and_rollback.t Class-Action-0.1/t/perlcritic.t Class-Action-0.1/t/pod.t Class-Action-0.1/t/01.internal.t Class-Action-0.1/t/00.load.t Class-Action-0.1/Changes Class-Action-0.1/META.yml Class-Action-0.1/MANIFEST Class-Action-0.1/README Class-Action-0.1/Makefile.PL Class-Action-0.1/Build.PL Class-Action-0.1/lib/ Class-Action-0.1/lib/Class/ Class-Action-0.1/lib/Class/Action.pod Class-Action-0.1/lib/Class/Action.pm Class-Action-0.1/lib/Class/Action/ Class-Action-0.1/lib/Class/Action/Step.pm Class-Action-0.1/lib/Class/Action/Step.pod CPAN.pm: Going to build D/DM/DMUEY/Class-Action-0.1.tar.gz >>> /export/home/fly1064/bin/perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for Class::Action >>> make cp lib/Class/Action.pod blib/lib/Class/Action.pod cp lib/Class/Action.pm blib/lib/Class/Action.pm 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.1.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1064/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t # Testing Class::Action 0.1 t/00.load.t .................. 1..2 ok 1 - use Class::Action; ok 2 - use Class::Action::Step; ok # Testing Class::Action 0.1 internals # # # Starting get_errstr/set_errstr # # # # Starting get_auto_rollback/set_auto_rollback # # # # Starting other internals # # # # 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 $Class::Action::::Step::VERSION 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 19 Class::Action::Step::new('XYZ::Frobnicate::Foo=HASH(0x1004b1180)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement clone_obj() at lib/Class/Action/Step.pm line 24 Class::Action::Step::clone_obj('XYZ::Frobnicate::Foo=HASH(0x1004b1180)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement state() at lib/Class/Action/Step.pm line 31 Class::Action::Step::state('XYZ::Frobnicate::Foo=HASH(0x1004b1180)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement reset_obj_state() at lib/Class/Action/Step.pm line 38 Class::Action::Step::reset_obj_state('XYZ::Frobnicate::Foo=HASH(0x1004b1180)') called at t/02.step.t line 27 XYZ::Frobnicate::Foo does not implement execute() at lib/Class/Action/Step.pm line 47 Class::Action::Step::execute('XYZ::Frobnicate::Foo=HASH(0x1004b1180)') 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.1 # 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 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.pod ok 2 - POD test for blib/lib/Class/Action.pm (no 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=7, Tests=160, 20 wallclock secs ( 0.20 usr 0.07 sys + 4.37 cusr 0.56 csys = 5.20 CPU) Result: PASS DMUEY/Class-Action-0.1.tar.gz make test TEST_VERBOSE=1 -- OK Daniel Muey <dmuey@cpan.org> Basic command pattern obj undo/rollback actions >>> (cd /export/home/fly1064/var/cpan/build/Class-Action-0.1-ynNF12 && tar cvf - Class-Action-0.1.ppd blib) | gzip -c >/export/home/fly1064/var/REPO/D/DM/DMUEY/Class-Action-0.1.tar.gz Class-Action-0.1.ppd blib/ blib/lib/ blib/lib/Class/ blib/lib/Class/Action.pod blib/lib/Class/Action.pm 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/fly1064/var/cpan/build/Class-Action-0.1-ynNF12/Class-Action-0.1.ppd /export/home/fly1064/var/REPO/D/DM/DMUEY Finished 2010-04-23T01:12:13