consoleText

download

20 Started by upstream project "cubes-skos" build number 109
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default
[py27-default] $ hg showconfig paths.default
[py27-default] $ hg pull --rev c2f54b7820ff72a49dd2f02b00d39c451916173f
pulling from http://hg.logilab.org/review/cubes/skos
searching for changes
adding changesets
adding manifests
adding file changes
added 1 changesets with 1 changes to 3 files (+1 heads)
2 new obsolescence markers
(run 'hg heads .' to see heads, 'hg merge' to merge)
[py27-default] $ hg update --clean --rev c2f54b7820ff72a49dd2f02b00d39c451916173f
4 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 cce1b7cd31315e472be5f719a267e72d0c3f33c0
changeset: 335:cce1b7cd3131
parent: 332:24472d150b3d
user: Denis Laxalde <denis.laxalde@logilab.fr>
date: Tue May 17 15:17:15 2016 +0200
summary: [pkg] Fix rdflib package name in recommends

[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 c2f54b7820ff72a49dd2f02b00d39c451916173f:0 --follow --prune cce1b7cd31315e472be5f719a267e72d0c3f33c0 --encoding UTF-8 --encodingmode replace
[py27-default] $ /bin/bash -xe /tmp/hudson9147572882657566719.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[py27-default] $ /bin/bash -xe /tmp/hudson1315881594552553191.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: cubicweb, -rtest-requirements.txt, pytest
py27-default inst: /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/.tox/dist/cubicweb-skos-0.10.0.zip
py27-default 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.22.2,cubicweb-skos==0.10.0,cwclientlib==0.4.1,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.2.1,html2text==2016.4.2,html5lib==0.999,isodate==0.5.0,Jinja2==2.7.3,joblib==0.8.3,jsonpatch==1.3,jsonpointer==1.0,logilab-common==1.2.0,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.7.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.1,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,statsmodels==0.4.2,tables==3.1.1,tox==2.3.1,urllib3==1.9.1,virtualenv==13.1.2,wheel==0.24.0,xlrd==0.9.2,xlwt==0.7.5,yams==0.42.0,Yapps==2.2.0,Yapps2==2.2.0
py27-default runtests: PYTHONHASHSEED='1936135691'
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 --junit-xml=test-results.xml
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default, inifile: tox.ini
collected 70 items

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

generated xml file: /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/test-results.xml
=================================== FAILURES ===================================
_____________________ ImportSkosDataCommandTC.test_massive _____________________

self = <test_ccplugin.ImportSkosDataCommandTC testMethod=test_massive>

def test_massive(self):
self.run_import_skos('-s', 'massive')
> self._test_base()

test/test_ccplugin.py:78:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ccplugin.py:66: in _test_base
self.assertEqual(concept.labels, {u'fr': u'├ęconomie'})
E AssertionError: {u'fr-fr': u'\xe9conomie', u'fr': u'\xe9conomie'} != {u'fr': u'\xe9conomie'}
E - {u'fr': u'\xe9conomie', u'fr-fr': u'\xe9conomie'}
E + {u'fr': u'\xe9conomie'}
---------------------------- Captured stdout setup -----------------------------
The files belonging to this database system will be owned by user "jenkins".
This user must also own the server process.

The database cluster will be initialized with locale "C".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/test/data/database/pgdb-test_ccplugin ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
creating template1 database in /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/test/data/database/pgdb-test_ccplugin/base/1 ... ok
initializing pg_authid ... ok
initializing dependencies ... ok
creating system views ... ok
loading system objects' descriptions ... ok
creating collations ... ok
creating conversions ... ok
creating dictionaries ... ok
setting privileges on built-in objects ... ok
creating information schema ... ok
loading PL/pgSQL server-side language ... ok
vacuuming database template1 ... ok
copying template1 to template0 ... ok
copying template1 to postgres ... ok
syncing data to disk ... ok

Success. You can now start the database server using:

postgres -D /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/test/data/database/pgdb-test_ccplugin
or
pg_ctl -D /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/test/data/database/pgdb-test_ccplugin -l logfile start

waiting for server to start....LOG: database system was shut down at 2016-05-19 18:50:16 CEST
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
done
server started
---------------------------- Captured stderr setup -----------------------------

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
----------------------------- Captured stdout call -----------------------------
-> installing /var/lib/jenkins/jobs/cubes-skos/workspace/TOXENV/py27-default/.tox/py27-default/local/lib/python2.7/site-packages/cubicweb/schemas/_regproc.postgres.sql
-> creating tables
-> inserting default user and default groups.
-> storing the schema in the database
-> database for instance data initialized.
----------------------------- Captured stderr call -----------------------------
2016-05-19 18:50:18 - (logilab.database) WARNING: plpgsql language already installed
2016-05-19 18:50:19 - (cubicweb.appobject) WARNING: can't find any workflow for CWUser
2016-05-19 18:50:32 - (cubicweb.web) WARNING: [3.17] massmailing extracted to cube massmailing that was not found. try installing it.
2016-05-19 18:50:32 - (cubicweb.web) WARNING: [3.17] igeocoding extracted to cube geocoding that was not found. try installing it.
2016-05-19 18:50:32 - (cubicweb.web) WARNING: [3.17] embedding extracted to cube embed that was not found. try installing it.
2016-05-19 18:50:32 - (cubicweb.web) WARNING: [3.17] isioc extracted to cube sioc that was not found. try installing it.
_____________________ ImportSkosDataCommandTC.test_nohook ______________________

self = <test_ccplugin.ImportSkosDataCommandTC testMethod=test_nohook>

def test_nohook(self):
self.run_import_skos('--cw-store', 'nohook')
> self._test_base()

test/test_ccplugin.py:74:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ccplugin.py:66: in _test_base
self.assertEqual(concept.labels, {u'fr': u'├ęconomie'})
E AssertionError: {u'fr-fr': u'\xe9conomie', u'fr': u'\xe9conomie'} != {u'fr': u'\xe9conomie'}
E - {u'fr': u'\xe9conomie', u'fr-fr': u'\xe9conomie'}
E + {u'fr': u'\xe9conomie'}
____________________ ImportSkosDataCommandTC.test_nooption _____________________

self = <test_ccplugin.ImportSkosDataCommandTC testMethod=test_nooption>

def test_nooption(self):
self.run_import_skos()
> self._test_base()

test/test_ccplugin.py:70:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/test_ccplugin.py:66: in _test_base
self.assertEqual(concept.labels, {u'fr': u'├ęconomie'})
E AssertionError: {u'fr-fr': u'\xe9conomie', u'fr': u'\xe9conomie'} != {u'fr': u'\xe9conomie'}
E - {u'fr': u'\xe9conomie', u'fr-fr': u'\xe9conomie'}
E + {u'fr': u'\xe9conomie'}
__________________________ LibRDFRDFGraphTC.test_add ___________________________

self = <unittest_rdfio.LibRDFRDFGraphTC testMethod=test_add>

def test_add(self):
graph = self.graph
> result = list(graph.objects(self.bob, self.knows))

test/unittest_rdfio.py:218:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <cubes.skos.rdfio.LibRDFRDFGraph object at 0x7fa8742d0050>
entity_uri = <RDF.Uri object at 0x7fa875556510>
predicate_uri = <RDF.Uri object at 0x7fa875556a10>

def objects(self, entity_uri, predicate_uri):
"""Yield object URIs or literals that are linked to `entity_uri` through
`predicate_uri`.
"""
qs = self._stmt(subject=self._uri_node(entity_uri),
predicate=self._uri_node(predicate_uri),
object=None)
for statement in self._model.find_statements(qs):
if statement.object.is_literal():
yield self._py_literal(statement.object)
> elif object.is_blank():
E AttributeError: type object 'object' has no attribute 'is_blank'

.tox/py27-default/share/cubicweb/cubes/skos/rdfio.py:369: AttributeError
_______________________ RDFGraphToEntitiesTC.test_librdf _______________________

self = <unittest_rdfio.RDFGraphToEntitiesTC testMethod=test_librdf>

@require_module('RDF')
def test_librdf(self):
> self._test(LibRDFRDFGraph())

test/unittest_rdfio.py:292:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
test/unittest_rdfio.py:301: in _test
e = ext_entities_to_dict(ext_entities)
test/unittest_rdfio.py:175: in ext_entities_to_dict
for extentity in ext_entities:
.tox/py27-default/share/cubicweb/cubes/skos/rdfio.py:476: in rdf_graph_to_entities
uris = set(uris) # may be a generator
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <cubes.skos.rdfio.LibRDFRDFGraph object at 0x7fa8743046d0>
entity_uri = 'http://data.culture.fr/thesaurus/resource/ark:/67717/T1-10'
predicate_uri = 'http://www.w3.org/2004/02/skos/core#inScheme'

def objects(self, entity_uri, predicate_uri):
"""Yield object URIs or literals that are linked to `entity_uri` through
`predicate_uri`.
"""
qs = self._stmt(subject=self._uri_node(entity_uri),
predicate=self._uri_node(predicate_uri),
object=None)
for statement in self._model.find_statements(qs):
if statement.object.is_literal():
yield self._py_literal(statement.object)
> elif object.is_blank():
E AttributeError: type object 'object' has no attribute 'is_blank'

.tox/py27-default/share/cubicweb/cubes/skos/rdfio.py:369: AttributeError
==================== 5 failed, 65 passed in 124.71 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 --junit-xml=test-results.xml'
___________________________________ 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/hudson4552161018606266740.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb-skos c2f54b7820ff http://jenkins.logilab.fr/job/cubes-skos/TOXENV=py27-default/109/ --status failure
<br/>

log from execution
download