Page MenuHomePhabricator

E-Mail notification on failures of Wikidata-builds
Closed, InvalidPublic

Description

We want to be notified to wikidata-ci-status@wikimedia.de whenever one of the following jobs fail for the Wikidata build repository at https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Wikidata:
mwext-testextension-php55
mwext-testextension-hhvm
mwext-qunit-jessie
mediawiki-extensions-hhvm-jessie
mediawiki-extensions-qunit-jessie

A new build of Wikidata is pushed to this repository once a day - so we would get a notification only once a day when something breaks in the build.

We do NOT want notifications on each failure for the Wikibase repository (https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/Wikibase) including the jobs
mwext-mw-selenium-composer-jessie
mwext-Wikibase-repo-tests-sqlite-hhvm
mwext-Wikibase-client-tests-mysql-hhvm
mwext-Wikibase-client-tests-sqlite-hhvm

Jobs there would fail far more often, since this is the actual repository for developing, so we don't want to be notified via e-mail in these cases.

Event Timeline

Zppix triaged this task as Medium priority.
Zppix moved this task from Backlog to In progress on the Continuous-Integration-Config board.

@Zppix Thank you for working on this! Since you've moved the task to Review on the WMDE-TechWish , is there a related change-set I could have a look at?

@Tobi_WMDE_SW , I'll be working on the changes you requested to be made.

Zppix moved this task from Currently in sprint to Sprint ready on the WMDE-TechWish board.
Zppix removed a project: Jenkins.

@Tobi_WMDE_SW You wouldnt happen to know what Jenkins file these would be under, by chance would you?

@Zppix all I know is what I've left as a comment in https://gerrit.wikimedia.org/r/#/c/328315:
I think there is no separate configuration-file for these jobs, just the normal extension test jobs are running there:
mwext-testextension-php55
mwext-testextension-hhvm
mediawiki-extensions-hhvm-jessie
mediawiki-extensions-qunit-jessie
As far as I can tell, these are defined in https://phabricator.wikimedia.org/diffusion/CICF/browse/master/zuul/layout.yaml;bc110f8b82413ec6f86171716fb3698856baaab5$8463

AFAIK, no other extension does have individual email-notification for these jobs (but I'm just guessing) so I think some refactoring of the job templates is necessary to be able to enable this functionality for specific repositories.

Zppix removed Zppix as the assignee of this task.Jan 18 2017, 11:04 PM
Zppix subscribed.

Change 328315 abandoned by Zppix:
Add functionality to email Wikidata mailing list upon build failure

Reason:
I'm no longer working on this Task as it has proved to difficult for myself

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

Addshore lowered the priority of this task from Medium to Low.Jul 12 2017, 1:03 PM
Addshore subscribed.

I'm going to go ahead and mark this as low was we are trying to get rid of the build anyway.

The build will soon be dead