#5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects)
by Luc Saffre · in Hosting (system administration) · assigned to hannes
Résumé
Concepts sous-jacents
- #5960 (Two problems on kuu) (by Luc Saffre in Hosting (system administration) assigned to hannes)
Commentaires
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : Is it possible that the gitlab-runner accepts to run multiple processes at the same time? And that this would cause it to run out of memory? Todo: check gl-runner config options.
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) (1 reply) : The error came again. I saw that kuu's uptime was 380 days, so I said "sudo reboot".
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : I disabled the cms1 public demo site by saying "mv conf.d conf.d.disabled" in /etc/supervisor.
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : Wow, I see that monit takes quite much of memory (7.5%). But disabling the cms demo site would give us 6.6+4.1+3.9 % of RAM:
$ ps -o pid,user,%mem,command ax | sort -b -k3 -r PID USER %MEM COMMAND 638 root 7.6 /usr/bin/monit -c /etc/monit/monitrc 636297 root 6.6 /usr/local/lin... - 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : The failure came again, but this time there is 23GB of free disk space, which indicates that RAM and not disk space is missing.
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : I updated our cron cheat sheet.
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : /etc/cron.daily/prune_docker.sh worked fine when I launched it manually, so the immediate issue is fixed now for a while. But TODO: Why is /etc/cron.daily/prune_docker.sh not being executed?
- 1 année, 7 mois ago by Luc Saffre in reply to Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : I created a separate ticket for this issue and then manually moved all comments about this issue from #197 (Ticket types : deployment, enhancement, bugfix, ...) to here.
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) (1 reply) : Created new Ticket #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects).
- 1 année, 7 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : I now disabled alpha.mylino.net by saying root@pilv:/etc/supervisor/conf.d# mv alpha-asgi.conf ../conf.disabled/
- 1 année, 8 mois ago by hannes about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) : No, i didn't restart supervisor. Probably the memory usage is at the limit and sometimes pipeline succeeds, sometimes not.
- 1 année, 8 mois ago by hannes about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) (4 replies) : In pilv did following: apt-get install python3-pykcs11 apt-get install swig (already existed) pip install --no-build-isolation pykcs11 pip install wheel After that still got: x86_64-linux-gnu-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -I/usr/local/include -I/builds/lino-framework/book/venv/includ...
- 1 année, 8 mois ago by Luc Saffre about #5958 (Failed to build pykcs11; Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects) (2 replies) : The book failed on gitLab with "Failed to build pykcs11; ERROR: Could not build wheels for pykcs11, which is required to install pyproject.toml-based projects". I clicked to restart the Pipeline because I assume that it was a temporary problem.