priorityMEDIUM
optionslgp_sign=yes debian.repository=apycot lgp_suffix=yes publish_host=publish upload_host=upload
apycot statuserror
branchdefault
keep_archiveno
for environmentcubicweb-celerytask testenv

recipe information

# an apycot recipe that run unit tests for cubicweb cubes
# it does set the CW_CUBES_PATH env var so that cubes installed as egg are found by cw
import os
from os.path import join, basename
import re
import sys
import hglib

from checkers.apycot import python, scenarios, debcheck, lgp # trigger registration
from checkers.jpl import jpl # trigger registration

from apycotlib import Command, narvalactions as na
from apycotlib import registered
from apycotlib import ERROR
from subprocess import check_output

with na.apycot_environment(plan) as test:
    os.environ.pop('NO_SETUPTOOLS', None) # ensure we do not have this env var for venv setup
    if test.options.get('system-site-packages', '').lower() in ('yes', 'y', 'ok', '1', 'true'):
        Command(test.writer, ['virtualenv', '--system-site-packages', test.tmpdir], raises=True).run()
    else:
        Command(test.writer, ['virtualenv', test.tmpdir], raises=True).run()

    # fuck virtualenv...
    os.symlink(join(test.tmpdir, 'share'), join(test.tmpdir, 'local', 'share'))
    os.environ['PATH'] = ':'.join([join(test.tmpdir, 'bin'), os.environ['PATH']])
    os.environ['VIRTUAL_ENV'] = test.tmpdir

    # proper .hgrc is set on narvalbot host
    # os.environ['HGRCPATH'] = os.devnull
   
    repo = test.environment['repository']
    dst_dir = join(test.tmpdir, 'src', str(repo['eid']))
    source_url = repo['source_url']
    rev = test.texec['branch']
    if not os.path.exists(dst_dir):
        os.makedirs(dst_dir)
    hglib.clone(source_url, dst_dir, updaterev=rev)

    # link the current test execution with the revision 
    cset = hglib.open(dst_dir).parents()[0].node[:12]
    test.writer.raw(source_url, cset, 'revision')
    os.chdir(test.tmpdir)

    # pre-setup
    if test.options.get('pre-setup-requires', ''):
        cmdargs = ['pip', 'install',] + test.options['pre-setup-requires'].split()
        Command(test.writer, cmdargs, raises=True, cwd=dst_dir).run()
        
    # setup
    #cmdargs = ['python', 'setup.py', 'install']
    cmdargs = ['pip', 'install', '.']
    Command(test.writer, cmdargs, raises=True, cwd=dst_dir).run()

    # we also need some test stuff installed for sure in the venv
    cmdargs = ['pip', 'install', 'pylint', 'coverage']    
    Command(test.writer, cmdargs, raises=True, cwd=dst_dir).run()

    # also install test requirements if any
    if os.path.exists(join(dst_dir, 'requirements-test.txt')):
        cmdargs = ['pip', 'install',  '-r', 'requirements-test.txt']
        Command(test.writer, cmdargs, raises=True, cwd=dst_dir).run()

    # set the CW_CUBES_PATH environment variable
    CW_CUBES_PATH = []
    for spath in sys.path:
        egg = basename(spath)
        if egg.endswith('.egg') and egg.startswith('cubicweb_'):
            CW_CUBES_PATH.append(join(spath, 'share', 'cubicweb', 'cubes'))
    os.environ['CW_CUBES_PATH'] = os.pathsep.join(CW_CUBES_PATH)

    # report every installed packaged by pip
    p = re.compile(r'(?P<name>[a-zA-Z0-9-_.]+) +[(](?P<version>[a-zA-Z0-9-_.]+)[)]')
    for pipline in check_output(['pip', 'list']).splitlines():
        m = p.match(pipline)
        if m:
            test.writer.raw(m.group('name'), m.group('version'), 'version')
            
    # report env vars
    for k, v in os.environ.items():
        test.writer.raw(k, v, 'envvar')
    
    # ensure the project path is properly set
    test.project_path = lambda subpath=None, dst=dst_dir: dst_dir

    # arghh! hack for pycoverage
    with open(join(test.tmpdir, 'lib', 'python2.7', 'sitecustomize.py'), 'w') as f:
        f.write('''\
import coverage
coverage.process_startup()

from contextlib import contextmanager
import logilab.common.pytest
@contextmanager
def replace_trace(trace=None):
    yield
logilab.common.pytest.replace_trace = replace_trace

''')
    
    # (at last) run tests
    if registered('checker', 'pylint'): # pylint may not be available
        checker, status = test.run_checker('pylint')
    checker, status = test.run_checker('pyunit', pycoverage=True)

    if status > ERROR:
        checker, status = test.run_checker('pycoverage', 
                                 coverage_data=checker.coverage_data)

    checker, status = test.run_checker('lgp.check')
    build, status = test.run_checker('lgp.build')
    lintian, status = test.run_checker('lintian',
                                       changes_files=build.debian_changes)
    #    piuparts, status = test.run_checker('piuparts', changes_files=build.debian_changes)
    rsync, status = test.run_checker('jpl.rsync',
                                     changes_files=build.debian_changes,
                                     rpm_files=build.rpms)

version configuration

execution information

show 49 results
typelabelvalue
envvarAPYCOT_ROOT/tmp/tmpX32Oet
envvarCW_CUBES_PATH
envvarHOME/var/lib/narval
envvarLANGen_US.UTF-8
envvarLANGUAGEen_US:en
envvarLC_ALLfr_FR.UTF-8
envvarPATH/tmp/tmpX32Oet/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
envvarPYTHONPATH/usr/share/narval:/usr/share/narval
envvarVIRTUAL_ENV/tmp/tmpX32Oet
versionamqp1.4.9
versionanyjson0.3.3
versionapycot3.4.2
versionargparse1.2.1
versionastroid1.4.9
versionbackports.functools-lru-cache1.3
versionbilliard3.3.0.23
versioncelery3.1.25
versionconfigparser3.5.0
versioncoverage4.3.4
versioncubicweb3.24.5
versioncubicweb-celerytask0.4.1
versioncw-celerytask-helpers0.3.0
versionhtml2text2016.9.19
versionisort4.2.5
versionkombu3.0.37
versionlazy-object-proxy1.2.2
versionlinecache21.0.0
versionlogilab-common1.3.0
versionlogilab-constraint0.6.0
versionlogilab-database1.15.0
versionlogilab-mtconverter0.9.0
versionlxml3.7.3
versionMarkdown2.6.8
versionmccabe0.6.1
versionpasslib1.7.1
versionpip1.5.6
versionpylint1.6.5
versionpython-dateutil2.6.0
versionpytz2016.10
versionredis2.10.5
show 49 results
log
severitypath or commandlinemessage
 DEBUG  
Set LC_ALL=u'fr_FR.UTF-8'
 DEBUGvirtualenv /tmp/tmpX32Oet 
`virtualenv /tmp/tmpX32Oet` executed successfuly output: New python executable in /tmp/tmpX32Oet/bin/python2 Also creating executable in /tmp/tmpX32Oet/bin/python Installing setuptools, pip...done. Running virtualenv with interpreter /usr/bin/python2
 DEBUGpip install . 
 DEBUGpip install pylint coverage 
 DEBUG  
Set PYTHONPATH=u'/tmp/tmpX32Oet/local/share/cubicweb:/usr/share/narval:/usr/share/narval:/usr/share/narval:/usr/share/narval'
execution log
severitypath or commandlinemessage
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOengine.py133
fire transition start of https://www.cubicweb.org/17057682
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /17057753?vid=create_subentity&data_name=log_file.txt&_cw_fields=data_name%2C__cwetype__%2C__cwrel__%2Cdata_encoding&data_encoding=utf-8&__cwetype__=File&__cwrel__=reverse_log_file HTTP/1.1" 200 325
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py268
use setup package class format: PackageInfo
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py229
guessing distribution(s): stretch, jessie, epel-7-x86_64, sid
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py300
run subprocess command: python setup.py --name
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py300
run subprocess command: python setup.py --version
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGcheck.py226
applied checklist chain: ['check_manifest_in', 'check_debian_source_value', 'check_debian_rules', 'check_debian_env', 'check_changelog', 'check_tests_directory', 'check_builder', 'check_debian_changelog', 'check_pkginfo_copyright', 'check_release_number', 'check_debian_dir', 'check_package_info', 'check_debian_homepage', 'check_pydistutils', 'check_readme', 'check_debian_maintainer', 'check_debian_copying']
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
coverage.xml unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
cubicweb-celerytask.spec unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
tox.ini unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
test/data/schema.py unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
test/data/bootstrap_cubes unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
test/data/hooks.py unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
test/data/tasks/tasks.py unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
test/data/entities.py unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py520
test/data/migration/postcreate.py unmatched
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py294
to update changelog, please define DEBEMAIL or EMAIL environ variable
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py298
to update changelog, please define DEBFULLNAME or NAME environ variable
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py414
upstream ChangeLog file is missing
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py385
'Florent Cayre <florent.cayre@logilab.fr>' not found in Uploaders field
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py573
setup.py:4:copyright 2003-2016 LOGILAB S.A. test/pytestconf.py:1:copyright 2003-2010 LOGILAB S.A.
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py574
check copyright header of these previous files
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py351
retrieve debian version from debian/changelog: 0.4.1-1
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py408
upstream README[.rst|.md|.txt] file is missing
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057754&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFOcheck.py401
Maintainer value can be 'Logilab S.A. <contact@logilab.fr>'
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /17057753?status=success&endtime=2017-02-22+09%3A30%3A53.421251&_cw_fields=status%2Cendtime&vid=set_attributes HTTP/1.1" 200 2
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /17057682?status=processing&name=lgp.build&vid=create_subentity&_cw_fields=status%2Cname%2C__cwetype__%2Cstarttime%2C__cwrel__&__cwetype__=CheckResult&starttime=2017-02-22+09%3A30%3A53.485019&__cwrel__=during_execution HTTP/1.1" 200 253
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /17057755?vid=create_subentity&data_name=log_file.txt&_cw_fields=data_name%2C__cwetype__%2C__cwrel__%2Cdata_encoding&data_encoding=utf-8&__cwetype__=File&__cwrel__=reverse_log_file HTTP/1.1" 200 325
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py268
use setup package class format: PackageInfo
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py229
guessing distribution(s): stretch, jessie, epel-7-x86_64, sid
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py300
run subprocess command: python setup.py --name
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py300
run subprocess command: python setup.py --version
 INFOclean.py32
clean the project repository
 DEBUGsetupinfo.py300
run subprocess command: python setup.py clean --all
 DEBUG  
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it
 DEBUGutils.py247
using new build directory... (/tmp/tmpgkrKC8)
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py351
retrieve debian version from debian/changelog: 0.4.1-1
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py286
create pristine tarball from working directory
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py300
run subprocess command: python setup.py -q sdist -d /tmp/tmpgkrKC8
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGsetupinfo.py302
command substitutions: {'dist_dir': '/tmp/tmpgkrKC8'}
 DEBUG  
warning: no files found matching '*' under directory 'helpers' warning: no files found matching '*.gif' under directory 'data' warning: no files found matching '*.png' under directory 'data' warning: no files found matching '*.ico' under directory 'data' warning: no files found matching '*.css' under directory 'data' warning: no files found matching '*' under directory 'wdoc'
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py184
Attempting to build stretch
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py185
Going back to /tmp/tmpX32Oet/src/14928565
 DEBUGutils.py247
using new build directory... (/tmp/tmp_ysRRG)
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py719
copy pristine tarball to prepare Debian source package diff
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py725
extracting original source archive for stretch distribution in /tmp/tmp_ysRRG
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py791
suffix '~reveb7e7358519b' added to package version
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py408
Debian source package (format: 1.0) for 'stretch'
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py414
running dpkg-source command: dpkg-source --no-copy -b /tmp/tmp_ysRRG/cubicweb-celerytask-0.4.1 ...
 DEBUG  
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: warning: the diff modifies the following upstream files: /tmp/tmp_ysRRG/cubicweb-celerytask-0.4.1.orig/debian/changelog /tmp/tmp_ysRRG/cubicweb-celerytask-0.4.1.orig/debian/compat /tmp/tmp_ysRRG/cubicweb-celerytask-0.4.1.orig/debian/control /tmp/tmp_ysRRG/cubicweb-celerytask-0.4.1.orig/debian/copyright /tmp/tmp_ysRRG/cubicweb-celerytask-0.4.1.orig/debian/rules
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py423
create Debian source package files (.dsc, .diff.gz): cubicweb-celerytask_0.4.1-1~reveb7e7358519b.dsc
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py563
this build is arch-independent. Lgp will only build on architecture amd64
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py166
changing build context... (/tmp/tmpYjG6Cl)
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 None
 DEBUGbuild.py438
package builder flavour: 'pbuilder'
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py492
building binary debian package for 'stretch/amd64' using DEBBUILDOPTS options: '(none)' ...
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py494
running build command: sudo IMAGE=/var/cache/lgp/buildd/stretch-amd64.tgz DIST=stretch ARCH=amd64 pbuilder build --configfile /etc/lgp/pbuilderrc --buildresult /tmp/tmpYjG6Cl --hookdir /var/lib/logilab-packaging/hooks /tmp/tmp_ysRRG/cubicweb-celerytask_0.4.1-1~reveb7e7358519b.dsc ...
 DEBUG  
.......................
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py517
binary build(s) for 'stretch' finished in 23 seconds.
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py663
a build logfile is available: /tmp/tmpX32Oet/src/stretch/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64_stretch.lgp-build.log
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py665
Debian changes file: /tmp/tmpX32Oet/src/stretch/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64.changes
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py541
enable your gpg-agent to sign packages automatically
 DEBUG  
gpg: skipped "D29E200B9B919990": unusable secret key gpg: /tmp/debsign.Z37xI2U5/cubicweb-celerytask_0.4.1-1~reveb7e7358519b.dsc: clearsign failed: unusable secret key debsign: gpg error occurred! Aborting....
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 ERRORbuild.py595
lgp cannot debsign '/tmp/tmpYjG6Cl/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64.changes' automatically
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 ERRORbuild.py597
You have to run manually: debsign /tmp/tmpX32Oet/src/stretch/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64.changes
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py184
Attempting to build jessie
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py185
Going back to /tmp/tmpX32Oet/src/14928565
 DEBUGutils.py247
using new build directory... (/tmp/tmpktNAcr)
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py719
copy pristine tarball to prepare Debian source package diff
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py725
extracting original source archive for jessie distribution in /tmp/tmpktNAcr
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py791
suffix '~reveb7e7358519b' added to package version
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py408
Debian source package (format: 1.0) for 'jessie'
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py414
running dpkg-source command: dpkg-source --no-copy -b /tmp/tmpktNAcr/cubicweb-celerytask-0.4.1 ...
 DEBUG  
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: warning: the diff modifies the following upstream files: /tmp/tmpktNAcr/cubicweb-celerytask-0.4.1.orig/debian/changelog /tmp/tmpktNAcr/cubicweb-celerytask-0.4.1.orig/debian/compat /tmp/tmpktNAcr/cubicweb-celerytask-0.4.1.orig/debian/control /tmp/tmpktNAcr/cubicweb-celerytask-0.4.1.orig/debian/copyright /tmp/tmpktNAcr/cubicweb-celerytask-0.4.1.orig/debian/rules
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py423
create Debian source package files (.dsc, .diff.gz): cubicweb-celerytask_0.4.1-1~reveb7e7358519b.dsc
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py563
this build is arch-independent. Lgp will only build on architecture amd64
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py166
changing build context... (/tmp/tmpksmXYM)
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py438
package builder flavour: 'pbuilder'
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py492
building binary debian package for 'jessie/amd64' using DEBBUILDOPTS options: '(none)' ...
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py494
running build command: sudo IMAGE=/var/cache/lgp/buildd/jessie-amd64.tgz DIST=jessie ARCH=amd64 pbuilder build --configfile /etc/lgp/pbuilderrc --buildresult /tmp/tmpksmXYM --hookdir /var/lib/logilab-packaging/hooks /tmp/tmpktNAcr/cubicweb-celerytask_0.4.1-1~reveb7e7358519b.dsc ...
 DEBUG  
