SuccessConsole Output

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

Wed May 29 12:55:04 UTC 2019
Wait for work starting...
..........
Wed May 29 13:00:04 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: 48 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.2
yunohost-admin: 
  repo: stable
  version: 3.5.2
moulinette: 
  repo: stable
  version: 3.5.2
ssowat: 
  repo: stable
  version: 3.5.2.1
Connection to 10.1.4.2 closed.


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

    [YunoHost App Package Linter]

 App packaging documentation - https://yunohost.org/#/packaging_apps
 App package example         - https://github.com/YunoHost/example_ynh
 Official helpers            - https://yunohost.org/#/packaging_apps_helpers_en
 Experimental helpers        - https://github.com/YunoHost-Apps/Experimental_helpers

    Analyzing package /home/CI_package_check/dev_CI/../package_check/wikijs_ynh_PR56_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"
    } 

 [Install Script]


 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation on the root... [Test 2/9]
A LXC container is already running.A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 59 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [961.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [961.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [961.1] 
                                                                           0.2%
########                                                                  11.7%
##################                                                        25.5%
#############################                                             41.3%
######################################                                    53.0%
##################################################                        70.3%
##########################################################                81.0%
##############################################################            86.1%
#################################################################         91.6%
#####################################################################     97.1%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [961.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [961.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [961.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [961.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Start the service wikijs
Warning: yunohost.hook <lambda> - [961.1] Please wait, the service wikijs is starting.
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

--- SUCCESS ---
Create a snapshot for root installation.
Working time: 33 seconds.
Start the LXC container..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: 14 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1009.1] Removing application wikijs…
Info:  Loading installation settings...
Info:  Removing wikijs service...
Warning: yunohost.hook <lambda> - [1009.1] Removed /etc/systemd/system/multi-user.target.wants/wikijs.service.
Info:  Stopping and removing the systemd service...
Info:  Stop the service wikijs
Info:  Removing the PostgreSQL database...
Warning: yunohost.hook <lambda> - [1009.1] Removing database wikijs
Warning: yunohost.hook <lambda> - [1009.1] Removing user wikijs
Info:  Removing dependencies...
Warning: yunohost.hook <lambda> - [1009.1] /usr/local/n wasn't deleted because it doesn't exist.
Info:  Removing app main directory...
Info:  Removing nginx web server configuration...
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1009.1] Remove the user wikijs
Info:  Removing the dedicated system user...
Info:  Removal of wikijs completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 2 minutes, 10 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1528.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [1528.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [1528.1] 
                                                                           0.0%
                                                                           0.3%
                                                                           0.4%
                                                                           1.0%
#                                                                          1.5%
##                                                                         3.3%
####                                                                       6.7%
########                                                                  12.0%
#########                                                                 13.1%
###########                                                               15.7%
###########                                                               16.6%
##############                                                            19.9%
#################                                                         24.1%
#####################                                                     29.3%
#####################                                                     29.4%
#####################                                                     29.6%
######################                                                    31.4%
########################                                                  34.6%
#########################                                                 35.7%
#############################                                             41.5%
###############################                                           43.7%
##################################                                        48.1%
#####################################                                     52.4%
########################################                                  56.1%
###########################################                               61.1%
#################################################                         69.2%
######################################################                    75.0%
########################################################                  78.3%
############################################################              83.8%
############################################################              83.8%
##############################################################            87.2%
###############################################################           88.7%
#################################################################         90.8%
#####################################################################     96.1%
######################################################################## 100.0%
Info:  Creating a PostgreSQL database...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [1528.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Start the service wikijs
Warning: yunohost.hook <lambda> - [1528.1] Please wait, the service wikijs is starting.
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of wikijs completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 1 second.
Working time for this test: 6 minutes, 23 seconds.


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

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

Upgrade...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 3 minutes, 3 seconds.
Upgrade successful. (0)
Warning: yunohost.service _run_service_command - [201.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_upgrade - [972.1] Now upgrading app wikijs…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [972.1] Upgrade forced for package check.
Info:  Ensuring downward compatibility...
Warning: yunohost.hook <lambda> - [972.1] /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [972.1] Avoid deleting /var/log/wikijs/.
Error: :  role "wikijs" already exists
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1169.1] Collecting files to be backuped for wikijs…
Info:  Loading installation settings...
Info:  Stopping a systemd service...
Info:  Stop the service wikijs
Info:  Backing up the main app directory...
Info:  Backing up nginx web server configuration...
Info:  Backing up the PostgreSQL database...
Info:  Backing up systemd configuration...
Info: yunohost.backup backup_create - [1169.1] Now creating a backup archive from the files collected…
Info:  Stop the service wikijs
Info:  Upgrading source files...
Info:  Upgrading nginx web server configuration...
Info:  Reload the service nginx
Info:  Upgrading dependencies...
Warning: yunohost.hook <lambda> - [972.1] Installation of N - Node.js version management
Info:  Making sure dedicated system user exists...
Info:  Upgrading systemd configuration...
Info:  Upgrading SSOwat configuration...
Info:  Start the service wikijs
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Upgrade of wikijs completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 21 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 56 seconds.


>> Upgrade from the commit ad5db1af11dfa2502ab0f214ec8e929e1eecbec8... [Test 4/9]

Preliminary install...
fatal: reference is not a tree: ad5db1af11dfa2502ab0f214ec8e929e1eecbec8
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 1 minute, 43 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [195.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [914.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [914.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [914.1] 
#                                                                          2.1%
############                                                              16.7%
#####################                                                     30.3%
##############################                                            42.1%
#####################################                                     52.5%
###############################################                           66.6%
####################################################                      72.3%
########################################################                  77.8%
###############################################################           88.7%
###################################################################       94.3%
#######################################################################   99.7%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [914.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [914.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [914.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Start the service wikijs
Warning: yunohost.hook <lambda> - [914.1] Please wait, the service wikijs is starting.
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of wikijs completed

Upgrade...
A LXC container is already running.
Working time: 1 second.
Working time: 2 minutes, 6 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [5179.1] Now upgrading app wikijs…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [5179.1] Upgrade forced for package check.
Warning: yunohost.hook <lambda> - [5179.1] /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
Info:  Ensuring downward compatibility...
Warning: yunohost.hook <lambda> - [5179.1] Avoid deleting /var/log/wikijs/.
Error: :  role "wikijs" already exists
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [5378.1] Collecting files to be backuped for wikijs…
Info:  Loading installation settings...
Info:  Stopping a systemd service...
Info:  Stop the service wikijs
Info:  Backing up the main app directory...
Info:  Backing up nginx web server configuration...
Info:  Backing up the PostgreSQL database...
Info:  Backing up systemd configuration...
Info:  Backup script completed for wikijs. (YunoHost will then actually copy those files to the archive).
Info: yunohost.backup backup_create - [5378.1] Now creating a backup archive from the files collected…
Info:  Stop the service wikijs
Info:  Upgrading source files...
Info:  Upgrading nginx web server configuration...
Info:  Reload the service nginx
Info:  Upgrading dependencies...
Warning: yunohost.hook <lambda> - [5179.1] Installation of N - Node.js version management
Info:  Making sure dedicated system user exists...
Info:  Upgrading systemd configuration...
Info:  Upgrading SSOwat configuration...
Info:  Start the service wikijs
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Upgrade of wikijs completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

--- SUCCESS ---

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


>> Installation in private mode... [Test 5/9]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 31 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [914.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [914.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [914.1] 
#####                                                                      7.8%
#################                                                         24.2%
##########################                                                37.4%
#####################################                                     52.6%
################################################                          66.9%
#########################################################                 79.2%
################################################################          90.2%
####################################################################      95.6%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [914.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [914.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [914.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Start the service wikijs
Warning: yunohost.hook <lambda> - [914.1] Please wait, the service wikijs is starting..
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of wikijs 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: 1 minute, 1 second.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 49 seconds.
Working time for this test: 4 minutes, 28 seconds.


>> Installation in public mode... [Test 6/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 47 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [915.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [915.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [915.1] 
#                                                                          2.2%
#########                                                                 13.3%
####################                                                      29.1%
################################                                          45.2%
##########################################                                59.2%
####################################################                      73.3%
#########################################################                 79.6%
#############################################################             85.1%
#################################################################         90.6%
#####################################################################     96.1%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [915.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [915.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [915.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [915.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Start the service wikijs
Warning: yunohost.hook <lambda> - [915.1] Please wait, the service wikijs is starting.
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of wikijs completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 2 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 48 seconds.
Working time for this test: 4 minutes, 51 seconds.


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld/
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 37 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [915.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [915.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [915.1] 
                                                                           0.0%
                                                                           0.5%
#                                                                          1.7%
####                                                                       5.6%
#########                                                                 12.9%
##############                                                            20.8%
##################                                                        25.1%
######################                                                    30.7%
#########################                                                 34.8%
###########################                                               38.4%
#################################                                         45.9%
###################################                                       49.8%
####################################                                      50.8%
######################################                                    53.1%
########################################                                  56.3%
#############################################                             62.7%
###############################################                           65.5%
################################################                          67.5%
##################################################                        70.7%
###################################################                       71.4%
####################################################                      72.2%
####################################################                      72.8%
#####################################################                     74.3%
########################################################                  78.9%
#########################################################                 79.4%
#########################################################                 80.2%
#############################################################             85.4%
###############################################################           88.9%
######################################################################    97.4%
######################################################################    97.6%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [915.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [915.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [915.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [915.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Start the service wikijs
Warning: yunohost.hook <lambda> - [915.1] Please wait, the service wikijs is starting.
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of wikijs completed
Second installation: path=sous.domain.tld/
A LXC container is already running.A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 8 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [5177.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [5177.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Info:  Creating a PostgreSQL database...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [5177.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs__2.service → /etc/systemd/system/wikijs__2.service.
Info:  Start the service wikijs__2
Warning: yunohost.hook <lambda> - [5177.1] Please wait, the service wikijs__2 is starting.
Info:  The service wikijs__2 has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of wikijs__2 completed

Try to access by url...
Test url: domain.tld
Real url: https://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/ynh_overlay.css

Test url: domain.tld/
Real url: https://domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/ynh_overlay.css


Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

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


>> Malformed path... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 6 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [902.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [902.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [902.1] 
                                                                           0.0%
                                                                           0.2%
                                                                           0.7%
                                                                           1.0%
#                                                                          2.5%
###                                                                        5.3%
#####                                                                      7.4%
######                                                                     9.3%
#########                                                                 13.0%
#########                                                                 13.5%
#############                                                             18.3%
#############                                                             18.9%
#################                                                         24.0%
###################                                                       26.9%
#####################                                                     30.2%
######################                                                    30.6%
#######################                                                   33.3%
########################                                                  33.4%
##########################                                                36.8%
###########################                                               38.7%
############################                                              38.9%
############################                                              39.4%
############################                                              39.6%
###############################                                           44.2%
#####################################                                     51.7%
#####################################                                     52.6%
#######################################                                   54.5%
########################################                                  55.9%
########################################                                  56.3%
###########################################                               60.7%
#############################################                             63.4%
#################################################                         69.0%
##################################################                        69.8%
######################################################                    75.1%
########################################################                  78.7%
########################################################                  78.8%
#########################################################                 80.3%
##########################################################                81.3%
##############################################################            86.4%
##############################################################            86.8%
###############################################################           87.9%
##################################################################        92.6%
##################################################################        93.0%
####################################################################      94.6%
######################################################################    98.4%
#######################################################################   99.0%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [902.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [902.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [902.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user ...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [902.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Start the service wikijs
Warning: yunohost.hook <lambda> - [902.1] Please wait, the service wikijs is starting.
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of wikijs completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404)
Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, .
Working time for this test: 3 minutes, 21 seconds.


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

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

Backup of the application...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 1 minute, 7 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [967.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [967.1] Collecting files to be backuped for wikijs…
Info:  Loading installation settings...
Info:  Stopping a systemd service...
Info:  Stop the service wikijs
Info:  Backing up the main app directory...
Info:  Backing up nginx web server configuration...
Info:  Backing up the PostgreSQL database...
Info:  Backing up systemd configuration...
Info: yunohost.backup backup_create - [967.1] Now creating a backup archive from the files collected…
--- 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: 2 seconds.
Working time: 1 minute, 51 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [1786.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1786.1] Restoring application wikijs…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Recreating the dedicated system user...
Warning: yunohost.hook <lambda> - [1786.1] Installation of N - Node.js version management
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [1786.1] 
                                                                           0.0%
                                                                           0.7%
#                                                                          2.1%
##                                                                         4.0%
##                                                                         4.2%
#####                                                                      7.8%
#######                                                                   10.5%
#########                                                                 13.3%
##########                                                                14.5%
############                                                              16.7%
############                                                              17.2%
#############                                                             18.5%
###############                                                           21.6%
################                                                          23.3%
#################                                                         24.1%
###################                                                       26.8%
###################                                                       26.9%
####################                                                      28.1%
######################                                                    30.6%
######################                                                    30.7%
######################                                                    31.5%
#######################                                                   32.4%
########################                                                  34.4%
#########################                                                 35.0%
##########################                                                37.0%
############################                                              39.3%
##############################                                            41.9%
##############################                                            42.1%
################################                                          44.6%
##################################                                        47.8%
###################################                                       49.5%
####################################                                      51.1%
#####################################                                     52.3%
######################################                                    53.5%
#######################################                                   55.0%
########################################                                  56.0%
##########################################                                59.0%
###########################################                               60.6%
############################################                              62.0%
############################################                              62.3%
##############################################                            64.2%
##############################################                            64.4%
##############################################                            65.1%
#################################################                         68.1%
###################################################                       71.6%
####################################################                      73.3%
#######################################################                   76.7%
#########################################################                 79.3%
#########################################################                 79.9%
##########################################################                81.0%
###########################################################               82.4%
#############################################################             85.1%
###############################################################           88.3%
################################################################          89.4%
#################################################################         90.4%
#################################################################         91.5%
##################################################################        92.1%
####################################################################      95.1%
####################################################################      95.2%
#####################################################################     96.9%
######################################################################    97.9%
#######################################################################   99.5%
######################################################################## 100.0%
Info:  Restoring the PostgreSQL database...
Warning: yunohost.hook <lambda> - [1786.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Restoring the systemd configuration...
Info:  Starting a systemd service...
Info:  Start the service wikijs
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Restoration completed for wikijs

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

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

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 4 seconds.
Restore successful. (0)
Warning: yunohost.service _run_service_command - [211.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.backup backup_restore - [913.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [913.1] Restoring application wikijs…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Recreating the dedicated system user...
Warning: yunohost.hook <lambda> - [913.1] Installation of N - Node.js version management
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [913.1] 
                                                                           0.0%
                                                                           0.7%
#                                                                          1.9%
###                                                                        4.7%
#######                                                                   11.1%
################                                                          23.1%
#########################                                                 35.1%
##################################                                        47.8%
############################################                              61.2%
####################################################                      72.5%
########################################################                  77.9%
###########################################################               83.3%
###############################################################           88.6%
######################################################################    98.5%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [913.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Restoring the PostgreSQL database...
Warning: yunohost.hook <lambda> - [913.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [913.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [913.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Restoring the systemd configuration...
Info:  Starting a systemd service...
Info:  Start the service wikijs
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Restoration completed for wikijs

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: 
Extract of the page:



Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, .
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 48 seconds.
Working time for this test: 9 minutes, 17 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:                         SUCCESS
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:                         SUCCESS
Change URL:                      Not evaluated.
Level of this application: 7 (Successfully pass functional tests)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 1
	   Level 4: 1
	   Level 5: 1
	   Level 6: 1
	   Level 7: 1
	   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: 45 minutes, 2 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_yalh76_data_wikijs_ynh_PR56_complete.log

Wed May 29 13:46:08 UTC 2019
Test finished.
Finished: SUCCESS