consoleText

download

20 Started by upstream project "cubes-datacat" build number 19
originally caused by:
Started by an SCM change
Building on master in workspace /var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27
[py27] $ hg showconfig paths.default
[py27] $ hg pull --rev a9f430b0ce5eb304e0bdf84716263b5c6242262d
pulling from http://hg.logilab.org/review/cubes/datacat
searching for changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 4 changes to 4 files
(run 'hg update' to get a working copy)
[py27] $ hg update --clean --rev a9f430b0ce5eb304e0bdf84716263b5c6242262d
4 files updated, 0 files merged, 1 files removed, 0 files unresolved
[py27] $ hg --config extensions.purge= clean --all
[py27] $ hg log --rev . --template {node}
[py27] $ hg log --rev . --template {rev}
[py27] $ hg log --rev 93593e82c54d8a7ed2384de341394bce0b13d2c6
changeset: 507:93593e82c54d
tag: 0.8.4
tag: centos/0.8.4-1
tag: debian/0.8.4-1
user: Denis Laxalde <denis.laxalde@logilab.fr>
date: Fri Jul 22 09:23:47 2016 +0200
summary: [pkg] Version 0.8.4

[py27] $ 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 a9f430b0ce5eb304e0bdf84716263b5c6242262d:0 --follow --prune 93593e82c54d8a7ed2384de341394bce0b13d2c6 --encoding UTF-8 --encodingmode replace
[py27] $ /bin/bash -xe /tmp/hudson2343081199460681526.sh
+ find test/data -name 'tmpdb*' -delete
[py27] $ /bin/bash -xe /tmp/hudson6383059161621228064.sh
+ tox --recreate
GLOB sdist-make: /var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/setup.py
py27 create: /var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/.tox/py27
py27 installdeps: mock, pytest
py27 inst: /var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/.tox/dist/cubicweb-datacat-0.8.4.zip
py27 installed: You are using pip version 7.1.2, however version 8.1.2 is available.,You should consider upgrading via the 'pip install --upgrade pip' command.,beautifulsoup4==4.3.2,boto==2.34.0,bzr-etckeeper==0.0.0,cffi==0.8.6,characteristic==0.1.0,chardet==2.3.0,Cheetah==2.4.4,cloud-init==0.7.6,colorama==0.3.2,configobj==5.0.6,coverage==3.7.1,croniter==0.3.4,cryptography==0.6.1,cubicweb==3.23.1,cubicweb-bootstrap==1.2.3,cubicweb-datacat==0.8.4,cubicweb-dataprocessing==0.2.1,cubicweb-file==1.18.0,cubicweb-relationwidget==0.3.3,cubicweb-skos==0.12.0,cubicweb-squareui==1.0.2,cwclientlib==0.4.1,cwtags==1.1.0,Cython==0.21.1,decorator==3.4.0,docutils==0.12,ecdsa==0.11,euca2ools==3.1.0,GDAL==1.10.1,hg-evolve==5.4.0,html2text==2016.5.29,html5lib==0.999,isodate==0.5.0,Jinja2==2.7.3,joblib==0.8.3,jsonpatch==1.3,jsonpointer==1.0,linecache2==1.0.0,logilab-common==1.2.2,logilab-constraint==0.6.0,logilab-database==1.15.0,logilab-mtconverter==0.9.0,lxml==3.4.0,M2Crypto==0.21.1,Mako==1.0.0,Markdown==2.5.1,MarkupSafe==0.23,matplotlib==1.4.2,mccabe==0.2.1,mercurial==3.8.3,mock==1.0.1,msgpack-python==0.4.2,nose==1.3.4,numexpr==2.4,numpy==1.8.2,oauth==1.0.1,openpyxl==1.7.0,pandas==0.14.1,paramiko==1.15.1,passlib==1.6.5,pep8==1.5.7,Pillow==2.6.1,pluggy==0.3.1,ply==3.4,prettytable==0.7.2,psycopg2==2.5.4,py==1.4.31,pyasn1==0.1.7,pyasn1-modules==0.0.5,pycparser==2.10,pycrypto==2.6.1,pyflakes==0.8.1,Pygments==2.0.1,pyinotify==0.9.4,pyOpenSSL==0.14,pyparsing==2.0.3,pyserial==2.6,pysqlite==2.6.3,pytest==2.9.2,python-apt==0.9.3.12,python-augeas==0.4.1,python-dateutil==2.2,python-jenkins==0.2.1,python-ldap==2.4.10,python-yapps==2.1.1,python3-ldap==0.9.4.2,pytz==2012rc0,PyYAML==3.11,pyzmq==14.4.0,rdflib==4.1.2,requestbuilder==0.2.3,requests==2.4.3,roman==2.0.0,rql==0.34.0,rubber==1.1,salt==2015.5.3,scikit-learn==0.14.1,scipy==0.14.0,service-identity==1.0.0,Shapely==1.4.3,simplejson==3.6.5,SimpleTAL==4.1,six==1.8.0,SPARQLWrapper==1.6.0,Sphinx==1.2.3,statsmodels==0.4.2,tables==3.1.1,tox==2.3.1,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.9.1,virtualenv==13.1.2,wheel==0.24.0,xlrd==0.9.2,xlwt==0.7.5,yams==0.44.0,Yapps==2.2.0,Yapps2==2.2.0
py27 runtests: PYTHONHASHSEED='1708839033'
py27 runtests: commands[0] | /var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/.tox/py27/bin/python -m pytest
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27, inifile: tox.ini
collected 37 items

test/test_datacat.py ..
test/unittest_entities.py .....
test/unittest_hooks.py ...........
test/unittest_schema.py ....
test/unittest_sobjects.py .....
test/unittest_views.py ..F....
test/unittest_vocabularies.py ...

=================================== FAILURES ===================================
_______________________ RDFAdapterTC.test_ckan_rdf_view ________________________

self = <py27.test.unittest_views.RDFAdapterTC testMethod=test_ckan_rdf_view>

def test_ckan_rdf_view(self):
"""Check bwcompat ckan views."""
> self._check_rdf_view('dcat.rdf.ckan', 'valid_export.rdf')

test/unittest_views.py:207:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python2.7/dist-packages/mock.py:1210: in patched
return func(*args, **keywargs)
test/unittest_views.py:192: in _check_rdf_view
expected_graph.load('file://' + self.datapath(expected_fname), rdf_format='xml')
.tox/py27/share/cubicweb/cubes/skos/rdfio.py:226: in load
self._load(source, self._backend_format_map[rdf_format])
.tox/py27/share/cubicweb/cubes/skos/rdfio.py:403: in _load
self._graph.parse(source, format=rdf_format)
/usr/lib/python2.7/dist-packages/rdflib/graph.py:1453: in parse
file=file, data=data, format=format)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

source = 'file:///var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/test/data/valid_export.rdf'
publicID = None
location = 'file:///var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/test/data/valid_export.rdf'
file = None, data = None, format = 'xml'

def create_input_source(source=None, publicID=None,
location=None, file=None, data=None, format=None):
"""
Return an appropriate InputSource instance for the given
parameters.
"""

# TODO: test that exactly one of source, location, file, and data
# is not None.

input_source = None

if source is not None:
if isinstance(source, InputSource):
input_source = source
else:
if isinstance(source, basestring):
location = source
elif hasattr(source, "read") and not isinstance(source, Namespace):
f = source
input_source = InputSource()
input_source.setByteStream(f)
if f is sys.stdin:
input_source.setSystemId("file:///dev/stdin")
elif hasattr(f, "name"):
input_source.setSystemId(f.name)
else:
raise Exception("Unexpected type '%s' for source '%s'" %
(type(source), source))

absolute_location = None # Further to fix for issue 130

if location is not None:
# Fix for Windows problem https://github.com/RDFLib/rdflib/issues/145
if os.path.exists(location):
location = pathname2url(location)
base = urljoin("file:", "%s/" % pathname2url(os.getcwd()))
absolute_location = URIRef(location, base=base).defrag()
if absolute_location.startswith("file:///"):
filename = url2pathname(absolute_location.replace("file:///", "/"))
> file = open(filename, "rb")
E IOError: [Errno 2] No such file or directory: u'/var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/test/data/valid_export.rdf'

/usr/lib/python2.7/dist-packages/rdflib/parser.py:164: IOError
===================== 1 failed, 36 passed in 62.75 seconds =====================
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubes-datacat/workspace/TOXENV/py27/.tox/py27/bin/python -m pytest'
___________________________________ summary ____________________________________
ERROR: py27: commands failed
Build step 'Execute shell' marked build as failure
Sending e-mails to: dlaxalde@logilab.fr yvote@logilab.fr
[PostBuildScript] - Execution post build scripts.
[py27] $ /bin/bash -xe /tmp/hudson1247308468276822136.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb-datacat a9f430b0ce5e http://jenkins.logilab.fr/job/cubes-datacat/TOXENV=py27/19/ --status failure
<br/>

log from execution
download