Last modified: 2014-04-15 14:06:11 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 T64403, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62403 - WikidataJenkins doesnt seem to correctly clean the workspace between tests / checkouts of mediawiki
WikidataJenkins doesnt seem to correctly clean the workspace between tests / ...
Status: VERIFIED FIXED
Product: Wikimedia Labs
Classification: Unclassified
wikidata (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-07 20:45 UTC by Addshore
Modified: 2014-04-15 14:06 UTC (History)
3 users (show)

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


Attachments

Description Addshore 2014-03-07 20:45:34 UTC
Once https://gerrit.wikimedia.org/r/#/c/117441/ was merged into core where 2 files are renammed tests failed with the following...

http://wikidata-jenkins.wmflabs.org/ci/job/wikidata-repo-api-tests/776/ : FAILURE
http://wikidata-jenkins.wmflabs.org/ci/job/wikidata-repo-tests/775/ : FAILURE
http://wikidata-jenkins.wmflabs.org/ci/job/wikidata-client-tests/802/ : FAILURE
for example on https://gerrit.wikimedia.org/r/#/c/117463/

This was due to both the old and new files from the rename in core existing in the workspace.! This is bad and shouldn't happen!

I logged into the instance and deleted the specific files causing an issue this time but we should probably just have jenkins do it right first time round otherwise this issue will keep popping back up!
Comment 1 tobias.gritschacher 2014-03-10 16:19:27 UTC
Seems that the workspace was not wiped out completely. The GIT Plugin has a setting to "clean" the workspace, but this does not include files which are not pulled by the plugin (MW core in this case..).
I added anther plugin that now cleans the whole workspace before running the job: https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin

Please reopen the bug if this does not solve the issue.

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


Navigation
Links