FailedConsole Output

Started from command line by ynhci
Building in workspace /var/lib/jenkins/jobs/syncthing_ynh_PR1 (yalh76)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins6537566628171676164.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/yalh76/data/syncthing_ynh_PR1 syncthing_ynh_PR1 (yalh76)

Fri May 17 05:21:15 UTC 2019
Wait for work starting...
..........................................................
Fri May 17 05:50:15 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: 7 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: 3 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/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/syncthing_ynh_PR1_check

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]


 [Install Script]


 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/7]
A LXC container is already running.
Working time: 2 seconds.
Working time: 15 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [1010.1] Installing application syncthing…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [1010.1] /usr/share/yunohost/helpers.d/setting: line 40: key: unbound variable
Warning: yunohost.hook <lambda> - [1010.1] !!
Warning: yunohost.hook <lambda> - [1010.1]   syncthing;s-k ync_port's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1010.1] !!
Info: yunohost.log close - [1010.1] The operation 'Install 'syncthing' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190517-055031-app_install-syncthing --share'
Info:  Loading installation settings...
Error: yunohost cli - Unknown service 'syncthing'
Warning: yunohost.hook <lambda> - [1010.1] Avoid deleting .
Info:  Stopping and removing the systemd service...
Warning: yunohost.hook <lambda> - [1010.1] /etc/nginx/conf.d/sous.domain.tld.d/syncthing.conf wasn't deleted because it doesn't exist.
Info:  Removing app main directory...
Info:  Removing nginx web server configuration...
Info:  Reload the service nginx
Info:  Closing port
Warning: yunohost.hook <lambda> - [1010.1] The user syncthing was not found
Info:  Removing the dedicated system user...
Info:  Removal of syncthing completed
Error: yunohost cli - The operation 'Install 'syncthing' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190517-055031-app_install-syncthing --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: 1 second.
Working time: 2 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: 1 second.
Deleting failed. (1)
Error: yunohost cli - syncthing is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 41 seconds.


>> Installation on the root... [Test 3/7]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 15 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [913.1] Installing application syncthing…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [913.1] /usr/share/yunohost/helpers.d/setting: line 40: key: unbound variable
Warning: yunohost.hook <lambda> - [913.1] !!
Warning: yunohost.hook <lambda> - [913.1]   syncthing;s-k ync_port'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 'syncthing' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190517-055120-app_install-syncthing --share'
Info:  Loading installation settings...
Error: yunohost cli - Unknown service 'syncthing'
Warning: yunohost.hook <lambda> - [913.1] Avoid deleting .
Info:  Stopping and removing the systemd service...
Info:  Removing app main directory...
Warning: yunohost.hook <lambda> - [913.1] /etc/nginx/conf.d/sous.domain.tld.d/syncthing.conf wasn't deleted because it doesn't exist.
Info:  Removing nginx web server configuration...
Info:  Reload the service nginx
Info:  Closing port
Warning: yunohost.hook <lambda> - [913.1] The user syncthing was not found
Info:  Removing the dedicated system user...
Info:  Removal of syncthing completed
Error: yunohost cli - The operation 'Install 'syncthing' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190517-055120-app_install-syncthing --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: 2 seconds.
Deleting failed. (1)
Error: yunohost cli - syncthing is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 48 seconds.


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

Preliminary install...
Start 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: 14 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 31 seconds.


>> Installation in public mode... [Test 5/7]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 seconds.


>> Malformed path... [Test 6/7]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 14 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.1] Installing application syncthing…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [910.1] /usr/share/yunohost/helpers.d/setting: line 40: key: unbound variable
Warning: yunohost.hook <lambda> - [910.1] !!
Warning: yunohost.hook <lambda> - [910.1]   syncthing;s-k ync_port'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 'syncthing' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190517-055244-app_install-syncthing --share'
Info:  Loading installation settings...
Error: yunohost cli - Unknown service 'syncthing'
Warning: yunohost.hook <lambda> - [910.1] Avoid deleting .
Info:  Stopping and removing the systemd service...
Warning: yunohost.hook <lambda> - [910.1] /etc/nginx/conf.d/sous.domain.tld.d/syncthing.conf wasn't deleted because it doesn't exist.
Info:  Removing app main directory...
Info:  Removing nginx web server configuration...
Info:  Reload the service nginx
Info:  Closing port
Info:  Removing the dedicated system user...
Warning: yunohost.hook <lambda> - [910.1] The user syncthing was not found
Info:  Removal of syncthing completed
Error: yunohost cli - The operation 'Install 'syncthing' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190517-055244-app_install-syncthing --share'

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


>> Backup/Restore... [Test 7/7]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 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:    Not evaluated.
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: 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: 3 minutes, 8 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_yalh76_data_syncthing_ynh_PR1_complete.log

Fri May 17 05:54:06 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE