12:41:22 Started by user Simon Pruvost
12:41:22 Running as SYSTEM
12:41:22 Building in workspace /var/lib/jenkins/jobs/Prod/workspace
12:41:22 The recommended git tool is: NONE
12:41:22 using credential 8a11502e-f80d-4742-a451-704b40f19292
12:41:22 Cloning the remote Git repository
12:41:22 Cloning repository https://framagit.org/pruvosim/store-prices-watchdog.git
12:41:22 > git init /var/lib/jenkins/jobs/Prod/workspace # timeout=10
12:41:22 Fetching upstream changes from https://framagit.org/pruvosim/store-prices-watchdog.git
12:41:22 > git --version # timeout=10
12:41:22 > git --version # 'git version 2.39.5'
12:41:22 using GIT_ASKPASS to set credentials
12:41:22 > git fetch --tags --force --progress -- https://framagit.org/pruvosim/store-prices-watchdog.git +refs/heads/*:refs/remotes/origin/* # timeout=10
12:41:23 > git config remote.origin.url https://framagit.org/pruvosim/store-prices-watchdog.git # timeout=10
12:41:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
12:41:23 Avoid second fetch
12:41:23 > git rev-parse refs/remotes/origin/main^{commit} # timeout=10
12:41:23 Checking out Revision 0e88bec4388acb70565513519c2feab07fd1500c (refs/remotes/origin/main)
12:41:23 > git config core.sparsecheckout # timeout=10
12:41:23 > git checkout -f 0e88bec4388acb70565513519c2feab07fd1500c # timeout=10
12:41:23 Commit message: "Merge branch 'dev' into 'main'"
12:41:23 First time build. Skipping changelog.
12:41:23 [workspace] $ /bin/sh -xe /tmp/jenkins11459614332006520474.sh
12:41:23 + python -m venv my-venv
12:41:26 + my-venv/bin/pip install -r config/requirements.txt
12:41:26 Collecting peewee==3.17.9
12:41:26 Using cached peewee-3.17.9-py3-none-any.whl
12:41:26 Collecting requests==2.32.3
12:41:26 Using cached requests-2.32.3-py3-none-any.whl (64 kB)
12:41:26 Collecting discord-webhook==1.4.1
12:41:27 Using cached discord_webhook-1.4.1-py3-none-any.whl (13 kB)
12:41:27 Collecting psycopg2==2.9.10
12:41:27 Using cached psycopg2-2.9.10.tar.gz (385 kB)
12:41:27 Preparing metadata (setup.py): started
12:41:27 Preparing metadata (setup.py): finished with status 'done'
12:41:27 Collecting charset-normalizer<4,>=2
12:41:27 Using cached charset_normalizer-3.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (143 kB)
12:41:27 Collecting idna<4,>=2.5
12:41:27 Using cached idna-3.10-py3-none-any.whl (70 kB)
12:41:27 Collecting urllib3<3,>=1.21.1
12:41:27 Using cached urllib3-2.4.0-py3-none-any.whl (128 kB)
12:41:27 Collecting certifi>=2017.4.17
12:41:27 Downloading certifi-2025.4.26-py3-none-any.whl (159 kB)
12:41:27 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.6/159.6 kB 4.7 MB/s eta 0:00:00
12:41:27 Installing collected packages: peewee, urllib3, psycopg2, idna, charset-normalizer, certifi, requests, discord-webhook
12:41:28 DEPRECATION: psycopg2 is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
12:41:28 Running setup.py install for psycopg2: started
12:41:35 Running setup.py install for psycopg2: finished with status 'done'
12:41:36 Successfully installed certifi-2025.4.26 charset-normalizer-3.4.1 discord-webhook-1.4.1 idna-3.10 peewee-3.17.9 psycopg2-2.9.10 requests-2.32.3 urllib3-2.4.0
12:41:36 + my-venv/bin/python Main.py
12:41:36 {"Accept": "application/json"}
12:41:36 Traceback (most recent call last):
12:41:36 File "/var/lib/jenkins/jobs/Prod/workspace/Main.py", line 3, in <module>
12:41:36 from GamesOperations import updateDatasFromQueries
12:41:36 File "/var/lib/jenkins/jobs/Prod/workspace/GamesOperations.py", line 3, in <module>
12:41:36 from StoreHelper import searchForGames, registerGame, searchForGamesByScraper
12:41:36 File "/var/lib/jenkins/jobs/Prod/workspace/StoreHelper.py", line 6, in <module>
12:41:36 from Scraper import get_game_details
12:41:36 File "/var/lib/jenkins/jobs/Prod/workspace/Scraper.py", line 2, in <module>
12:41:36 from playwright.sync_api import sync_playwright
12:41:36 ModuleNotFoundError: No module named 'playwright'
12:41:36 Build step 'Execute shell' marked build as failure
12:41:36 Finished: FAILURE