consoleText

download

20 Started by upstream project "cubicweb" build number 140
originally caused by:
Started by an SCM change
Building in workspace /var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport
[dataimport] $ hg showconfig paths.default
[dataimport] $ hg pull --rev 4a2ae2fa44bf0cc356a4a72818995fcd7c3db61c
pulling from http://hg.logilab.org/review/cubicweb
searching for changes
adding changesets
adding manifests
adding file changes
added 3 changesets with 4 changes to 14 files (+1 heads)
(run 'hg heads .' to see heads, 'hg merge' to merge)
working directory parent is obsolete!
(use "hg evolve" to update to its successor)
[dataimport] $ hg update --clean --rev 4a2ae2fa44bf0cc356a4a72818995fcd7c3db61c
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
[dataimport] $ hg --config extensions.purge= clean --all
[dataimport] $ hg log --rev . --template {node}
[dataimport] $ hg log --rev . --template {rev}
Run condition [File exists] enabling prebuild for step [BuilderChain]
[File exists] check if file exists [tox.ini]
Run condition [File exists] enabling perform for step [BuilderChain]
[dataimport] $ /bin/bash -xe /tmp/hudson819035040785854018.sh
+ find . '(' -name 'pgdb*' -o -name 'tmpdb*' ')' -print0
+ xargs -0 rm -rf
[dataimport] $ /bin/bash -xe /tmp/hudson3009631240219157779.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/cubicweb/workspace/TOXENV/dataimport/setup.py
dataimport create: /var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport
dataimport inst: /var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dist/cubicweb-3.22.0.zip
dataimport installed: You are using pip version 7.1.2, however version 8.0.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.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.1.8,html5lib==0.999,isodate==0.5.0,Jinja2==2.7.3,joblib==0.8.3,jsonpatch==1.3,jsonpointer==1.0,logilab-common==1.1.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,mercurial==3.5.2,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,Pygments==2.0.1,pyinotify==0.9.4,pyOpenSSL==0.14,pyparsing==2.0.3,pyserial==2.6,pysqlite==2.6.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,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
dataimport runtests: PYTHONHASHSEED='403571754'
dataimport runtests: commands[0] | /var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/bin/python -c from logilab.common import pytest; pytest.run() -t /var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/cubicweb/dataimport/test
=========================== test_csv.py ============================
..
======================= test_sqlgenstore.py ========================
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 data/database/pgdb-test_sqlgenstore ... 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 data/database/pgdb-test_sqlgenstore/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

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.

Success. You can now start the database server using:

postgres -D data/database/pgdb-test_sqlgenstore
or
pg_ctl -D data/database/pgdb-test_sqlgenstore -l logfile start

waiting for server to start....LOG: database system was shut down at 2016-02-01 17:54:07 CET
LOG: MultiXact member wraparound protections are now enabled
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
done
server started
2016-02-01 17:54:09 - (logilab.database) WARNING: plpgsql language already installed
2016-02-01 17:54:10 - (cubicweb.appobject) WARNING: can't find any workflow for CWUser
2016-02-01 17:54:28 - (cubicweb.web) WARNING: [3.17] massmailing extracted to cube massmailing that was not found. try installing it.
2016-02-01 17:54:28 - (cubicweb.web) WARNING: [3.17] igeocoding extracted to cube geocoding that was not found. try installing it.
2016-02-01 17:54:28 - (cubicweb.web) WARNING: [3.17] embedding extracted to cube embed that was not found. try installing it.
2016-02-01 17:54:28 - (cubicweb.web) WARNING: [3.17] isioc extracted to cube sioc that was not found. try installing it.
...waiting for server to shut down....LOG: received fast shutdown request
LOG: aborting any active transactions
FATAL: terminating connection due to administrator command
LOG: autovacuum launcher shutting down
LOG: shutting down
LOG: database system is shut down
done
server stopped

======================= unittest_importer.py =======================
2016-02-01 17:54:35 - (cubicweb.appobject) WARNING: can't find any workflow for CWUser
...........
========================= test_pgstore.py ==========================
.........
====================== test_massive_store.py =======================
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 data/database/pgdb-test_massive_store ... 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 data/database/pgdb-test_massive_store/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

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.

Success. You can now start the database server using:

postgres -D data/database/pgdb-test_massive_store
or
pg_ctl -D data/database/pgdb-test_massive_store -l logfile start

