FailedConsole Output

[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/diaspora_ynh (autra)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins1885230868387266565.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/autra/data/diaspora_ynh diaspora_ynh (autra)

Sun May  3 22:05:01 UTC 2020
Wait for work starting...
.
Sun May  3 22:05:31 UTC 2020
Package check currently test the package
Start a test
Loads functions from launcher.sh
Loads functions from testing_process.sh
Loads functions from log_extractor.sh
Restore the previous snapshot.
Working time: 7 seconds (22:05:12).
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Test the package /home/yunohost.app/ssh_chroot_directories/autra/data/diaspora_ynh.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 6 seconds (22:05:20).
Working time: 4 seconds (22:05:24).
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.7.1.3
yunohost-admin: 
  repo: stable
  version: 3.7.1.1
moulinette: 
  repo: stable
  version: 3.7.1.1
ssowat: 
  repo: stable
  version: 3.7.1.1
Connection to 10.1.4.2 closed.


>> Package linter... [Test 1/4]

    [YunoHost App Package Linter]

 App packaging documentation - https://yunohost.org/#/packaging_apps
 App package example         - https://github.com/YunoHost/example_ynh
 Official helpers            - https://yunohost.org/#/packaging_apps_helpers_en
 Experimental helpers        - https://github.com/YunoHost-Apps/Experimental_helpers

 If you believe this linter returns false negative (warnings / errors which shouldn't happen),
 please report them on https://github.com/YunoHost/package_linter/issues

    Analyzing package /home/CI_package_check/dev_CI/../package_check/diaspora_ynh_check

 [Loading App]


 [Manifest]


 [Misc File Checks]


 [Helpers Usage]


 [_Common.Sh Script]


 [Install Script]


 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

☺  Not even a warning! Congratz and thank you for keeping that package up to date with good practices ! ♥
--- SUCCESS ---


>> Compare the syntax to the packaging template... [Test 2/5]

Looks like your package does not respect the template of the example app...
Please follow the template https://github.com/YunoHost/example_ynh


Do not use ynh_render_template in app scripts.
Use ynh_replace_string instead to keep clear all modifications made on files
Here the culprit:
scripts/install:147:ynh_render_template ../conf/diaspora.yml $final_path/diaspora/config/diaspora.yml

Looks like there isn't many comment separators in your script
Consider adding more separators to clarify the steps in your script
Here the culprit:
scripts/upgrade

Looks like there isn't many comment progression indicators in your script
Consider adding more indicators to help your users know the progression of the scripts
Here the culprit:
scripts/upgrade

--- FAIL ---


>> Installation on the root... [Test 3/5]
A LXC container is already running.
Working time: 1 second (22:05:29).
Working time: 4 minutes, 44 seconds (22:10:13).
Installation failed. (1)
Info: yunohost.app app_install - [1063.1] Installing the app 'diaspora'…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Saving app settings...
Info:  [....................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1063.1] 
Extracting templates from packages: 16%
Extracting templates from packages: 33%
Extracting templates from packages: 50%
Extracting templates from packages: 67%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1063.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  [....................] > Creating database...
Warning: yunohost.hook <lambda> - [1063.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1063.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  [....................] > Creating user...
Warning: yunohost.hook <lambda> - [1063.1] gpg: directory '/var/www/diaspora/.gnupg' created
Info:  [....................] > Installing rvm...
Warning: yunohost.hook <lambda> - [1063.1] gpg: keybox '/var/www/diaspora/.gnupg/pubring.kbx' created
Warning: yunohost.hook <lambda> - [1063.1] gpg: key 105BD0E739499BDB: 8 signatures not checked due to missing keys
Warning: yunohost.hook <lambda> - [1063.1] gpg: /var/www/diaspora/.gnupg/trustdb.gpg: trustdb created
Warning: yunohost.hook <lambda> - [1063.1] gpg: key 105BD0E739499BDB: public key "Piotr Kuczynski <piotr.kuczynski@gmail.com>" imported
Warning: yunohost.hook <lambda> - [1063.1] gpg: key 3804BB82D39DC0E3: 108 signatures not checked due to missing keys
Warning: yunohost.hook <lambda> - [1063.1] gpg: key 3804BB82D39DC0E3: public key "Michal Papis (RVM signing) <mpapis@gmail.com>" imported
Warning: yunohost.hook <lambda> - [1063.1] gpg: Total number processed: 2
Warning: yunohost.hook <lambda> - [1063.1] gpg:               imported: 2
Warning: yunohost.hook <lambda> - [1063.1] gpg: no ultimately trusted keys found
Warning: yunohost.hook <lambda> - [1063.1] gpg: Signature made Wed 25 Mar 2020 09:58:42 PM UTC
Warning: yunohost.hook <lambda> - [1063.1] gpg:                using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
Warning: yunohost.hook <lambda> - [1063.1] gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
Warning: : This key is not certified with a trusted signature!
Warning: yunohost.hook <lambda> - [1063.1] gpg:          There is no indication that the signature belongs to the owner.
Warning: yunohost.hook <lambda> - [1063.1] Primary key fingerprint: 7D2B AF1C F37B 13E2 069D  6956 105B D0E7 3949 9BDB
Info:  [+++.................] > Installing ruby 2.4 (this can take a long time)...
Warning: yunohost.hook <lambda> - [1063.1] No binary rubies available for: debian/9/x86_64/ruby-2.4.9.
Warning: yunohost.hook <lambda> - [1063.1] Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Warning: yunohost.hook <lambda> - [1063.1] Error running '__rvm_make -j2',
Info:  [###.................] > Download the sources...
Warning: yunohost.hook <lambda> - [1063.1] please read /var/www/diaspora/.rvm/log/1588543667_ruby-2.4.9/make.log
Warning: yunohost.hook <lambda> - [1063.1] There has been an error while running make. Halting the installation.
Warning: yunohost.hook <lambda> - [1063.1] Cloning into 'diaspora'...
Warning: yunohost.hook <lambda> - [1063.1] fatal: write error: Disk quota exceeded
Warning: yunohost.hook <lambda> - [1063.1] fatal: index-pack failed
Error: yunohost.app app_install - [1063.1] Could not install diaspora: An error occurred inside the app installation script
Info: yunohost.log close - [1063.1] The operation 'Install the 'diaspora' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200503-220535-app_install-diaspora --share' to get help
Warning: yunohost.app dump_app_log_extract_for_debugging - [1063.1] Here's an extract of the logs before the crash. It might help debugging the error:
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + log_path=
Warning: - Error running '__rvm_make -j2',
Info: - [###.................] > Download the sources...
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + echo
Warning: - please read /var/www/diaspora/.rvm/log/1588543667_ruby-2.4.9/make.log
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG -
Warning: -
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + [[ -x '' ]]
Warning: - There has been an error while running make. Halting the installation.
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + ynh_script_progression '--message=Download the sources...' --weight=16
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + set +x
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + set +x
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + echo '! Helper used in legacy mode !'
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + set +x
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + echo '[###.................] > Download the sources...'
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + set -x
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + sudo -u diaspora git clone https://github.com/diaspora/diaspora.git -b v0.7.13.0
Warning: - Cloning into 'diaspora'...
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + ynh_exit_properly
Warning: yunohost.app app_install - [1063.1] Removing the app following the installation failure…
Info:  [+...................] > Load settings
Info:  [#+..................] > Remove services
Error: yunohost cli - Unknown service 'diaspora.target'
Warning: yunohost.hook <lambda> - [1063.1] Unknown service 'diaspora.target'
Warning: yunohost.hook <lambda> - [1063.1] Failed to stop diaspora.target: Unit diaspora.target not loaded.
Warning: yunohost.hook <lambda> - [1063.1] Failed to stop diaspora_sidekiq.service: Unit diaspora_sidekiq.service not loaded.
Warning: yunohost.hook <lambda> - [1063.1] Failed to stop diaspora_web.service: Unit diaspora_web.service not loaded.
Warning: yunohost.hook <lambda> - [1063.1] Failed to disable unit: No such file or directory
Info:  '/etc/systemd/system/diaspora_web.service' wasn't deleted because it doesn't exist.
Info:  '/etc/systemd/system/diaspora_sidekiq.service' wasn't deleted because it doesn't exist.
Info:  '/etc/tmpfiles.d/diaspora.conf' wasn't deleted because it doesn't exist.
Info:  '/etc/systemd/system/diaspora.target' wasn't deleted because it doesn't exist.
Info:  '/run/diaspora' wasn't deleted because it doesn't exist.
Info:  [##+.................] > Remove database
Warning: yunohost.hook <lambda> - [1063.1] FATAL:  terminating connection due to administrator command
Warning: yunohost.hook <lambda> - [1063.1] server closed the connection unexpectedly
Warning: yunohost.hook <lambda> - [1063.1] 	This probably means the server terminated abnormally
Warning: yunohost.hook <lambda> - [1063.1] 	before or while processing the request.
Warning: yunohost.hook <lambda> - [1063.1] connection to server was lost
Info:  [###++++++++++++.....] > Remove app dependencies
Info:  [###############+....] > Remove nginx config
Info:  '/etc/nginx/conf.d/sous.domain.tld.d/diaspora.conf' wasn't deleted because it doesn't exist.
Info:  [################+...] > Remove logrotate config
Info:  [#################+..] > Remove diaspora user
Info:  [##################++] > Remove /var/www/diaspora
Error: yunohost cli - The operation 'Install the 'diaspora' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200503-220535-app_install-diaspora --share' to get help

Try to access by url...
A LXC container is already running.
Working time: 2 seconds (22:10:18).
Working time: 5 seconds (22:10:23).
A LXC container is already running.
Working time: 2 seconds (22:10:25).
Working time: 5 seconds (22:10:30).
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 second (22:10:32).
Working time: 5 seconds (22:10:38).
Deleting failed. (1)
Error: yunohost cli - Could not find the app 'diaspora' in the list of installed apps:
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 19 seconds (22:10:57).
Working time for this test: 5 minutes, 29 seconds (22:10:57).


>> Upgrade from the same version... [Test 4/5]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds (22:11:01).
Working time for this test: 5 seconds (22:11:02).


>> Multi-instance installations... [Test 5/5]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds (22:11:06).
Working time for this test: 4 seconds (22:11:06).



Package linter:                  SUCCESS
Installation:                    FAIL
Deleting:                        FAIL
Installation in a sub path:      Not evaluated.
Deleting from a sub path:        Not evaluated.
Installation on the root:        FAIL
Deleting from root:              FAIL
Upgrade:                         Not evaluated.
Installation in private mode:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    Not evaluated.
Malformed path:                  Not evaluated.
Port already used:               Not evaluated.
Backup:                          Not evaluated.
Restore:                         Not evaluated.
Change URL:                      Not evaluated.
Actions and config-panel:        Not evaluated.
This package does not fully respect the template.
You should consider upgrade your package to respect the template of the example app.
Level of this application: 0 (Broken)
	   Level 1: 0
	   Level 2: 0
	   Level 3: 0
	   Level 4: 0
	   Level 5: 1
	   Level 6: 1
	   Level 7: 0
	   Level 8: 0
	   Level 9: 0
	   Level 10: 0
You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log
Global working time for all tests: 5 minutes, 54 seconds (22:11:06).
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at The complete log for this application was duplicated and is accessible at https://ci-apps-dev.yunohost.org/jenkins/logs/_home_yunohost.app_ssh_chroot_directories_autra_data_diaspora_ynh_complete.log

Sun May  3 22:13:11 UTC 2020
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE