Thread: Build failed in Jenkins: pgadmin4-master-python26 #432
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/432/display/redirect?page=changes> Changes: [Dave Page] Fix layout of password prompt dialogue. Fixes #2684 [Dave Page] Fix quoting of index column names on tables. Fixes #2619 ------------------------------------------ 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 --progressgit://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*> git rev-parse origin/master^{commit}# timeout=10 Checking out Revision 8d248dab4c09a5c637569e3b4fb166c02ebff17a (origin/master) Commit message: "Fix quoting of index column names on tables. Fixes #2619"> git config core.sparsecheckout # timeout=10>git checkout -f 8d248dab4c09a5c637569e3b4fb166c02ebff17a> git rev-list 263aa42725964aa8cb66aae44aabd1e13152f338# 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/jenkins6602856437161875323.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, wheel...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 Babel==2.3.4 (from -r requirements.txt (line 4)) Using cached Babel-2.3.4-py2.py3-none-any.whl Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5)) Using cached beautifulsoup4-4.4.1-py2-none-any.whl Collecting blinker==1.3 (from -r requirements.txt (line 6)) Collecting click==6.6 (from -r requirements.txt (line 7)) Using cached click-6.6-py2.py3-none-any.whl Collecting extras==0.0.3 (from -r requirements.txt (line 8)) Collecting fixtures==2.0.0 (from -r requirements.txt (line 9)) Using cached fixtures-2.0.0-py2.py3-none-any.whl Collecting Flask==0.11.1 (from -r requirements.txt (line 10)) Using cached Flask-0.11.1-py2.py3-none-any.whl Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11)) Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12)) Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13)) Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15)) Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16)) Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17)) Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18)) Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19)) Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20)) Using cached Flask_WTF-0.12-py2-none-any.whl Collecting html5lib==1.0b3 (from -r requirements.txt (line 21)) Collecting importlib==1.0.3 (from -r requirements.txt (line 22)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarning Collecting itsdangerous==0.24 (from -r requirements.txt (line 23)) Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 25)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26)) Collecting ordereddict (from -r requirements.txt (line 27)) Collecting passlib==1.6.2 (from -r requirements.txt (line 28)) Collecting pbr==1.9.1 (from -r requirements.txt (line 29)) Using cached pbr-1.9.1-py2.py3-none-any.whl Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30)) Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31)) Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32)) Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33)) Using cached python_dateutil-2.5.0-py2.py3-none-any.whl Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34)) Collecting pytz==2014.10 (from -r requirements.txt (line 35)) Using cached pytz-2014.10-py2.py3-none-any.whl Collecting simplejson==3.6.5 (from -r requirements.txt (line 36)) Collecting six>=1.9.0 (from -r requirements.txt (line 37)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 38)) Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39)) Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40)) Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41)) Collecting WTForms==2.0.2 (from -r requirements.txt (line 42)) Using cached WTForms-2.0.2-py2.py3-none-any.whl Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43)) Using cached backports.csv-1.0.4-py2.py3-none-any.whl Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44)) Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9)) Using cached testtools-2.3.0-py2.py3-none-any.whl Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13)) Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Using cached Flask-Script-2.0.6.tar.gz Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached unittest2-1.1.0-py2.py3-none-any.whl Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached traceback2-1.4.0-py2.py3-none-any.whl Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-rrequirements.txt (line 9)) Building wheels for collected packages: Flask-Script Running setup.py bdist_wheel for Flask-Script: started Running setup.pybdist_wheel for Flask-Script: finished with status 'done' Stored in directory: /var/lib/jenkins/.cache/pip/wheels/35/38/2a/5a4aef4aa51913c135f5d2ff6f8552ad0db06667cd3e48ef2d Successfully built Flask-Script Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2,unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar,htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor,alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security,html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0unittest2-1.1.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 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_file.py>:150: UserWarning:Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. cmdoptions.check_install_build_global(options,opts) Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1)) Using cached pyperclip-1.5.27.zip Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2)) Using cached selenium-3.3.3.tar.gz Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3)) Using cached testscenarios-0.5.0.tar.gz Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4)) Using cached testtools-2.0.0.tar.gz Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.txt(line 5)) Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.txt(line 6)) Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached mock-2.0.0.tar.gz Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10)) Using cached chromedriver_installer-0.0.6.tar.gz Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.txt(line 3)) Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.txt(line 4)) Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.txt(line 4)) Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.txt(line 4)) Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-rweb/regression/requirements.txt (line 4)) Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.txt(line 5)) Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.txt(line 6)) Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.txt(line 6)) Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7)) Using cached funcsigs-1.0.2.tar.gz Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-rweb/regression/requirements.txt (line 7)) Skipping bdist_wheel for pyperclip, due to binaries being disabled for it. Skipping bdist_wheel for selenium, due to binaries being disabled for it. Skipping bdist_wheel for testscenarios, due to binaries being disabled for it. Skipping bdist_wheel for testtools, due to binaries being disabled for it. Skipping bdist_wheel for mock, due to binaries being disabled for it. Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it. Skipping bdist_wheel for funcsigs, due to binaries being disabled for it. Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer Runningsetup.py install for pyperclip: started Running setup.py install for pyperclip: finished with status 'done' Runningsetup.py install for selenium: started Running setup.py install for selenium: finished with status 'done' Foundexisting installation: testtools 2.3.0 Uninstalling testtools-2.3.0: Successfully uninstalled testtools-2.3.0Running setup.py install for testtools: started Running setup.py install for testtools: finished with status'done' Running setup.py install for testscenarios: started Running setup.py install for testscenarios: finished withstatus 'done' Running setup.py install for funcsigs: started Running setup.py install for funcsigs: finished with status'done' Running setup.py install for mock: started Running setup.py install for mock: finished with status 'done'Running setup.py install for chromedriver-installer: started Running setup.py install for chromedriver-installer:finished with status 'done' Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0testtools-2.0.0 Running regression tests... <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_security/forms.py>:67: DeprecationWarning:Required is going away in WTForms 3.0, use DataRequired email_required = Required(message='EMAIL_NOT_PROVIDED') <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_security/forms.py>:69: DeprecationWarning:Required is going away in WTForms 3.0, use DataRequired password_required = Required(message='PASSWORD_NOT_PROVIDED') Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/web/regression/runtests.py",>line 84, in <module> exec (open("setup.py").read())File "<string>", line 40, in <module> File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/web/pgadmin/setup/__init__.py",>line 12, in <module> from.db_upgrade import db_upgrade File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/web/pgadmin/setup/db_upgrade.py",>line 11, in <module> importflask_migrate File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_migrate/__init__.py",> line4, in <module> from flask_script import Manager File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_script/__init__.py",> line10, in <module> from collections import OrderedDict ImportError: cannot import name OrderedDict ERROR: Error detected when running the Python tests. 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/433/display/redirect?page=changes> Changes: [Dave Page] Initial draft of the 2.0 release notes. ------------------------------------------ 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 --progressgit://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*> git rev-parse origin/master^{commit}# timeout=10 Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master) Commit message: "Initial draft of the 2.0 release notes."> git config core.sparsecheckout # timeout=10> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9>git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 Babel==2.3.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/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached Babel-2.3.4-py2.py3-none-any.whl Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5)) Using cached beautifulsoup4-4.4.1-py2-none-any.whl Collecting blinker==1.3 (from -r requirements.txt (line 6)) Collecting click==6.6 (from -r requirements.txt (line 7)) Using cached click-6.6-py2.py3-none-any.whl Collecting extras==0.0.3 (from -r requirements.txt (line 8)) Collecting fixtures==2.0.0 (from -r requirements.txt (line 9)) Using cached fixtures-2.0.0-py2.py3-none-any.whl Collecting Flask==0.11.1 (from -r requirements.txt (line 10)) Using cached Flask-0.11.1-py2.py3-none-any.whl Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11)) Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12)) Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13)) Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15)) Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16)) Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17)) Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18)) Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19)) Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20)) Using cached Flask_WTF-0.12-py2-none-any.whl Collecting html5lib==1.0b3 (from -r requirements.txt (line 21)) Collecting importlib==1.0.3 (from -r requirements.txt (line 22)) Collecting itsdangerous==0.24 (from -r requirements.txt (line 23)) Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 25)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26)) Collecting ordereddict (from -r requirements.txt (line 27)) Collecting passlib==1.6.2 (from -r requirements.txt (line 28)) Collecting pbr==1.9.1 (from -r requirements.txt (line 29)) Using cached pbr-1.9.1-py2.py3-none-any.whl Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30)) Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31)) Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32)) Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33)) Using cached python_dateutil-2.5.0-py2.py3-none-any.whl Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34)) Collecting pytz==2014.10 (from -r requirements.txt (line 35)) Using cached pytz-2014.10-py2.py3-none-any.whl Collecting simplejson==3.6.5 (from -r requirements.txt (line 36)) Collecting six>=1.9.0 (from -r requirements.txt (line 37)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 38)) Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39)) Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40)) Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41)) Collecting WTForms==2.0.2 (from -r requirements.txt (line 42)) Using cached WTForms-2.0.2-py2.py3-none-any.whl Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43)) Using cached backports.csv-1.0.4-py2.py3-none-any.whl Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44)) Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9)) Using cached testtools-2.3.0-py2.py3-none-any.whl Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13)) Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached unittest2-1.1.0-py2.py3-none-any.whl Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached traceback2-1.4.0-py2.py3-none-any.whl Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-rrequirements.txt (line 9)) Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2,unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar,htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor,alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security,html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0unittest2-1.1.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 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_file.py>:150: UserWarning:Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. cmdoptions.check_install_build_global(options,opts) Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached pyperclip-1.5.27.zip Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2)) Using cached selenium-3.3.3.tar.gz Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3)) Using cached testscenarios-0.5.0.tar.gz Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4)) Using cached testtools-2.0.0.tar.gz Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.txt(line 5)) Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.txt(line 6)) Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7)) Using cached mock-2.0.0.tar.gz Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10)) Using cached chromedriver_installer-0.0.6.tar.gz Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.txt(line 3)) Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.txt(line 4)) Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.txt(line 4)) Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.txt(line 4)) Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-rweb/regression/requirements.txt (line 4)) Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.txt(line 5)) Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.txt(line 6)) Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.txt(line 6)) Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7)) Using cached funcsigs-1.0.2.tar.gz Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-rweb/regression/requirements.txt (line 7)) Skipping bdist_wheel for pyperclip, due to binaries being disabled for it. Skipping bdist_wheel for selenium, due to binaries being disabled for it. Skipping bdist_wheel for testscenarios, due to binaries being disabled for it. Skipping bdist_wheel for testtools, due to binaries being disabled for it. Skipping bdist_wheel for mock, due to binaries being disabled for it. Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it. Skipping bdist_wheel for funcsigs, due to binaries being disabled for it. Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer Runningsetup.py install for pyperclip: started Running setup.py install for pyperclip: finished with status 'done' Runningsetup.py install for selenium: started Running setup.py install for selenium: finished with status 'done' Foundexisting installation: testtools 2.3.0 Uninstalling testtools-2.3.0: Successfully uninstalled testtools-2.3.0Running setup.py install for testtools: started Running setup.py install for testtools: finished with status'done' Running setup.py install for testscenarios: started Running setup.py install for testscenarios: finished withstatus 'done' Running setup.py install for funcsigs: started Running setup.py install for funcsigs: finished with status'done' Running setup.py install for mock: started Running setup.py install for mock: finished with status 'done'Running setup.py install for chromedriver-installer: started Running setup.py install for chromedriver-installer:finished with status 'done' Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0testtools-2.0.0 Running regression tests... <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_security/forms.py>:67: DeprecationWarning:Required is going away in WTForms 3.0, use DataRequired email_required = Required(message='EMAIL_NOT_PROVIDED') <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_security/forms.py>:69: DeprecationWarning:Required is going away in WTForms 3.0, use DataRequired password_required = Required(message='PASSWORD_NOT_PROVIDED') Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/web/regression/runtests.py",>line 84, in <module> exec (open("setup.py").read())File "<string>", line 40, in <module> File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/web/pgadmin/setup/__init__.py",>line 12, in <module> from.db_upgrade import db_upgrade File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/web/pgadmin/setup/db_upgrade.py",>line 11, in <module> importflask_migrate File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_migrate/__init__.py",> line4, in <module> from flask_script import Manager File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/flask_script/__init__.py",> line10, in <module> from collections import OrderedDict ImportError: cannot import name OrderedDict ERROR: Error detected when running the Python tests. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.
Thanks.
---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ 433/display/redirect?page= changes>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------ ------------
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 23dd68b2121cd011f69f08d2154a89 be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89 be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166 c02ebff17a # 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/ jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.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/ requests/packages/urllib3/ util/ssl_.py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs. io/en/latest/security.html# snimissingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pip/_vendor/ requests/packages/urllib3/ util/ssl_.py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs. io/en/latest/security.html# insecureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any. whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none- any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none- any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any. whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3- none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any. whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none- any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m- manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3- none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any. whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any. whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none- any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3- none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none- any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures== 2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none- any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures== 2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none- any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate== 2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate== 2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/ site-packages (from unittest2>=1.0.0->testtools>= 0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pip/req/req_ file.py>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_ build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements. txt (line 1))
<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pip/_vendor/ requests/packages/urllib3/ util/ssl_.py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs. io/en/latest/security.html# snimissingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pip/_vendor/ requests/packages/urllib3/ util/ssl_.py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs. io/en/latest/security.html# insecureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements. txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements. txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements. txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/ site-packages (from -r web/regression/requirements. txt (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/ site-packages (from -r web/regression/requirements. txt (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements. txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements. txt (line 10))
Using cached chromedriver_installer-0.0.6. tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/ site-packages (from testscenarios==0.5.0->-r web/regression/requirements. txt (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/ site-packages (from testtools==2.0.0->-r web/regression/requirements. txt (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/ site-packages (from testtools==2.0.0->-r web/regression/requirements. txt (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/ site-packages (from testtools==2.0.0->-r web/regression/requirements. txt (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/ site-packages (from testtools==2.0.0->-r web/regression/requirements. txt (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/ site-packages (from traceback2==1.4.0->-r web/regression/requirements. txt (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/ site-packages (from unittest2==1.1.0->-r web/regression/requirements. txt (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/ site-packages (from unittest2==1.1.0->-r web/regression/requirements. txt (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements. txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/ site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements. txt (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/flask_security/ forms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_ PROVIDED')
<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/flask_security/ forms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_ NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/web/regression/runtests.py" ,> line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/web/pgadmin/setup/__init__. py",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/web/pgadmin/setup/db_ upgrade.py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/flask_migrate/__ init__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/ job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/flask_script/__ init__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building in workspace <https://jenkins.pgadmin.org/
> 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/
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/
> git --version # timeout=10
> git fetch --tags --progress git://git.postgresql.org/git/
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89
> git rev-list 8d248dab4c09a5c637569e3b4fb166
[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/
+ <https://jenkins.pgadmin.org/
EXECUTING: Create pgAdmin config
EXECUTING: Python tests
Creating Python 2.6 virtual environment...
New python executable in <https://jenkins.pgadmin.org/
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/local/python-2.6/bin/
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/
SNIMissingWarning
<https://jenkins.pgadmin.org/
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==
Using cached unittest2-1.1.0-py2.py3-none-
Collecting traceback2 (from testtools>=0.9.22->fixtures==
Using cached traceback2-1.4.0-py2.py3-none-
Collecting Mako (from alembic>=0.6->Flask-Migrate==
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/
cmdoptions.check_install_
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.
<https://jenkins.pgadmin.org/
SNIMissingWarning
<https://jenkins.pgadmin.org/
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/
Collecting mock===2.0.0 (from -r web/regression/requirements.
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.
Using cached chromedriver_installer-0.0.6.
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/
email_required = Required(message='EMAIL_NOT_
<https://jenkins.pgadmin.org/
password_required = Required(message='PASSWORD_
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/
import flask_migrate
File "<https://jenkins.pgadmin.org/
from flask_script import Manager
File "<https://jenkins.pgadmin.org/
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure
Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
Hi Dave,
This ain't broken because of my commits but due to version change of Flask-Script module :-)
pgadmin4-master-pyth on26 #433 (Current build - Failed)
pgadmin4-master-pyth on26 #433 (Previous build - Failed)
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
pgadmin4-master-pyth on26 #431 (Previous build - Successful)
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Though I have submitted PR for the same but not sure if they will accept it or not as Python2.6 is officially dead.
https://github.com/smurfix/flask-script/pull/181
--
Regards,
On Fri, Sep 8, 2017 at 8:25 PM, Dave Page <dave.page@enterprisedb.com> wrote:
Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.Thanks.---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 3/display/redirect?page=change s>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0 .9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file. py>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10))
Using cached chromedriver_installer-0.0.6.tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.tx t (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.tx t (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements.tx t (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_PROVIDED')
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/regression/runtests.py", > line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/__init__.p y",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/db_upgrade .py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_migrate/__i nit__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_script/__in it__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
Hi Dave,
From on going discussion on github repo, I highly doubt that they will accept PR, they are giving the same reason as I mentioned in my previous email saying Python2.6 is dead :)
The other work around which I found is to add hard coded Flask-Script version in requirement.txt. This workaround is working fine at a moment(also with Python2.6) but not sure if it will break anything else in its dependent modules for other Python versions in future.
The other work around which I found is to add hard coded Flask-Script version in requirement.txt. This workaround is working fine at a moment(also with Python2.6) but not sure if it will break anything else in its dependent modules for other Python versions in future.
PFA patch.
--
Regards,
On Sat, Sep 9, 2017 at 12:55 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Dave,This ain't broken because of my commits but due to version change of Flask-Script module :-)pgadmin4-master-python26 #433 (Current build - Failed)pgadmin4-master-python26 #433 (Previous build - Failed)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6pgadmin4-master-python26 #431 (Previous build - Successful)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Though I have submitted PR for the same but not sure if they will accept it or not as Python2.6 is officially dead.
https://github.com/smurfix/flask-script/pull/181 --Regards,On Fri, Sep 8, 2017 at 8:25 PM, Dave Page <dave.page@enterprisedb.com> wrote:Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.Thanks.---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 3/display/redirect?page=change s>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0 .9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10))
Using cached chromedriver_installer-0.0.6.tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.tx t (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.tx t (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements.tx t (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_PROVIDED')
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/regression/runtests.py", > line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/__init__.p y",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/db_upgrade .py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_migrate/__i nit__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_script/__in it__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
Attachment
Please disregard my previous patch and find updated patch in which we will use hard coded version only Python2.6 and not other versions.
Please review.
On Sat, Sep 9, 2017 at 10:13 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Dave,From on going discussion on github repo, I highly doubt that they will accept PR, they are giving the same reason as I mentioned in my previous email saying Python2.6 is dead :)
The other work around which I found is to add hard coded Flask-Script version in requirement.txt. This workaround is working fine at a moment(also with Python2.6) but not sure if it will break anything else in its dependent modules for other Python versions in future.PFA patch.--Regards,On Sat, Sep 9, 2017 at 12:55 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: Hi Dave,This ain't broken because of my commits but due to version change of Flask-Script module :-)pgadmin4-master-python26 #433 (Current build - Failed)pgadmin4-master-python26 #433 (Previous build - Failed)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6pgadmin4-master-python26 #431 (Previous build - Successful)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Though I have submitted PR for the same but not sure if they will accept it or not as Python2.6 is officially dead.
https://github.com/smurfix/flask-script/pull/181 --Regards,On Fri, Sep 8, 2017 at 8:25 PM, Dave Page <dave.page@enterprisedb.com> wrote:Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.Thanks.---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 3/display/redirect?page=change s>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0 .9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10))
Using cached chromedriver_installer-0.0.6.tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.tx t (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.tx t (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements.tx t (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_PROVIDED')
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/regression/runtests.py", > line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/__init__.p y",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/db_upgrade .py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_migrate/__i nit__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_script/__in it__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
Attachment
Yeah, that'll work for us, but you may want to try arguing that dead or not, it's the version of Python in CentOS/RHEL 6, which are still very widely used.
Thanks.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Hi Dave,From on going discussion on github repo, I highly doubt that they will accept PR, they are giving the same reason as I mentioned in my previous email saying Python2.6 is dead :)
The other work around which I found is to add hard coded Flask-Script version in requirement.txt. This workaround is working fine at a moment(also with Python2.6) but not sure if it will break anything else in its dependent modules for other Python versions in future.PFA patch.--Regards,On Sat, Sep 9, 2017 at 12:55 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:Hi Dave,This ain't broken because of my commits but due to version change of Flask-Script module :-)pgadmin4-master-python26 #433 (Current build - Failed)pgadmin4-master-python26 #433 (Previous build - Failed)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6pgadmin4-master-python26 #431 (Previous build - Successful)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Though I have submitted PR for the same but not sure if they will accept it or not as Python2.6 is officially dead.
https://github.com/smurfix/flask-script/pull/181 --Regards,On Fri, Sep 8, 2017 at 8:25 PM, Dave Page <dave.page@enterprisedb.com> wrote:Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.Thanks.---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 3/display/redirect?page=change s>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0 .9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10))
Using cached chromedriver_installer-0.0.6.tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.tx t (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.tx t (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements.tx t (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_PROVIDED')
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/regression/runtests.py", > line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/__init__.p y",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/db_upgrade .py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_migrate/__i nit__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_script/__in it__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
<fix_deps.diff>
Hi Dave,
Yes, I mentioned about CentOS6 when I submitted my PR and below is their reply,
They quoted,
"I still strongly encourage you to migrate away from an outdated and dead system that's core is based on unsupported and vulnerable software. You should upgrade to CentOS7. The old one isn't any different from using windows XP."
Python2.6 is officially dead from last 4 years, I am not able to justify any valid reason for my PR :(
--
Regards,
On Sat, Sep 9, 2017 at 9:53 PM, Dave Page <dpage@pgadmin.org> wrote:
Yeah, that'll work for us, but you may want to try arguing that dead or not, it's the version of Python in CentOS/RHEL 6, which are still very widely used.Thanks.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL CompanyHi Dave,From on going discussion on github repo, I highly doubt that they will accept PR, they are giving the same reason as I mentioned in my previous email saying Python2.6 is dead :)
The other work around which I found is to add hard coded Flask-Script version in requirement.txt. This workaround is working fine at a moment(also with Python2.6) but not sure if it will break anything else in its dependent modules for other Python versions in future.PFA patch.--Regards,On Sat, Sep 9, 2017 at 12:55 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: Hi Dave,This ain't broken because of my commits but due to version change of Flask-Script module :-)pgadmin4-master-python26 #433 (Current build - Failed)pgadmin4-master-python26 #433 (Previous build - Failed)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6pgadmin4-master-python26 #431 (Previous build - Successful)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Though I have submitted PR for the same but not sure if they will accept it or not as Python2.6 is officially dead.
https://github.com/smurfix/flask-script/pull/181 --Regards,On Fri, Sep 8, 2017 at 8:25 PM, Dave Page <dave.page@enterprisedb.com> wrote:Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.Thanks.---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 3/display/redirect?page=change s>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0 .9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10))
Using cached chromedriver_installer-0.0.6.tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.tx t (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.tx t (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements.tx t (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_PROVIDED')
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/regression/runtests.py", > line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/__init__.p y",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/db_upgrade .py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_migrate/__i nit__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_script/__in it__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake<fix_deps.diff>
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/434/display/redirect?page=changes> Changes: [Ashesh Vashi] Replacing existing browser tree node png icons with the svg icons. Made [Ashesh Vashi] Changes in the stylesheets to support the svg icons for the browser tree ------------------------------------------ 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 --progressgit://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*> git rev-parse origin/master^{commit}# timeout=10 Checking out Revision 4018562bc7d52f2a03a18a27365dc0043d44a568 (origin/master) Commit message: "Changes in the stylesheets to support the svg icons for the browser tree nodes."> git config core.sparsecheckout# timeout=10> git checkout -f 4018562bc7d52f2a03a18a27365dc0043d44a568> git rev-list 23dd68b2121cd011f69f08d2154a89be666fd3f9# 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/jenkins4866827186050794543.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, wheel...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 Babel==2.3.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/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached Babel-2.3.4-py2.py3-none-any.whl Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5)) Using cached beautifulsoup4-4.4.1-py2-none-any.whl Collecting blinker==1.3 (from -r requirements.txt (line 6)) Collecting click==6.6 (from -r requirements.txt (line 7)) Using cached click-6.6-py2.py3-none-any.whl Collecting extras==0.0.3 (from -r requirements.txt (line 8)) Collecting fixtures==2.0.0 (from -r requirements.txt (line 9)) Using cached fixtures-2.0.0-py2.py3-none-any.whl Collecting Flask==0.11.1 (from -r requirements.txt (line 10)) Using cached Flask-0.11.1-py2.py3-none-any.whl Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11)) Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12)) Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13)) Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15)) Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16)) Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17)) Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18)) Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19)) Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20)) Using cached Flask_WTF-0.12-py2-none-any.whl Collecting html5lib==1.0b3 (from -r requirements.txt (line 21)) Collecting importlib==1.0.3 (from -r requirements.txt (line 22)) Collecting itsdangerous==0.24 (from -r requirements.txt (line 23)) Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 25)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26)) Collecting ordereddict (from -r requirements.txt (line 27)) Collecting passlib==1.6.2 (from -r requirements.txt (line 28)) Collecting pbr==1.9.1 (from -r requirements.txt (line 29)) Using cached pbr-1.9.1-py2.py3-none-any.whl Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30)) Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31)) Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32)) Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33)) Using cached python_dateutil-2.5.0-py2.py3-none-any.whl Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34)) Collecting pytz==2014.10 (from -r requirements.txt (line 35)) Using cached pytz-2014.10-py2.py3-none-any.whl Collecting simplejson==3.6.5 (from -r requirements.txt (line 36)) Collecting six>=1.9.0 (from -r requirements.txt (line 37)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 38)) Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39)) Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40)) Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41)) Collecting WTForms==2.0.2 (from -r requirements.txt (line 42)) Using cached WTForms-2.0.2-py2.py3-none-any.whl Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43)) Using cached backports.csv-1.0.4-py2.py3-none-any.whl Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44)) Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9)) Using cached testtools-2.3.0-py2.py3-none-any.whl Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13)) Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached unittest2-1.1.0-py2.py3-none-any.whl Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached traceback2-1.4.0-py2.py3-none-any.whl Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cachedargparse-1.4.0-py2.py3-none-any.whl Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2,argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel,Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako,python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF,Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv,Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0traceback2-1.4.0 unittest2-1.1.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 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_file.py>:150: UserWarning:Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. cmdoptions.check_install_build_global(options,opts) Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached pyperclip-1.5.27.zip Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2)) Using cached selenium-3.3.3.tar.gz Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3)) Using cached testscenarios-0.5.0.tar.gz Complete output from command python setup.py egg_info: <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/setuptools/dist.py>:34: DeprecationWarning:Do not call this function warnings.warn("Do not call this function", DeprecationWarning) ERROR:root:Errorparsing Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/core.py",> line111, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line264, in cfg_to_args wrap_commands(kwargs) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line566, in wrap_commands cmdclass = ep.resolve() File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pkg_resources/__init__.py",> line2347, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/wheel/bdist_wheel.py",> line407 ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt', ^ SyntaxError: invalid syntax error in setup command: Error parsing /tmp/pip-build-9U0FoM/testscenarios/setup.cfg: SyntaxError:invalid syntax (bdist_wheel.py, line 407) ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9U0FoM/testscenarios/ ERROR: Failed to install the regression test 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/435/display/redirect?page=changes> Changes: [Ashesh Vashi] Miscellaneous fixes for icon sizing issue, missing tree nodes to be [Ashesh Vashi] Rename the SecurityGroupUnderSchema to SecurityGroupSchema, and ------------------------------------------ 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 --progressgit://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*> git rev-parse origin/master^{commit}# timeout=10 Checking out Revision ac2512799e75eebc7612ee9ebe0ffd0841f25912 (origin/master) Commit message: "Rename the SecurityGroupUnderSchema to SecurityGroupSchema, and redefined in the database (instead of schema)javascript module, as it is also used by the foreign-server node too."> git config core.sparsecheckout # timeout=10>git checkout -f ac2512799e75eebc7612ee9ebe0ffd0841f25912> git rev-list 4018562bc7d52f2a03a18a27365dc0043d44a568# 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/jenkins5794529981382845863.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, wheel...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 Babel==2.3.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/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached Babel-2.3.4-py2.py3-none-any.whl Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5)) Using cached beautifulsoup4-4.4.1-py2-none-any.whl Collecting blinker==1.3 (from -r requirements.txt (line 6)) Collecting click==6.6 (from -r requirements.txt (line 7)) Using cached click-6.6-py2.py3-none-any.whl Collecting extras==0.0.3 (from -r requirements.txt (line 8)) Collecting fixtures==2.0.0 (from -r requirements.txt (line 9)) Using cached fixtures-2.0.0-py2.py3-none-any.whl Collecting Flask==0.11.1 (from -r requirements.txt (line 10)) Using cached Flask-0.11.1-py2.py3-none-any.whl Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11)) Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12)) Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13)) Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15)) Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16)) Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17)) Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18)) Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19)) Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20)) Using cached Flask_WTF-0.12-py2-none-any.whl Collecting html5lib==1.0b3 (from -r requirements.txt (line 21)) Collecting importlib==1.0.3 (from -r requirements.txt (line 22)) Collecting itsdangerous==0.24 (from -r requirements.txt (line 23)) Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 25)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26)) Collecting ordereddict (from -r requirements.txt (line 27)) Collecting passlib==1.6.2 (from -r requirements.txt (line 28)) Collecting pbr==1.9.1 (from -r requirements.txt (line 29)) Using cached pbr-1.9.1-py2.py3-none-any.whl Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30)) Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31)) Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32)) Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33)) Using cached python_dateutil-2.5.0-py2.py3-none-any.whl Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34)) Collecting pytz==2014.10 (from -r requirements.txt (line 35)) Using cached pytz-2014.10-py2.py3-none-any.whl Collecting simplejson==3.6.5 (from -r requirements.txt (line 36)) Collecting six>=1.9.0 (from -r requirements.txt (line 37)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 38)) Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39)) Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40)) Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41)) Collecting WTForms==2.0.2 (from -r requirements.txt (line 42)) Using cached WTForms-2.0.2-py2.py3-none-any.whl Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43)) Using cached backports.csv-1.0.4-py2.py3-none-any.whl Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44)) Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9)) Using cached testtools-2.3.0-py2.py3-none-any.whl Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13)) Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached unittest2-1.1.0-py2.py3-none-any.whl Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached traceback2-1.4.0-py2.py3-none-any.whl Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cachedargparse-1.4.0-py2.py3-none-any.whl Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2,argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel,Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako,python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF,Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv,Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0traceback2-1.4.0 unittest2-1.1.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 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_file.py>:150: UserWarning:Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. cmdoptions.check_install_build_global(options,opts) Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached pyperclip-1.5.27.zip Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2)) Using cached selenium-3.3.3.tar.gz Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3)) Using cached testscenarios-0.5.0.tar.gz Complete output from command python setup.py egg_info: <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/setuptools/dist.py>:34: DeprecationWarning:Do not call this function warnings.warn("Do not call this function", DeprecationWarning) ERROR:root:Errorparsing Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/core.py",> line111, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line264, in cfg_to_args wrap_commands(kwargs) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line566, in wrap_commands cmdclass = ep.resolve() File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pkg_resources/__init__.py",> line2347, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/wheel/bdist_wheel.py",> line407 ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt', ^ SyntaxError: invalid syntax error in setup command: Error parsing /tmp/pip-build-phPHh1/testscenarios/setup.cfg: SyntaxError:invalid syntax (bdist_wheel.py, line 407) ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-phPHh1/testscenarios/ ERROR: Failed to install the regression test requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
Thanks, applied.
On Sat, Sep 9, 2017 at 5:53 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Please disregard my previous patch and find updated patch in which we will use hard coded version only Python2.6 and not other versions.Please review.On Sat, Sep 9, 2017 at 10:13 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: Hi Dave,From on going discussion on github repo, I highly doubt that they will accept PR, they are giving the same reason as I mentioned in my previous email saying Python2.6 is dead :)
The other work around which I found is to add hard coded Flask-Script version in requirement.txt. This workaround is working fine at a moment(also with Python2.6) but not sure if it will break anything else in its dependent modules for other Python versions in future.PFA patch.--Regards,On Sat, Sep 9, 2017 at 12:55 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: Hi Dave,This ain't broken because of my commits but due to version change of Flask-Script module :-)pgadmin4-master-python26 #433 (Current build - Failed)pgadmin4-master-python26 #433 (Previous build - Failed)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6pgadmin4-master-python26 #431 (Previous build - Successful)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Though I have submitted PR for the same but not sure if they will accept it or not as Python2.6 is officially dead.
https://github.com/smurfix/flask-script/pull/181 --Regards,On Fri, Sep 8, 2017 at 8:25 PM, Dave Page <dave.page@enterprisedb.com> wrote:Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.Thanks.---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 3/display/redirect?page=change s>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0 .9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10))
Using cached chromedriver_installer-0.0.6.tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.tx t (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.tx t (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements.tx t (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_PROVIDED')
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/regression/runtests.py", > line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/__init__.p y",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/db_upgrade .py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_migrate/__i nit__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_script/__in it__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
The response should be something like:
"We do use CentOS 7, however we have thousands of downloads per year from CentOS 6 users, and we know that many of our customers still use RHEL 6 which is in support for a number of years yet for Enterprise users who may not be in a position to upgrade. This is extremely common in many industries in which our software is used."
If they won't accept that, there's not much we can do - but it's possible they don't realise that some users simply cannot upgrade regularly whether we would advise them to or not.
On Mon, Sep 11, 2017 at 5:46 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi Dave,Yes, I mentioned about CentOS6 when I submitted my PR and below is their reply,They quoted,"I still strongly encourage you to migrate away from an outdated and dead system that's core is based on unsupported and vulnerable software. You should upgrade to CentOS7. The old one isn't any different from using windows XP."Python2.6 is officially dead from last 4 years, I am not able to justify any valid reason for my PR :(--Regards,On Sat, Sep 9, 2017 at 9:53 PM, Dave Page <dpage@pgadmin.org> wrote:Yeah, that'll work for us, but you may want to try arguing that dead or not, it's the version of Python in CentOS/RHEL 6, which are still very widely used.Thanks.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL CompanyHi Dave,From on going discussion on github repo, I highly doubt that they will accept PR, they are giving the same reason as I mentioned in my previous email saying Python2.6 is dead :)
The other work around which I found is to add hard coded Flask-Script version in requirement.txt. This workaround is working fine at a moment(also with Python2.6) but not sure if it will break anything else in its dependent modules for other Python versions in future.PFA patch.--Regards,On Sat, Sep 9, 2017 at 12:55 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: Hi Dave,This ain't broken because of my commits but due to version change of Flask-Script module :-)pgadmin4-master-python26 #433 (Current build - Failed)pgadmin4-master-python26 #433 (Previous build - Failed)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6pgadmin4-master-python26 #431 (Previous build - Successful)Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0 DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6Though I have submitted PR for the same but not sure if they will accept it or not as Python2.6 is officially dead.
https://github.com/smurfix/flask-script/pull/181 --Regards,On Fri, Sep 8, 2017 at 8:25 PM, Dave Page <dave.page@enterprisedb.com> wrote:Murtuza, can you look at the this ASAP please? (RC build is on Monday morning). It looks like it was caused by one of your last two patches.Thanks.---------- Forwarded message ----------
From: pgAdmin 4 Jenkins <jenkins@pgadmin.org>
Date: Fri, Sep 8, 2017 at 3:52 PM
Subject: Build failed in Jenkins: pgadmin4-master-python26 #433
To: pgadmin-hackers@postgresql.org, dpage@pgadmin.org
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 3/display/redirect?page=change s>
Changes:
[Dave Page] Initial draft of the 2.0 release notes.
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 23dd68b2121cd011f69f08d2154a89be666fd3f9 (origin/master)
Commit message: "Initial draft of the 2.0 release notes."
> git config core.sparsecheckout # timeout=10
> git checkout -f 23dd68b2121cd011f69f08d2154a89be666fd3f9
> git rev-list 8d248dab4c09a5c637569e3b4fb166c02ebff17a # 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/jenkins1691685003183032766.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting Flask-Script>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2>=1.0.0->testtools>=0 .9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.6 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Collecting testtools==2.0.0 (from -r web/regression/requirements.txt (line 4))
Using cached testtools-2.0.0.tar.gz
Requirement already satisfied: traceback2==1.4.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 5))
Requirement already satisfied: unittest2==1.1.0 in ./pgadmin-venv/lib/python2.6/site-packages (from -r web/regression/requirements.tx t (line 6))
Collecting mock===2.0.0 (from -r web/regression/requirements.txt (line 7))
Using cached mock-2.0.0.tar.gz
Collecting chromedriver_installer==0.0.6 (from -r web/regression/requirements.txt (line 10))
Using cached chromedriver_installer-0.0.6.tar.gz
Requirement already satisfied: pbr>=0.11 in ./pgadmin-venv/lib/python2.6/site-packages (from testscenarios==0.5.0->-r web/regression/requirements.tx t (line 3))
Requirement already satisfied: extras in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: fixtures>=1.3.0 in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: pyrsistent in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: python-mimeparse in ./pgadmin-venv/lib/python2.6/site-packages (from testtools==2.0.0->-r web/regression/requirements.tx t (line 4))
Requirement already satisfied: linecache2 in ./pgadmin-venv/lib/python2.6/site-packages (from traceback2==1.4.0->-r web/regression/requirements.tx t (line 5))
Requirement already satisfied: six>=1.4 in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Requirement already satisfied: argparse in ./pgadmin-venv/lib/python2.6/site-packages (from unittest2==1.1.0->-r web/regression/requirements.tx t (line 6))
Collecting funcsigs>=1 (from mock===2.0.0->-r web/regression/requirements.txt (line 7))
Using cached funcsigs-1.0.2.tar.gz
Requirement already satisfied: ordereddict in ./pgadmin-venv/lib/python2.6/site-packages (from funcsigs>=1->mock===2.0.0->-r web/regression/requirements.tx t (line 7))
Skipping bdist_wheel for pyperclip, due to binaries being disabled for it.
Skipping bdist_wheel for selenium, due to binaries being disabled for it.
Skipping bdist_wheel for testscenarios, due to binaries being disabled for it.
Skipping bdist_wheel for testtools, due to binaries being disabled for it.
Skipping bdist_wheel for mock, due to binaries being disabled for it.
Skipping bdist_wheel for chromedriver-installer, due to binaries being disabled for it.
Skipping bdist_wheel for funcsigs, due to binaries being disabled for it.
Installing collected packages: pyperclip, selenium, testtools, testscenarios, funcsigs, mock, chromedriver-installer
Running setup.py install for pyperclip: started
Running setup.py install for pyperclip: finished with status 'done'
Running setup.py install for selenium: started
Running setup.py install for selenium: finished with status 'done'
Found existing installation: testtools 2.3.0
Uninstalling testtools-2.3.0:
Successfully uninstalled testtools-2.3.0
Running setup.py install for testtools: started
Running setup.py install for testtools: finished with status 'done'
Running setup.py install for testscenarios: started
Running setup.py install for testscenarios: finished with status 'done'
Running setup.py install for funcsigs: started
Running setup.py install for funcsigs: finished with status 'done'
Running setup.py install for mock: started
Running setup.py install for mock: finished with status 'done'
Running setup.py install for chromedriver-installer: started
Running setup.py install for chromedriver-installer: finished with status 'done'
Successfully installed chromedriver-installer-0.0.6 funcsigs-1.0.2 mock-2.0.0 pyperclip-1.5.27 selenium-3.3.3 testscenarios-0.5.0 testtools-2.0.0
Running regression tests...
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:67: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
email_required = Required(message='EMAIL_NOT_PROVIDED')
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/flask_security/for ms.py>:69: DeprecationWarning: Required is going away in WTForms 3.0, use DataRequired
password_required = Required(message='PASSWORD_NOT_PROVIDED')
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/regression/runtests.py", > line 84, in <module>
exec (open("setup.py").read())
File "<string>", line 40, in <module>
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/__init__.p y",> line 12, in <module>
from .db_upgrade import db_upgrade
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/web/pgadmin/setup/db_upgrade .py",> line 11, in <module>
import flask_migrate
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_migrate/__i nit__.py",> line 4, in <module>
from flask_script import Manager
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/flask_script/__in it__.py",> line 10, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
ERROR: Error detected when running the Python tests.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
VP, Chief Architect, Tools & Installers
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake<fix_deps.diff>
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/436/display/redirect?page=changes> Changes: [Dave Page] Stick with the older Flask-Script module for Python 2.6 ------------------------------------------ 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 --progressgit://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*> git rev-parse origin/master^{commit}# timeout=10 Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master) Commit message: "Stick with the older Flask-Script module for Python 2.6"> git config core.sparsecheckout # timeout=10> gitcheckout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 Babel==2.3.4 (from -r requirements.txt (line 4)) Using cached Babel-2.3.4-py2.py3-none-any.whl Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5)) Using cached beautifulsoup4-4.4.1-py2-none-any.whl Collecting blinker==1.3 (from -r requirements.txt (line 6)) Collecting click==6.6 (from -r requirements.txt (line 7)) Using cached click-6.6-py2.py3-none-any.whl Collecting extras==0.0.3 (from -r requirements.txt (line 8)) Collecting fixtures==2.0.0 (from -r requirements.txt (line 9)) Using cached fixtures-2.0.0-py2.py3-none-any.whl Collecting Flask==0.11.1 (from -r requirements.txt (line 10)) Using cached Flask-0.11.1-py2.py3-none-any.whl Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11)) Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12)) Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13)) Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15)) Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16)) Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17)) Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18)) Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19)) Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20)) Using cached Flask_WTF-0.12-py2-none-any.whl Collecting html5lib==1.0b3 (from -r requirements.txt (line 21)) Collecting importlib==1.0.3 (from -r requirements.txt (line 22)) Collecting itsdangerous==0.24 (from -r requirements.txt (line 23)) Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 25)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26)) Collecting ordereddict (from -r requirements.txt (line 27)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarning Collecting passlib==1.6.2 (from -r requirements.txt (line 28)) Collecting pbr==1.9.1 (from -r requirements.txt (line 29)) Using cached pbr-1.9.1-py2.py3-none-any.whl Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30)) Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31)) Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32)) Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33)) Using cached python_dateutil-2.5.0-py2.py3-none-any.whl Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34)) Collecting pytz==2014.10 (from -r requirements.txt (line 35)) Using cached pytz-2014.10-py2.py3-none-any.whl Collecting simplejson==3.6.5 (from -r requirements.txt (line 36)) Collecting six>=1.9.0 (from -r requirements.txt (line 37)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 38)) Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39)) Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40)) Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41)) Collecting WTForms==2.0.2 (from -r requirements.txt (line 42)) Using cached WTForms-2.0.2-py2.py3-none-any.whl Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43)) Using cached backports.csv-1.0.4-py2.py3-none-any.whl Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44)) Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45)) Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9)) Using cached testtools-2.3.0-py2.py3-none-any.whl Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13)) Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached unittest2-1.1.0-py2.py3-none-any.whl Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached traceback2-1.4.0-py2.py3-none-any.whl Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cachedargparse-1.4.0-py2.py3-none-any.whl Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2,argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel,Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako,python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF,Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv,Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0traceback2-1.4.0 unittest2-1.1.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 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_file.py>:150: UserWarning:Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. cmdoptions.check_install_build_global(options,opts) Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1)) Using cached pyperclip-1.5.27.zip Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2)) Using cached selenium-3.3.3.tar.gz Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3)) Using cached testscenarios-0.5.0.tar.gz Complete output from command python setup.py egg_info: <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/setuptools/dist.py>:34: DeprecationWarning:Do not call this function warnings.warn("Do not call this function", DeprecationWarning) ERROR:root:Errorparsing Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/core.py",> line111, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line264, in cfg_to_args wrap_commands(kwargs) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line566, in wrap_commands cmdclass = ep.resolve() File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pkg_resources/__init__.py",> line2347, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/wheel/bdist_wheel.py",> line407 ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt', ^ SyntaxError: invalid syntax error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError:invalid syntax (bdist_wheel.py, line 407) ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/ ERROR: Failed to install the regression test requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!
On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ 436/display/redirect?page= changes>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pip/_vendor/ requests/packages/urllib3/ util/ssl_.py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs. io/en/latest/security.html# snimissingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pip/_vendor/ requests/packages/urllib3/ util/ssl_.py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs. io/en/latest/security.html# insecureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pip/req/req_ file.py>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/setuptools/dist. py>:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/pkg_resources/__ init__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ ws/pgadmin-venv/lib/python2.6/ site-packages/wheel/bdist_ wheel.py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
I'm able to run tests & pgAdmin4 on my machine using Python2.6.
--
Regards,
On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:
Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file. py>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Attachment
Great, but what's breaking Jenkins?
On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/437/display/redirect?page=changes> Changes: [Dave Page] Remove icons from the menus to de-clutter the UI and make it more ------------------------------------------ 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 --progressgit://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*> git rev-parse origin/master^{commit}# timeout=10 Checking out Revision 3bbd1a8a48aac6a1f2b72dbe951f58fc32ed3bda (origin/master) Commit message: "Remove icons from the menus to de-clutter the UI and make it more consistent with most OSs."> git configcore.sparsecheckout # timeout=10> git checkout -f 3bbd1a8a48aac6a1f2b72dbe951f58fc32ed3bda> git rev-list 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da# 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/jenkins6206968290033113432.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, wheel...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 Babel==2.3.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/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached Babel-2.3.4-py2.py3-none-any.whl Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5)) Using cached beautifulsoup4-4.4.1-py2-none-any.whl Collecting blinker==1.3 (from -r requirements.txt (line 6)) Collecting click==6.6 (from -r requirements.txt (line 7)) Using cached click-6.6-py2.py3-none-any.whl Collecting extras==0.0.3 (from -r requirements.txt (line 8)) Collecting fixtures==2.0.0 (from -r requirements.txt (line 9)) Using cached fixtures-2.0.0-py2.py3-none-any.whl Collecting Flask==0.11.1 (from -r requirements.txt (line 10)) Using cached Flask-0.11.1-py2.py3-none-any.whl Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11)) Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12)) Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13)) Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15)) Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16)) Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17)) Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18)) Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19)) Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20)) Using cached Flask_WTF-0.12-py2-none-any.whl Collecting html5lib==1.0b3 (from -r requirements.txt (line 21)) Collecting importlib==1.0.3 (from -r requirements.txt (line 22)) Collecting itsdangerous==0.24 (from -r requirements.txt (line 23)) Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 25)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26)) Collecting ordereddict (from -r requirements.txt (line 27)) Collecting passlib==1.6.2 (from -r requirements.txt (line 28)) Collecting pbr==1.9.1 (from -r requirements.txt (line 29)) Using cached pbr-1.9.1-py2.py3-none-any.whl Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30)) Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31)) Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32)) Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33)) Using cached python_dateutil-2.5.0-py2.py3-none-any.whl Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34)) Collecting pytz==2014.10 (from -r requirements.txt (line 35)) Using cached pytz-2014.10-py2.py3-none-any.whl Collecting simplejson==3.6.5 (from -r requirements.txt (line 36)) Collecting six>=1.9.0 (from -r requirements.txt (line 37)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 38)) Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39)) Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40)) Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41)) Collecting WTForms==2.0.2 (from -r requirements.txt (line 42)) Using cached WTForms-2.0.2-py2.py3-none-any.whl Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43)) Using cached backports.csv-1.0.4-py2.py3-none-any.whl Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44)) Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45)) Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9)) Using cached testtools-2.3.0-py2.py3-none-any.whl Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13)) Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached unittest2-1.1.0-py2.py3-none-any.whl Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached traceback2-1.4.0-py2.py3-none-any.whl Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cachedargparse-1.4.0-py2.py3-none-any.whl Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2,argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel,Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako,python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF,Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv,Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0traceback2-1.4.0 unittest2-1.1.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 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_file.py>:150: UserWarning:Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. cmdoptions.check_install_build_global(options,opts) Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarningUsing cached pyperclip-1.5.27.zip Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2)) Using cached selenium-3.3.3.tar.gz Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3)) Using cached testscenarios-0.5.0.tar.gz Complete output from command python setup.py egg_info: <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/setuptools/dist.py>:34: DeprecationWarning:Do not call this function warnings.warn("Do not call this function", DeprecationWarning) ERROR:root:Errorparsing Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/core.py",> line111, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line264, in cfg_to_args wrap_commands(kwargs) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line566, in wrap_commands cmdclass = ep.resolve() File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pkg_resources/__init__.py",> line2347, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/wheel/bdist_wheel.py",> line407 ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt', ^ SyntaxError: invalid syntax error in setup command: Error parsing /tmp/pip-build-9louYm/testscenarios/setup.cfg: SyntaxError:invalid syntax (bdist_wheel.py, line 407) ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9louYm/testscenarios/ ERROR: Failed to install the regression test requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
Please also check the python wheel builds OK - iirc, packages with conditionals in them in requirements.txt need special handling in setup.py.
On Mon, Sep 11, 2017 at 9:55 AM, Dave Page <dpage@pgadmin.org> wrote:
Great, but what's breaking Jenkins?On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
It's newer version of wheel is breaking this, set literals are not implemented in Python2.6.
Unsupported syntax for Python2.6: { 'PKG-INFO', 'requires.txt', 'SOURCES.txt',.... }
They released newer version couple of hours before :(
On Mon, Sep 11, 2017 at 2:32 PM, Dave Page <dpage@pgadmin.org> wrote:
Please also check the python wheel builds OK - iirc, packages with conditionals in them in requirements.txt need special handling in setup.py.On Mon, Sep 11, 2017 at 9:55 AM, Dave Page <dpage@pgadmin.org> wrote:Great, but what's breaking Jenkins?On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
This is what I have in my system, which is working fine
(venv26) murtuza@ubuntu-vm:[~/projects/pgadmin4/web/regression]$ python
Python 2.6.9 (default, Mar 6 2016, 02:31:36)
[GCC 5.3.1 20160225] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wheel
>>> wheel.__version__
'0.30.0.a0'
Can you check on the build machine if it is newer version which is 0.30.0?
-__version__ = "0.30.0a0" | ||
+__version__ = "0.30.0" |
Ref: Link
--
Regards,
On Mon, Sep 11, 2017 at 2:52 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
It's newer version of wheel is breaking this, set literals are not implemented in Python2.6.Unsupported syntax for Python2.6: { 'PKG-INFO', 'requires.txt', 'SOURCES.txt',.... }They released newer version couple of hours before :(On Mon, Sep 11, 2017 at 2:32 PM, Dave Page <dpage@pgadmin.org> wrote:Please also check the python wheel builds OK - iirc, packages with conditionals in them in requirements.txt need special handling in setup.py.On Mon, Sep 11, 2017 at 9:55 AM, Dave Page <dpage@pgadmin.org> wrote:Great, but what's breaking Jenkins?On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Hi
--
On Mon, Sep 11, 2017 at 10:27 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
This is what I have in my system, which is working fine(venv26) murtuza@ubuntu-vm:[~/projects/pgadmin4/web/regression]$ python Python 2.6.9 (default, Mar 6 2016, 02:31:36)[GCC 5.3.1 20160225] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import wheel>>> wheel.__version__'0.30.0.a0'Can you check on the build machine if it is newer version which is 0.30.0?
-__version__ = "0.30.0a0" +__version__ = "0.30.0"
Not sure how that can work - the release notes for 0.30.0 specifically say:
- Removed support for Python 2.6, 3.2 and 3.3.
I'm thinking the attached patch is the way to go for Jenkins. Thoughts?
Ref: Link--Regards,On Mon, Sep 11, 2017 at 2:52 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: It's newer version of wheel is breaking this, set literals are not implemented in Python2.6.Unsupported syntax for Python2.6: { 'PKG-INFO', 'requires.txt', 'SOURCES.txt',.... }They released newer version couple of hours before :(On Mon, Sep 11, 2017 at 2:32 PM, Dave Page <dpage@pgadmin.org> wrote:Please also check the python wheel builds OK - iirc, packages with conditionals in them in requirements.txt need special handling in setup.py.On Mon, Sep 11, 2017 at 9:55 AM, Dave Page <dpage@pgadmin.org> wrote:Great, but what's breaking Jenkins?On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Attachment
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/438/display/redirect?page=changes> Changes: [Dave Page] Bump the build suffix in preparation for release. [Dave Page] Remove menu icon tests that are no longer required. ------------------------------------------ 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 --progressgit://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/*> git rev-parse origin/master^{commit}# timeout=10 Checking out Revision cca7526b9ba8c1bec7446faa7259af6468ed17f0 (origin/master) Commit message: "Remove menu icon tests that are no longer required."> git config core.sparsecheckout # timeout=10> git checkout-f cca7526b9ba8c1bec7446faa7259af6468ed17f0> git rev-list 3bbd1a8a48aac6a1f2b72dbe951f58fc32ed3bda # 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/jenkins793959617126803582.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, wheel...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 Babel==2.3.4 (from -r requirements.txt (line 4)) Using cached Babel-2.3.4-py2.py3-none-any.whl Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5)) Using cached beautifulsoup4-4.4.1-py2-none-any.whl Collecting blinker==1.3 (from -r requirements.txt (line 6)) Collecting click==6.6 (from -r requirements.txt (line 7)) Using cached click-6.6-py2.py3-none-any.whl Collecting extras==0.0.3 (from -r requirements.txt (line 8)) Collecting fixtures==2.0.0 (from -r requirements.txt (line 9)) Using cached fixtures-2.0.0-py2.py3-none-any.whl Collecting Flask==0.11.1 (from -r requirements.txt (line 10)) Using cached Flask-0.11.1-py2.py3-none-any.whl Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11)) Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12)) Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13)) Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14)) Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15)) Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16)) Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17)) Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18)) Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19)) Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20)) Using cached Flask_WTF-0.12-py2-none-any.whl Collecting html5lib==1.0b3 (from -r requirements.txt (line 21)) Collecting importlib==1.0.3 (from -r requirements.txt (line 22)) <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:318: 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/security.html#snimissingwarning.SNIMissingWarning <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py>:122: 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/security.html#insecureplatformwarning. InsecurePlatformWarning Collecting itsdangerous==0.24 (from -r requirements.txt (line 23)) Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24)) Collecting linecache2==1.0.0 (from -r requirements.txt (line 25)) Using cached linecache2-1.0.0-py2.py3-none-any.whl Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26)) Collecting ordereddict (from -r requirements.txt (line 27)) Collecting passlib==1.6.2 (from -r requirements.txt (line 28)) Collecting pbr==1.9.1 (from -r requirements.txt (line 29)) Using cached pbr-1.9.1-py2.py3-none-any.whl Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30)) Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31)) Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32)) Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33)) Using cached python_dateutil-2.5.0-py2.py3-none-any.whl Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34)) Collecting pytz==2014.10 (from -r requirements.txt (line 35)) Using cached pytz-2014.10-py2.py3-none-any.whl Collecting simplejson==3.6.5 (from -r requirements.txt (line 36)) Collecting six>=1.9.0 (from -r requirements.txt (line 37)) Using cached six-1.10.0-py2.py3-none-any.whl Collecting speaklater==1.3 (from -r requirements.txt (line 38)) Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39)) Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40)) Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41)) Collecting WTForms==2.0.2 (from -r requirements.txt (line 42)) Using cached WTForms-2.0.2-py2.py3-none-any.whl Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43)) Using cached backports.csv-1.0.4-py2.py3-none-any.whl Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44)) Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45)) Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9)) Using cached testtools-2.3.0-py2.py3-none-any.whl Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13)) Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached unittest2-1.1.0-py2.py3-none-any.whl Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cached traceback2-1.4.0-py2.py3-none-any.whl Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16)) Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9)) Using cachedargparse-1.4.0-py2.py3-none-any.whl Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2,argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel,Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako,python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF,Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv,Flask-Paranoid Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0traceback2-1.4.0 unittest2-1.1.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 <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pip/req/req_file.py>:150: UserWarning:Disabling all use of wheels due to the use of --build-options / --global-options / --install-options. cmdoptions.check_install_build_global(options,opts) Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1)) Using cached pyperclip-1.5.27.zip Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2)) Using cached selenium-3.3.3.tar.gz Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3)) Using cached testscenarios-0.5.0.tar.gz Complete output from command python setup.py egg_info: <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/setuptools/dist.py>:34: DeprecationWarning:Do not call this function warnings.warn("Do not call this function", DeprecationWarning) ERROR:root:Errorparsing Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/core.py",> line111, in pbr attrs = util.cfg_to_args(path, dist.script_args) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line264, in cfg_to_args wrap_commands(kwargs) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pbr/util.py",> line566, in wrap_commands cmdclass = ep.resolve() File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/pkg_resources/__init__.py",> line2347, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws/pgadmin-venv/lib/python2.6/site-packages/wheel/bdist_wheel.py",> line407 ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt', ^ SyntaxError: invalid syntax error in setup command: Error parsing /tmp/pip-build-LjKYGB/testscenarios/setup.cfg: SyntaxError:invalid syntax (bdist_wheel.py, line 407) ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-LjKYGB/testscenarios/ ERROR: Failed to install the regression test requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
That will work but If we stick with older versions then we won't be able to take advantages of bug fixes, security related fixes etc until CentOS6 is dead(which is 30 Nov 2020 EOL), I personally don't think that's a good idea.
On Mon, Sep 11, 2017 at 3:01 PM, Dave Page <dpage@pgadmin.org> wrote:
HiOn Mon, Sep 11, 2017 at 10:27 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: This is what I have in my system, which is working fine(venv26) murtuza@ubuntu-vm:[~/projects/pgadmin4/web/regression]$ python Python 2.6.9 (default, Mar 6 2016, 02:31:36)[GCC 5.3.1 20160225] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import wheel>>> wheel.__version__'0.30.0.a0'Can you check on the build machine if it is newer version which is 0.30.0?
-__version__ = "0.30.0a0" +__version__ = "0.30.0" Not sure how that can work - the release notes for 0.30.0 specifically say:
- Removed support for Python 2.6, 3.2 and 3.3.
I'm thinking the attached patch is the way to go for Jenkins. Thoughts?Ref: Link--Regards,On Mon, Sep 11, 2017 at 2:52 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: It's newer version of wheel is breaking this, set literals are not implemented in Python2.6.Unsupported syntax for Python2.6: { 'PKG-INFO', 'requires.txt', 'SOURCES.txt',.... }They released newer version couple of hours before :(On Mon, Sep 11, 2017 at 2:32 PM, Dave Page <dpage@pgadmin.org> wrote:Please also check the python wheel builds OK - iirc, packages with conditionals in them in requirements.txt need special handling in setup.py.On Mon, Sep 11, 2017 at 9:55 AM, Dave Page <dpage@pgadmin.org> wrote:Great, but what's breaking Jenkins?On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Well this is only for the CI of course - and we could limit it to just Python 2.6.
Plus... the wheel package is only used for creating the wheel, which is done on 2.7 anyway.
--
On Mon, Sep 11, 2017 at 10:43 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
That will work but If we stick with older versions then we won't be able to take advantages of bug fixes, security related fixes etc until CentOS6 is dead(which is 30 Nov 2020 EOL), I personally don't think that's a good idea.On Mon, Sep 11, 2017 at 3:01 PM, Dave Page <dpage@pgadmin.org> wrote:HiOn Mon, Sep 11, 2017 at 10:27 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: This is what I have in my system, which is working fine(venv26) murtuza@ubuntu-vm:[~/projects/pgadmin4/web/regression]$ python Python 2.6.9 (default, Mar 6 2016, 02:31:36)[GCC 5.3.1 20160225] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import wheel>>> wheel.__version__'0.30.0.a0'Can you check on the build machine if it is newer version which is 0.30.0?
-__version__ = "0.30.0a0" +__version__ = "0.30.0" Not sure how that can work - the release notes for 0.30.0 specifically say:
- Removed support for Python 2.6, 3.2 and 3.3.
I'm thinking the attached patch is the way to go for Jenkins. Thoughts?Ref: Link--Regards,On Mon, Sep 11, 2017 at 2:52 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: It's newer version of wheel is breaking this, set literals are not implemented in Python2.6.Unsupported syntax for Python2.6: { 'PKG-INFO', 'requires.txt', 'SOURCES.txt',.... }They released newer version couple of hours before :(On Mon, Sep 11, 2017 at 2:32 PM, Dave Page <dpage@pgadmin.org> wrote:Please also check the python wheel builds OK - iirc, packages with conditionals in them in requirements.txt need special handling in setup.py.On Mon, Sep 11, 2017 at 9:55 AM, Dave Page <dpage@pgadmin.org> wrote:Great, but what's breaking Jenkins?On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Yes that I understood.
I was targeting Python2.6 in general and by the way on 2020 we'll also have EOL for Python2.7 ;-)
On Mon, Sep 11, 2017 at 3:29 PM, Dave Page <dpage@pgadmin.org> wrote:
Well this is only for the CI of course - and we could limit it to just Python 2.6.Plus... the wheel package is only used for creating the wheel, which is done on 2.7 anyway.On Mon, Sep 11, 2017 at 10:43 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: That will work but If we stick with older versions then we won't be able to take advantages of bug fixes, security related fixes etc until CentOS6 is dead(which is 30 Nov 2020 EOL), I personally don't think that's a good idea.On Mon, Sep 11, 2017 at 3:01 PM, Dave Page <dpage@pgadmin.org> wrote:HiOn Mon, Sep 11, 2017 at 10:27 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: This is what I have in my system, which is working fine(venv26) murtuza@ubuntu-vm:[~/projects/pgadmin4/web/regression]$ python Python 2.6.9 (default, Mar 6 2016, 02:31:36)[GCC 5.3.1 20160225] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import wheel>>> wheel.__version__'0.30.0.a0'Can you check on the build machine if it is newer version which is 0.30.0?
-__version__ = "0.30.0a0" +__version__ = "0.30.0" Not sure how that can work - the release notes for 0.30.0 specifically say:
- Removed support for Python 2.6, 3.2 and 3.3.
I'm thinking the attached patch is the way to go for Jenkins. Thoughts?Ref: Link--Regards,On Mon, Sep 11, 2017 at 2:52 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: It's newer version of wheel is breaking this, set literals are not implemented in Python2.6.Unsupported syntax for Python2.6: { 'PKG-INFO', 'requires.txt', 'SOURCES.txt',.... }They released newer version couple of hours before :(On Mon, Sep 11, 2017 at 2:32 PM, Dave Page <dpage@pgadmin.org> wrote:Please also check the python wheel builds OK - iirc, packages with conditionals in them in requirements.txt need special handling in setup.py.On Mon, Sep 11, 2017 at 9:55 AM, Dave Page <dpage@pgadmin.org> wrote:Great, but what's breaking Jenkins?On Mon, Sep 11, 2017 at 9:54 AM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote: I'm able to run tests & pgAdmin4 on my machine using Python2.6.--Regards,On Mon, Sep 11, 2017 at 2:08 PM, Dave Page <dpage@pgadmin.org> wrote:Murtuza, please look into this ASAP. I need the builds to go green so I can cut the release!On Mon, Sep 11, 2017 at 9:32 AM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python26/43 6/display/redirect?page=change s>
Changes:
[Dave Page] Stick with the older Flask-Script module for Python 2.6
------------------------------------------
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/ori gin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da (origin/master)
Commit message: "Stick with the older Flask-Script module for Python 2.6"
> git config core.sparsecheckout # timeout=10
> git checkout -f 8b1aeadaf0347fb27bc7756cdf03aad32d03f3da
> git rev-list ac2512799e75eebc7612ee9ebe0ffd0841f25912 # 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/jenkins1541475390173008577.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, wheel...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 pip will drop support for Python 2.6
Collecting Babel==2.3.4 (from -r requirements.txt (line 4))
Using cached Babel-2.3.4-py2.py3-none-any.whl
Collecting beautifulsoup4==4.4.1 (from -r requirements.txt (line 5))
Using cached beautifulsoup4-4.4.1-py2-none-any.whl
Collecting blinker==1.3 (from -r requirements.txt (line 6))
Collecting click==6.6 (from -r requirements.txt (line 7))
Using cached click-6.6-py2.py3-none-any.whl
Collecting extras==0.0.3 (from -r requirements.txt (line 8))
Collecting fixtures==2.0.0 (from -r requirements.txt (line 9))
Using cached fixtures-2.0.0-py2.py3-none-any.whl
Collecting Flask==0.11.1 (from -r requirements.txt (line 10))
Using cached Flask-0.11.1-py2.py3-none-any.whl
Collecting Flask-Babel==0.11.1 (from -r requirements.txt (line 11))
Collecting Flask-Gravatar==0.4.2 (from -r requirements.txt (line 12))
Using cached Flask_Gravatar-0.4.2-py2.py3-none-any.whl
Collecting Flask-HTMLmin==1.2 (from -r requirements.txt (line 13))
Collecting Flask-Login==0.3.2 (from -r requirements.txt (line 14))
Collecting Flask-Mail==0.9.1 (from -r requirements.txt (line 15))
Collecting Flask-Migrate==2.0.3 (from -r requirements.txt (line 16))
Collecting Flask-Principal==0.4.0 (from -r requirements.txt (line 17))
Collecting Flask-Security==1.7.5 (from -r requirements.txt (line 18))
Collecting Flask-SQLAlchemy==2.1 (from -r requirements.txt (line 19))
Collecting Flask-WTF==0.12 (from -r requirements.txt (line 20))
Using cached Flask_WTF-0.12-py2-none-any.whl
Collecting html5lib==1.0b3 (from -r requirements.txt (line 21))
Collecting importlib==1.0.3 (from -r requirements.txt (line 22))
Collecting itsdangerous==0.24 (from -r requirements.txt (line 23))
Collecting Jinja2==2.7.3 (from -r requirements.txt (line 24))
Collecting linecache2==1.0.0 (from -r requirements.txt (line 25))
Using cached linecache2-1.0.0-py2.py3-none-any.whl
Collecting MarkupSafe==0.23 (from -r requirements.txt (line 26))
Collecting ordereddict (from -r requirements.txt (line 27))
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#snimi ssingwarning.
SNIMissingWarning
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/_vendor/reques ts/packages/urllib3/util/ssl_. py>:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io /en/latest/security.html#insec ureplatformwarning.
InsecurePlatformWarning
Collecting passlib==1.6.2 (from -r requirements.txt (line 28))
Collecting pbr==1.9.1 (from -r requirements.txt (line 29))
Using cached pbr-1.9.1-py2.py3-none-any.whl
Collecting psycopg2>=2.7.1 (from -r requirements.txt (line 30))
Using cached psycopg2-2.7.3.1-cp26-cp26m-manylinux1_x86_64.whl
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 31))
Collecting pyrsistent==0.11.13 (from -r requirements.txt (line 32))
Collecting python-dateutil==2.5.0 (from -r requirements.txt (line 33))
Using cached python_dateutil-2.5.0-py2.py3-none-any.whl
Collecting python-mimeparse==1.5.1 (from -r requirements.txt (line 34))
Collecting pytz==2014.10 (from -r requirements.txt (line 35))
Using cached pytz-2014.10-py2.py3-none-any.whl
Collecting simplejson==3.6.5 (from -r requirements.txt (line 36))
Collecting six>=1.9.0 (from -r requirements.txt (line 37))
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting speaklater==1.3 (from -r requirements.txt (line 38))
Collecting SQLAlchemy==1.0.14 (from -r requirements.txt (line 39))
Collecting sqlparse==0.1.19 (from -r requirements.txt (line 40))
Collecting Werkzeug==0.9.6 (from -r requirements.txt (line 41))
Collecting WTForms==2.0.2 (from -r requirements.txt (line 42))
Using cached WTForms-2.0.2-py2.py3-none-any.whl
Collecting backports.csv==1.0.4 (from -r requirements.txt (line 43))
Using cached backports.csv-1.0.4-py2.py3-none-any.whl
Collecting Flask-Paranoid==0.1.0 (from -r requirements.txt (line 44))
Collecting Flask-Script==2.0.5 (from -r requirements.txt (line 45))
Collecting testtools>=0.9.22 (from fixtures==2.0.0->-r requirements.txt (line 9))
Using cached testtools-2.3.0-py2.py3-none-any.whl
Collecting htmlmin (from Flask-HTMLmin==1.2->-r requirements.txt (line 13))
Collecting alembic>=0.6 (from Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting unittest2>=1.0.0 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting Mako (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting python-editor>=0.3 (from alembic>=0.6->Flask-Migrate==2.0.3->-r requirements.txt (line 16))
Collecting argparse (from unittest2>=1.0.0->testtools>=0.9.22->fixtures==2.0.0->-r requirements.txt (line 9))
Using cached argparse-1.4.0-py2.py3-none-any.whl
Installing collected packages: pytz, Babel, beautifulsoup4, blinker, click, extras, six, python-mimeparse, linecache2, traceback2, argparse, unittest2, pbr, testtools, fixtures, MarkupSafe, Jinja2, Werkzeug, itsdangerous, Flask, Flask-Babel, Flask-Gravatar, htmlmin, Flask-HTMLmin, Flask-Login, Flask-Mail, Flask-Script, python-dateutil, SQLAlchemy, Mako, python-editor, alembic, Flask-SQLAlchemy, Flask-Migrate, Flask-Principal, passlib, ordereddict, WTForms, Flask-WTF, Flask-Security, html5lib, importlib, psycopg2, pycrypto, pyrsistent, simplejson, speaklater, sqlparse, backports.csv, Flask-Paranoid
Successfully installed Babel-2.3.4 Flask-0.11.1 Flask-Babel-0.11.1 Flask-Gravatar-0.4.2 Flask-HTMLmin-1.2 Flask-Login-0.3.2 Flask-Mail-0.9.1 Flask-Migrate-2.0.3 Flask-Paranoid-0.1.0 Flask-Principal-0.4.0 Flask-SQLAlchemy-2.1 Flask-Script-2.0.5 Flask-Security-1.7.5 Flask-WTF-0.12 Jinja2-2.7.3 Mako-1.0.7 MarkupSafe-0.23 SQLAlchemy-1.0.14 WTForms-2.0.2 Werkzeug-0.9.6 alembic-0.9.5 argparse-1.4.0 backports.csv-1.0.4 beautifulsoup4-4.4.1 blinker-1.3 click-6.6 extras-0.0.3 fixtures-2.0.0 html5lib-1.0b3 htmlmin-0.1.10 importlib-1.0.3 itsdangerous-0.24 linecache2-1.0.0 ordereddict-1.1 passlib-1.6.2 pbr-1.9.1 psycopg2-2.7.3.1 pycrypto-2.6.1 pyrsistent-0.11.13 python-dateutil-2.5.0 python-editor-1.0.3 python-mimeparse-1.5.1 pytz-2014.10 simplejson-3.6.5 six-1.10.0 speaklater-1.3 sqlparse-0.1.19 testtools-2.3.0 traceback2-1.4.0 unittest2-1.1.0
DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/pip/req/req_file.p y>:150: UserWarning: Disabling all use of wheels due to the use of --build-options / --global-options / --install-options.
cmdoptions.check_install_build_global(options, opts)
Collecting pyperclip~=1.5.27 (from -r web/regression/requirements.txt (line 1))
Using cached pyperclip-1.5.27.zip
Collecting selenium==3.3.3 (from -r web/regression/requirements.txt (line 2))
Using cached selenium-3.3.3.tar.gz
Collecting testscenarios==0.5.0 (from -r web/regression/requirements.txt (line 3))
Using cached testscenarios-0.5.0.tar.gz
Complete output from command python setup.py egg_info:
<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/ws /pgadmin-venv/lib/python2.6/si te-packages/setuptools/dist.py >:34: DeprecationWarning: Do not call this function
warnings.warn("Do not call this function", DeprecationWarning)
ERROR:root:Error parsing
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/core.py",> line 111, in pbr
attrs = util.cfg_to_args(path, dist.script_args)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 264, in cfg_to_args
wrap_commands(kwargs)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pbr/util.py",> line 566, in wrap_commands
cmdclass = ep.resolve()
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/pkg_resources/__i nit__.py",> line 2347, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python26/w s/pgadmin-venv/lib/python2.6/s ite-packages/wheel/bdist_wheel .py",> line 407
ignore=lambda x, y: {'PKG-INFO', 'requires.txt', 'SOURCES.txt',
^
SyntaxError: invalid syntax
error in setup command: Error parsing /tmp/pip-build-yysFV3/testscenarios/setup.cfg: SyntaxError: invalid syntax (bdist_wheel.py, line 407)
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-yysFV3/testscenarios/
ERROR: Failed to install the regression test requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company