J’ai tapé ces commande dans mon terminal :
git clone https://github.com/YunoHost/package_check
package_check/sub_scripts/lxc_build.sh
–>> Il installe les paquet et là il me demande un mot de passe :
`
> Renseigne /etc/hosts sur l’invité
> Ajoute l’user pchecker
> Autorise pchecker à utiliser sudo sans mot de passe
> Mise en place de la connexion ssh vers l’invité.
# Host 10.1.4.2 found: line 6
# Host 10.1.4.2 found: line 7
# Host 10.1.4.2 found: line 8
/root/.ssh/known_hosts updated.
Original contents retained as /root/.ssh/known_hosts.old
# 10.1.4.2:22 SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3
# 10.1.4.2:22 SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3
# 10.1.4.2:22 SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3
pchecker@10.1.4.2’s password:
Authentication failed.
pchecker@10.1.4.2’s password:
Permission denied, please try again.
pchecker@10.1.4.2’s password:
Permission denied, please try again.
pchecker@10.1.4.2’s password:
Permission denied (publickey,password).
pchecker@10.1.4.2’s password:
pchecker@10.1.4.2’s password:
j’ai essayé tout les Mot de passe de mes utilisateur mais rien ne fonctionne.
J’ai ensuite essayé : package_check/package_check.sh https://github.com/frju365/garradin_ynh
et là c’est la même chose :
Chargement des fonctions de lxc_launcher.sh
Chargement des fonctions de testing_process.sh
Chargement des fonctions de log_extractor.sh
package_check/package_check.sh: ligne 69: /usr/share/yunohost/helpers: Aucun fichier ou dossier de ce type
Le fichier /home/abld/package_check/pcheck.lock est présent. Package check est déjà utilisé.
Souhaitez-vous continuer quand même et ignorer le lock ? (Y/N) :Y
cat: /var/lib/lxc/pchecker_lxc/rootfs/etc/yunohost/current_host: Aucun fichier ou dossier de ce type
Arrêt du conteneur LXC
Restauration du snapshot de la machine lxc
Arrêt du réseau pour le conteneur.
Récupération du package à tester.
Clonage dans ‘/home/abld/package_check/garradin_ynh_check’…
remote: Counting objects: 75, done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 75 (delta 30), reused 0 (delta 0), pack-reused 0
Dépaquetage des objets: 100% (75/75), fait.
Initialisation du réseau pour le conteneur.
ifup: interface lxc-pchecker already configured
Parsing du fichier check_process
Scénario de test: Nom du test
>> Package linter... [Test 1/11]
YUNOHOST APP PACKAGE LINTER
App packaging documentation: https://yunohost.org/#/packaging_apps
App package example: https://github.com/YunoHost/example_ynh
Checking /home/abld/package_check/garradin_ynh_check package
>>>> MISSING FILES <<<<
✔ manifest.json
✔ scripts/install
✔ scripts/remove
✔ scripts/upgrade
✔ scripts/backup
✔ scripts/restore
✘ LICENSE
✔ README.md
>>>> MANIFEST <<<<
✔ Manifest syntax is good.
✔ "name" field is present
✔ "id" field is present
✔ "packaging_format" field is present
✔ "description" field is present
✔ "url" field is present
✘ "license" field is missing
✔ "maintainer" field is present
✔ "requirements" field is present
✔ "multi_instance" field is present
✔ "services" field is present
✔ "arguments" field is present
✔ "packaging_format" field is good
✘ "multi_instance" field must be boolean type values 'true' or 'false' and not string type
>>>> INSTALL SCRIPT <<<<
✔ All commands are prefix with "sudo".
✘ Line 44: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 47: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Helpers documentation: https://yunohost.org/#/packaging_apps_helpers
code: https://github.com/YunoHost/yunohost/…helpers
✘ Line 16: 'exit' command shouldn't be used. Use 'ynh_die' helper instead.
✔ Verifications (with 'ynh_die' or 'exit' commands) are done before any system modification.
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419
>>>> REMOVE SCRIPT <<<<
✔ All commands are prefix with "sudo".
✘ Line 5: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Helpers documentation: https://yunohost.org/#/packaging_apps_helpers
code: https://github.com/YunoHost/yunohost/…helpers
✔ no 'exit' command found: 'ynh_die' helper is possibly used
✔ Verifications (with 'ynh_die' or 'exit' commands) are done before any system modification.
✘ set -u is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419
>>>> UPGRADE SCRIPT <<<<
✔ All commands are prefix with "sudo".
✘ Line 8: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 9: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 10: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 43: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 44: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Helpers documentation: https://yunohost.org/#/packaging_apps_helpers
code: https://github.com/YunoHost/yunohost/…helpers
✔ no 'exit' command found: 'ynh_die' helper is possibly used
✔ Verifications (with 'ynh_die' or 'exit' commands) are done before any system modification.
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419
>>>> BACKUP SCRIPT <<<<
✔ All commands are prefix with "sudo".
✘ Line 23: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Helpers documentation: https://yunohost.org/#/packaging_apps_helpers
code: https://github.com/YunoHost/yunohost/…helpers
✔ no 'exit' command found: 'ynh_die' helper is possibly used
✔ Verifications (with 'ynh_die' or 'exit' commands) are done before any system modification.
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419
>>>> RESTORE SCRIPT <<<<
✔ All commands are prefix with "sudo".
✘ Line 22: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 25: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 26: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 27: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 28: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Line 65: 'yunohost app setting' command is deprecated, please use helpers ynh_app_setting_(set,get,delete).
✘ Helpers documentation: https://yunohost.org/#/packaging_apps_helpers
code: https://github.com/YunoHost/yunohost/…helpers
✘ Line 34: 'exit' command shouldn't be used. Use 'ynh_die' helper instead.
✘ Line 41: 'exit' command shouldn't be used. Use 'ynh_die' helper instead.
✘ Line 47: 'exit' command shouldn't be used. Use 'ynh_die' helper instead.
✔ Verifications (with 'ynh_die' or 'exit' commands) are done before any system modification.
✘ set -eu is missing at beginning of file. For details, look at https://dev.yunohost.org/issues/419
>>>> _COMMON SCRIPT <<<<
✔ All commands are prefix with "sudo".
✔ Only helpers are used
✔ no 'exit' command found: 'ynh_die' helper is possibly used
--- FAIL ---
>> Installation en sous-dossier... [Test 2/11]
wc: /var/lib/lxc/pchecker_lxc/rootfs/var/log/yunohost/yunohost-cli.log: Aucun fichier ou dossier de ce type
..pchecker@10.1.4.2's password: