Page MenuHomePhabricator

travis-ci builds stall occasionally
Closed, InvalidPublic

Description

Travis build stalled on test_archivebot_als

https://travis-ci.org/wikimedia/pywikibot-core/jobs/39680240

Test running weblinkchecker -simulate. ... ok
test_archivebot_als (tests.archivebot_tests.TestArchiveBot)
Test archivebot for one site on wikipedia:als ... 
No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated

Version: core-(2.0)
Severity: normal

Details

Reference
bz72861

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 3:56 AM
bzimport set Reference to bz72861.
bzimport added a subscriber: Unknown Object (????).

I dont recall seeing that before.

The stalled build was test.wikidata py 2.7 , and the build that followed passed on that configuration, so it is probably a rare intermittent problem.

jayvdb set Security to None.
jayvdb moved this task from Backlog to Test failures on the Pywikibot-tests board.
jayvdb removed a subscriber: Unknown Object (????).
jayvdb renamed this task from test_archivebot_als stalled to travis-ci builds stall occasionally.Dec 26 2014, 4:52 AM

https://travis-ci.org/wikimedia/pywikibot-core/jobs/44957013

test_preload_templates_and_langlinks (tests.site_tests.TestPagePreloading) ... Retrieving 10 pages from wiktionary:fr.
ERROR: AssertionError: False is not true
Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-core/tests/utils.py", line 58, in wrapper
    func(*args, **kwargs)
  File "/home/travis/build/wikimedia/pywikibot-core/tests/site_tests.py", line 2015, in test_preload_templates_and_langlinks
    self.assertTrue(hasattr(page, '_langlinks'))
  File "/opt/python/3.3.5/lib/python3.3/unittest/case.py", line 520, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not trueSKIP
Test sending pageids with unnormalized titles, causing warnings. ... Retrieving 5 pages from wiktionary:fr.
Retrieving 5 pages from wiktionary:fr.
ok
Test sending unnormalized titles, causing warnings. ... Retrieving 5 pages from wiktionary:fr.
Retrieving 5 pages from wiktionary:fr.
ok
Test basic preloading with titles. ... Retrieving 10 pages from wiktionary:fr.
ok
testExtensions (tests.site_tests.TestSiteExtensions) ... ok
No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated

script_tests stalled a few times (three I think) consecutively for me on a Windows 7 box using Py 2.7.9, while testing archivebot. Not yet investigated.

In last 7 months there were more then 200 occurrences of The build has been terminated (around 5 months ago, build #3545 practically every build has stalled). I have examined almost 100 of them.

Lot of them are caused by waiting for password:

site# of occurrenceslast 5
wikisource:zh27#3714.2 , #3714.4, #3714.6, #3714.8, #3714.10, #3696.2
wikipedia:en10#3695.12, #3545.1, #3544.1, #3543.1, #3542.1
wiktionary:fr6#3545.2, #3544.2, #3543.2, #3542.2, #3540.2
wikivoyage:he6#3545.9, #3544.9, #3543.9, #3542.7, #3540.7
wikidata:test6#3545.11, #3544.11, #3543.11, #3542.9, #3540.9
wikidata:wikidata6#3545.12, #3544.12, #3543.12, #3542.10, #3540.10

It look, that these problems are resolved.

More interesting problems:

  • tests.pagegenerators_tests.TestFactoryGeneratorWikibase -> test_searchitem_language #3569.2
  • Test async request -> API error maxlag: Waiting for 10.64.32.21: 30.178963184357 #3575.12
  • tests/pagegenerators_tests.py::TestFactoryGenerator::test_random_generator_ns_multi (probably something to do with WARNING: /opt/python/3.3.5/lib/python3.3/socket.py:370: ResourceWarning: unclosed <socket.socket object, fd=20, family=2, type=2049, proto=6>) 15 occurrences: multiple failures in build #3700, multiple failures in build #3699, multiple failures in build #3698.

None of them is connected with archivebot.

Issue about TestFactoryGenerator::test_random_generator_ns_multi was resolved in T150892.

It looks, that issues right now don't occur or were fixed. I'm moving this task to T152961.

Dalba subscribed.

Has not occurred for long time.