Project

General

Profile

Development #72899

Utiliser de vraies machines virtuelles pour les builds jenkins

Added by Emmanuel Cazenave over 1 year ago. Updated about 1 month ago.

Status:
Solution validée
Priority:
Normal
Target version:
-
Start date:
03 January 2023
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

#63866#note-1 la dernière galère en date avec les système de build actuel utilisant deboostrap. Il y en a eu d'autres d'avant.

Pourquoi tenter des builds sur de vrai VM en bricolant un truc avec libvirt, j'imagine ça plus confortable.


Related issues

Related to Publik Installation Développeur - Bug #90694: Si deux pipeline tournent en même temps la dernière à lancer postgresql part en erreurNouveau16 May 2024

Actions

History

#3

Updated by Emmanuel Cazenave 5 months ago

  • Subject changed from Utliser de vraies machines virtuelles pour les builds jenkins to Utiliser de vraies machines virtuelles pour les builds jenkins
#4

Updated by Robot Gitea 5 months ago

  • Status changed from Nouveau to En cours
  • Assignee set to Emmanuel Cazenave

Emmanuel Cazenave (ecazenave) a ouvert une pull request sur Gitea concernant cette demande :

#5

Updated by Emmanuel Cazenave 4 months ago

Ça marche en local, sur jenkins ça coince : https://jenkins.entrouvert.org/job/gitea/job/publik-devinst/job/wip%252F72899-debvm/4/

16:54:54  + debvm-create --release=bookworm --size=10G --sshkey=/var/lib/jenkins/.ssh/id_rsa.pub -- --include=ca-certificates,gnupg2,linux-image-generic,locales-all,postgresql,sudo,git,ansible,make --hook-dir=/usr/share/mmdebstrap/hooks/9pmount
....
#ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
16:56:13  ERROR: ld.so: object 'libfakechroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
16:56:13  passwd: unable to chroot to directory /tmp/mmdebstrap.pacnCKDqPc: Operation not permitted
16:56:13  E: setup failed: E: command failed: passwd --root "$1" --delete root
16:56:13  I: main() received signal PIPE: waiting for setup...
16:56:13  W: failed to read required number of blocks
16:56:13  W: creating tarball failed: E: invalid number of blocks: -1
16:56:13  
16:56:13  I: main() received signal HUP: waiting for setup...
16:56:13  I: removing tempdir /tmp/mmdebstrap.pacnCKDqPc...
16:56:13  I: main() received signal TERM: waiting for cleanup...
16:56:13  E: rm failed: 15
16:56:13  semop(1): encountered an error: Invalid argument
16:59:09  Sending interrupt signal to process

Un problème avec fakeroot.

#8

Updated by Emmanuel Cazenave about 2 months ago

  • Related to Bug #90694: Si deux pipeline tournent en même temps la dernière à lancer postgresql part en erreur added
#9

Updated by Robot Gitea about 1 month ago

  • Status changed from En cours to Solution proposée
#10

Updated by Robot Gitea about 1 month ago

  • Status changed from Solution proposée to Solution validée

Yann Weber (yweber) a approuvé une pull request sur Gitea concernant cette demande :

Also available in: Atom PDF