Last modified: 2012-10-15 21:00:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42931, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40931 - Parsoid Jenkins job needs a push to be ready to run
Parsoid Jenkins job needs a push to be ready to run
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks: 40933
  Show dependency treegraph
 
Reported: 2012-10-10 20:24 UTC by Mark Holmquist
Modified: 2012-10-15 21:00 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Mark Holmquist 2012-10-10 20:24:45 UTC
I have a job set up at https://integration.mediawiki.org/ci/job/Parsoid-parserTests/? which is pretty great. But I'm stuck on it.

The past few builds have failed due to an unknown error, and this is after I hacked around a bunch of other issues. That's fine and all, but mostly I just want it to run :)

The goal is to auto-trivial-rebase a patch, for two reasons: One, it's nice to keep the code up to date, and two, if the patch is based on an old master, we'll get incorrect results in the second step of the tests (which compares test results from master and from the new patch).

If someone has an idea, feel free to play around with it. If you need help, posting here or pinging me on Freenode (marktraceur) would be great.
Comment 1 Antoine "hashar" Musso (WMF) 2012-10-10 20:26:53 UTC
Will attempt to poke this bug this week.
Comment 2 Mark Holmquist 2012-10-10 20:28:42 UTC
Thanks, Antoine!
Comment 3 Antoine "hashar" Musso (WMF) 2012-10-10 20:49:11 UTC
In console log : https://integration.mediawiki.org/ci/job/Parsoid-parserTests/38/console

The last lines executed correspond to:

 DIDITWORK=`echo $RBRESULT | grep "Current branch master is up to date."`

Whenever grep does not match, it will exit with status 1 which makes the shell script to abort (set -e). Example:


 $ echo "foo" | grep bar ; echo $?
 1
 $

A hacky way would be to add a '|| true' at the end of command:

 $ echo "foo" | grep bar || true; echo $?
 0
 $

Or in your context:

 DIDITWORK=`echo $RBRESULT | grep "Current branch master is up to date."`


Hope this help :-D
Comment 4 Mark Holmquist 2012-10-11 16:52:46 UTC
https://integration.mediawiki.org/ci/job/Parsoid-parserTests-getResults/36/console

Now it's almost working, but apparently the Jenkins instance isn't resolving the labs instance's address. I can get the listed URI just fine, but Jenkins can't.
Comment 5 Mark Holmquist 2012-10-15 21:00:31 UTC
Done! Sorry about the delay.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links