Re: Build failed in Jenkins: timeline-linux-python2.7 #28
Cross-platform app for displaying and navigating events on a timeline.
Brought to you by:
rickardlindberg,
rogerlindberg
From: Rickard L. <ri...@gm...> - 2014-09-21 17:58:00
|
This error happens because the test modules are loaded in a particular order. (Different order on different machines. That is why it works on the Windows machine and on my laptop, but not on the Linux jenkins jobs.) I have reproduced the error by loading test modules in a different order. I'm working on updating the test runner to load test modules in a random order to help us detect problems of this kind. /Rickard On Sun, Sep 21, 2014 at 4:51 PM, <je...@rc...> wrote: > See < > http://rcloud.rickardlindberg.me:8080/job/timeline-linux-python2.7/28/changes > > > > Changes: > > [Rickard Lindberg <ri...@gm...>] Attempt to fix import error on > Jenkins. > > ------------------------------------------ > Started by an SCM change > Building on master in workspace < > http://rcloud.rickardlindberg.me:8080/job/timeline-linux-python2.7/ws/> > [timeline-linux-python2.7] $ hg showconfig paths.default > [timeline-linux-python2.7] $ hg pull --rev default > pulling from http://hg.code.sf.net/p/thetimelineproj/main > no changes found > [timeline-linux-python2.7] $ hg update --clean --rev default > 1 files updated, 0 files merged, 0 files removed, 0 files unresolved > [timeline-linux-python2.7] $ hg log --rev . --template {node} > [timeline-linux-python2.7] $ hg log --rev . --template {rev} > [timeline-linux-python2.7] $ hg log --rev > 1f0a4d78c93c35ff1d6c7fa94539fb000d85b7a0 > changeset: 2524:1f0a4d78c93c > user: Rickard Lindberg <ri...@gm...> > date: Sun Sep 21 12:47:57 2014 +0200 > summary: Fix misstake: __nq__ should be __ne__. > > [timeline-linux-python2.7] $ hg log --template "<changeset node='{node}' > author='{author|xmlescape}' rev='{rev}' > date='{date}'><msg>{desc|xmlescape}</msg><added>{file_adds|stringify|xmlescape}</added><deleted>{file_dels|stringify|xmlescape}</deleted><files>{files|stringify|xmlescape}</files><parents>{parents}</parents></changeset>\n" > --rev default:0 --follow --prune 1f0a4d78c93c35ff1d6c7fa94539fb000d85b7a0 > --encoding UTF-8 --encodingmode replace > Xvfb starting$ Xvfb :2 -screen 0 1024x768x24 -fbdir > /var/lib/jenkins/2014-09-21_16-51-122971851881214864359xvfb > [timeline-linux-python2.7] $ /bin/sh -xe /tmp/hudson5615335729183863273.sh > + python2.7 execute-specs.py > Traceback (most recent call last): > File "execute-specs.py", line 178, in <module> > all_pass = execute_specs(sys.argv) > File "execute-specs.py", line 36, in execute_specs > suite = create_suite(create_include_test_function(args)) > File "execute-specs.py", line 89, in create_suite > add_specs(suite, include_test_function) > File "execute-specs.py", line 100, in add_specs > include_test_function) > File "execute-specs.py", line 104, in load_test_cases_from_module_name > __import__(module_name) > File "< > http://rcloud.rickardlindberg.me:8080/job/timeline-linux-python2.7/ws/specs/DuplicateEventDialog.py",> > line 23, in <module> > from timelinelib.data.db import MemoryDB > File "< > http://rcloud.rickardlindberg.me:8080/job/timeline-linux-python2.7/ws/timelinelib/data/db.py",> > line 25, in <module> > from timelinelib.db.exceptions import TimelineIOError > File "< > http://rcloud.rickardlindberg.me:8080/job/timeline-linux-python2.7/ws/timelinelib/db/__init__.py",> > line 24, in <module> > from timelinelib.dataimport.timelinexml import > import_db_from_timeline_xml > File "< > http://rcloud.rickardlindberg.me:8080/job/timeline-linux-python2.7/ws/timelinelib/dataimport/timelinexml.py",> > line 28, in <module> > from timelinelib.data.db import MemoryDB > ImportError: cannot import name MemoryDB > Build step 'Execute shell' marked build as failure > Xvfb stopping > |