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