Page MenuHomePhabricator

Jenkins: integration-zuul-layoutdiff job says "No layout changes" when there are
Closed, ResolvedPublic

Description

https://gerrit.wikimedia.org/r/#/c/165173/ reports

integration-zuul-layoutdiff
No layout change apparently.

Yet the job very obviously detects various significant changes:
https://integration.wikimedia.org/ci/job/integration-zuul-layoutdiff/1823/console


Version: wmf-deployment
Severity: normal

Details

Reference
bz71740

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:50 AM
bzimport set Reference to bz71740.
bzimport added a subscriber: Unknown Object (MLST).

The layout-diff job does a validation layout for HEAD and HEAD^ and then uses diff. Possible scenarii are:

  • layout validations fail -> build failure
  • diff -> build failure
  • layout ok and no diff -> build success

That maps to:

success-message:

'Please carefully review the Zuul layout difference before deploying/merging.'

failure-message:

'No layout change apparently. Nonetheless, please carefully review before deploying/merging.'

We should swap them and change the 'Please carefully...' message to 'FAILURE difference is being introduced, please carefully review the difference'.

We can guarantee the layout is valid with the job integration-zuul-layoutvalidation and make it a parent of the layout diff in Zuul config:

check:

  • integration-zuul-layoutvalidation: integration-zuul-layoutdiff

This way the layoutdiff would only be triggered after the layout has been validated, so we now a failure must be caused by diff exiting non zero, and hence a diff has been introduced.

Krinkle triaged this task as Lowest priority.Dec 16 2014, 5:20 PM
Krinkle set Security to None.
Krinkle removed a subscriber: Unknown Object (MLST).