TLDR: Did something change in beta cluster configuration around September 16 2017?
RelatedArticles repository has Selenium tests (tests/selenium). They are running:
- every time code is pushed to gerrit (zuul/layout.yaml, jjb/mediawiki.yaml, mediawiki-core-qunit-selenium-jessie) targeting a MediaWiki on a Jenkins slave virtual machine,
- daily (jjb/mediawiki-extensions.yaml, selenium-RelatedArticles-jessie) targeting beta cluster (en.wikipedia.beta.wmflabs.org).
A reported in T176315, until about September 16 2017 selenium-RelatedArticles-jessie daily job was able to create pages at beta cluster. The pages are created via action API using nodemw NPM package. Code is in mediawiki/core.
Since about September 16 2017, selenium-RelatedArticles-jessie started failing with 😳
Edit failed: Error: Error returned by API: Wikipedia has restricted the ability to create new pages. You can go back and edit an existing page, or [[Special:UserLogin|log in or create an account]].
We only keep jobs for the last 15 days so there is no record of failures available in Jenkins. 🙁
The workaround for the failure is to log in before creating a page (rMWd1439a3e67467dee3c1993943aa7cca1d7904e9e). Please notice the commit is from October 3 2017.
I have talked with @hashar about it and he says:
What is strange is that RelatedArticles tests were not failing until about September 16. I have implemented logging in via the API on October 3, so I am pretty sure the tests did not log in before that date. I do not even know where to start looking. Any help is appreciated.