consoleText

download

20 Started by upstream project "cubes-skos" build number 139
originally caused by:
Started by user anonymous
Building on master in workspace /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default
[py27-default] $ hg showconfig paths.default
[py27-default] $ hg pull --rev 55e97ae7fc0eb58abaa91fab8c954d470eb9e846
pulling from http://hg.logilab.org/review/cubes/skos
searching for changes
adding changesets
adding manifests
adding file changes
added 8 changesets with 29 changes to 18 files
14 new obsolescence markers
(run 'hg update' to get a working copy)
[py27-default] $ hg update --clean --rev 55e97ae7fc0eb58abaa91fab8c954d470eb9e846
18 files updated, 0 files merged, 0 files removed, 0 files unresolved
[py27-default] $ hg --config extensions.purge= clean --all
[py27-default] $ hg log --rev . --template {node}
[py27-default] $ hg log --rev . --template {rev}
[py27-default] $ hg log --rev e661b9e1a4ba0abc2e1e84e31e3bfb711c88a7c4 --template exists\n
exists
[py27-default] $ 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 "ancestors('55e97ae7fc0eb58abaa91fab8c954d470eb9e846') and not ancestors(e661b9e1a4ba0abc2e1e84e31e3bfb711c88a7c4)" --encoding UTF-8 --encodingmode replace
[py27-default] $ /bin/bash -xe /tmp/hudson7430677384726648460.sh
+ xargs -0 rm -rf
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
[py27-default] $ /bin/bash -xe /tmp/hudson7192432370128919670.sh
+ PATH=/usr/lib/postgresql/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ tox --recreate
GLOB sdist-make: /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/setup.py
py27-default create: /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/.tox/py27-default
py27-default installdeps: -rtest-requirements.txt, pytest
py27-default inst: /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/.tox/dist/cubicweb-skos-0.12.1.zip
py27-default installed: 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.2,cubicweb-bootstrap==1.2.3,cubicweb-relationwidget==0.4.0,cubicweb-skos==0.12.1,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.1,html2text==2016.9.19,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.9.1,mock==1.0.1,msgpack-python==0.4.2,mysqlclient==1.3.7,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,pycurl==7.19.5,Pygments==2.0.1,pyinotify==0.9.4,pyOpenSSL==0.14,pyparsing==2.0.3,pyserial==2.6,pysqlite==2.6.3,pytest==3.0.3,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==2016.3.0,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,tornado==4.2,tox==2.3.1,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.9.1,virtualenv==15.0.3,xlrd==0.9.2,xlwt==0.7.5,yams==0.44.0,Yapps==2.2.0,Yapps2==2.2.0
py27-default runtests: PYTHONHASHSEED='2843410009'
py27-default runtests: commands[0] | /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/.tox/py27-default/bin/python -m pytest /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/test
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-3.0.3, py-1.4.31, pluggy-0.4.0
rootdir: /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default, inifile: tox.ini
collected 71 items

test/test_ccplugin.py ...
test/unittest_entities.py ..............FFFFFFFF.
test/unittest_hooks.py ....
test/unittest_lcsv.py ...
test/unittest_rdfio.py .....................
test/unittest_schema.py ......
test/unittest_sobjects.py .F.F..
test/unittest_views.py .....

=================================== FAILURES ===================================
_________________ RDFAdaptersTC.test_librdf_concept_list_repr __________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_librdf_concept_list_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:351: in _test_concept_list_repr
self.assertCountEqual(set(graph.triples()), expected)
E AssertionError: Sequences differ: [('http://testing.fr/cubicweb/941', 'http:/[299 chars]40')] != [(u'http://testing.fr/cubicweb/concept/941'[341 chars]40')]
E
E First differing element 0:
E ('http://testing.fr/cubicweb/941', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/2004/02/skos/core#Concept')
E (u'http://testing.fr/cubicweb/concept/941', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/2004/02/skos/core#Concept')
E
E Diff is 753 characters long. Set self.maxDiff to None to see it.
________________ RDFAdaptersTC.test_librdf_concept_primary_repr ________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_librdf_concept_primary_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:406: in _test_concept_primary_repr
(c1_uri, SKOS_INSCHEME, scheme.absolute_url()),
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:664: in absolute_url
sourcemeta = self.cw_metainformation()['source']
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:67: in wrapped
return self.__call__(*args, **kwargs)
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:61: in __call__
value = __me.callable(self, *args)
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:628: in cw_metainformation
metas = self._cw.entity_metas(self.eid)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cnx = <cubicweb.server.session.Connection object at 0x7f0314d1b310>
args = (940,), kwargs = {}

@functools.wraps(func)
def check_open(cnx, *args, **kwargs):
if not cnx._open:
raise ProgrammingError('Closed Connection: %s'
> % cnx.connectionid)
E ProgrammingError: Closed Connection: admin946f3d7e66c74c0e9808f81d6934f139-b3ef6e221d4f4589b4ac070782330a47

.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/server/session.py:187: ProgrammingError
__________________ RDFAdaptersTC.test_librdf_scheme_list_repr __________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_librdf_scheme_list_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:361: in _test_scheme_list_repr
expected = [(scheme.absolute_url(), TYPE_PREDICATE_URI, SKOS_SCHEME),
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:664: in absolute_url
sourcemeta = self.cw_metainformation()['source']
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:67: in wrapped
return self.__call__(*args, **kwargs)
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:61: in __call__
value = __me.callable(self, *args)
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:628: in cw_metainformation
metas = self._cw.entity_metas(self.eid)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cnx = <cubicweb.server.session.Connection object at 0x7f03173681d0>
args = (940,), kwargs = {}

@functools.wraps(func)
def check_open(cnx, *args, **kwargs):
if not cnx._open:
raise ProgrammingError('Closed Connection: %s'
> % cnx.connectionid)
E ProgrammingError: Closed Connection: admine8351507c15f49a69819c2ae1ee59567-668deee88d21438a9ad4de672bf5a1e6

.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/server/session.py:187: ProgrammingError
________________ RDFAdaptersTC.test_librdf_scheme_primary_repr _________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_librdf_scheme_primary_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:391: in _test_scheme_primary_repr
self.assertCountEqual(graph.triples(), expected)
E AssertionError: Sequences differ: [('http://testing.fr/cubicweb/940', 'http:/[1245 chars]r)>)] != [(u'http://testing.fr/cubicweb/concept/941'[1390 chars]me')]
E
E First differing element 0:
E ('http://testing.fr/cubicweb/940', 'http://purl.org/dc/elements/1.1/title', u'some classification')
E (u'http://testing.fr/cubicweb/concept/941', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/2004/02/skos/core#Concept')
E
E Diff is 3094 characters long. Set self.maxDiff to None to see it.
_________________ RDFAdaptersTC.test_rdflib_concept_list_repr __________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_rdflib_concept_list_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:351: in _test_concept_list_repr
self.assertCountEqual(set(graph.triples()), expected)
E AssertionError: Sequences differ: [(u'h[21 chars]cweb/941', u'http://www.w3.org/1999/02/22-rdf-[278 chars]40')] != [(u'h[21 chars]cweb/concept/941', 'http://www.w3.org/1999/02/[312 chars]40')]
E
E First differing element 0:
E (u'http://testing.fr/cubicweb/941', u'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', u'http://www.w3.org/2004/02/skos/core#Concept')
E (u'http://testing.fr/cubicweb/concept/941', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/2004/02/skos/core#Concept')
E
E Diff is 1002 characters long. Set self.maxDiff to None to see it.
________________ RDFAdaptersTC.test_rdflib_concept_primary_repr ________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_rdflib_concept_primary_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:406: in _test_concept_primary_repr
(c1_uri, SKOS_INSCHEME, scheme.absolute_url()),
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:664: in absolute_url
sourcemeta = self.cw_metainformation()['source']
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:67: in wrapped
return self.__call__(*args, **kwargs)
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:61: in __call__
value = __me.callable(self, *args)
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:628: in cw_metainformation
metas = self._cw.entity_metas(self.eid)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cnx = <cubicweb.server.session.Connection object at 0x7f0316e89790>
args = (940,), kwargs = {}

@functools.wraps(func)
def check_open(cnx, *args, **kwargs):
if not cnx._open:
raise ProgrammingError('Closed Connection: %s'
> % cnx.connectionid)
E ProgrammingError: Closed Connection: admin696b877cd0ba4c1089f3f3cfe355d513-0b56e232868b41a8a06f656b9bc08388

.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/server/session.py:187: ProgrammingError
__________________ RDFAdaptersTC.test_rdflib_scheme_list_repr __________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_rdflib_scheme_list_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:361: in _test_scheme_list_repr
expected = [(scheme.absolute_url(), TYPE_PREDICATE_URI, SKOS_SCHEME),
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:664: in absolute_url
sourcemeta = self.cw_metainformation()['source']
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:67: in wrapped
return self.__call__(*args, **kwargs)
.tox/py27-default/local/lib/python2.7/site-packages/logilab/common/decorators.py:61: in __call__
value = __me.callable(self, *args)
.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/entity.py:628: in cw_metainformation
metas = self._cw.entity_metas(self.eid)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

cnx = <cubicweb.server.session.Connection object at 0x7f0316efa950>
args = (940,), kwargs = {}

@functools.wraps(func)
def check_open(cnx, *args, **kwargs):
if not cnx._open:
raise ProgrammingError('Closed Connection: %s'
> % cnx.connectionid)
E ProgrammingError: Closed Connection: adminabf259d366674ef88a26b0a17f0f248d-1803e46f578740c484cc6625e7fe369c

.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/server/session.py:187: ProgrammingError
________________ RDFAdaptersTC.test_rdflib_scheme_primary_repr _________________

self = <unittest_entities.RDFAdaptersTC testMethod=test_rdflib_scheme_primary_repr>

@wraps(testfunc)
def wrapper(self):
> return testfunc(self, graphcls())

test/unittest_entities.py:318:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_entities.py:391: in _test_scheme_primary_repr
self.assertCountEqual(graph.triples(), expected)
E AssertionError: Sequences differ: [(u'h[21 chars]cweb/940', u'http://purl.org/dc/elements/1.1/t[1245 chars]r)>)] != [(u'h[21 chars]cweb/concept/941', 'http://www.w3.org/1999/02/[1361 chars]me')]
E
E First differing element 0:
E (u'http://testing.fr/cubicweb/940', u'http://purl.org/dc/elements/1.1/title', u'some classification')
E (u'http://testing.fr/cubicweb/concept/941', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type', 'http://www.w3.org/2004/02/skos/core#Concept')
E
E Diff is 3211 characters long. Set self.maxDiff to None to see it.
_____________________ SKOSXMLImportTC.test_datafeed_source _____________________

self = <unittest_sobjects.SKOSXMLImportTC testMethod=test_datafeed_source>

def test_datafeed_source(self):
# test creation upon initial pull
self.pull_source('mythesaurus')
> self.check_siaf_shortened(u'mythesaurus')

test/unittest_sobjects.py:146:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_sobjects.py:79: in check_siaf_shortened
self.assertEqual(scheme.description[:len(descr)], descr)
E AssertionError: u"Le Th\xe9saurus pour la description et l'indexation des archives locales " != "Le Th\xc3\xa9saurus pour la description et l'indexation des archives locales"
----------------------------- Captured stdout call -----------------------------
Building xmlparser for database tmpdb
_________________________ SKOSXMLImportTC.test_service _________________________

self = <unittest_sobjects.SKOSXMLImportTC testMethod=test_service>

def test_service(self):
with self.admin_access.repo_cnx() as cnx:
scheme_uris = cnx.call_service(
'rdf.skos.import',
stream=open(self.datapath('siaf_matieres_shortened.xml')),
rdf_format='xml')[-1]
self.assertEqual(scheme_uris,
['http://data.culture.fr/thesaurus/resource/ark:/67717/Matiere'])
> self.check_siaf_shortened(u'system')

test/unittest_sobjects.py:158:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_sobjects.py:79: in check_siaf_shortened
self.assertEqual(scheme.description[:len(descr)], descr)
E AssertionError: u"Le Th\xe9saurus pour la description et l'indexation des archives locales " != "Le Th\xc3\xa9saurus pour la description et l'indexation des archives locales"
==================== 10 failed, 61 passed in 77.40 seconds =====================
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/.tox/py27-default/bin/python -m pytest /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/test'
___________________________________ summary ____________________________________
ERROR: py27-default: commands failed
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[py27-default] $ /bin/bash -xe /tmp/hudson8498657843275893795.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb-skos 55e97ae7fc0e http://jenkins.logilab.fr/job/cubes-skos/TOXENV=py27-default/139/ --status failure
<br/>

log from execution
download