Page MenuHomePhabricator

Quibble: Include the failed command in data passed to external endpoint
Closed, ResolvedPublic

Description

With --reporting-url, Quibble will report on failed jobs to an external endpoint. Example https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/867531/7#message-62175eb34aaf14feb5ae25878d50f86a08cfa06e:

Failed job:
 "Run Post-dependency install, pre-database dependent steps in parallel (concurrency=3):
* PHPUnit unit tests
* Install MediaWiki, db=<MySQL /workspace/db/quibble-mysql-i8x5x6a7/socket> vendor=True
* npm install in /workspace/src"
See https://integration.wikimedia.org/ci/job/wmf-quibble-vendor-mysql-php74-docker/15192//consoleFull

That's sort of useful... but what the developer would probably want to know is that composer phpunit:unit -- --exclude-group Broken,ParserFuzz,Stub failed. We should be able to get this from the subprocess object.

Event Timeline

Change 893016 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/quibble@master] reporting: Include CalledProcessError.cmd in payload

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

Change 893016 merged by jenkins-bot:

[integration/quibble@master] reporting: Include CalledProcessError.cmd in payload

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

Change 893516 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[integration/quibble@master] release: Quibble 1.5.1

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

Change 893516 merged by jenkins-bot:

[integration/quibble@master] release: Quibble 1.5.1

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

Change 893528 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] dockerfiles: update to Quibble 1.5.1

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

Change 893528 merged by jenkins-bot:

[integration/config@master] dockerfiles: update to Quibble 1.5.1

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

Change 893715 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update Quibble jobs to 1.5.1

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

Change 893715 merged by jenkins-bot:

[integration/config@master] jjb: update Quibble jobs to 1.5.1

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