Thread: Build failed in Jenkins: pgadmin4-master-python27 #556
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/556/display/redirect?page=changes> Changes: [Dave Page] Fix requirements for Python 2.6. [Dave Page] SQLAlchemy stopped supporting 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 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-python27/ws/> > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git://git.postgresql.org/git/pgadmin4.git # timeout=10 Cleaning workspace > git rev-parse --verify HEAD # timeout=10 Resetting working tree > git reset --hard # timeout=10 > git clean -fdx # timeout=10 Fetching upstream changes from git://git.postgresql.org/git/pgadmin4.git > git --version # timeout=10 > git fetch --tags --progress git://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision c0cfc9f29b1e8ac1099a135ff7acf327576691fd (origin/master) Commit message: "SQLAlchemy stopped supporting Python 2.6." > git config core.sparsecheckout # timeout=10 > git checkout -f c0cfc9f29b1e8ac1099a135ff7acf327576691fd > git rev-list a705fb46a8df9d4db072894d8214a568c38a341a # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content PYTHON_VERSION=2.7 [EnvInject] - Variables injected successfully. [pgadmin4-master-python27] $ /bin/sh -xe /tmp/jenkins8279574611404352817.sh + <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/ci/ci_runner.sh> EXECUTING: Create pgAdmin config EXECUTING: Python tests Creating Python 2.7 virtual environment... New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/pgadmin-venv/bin/python> Installing setuptools, pip, wheel...done. Running virtualenv with interpreter /usr/local/python-2.7/bin/python Invalid requirement: 'SQLAlchemy>=1.2.5 python_version >= '2.7'' Traceback (most recent call last): File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/pgadmin-venv/lib/python2.7/site-packages/pip/req/req_install.py",> line82, in __init__ req = Requirement(req) File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/pgadmin-venv/lib/python2.7/site-packages/pip/_vendor/packaging/requirements.py",> line96, in __init__ requirement_string[e.loc:e.loc + 8])) InvalidRequirement: Invalid requirement, parse error at "u'python_v'" ERROR: Failed to install the application requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure
Fix typo.
On Wed, Apr 4, 2018 at 5:30 PM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:
See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ 556/display/redirect?page= changes>
Changes:
[Dave Page] Fix requirements for Python 2.6.
[Dave Page] SQLAlchemy stopped supporting 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
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-python27/ ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git://git.postgresql.org/git/pgadmin4.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from git://git.postgresql.org/git/pgadmin4.git
> git --version # timeout=10
> git fetch --tags --progress git://git.postgresql.org/git/pgadmin4.git +refs/heads/*:refs/remotes/ origin/*
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision c0cfc9f29b1e8ac1099a135ff7acf327576691fd (origin/master)
Commit message: "SQLAlchemy stopped supporting Python 2.6."
> git config core.sparsecheckout # timeout=10
> git checkout -f c0cfc9f29b1e8ac1099a135ff7acf327576691fd
> git rev-list a705fb46a8df9d4db072894d8214a568c38a341a # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content
PYTHON_VERSION=2.7
[EnvInject] - Variables injected successfully.
[pgadmin4-master-python27] $ /bin/sh -xe /tmp/jenkins8279574611404352817.sh
+ <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ ws/ci/ci_runner.sh>
EXECUTING: Create pgAdmin config
EXECUTING: Python tests
Creating Python 2.7 virtual environment...
New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ ws/pgadmin-venv/bin/python>
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/local/python-2.7/bin/python
Invalid requirement: 'SQLAlchemy>=1.2.5 python_version >= '2.7''
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ ws/pgadmin-venv/lib/python2.7/ site-packages/pip/req/req_ install.py",> line 82, in __init__
req = Requirement(req)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ ws/pgadmin-venv/lib/python2.7/ site-packages/pip/_vendor/ packaging/requirements.py",> line 96, in __init__
requirement_string[e.loc:e.loc + 8]))
InvalidRequirement: Invalid requirement, parse error at "u'python_v'"
ERROR: Failed to install the application requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure
Attachment
Thanks.
On Wed, Apr 4, 2018 at 1:03 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Fix typo.On Wed, Apr 4, 2018 at 5:30 PM, pgAdmin 4 Jenkins <jenkins@pgadmin.org> wrote:See <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/55 6/display/redirect?page=change s>
Changes:
[Dave Page] Fix requirements for Python 2.6.
[Dave Page] SQLAlchemy stopped supporting 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
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-python27/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 c0cfc9f29b1e8ac1099a135ff7acf327576691fd (origin/master)
Commit message: "SQLAlchemy stopped supporting Python 2.6."
> git config core.sparsecheckout # timeout=10
> git checkout -f c0cfc9f29b1e8ac1099a135ff7acf327576691fd
> git rev-list a705fb46a8df9d4db072894d8214a568c38a341a # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[EnvInject] - Injecting as environment variables the properties content
PYTHON_VERSION=2.7
[EnvInject] - Variables injected successfully.
[pgadmin4-master-python27] $ /bin/sh -xe /tmp/jenkins8279574611404352817.sh
+ <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws /ci/ci_runner.sh>
EXECUTING: Create pgAdmin config
EXECUTING: Python tests
Creating Python 2.7 virtual environment...
New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws /pgadmin-venv/bin/python>
Installing setuptools, pip, wheel...done.
Running virtualenv with interpreter /usr/local/python-2.7/bin/python
Invalid requirement: 'SQLAlchemy>=1.2.5 python_version >= '2.7''
Traceback (most recent call last):
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/w s/pgadmin-venv/lib/python2.7/s ite-packages/pip/req/req_insta ll.py",> line 82, in __init__
req = Requirement(req)
File "<https://jenkins.pgadmin.org/job/pgadmin4-master-python27/w s/pgadmin-venv/lib/python2.7/s ite-packages/pip/_vendor/packa ging/requirements.py",> line 96, in __init__
requirement_string[e.loc:e.loc + 8]))
InvalidRequirement: Invalid requirement, parse error at "u'python_v'"
ERROR: Failed to install the application requirements.
ERROR: Error detected when running the Python tests.
Build step 'Execute shell' marked build as failure
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-python27/557/display/redirect?page=changes> Changes: [Dave Page] Typo fix. [Dave Page] Another attempt to fix the Python 2.6 deps. ------------------------------------------ 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-python27/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 a95775ae49e47fe1f289c514bb936a726010033c (origin/master) Commit message: "Another attempt to fix the Python 2.6 deps." > git config core.sparsecheckout # timeout=10 > git checkout -f a95775ae49e47fe1f289c514bb936a726010033c > git rev-list c0cfc9f29b1e8ac1099a135ff7acf327576691fd # timeout=10 [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Injecting as environment variables the properties content PYTHON_VERSION=2.7 [EnvInject] - Variables injected successfully. [pgadmin4-master-python27] $ /bin/sh -xe /tmp/jenkins6260303406607318944.sh + <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/ci/ci_runner.sh> EXECUTING: Create pgAdmin config EXECUTING: Python tests Creating Python 2.7 virtual environment... New python executable in <https://jenkins.pgadmin.org/job/pgadmin4-master-python27/ws/pgadmin-venv/bin/python> Installing setuptools, pip, wheel...done. Running virtualenv with interpreter /usr/local/python-2.7/bin/python Double requirement given: Flask-Security>=3.0.0 (from -r requirements.txt (line 40)) (already in Flask-Security==3.0.0 (from-r requirements.txt (line 15)), name='Flask-Security') ERROR: Failed to install the application requirements. ERROR: Error detected when running the Python tests. Build step 'Execute shell' marked build as failure