waiting for server to start....LOG: database system was shut down at 2016-02-01 17:54:48 CET
LOG: MultiXact member wraparound protections are now enabled
LOG: database system is ready to accept connections
LOG: autovacuum launcher started
done
server started
2016-02-01 17:54:49 - (logilab.database) WARNING: plpgsql language already installed
2016-02-01 17:54:50 - (cubicweb.appobject) WARNING: can't find any workflow for CWUser
............ERROR: column "cw_nm" of relation "cw_location" does not exist
STATEMENT: COPY cw_location(cw_eid,cw_modification_date,cw_creation_date,extid,cw_cwuri,cw_nm) FROM stdin WITH DELIMITER AS ' ' NULL AS 'NULL'
ERROR: column "extid" does not exist at character 87
HINT: There is a column named "extid" in table "entities", but it cannot be referenced from this part of the query.
STATEMENT: INSERT INTO entities (eid, type, asource, extid) SELECT cw_eid, 'Location', 'system', extid FROM cw_location WHERE NOT EXISTS (SELECT 1 FROM entities WHERE eid=cw_eid)
E...2016-02-01 17:55:26 - (logilab.database) WARNING: plpgsql language already installed
2016-02-01 17:55:27 - (cubicweb.appobject) WARNING: can't find any workflow for CWUser
2016-02-01 17:55:38 - (cubicweb.sources.test) WARNING: No parser defined on source <test DataFeedSource source 815 @0x7f095c811fd0>
.LOG: received fast shutdown request
LOG: aborting any active transactions
FATAL: terminating connection due to administrator command
LOG: autovacuum launcher shutting down
waiting for server to shut down....LOG: shutting down
LOG: database system is shut down
done
server stopped
2016-02-01 17:55:41 - (cubicweb.sources.test) WARNING: No parser defined on source <test DataFeedSource source 815 @0x7f095d2d6110>
.
======================================================================
ERROR: test_on_rollback_callback (test_massive_store.MassImportSimpleTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/logilab/common/testlib.py", line 463, in _proceed
testfunc(*args, **kwargs)
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/cubicweb/dataimport/test/test_massive_store.py", line 209, in test_on_rollback_callback
store.flush()
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/cubicweb/dataimport/massive_store.py", line 321, in flush
self.flush_entities()
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/cubicweb/dataimport/massive_store.py", line 424, in flush_entities
self._insert_etype_metadata(etype)
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/cubicweb/dataimport/massive_store.py", line 452, in _insert_etype_metadata
% (etype, self.metagen.source.uri, etype.lower()))
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/cubicweb/server/session.py", line 185, in check_open
return func(cnx, *args, **kwargs)
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/cubicweb/server/session.py", line 955, in system_sql
return source.doexec(self, sql, args, rollback=rollback_on_failure)
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/cubicweb/statsd_logger.py", line 121, in __call__
return self.callable(*args, **kw)
File "/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/local/lib/python2.7/site-packages/cubicweb/server/sources/native.py", line 714, in doexec
cursor.execute(str(query), args)
ProgrammingError: column "extid" does not exist
LINE 1: ...urce, extid) SELECT cw_eid, 'Location', 'system', extid FROM...
^
HINT: There is a column named "extid" in table "entities", but it cannot be referenced from this part of the query.

no stdout
no stderr
========================== test_stores.py ==========================
.......2016-02-01 17:55:46 - (cubicweb.sources.test) WARNING: No parser defined on source <test DataFeedSource source 815 @0x7f095cc0b690>
..
-> creating tables
-> inserting default user and default groups.
-> storing the schema in the database
-> database for instance data-massimport initialized.
starting flush
starting flush
starting flush
-> creating tables
-> inserting default user and default groups.
-> storing the schema in the database
-> database for instance data initialized.
-> creating tables
-> inserting default user and default groups.
-> storing the schema in the database
-> database for instance data-massimport initialized.
-> creating tables
-> inserting default user and default groups.
-> storing the schema in the database
-> database for instance data initialized.
*******************************************************************************
Ran 52 test cases in 103.21s (68.32s CPU), 1 errors
5 modules OK (1 failed)
failures: /var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/cubicweb/dataimport/test/test_massive_store [1/18]
ERROR: InvocationError: '/var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/.tox/dataimport/bin/python -c from logilab.common import pytest; pytest.run() -t /var/lib/jenkins/jobs/cubicweb/workspace/TOXENV/dataimport/cubicweb/dataimport/test'
___________________________________ summary ____________________________________
ERROR: dataimport: commands failed
Build step 'Conditional steps (multiple)' marked build as failure
Sending e-mails to: dlaxalde@logilab.fr jcr@logilab.fr syt@logilab.fr david@logilab.fr
[PostBuildScript] - Execution post build scripts.
[dataimport] $ /bin/bash -xe /tmp/hudson282596315211656969.sh
+ /var/lib/jenkins/scripts/notify_forge_apycot.py cwo cubicweb 4a2ae2fa44bf http://jenkins.logilab.fr/job/cubicweb/TOXENV=dataimport/140/ --status failure
<br/>

log from execution
download