FailedConsole Output

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

Wed May 29 04:10:01 UTC 2019
Wait for work starting...
.
Wed May 29 04:10:31 UTC 2019
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: 52 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
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: 5 seconds.
Working time: 5 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.2
yunohost-admin: 
  repo: stable
  version: 3.5.2
moulinette: 
  repo: stable
  version: 3.5.2
ssowat: 
  repo: stable
  version: 3.5.2.1
Connection to 10.1.4.2 closed.


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

    [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

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

 [Loading App]

Some lines could not be parsed in script install. (That's probably not really critical)
? No closing quotation : echo "<?php 
? No closing quotation : \$SETTINGS = array (" > $tp_config_file 
? No closing quotation : message="If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/teampass_ynh 
? No closing quotation : !!! Be carreful when using this app, we have encountered many issues with the last upgrade. The next upgrade could be also difficult, and may need to reinstall the app and migrate manually." 
Some lines could not be parsed in script upgrade. (That's probably not really critical)
? No closing quotation : message="If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/teampass_ynh 
? No closing quotation : Your $app instance isn't yet fully upgraded ! 
? No closing quotation : NOTE: Please take note that the 'Absolute path to TeamPass folder' will be wrong in the second panel. You'll have to remove the last part of the path. 
? No closing quotation : Please go to https://$domain$path_url/install/upgrade.php to finalize the upgrade of $app." 

 [Misc File Checks]

! Using a separate php-fpm.ini file is deprecated. Please merge your php-fpm directives directly in the pool file. (c.f. https://github.com/YunoHost-Apps/nextcloud_ynh/issues/138 ) 

 [Sources Management]


 [Manifest]

! YunoHost version requirement is still 2.x ... Good job if it does still work on Jessie !... But are you really sure about that ;) ? be careful that many new helpers you might already be playing with are only available on 3.x... 

 [Install Script]

! Instead of 'dd if=/dev/urandom' or 'openssl rand', you might want to use ynh_string_random 
! Please add a few messages for the user, to explain what is going on (in friendly, not-too-technical terms) during the installation. You can use 'ynh_print_info' or 'ynh_script_progression' for this. 

 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/8]
A LXC container is already running.
Working time: 1 second.
Working time: 40 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [1002.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1002.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [1002.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [1002.1] !!
Warning: yunohost.hook <lambda> - [1002.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1002.1] !!
Info: yunohost.log close - [1002.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-041121-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [1002.1] Removing database teampass
Info:  Reload the service nginx
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [1002.1] Remove the user teampass
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-041121-app_install-teampass --share'

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 2 seconds.
Working time: 2 seconds.
Deleting failed. (1)
Error: yunohost cli - teampass is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 5 seconds.
Working time for this test: 2 minutes, 1 second.


>> Installation on the root... [Test 3/8]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 40 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [913.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [913.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [913.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [913.1] !!
Warning: yunohost.hook <lambda> - [913.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [913.1] !!
Info: yunohost.log close - [913.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-041330-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [913.1] Removing database teampass
Info:  Reload the service nginx
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [913.1] Remove the user teampass
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-041330-app_install-teampass --share'

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
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.
Working time: 3 seconds.
Deleting failed. (1)
Error: yunohost cli - teampass is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 59 seconds.
Working time for this test: 2 minutes, 4 seconds.


>> Upgrade from the same version... [Test 4/8]

Preliminary install...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 3 seconds.
Installation failed. (1)
Error: yunohost cli - Argument 'path' is required

Installation failed...
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 55 seconds.
Restore the previous snapshot.
Working time: 48 seconds.
Working time for this test: 2 minutes, 2 seconds.


>> Multi-instance installations... [Test 5/8]
First installation: path=domain.tld
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Installation failed. (1)
Error: yunohost cli - Argument 'path' is required
Second installation: path=sous.domain.tld
A LXC container is already running.
Working time: 1 second.
Working time: 4 seconds.
Installation failed. (1)
Error: yunohost cli - Argument 'path' is required

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
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 ---
Stop the LXC container
Restore the previous snapshot.
Working time: 56 seconds.
Working time for this test: 1 minute, 34 seconds.


>> Malformed path... [Test 6/8]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 40 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [918.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [918.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [918.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [918.1] !!
Warning: yunohost.hook <lambda> - [918.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [918.1] !!
Info: yunohost.log close - [918.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-041911-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [918.1] Removing database teampass
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [918.1] Remove the user teampass
Info:  Reload the service php7.0-fpm
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-041911-app_install-teampass --share'

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 56 seconds.
Working time for this test: 1 minute, 56 seconds.


>> Backup/Restore... [Test 7/8]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 51 seconds.
Working time for this test: 51 seconds.


>> Change URL... [Test 8/8]

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 40 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [915.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [915.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [915.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [915.1] !!
Warning: yunohost.hook <lambda> - [915.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [915.1] !!
Info: yunohost.log close - [915.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042157-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [915.1] Removing database teampass
Info:  Reload the service nginx
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [915.1] Remove the user teampass
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042157-app_install-teampass --share'
Installation failed...
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 56 seconds.

Preliminary install...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 40 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [902.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [902.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [902.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [902.1] !!
Warning: yunohost.hook <lambda> - [902.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [902.1] !!
Info: yunohost.log close - [902.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042343-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [902.1] Removing database teampass
Info:  Reload the service nginx
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [902.1] Remove the user teampass
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042343-app_install-teampass --share'
Installation failed...
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 58 seconds.

Preliminary install...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 41 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [970.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [970.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [970.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [970.1] !!
Warning: yunohost.hook <lambda> - [970.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [970.1] !!
Info: yunohost.log close - [970.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042533-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [970.1] Removing database teampass
Info:  Reload the service nginx
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [970.1] Remove the user teampass
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042533-app_install-teampass --share'
Installation failed...
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 56 seconds.

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 41 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [919.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [919.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [919.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [919.1] !!
Warning: yunohost.hook <lambda> - [919.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [919.1] !!
Info: yunohost.log close - [919.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042721-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [919.1] Removing database teampass
Info:  Reload the service nginx
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [919.1] Remove the user teampass
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042721-app_install-teampass --share'
Installation failed...
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 57 seconds.

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 40 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [901.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [901.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [901.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [901.1] !!
Warning: yunohost.hook <lambda> - [901.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [901.1] !!
Info: yunohost.log close - [901.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042911-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [901.1] Removing database teampass
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [901.1] Remove the user teampass
Info:  Reload the service php7.0-fpm
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-042911-app_install-teampass --share'
Installation failed...
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 58 seconds.

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 12 minutes, 47 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.1] Installing application teampass…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [910.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [910.1] ./install: line 227: ynh_system_reload: command not found
Warning: yunohost.hook <lambda> - [910.1] !!
Warning: yunohost.hook <lambda> - [910.1]   teampass's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [910.1] !!
Info: yunohost.log close - [910.1] The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-043059-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [910.1] Removing database teampass
Info:  Reload the service nginx
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [910.1] Remove the user teampass
Error: yunohost cli - The operation 'Install 'teampass' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190529-043059-app_install-teampass --share'
Installation failed...
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 58 seconds.
Restore the previous snapshot.
Working time: 49 seconds.
Working time for this test: 23 minutes, 47 seconds.



Package linter:                  SUCCESS
Installation:                    FAIL
Deleting:                        FAIL
Installation in a sub path:      FAIL
Deleting from a sub path:        FAIL
Installation on the root:        FAIL
Deleting from root:              FAIL
Upgrade:                         FAIL
Installation in private mode:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    FAIL
Malformed path:                  FAIL
Port already used:               Not evaluated.
Backup:                          Not evaluated.
Restore:                         Not evaluated.
Change URL:                      FAIL
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: 34 minutes, 34 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_ManiackC_data_teampass_ynh_complete.log

Wed May 29 04:46:04 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE