Page MenuHomePhabricator

Write a test to ensure all jobs in Zuul are defined in JJB
Closed, ResolvedPublic


T103839: mwext-Flow-qunit fails integration/slave-scripts/bin/ No such file or directory was caused by Flow still triggering mwext-Flow-qunit although the repo has been migrated to mwext-qunit

We already have a job on +2 that verify jobs are populated. We also need a test to ensure jobs triggered by Zuul are still defined in JJB configuration file.

Event Timeline

hashar raised the priority of this task from to Needs Triage.
hashar updated the task description. (Show Details)
hashar added a subscriber: hashar.

Change 345321 had a related patch set uploaded (by Hashar):
[integration/config@master] (WIP) ensure all jobs in Zuul are in JJB

Gave it a try with the patch above:

tox -e py27 -- tests/

FAILURE: Job analytics-libanon not defined
FAILURE: Job analytics-udp-filters not defined
FAILURE: Job analytics-webstatscollector not defined
FAILURE: Job analytics-wikistats not defined

Which is T97514

Test work. I used it to find out some bit rotting analytics jobs T97514 that were defined in Zuul but were gone from JJB.

That will prevent ones from triggering non defined jobs.

hashar claimed this task.

Can be run with:

tox -e py27 -- --logging-level=ERROR tests/

Change 345321 merged by jenkins-bot:
[integration/config@master] (WIP) ensure all jobs in Zuul are in JJB