Build failed in Jenkins: cubicweb-saem_ref » py27,debian_jessie #145

jenkins.logilab.org noreply at logilab.org
Thu Mar 16 16:11:39 CET 2017


https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/145/------------------------------------------
Started by upstream project "cubicweb-saem_ref" build number 145
originally caused by:
 Started by an SCM change
Building remotely on docker-slave-74aca5e32083 (debian_jessie) in workspace <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/>
$ hg clone --rev 7a996a4c008d60a2c8ed550a465b52f124aad5b6 --noupdate http://hg.logilab.org/review/cubes/saem_ref <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/>
adding changesets
adding manifests
adding file changes
added 1527 changesets with 3851 changes to 269 files
[debian_jessie] $ hg update --rev 7a996a4c008d60a2c8ed550a465b52f124aad5b6
116 files updated, 0 files merged, 0 files removed, 0 files unresolved
[debian_jessie] $ hg log --rev . --template {node}
[debian_jessie] $ hg log --rev . --template {rev}
[debian_jessie] $ hg log --rev 4903c283838fb8ef601ffdb57b9cdd91f36dec1c --template exists\n
abort: unknown revision '4903c283838fb8ef601ffdb57b9cdd91f36dec1c'!
ERROR: Previously built revision 4903c283838fb8ef601ffdb57b9cdd91f36dec1c is not known in this clone; unable to determine change log
[debian_jessie] $ /bin/sh -xe /tmp/hudson7431548067320036758.sh
+ find . ( -name pgdb* -o -name tmpdb* ) -print0
+ xargs -0 rm -rf
[debian_jessie] $ /bin/sh -xe /tmp/hudson439168790352392115.sh
+ PATH=/usr/lib/postgresql/9.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/games tox --recreate
GLOB sdist-make: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/setup.py>
py27 create: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27>
py27 installdeps: -rdev-requirements.txt
py27 inst: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/dist/cubicweb-saem-ref-0.14.3.zip>
py27 installed: appdirs==1.4.3,backports.functools-lru-cache==1.3,beautifulsoup4==4.5.3,chardet==2.3.0,colorama==0.3.2,cubicweb==3.24.5,cubicweb-addressbook==1.9.1,cubicweb-bootstrap==1.2.6,cubicweb-compound==0.5.0,cubicweb-eac==0.4.0,cubicweb-geocoding==0.2.1,cubicweb-oaipmh==0.4.1,cubicweb-prov==0.4.0,cubicweb-relationwidget==0.4.0,cubicweb-saem-ref==0.14.3,cubicweb-seda==0.8.0,cubicweb-signedrequest==0.3.0,cubicweb-skos==1.1.0,cubicweb-squareui==1.0.3,cubicweb-vtimeline==0.5.1,cwtags==1.1.0,decorator==3.4.0,GDAL==1.10.1,html2text==2016.9.19,html5lib==0.999,hupper==0.4.4,isodate==0.5.0,joblib==0.8.3,linecache2==1.0.0,logilab-common==1.3.0,logilab-constraint==0.6.0,logilab-database==1.15.0,logilab-mtconverter==0.9.0,lxml==3.4.0,Markdown==2.6.8,mercurial==3.9.1,numpy==1.8.2,packaging==16.8,pandas==0.14.1,passlib==1.7.1,PasteDeploy==1.5.2,Pillow==2.6.1,pluggy==0.4.0,psycopg2==2.5.4,py==1.4.32,pykerberos==1.1.5,pyparsing==2.2.0,pyramid==1.8.3,pyramid-multiauth==0.9.0,pytest==3.0.7,python-dateutil==2.2,pytz==2012rc0,pyxst==0.1.1,rdflib==4.1.2,repoze.lru==0.6,requests==2.4.3,requests-kerberos==0.5,rql==0.34.2,scikit-learn==0.14.1,scipy==0.14.0,six==1.10.0,SPARQLWrapper==1.8.0,tox==2.5.0,traceback2==1.4.0,translationstring==1.3,unittest2==1.1.0,urllib3==1.9.1,venusian==1.0,virtualenv==15.1.0,waitress==1.0.2,WebOb==1.7.2,WebTest==2.0.27,wsgicors==0.7.0,yams==0.44.1,Yapps2==2.2.0,zope.deprecation==4.2.0,zope.interface==4.3.3
py27 runtests: PYTHONHASHSEED='1475257682'
py27 runtests: commands[0] | <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/bin/python> -m pytest <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/test>
============================= test session starts ==============================
platform linux2 -- Python 2.7.9, pytest-3.0.7, py-1.4.32, pluggy-0.4.0
rootdir: <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/,> inifile: tox.ini
collected 141 items

test/test_ccplugin.py ....
test/test_eac.py ..
test/test_oai.py ....................
test/test_pviews.py ..
test/test_saem_ref.py ..F.
test/test_security.py .......
test/test_seda.py ...
test/test_views.py ............................
test/unittest_autocomplete.py ....
test/unittest_dataimport.py .
test/unittest_entities.py ..
test/unittest_entities_agent.py ........
test/unittest_entities_container.py ....
test/unittest_entities_skos.py .
test/unittest_hooks.py ............................
test/unittest_schema.py ...................
test/unittest_site_cubicweb.py .
test/unittest_sobjects_skos.py ...

=================================== FAILURES ===================================
____________________ AutomaticWebTest.test_one_each_config _____________________

self = <test_saem_ref.AutomaticWebTest testMethod=test_one_each_config>

    def test_one_each_config(self):
        self.auto_populate(1)
        for rset in self.iter_automatic_rsets(limit=1):
>           self._test_everything_for(rset)

.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:1316: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:1278: in _test_everything_for
    rset.req.reset_headers(), 'main-template')
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:974: in view
    return self._test_view(viewfunc, view, template, kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:995: in _test_view
    reraise(AssertionError, AssertionError(msg), sys.exc_info()[-1])
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:986: in _test_view
    output = viewfunc(**kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/devtools/testlib.py:972: in viewfunc
    rset=rset, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/cwvreg.py:221: in main_template
    res = obj.render(**kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/view.py:138: in render
    view_func(**context)
.tox/py27/share/cubicweb/cubes/squareui/views/basetemplates.py:39: in call
    self.template_page_content(view)
.tox/py27/share/cubicweb/cubes/squareui/views/basetemplates.py:79: in template_page_content
    self.nav_column(view, left_boxes, 'left')
.tox/py27/share/cubicweb/cubes/squareui/views/basetemplates.py:121: in nav_column
    box.render(w=stream.write, view=view)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/web/component.py:369: in render
    self.layout_render(w, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/web/component.py:310: in layout_render
    layout.render(w)
.tox/py27/share/cubicweb/cubes/bootstrap/views/boxes.py:53: in render
    view.render_body(w)
.tox/py27/local/lib/python2.7/site-packages/cubicweb_seda/views/sedatree.py:38: in render_body
    self.entity.view('jqtree.treeview', w=w)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/entity.py:647: in view
    **initargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:368: in select
    obj =  self._select_best(self[__oid], *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:402: in _select_best
    objectscore = obj.__select__(obj, *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:871: in traced
    ret = selector(cls, *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/predicates.py:333: in __call__
    score = super(adaptable, self).__call__(cls, req, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:871: in traced
    ret = selector(cls, *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/cubicweb/predicates.py:314: in __call__
    if req.vreg[self.registry].select_or_none(regid, req, **kwargs) is not None:
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:378: in select_or_none
    return self._select_best(self[__oid], *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:402: in _select_best
    objectscore = obj.__select__(obj, *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:871: in traced
    ret = selector(cls, *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:1073: in __call__
    partscore = selector(cls, *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:871: in traced
    ret = selector(cls, *args, **kwargs)
.tox/py27/local/lib/python2.7/site-packages/logilab/common/registry.py:936: in <lambda>
    '__call__': lambda self, *a, **kw: selector_func(*a, **kw)})
.tox/py27/local/lib/python2.7/site-packages/cubicweb_seda/entities/__init__.py:100: in simplified_profile
    entity = _seda_container_from_context(rset, entity)
.tox/py27/local/lib/python2.7/site-packages/cubicweb_seda/entities/__init__.py:79: in _seda_container_from_context
    entity = rset.one()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <resultset u'Any X,AA,AB ORDERBY AA DESC WHERE E eid %(x)s, E container X, X m..., u'\xe9&user_annotation0'] ((u'SEDAArchiveTransfer', 'TZDatetime', 'String'))>
col = 0

    def one(self, col=0):
        """Retrieve exactly one entity from the query.
    
            If the result set is empty, raises :exc:`NoResultError`.
            If the result set has more than one row, raises
            :exc:`MultipleResultsError`.
    
            :type col: int
            :param col: The column localising the entity in the unique row
    
            :return: the partially initialized `Entity` instance
            """
        if len(self) == 1:
            return self.get_entity(0, col)
        elif len(self) == 0:
            raise NoResultError("No row was found for one()")
        else:
>           raise MultipleResultsError("Multiple rows were found for one()")
E           AssertionError: [<class 'cubicweb._exceptions.MultipleResultsError'> in oneline] Multiple rows were found for one()

.tox/py27/local/lib/python2.7/site-packages/cubicweb/rset.py:460: AssertionError
----------------------------- Captured stdout call -----------------------------
Building autopopulate for database tmpdb
----------------------------- Captured stderr call -----------------------------
<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/local/lib/python2.7/site-packages/cubicweb_seda/site_cubicweb.py>:75: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype allowed_transition: ['BaseTransition', 'Transition', 'WorkflowTransition']. Yet you get the first rdef.
  rdef = eschema.rdef(rschema, role)
<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/local/lib/python2.7/site-packages/cubicweb/entity.py>:392: DeprecationWarning: [3.14] <bound method type.cw_fetch_order of <class 'cubes.addressbook.entities.PhoneNumber'>> should now take (select, attr, var) and modify the syntax tree when desired instead of returning something
  'returning something' % cmeth, DeprecationWarning)
<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/local/lib/python2.7/site-packages/cubicweb_seda/site_cubicweb.py>:75: Warning: [yams 0.38] no targettype specified and there are several relation definitions for rtype has_citation: ['GeneralContext', 'Mandate', 'Occupation', 'History', 'AgentFunction', 'LegalStatus', 'AgentPlace']. Yet you get the first rdef.
  rdef = eschema.rdef(rschema, role)
==================== 1 failed, 140 passed in 850.99 seconds ====================
waiting for server to shut down.... done
server stopped
ERROR: InvocationError: '<https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/.tox/py27/bin/python> -m pytest <https://jenkins.logilab.org/job/cubicweb-saem_ref/TOXENV=py27,distributions=debian_jessie/ws/test'>
___________________________________ summary ____________________________________
ERROR:   py27: commands failed
Build step 'Execute shell' marked build as failure



More information about the saem-devel mailing list