Page MenuHomePhabricator

Move pywikibot CI from travis-ci.org to travis-ci.com
Closed, DeclinedPublic

Description

Travis CI was moved from travis-ci.org to travis-ci.com.
These CI tests has to be activated on the new domain:

pywikibot-wikibase is no longer supported and hasn't to be migrated

See also: https://travis-ci.com/organizations/wikimedia

Event Timeline

Xqt triaged this task as High priority.Jun 16 2021, 8:20 AM

Sorry, I missed this ticket earlier. I think I did it.

Try pushing a commit?

There's also a notice saying "Builds have been temporarily disabled for public repositories due to a negative credit balance. Please go to the Plan page to replenish your credit balance or alter your Consume paid credits for OSS setting."...hopefully that doesn't affect us?

Either the commits hasn#t triggered travis or the missing credits is an issue for us.

Change 702650 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [tests] Use Partner Queue Solution with travis

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

Change 702650 merged by jenkins-bot:

[pywikibot/core@master] [tests] Use Partner Queue Solution with travis

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

Thanks for finding that, I sent a support request from my wikimedia.org address.

I was going to suggest we also consider moving to a different CI solution like GH Actions that might be easier to use, but Wikimedia GitLab will be launching soon, and that CI should be self-serve.

Thanks for finding that, I sent a support request from my wikimedia.org address.

Expect a reply in about 4 months time. That was a normal response time when I had to go through it.

4 months are over \o/
It works again: https://travis-ci.com/github/wikimedia/pywikibot/builds
Thanks a lot!

Awesome!! fwiw the email response I got was:

After reviewing your open source qualifications, I am pleased to notify you that 25k credits were added to your account allowing you to resume running OSS builds. When your credits begin running low again, please reach back out to the Support team.

Credits Consumption Metric
OS.              # CREDITS PER STARTED BUILD MINUTE
Linux.          10
Experimental FreeBSD.         10
Windows.         20
MacOS.         50

Note: OSS credits may be used solely with respect to open source projects that reside on a public repository. In no event shall OSS credits be used for any commercial project or with respect to any project that resides on a private repository. Travis CI shall determine the amount of all OSS Credit allotments.

Change 702960 had a related patch set uploaded (by Meno25; author: Meno25):

[pywikibot/core@master] [doc] Update documentation

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

Change 702960 merged by jenkins-bot:

[pywikibot/core@master] [doc] Update documentation

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

The credits were consumed within few days even though 30% of the pywikibot tests run on sponsored architecture.
See https://travis-ci.com/organizations/wikimedia/plan/usage

Also @Jdforrester-WMF offered to help us move over to GitHub Actions, which (for now) still have unlimited minutes.

Also @Jdforrester-WMF offered to help us move over to GitHub Actions, which (for now) still have unlimited minutes.

Pywikibot as well as MediaWiki can use the sponsored architecture which is free there. Unfortunately Python 3.5 fails with it.

Travis-CI support said that the 25k credits was for the entire month :| and we can ask again next month. So...we probably need to switch somewhere else, whether Jenkins or GitHub. I can also ask if the WMF would be willing to pay for some travis credits, but this week is a holiday so unlikely to happen until next week.

I'll look at your pywikibot-i18n patches later today.

I started poking at switching to GitHub actions: https://github.com/legoktm/pywikibot/tree/gh-actions

Hey, great!

I already implemented a deeptest months ago on Jenkins but it not all tests of travis can be runned there I guess (e.g. Python 3.9 is not supported).

Change 703933 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [doc] Cleanup badges

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

Change 703933 merged by jenkins-bot:

[pywikibot/core@master] [doc] Cleanup badges

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

Xqt closed this task as Declined.EditedNov 24 2021, 6:39 AM

Seems we have to find another way for tests