Page MenuHomePhabricator

mwext-Flow-qunit fails integration/slave-scripts/bin/mw-set-env-qunit.sh: No such file or directory
Closed, ResolvedPublic

Description

e.g. https://integration.wikimedia.org/ci/job/mwext-Flow-qunit/6667/console

After completing update.php, it seems to fail with:

...
12:37:30 Done in 0.9 s.
12:37:30 [mwext-Flow-qunit] $ /bin/bash -xe /tmp/hudson6635265961024619688.sh
12:37:30 + . /srv/deployment/integration/slave-scripts/bin/mw-set-env-qunit.sh
12:37:30 /tmp/hudson6635265961024619688.sh: line 3: /srv/deployment/integration/slave-scripts/bin/mw-set-env-qunit.sh: No such file or directory
12:37:30 Build step 'Execute shell' marked build as failure
12:37:30 [PostBuildScript] - Execution post build scripts.
12:37:30 [mwext-Flow-qunit] $ /bin/bash -xe /tmp/hudson8833809646634669010.sh
12:37:30 + rm -f /srv/localhost/qunit/jenkins-mwext-Flow-qunit-6667
12:37:30 [PostBuildScript] - Execution post build scripts.
12:37:30 [mwext-Flow-qunit] $ /bin/bash -xe /tmp/hudson3983897344061085607.sh
12:37:30 + /srv/deployment/integration/slave-scripts/bin/mw-teardown-mysql.sh
12:37:30 Archiving artifacts
12:37:30 Notifying endpoint 'HTTP:http://127.0.0.1:8001/jenkins_endpoint'
12:37:30 Finished: FAILURE

Event Timeline

matthiasmullie raised the priority of this task from to Needs Triage.
matthiasmullie updated the task description. (Show Details)
matthiasmullie added a project: Jenkins.
matthiasmullie added a subscriber: matthiasmullie.
hashar renamed this task from mwext-Flow-qunit fails to mwext-Flow-qunit fails integration/slave-scripts/bin/mw-set-env-qunit.sh: No such file or directory.Jun 25 2015, 12:51 PM
hashar claimed this task.
hashar triaged this task as Unbreak Now! priority.
hashar edited projects, added Continuous-Integration-Config; removed Jenkins.
hashar set Security to None.

https://integration.wikimedia.org/ci/job/mwext-Flow-qunit/ started falling between June 24th 21:31:27 UTC and June 25th 00:18:01UTC.

That is due to some changes by Timo that happened in the Jenkins job

The slaves have:

/srv/deployment/integration/slave-scripts/bin/mw-set-env-localhost.sh
/srv/deployment/integration/slave-scripts/bin/mw-set-env-mw-selenium.sh

Some Jenkins jobs haven't been updated properly:

$ grep -l mw-set-env-qunit.sh /var/lib/jenkins/jobs/*/config.xml
/var/lib/jenkins/jobs/mwext-Flow-qunit/config.xml
/var/lib/jenkins/jobs/mwext-Gather-qunit/config.xml
/var/lib/jenkins/jobs/mwext-GettingStarted-qunit/config.xml
/var/lib/jenkins/jobs/mwext-MobileFrontend-mw-selenium/config.xml
/var/lib/jenkins/jobs/mwext-WikidataQualityConstraints-qunit/config.xml
/var/lib/jenkins/jobs/mwext-WikidataQualityExternalValidation-qunit/config.xml
/var/lib/jenkins/jobs/mwext-WikidataQuality-qunit/config.xml

But running Jenkins jobs builder, the jobs no more exist:

INFO:root:Updating jobs in ['config/jjb'] (['mwext-Flow-qunit', 'mwext-Gather-qunit', 'mwext-GettingStarted-qunit', 'mwext-MobileFrontend-mw-selenium', 'mwext-WikidataQualityConstraints-qunit', 'mwext-WikidataQualityExternalValidation-qunit', 'mwext-WikidataQuality-qunit'])
INFO:jenkins_jobs.builder:Number of jobs generated:  0
INFO:root:Number of jobs updated: 0

Although they are still triggered by Zuul :-( :-( :-(

Deleting:

  • mwext-Gather-qunit , replaced by mwext-qunit
  • mwext-GettingStarted-qunit , replaced by mwext-qunit
  • WikidataQuality* are no more (repos been renamed WikibaseQuality*).

Change 220757 had a related patch set uploaded (by Hashar):
Remove mwext-Flow-qunit job (now uses mwext-qunit)

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

Change 220757 merged by jenkins-bot:
Remove mwext-Flow-qunit job (now uses mwext-qunit)

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

The Flow extension has been migrated to use the generic job mwext-qunit. The more specific one was removed from Jenkins definition but has been left deployed and triggered by Zuul.

When Timo refactor the qunit jobs last night, the mwext-Flow-qunit has been left in its old state because JJB doesn't know about it anymore.

https://gerrit.wikimedia.org/r/#/c/220757/ stops triggering the job. I have deleted it in Jenkins.

I filled a bug to add a test that ensures we only trigger jobs that are defined in JJB T103847: Write a test to ensure all jobs in Zuul are defined in JJB. That would have caught the issue.

Only mwext-MobileFrontend-mw-selenium is left, but that is an experimental / WIP job.