| 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
| Job | Wikibase components | PHP | DB |
| mwext-testextension-hhvm-composer-jessie | Repo and Client | hhvm | mysql |
| mwext-Wikibase-repo-tests-sqlite-hhvm-jessie | Repo and Client | hhvm | sqlite |
| mwext-Wikibase-client-tests-mysql-hhvm-jessie | Client | hhvm | mysql |
| mwext-Wikibase-client-tests-sqlite-hhvm-jessie | Client | hhvm | sqlite |
gate-and-submit jobs
| Job | Wikibase components | PHP | DB |
| mwext-testextension-php55-composer-trusty | Repo and Client | php55 | mysql |
| mwext-testextension-hhvm-composer-jessie | Repo and Client | hhvm | mysql |
| mwext-Wikibase-repo-tests-sqlite-php55-trusty | Repo and Client | php55 | sqlite |
| mwext-Wikibase-repo-tests-sqlite-hhvm-jessie | Repo and Client | hhvm | sqlite |
| mwext-Wikibase-client-tests-mysql-php55-trusty | Client | php55 | mysql |
| mwext-Wikibase-client-tests-sqlite-php55-trusty | Client | php55 | sqlite |
| mwext-Wikibase-client-tests-mysql-hhvm-jessie | Client | hhvm | mysql |
| mwext-Wikibase-client-tests-sqlite-hhvm-jessie | Client | hhvm | sqlite |
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
| Job | Wikibase components | PHP | DB |
| mwext-testextension-hhvm-composer-jessie | Repo and Client | hhvm | mysql |
| mwext-Wikibase-repo-tests-sqlite-hhvm-jessie | Repo and Client | hhvm | sqlite |
| mwext-Wikibase-client-tests-mysql-hhvm-jessie | Client | hhvm | mysql |
gate and submit
| Job | Wikibase components | PHP | DB |
| mwext-testextension-php55-composer-trusty | Repo and Client | php55 | mysql |
| mwext-testextension-hhvm-composer-jessie | Repo and Client | hhvm | mysql |
| mwext-Wikibase-repo-tests-sqlite-hhvm-jessie | Repo and Client | hhvm | sqlite |
| mwext-Wikibase-client-tests-mysql-php55-trusty | Client | php55 | mysql |
| mwext-Wikibase-client-tests-mysql-hhvm-jessie | Client | hhvm | mysql |
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
EMAIL PREFERENCES
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
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
