WMDE-leszek added a comment.

With https://phabricator.wikimedia.org/T161895 in, I've had another look at Wikibase Jenkins jobs. Current jobs running PHPUnit jobs look as follows:

test jobs

JobWikibase componentsPHPDB
mwext-testextension-hhvm-composer-jessieRepo and Clienthhvmmysql
mwext-Wikibase-repo-tests-sqlite-hhvm-jessieRepo and Clienthhvmsqlite
mwext-Wikibase-client-tests-mysql-hhvm-jessieClienthhvmmysql
mwext-Wikibase-client-tests-sqlite-hhvm-jessieClienthhvmsqlite

gate-and-submit jobs

JobWikibase componentsPHPDB
mwext-testextension-php55-composer-trustyRepo and Clientphp55mysql
mwext-testextension-hhvm-composer-jessieRepo and Clienthhvmmysql
mwext-Wikibase-repo-tests-sqlite-php55-trustyRepo and Clientphp55sqlite
mwext-Wikibase-repo-tests-sqlite-hhvm-jessieRepo and Clienthhvmsqlite
mwext-Wikibase-client-tests-mysql-php55-trustyClientphp55mysql
mwext-Wikibase-client-tests-sqlite-php55-trustyClientphp55sqlite
mwext-Wikibase-client-tests-mysql-hhvm-jessieClienthhvmmysql
mwext-Wikibase-client-tests-sqlite-hhvm-jessieClienthhvmsqlite

Possible improvements:

  • It seems we don't need jobs running tests against sqlite with only Client enabled. We should be OK with only running does test in the Repo+Client set up
  • Similar thing regarding php55 job - it should be enough to only run sqlite job with hhvm php flavour
  • We actually might not even need mwext-testextension-php55-composer-trusty but dropping this would mean Wikibase is configured different than all other extensions, so we don't want to follow this path :)
  • Further optimisation could be to make sqlite jobs only run PHPUnit tests that require sqlite, not all tests. There is only handful of those tests in Wikibase, so this would make this job/jobs faster. But this is something to do as a next step.

So what I believe would make sense from the Wikibase/Wikidata point of view would be the following set of jobs:
test

JobWikibase componentsPHPDB
mwext-testextension-hhvm-composer-jessieRepo and Clienthhvmmysql
mwext-Wikibase-repo-tests-sqlite-hhvm-jessieRepo and Clienthhvmsqlite
mwext-Wikibase-client-tests-mysql-hhvm-jessieClienthhvmmysql

gate and submit

JobWikibase componentsPHPDB
mwext-testextension-php55-composer-trustyRepo and Clientphp55mysql
mwext-testextension-hhvm-composer-jessieRepo and Clienthhvmmysql
mwext-Wikibase-repo-tests-sqlite-hhvm-jessieRepo and Clienthhvmsqlite
mwext-Wikibase-client-tests-mysql-php55-trustyClientphp55mysql
mwext-Wikibase-client-tests-mysql-hhvm-jessieClienthhvmmysql

Together with @Addshore we've tinkered a patch dropping a few jobs as describe above: https://gerrit.wikimedia.org/r/354725.
@hashar: if you think changes like this make sense for you, we would be happy to try it out!


TASK DETAIL
https://phabricator.wikimedia.org/T160989

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: WMDE-leszek
Cc: WMDE-leszek, Krinkle, Paladox, Ladsgroup, greg, Tobi_WMDE_SW, daniel, Lydia_Pintscher, Addshore, thcipriani, hashar, Aklapper, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to