Page MenuHomePhabricator

Migrate pywikibot/i18n npm job to Nodepool
Closed, ResolvedPublic

Description

On pywikibot/i18n repository, the npm job works just fine but the Nodepool based version npm-node-4.3 breaks with:

Running "banana:all" (banana) task
Warning: Unable to read "/home/jenkins/workspace/npm-node-4.3/log/qqq.json" file (Error code: ENOENT). Use --force to continue.

The reason is npm-node-4.3 clone the repository under $WORKSPACE and then we create a directory $WORKSPACE/log which ends up polluting the source checkout.

The CI job must not pollute the source checkout!

Event Timeline

hashar created this task.Mar 17 2016, 1:59 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptMar 17 2016, 1:59 PM

Change 290486 had a related patch set uploaded (by Hashar):
Migrate npm legacy test to trusty nodepool

https://gerrit.wikimedia.org/r/290486

Change 290690 had a related patch set uploaded (by Hashar):
jjb: default to clone to /src/

https://gerrit.wikimedia.org/r/290690

Change 290690 merged by jenkins-bot:
jjb: default to clone to /src/

https://gerrit.wikimedia.org/r/290690

hashar closed this task as Resolved.May 25 2016, 3:18 PM
hashar claimed this task.

The job got migrated to a job that clone to /src/ (npm-node-0.10). We will migrate it to NodeJs 4.3 whenever it is adjusted to clone under /src/as well.

Change 290486 merged by jenkins-bot:
Migrate npm legacy test to trusty nodepool

https://gerrit.wikimedia.org/r/290486

Change 290700 had a related patch set uploaded (by Paladox):
Update some packages and ignore log/ dir

https://gerrit.wikimedia.org/r/290700

Change 290703 had a related patch set uploaded (by Paladox):
Add pywikibot-npm-node-4.3 experimental job to pywikibot/i18n

https://gerrit.wikimedia.org/r/290703

Change 290703 abandoned by Paladox:
Add pywikibot-npm-node-4.3 experimental job to pywikibot/i18n

https://gerrit.wikimedia.org/r/290703

Change 290703 restored by Paladox:
Add pywikibot-npm-node-4.3 experimental job to pywikibot/i18n

Reason:
This is still needed for pywikibot for now until we do it to the generic npm test.

https://gerrit.wikimedia.org/r/290703

Change 345539 had a related patch set uploaded (by Hashar):
[pywikibot/i18n@master] build: have banana linter to ignore log/

https://gerrit.wikimedia.org/r/345539

Change 345541 had a related patch set uploaded (by Hashar):
[integration/config@master] pywikibot/i18n: switch to node6

https://gerrit.wikimedia.org/r/345541

Change 345541 merged by jenkins-bot:
[integration/config@master] pywikibot/i18n: switch to node6

https://gerrit.wikimedia.org/r/345541

Change 345539 merged by jenkins-bot:
[pywikibot/i18n@master] build: have banana linter to ignore log/

https://gerrit.wikimedia.org/r/345539

Change 290703 abandoned by Paladox:
Add pywikibot-npm-node-4.3 experimental job to pywikibot/i18n

https://gerrit.wikimedia.org/r/290703