FailedConsole Output

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

Sat Apr 18 13:35:01 UTC 2020
Wait for work starting...
.
Sat Apr 18 13:35:31 UTC 2020
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.
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: 4 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.7.1.1
yunohost-admin: 
  repo: stable
  version: 3.7.1.1
moulinette: 
  repo: stable
  version: 3.7.1.1
ssowat: 
  repo: stable
  version: 3.7.1.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

 If you believe this linter returns false negative (warnings / errors which shouldn't happen),
 please report them on https://github.com/YunoHost/package_linter/issues

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

 [Loading App]


 [Manifest]


 [Misc File Checks]


 [Helpers Usage]


 [_Common.Sh Script]

! [YEP-2.12] You should not need to use 'sudo', the script is being run as root. (If you need to run a command using a specific user, use 'ynh_exec_as') 

 [Install Script]


 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

Only 1 warning remaining! You can do it!
--- SUCCESS ---


>> Installation on the root... [Test 2/7]
Pre installation request
A LXC container is already running.
Working time: 2 seconds.
Working time: 4 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 31 seconds.
Synchronizing state of zerotier-one.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable zerotier-one
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 57 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [3389.1] Installing the app 'ztncui'…
Info:  [+...................] > Validating installation parameters... [00h00m,01s]
Info:  [#+..................] > Storing installation settings... [00h00m,01s]
Info:  [##++................] > Configuring firewall... [00h00m,01s]
Info:  [####+...............] > Installing dependencies... [00h00m,00s]
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [3389.1] 
######                                                                     9.6%
#################                                                         23.9%
##############################                                            43.0%
########################################                                  56.8%
###############################################                           66.4%
######################################################                    76.0%
#############################################################             85.5%
#################################################################         90.3%
####################################################################      95.1%
#######################################################################   99.8%
######################################################################## 100.0%
Info:  [#####++.............] > Setting up source files... [00h00m,11s]
Info:  [#######+............] > Configuring nginx web server... [00h00m,02s]
Info:  [########++..........] > Configuring system user... [00h00m,01s]
Info:  [##########+.........] > Performing Node app installation... [00h00m,03s]
Info:  [###########+........] > Configuring a systemd service... [00h01m,28s]
Warning: yunohost.hook <lambda> - [3389.1] Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Info:  [############++......] > Configuring log rotation... [00h00m,01s]
Info:  [##############+.....] > Starting the systemd service... [00h00m,01s]
Info:  [###############++...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server... [00h00m,01s]
Warning: yunohost.hook <lambda> - [3389.1] [WARN] Installation of ztncui completed. Default credentials: admin/password
Info:  [####################] > Installation of ztncui completed [00h00m,00s]

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 15 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1071.1] Removing the app 'ztncui'…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Removing ztncui service... [00h00m,02s]
Warning: yunohost.hook <lambda> - [1071.1] Removed /etc/systemd/system/multi-user.target.wants/ztncui.service.
Info:  [####++..............] > Stopping and removing the systemd service... [00h00m,00s]
Info:  [######++............] > Removing dependencies... [00h00m,01s]
Info:  '/usr/local/n' wasn't deleted because it doesn't exist.
Info:  [########++..........] > Removing app main directory... [00h00m,04s]
Info:  [##########++........] > Removing nginx web server configuration... [00h00m,01s]
Info:  [############++......] > Removing logrotate configuration... [00h00m,00s]
Info:  [##############++....] > Removing the dedicated system user... [00h00m,01s]
Info:  [####################] > Removal of ztncui completed [00h00m,00s]
--- SUCCESS ---

Reinstall the application after a removing.
Pre installation request
A LXC container is already running.
Working time: 1 second.
Working time: 5 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 8 seconds.
Synchronizing state of zerotier-one.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable zerotier-one
13990 
######                                                                     9.6%
#################                                                         23.9%
##############################                                            43.0%
########################################                                  56.8%
###############################################                           66.4%
######################################################                    76.0%
#############################################################             85.5%
#################################################################         90.3%
####################################################################      95.1%
#######################################################################   99.8%
######################################################################## 100.0%
109698 Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
112626 [WARN] Installation of ztncui completed. Default credentials: admin/password
2919 Removed /etc/systemd/system/multi-user.target.wants/ztncui.service.
zerotier is already installed
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 59 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1696.1] Installing the app 'ztncui'…
Info:  [+...................] > Validating installation parameters... [00h00m,01s]
Info:  [#+..................] > Storing installation settings... [00h00m,01s]
Info:  [##++................] > Configuring firewall... [00h00m,01s]
Info:  [####+...............] > Installing dependencies... [00h00m,00s]
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [1696.1] 
####                                                                       6.7%
###############                                                           21.0%
#########################                                                 35.3%
###################################                                       49.6%
##############################################                            63.9%
########################################################                  78.2%
###########################################################               83.1%
###############################################################           87.8%
##################################################################        92.6%
######################################################################    97.4%
######################################################################## 100.0%
Info:  [#####++.............] > Setting up source files... [00h00m,12s]
Info:  [#######+............] > Configuring nginx web server... [00h00m,01s]
Info:  [########++..........] > Configuring system user... [00h00m,01s]
Info:  [##########+.........] > Performing Node app installation... [00h00m,04s]
Info:  [###########+........] > Configuring a systemd service... [00h01m,27s]
Warning: yunohost.hook <lambda> - [1696.1] Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Info:  [############++......] > Configuring log rotation... [00h00m,02s]
Info:  [##############+.....] > Starting the systemd service... [00h00m,01s]
Info:  [###############++...] > Configuring SSOwat...
Warning: yunohost.hook <lambda> - [1696.1] [WARN] Installation of ztncui completed. Default credentials: admin/password
Info:  [#################+..] > Reloading nginx web server... [00h00m,01s]
Info:  [####################] > Installation of ztncui completed [00h00m,00s]

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


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


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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 16 seconds.

Upgrade...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 21 seconds.
Upgrade failed. (1)
Info: yunohost.app app_upgrade - [992.1] Now upgrading ztncui…
Info:  [+...................] > Loading installation settings... [00h00m,00s]
Info:  Upgrade forced for package check.
Info:  [#+..................] > Ensuring downward compatibility... [00h00m,02s]
Info:  [##++................] > Backing up the app before upgrading (may take a while)... [00h00m,01s]
Info: yunohost.backup _collect_app_files - [1215.1] Collecting files to be backed up for the app 'ztncui'…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##+++...............] > Stopping a systemd service... [00h00m,01s]
Info:  [#####++.............] > Backing up the main app directory... [00h00m,00s]
Info:  [#######+++..........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [##########++........] > Backing up logrotate configuration... [00h00m,00s]
Info:  [############+++.....] > Backing up systemd configuration... [00h00m,01s]
Info:  [###############++...] > Starting a systemd service... [00h00m,00s]
Info: yunohost.backup backup_create - [1215.1] Creating a backup archive from the collected files…
Info:  [####+...............] > Stopping a systemd service... [00h00m,24s]
Info:  [#####+..............] > Upgrading source files... [00h00m,00s]
Info:  [######++............] > Upgrading nginx web server configuration... [00h00m,01s]
Info:  [########+...........] > Upgrading dependencies... [00h00m,01s]
Info:  Installation of N - Node.js version management
Info:  [#########+..........] > Making sure dedicated system user exists... [00h00m,10s]
Info:  [##########++........] > Performing Node app installation... [00h00m,00s]
Warning: yunohost.hook <lambda> - [992.1] ./upgrade: line 160: password: unbound variable
Warning: yunohost.hook <lambda> - [992.1] ./upgrade: line 160: /opt/yunohost/ztncui/src/node_modules/argon2-cli: Is a directory
Warning: yunohost.hook <lambda> - [992.1] [ERR] Upgrade failed.
Info: yunohost.app app_remove - [2603.1] Removing the app 'ztncui'…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##++................] > Removing ztncui service... [00h00m,02s]
Warning: yunohost.hook <lambda> - [2603.1] Removed /etc/systemd/system/multi-user.target.wants/ztncui.service.
Info:  [####++..............] > Stopping and removing the systemd service... [00h00m,00s]
Warning: yunohost.hook <lambda> - [992.1] Removed /etc/systemd/system/multi-user.target.wants/ztncui.service.
Info:  [######++............] > Removing dependencies... [00h00m,01s]
Info:  '/usr/local/n' wasn't deleted because it doesn't exist.
Info:  [########++..........] > Removing app main directory... [00h00m,04s]
Info:  [##########++........] > Removing nginx web server configuration... [00h00m,01s]
Info:  [############++......] > Removing logrotate configuration... [00h00m,01s]
Info:  [##############++....] > Removing the dedicated system user... [00h00m,00s]
Info: yunohost.backup backup_restore - [2936.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2936.1] Restoring the app 'ztncui'…
Info:  [++..................] > Loading settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,02s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,00s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,05s]
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [2936.1] 
#######                                                                   10.3%
##############                                                            19.8%
########################                                                  34.2%
##################################                                        48.5%
#############################################                             62.8%
####################################################                      72.3%
##########################################################                81.9%
##############################################################            86.6%
#################################################################         91.5%
#####################################################################     96.2%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [992.1] 26514 
#######                                                                   10.3%
##############                                                            19.8%
########################                                                  34.2%
##################################                                        48.5%
#############################################                             62.8%
####################################################                      72.3%
##########################################################                81.9%
##############################################################            86.6%
#################################################################         91.5%
#####################################################################     96.2%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [2936.1] Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Warning: yunohost.hook <lambda> - [992.1] 28104 Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Info:  [###########++.......] > Restoring the systemd configuration... [00h00m,04s]
Info:  [#############++.....] > Starting a systemd service... [00h00m,01s]
Info:  [###############++...] > Reloading nginx web server... [00h00m,00s]
Warning: yunohost.hook <lambda> - [992.1] The app was restored to the way it was before the failed upgrade.
Error: yunohost.app app_upgrade - [992.1] Could not upgrade ztncui: An error occurred inside the app upgrade script
Info: yunohost.log close - [992.1] The operation 'Upgrade the 'ztncui' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200418-134209-app_upgrade-ztncui --share' to get help
Warning: yunohost.app dump_app_log_extract_for_debugging - [992.1] Here's an extract of the logs before the crash. It might help debugging the error:
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2867 + local log_path
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2867 + local timeout
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2867 + ynh_handle_getopts_args --service_name=ztncui --action=start --log_path=/var/log/ztncui/ztncui.log
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2868 + set +x
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2868 + local service_name=ztncui
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2868 + local action=start
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2868 + local log_path=/var/log/ztncui/ztncui.log
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2869 + local length=20
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2869 + local timeout=300
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2869 + [[ -n '' ]]
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2873 + '[' start == reload ']'
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2873 + systemctl start ztncui
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2873 + [[ -n '' ]]
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2874 + ynh_script_progression '--message=Backup script completed for ztncui. (YunoHost will then actually copy those files to the archive).' --time --last
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2874 + set +x
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2978 + set +x
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2978 + echo '! Helper used in legacy mode !'
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2979 + set +x
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2979 + echo '[####################] > Backup script completed for ztncui. (YunoHost will then actually copy those files to the archive). [00h00m,00s]'
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2979 + set -x
Info: yunohost.app dump_app_log_extract_for_debugging - [992.1] DEBUG - 2979 + ynh_exit_properly
Error: yunohost cli - The operation 'Upgrade the 'ztncui' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200418-134209-app_upgrade-ztncui --share' to get help

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 12 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 3 minutes, 23 seconds.


>> Installation in private mode... [Test 4/7]
Pre installation request
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 30 seconds.
Synchronizing state of zerotier-one.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable zerotier-one
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 57 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [3291.1] Installing the app 'ztncui'…
Info:  [+...................] > Validating installation parameters... [00h00m,00s]
Info:  [#+..................] > Storing installation settings... [00h00m,02s]
Info:  [##++................] > Configuring firewall... [00h00m,00s]
Info:  [####+...............] > Installing dependencies... [00h00m,01s]
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [3291.1] 
####                                                                       6.8%
###############                                                           21.1%
############################                                              40.2%
#######################################                                   54.5%
#################################################                         68.8%
#######################################################                   77.2%
##############################################################            86.8%
#################################################################         91.5%
#####################################################################     96.3%
######################################################################## 100.0%
Info:  [#####++.............] > Setting up source files... [00h00m,11s]
Info:  [#######+............] > Configuring nginx web server... [00h00m,01s]
Info:  [########++..........] > Configuring system user... [00h00m,01s]
Info:  [##########+.........] > Performing Node app installation... [00h00m,04s]
Info:  [###########+........] > Configuring a systemd service... [00h01m,28s]
Warning: yunohost.hook <lambda> - [3291.1] Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Info:  [############++......] > Configuring log rotation... [00h00m,02s]
Info:  [##############+.....] > Starting the systemd service... [00h00m,00s]
Info:  [###############++...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server... [00h00m,00s]
Warning: yunohost.hook <lambda> - [3291.1] [WARN] Installation of ztncui completed. Default credentials: admin/password
Info:  [####################] > Installation of ztncui completed [00h00m,01s]

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: 17 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 3 minutes, 11 seconds.


>> Installation in public mode... [Test 5/7]
Pre installation request
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 5 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 31 seconds.
Synchronizing state of zerotier-one.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable zerotier-one
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 58 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [3290.1] Installing the app 'ztncui'…
Info:  [+...................] > Validating installation parameters... [00h00m,00s]
Info:  [#+..................] > Storing installation settings... [00h00m,02s]
Info:  [##++................] > Configuring firewall... [00h00m,00s]
Info:  [####+...............] > Installing dependencies... [00h00m,01s]
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [3290.1] 
#####                                                                      7.8%
###############                                                           22.1%
##########################                                                36.5%
####################################                                      50.8%
##############################################                            65.1%
#########################################################                 79.4%
############################################################              84.2%
################################################################          88.9%
###################################################################       93.8%
######################################################################    98.5%
######################################################################## 100.0%
Info:  [#####++.............] > Setting up source files... [00h00m,11s]
Info:  [#######+............] > Configuring nginx web server... [00h00m,01s]
Info:  [########++..........] > Configuring system user... [00h00m,01s]
Info:  [##########+.........] > Performing Node app installation... [00h00m,04s]
Info:  [###########+........] > Configuring a systemd service... [00h01m,28s]
Warning: yunohost.hook <lambda> - [3290.1] Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Info:  [############++......] > Configuring log rotation... [00h00m,01s]
Info:  [##############+.....] > Starting the systemd service... [00h00m,01s]
Info:  [###############++...] > Configuring SSOwat...
Info:  [#################+..] > Reloading nginx web server... [00h00m,01s]
Warning: yunohost.hook <lambda> - [3290.1] [WARN] Installation of ztncui completed. Default credentials: admin/password
Info:  [####################] > Installation of ztncui completed [00h00m,01s]

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 3 minutes, 8 seconds.


>> Backup/Restore... [Test 6/7]

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

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 28 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [982.1] Collecting files to be backed up for the app 'ztncui'…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##+++...............] > Stopping a systemd service... [00h00m,00s]
Info:  [#####++.............] > Backing up the main app directory... [00h00m,01s]
Info:  [#######+++..........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [##########++........] > Backing up logrotate configuration... [00h00m,00s]
Info:  [############+++.....] > Backing up systemd configuration... [00h00m,01s]
Info:  [###############++...] > Starting a systemd service... [00h00m,00s]
Info: yunohost.backup backup_create - [982.1] Creating a backup archive from the collected files…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 34 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [1898.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1898.1] Restoring the app 'ztncui'…
Info:  [++..................] > Loading settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,01s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,00s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,05s]
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [1898.1] 
######                                                                     8.6%
#############                                                             18.1%
#######################                                                   32.5%
#################################                                         46.8%
###########################################                               61.1%
##################################################                        70.7%
#########################################################                 80.2%
#############################################################             85.0%
################################################################          89.7%
####################################################################      94.5%
#######################################################################   99.3%
######################################################################## 100.0%
Info:  [###########++.......] > Restoring the systemd configuration... [00h00m,04s]
Warning: yunohost.hook <lambda> - [1898.1] Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Info:  [#############++.....] > Starting a systemd service... [00h00m,01s]
Info:  [###############++...] > Reloading nginx web server... [00h00m,01s]
Info:  [####################] > Restoration completed for ztncui [00h00m,00s]

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


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

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 35 seconds.
Restore successful. (0)
Warning: yunohost.service _run_service_command - [193.1] Could not execute the command 'systemctl reload fail2ban'
Info: yunohost.backup backup_restore - [957.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [957.1] Restoring the app 'ztncui'…
Info:  [++..................] > Loading settings... [00h00m,00s]
Info:  [##++................] > Validating restoration parameters... [00h00m,01s]
Info:  [####++..............] > Restoring the app main directory... [00h00m,01s]
Info:  [######++............] > Recreating the dedicated system user... [00h00m,00s]
Info:  [########+++.........] > Reinstalling dependencies... [00h00m,04s]
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [957.1] 
#                                                                          1.6%
#######                                                                   10.9%
###################                                                       26.5%
################################                                          45.7%
#######################################                                   55.2%
##################################################                        69.5%
########################################################                  79.1%
###############################################################           88.6%
###################################################################       93.4%
######################################################################    98.1%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [957.1] Created symlink /etc/systemd/system/multi-user.target.wants/ztncui.service → /etc/systemd/system/ztncui.service.
Info:  [###########++.......] > Restoring the systemd configuration... [00h00m,05s]
Info:  [#############++.....] > Starting a systemd service... [00h00m,01s]
Info:  [###############++...] > Reloading nginx web server... [00h00m,00s]
Info:  [####################] > Restoration completed for ztncui [00h00m,00s]

Try to access by url...
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 3 minutes, 24 seconds.


>> Change URL... [Test 7/7]
Sub path install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 16 seconds.
Change the url from sous.domain.tld/ to domain.tld/...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 32 seconds.
Change_url script successful. (0)
Info:Info:  [##+++...............] > Backing up the app before changing its url (may take a while)... [00h00m,00s]
Info: yunohost.backup _collect_app_files - [1064.1] Collecting files to be backed up for the app 'ztncui'…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##+++...............] > Stopping a systemd service... [00h00m,00s]
Info:  [#####++.............] > Backing up the main app directory... [00h00m,01s]
Info:  [#######+++..........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [##########++........] > Backing up logrotate configuration... [00h00m,00s]
Info:  [############+++.....] > Backing up systemd configuration... [00h00m,01s]
Info:  [###############++...] > Starting a systemd service... [00h00m,00s]
Info: yunohost.backup backup_create - [1064.1] Creating a backup archive from the collected files…
Info:  [#####+++............] > Stopping a systemd service... [00h00m,26s]
Info:  [########+++.........] > Updating nginx web server configuration... [00h00m,00s]
Info:  [###########+++......] > Starting a systemd service... [00h00m,00s]
Info:  [##############+++...] > Reloading nginx web server... [00h00m,00s]
Info:  [####################] > Change of URL completed for ztncui [00h00m,01s]

Try to access by url...
Test url: domain.tld
Real url: http://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: domain.tld/
Real url: http://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Sub path install failed, impossible to perform this test...

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 15 seconds.
Change the url from sous.domain.tld/ to domain.tld/...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 32 seconds.
Change_url script successful. (0)
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##+++...............] > Backing up the app before changing its url (may take a while)... [00h00m,01s]
Info: yunohost.backup _collect_app_files - [1048.1] Collecting files to be backed up for the app 'ztncui'…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##+++...............] > Stopping a systemd service... [00h00m,01s]
Info:  [#####++.............] > Backing up the main app directory... [00h00m,00s]
Info:  [#######+++..........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [##########++........] > Backing up logrotate configuration... [00h00m,00s]
Info:  [############+++.....] > Backing up systemd configuration... [00h00m,01s]
Info:  [###############++...] > Starting a systemd service... [00h00m,00s]
Info: yunohost.backup backup_create - [1048.1] Creating a backup archive from the collected files…
Info:  [#####+++............] > Stopping a systemd service... [00h00m,25s]
Info:  [########+++.........] > Updating nginx web server configuration... [00h00m,00s]
Info:  [###########+++......] > Starting a systemd service... [00h00m,00s]
Info:  [##############+++...] > Reloading nginx web server... [00h00m,00s]

Try to access by url...
Test url: domain.tld
Real url: http://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: domain.tld/
Real url: http://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 16 seconds.
Change the url from sous.domain.tld/ to domain.tld/...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 32 seconds.
Change_url script successful. (0)
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##+++...............] > Backing up the app before changing its url (may take a while)... [00h00m,00s]
Info: yunohost.backup _collect_app_files - [1067.1] Collecting files to be backed up for the app 'ztncui'…
Info:  [++..................] > Loading installation settings... [00h00m,00s]
Info:  [##+++...............] > Stopping a systemd service... [00h00m,00s]
Info:  [#####++.............] > Backing up the main app directory... [00h00m,01s]
Info:  [#######+++..........] > Backing up nginx web server configuration... [00h00m,00s]
Info:  [##########++........] > Backing up logrotate configuration... [00h00m,00s]
Info:  [############+++.....] > Backing up systemd configuration... [00h00m,01s]
Info:  [###############++...] > Starting a systemd service... [00h00m,00s]
Info: yunohost.backup backup_create - [1067.1] Creating a backup archive from the collected files…
Info:  [#####+++............] > Stopping a systemd service... [00h00m,25s]
Info:  [########+++.........] > Updating nginx web server configuration... [00h00m,01s]
Info:  [###########+++......] > Starting a systemd service... [00h00m,00s]
Info:  [##############+++...] > Reloading nginx web server... [00h00m,00s]
Info:  [####################] > Change of URL completed for ztncui [00h00m,00s]

Try to access by url...
Test url: domain.tld
Real url: http://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


Test url: domain.tld/
Real url: http://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:
    (BUTTON) [1]Key Networks logo Key Networks
     * [2]Login

ztncui

[3]ZeroTier network controller UI

References

   1. https://key-networks.com/
   2. file:///login
   3. https://zerotier.com/


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



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      Not evaluated.
Deleting from a sub path:        Not evaluated.
Installation on the root:        SUCCESS
Deleting from root:              SUCCESS
Upgrade:                         FAIL
Installation in private mode:    SUCCESS
Installation in public mode:     SUCCESS
Multi-instance installations:    Not evaluated.
Malformed path:                  Not evaluated.
Port already used:               Not evaluated.
Backup:                          SUCCESS
Restore:                         SUCCESS
Change URL:                      SUCCESS
Actions and config-panel:        Not evaluated.
Level of this application: 2 (Installable in all situations)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 0
	   Level 4: 1
	   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: 23 minutes, 29 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at https://ci-apps-dev.yunohost.org/jenkins/logs/_home_yunohost.app_ssh_chroot_directories_tituspijean_data_ztncui_ynh_complete.log

Sat Apr 18 13:59:02 UTC 2020
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE