Build failed in Jenkins: raring-adt-python-cffi » amd64,adt #8

Jenkins Notification devnull at canonical.com
Sun Mar 31 00:27:29 UTC 2013


See <http://10.189.74.2:8080/job/raring-adt-python-cffi/./ARCH=amd64,label=adt/8/>

------------------------------------------
[...truncated 403514 lines...]
        site_packages = None
        for dirpath, dirnames, filenames in os.walk(str(tmpdir)):
            if os.path.basename(dirpath) == 'site-packages':
                site_packages = dirpath
                break
        if site_packages:
            for module in ('cffi', '_cffi_backend', 'pycparser', 'ply'):
                target = imp.find_module(module)[1]
                os.symlink(target, os.path.join(site_packages,
>                                               os.path.basename(target)))
E               FileExistsError: [Errno 17] File exists: '/tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_1-cpy/lib/python3.3/site-packages/cffi'

testing/test_zintegration.py:24: FileExistsError
------------------------------- Captured stdout --------------------------------
Using base prefix '/usr'
Cannot find file /usr/include/x86_64-linux-gnu/python3.3m (bad symlink)
New python executable in /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_1-cpy/bin/python3
Not overwriting existing python script /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_1-cpy/bin/python (you must use /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_1-cpy/bin/python3)
Installing distribute..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Installing pip................done.
Running virtualenv with interpreter /usr/bin/python3
___________________________ test_distutils_package_2 ___________________________

    def test_distutils_package_2():
        run_setup_and_program("distutils_package_2", '''
        import snip_basic_verify2
        p = snip_basic_verify2.C.getpwuid(0)
        assert snip_basic_verify2.ffi.string(p.pw_name) == b"root"
>       ''')

testing/test_zintegration.py:85: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

dirname = 'distutils_package_2'
python_snippet = '\n    import snip_basic_verify2\n    p = snip_basic_verify2.C.getpwuid(0)\n    assert snip_basic_verify2.ffi.string(p.pw_name) == b"root"\n    '

    def run_setup_and_program(dirname, python_snippet):
>       venv_dir = create_venv(dirname + '-cpy')

testing/test_zintegration.py:50: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'distutils_package_2-cpy'

    def create_venv(name):
        tmpdir = udir.join(name)
        try:
            subprocess.check_call(['virtualenv', '--distribute',
                                   '-p', sys.executable,
                                   str(tmpdir)])
        except OSError as e:
            py.test.skip("Cannot execute virtualenv: %s" % (e,))
    
        site_packages = None
        for dirpath, dirnames, filenames in os.walk(str(tmpdir)):
            if os.path.basename(dirpath) == 'site-packages':
                site_packages = dirpath
                break
        if site_packages:
            for module in ('cffi', '_cffi_backend', 'pycparser', 'ply'):
                target = imp.find_module(module)[1]
                os.symlink(target, os.path.join(site_packages,
>                                               os.path.basename(target)))
E               FileExistsError: [Errno 17] File exists: '/tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_2-cpy/lib/python3.3/site-packages/cffi'

testing/test_zintegration.py:24: FileExistsError
------------------------------- Captured stdout --------------------------------
Using base prefix '/usr'
Cannot find file /usr/include/x86_64-linux-gnu/python3.3m (bad symlink)
New python executable in /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_2-cpy/bin/python3
Not overwriting existing python script /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_2-cpy/bin/python (you must use /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/distutils_package_2-cpy/bin/python3)
Installing distribute..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Installing pip................done.
Running virtualenv with interpreter /usr/bin/python3
____________________________ test_setuptools_module ____________________________

    def test_setuptools_module():
        run_setup_and_program("setuptools_module", '''
        import snip_setuptools_verify
        p = snip_setuptools_verify.C.getpwuid(0)
        assert snip_setuptools_verify.ffi.string(p.pw_name) == b"root"
>       ''')

testing/test_zintegration.py:92: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

dirname = 'setuptools_module'
python_snippet = '\n    import snip_setuptools_verify\n    p = snip_setuptools_verify.C.getpwuid(0)\n    assert snip_setuptools_verify.ffi.string(p.pw_name) == b"root"\n    '

    def run_setup_and_program(dirname, python_snippet):
>       venv_dir = create_venv(dirname + '-cpy')

testing/test_zintegration.py:50: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'setuptools_module-cpy'

    def create_venv(name):
        tmpdir = udir.join(name)
        try:
            subprocess.check_call(['virtualenv', '--distribute',
                                   '-p', sys.executable,
                                   str(tmpdir)])
        except OSError as e:
            py.test.skip("Cannot execute virtualenv: %s" % (e,))
    
        site_packages = None
        for dirpath, dirnames, filenames in os.walk(str(tmpdir)):
            if os.path.basename(dirpath) == 'site-packages':
                site_packages = dirpath
                break
        if site_packages:
            for module in ('cffi', '_cffi_backend', 'pycparser', 'ply'):
                target = imp.find_module(module)[1]
                os.symlink(target, os.path.join(site_packages,
>                                               os.path.basename(target)))
E               FileExistsError: [Errno 17] File exists: '/tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_module-cpy/lib/python3.3/site-packages/cffi'

testing/test_zintegration.py:24: FileExistsError
------------------------------- Captured stdout --------------------------------
Using base prefix '/usr'
Cannot find file /usr/include/x86_64-linux-gnu/python3.3m (bad symlink)
New python executable in /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_module-cpy/bin/python3
Not overwriting existing python script /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_module-cpy/bin/python (you must use /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_module-cpy/bin/python3)
Installing distribute..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Installing pip................done.
Running virtualenv with interpreter /usr/bin/python3
__________________________ test_setuptools_package_1 ___________________________

    def test_setuptools_package_1():
        run_setup_and_program("setuptools_package_1", '''
        import snip_setuptools_verify1
        p = snip_setuptools_verify1.C.getpwuid(0)
        assert snip_setuptools_verify1.ffi.string(p.pw_name) == b"root"
>       ''')

testing/test_zintegration.py:99: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

dirname = 'setuptools_package_1'
python_snippet = '\n    import snip_setuptools_verify1\n    p = snip_setuptools_verify1.C.getpwuid(0)\n    assert snip_setuptools_verify1.ffi.string(p.pw_name) == b"root"\n    '

    def run_setup_and_program(dirname, python_snippet):
>       venv_dir = create_venv(dirname + '-cpy')

testing/test_zintegration.py:50: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'setuptools_package_1-cpy'

    def create_venv(name):
        tmpdir = udir.join(name)
        try:
            subprocess.check_call(['virtualenv', '--distribute',
                                   '-p', sys.executable,
                                   str(tmpdir)])
        except OSError as e:
            py.test.skip("Cannot execute virtualenv: %s" % (e,))
    
        site_packages = None
        for dirpath, dirnames, filenames in os.walk(str(tmpdir)):
            if os.path.basename(dirpath) == 'site-packages':
                site_packages = dirpath
                break
        if site_packages:
            for module in ('cffi', '_cffi_backend', 'pycparser', 'ply'):
                target = imp.find_module(module)[1]
                os.symlink(target, os.path.join(site_packages,
>                                               os.path.basename(target)))
E               FileExistsError: [Errno 17] File exists: '/tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_1-cpy/lib/python3.3/site-packages/cffi'

testing/test_zintegration.py:24: FileExistsError
------------------------------- Captured stdout --------------------------------
Using base prefix '/usr'
Cannot find file /usr/include/x86_64-linux-gnu/python3.3m (bad symlink)
New python executable in /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_1-cpy/bin/python3
Not overwriting existing python script /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_1-cpy/bin/python (you must use /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_1-cpy/bin/python3)
Installing distribute..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Installing pip................done.
Running virtualenv with interpreter /usr/bin/python3
__________________________ test_setuptools_package_2 ___________________________

    def test_setuptools_package_2():
        run_setup_and_program("setuptools_package_2", '''
        import snip_setuptools_verify2
        p = snip_setuptools_verify2.C.getpwuid(0)
        assert snip_setuptools_verify2.ffi.string(p.pw_name) == b"root"
>       ''')

testing/test_zintegration.py:106: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

dirname = 'setuptools_package_2'
python_snippet = '\n    import snip_setuptools_verify2\n    p = snip_setuptools_verify2.C.getpwuid(0)\n    assert snip_setuptools_verify2.ffi.string(p.pw_name) == b"root"\n    '

    def run_setup_and_program(dirname, python_snippet):
>       venv_dir = create_venv(dirname + '-cpy')

testing/test_zintegration.py:50: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'setuptools_package_2-cpy'

    def create_venv(name):
        tmpdir = udir.join(name)
        try:
            subprocess.check_call(['virtualenv', '--distribute',
                                   '-p', sys.executable,
                                   str(tmpdir)])
        except OSError as e:
            py.test.skip("Cannot execute virtualenv: %s" % (e,))
    
        site_packages = None
        for dirpath, dirnames, filenames in os.walk(str(tmpdir)):
            if os.path.basename(dirpath) == 'site-packages':
                site_packages = dirpath
                break
        if site_packages:
            for module in ('cffi', '_cffi_backend', 'pycparser', 'ply'):
                target = imp.find_module(module)[1]
                os.symlink(target, os.path.join(site_packages,
>                                               os.path.basename(target)))
E               FileExistsError: [Errno 17] File exists: '/tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_2-cpy/lib/python3.3/site-packages/cffi'

testing/test_zintegration.py:24: FileExistsError
------------------------------- Captured stdout --------------------------------
Using base prefix '/usr'
Cannot find file /usr/include/x86_64-linux-gnu/python3.3m (bad symlink)
New python executable in /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_2-cpy/bin/python3
Not overwriting existing python script /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_2-cpy/bin/python (you must use /tmp/tmp.D2so7UeTn7/dsc0t-unittests3-testtmp/tmpdir/ffi-0/setuptools_package_2-cpy/bin/python3)
Installing distribute..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Installing pip................done.
Running virtualenv with interpreter /usr/bin/python3
============= 210 failed, 680 passed, 40 skipped in 697.40 seconds =============
adt-run: trace: & dsc0t-unittests3: ----------------------------------------]
adt-run: trace1: ** needs_reset, previously=False
adt-run: trace: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests done.
adt-run: trace: ** stop
adt-run: trace: ** close, scratch=tb-scratch~/tmp/tmp.D2so7UeTn7:-/|/tmp/tmp.D2so7UeTn7/!
2013-03-31 00:27:25: Failure: adt-run exited with status 4.
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of known hosts.
2013-03-31 00:27:27: Info: Test artifacts copied to <http://10.189.74.2:8080/job/raring-adt-python-cffi/./ARCH=amd64,label=adt/ws/results>
2013-03-31 00:27:27: Info: Updating Jenkins results
Pseudo-terminal will not be allocated because stdin is not a terminal.
Warning: Permanently added '[localhost]:54323' (ECDSA) to the list of known hosts.
2013-03-31 00:27:28: Info: Cleaning up
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the ubuntu-testing-notifications mailing list