FailedConsole Output

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

Fri Nov  1 19:52:01 UTC 2019
Wait for work starting...
.......
Fri Nov  1 19:55: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: 9 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: 11 seconds.
Working time: 2 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.6.5.3
yunohost-admin: 
  repo: stable
  version: 3.6.5
moulinette: 
  repo: stable
  version: 3.6.4.1
ssowat: 
  repo: stable
  version: 3.6.4
Connection to 10.1.4.2 closed.


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

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

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]

! Consider adding an 'help' key for argument 'is_public' to explain to the user what it means for *this* app to be public or private :
    "help": {
       "en": "Some explanation"
    } 
! [YEP-2.1] You should specify the type of the argument 'language'. You can use : domain, path, boolean, app, password, user, string. 

 [Install Script]

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

 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/10]
A LXC container is already running.
Working time: 2 seconds.
Working time: 6 minutes, 31 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1270.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1270.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [1270.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [1270.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 27 seconds.
Start the LXC container.
Create witness files...
Working time: 11 seconds.
Working time: 2 seconds.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 20 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [971.1] Removing application horde…
Info:  [+...................] > Loading installation settings...
Info:  [#+++++++++++........] > Removing dependencies
Info:  [############++......] > Removing databases...
Info:  [##############+.....] > Removing code...
Info:  [###############+....] > Removing user data...
Info:  [################+...] > Removing nginx configuration...
Info:  /etc/php/7.0/fpm/conf.d/20-horde.ini wasn't deleted because it doesn't exist.
Info:  [#################+..] > Removing the dedicated system user...
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 8 minutes, 31 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2415.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Warning: yunohost.hook <lambda> - [2415.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [2415.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 20 seconds.
Working time for this test: 16 minutes, 35 seconds.


>> Installation on the root... [Test 3/10]
Start the LXC container.
Create witness files...
Working time: 19 seconds.
Working time: 7 minutes, 58 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [906.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [906.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Create a snapshot for root installation.
Working time: 29 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 21 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [971.1] Removing application horde…
Info:  [+...................] > Loading installation settings...
Info:  [#+++++++++++........] > Removing dependencies
Info:  [############++......] > Removing databases...
Info:  [##############+.....] > Removing code...
Info:  [###############+....] > Removing user data...
Info:  [################+...] > Removing nginx configuration...
Info:  /etc/php/7.0/fpm/conf.d/20-horde.ini wasn't deleted because it doesn't exist.
Info:  [#################+..] > Removing the dedicated system user...
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 8 minutes, 23 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2417.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [2417.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [2417.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 18 minutes, 8 seconds.


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 23 seconds.

Upgrade...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 12 seconds.
Upgrade failed. (1)
Error: yunohost.backup _collect_app_files - [1096.1] Unable to back up the app 'horde'
Error: yunohost cli - There is nothing to save
Info: yunohost.app app_upgrade - [908.1] Now upgrading app horde…
Info:Info:  [....................] > Loading installation settings...
Info: yunohost.backup _collect_app_files - [1096.1] Collecting files to be backuped for horde…
Info:  [+...................] > Loading installation settings...
Info:  [#+++................] > Backing up code...
Info:  [####++++++++++++....] > Backing up user data...
Info:  [################+...] > Backing up configuration...
Warning: yunohost.hook <lambda> - [1096.1] [WARN] Source path '/etc/php/7.0/fpm/conf.d/20-horde.ini' does not exist
Warning: yunohost.hook <lambda> - [908.1] 3196 [WARN] Source path '/etc/php/7.0/fpm/conf.d/20-horde.ini' does not exist
Warning: yunohost.hook <lambda> - [1096.1] [ERR] !!
Warning: yunohost.hook <lambda> - [1096.1]   horde's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1096.1] !!
Warning: yunohost.hook <lambda> - [1096.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [1096.1] [DEBUG]: DEBUG   - + return 1
Warning: yunohost.hook <lambda> - [1096.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [908.1] 3712 [ERR] !!
Warning: yunohost.hook <lambda> - [908.1] 3713   horde's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [908.1] 3714 !!
Warning: yunohost.hook <lambda> - [908.1] 3714 Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [908.1] 3715 [DEBUG]: DEBUG   - + return 1
Warning: yunohost.hook <lambda> - [908.1] 3715 [DEBUG]: DEBUG   - + ynh_exit_properly
Warning: yunohost.hook <lambda> - [908.1] 3716
Error: yunohost.backup _collect_app_files - [1096.1] Unable to back up the app 'horde'
Error: yunohost cli - There is nothing to save
Warning: yunohost.hook <lambda> - [908.1] 3854 Unable to back up the app 'horde'
Warning: yunohost.hook <lambda> - [908.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/moulinette/yunohost/backup.py", line 701, in _collect_app_files
Warning: yunohost.hook <lambda> - [908.1]     raise_on_error=True, chdir=tmp_app_bkp_dir, env=env_dict)[0]
Warning: yunohost.hook <lambda> - [908.1]   File "/usr/lib/moulinette/yunohost/hook.py", line 397, in hook_exec
Warning: yunohost.hook <lambda> - [908.1]     raise YunohostError('hook_exec_failed', path=path)
Warning: yunohost.hook <lambda> - [908.1] YunohostError: Script execution failed: /tmp/backup_GLEnig
Warning: yunohost.hook <lambda> - [908.1] 3858 There is nothing to save
Warning: yunohost.hook <lambda> - [908.1] [ERR] !!
Warning: yunohost.hook <lambda> - [908.1]   horde's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [908.1] !!
Warning: yunohost.hook <lambda> - [908.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - 3723 + local message
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - 3724 + local ret_code
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - 3725 + ynh_handle_getopts_args
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - 3725 + set +x
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - 3726 + echo ''
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - 3726 + exit 1
Error: yunohost.backup _collect_app_files - [1096.1] Unable to back up the app 'horde'
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: File "/usr/lib/moulinette/yunohost/backup.py", line 701, in _collect_app_files
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: raise_on_error=True, chdir=tmp_app_bkp_dir, env=env_dict)[0]
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: File "/usr/lib/moulinette/yunohost/hook.py", line 397, in hook_exec
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: raise YunohostError('hook_exec_failed', path=path)
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: YunohostError: Script execution failed: /tmp/backup_GLEnig
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG      moulinette.actionsmap process - action [1096.1] executed in 3.338s
Error: yunohost cli - There is nothing to save
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - executed in 3.338s
Warning: - 3854 Unable to back up the app 'horde'
Warning: - Traceback (most recent call last):
Warning: -   File "/usr/lib/moulinette/yunohost/backup.py", line 701, in _collect_app_files
Warning: -
Warning: -   File "/usr/lib/moulinette/yunohost/hook.py", line 397, in hook_exec
Warning: -     raise YunohostError('hook_exec_failed', path=path)
Warning: - YunohostError: Script execution failed: /tmp/backup_GLEnig
Warning: - 3858 There is nothing to save
Warning: yunohost.hook <lambda> - [908.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.app app_upgrade - [908.1] Unable to upgrade horde
Info: yunohost.log close - [908.1] The operation 'Upgrade 'horde' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191101-203054-app_upgrade-horde --share'
Error: yunohost cli - The following apps were not upgraded: horde

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 19 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 1 minute, 30 seconds.


>> Installation in private mode... [Test 5/10]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 7 minutes, 34 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [923.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [923.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [923.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [923.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Info:  [####################] > Installation of horde completed

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.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 19 seconds.
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 7 minutes, 7 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [914.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [914.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [914.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [914.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Info:  [####################] > Installation of horde completed

Try to access by url...
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.
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.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 15 minutes, 39 seconds.


>> Installation in public mode... [Test 6/10]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 7 minutes, 15 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [907.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [907.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [907.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [907.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 7 minutes, 56 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [915.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [915.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Warning: yunohost.hook <lambda> - [915.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [915.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 19 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 16 minutes, 5 seconds.


>> Multi-instance installations... [Test 7/10]
First installation: path=domain.tld/path
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 7 minutes, 19 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [906.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [906.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Info:  [####################] > Installation of horde completed
Second installation: path=sous.domain.tld/path
A LXC container is already running.
Working time: 2 seconds.
Working time: 7 minutes, 9 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [5273.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [5273.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [5273.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Info:  [####################] > Installation of horde__2 completed

Try to access by url...
Test url: domain.tld/path
Real url: https://domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: domain.tld/path/
Real url: https://domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde



Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 22 seconds.
Working time for this test: 15 minutes, 6 seconds.


>> Malformed path... [Test 8/10]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 7 minutes, 10 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [902.1] Installing application horde…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring options and language...
Info:  [#++++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [902.1] 
Extracting templates from packages: 42%
Extracting templates from packages: 84%
Extracting templates from packages: 100%
Info:  [#####+..............] > Configuring MySQL database...
Info:  [######..............] > Configuring system user...
Info:  [######+.............] > Creating base directory...
Info:  [#######++++.........] > Installing sources files...
Info:  [###########++++.....] > Patching application...
Info:  [###############++...] > Configuring application...
Info:  [#################...] > Configuring nginx...
Info:  [#################+..] > Protecting directory...
Info:  [##################..] > Configuring permissions...
Info:  [##################+.] > Configuring log rotation...
Warning: yunohost.hook <lambda> - [902.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected
Warning: yunohost.hook <lambda> - [902.1] /usr/share/yunohost/helpers.d/logrotate: line 55: [: -a : integer expression expected

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 7 minutes, 39 seconds.


>> Backup/Restore... [Test 9/10]

Preliminary installation on the root...
Uses an existing snapshot for root installation.
Working time: 24 seconds.

Backup of the application...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 7 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [907.1] Collecting files to be backuped for horde…
Info:  [+...................] > Loading installation settings...
Info:  [#+++................] > Backing up code...
Info:  [####++++++++++++....] > Backing up user data...
Info:  [################+...] > Backing up configuration...
Warning: yunohost.hook <lambda> - [907.1] [WARN] Source path '/etc/php/7.0/fpm/conf.d/20-horde.ini' does not exist
Warning: yunohost.hook <lambda> - [907.1] [ERR] !!
Warning: yunohost.hook <lambda> - [907.1]   horde's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [907.1] !!
Warning: yunohost.hook <lambda> - [907.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + do_not_backup_data=
Warning: - Source path '/etc/php/7.0/fpm/conf.d/20-horde.ini' does not exist
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + ynh_print_warn '--message=Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   -=message=)
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + echo /etc/php/7.0/fpm/conf.d/20-horde.ini
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + grep --quiet /etc/fail2ban
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + return 1
Warning: yunohost.hook <lambda> - [907.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _collect_app_files - [907.1] Unable to back up the app 'horde'
Info: yunohost.backup backup_create - [907.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 21 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Restore failed. (1)
Error: yunohost.backup unknown_error - [2745.1] App 'horde' not found in the backup archive
Info: yunohost.backup backup_restore - [2745.1] Preparing archive for restoration…
Error: yunohost cli - Nothing has been restored

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: 24 seconds.
Restore the previous snapshot.
Working time: 9 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 3 seconds.
Restore failed. (1)
Error: yunohost.backup unknown_error - [906.1] App 'horde' not found in the backup archive
Info: yunohost.backup backup_restore - [906.1] Preparing archive for restoration…
Error: yunohost cli - Nothing has been restored

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.

Preliminary installation in a sub path...
Uses an existing snapshot for sub path installation.
Working time: 23 seconds.

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 7 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [928.1] Collecting files to be backuped for horde…
Info:  [+...................] > Loading installation settings...
Info:  [#+++................] > Backing up code...
Info:  [####++++++++++++....] > Backing up user data...
Info:  [################+...] > Backing up configuration...
Warning: yunohost.hook <lambda> - [928.1] [WARN] Source path '/etc/php/7.0/fpm/conf.d/20-horde.ini' does not exist
Warning: yunohost.hook <lambda> - [928.1] [ERR] !!
Warning: yunohost.hook <lambda> - [928.1]   horde's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [928.1] !!
Warning: yunohost.hook <lambda> - [928.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + do_not_backup_data=
Warning:Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + ynh_print_warn '--message=Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + local legacy_args=m
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   -=message=)
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + declare -Ar args_array
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + local message
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + ynh_handle_getopts_args '--message=Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + set +x
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: - Source path '/etc/php/7.0/fpm/conf.d/20-horde.ini' does not exist
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - Source path '''/etc/php/7.0/fpm/conf.d/20-horde.ini''' does not exist'
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   -'
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + grep --quiet /etc/fail2ban
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + echo /etc/php/7.0/fpm/conf.d/20-horde.ini
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + return 1
Warning: yunohost.hook <lambda> - [928.1] [DEBUG]: DEBUG   - + ynh_exit_properly
Error: yunohost.backup _collect_app_files - [928.1] Unable to back up the app 'horde'
Info: yunohost.backup backup_create - [928.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 20 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Restore failed. (1)
Error: yunohost.backup unknown_error - [2788.1] App 'horde' not found in the backup archive
Info: yunohost.backup backup_restore - [2788.1] Preparing archive for restoration…
Error: yunohost cli - Nothing has been restored

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: 26 seconds.
Restore the previous snapshot.
Working time: 9 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 3 seconds.
Restore failed. (1)
Error: yunohost.backup unknown_error - [909.1] App 'horde' not found in the backup archive
Info: yunohost.backup backup_restore - [909.1] Preparing archive for restoration…
Error: yunohost cli - Nothing has been restored

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.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 4 minutes, 27 seconds.


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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 23 seconds.
Change the url from sous.domain.tld/ to sous.domain.tld/path...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 10 seconds.
Change_url script successful. (0)
Info:  [+++.................] > Loading installation settings...
Info:  [###+++..............] > Updating nginx configuration...
Info:  [######++++++++++....] > Configuring application...

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 11 seconds.
Change_url script successful. (0)
Info:  [+++.................] > Loading installation settings...
Info:  [###+++..............] > Updating nginx configuration...
Info:  [######++++++++++....] > Configuring application...

Try to access by url...
Test url: sous.domain.tld/path_2
Real url: https://sous.domain.tld/path_2/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/path_2/
Real url: https://sous.domain.tld/path_2/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 22 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 10 seconds.
Change_url script successful. (0)
Info:  [+++.................] > Loading installation settings...
Info:  [###+++..............] > Updating nginx configuration...
Info:  [######++++++++++....] > Configuring application...
Info:  [####################] > Change of URL completed for horde

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: sous.domain.tld/
Real url: https://sous.domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 22 seconds.
Change the url from sous.domain.tld/ to domain.tld/path...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 12 seconds.
Change_url script successful. (0)
Info:  [+++.................] > Loading installation settings...
Info:  [###+++..............] > Updating nginx configuration...
Info:  [######++++++++++....] > Configuring application...
Info:  [####################] > Change of URL completed for horde

Try to access by url...
Test url: domain.tld/path
Real url: https://domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: domain.tld/path/
Real url: https://domain.tld/path/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 21 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 12 seconds.
Change_url script successful. (0)
Info:  [+++.................] > Loading installation settings...
Info:  [###+++..............] > Updating nginx configuration...
Info:  [######++++++++++....] > Configuring application...
Info:  [####################] > Change of URL completed for horde

Try to access by url...
Test url: domain.tld/path_2
Real url: https://domain.tld/path_2/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: domain.tld/path_2/
Real url: https://domain.tld/path_2/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 22 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC containerStart the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 11 seconds.
Change_url script successful. (0)
Info:  [+++.................] > Loading installation settings...
Info:  [###+++..............] > Updating nginx configuration...
Info:  [######++++++++++....] > Configuring application...

Try to access by url...
Test url: domain.tld
Real url: https://domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


Test url: domain.tld/
Real url: https://domain.tld/login.php
HTTP code: 200
Title of the page:   
Extract of the page:
   Username
   ____________________
   Password
   ____________________
   Warning: Your Caps Lock key is on!
   Mode
   [Mobile (No JavaScript)____]
   Language
   [‭English (American)__________________..]
   Log in

   Powered by Horde


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 6 minutes, 10 seconds.



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
Installation on the root:        SUCCESS
Deleting from root:              SUCCESS
Upgrade:                         FAIL
Installation in private mode:    SUCCESS
Installation in public mode:     SUCCESS
Multi-instance installations:    SUCCESS
Malformed path:                  SUCCESS
Port already used:               Not evaluated.
Backup:                          SUCCESS
Restore:                         FAIL
Change URL:                      SUCCESS
Level of this application: 2 (Installable in all situations)
	   Level 1: 1
	   Level 2: 1
	   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: 1 hour, 41 minutes, 41 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_josue_data_horde_ynh_complete.log

Fri Nov  1 21:37:09 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE