Skip to content
Failed

Console Output

20:41:32 Started by user Simon Pruvost
20:41:32 Running as SYSTEM
20:41:32 Building in workspace /var/lib/jenkins/jobs/first/workspace
20:41:32 The recommended git tool is: NONE
20:41:32 using credential 8a11502e-f80d-4742-a451-704b40f19292
20:41:32  > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/first/workspace/.git # timeout=10
20:41:32 Fetching changes from the remote Git repository
20:41:32  > git config remote.origin.url https://framagit.org/pruvosim/store-prices-watchdog.git # timeout=10
20:41:32 Fetching upstream changes from https://framagit.org/pruvosim/store-prices-watchdog.git
20:41:32  > git --version # timeout=10
20:41:32  > git --version # 'git version 2.39.5'
20:41:32 using GIT_ASKPASS to set credentials 
20:41:32  > git fetch --tags --force --progress -- https://framagit.org/pruvosim/store-prices-watchdog.git +refs/heads/*:refs/remotes/origin/* # timeout=10
20:41:44  > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
20:41:44 Checking out Revision dd81d6ff60b1ed915647f1329637d6222652c512 (refs/remotes/origin/dev)
20:41:44  > git config core.sparsecheckout # timeout=10
20:41:44  > git checkout -f dd81d6ff60b1ed915647f1329637d6222652c512 # timeout=10
20:41:44 Commit message: "Convert date for Postgres"
20:41:44  > git rev-list --no-walk dd81d6ff60b1ed915647f1329637d6222652c512 # timeout=10
20:41:44 
[workspace] $ /bin/sh -xe /tmp/jenkins8348061609047598380.sh 20:41:44 + python -m venv my-venv 20:41:47 + my-venv/bin/pip install -r config/requirements.txt 20:41:47 Collecting peewee==3.17.9 20:41:48 Downloading peewee-3.17.9.tar.gz (3.0 MB) 20:41:48 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 14.0 MB/s eta 0:00:00 20:41:48 Installing build dependencies: started 20:41:50 Installing build dependencies: finished with status 'done' 20:41:50 Getting requirements to build wheel: started 20:41:50 Getting requirements to build wheel: finished with status 'done' 20:41:50 Preparing metadata (pyproject.toml): started 20:41:50 Preparing metadata (pyproject.toml): finished with status 'done' 20:41:50 Collecting requests==2.32.3 20:41:50 Downloading requests-2.32.3-py3-none-any.whl (64 kB) 20:41:50 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.9/64.9 kB 7.3 MB/s eta 0:00:00 20:41:50 Collecting discord-webhook==1.4.1 20:41:50 Downloading discord_webhook-1.4.1-py3-none-any.whl (13 kB) 20:41:50 Collecting psycopg2==2.9.10 20:41:50 Downloading psycopg2-2.9.10.tar.gz (385 kB) 20:41:50 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 385.7/385.7 kB 18.9 MB/s eta 0:00:00 20:41:50 Preparing metadata (setup.py): started 20:41:50 Preparing metadata (setup.py): finished with status 'error' 20:41:50 error: subprocess-exited-with-error 20:41:50 20:41:50 × python setup.py egg_info did not run successfully. 20:41:50 │ exit code: 1 20:41:50 ╰─> [23 lines of output] 20:41:50 running egg_info 20:41:50 creating /tmp/pip-pip-egg-info-u79abuya/psycopg2.egg-info 20:41:50 writing /tmp/pip-pip-egg-info-u79abuya/psycopg2.egg-info/PKG-INFO 20:41:50 writing dependency_links to /tmp/pip-pip-egg-info-u79abuya/psycopg2.egg-info/dependency_links.txt 20:41:50 writing top-level names to /tmp/pip-pip-egg-info-u79abuya/psycopg2.egg-info/top_level.txt 20:41:50 writing manifest file '/tmp/pip-pip-egg-info-u79abuya/psycopg2.egg-info/SOURCES.txt' 20:41:50 20:41:50 Error: pg_config executable not found. 20:41:50 20:41:50 pg_config is required to build psycopg2 from source. Please add the directory 20:41:50 containing pg_config to the $PATH or specify the full executable path with the 20:41:50 option: 20:41:50 20:41:50 python setup.py build_ext --pg-config /path/to/pg_config build ... 20:41:50 20:41:50 or with the pg_config option in 'setup.cfg'. 20:41:50 20:41:50 If you prefer to avoid building psycopg2 from source, please install the PyPI 20:41:50 'psycopg2-binary' package instead. 20:41:50 20:41:50 For further information please check the 'doc/src/install.rst' file (also at 20:41:50 <https://www.psycopg.org/docs/install.html>). 20:41:50 20:41:50 [end of output] 20:41:50 20:41:50 note: This error originates from a subprocess, and is likely not a problem with pip. 20:41:50 error: metadata-generation-failed 20:41:50 20:41:50 × Encountered error while generating package metadata. 20:41:50 ╰─> See above for output. 20:41:50 20:41:50 note: This is an issue with the package mentioned above, not pip. 20:41:50 hint: See above for details. 20:41:51 Build step 'Execute shell' marked build as failure 20:41:51 Finished: FAILURE