FailedConsole Output

Started from command line by ynhci
Building in workspace /var/lib/jenkins/jobs/teampass_upgrade_to_2.1.26_ynh (ManiackC)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins3471125195154893003.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/ManiackC/data/teampass_ynh/conf/teampass_upgrade_to_2.1.26_ynh teampass_upgrade_to_2.1.26_ynh (ManiackC)

Mon Apr 15 19:14:03 UTC 2019
Wait for work starting...
..
Mon Apr 15 19:15:03 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: 4 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.

Unable to find a check_process file.
Package check will be used in lower mode.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
The manifest key for public didn't be find.

Tests serie: 

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: .
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.1
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/7]

    [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_upgrade_to_2.1.26_ynh_check

 [Loading App]

! /home/CI_package_check/dev_CI/../package_check/teampass_upgrade_to_2.1.26_ynh_check/scripts/upgrade : Could not parse this line (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 
! /home/CI_package_check/dev_CI/../package_check/teampass_upgrade_to_2.1.26_ynh_check/scripts/upgrade : Could not parse this line (No closing quotation) : Your $app instance isn't yet fully upgraded ! 
! /home/CI_package_check/dev_CI/../package_check/teampass_upgrade_to_2.1.26_ynh_check/scripts/upgrade : Could not parse this line (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. 
! /home/CI_package_check/dev_CI/../package_check/teampass_upgrade_to_2.1.26_ynh_check/scripts/upgrade : Could not parse this line (No closing quotation) : Please go to https://$domain$path_url/install/upgrade.php to finalize the upgrade of $app." 

 [Misc File Checks]

✘ File LICENSE is mandatory 
✘ File README.md is mandatory 
✘ File scripts/install is mandatory 
! 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... 

 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- FAIL ---


>> Installation in a sub path... [Test 2/7]
A LXC container is already running.
Working time: 1 second.
Working time: 4 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [969.1] Installing application teampass…
Error: yunohost.app app_install - [969.1] An unexpected error occured:
Info: yunohost.log close - [969.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 20190415-191529-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [969.1] Removing database
Error: 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Warning: yunohost.hook <lambda> - [969.1] /var/www/teampass wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [969.1] /etc/nginx/conf.d/.d/teampass.conf wasn't deleted because it doesn't exist.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [969.1] /etc/php/7.0/fpm/pool.d/teampass.conf wasn't deleted because it doesn't exist.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [969.1] /etc/teampass wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [969.1] The user teampass was not found
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 20190415-191529-app_install-teampass --share'

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


>> Installation on the root... [Test 3/7]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 4 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.1] Installing application teampass…
Error: yunohost.app app_install - [910.1] An unexpected error occured:
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 20190415-191606-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [910.1] Removing database
Error: 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Warning: yunohost.hook <lambda> - [910.1] /var/www/teampass wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [910.1] /etc/nginx/conf.d/.d/teampass.conf wasn't deleted because it doesn't exist.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [910.1] /etc/php/7.0/fpm/pool.d/teampass.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [910.1] /etc/teampass wasn't deleted because it doesn't exist.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [910.1] The user teampass was not found
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 20190415-191606-app_install-teampass --share'

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


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

Preliminary install...
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 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: 1 second.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 11 seconds.
/home/CI_package_check/dev_CI/../package_check/sub_scripts/testing_process.sh: line 642: extract_section: command not found
grep: : No such file or directory


>> Upgrade from the commit 9e5c65c461a22d9b85be732e072ff938911106ad... [Test 5/7]

Preliminary install...
grep: : No such file or directory
fatal: reference is not a tree: 9e5c65c461a22d9b85be732e072ff938911106ad
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 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: 1 second.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 59 seconds.


>> Multi-instance installations... [Test 6/7]
First installation: path=domain.tld
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 2 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: 2 seconds.
Working time: 2 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: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
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: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
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: 12 seconds.
Working time for this test: 41 seconds.


>> Malformed path... [Test 7/7]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [914.1] Installing application teampass…
Error: yunohost.app app_install - [914.1] An unexpected error occured:
Info: yunohost.log close - [914.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 20190415-191825-app_install-teampass --share'
Warning: yunohost.hook <lambda> - [914.1] Removing database
Error: 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
Warning: yunohost.hook <lambda> - [914.1] /var/www/teampass wasn't deleted because it doesn't exist.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [914.1] /etc/nginx/conf.d/.d/teampass.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [914.1] /etc/php/7.0/fpm/pool.d/teampass.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [914.1] /etc/teampass wasn't deleted because it doesn't exist.
Info:  Reload the service php7.0-fpm
Warning: yunohost.hook <lambda> - [914.1] The user teampass was not found
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 20190415-191825-app_install-teampass --share'

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
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: 10 seconds.
Working time for this test: 32 seconds.


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



Package linter:                  FAIL
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:                      Not evaluated.
Level of this application: 0 (Broken)
	   Level 1: 0
	   Level 2: 0
	   Level 3: 0
	   Level 4: 0
	   Level 5: 0
	   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: 3 minutes, 40 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_conf_teampass_upgrade_to_2.1.26_ynh_complete.log

Mon Apr 15 19:19:03 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE