FailedConsole Output

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

Thu May 16 07:14:13 UTC 2019
Wait for work starting...
..............................................................
Thu May 16 07:45:14 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: 10 seconds.
Working time: 1 second.
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/9]

    [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/redirect_ynh_check

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]

! [YEP-2.1] You should specify the type of the argument 'redirect_type'. You can use : domain, path, boolean, app, password, user, string. 
! 'url' is not meant to be the url of the yunohost package, but rather the website or repo of the upstream app itself... 
! 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]

! 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]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'sed').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 

 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/9]
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Installation failed. (1)
Error: yunohost cli - Invalid choice for argument 'redirect_type', it must be one of public_302, public_301, public_proxy, private_proxy

Try to access by url...
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)
Info: yunohost.app app_remove - [1072.1] Removing application …
Info: yunohost.log close - [1072.1] The operation 'Remove '' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190516-074540-app_remove- --share'
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 22 seconds.


>> Installation on the root... [Test 3/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 seconds.
Installation failed. (1)
Error: yunohost cli - Invalid choice for argument 'redirect_type', it must be one of public_302, public_301, public_proxy, private_proxy

Try to access by url...
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)
Info: yunohost.app app_remove - [965.1] Removing application …
Info: yunohost.log close - [965.1] The operation 'Remove '' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190516-074611-app_remove- --share'
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 32 seconds.


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

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

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

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 31 seconds.


>> Installation in private mode... [Test 5/9]
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.


>> Installation in public mode... [Test 6/9]
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.


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 3 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...
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...
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: 30 seconds.


>> Malformed path... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 seconds.
Installation failed. (1)
Error: yunohost cli - Invalid choice for argument 'redirect_type', it must be one of public_302, public_301, public_proxy, private_proxy

Try to access by url...
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: 12 seconds.
Working time for this test: 26 seconds.


>> Backup/Restore... [Test 9/9]
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:                  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:                      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: 2 minutes, 54 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_aleks_data_redirect_ynh_complete.log

Thu May 16 07:49:04 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE