Last modified: 2014-11-19 21:55:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49527, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47527 - Status update in Gerrit of current queued commit/testing request
Status update in Gerrit of current queued commit/testing request
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 47609
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-23 02:15 UTC by MWJames
Modified: 2014-11-19 21:55 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
json result for /status/change/170067,1 (5.83 KB, application/json)
2014-10-30 16:31 UTC, Antoine "hashar" Musso (WMF)
Details

Description MWJames 2013-04-23 02:15:04 UTC
Sometimes it can take up-to 10min for a newly committed patch set to appear in the in Jenkins job queuing or even longer being executed (happens when several core jobs being executed).

Is there a way to give a more accurate update about the current commit/testing status in Gerrit (and its unit tests) instead of manually checking [1] because I have experienced that even in [1] it can take a while until tests are actually appear.

The questions is not about being able to see results but being able to see that a testing request is being queued/worked on and not lost somewhere.

[1] https://integration.wikimedia.org/zuul/
Comment 1 Antoine "hashar" Musso (WMF) 2013-04-24 13:57:28 UTC
Zuul exposes its status via https://integration.wikimedia.org/zuul/status.json which can then be used by a JavaScript to add a status somewhere in Gerrit interface.

Change https://gerrit.wikimedia.org/r/#/c/60662/ made to Wikimedia Gerrit repository let us inject Javascript in Gerrit.

So we need:
- to write some javascript
- enhance Zuul status.json to accept queries for a given change
Comment 2 Antoine "hashar" Musso (WMF) 2013-04-24 14:01:43 UTC
Needs Zuul status.json page to be updated: bug 47609
Comment 3 Antoine "hashar" Musso (WMF) 2013-11-04 16:59:25 UTC
This is still a valid enhancement request, it is still blocked by bug 47609 that we can start implementing whenever Zuul is upgraded on Wikimedia installation.  Once that is done, we could provide the status of change and add some Javascript magic in Gerrit interface to show the build progress.
Comment 4 Antoine "hashar" Musso (WMF) 2014-05-19 15:01:20 UTC
Pending someone to implement the relevant code in Zuul status page/Gerrit customized javascript.
Comment 5 Antoine "hashar" Musso (WMF) 2014-10-30 16:31:21 UTC
Created attachment 16958 [details]
json result for /status/change/170067,1

We can now fetch the status of an individual change using:

https://integration.wikimedia.org/zuul/status/change/170067,1

See attached output for an example.


That feature has been added upstream recently and deployed on production. Was Bug 47609 - [upstream] Zuul: status.json API should be able to filter by change
Comment 6 Krinkle 2014-11-19 21:55:47 UTC
Also, since the creation of this ticket, we've built the visual dashboard:

https://integration.wikimedia.org/zuul/

Which allows one to see where it is in the queue and how long it'll take.

And in general these kind of delays usually relate to downtime. When things are up, the delay isn't worth building an infrastructure for so I'm wontfixing the request for communicating the delay back to Gerrit (or Phabricator). It'll be there when it's there.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links