........................
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py517
binary build(s) for 'jessie' finished in 24 seconds.
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py663
a build logfile is available: /tmp/tmpX32Oet/src/jessie/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64_jessie.lgp-build.log
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py665
Debian changes file: /tmp/tmpX32Oet/src/jessie/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64.changes
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 WARNINGcheck.py541
enable your gpg-agent to sign packages automatically
 DEBUG  
gpg: skipped "D29E200B9B919990": unusable secret key gpg: /tmp/debsign.pqKgVdZG/cubicweb-celerytask_0.4.1-1~reveb7e7358519b.dsc: clearsign failed: unusable secret key debsign: gpg error occurred! Aborting....
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 ERRORbuild.py595
lgp cannot debsign '/tmp/tmpksmXYM/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64.changes' automatically
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 ERRORbuild.py597
You have to run manually: debsign /tmp/tmpX32Oet/src/jessie/cubicweb-celerytask_0.4.1-1~reveb7e7358519b_amd64.changes
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFObuild.py184
Attempting to build epel-7-x86_64
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py185
Going back to /tmp/tmpX32Oet/src/14928565
 DEBUGutils.py247
using new build directory... (/tmp/tmpkHglET)
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 DEBUGbuild.py363
running mock command: sudo mock --buildsrpm --spec /tmp/tmpX32Oet/src/14928565/cubicweb-celerytask.spec --resultdir /tmp/tmpkHglET -r epel-7-x86_64 --uniqueext 3556 --sources /tmp/tmpgkrKC8 ...
 DEBUG  
 WARNINGexceptions.py29
command 'sudo mock --buildsrpm --spec /tmp/tmpX32Oet/src/14928565/cubicweb-celerytask.spec --resultdir /tmp/tmpkHglET -r epel-7-x86_64 --uniqueext 3556 --sources /tmp/tmpgkrKC8' returned non-zero exit status 1
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 FATALbuild.py218
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/logilab/packaging/lgp/build.py", line 194, in run srpm = self.make_rpm_source_package(specfile, distrib, src_tmpdir) File "/usr/lib/python2.7/dist-packages/logilab/packaging/lgp/build.py", line 367, in make_rpm_source_package raise LGPCommandException(msg, err) LGPCommandException: cannot build valid srpm file with command ['sudo', 'mock', '--buildsrpm', '--spec', '/tmp/tmpX32Oet/src/14928565/cubicweb-celerytask.spec', '--resultdir', '/tmp/tmpkHglET', '-r', 'epel-7-x86_64', '--uniqueext', '3556', '--sources', '/tmp/tmpgkrKC8']
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /narval-file-append?eid=17057756&_cw_fields=eid%2Cdata HTTP/1.1" 200 4
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /17057755?status=error&endtime=2017-02-22+09%3A32%3A18.383833&_cw_fields=status%2Cendtime&vid=set_attributes HTTP/1.1" 200 2
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"POST /17057682?status=error&_cw_fields=status&vid=set_attributes HTTP/1.1" 200 2
 ERRORengine.py110
Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/narvalbot/engine.py", line 102, in _run_plan narvalplan.run() File "/usr/lib/python2.7/dist-packages/narvalbot/engine.py", line 140, in run execfile(f.name, {'plan': self}) File "/tmp/tmpKZJsL1.py", line 113, in <module> AttributeError: 'LgpBuildChecker' object has no attribute 'debian_changes'
 INFOengine.py133
fire transition fail of https://www.cubicweb.org/17057682
 INFOconnectionpool.py697
Starting new HTTPS connection (1): www.cubicweb.org
 DEBUGconnectionpool.py362
"GET /17057682?trname=fail&vid=fire_transition&_cw_fields=trname HTTP/1.1" 200 2
 DEBUG