<div dir="ltr">Closing the loop. Problem was in an environment variable not being set. Tobi found the problem and fixed it.<div><br></div><div>Željko</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 23, 2013 at 3:10 PM, Tobi Gritschacher <span dir="ltr"><<a href="mailto:tobias.gritschacher@wikimedia.de" target="_blank">tobias.gritschacher@wikimedia.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Forwarding this to the QA list as Zeljko suggested:<div><div class="h5"><br><br><div class="gmail_quote">
---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tobi Gritschacher</b> <span dir="ltr"><<a href="mailto:tobias.gritschacher@wikimedia.de" target="_blank">tobias.gritschacher@wikimedia.de</a>></span><br>
Date: Tue, Oct 22, 2013 at 10:42 AM<br>Subject: Failing Tests for Wikibase<br>To: Željko Filipin <<a href="mailto:zfilipin@wikimedia.org" target="_blank">zfilipin@wikimedia.org</a>><br><br><br><div dir="ltr">Hey,<div>
<br></div><div>
since some days I'm having all of the cucumber tests failing for Wikibase on cloudbees [1].</div><div>They're all failing because of the same issue in the after hook:</div><div>
<br></div><div><pre style="font-size:11px;white-space:pre-wrap;margin-bottom:0px;margin-top:0px;word-wrap:break-word">undefined method `close' for nil:NilClass (NoMethodError)
/scratch/jenkins/addons/ruby/ruby-1.9.3-p327-x86_64/lib/ruby/gems/1.9.1/gems/mediawiki-selenium-0.1.8/lib/mediawiki/selenium/hooks.rb:39:in `After'</pre></div><div><br></div><div>The tests itself run fine that's why they are green on Saucelabs. Just this error happens in the end making Jenkins think the test failed. I suspect the migration of shared code to the selenium-mediawiki gem to cause these errors. Is this just happening for Wikibase or did you see similar issues in the other projects?</div>
<div><br></div><div>Also, since I did a "bundle install" and Gherkin updated to a new version I'm getting a stacktrace [2] when running cucumber tests locally on Windows. However the tests then run fine.</div>
<div><br></div><div>cheers, tobi</div><div><br></div><div>[1] <a href="https://wikidata-cloudbees.ci.cloudbees.com/job/browsertests-betalabs/" target="_blank">https://wikidata-cloudbees.ci.cloudbees.com/job/browsertests-betalabs/</a><br clear="all">
<div><br></div><div>[2] <a href="http://pastebin.com/m3CvFF5P" target="_blank">http://pastebin.com/m3CvFF5P<br></a>-- </div><div dir="ltr"><div><div>Tobi Gritschacher</div><div>Software Developer - Wikidata - <a href="http://www.wikidata.org" target="_blank">http://www.wikidata.org</a></div>
<div><br></div><div>Imagine a world, in which every single human being can freely</div><div>share in the sum of all knowledge. That‘s our commitment.<br></div><div><br></div><div>Wikimedia Deutschland e.V. | Obentrautstraße 72 | 10963 Berlin<br>
</div></div><div>Phone <a value="+4930219158260" style="color:rgb(17,85,204)">+49 (0)30 219 158 260</a><br></div><div><br><a href="http://www.wikimedia.de/" style="color:rgb(17,85,204)" target="_blank">http://wikimedia.de</a><br>
<div><br>Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer <a value="+12768151985" style="color:rgb(17,85,204)">27/681/51985</a>.</div>
</div></div>
</div></div>
</div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>Tobi Gritschacher</div><div>Software Developer - Wikidata - <a href="http://www.wikidata.org" target="_blank">http://www.wikidata.org</a></div><div>
<br></div><div>Imagine a world, in which every single human being can freely</div><div>share in the sum of all knowledge. That‘s our commitment.<br></div><div><br></div><div>Wikimedia Deutschland e.V. | Obentrautstraße 72 | 10963 Berlin<br>
</div></div><div>Phone <a value="+4930219158260" style="color:rgb(17,85,204)">+49 (0)30 219 158 260</a><br></div><div><br><a href="http://www.wikimedia.de/" style="color:rgb(17,85,204)" target="_blank">http://wikimedia.de</a><br>
<div><br>Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer <a value="+12768151985" style="color:rgb(17,85,204)">27/681/51985</a>.</div>
</div></div>
</div></div></div>
<br>_______________________________________________<br>
QA mailing list<br>
<a href="mailto:QA@lists.wikimedia.org">QA@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a><br>
<br></blockquote></div><br></div>