Thread: Build failed in Jenkins: pgadmin4-master-python26 #683
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/683/display/redirect?page=changes> Changes: [Dave Page] Update Python and JS modules. Fixes #3154 [Dave Page] Refactor and simplify query tool connection error handling code. Fixes ------------------------------------------ Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change [EnvInject] - Loading node environment variables. Building in workspace <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git://git.postgresql.org/git/pgadmin4.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git://git.postgresql.org/git/pgadmin4.git > git --version # timeout=10 > git fetch --tags --progress git://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision a705fb46a8df9d4db072894d8214a568c38a341a (origin/master) Commit message: "Refactor and simplify query tool connection error handling code. Fixes #3235" > git config core.sparsecheckout # timeout=10 > git checkout -f a705fb46a8df9d4db072894d8214a568c38a341a > git rev-list fc886cf8bb51987fb77b3e2b5553c401ed5b24be # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content PYTHON_VERSION=2.6 [EnvInject] - Variables injected successfully. [pgadmin4-master-python26] $ /bin/sh -xe /tmp/jenkins3573151566282344532.sh + <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/ci/ci_runner.sh> EXECUTING: Create pgAdmin config EXECUTING: Python tests Creating Python 2.6 virtual environment... New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/bin/python> Installing setuptools, pip...done. Running virtualenv with interpreter /usr/local/python-2.6/bin/python DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pipwill drop support for Python 2.6 Collecting wheel==0.29.0 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:339: SNIMissingWarning:An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not availableon this platform. This may cause the server to present an incorrect TLS certificate, which can cause validationfailures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:137: InsecurePlatformWarning:A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriatelyand may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. Formore information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning Using cached wheel-0.29.0-py2.py3-none-any.whl Collecting argparse; python_version == "2.6" (from wheel==0.29.0) Using cached argparse-1.4.0-py2.py3-none-any.whl Installing collected packages: argparse, wheel Successfully installed argparse-1.4.0 wheel-0.29.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pipwill drop support for Python 2.6 Ignoring Flask-HTMLmin: markers 'python_version >= "2.7"' don't match your environment Ignoring psycopg2: markers 'python_version >= "2.7"' don't match your environment Ignoring pycryptodome: markers 'python_version >= "2.7"' don't match your environment Collecting blinker==1.4 (from -r requirements.txt (line 4)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:339: SNIMissingWarning:An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not availableon this platform. This may cause the server to present an incorrect TLS certificate, which can cause validationfailures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:137: InsecurePlatformWarning:A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriatelyand may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. Formore information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning Using cached blinker-1.4.tar.gz Collecting extras==1.0.0 (from -r requirements.txt (line 5)) Using cached extras-1.0.0-py2.py3-none-any.whl Collecting fixtures==3.0.0 (from -r requirements.txt (line 6)) Using cached fixtures-3.0.0-py2.py3-none-any.whl Collecting Flask==0.12.2 (from -r requirements.txt (line 7)) Using cached Flask-0.12.2-py2.py3-none-any.whl Collecting Flask-Gravatar==0.5.0 (from -r requirements.txt (line 8)) Using cached Flask_Gravatar-0.5.0-py2.py3-none-any.whl Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 10)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 11)) Collecting Flask-Migrate==2.1.1 (from -r requirements.txt (line 12)) Using cached Flask_Migrate-2.1.1-py2.py3-none-any.whl Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 13)) Collecting Flask-Security==3.0.0 (from -r requirements.txt (line 14)) Using cached Flask_Security-3.0.0-py2.py3-none-any.whl Collecting Flask-SQLAlchemy==2.3.2 (from -r requirements.txt (line 15)) Using cached Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl Collecting Flask-WTF==0.14.2 (from -r requirements.txt (line 16)) Using cached Flask_WTF-0.14.2-py2.py3-none-any.whl Collecting html5lib==1.0.1 (from -r requirements.txt (line 17)) Using cached html5lib-1.0.1-py2.py3-none-any.whl Collecting importlib==1.0.3 (from -r requirements.txt (line 18)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 19)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting ordereddict (from -r requirements.txt (line 20)) Collecting passlib==1.7.1 (from -r requirements.txt (line 21)) Using cached passlib-1.7.1-py2.py3-none-any.whl Collecting pbr==3.1.1 (from -r requirements.txt (line 22)) Using cached pbr-3.1.1-py2.py3-none-any.whl Collecting psycopg2==2.7.3.2 (from -r requirements.txt (line 24)) Using cached psycopg2-2.7.3.2-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 25)) Collecting pyrsistent==0.14.2 (from -r requirements.txt (line 27)) Using cached pyrsistent-0.14.2.tar.gz Collecting python-dateutil==2.7.1 (from -r requirements.txt (line 28)) Could not find a version that satisfies the requirement python-dateutil==2.7.1 (from -r requirements.txt (line 28)) (fromversions: 1.4, 1.4.1, 1.5, 2.1, 2.2, 2.3, 2.4.0, 2.4.1, 2.4.1.post1, 2.4.2, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0, 2.6.1) No matching distribution found for python-dateutil==2.7.1 (from -r requirements.txt (line 28)) ERROR: Failed to install the application requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/684/display/redirect?page=changes> Changes: [Dave Page] Fix requirements for Python 2.6. ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building in workspace <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git://git.postgresql.org/git/pgadmin4.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git://git.postgresql.org/git/pgadmin4.git > git --version # timeout=10 > git fetch --tags --progress git://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision b7c86da58605a7e9f474b1a9f4508d9bfc0bdff6 (origin/master) Commit message: "Fix requirements for Python 2.6." > git config core.sparsecheckout # timeout=10 > git checkout -f b7c86da58605a7e9f474b1a9f4508d9bfc0bdff6 > git rev-list a705fb46a8df9d4db072894d8214a568c38a341a # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content PYTHON_VERSION=2.6 [EnvInject] - Variables injected successfully. [pgadmin4-master-python26] $ /bin/sh -xe /tmp/jenkins2681685343742123919.sh + <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/ci/ci_runner.sh> EXECUTING: Create pgAdmin config EXECUTING: Python tests Creating Python 2.6 virtual environment... New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/bin/python> Installing setuptools, pip...done. Running virtualenv with interpreter /usr/local/python-2.6/bin/python DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pipwill drop support for Python 2.6 Collecting wheel==0.29.0 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:339: SNIMissingWarning:An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not availableon this platform. This may cause the server to present an incorrect TLS certificate, which can cause validationfailures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:137: InsecurePlatformWarning:A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriatelyand may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. Formore information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning Using cached wheel-0.29.0-py2.py3-none-any.whl Collecting argparse; python_version == "2.6" (from wheel==0.29.0) Using cached argparse-1.4.0-py2.py3-none-any.whl Installing collected packages: argparse, wheel Successfully installed argparse-1.4.0 wheel-0.29.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pipwill drop support for Python 2.6 Ignoring psycopg2: markers 'python_version >= "2.7"' don't match your environment Ignoring pycryptodome: markers 'python_version >= "2.7"' don't match your environment Ignoring python-dateutil: markers 'python_version >= "2.7"' don't match your environment Ignoring Flask-HTMLmin: markers 'python_version >= "2.7"' don't match your environment Collecting blinker==1.4 (from -r requirements.txt (line 6)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:339: SNIMissingWarning:An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not availableon this platform. This may cause the server to present an incorrect TLS certificate, which can cause validationfailures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:137: InsecurePlatformWarning:A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriatelyand may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. Formore information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning Using cached blinker-1.4.tar.gz Collecting extras==1.0.0 (from -r requirements.txt (line 7)) Using cached extras-1.0.0-py2.py3-none-any.whl Collecting fixtures==3.0.0 (from -r requirements.txt (line 8)) Using cached fixtures-3.0.0-py2.py3-none-any.whl Collecting Flask==0.12.2 (from -r requirements.txt (line 9)) Using cached Flask-0.12.2-py2.py3-none-any.whl Collecting Flask-Gravatar==0.5.0 (from -r requirements.txt (line 10)) Using cached Flask_Gravatar-0.5.0-py2.py3-none-any.whl Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 11)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 12)) Collecting Flask-Migrate==2.1.1 (from -r requirements.txt (line 13)) Using cached Flask_Migrate-2.1.1-py2.py3-none-any.whl Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 14)) Collecting Flask-Security==3.0.0 (from -r requirements.txt (line 15)) Using cached Flask_Security-3.0.0-py2.py3-none-any.whl Collecting Flask-SQLAlchemy==2.3.2 (from -r requirements.txt (line 16)) Using cached Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl Collecting Flask-WTF==0.14.2 (from -r requirements.txt (line 17)) Using cached Flask_WTF-0.14.2-py2.py3-none-any.whl Collecting html5lib==1.0.1 (from -r requirements.txt (line 18)) Using cached html5lib-1.0.1-py2.py3-none-any.whl Collecting linecache2==1.0.0 (from -r requirements.txt (line 19)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting passlib==1.7.1 (from -r requirements.txt (line 20)) Using cached passlib-1.7.1-py2.py3-none-any.whl Collecting pbr==3.1.1 (from -r requirements.txt (line 21)) Using cached pbr-3.1.1-py2.py3-none-any.whl Collecting pyrsistent==0.14.2 (from -r requirements.txt (line 22)) Using cached pyrsistent-0.14.2.tar.gz Collecting python-mimeparse==1.6.0 (from -r requirements.txt (line 23)) Using cached python_mimeparse-1.6.0-py2.py3-none-any.whl Collecting pytz==2018.3 (from -r requirements.txt (line 24)) Using cached pytz-2018.3-py2.py3-none-any.whl Collecting simplejson==3.13.2 (from -r requirements.txt (line 25)) Using cached simplejson-3.13.2.tar.gz Collecting six>=1.11.0 (from -r requirements.txt (line 26)) Using cached six-1.11.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 27)) Collecting SQLAlchemy==1.2.5 (from -r requirements.txt (line 28)) Using cached SQLAlchemy-1.2.5.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-build-lQMPnH/SQLAlchemy/setup.py", line 16, in <module> raise Exception("SQLAlchemy requires Python 2.7 or higher.") Exception: SQLAlchemy requires Python 2.7 or higher. ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lQMPnH/SQLAlchemy/ ERROR: Failed to install the application requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/685/display/redirect?page=changes> Changes: [Dave Page] SQLAlchemy stopped supporting Python 2.6. ------------------------------------------ Started by an SCM change [EnvInject] - Loading node environment variables. Building in workspace <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git://git.postgresql.org/git/pgadmin4.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git://git.postgresql.org/git/pgadmin4.git > git --version # timeout=10 > git fetch --tags --progress git://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision c0cfc9f29b1e8ac1099a135ff7acf327576691fd (origin/master) Commit message: "SQLAlchemy stopped supporting Python 2.6." > git config core.sparsecheckout # timeout=10 > git checkout -f c0cfc9f29b1e8ac1099a135ff7acf327576691fd > git rev-list b7c86da58605a7e9f474b1a9f4508d9bfc0bdff6 # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content PYTHON_VERSION=2.6 [EnvInject] - Variables injected successfully. [pgadmin4-master-python26] $ /bin/sh -xe /tmp/jenkins7938805908765504068.sh + <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/ci/ci_runner.sh> EXECUTING: Create pgAdmin config EXECUTING: Python tests Creating Python 2.6 virtual environment... New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/bin/python> Installing setuptools, pip...done. Running virtualenv with interpreter /usr/local/python-2.6/bin/python DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pipwill drop support for Python 2.6 Collecting wheel==0.29.0 Using cached wheel-0.29.0-py2.py3-none-any.whl Collecting argparse; python_version == "2.6" (from wheel==0.29.0) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:339: SNIMissingWarning:An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not availableon this platform. This may cause the server to present an incorrect TLS certificate, which can cause validationfailures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/urllib3/util/ssl_.py>:137: InsecurePlatformWarning:A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriatelyand may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. Formore information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning Using cached argparse-1.4.0-py2.py3-none-any.whl Installing collected packages: argparse, wheel Successfully installed argparse-1.4.0 wheel-0.29.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pipwill drop support for Python 2.6 Ignoring psycopg2: markers 'python_version >= "2.7"' don't match your environment Ignoring pycryptodome: markers 'python_version >= "2.7"' don't match your environment Ignoring python-dateutil: markers 'python_version >= "2.7"' don't match your environment Ignoring Flask-HTMLmin: markers 'python_version >= "2.7"' don't match your environment Invalid requirement: 'SQLAlchemy>=1.2.5 python_version >= '2.7'' Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_install.py",> line82, in __init__ req = Requirement(req) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/packaging/requirements.py",> line96, in __init__ requirement_string[e.loc:e.loc + 8])) InvalidRequirement: Invalid requirement, parse error at "u'python_v'" ERROR: Failed to install the application requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure