Page MenuHomePhabricator

proofreadpage_tests failing in TestIndexPageMappings
Closed, DuplicatePublic

Description

See https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/build/job/i73hujp7gqc77lfl?fullLog=true

There is always this error:

File "c:\projects\pywikibot-g4xqx\pywikibot\proofreadpage.py", line 709, in wrapper
         self._get_page_mappings()
File "c:\projects\pywikibot-g4xqx\pywikibot\proofreadpage.py", line 778, in _get_page_mappings % self)
ValueError: Missing class="qualityN prp-pagequality-N" or class="new" in: [[wikisource:en:Index:Popular Science Monthly Volume 1.djvu]].

Event Timeline

Xqt created this task.May 2 2018, 2:23 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptMay 2 2018, 2:23 PM
Xqt triaged this task as High priority.May 2 2018, 2:24 PM
Dalba added a comment.May 2 2018, 8:08 PM

This task and T181913 seem to be an upstream issue. MW is returning inconsistent results.

Vvjjkkii renamed this task from proofreadpage_tests failing in TestIndexPageMappings for py2.7.2 to isdaaaaaaa.Jul 1 2018, 1:12 AM
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from isdaaaaaaa to proofreadpage_tests failing in TestIndexPageMappings for py2.7.2.
CommunityTechBot added a subscriber: Aklapper.
Dalba renamed this task from proofreadpage_tests failing in TestIndexPageMappings for py2.7.2 to proofreadpage_tests failing in TestIndexPageMappings.Jul 7 2018, 12:34 PM
Dalba added a comment.EditedJul 7 2018, 12:37 PM

I removed T191192 as subtask because this is not a 2.7 only issue. It may occur in any python version. See https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/build/1.0.542 where the tests failed on 3.4.x, 3.5.x, and 3.6.x.

Mpaa added a subscriber: Mpaa.Jul 7 2018, 8:55 PM

Root cause is T114318.

Dalba moved this task from Backlog to Upstream issues on the Pywikibot board.Jul 8 2018, 3:29 AM

Change 444424 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] Skip TestIndexPageMappings and test_url_image

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

Change 444424 merged by jenkins-bot:
[pywikibot/core@master] Skip TestIndexPageMappings and test_url_image

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