A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20101008/0780dbd1/attachment.html below:

I&#39;m sure this has to be my configuration somehow, but I&#39;m getting a build failure that I don&#39;t quite know how to debug, because I can&#39;t reproduce it when I run the test manually. Any advice would be appreciated-- I&#39;m a buildslave newbie :-)<div>

<br></div><div>I&#39;m referring to <a href="http://www.python.org/dev/buildbot/builders/x86%20Snow%20Leopard%203.x/builds/13/steps/test/logs/stdio">http://www.python.org/dev/buildbot/builders/x86%20Snow%20Leopard%203.x/builds/13/steps/test/logs/stdio</a></div>

<div><br></div><div>Now, when I saw this the first thing I assumed I should do is to try to reproduce it, so I did:</div><div><br></div><div><div>  Top-2:~ pythonbuildbot$ cp -R buildarea/3.x.hansen-osx-x86/ ~/test</div>


<div>
  Top-2:~ pythonbuildbot$ cd ~/test/build/</div><div>  Top-2:build pythonbuildbot$ ./configure --with-pydebug --with-computed-gotos</div></div><div>  [snip]</div><div>  Top-2:build pythonbuildbot$ make all</div><div>  [snip]</div>

<div><br></div><div>I made sure to go check out the stdio for configure/compile so the compiling I&#39;d do would be with the same options as the buildslave did. Then:</div><div><br></div><div><div>  Top-2:build pythonbuildbot$ ./python.exe -m test.regrtest -uall test_cmd_line.py</div>

<div>  [1/1] test_cmd_line</div><div>  1 test OK.</div><div>  [84022 refs]</div></div><div><br></div><div>Doh. So, next I try running the whole test suite:</div><div><br></div><div><div>  Top-2:build pythonbuildbot$ ./python.exe -m test.regrtest -uall</div>

<div>  [snip]</div><div>  [ 44/348] test_cmd_line</div></div><div><br></div><div>And it passes too: but I notice its run way earlier in the test process then it did on the buildbot, and I remember reading awhile ago about a test failure that happened only when a certain test ran in a certain order. So, I go garb the randseed from the buildbot run and use it:</div>

<div><br></div><div><div><div>  Top-2:build pythonbuildbot$ ./python.exe -m test.regrtest -uall -r --randseed=9634655</div><div>  == CPython 3.2a2+ (py3k:85321, Oct 8 2010, 08:54:05) [GCC 4.2.1 (Apple Inc. build 5664)]</div>

<div>  ==   Darwin-10.4.0-i386-64bit little-endian</div><div>  ==   /Users/pythonbuildbot/test/build/build/test_python_86644</div><div>  Using random seed 9634655</div></div></div><div>  [snip]</div><div><br></div><div>And long story short, it gets to 201 and runs test_cmd_line in the same order as the buildbot did, and it succeeds too, and I curse the gods of the netherworld, and am stumped with how to proceed. Two separate buildbot runs and this same failure happened, yet for me, no. Or I&#39;m doing something differently then the buildbot is, and I can&#39;t see what.</div>

<div><br></div><div>--Stephen</div><div><br></div><div><br></div>



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4