Build failed in Jenkins: pgadmin4-master-python33 #663

From: pgAdmin 4 Jenkins <jenkins(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org, ashesh(dot)vashi(at)enterprisedb(dot)com, dpage(at)pgadmin(dot)org
Subject: Build failed in Jenkins: pgadmin4-master-python33 #663
Date: 2018-06-18 16:07:42
Message-ID: 921442952.307.1529338062792.JavaMail.jenkins@jenkins.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

See <https://jenkins.pgadmin.org/job/pgadmin4-master-python33/663/display/redirect>

------------------------------------------
[...truncated 8.51 KB...]
Cache entry deserialization failed, entry ignored
Collecting Flask-Paranoid==0.2.0 (from -r requirements.txt (line 30))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/0e/14/359033a218c5403872e11ff7267e6c638c0279067fa932d93653188f4052/Flask_Paranoid-0.2.0-py2.py3-none-any.whl
Collecting psycopg2>=2.7.4 (from -r requirements.txt (line 35))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/b2/c1/7bf6c464e903ffc4f3f5907c389e5a4199666bf57f6cd6bf46c17912a1f9/psycopg2-2.7.5.tar.gz
Collecting python-dateutil>=2.7.1 (from -r requirements.txt (line 36))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl
Collecting htmlmin==0.1.12 (from -r requirements.txt (line 37))
Cache entry deserialization failed, entry ignored
Collecting Flask-HTMLmin==1.3.2 (from -r requirements.txt (line 38))
Cache entry deserialization failed, entry ignored
Collecting SQLAlchemy>=1.2.5 (from -r requirements.txt (line 39))
Cache entry deserialization failed, entry ignored
Collecting Flask-Security>=3.0.0 (from -r requirements.txt (line 40))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/88/47/4908a5040120768ff4fb2465c7eeafeb9239c27d2919bd67c4ccc1b43e14/Flask_Security-3.0.0-py2.py3-none-any.whl
Collecting sshtunnel>=0.1.3 (from -r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Collecting testtools>=0.9.22 (from fixtures==3.0.0->-r requirements.txt (line 8))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/87/74/a4d55da28d7bba6d6f49430f22a62afd8472cb24a63fa61daef80d3e821b/testtools-2.3.0-py2.py3-none-any.whl
Collecting Werkzeug>=0.7 (from Flask==0.12.2->-r requirements.txt (line 9))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl
Collecting Jinja2>=2.4 (from Flask==0.12.2->-r requirements.txt (line 9))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting itsdangerous>=0.21 (from Flask==0.12.2->-r requirements.txt (line 9))
Cache entry deserialization failed, entry ignored
Collecting click>=2.0 (from Flask==0.12.2->-r requirements.txt (line 9))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting alembic>=0.6 (from Flask-Migrate==2.1.1->-r requirements.txt (line 13))
Cache entry deserialization failed, entry ignored
Collecting webencodings (from html5lib==1.0.1->-r requirements.txt (line 17))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting Flask-BabelEx>=0.9.3 (from Flask-Security>=3.0.0->-r requirements.txt (line 40))
Cache entry deserialization failed, entry ignored
Collecting paramiko>=1.15.2 (from sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/3e/db/cb7b6656e0e7387637ce850689084dc0b94b44df31cc52e5fc5c2c4fd2c1/paramiko-2.4.1-py2.py3-none-any.whl
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==3.0.0->-r requirements.txt (line 8))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/72/20/7f0f433060a962200b7272b8c12ba90ef5b903e218174301d0abfd523813/unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==3.0.0->-r requirements.txt (line 8))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/17/0a/6ac05a3723017a967193456a2efa0aa9ac4b51456891af1e2353bb9de21e/traceback2-1.4.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2>=2.4->Flask==0.12.2->-r requirements.txt (line 9))
Cache entry deserialization failed, entry ignored
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.1.1->-r requirements.txt (line 13))
Cache entry deserialization failed, entry ignored
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.1.1->-r requirements.txt (line 13))
Cache entry deserialization failed, entry ignored
Collecting Babel>=1.0 (from Flask-BabelEx>=0.9.3->Flask-Security>=3.0.0->-r requirements.txt (line 40))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/94/03/14e68ad12e771a79cf96792f7158d68a7b3d8c7b2badf39e9ef1f65b57d6/Babel-2.5.3-py2.py3-none-any.whl
Collecting bcrypt>=3.1.3 (from paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/eb/3b/5bf2027d4758bc57750919c8918226d39527980d781d367483a2b5c6c6b9/bcrypt-3.1.4-cp33-cp33m-manylinux1_x86_64.whl
Collecting pyasn1>=0.1.7 (from paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/a0/70/2c27740f08e477499ce19eefe05dbcae6f19fdc49e9e82ce4768be0643b9/pyasn1-0.4.3-py2.py3-none-any.whl
Collecting pynacl>=1.0.1 (from paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Collecting cryptography>=1.5 (from paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==3.0.0->-r requirements.txt (line 8))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl
Collecting cffi>=1.1 (from bcrypt>=3.1.3->paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/11/01/61405d55140631801eb33d6bc37e5d622b27163102d5b93411da246b7bec/cffi-1.11.5-cp33-cp33m-manylinux1_x86_64.whl
Collecting idna>=2.1 (from cryptography>=1.5->paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.5->paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting pycparser (from cffi>=1.1->bcrypt>=3.1.3->paramiko>=1.15.2->sshtunnel>=0.1.3->-r requirements.txt (line 41))
Cache entry deserialization failed, entry ignored
Building wheels for collected packages: psycopg2
Running setup.py bdist_wheel for psycopg2: started
Running setup.py bdist_wheel for psycopg2: finished with status 'error'
Complete output from command <https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/pgadmin-venv/bin/python3> -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-b8e694/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-b45jjk --python-tag cp33:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.3
creating build/lib.linux-x86_64-3.3/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/sql.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/_ipaddress.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/_range.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/__init__.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/psycopg1.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/_json.py -> build/lib.linux-x86_64-3.3/psycopg2
creating build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_async_keyword.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_quote.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_lobject.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_green.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_connection.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_sql.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_errcodes.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_bug_gc.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_cancel.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_fast_executemany.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/__init__.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_dates.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_bugX000.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/testconfig.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_async.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_copy.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_ipaddress.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_types_basic.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_transaction.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_types_extras.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_replication.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_notify.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_module.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_cursor.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/testutils.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_with.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/dbapi20.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-3.3
creating build/temp.linux-x86_64-3.3/psycopg
gcc -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION=2.7.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100000 -DHAVE_LO64=1 -I/usr/local/python-3.3/include/python3.3m -I. -I/usr/pgsql-10/include -I/usr/pgsql-10/include/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.3/psycopg/psycopgmodule.o -Wdeclaration-after-statement
In file included from psycopg/psycopgmodule.c:27:0:
./psycopg/psycopg.h:35:22: fatal error: libpq-fe.h: No such file or directory
#include <libpq-fe.h>
^
compilation terminated.

It appears you are missing some prerequisite to build the package from source.

You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.

For further information please check the 'doc/src/install.rst' file (also at
<http://initd.org/psycopg/docs/install.html>).

error: command 'gcc' failed with exit status 1

----------------------------------------
Failed building wheel for psycopg2
Running setup.py clean for psycopg2
Failed to build psycopg2
Installing collected packages: blinker, extras, six, pbr, linecache2, traceback2, argparse, unittest2, python-mimeparse, testtools, fixtures, Werkzeug, MarkupSafe, Jinja2, itsdangerous, click, Flask, Flask-Gravatar, Flask-Login, Flask-Mail, SQLAlchemy, Flask-SQLAlchemy, Mako, python-dateutil, python-editor, alembic, Flask-Migrate, Flask-Principal, WTForms, Flask-WTF, webencodings, html5lib, passlib, pycrypto, pyrsistent, pytz, simplejson, speaklater, sqlparse, Flask-Paranoid, psycopg2, htmlmin, Flask-HTMLmin, Babel, Flask-BabelEx, Flask-Security, pycparser, cffi, bcrypt, pyasn1, pynacl, idna, asn1crypto, cryptography, paramiko, sshtunnel
Running setup.py install for psycopg2: started
Running setup.py install for psycopg2: finished with status 'error'
Complete output from command <https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/pgadmin-venv/bin/python3> -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-b8e694/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-qg5zqc/install-record.txt --single-version-externally-managed --compile --install-headers <https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/pgadmin-venv/include/site/python3.3/psycopg2>:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.3
creating build/lib.linux-x86_64-3.3/psycopg2
copying lib/pool.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/errorcodes.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/sql.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/extras.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/_ipaddress.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/_range.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/__init__.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/extensions.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/psycopg1.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/tz.py -> build/lib.linux-x86_64-3.3/psycopg2
copying lib/_json.py -> build/lib.linux-x86_64-3.3/psycopg2
creating build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_async_keyword.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_quote.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_lobject.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_green.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_connection.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_sql.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_errcodes.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_bug_gc.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_cancel.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_fast_executemany.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/__init__.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_dates.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_bugX000.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/testconfig.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_async.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_copy.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_ipaddress.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_types_basic.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_transaction.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_types_extras.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_replication.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_notify.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_module.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_cursor.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/testutils.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/test_with.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
copying tests/dbapi20.py -> build/lib.linux-x86_64-3.3/psycopg2/tests
Skipping implicit fixer: buffer
Skipping implicit fixer: idioms
Skipping implicit fixer: set_literal
Skipping implicit fixer: ws_comma
running build_ext
building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-3.3
creating build/temp.linux-x86_64-3.3/psycopg
gcc -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION=2.7.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=100000 -DHAVE_LO64=1 -I/usr/local/python-3.3/include/python3.3m -I. -I/usr/pgsql-10/include -I/usr/pgsql-10/include/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.3/psycopg/psycopgmodule.o -Wdeclaration-after-statement
In file included from psycopg/psycopgmodule.c:27:0:
./psycopg/psycopg.h:35:22: fatal error: libpq-fe.h: No such file or directory
#include <libpq-fe.h>
^
compilation terminated.

It appears you are missing some prerequisite to build the package from source.

You may install a binary package by installing 'psycopg2-binary' from PyPI.
If you want to install psycopg2 from source, please install the packages
required for the build and try again.

For further information please check the 'doc/src/install.rst' file (also at
<http://initd.org/psycopg/docs/install.html>).

error: command 'gcc' failed with exit status 1

----------------------------------------
Command "<https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/pgadmin-venv/bin/python3> -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-b8e694/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-qg5zqc/install-record.txt --single-version-externally-managed --compile --install-headers <https://jenkins.pgadmin.org/job/pgadmin4-master-python33/ws/pgadmin-venv/include/site/python3.3/psycopg2"> failed with error code 1 in /tmp/pip-install-b8e694/psycopg2/
ERROR: Failed to install the application requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-06-18 16:51:48 pgAdmin 4 commit: README update
Previous Message Akshay Joshi 2018-06-18 13:38:01 [pgadmin4][Patch]: RM #3361 Create database dialog does not show template0 and template1 database in Template dropdown