Last modified: 2014-09-16 12:15:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69663, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67663 - unsigned comments cause travis build breakage
unsigned comments cause travis build breakage
Status: NEW
Product: Pywikibot
Classification: Unclassified
archivebot.py (Other open bugs)
core-(2.0)
All All
: Normal normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-08 07:38 UTC by John Mark Vandenberg
Modified: 2014-09-16 12:15 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-07-08 07:38:19 UTC
When a section ends with an unsigned comment, on one of Xqt's talk pages, the archivebot tests fail

https://travis-ci.org/wikimedia/pywikibot-core/jobs/29181593
Comment 1 John Mark Vandenberg 2014-07-26 08:08:52 UTC
This one has hit again:
https://travis-ci.org/wikimedia/pywikibot-core/jobs/30901634
Comment 2 John Mark Vandenberg 2014-09-15 20:32:42 UTC
Previously the error was

======================================================================
FAIL: test_wikipedia_de (tests.archivebot_tests.TestArchiveBot)
Test archivebot for one site
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-core/tests/archivebot_tests.py", line 63, in test_archivebot
    self.assertTrue(isinstance(thread.timestamp, datetime))
AssertionError: False is not true

that line of test code has changed slightly, and the error is now:

======================================================================
FAIL: test_archivebot_de (tests.archivebot_tests.TestArchiveBot)
Test archivebot for one site on wikipedia:de
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-core/tests/aspects.py", line 243, in wrapped_method
    func(self, key)
  File "/home/travis/build/wikimedia/pywikibot-core/tests/archivebot_tests.py", line 68, in test_archivebot
    self.assertIsInstance(thread.timestamp, datetime)
AssertionError: None is not an instance of <type 'datetime.datetime'>

https://travis-ci.org/wikimedia/pywikibot-core/jobs/35365726
Comment 3 Gerrit Notification Bot 2014-09-15 20:47:50 UTC
Change 160513 had a related patch set uploaded by John Vandenberg:
Remove test dependency on sigs on de:user_talk:xqt

https://gerrit.wikimedia.org/r/160513
Comment 4 Gerrit Notification Bot 2014-09-16 10:43:42 UTC
Change 160513 merged by jenkins-bot:
Remove test dependency on sigs on de:user_talk:xqt

https://gerrit.wikimedia.org/r/160513
Comment 5 John Mark Vandenberg 2014-09-16 12:15:08 UTC
We have a partial workaround only

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links