Skip to content

Instantly share code, notes, and snippets.

@agrimm
Created April 10, 2010 04:57
Show Gist options
  • Save agrimm/361829 to your computer and use it in GitHub Desktop.
Save agrimm/361829 to your computer and use it in GitHub Desktop.
Note: This is based on the following zombie-chaser commit:
commit 20173f84a936fb41109c765d8ea080fb0793b403
Author: Andrew Grimm <[email protected]>
Date: Sun Apr 4 17:34:52 2010 +1000
Failed attempt at collision avoidance.
This was from continuously running two copies of test/integration.rb at the same time
Loaded suite test/integration
Started
Loaded suite test/integration
Started
............[BUG] The handle is invalid.
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
c:0011 p:---- s:0032 b:0032 l:000031 d:000031 CFUNC :lock
c:0010 p:0034 s:0029 b:0029 l:000028 d:000028 METHOD C:/ruby19/lib/ruby/1.9.1/monitor.rb:164
c:0009 p:0011 s:0026 b:0026 l:000025 d:000025 METHOD C:/ruby19/lib/ruby/1.9.1/monitor.rb:188
c:0008 p:0012 s:0023 b:0023 l:000022 d:000022 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/interface.rb:45
c:0007 p:0012 s:0020 b:0020 l:000019 d:000019 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:85
c:0006 p:0012 s:0017 b:0017 l:000016 d:000016 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:164
c:0005 p:0108 s:0014 b:0014 l:000013 d:000013 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:129
c:0004 p:0111 s:0010 b:0010 l:000009 d:000009 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:69
c:0003 p:0011 s:0006 b:0006 l:001cf8 d:000005 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:76
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP
---------------------------
-- Ruby level backtrace information-----------------------------------------
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:271:in `sleep'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:271:in `shuffle_in_one_place'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:125:in `notify_passing_step'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:69:in `update_view'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:76:in `block in run_next_zombie'
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
F
1) Failure:
test_summary_not_interrupted_by_progress_bar(TestIntegration) [test/integration.rb:54]:
Summary interrupted by progress bar.
<"gosu gem not available! Using fake implementations of Gosu.\n\n@\n.@\n..@\n...@\n....@\n.....@\n......@\n.......@\n........@\n.........@\n..........@\n...........@\n............@\n.............@\n..
............@\n...............@\n................@\n.................@\n..................@\n...................@\n....................@\n.....................@\n......................@\n.............
..........@\n........................@\n.........................@\n..........................@\n...........................@\n............................@\n.............................@\n..........
....................@\n...............................@\n................................@\n.................................@\n..................................@\n...................................
@\n....................................@\n.....................................@\n......................................@\n.......................................@\n...................................
.....@\n.........................................@\n..........................................@\n...........................................@\n............................................@\n..........
...................................@\n..............................................@\n...............................................@\n................................................@\nTimeout set
to 5 seconds.\nInitial tests pass. Let's rumble.\n\n**********************************************************************\n*** Bio::Sequence::NA#at_content loaded\n**********************************
************************************\n\n\nZ...............................................@\nThe mutant didn't survive. Cool!\n\n**********************************************************************\
n*** Bio::Sequence::NA#at_skew loaded\n**********************************************************************\n\n\nZ...............................................@\nThe mutant didn't survive. Cool!\
n\n**********************************************************************\n*** Bio::Sequence::NA#codon_usage loaded\n**********************************************************************\n\n\nZZ....
..........................................@\nZZ..............................................@\nThe mutant didn't survive. Cool!\n\n********************************************************************
**\n*** Bio::Sequence::NA#complement loaded\n**********************************************************************\n\n\nZ*..............................................@\n\nThe affected method didn'
t cause test failures.\n\n**********************************************************************\n*** Bio::Sequence::NA#complement! loaded\n***********************************************************
***********\n\n\nZ*..............................................@\nZ*..............................................@\n\nThe affected method didn't cause test failures.\n\n****************************
******************************************\n*** Bio::Sequence::NA#cut_with_enzyme loaded\n**********************************************************************\n\n\nZ*...............................
...............@\nZ*..............................................@\n\nThe affected method didn't cause test failures.\n\n**********************************************************************\n*** B
io::Sequence::NA#cut_with_enzymes loaded\n**********************************************************************\n\n\nZ*..............................................@\n\nThe affected method didn't ca
use test failures.\n\n**********************************************************************\n*** Bio::Sequence::NA#dna loaded\n**********************************************************************\
n\n\nZ*..............................................@\nZ*..............................................@\nThe mutant didn't survive. Cool!\n\n*********************************************************
*************\n*** Bio::Sequence::NA#dna! loaded\n**********************************************************************\n\n\nZ*..............................................@\nZ+....................
..........................@\nZZ..............................................@\nZZZ.............................................@\nZZ.Z............................................@\n\nThe affected met
hod didn't cause test failures.\n\n**********************************************************************\n*** Bio::Sequence::NA#forward_complement loaded\n*******************************************
***************************\n\n\nZ+ZZ............................................@\nZZZ.Z...........................................@\nZZ*.Z...........................................@\nZZ*.Z.........
..................................@\nThe mutant didn't survive. Cool!\n\n**********************************************************************\n*** Bio::Sequence::NA#forward_complement! loaded\n****
******************************************************************\n\n\nZZ*.Z...........................................@\nZZ*..Z..........................................@\nThe mutant didn't survive.
Cool!\n\n**********************************************************************\n*** Bio::Sequence::NA#gc_content loaded\n**********************************************************************\n\n\n
ZZ*..Z..........................................@\nZZ*...Z.........................................@\nThe mutant didn't survive. Cool!\n\n**************************************************************
********\n*** Bio::Sequence::NA#gc_percent loaded\n**********************************************************************\n\n\nZZ*...Z.........................................@\nZZ*...Z..............
...........................@\nThe mutant didn't survive. Cool!\n\n**********************************************************************\n*** Bio::Sequence::NA#gc_skew loaded\n***********************
***********************************************\n\n\nZZ*....Z........................................@\nZZ*....Z........................................@\nZZ*.....Z....................................
...@\nThe mutant didn't survive. Cool!\n\n**********************************************************************\n*** Bio::Sequence::NA#illegal_bases loaded\n*****************************************
*****************************\n\n\nZZ*......Z......................................@\nZZ*......Z......................................@\nThe mutant didn't survive. Cool!\n\n***************************
*******************************************\n*** Bio::Sequence::NA#molecular_weight loaded\n**********************************************************************\n\n\nZZ*.......Z....................
.................@\nZZ*.......Z.....................................@"> expected to be =~
</Chaser Results:..Passed : +\d+.Failed : +\d+/m>.
Finished in 70.140625 seconds.
7 tests, 7 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
85.7143% passed
.
Finished in 83.531 seconds.
7 tests, 7 assertions, 0 failures, 0 errors
Loaded suite test/integration
Started
Loaded suite test/integration
Started
..C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:240: [BUG] The handle is invalid.
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
---------------------------
-- Ruby level backtrace information-----------------------------------------
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
...........
Finished in 63.297 seconds.
7 tests, 7 assertions, 0 failures, 0 errors
.
Finished in 82.625 seconds.
7 tests, 7 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
==
Loaded suite test/integration
Started
Loaded suite test/integration
Started
..C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/interface.rb:174: [BUG] The handle is invalid.
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
c:0007 p:---- s:0022 b:0022 l:000021 d:000021 CFUNC :sleep
c:0006 p:0031 s:0018 b:0018 l:000017 d:000017 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:271
c:0005 p:0045 s:0014 b:0014 l:000013 d:000013 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:125
c:0004 p:0111 s:0010 b:0010 l:000009 d:000009 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:69
c:0003 p:0011 s:0006 b:0006 l:0026a0 d:000005 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:76
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:---- s:0002 b:0002 l:000001 d:000001 TOP
---------------------------
-- Ruby level backtrace information-----------------------------------------
C:/ruby19/lib/ruby/1.9.1/monitor.rb:164:in `lock'
C:/ruby19/lib/ruby/1.9.1/monitor.rb:164:in `mon_enter'
C:/ruby19/lib/ruby/1.9.1/monitor.rb:188:in `mon_synchronize'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/interface.rb:45:in `something_happened'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:85:in `something_happened'
^
e
\
i
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
...........
Finished in 67.4375 seconds.
7 tests, 7 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
.
Finished in 79.047 seconds.
7 tests, 7 assertions, 0 failures, 0 errors
==
Loaded suite test/integration
Started
Loaded suite test/integration
Started
C:/ruby19/lib/ruby/1.9.1/monitor.rb:164: [BUG] The handle is invalid.
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
c:0021 p:---- s:0083 b:0083 l:000082 d:000082 CFUNC :lock
c:0020 p:0034 s:0080 b:0080 l:000079 d:000079 METHOD C:/ruby19/lib/ruby/1.9.1/monitor.rb:164
c:0019 p:0011 s:0077 b:0077 l:000076 d:000076 METHOD C:/ruby19/lib/ruby/1.9.1/monitor.rb:188
c:0018 p:0012 s:0074 b:0074 l:000073 d:000073 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/interface.rb:59
c:0017 p:0014 s:0070 b:0070 l:000069 d:000069 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:387
c:0016 p:0013 s:0066 b:0066 l:000065 d:000065 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:379
c:0015 p:0104 s:0063 b:0063 l:00085c d:00085c METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:139
c:0014 p:0021 s:0060 b:0060 l:000024 d:000059 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:102
c:0013 p:---- s:0056 b:0056 l:000055 d:000055 FINISH
c:0012 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC :each
c:0011 p:0082 s:0051 b:0051 l:000024 d:000050 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:101
c:0010 p:---- s:0046 b:0046 l:000045 d:000045 FINISH
c:0009 p:---- s:0044 b:0044 l:000043 d:000043 CFUNC :each
c:0008 p:0259 s:0041 b:0041 l:000024 d:000040 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:96
c:0007 p:0005 s:0034 b:0034 l:000027 d:000033 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133
c:0006 p:0024 s:0032 b:0032 l:000031 d:000031 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:56
c:0005 p:0023 s:0028 b:0028 l:000027 d:000027 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133
c:0004 p:0231 s:0025 b:0025 l:000024 d:000024 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:70
c:0003 p:0303 s:0013 b:0012 l:000734 d:0015a4 EVAL bin/zombie-chaser:79
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000734 d:000734 TOP <main>:419
---------------------------
-- Ruby level backtrace information-----------------------------------------
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:271:in `sleep'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:271:in `shuffle_in_one_place'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:125:in `notify_passing_step'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/human.rb:69:in `update_view'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:76:in `block in run_next_zombie'
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
F............
1) Failure:
test_class_methods_dont_cause_errors(TestIntegration) [test/integration.rb:34]:
Error raised during test due to class methods.
<"gosu gem not available! Using fake implementations of Gosu.\n\n@\n.@\n..@\n...@\n....@\n.....@\n......@\n.......@\n........@\n.........@\n..........@\n...........@\n............@\n.............@\n..
............@\n...............@\n................@\n.................@\n..................@\n...................@\n....................@\n.....................@\n......................@\n.............
..........@\n........................@\n.........................@\n..........................@\n...........................@\n............................@\n.............................@\n..........
....................@\n...............................@\n................................@\n.................................@\n..................................@\n...................................
@\n....................................@\n.....................................@\n......................................@\n.......................................@\n...................................
.....@\n.........................................@\n..........................................@\n...........................................@\n............................................@\n..........
...................................@\n..............................................@\n...............................................@\n................................................@\nTimeout set
to 5 seconds.\nInitial tests pass. Let's rumble.\n\n**********************************************************************\n*** Bio::Sequence::NA#at_content loaded\n**********************************
************************************\n\n\nZ...............................................@\nThe mutant didn't survive. Cool!\n\n**********************************************************************\
n*** Bio::Sequence::NA#at_skew loaded\n**********************************************************************\n\n\nZ...............................................@\nThe mutant didn't survive. Cool!\
n\n**********************************************************************\n*** Bio::Sequence::NA#codon_usage loaded\n**********************************************************************\n\n\nZZ....
..........................................@\nZ*..............................................@\nThe mutant didn't survive. Cool!\n\n********************************************************************
**\n*** Bio::Sequence::NA#complement loaded\n**********************************************************************\n\n\nZ*..............................................@\n\nThe affected method didn'
t cause test failures.\n\n**********************************************************************\n*** Bio::Sequence::NA#complement! loaded\n***********************************************************
***********\n\n\nZ*..............................................@\nZ*..............................................@\n\nThe affected method didn't cause test failures.\n\n****************************
******************************************\n*** Bio::Sequence::NA#cut_with_enzyme loaded\n**********************************************************************\n\n\nZ*...............................
...............@\nZ*..............................................@\n\nThe affected method didn't cause test failures.\n\n**********************************************************************\n*** B
io::Sequence::NA#cut_with_enzymes loaded\n**********************************************************************\n\n\nZ*..............................................@\nZ*.............................
.................@\n\nThe affected method didn't cause test failures.\n\n**********************************************************************\n*** Bio::Sequence::NA#dna loaded\n********************
**************************************************\n\n\nZ*..............................................@\nThe mutant didn't survive. Cool!\n\n*********************************************************
*************\n*** Bio::Sequence::NA#dna! loaded\n**********************************************************************\n\n\nZ+..............................................@\nZZ....................
..........................@\nZZ..............................................@\nZZZ.............................................@\n\nThe affected method didn't cause test failures.\n\n****************
******************************************************\n*** Bio::Sequence::NA#forward_complement loaded\n**********************************************************************\n\n\nZZ.Z..............
..............................@\nZ+ZZ............................................@\nZZZ.Z...........................................@\nZZ.ZZ...........................................@\nThe mutant did
n't survive. Cool!\n\n**********************************************************************\n*** Bio::Sequence::NA#forward_complement! loaded\n*******************************************************
***************\n\n\nZZ.ZZ...........................................@\nZ+ZZZ...........................................@\nZ+ZZZ...........................................@\nZ+ZZ.Z....................
......................@\nThe mutant didn't survive. Cool!\n\n**********************************************************************\n*** Bio::Sequence::NA#gc_content loaded\n*************************
*********************************************\n\n\nZZZZ.Z..........................................@\nZZZZ.Z..........................................@"> expected to be =~
</Chaser Results/>.
Finished in 70.5625 seconds.
7 tests, 7 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
85.7143% passed
.
Finished in 84.453 seconds.
7 tests, 7 assertions, 0 failures, 0 errors
==
Loaded suite test/integration
Started
Loaded suite test/integration
Started
.........C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:153: [BUG] The handle is invalid.
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
---------------------------
-- Ruby level backtrace information-----------------------------------------
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
....
Finished in 80.172 seconds.
7 tests, 7 assertions, 0 failures, 0 errors
.
Finished in 86.140625 seconds.
7 tests, 7 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment