SuccessConsole Output

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

Tue Jun  4 01:05:06 UTC 2019
Wait for work starting...
..........
Tue Jun  4 01:10:06 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.Start the LXC container.
Create witness files...
Working time: 9 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_PR58_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.
Working time: 2 seconds.
Working time: 2 minutes, 41 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1015.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [1015.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [1015.1] 
                                                                           0.2%
#                                                                          2.1%
####                                                                       6.1%
#########                                                                 12.6%
##################                                                        25.0%
#############################                                             40.5%
#######################################                                   54.3%
################################################                          67.2%
########################################################                  78.1%
##############################################################            87.4%
######################################################################    98.0%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [1015.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [1015.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1015.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> - [1015.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> - [1015.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: 34 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 14 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [995.1] Removing application wikijs…
Info:  Loading installation settings...
Info:  Removing wikijs service...
Warning: yunohost.hook <lambda> - [995.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> - [995.1] Removing database wikijs
Warning: yunohost.hook <lambda> - [995.1] Removing user wikijs
Info:  Removing dependencies...
Warning: yunohost.hook <lambda> - [995.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> - [995.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: 2 seconds.
Working time: 2 minutes, 7 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1517.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [1517.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [1517.1] 
                                                                           0.1%
                                                                           1.1%
##                                                                         3.3%
#####                                                                      8.3%
###############                                                           22.2%
##########################                                                37.2%
###################################                                       50.0%
###############################################                           65.4%
#######################################################                   76.9%
###########################################################               82.6%
###############################################################           87.9%
###################################################################       93.8%
######################################################################    98.6%
######################################################################## 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> - [1517.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> - [1517.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, 11 seconds.
Working time for this test: 7 minutes, 12 seconds.


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

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

Upgrade...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 3 minutes, 22 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [964.1] Now upgrading app wikijs…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [964.1] Upgrade forced for package check.
Warning: yunohost.hook <lambda> - [964.1] /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [964.1] Avoid deleting /var/log/wikijs/.
Info:  Ensuring downward compatibility...
Error: :  role "wikijs" already exists
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1161.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 - [1161.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
Warning: yunohost.hook <lambda> - [964.1] Installation of N - Node.js version management
Info:  Upgrading dependencies...
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: 57 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: 2 minutes, 14 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [204.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [922.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [922.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [922.1] 
                                                                           0.0%
#                                                                          1.6%
###                                                                        4.5%
#########                                                                 13.2%
###################                                                       26.8%
#############################                                             41.4%
########################################                                  56.3%
####################################################                      73.4%
########################################################                  79.1%
############################################################              84.7%
################################################################          90.3%
#####################################################################     96.0%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [922.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [922.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [922.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> - [922.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> - [922.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: 2 seconds.
Working time: 2 minutes, 38 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [5188.1] Now upgrading app wikijs…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [5188.1] Upgrade forced for package check.
Info:  Ensuring downward compatibility...
Warning: yunohost.hook <lambda> - [5188.1] /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [5188.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 - [5387.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 - [5387.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
Warning: yunohost.hook <lambda> - [5188.1] Installation of N - Node.js version management
Info:  Upgrading dependencies...
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: 1 second.
Working time: 20 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 59 seconds.
Restore the previous snapshot.
Working time: 50 seconds.
Working time for this test: 12 minutes, 39 seconds.


>> Installation in private mode... [Test 5/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 27 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [906.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [906.1] 
#                                                                          2.0%
############                                                              17.4%
######################                                                    31.1%
################################                                          45.1%
#########################################                                 57.8%
###################################################                       72.0%
###########################################################               82.1%
###############################################################           87.6%
###################################################################       93.1%
######################################################################    98.5%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [906.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [906.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [906.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> - [906.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> - [906.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, 2 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 49 seconds.
Working time for this test: 4 minutes, 30 seconds.


>> Installation in public mode... [Test 6/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 57 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [949.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [949.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [949.1] 
#                                                                          2.0%
###########                                                               15.9%
#####################                                                     30.0%
##############################                                            42.6%
#######################################                                   55.3%
##################################################                        69.7%
#########################################################                 80.2%
#############################################################             85.7%
#################################################################         91.1%
#####################################################################     96.6%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [949.1] E: The repository 'http://httpredir.debian.org/debian stretch Release' does no longer have a Release file.
Warning: yunohost.hook <lambda> - [949.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [949.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [949.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> - [949.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> - [949.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, .
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 49 seconds.
Working time for this test: 5 minutes, 1 second.


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld/
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 32 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [950.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [950.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [950.1] 
#                                                                          1.8%
############                                                              17.3%
######################                                                    31.7%
#################################                                         46.6%
##########################################                                59.2%
###################################################                       71.6%
########################################################                  78.6%
################################################################          89.5%
####################################################################      95.0%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [950.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [950.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [950.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> - [950.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> - [950.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.
Working time: 1 second.
Working time: 2 minutes, 49 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [5209.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [5209.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> - [5209.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> - [5209.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, 3 seconds.
Working time for this test: 5 minutes, 44 seconds.


>> Malformed path... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 23 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [191.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.3%
############                                                              17.4%
#########################                                                 35.2%
##################################                                        48.0%
###########################################                               60.6%
####################################################                      72.8%
########################################################                  79.0%
############################################################              84.4%
################################################################          90.0%
####################################################################      95.4%
######################################################################## 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://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, .
Working time for this test: 3 minutes, 32 seconds.


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

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

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 1 minute, 3 seconds.
Backup successful. (0)
Warning: yunohost.service _run_service_command - [182.1] Unable to execute command 'systemctl reload fail2ban'
Warning: yunohost.hook <lambda> - [961.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [961.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 - [961.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 36 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [1788.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1788.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> - [1788.1] Installation of N - Node.js version management
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [1788.1] 
                                                                           0.0%
                                                                           0.2%
                                                                           0.3%
                                                                           0.5%
                                                                           0.8%
                                                                           1.1%
                                                                           1.4%
#                                                                          1.8%
#                                                                          2.2%
#                                                                          2.7%
##                                                                         3.3%
##                                                                         4.0%
###                                                                        4.9%
####                                                                       5.9%
#####                                                                      7.1%
######                                                                     8.5%
#######                                                                   10.1%
########                                                                  12.1%
##########                                                                14.3%
############                                                              17.2%
##############                                                            20.4%
#################                                                         24.4%
####################                                                      29.0%
########################                                                  34.6%
#############################                                             41.2%
###################################                                       48.9%
#########################################                                 58.2%
###################################################                       71.5%
#######################################################                   76.6%
##############################################################            87.1%
##################################################################        92.0%
#####################################################################     97.1%
######################################################################## 100.0%
Info:  Restoring the PostgreSQL database...
Warning: yunohost.hook <lambda> - [1788.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

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

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 56 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [916.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [916.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> - [916.1] Installation of N - Node.js version management
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [916.1] 
#                                                                          2.0%
###########                                                               16.4%
######################                                                    30.9%
###############################                                           43.2%
#########################################                                 58.3%
####################################################                      72.8%
###########################################################               82.5%
###############################################################           88.1%
###################################################################       93.5%
#######################################################################   99.0%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [916.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Restoring the PostgreSQL database...
Warning: yunohost.hook <lambda> - [916.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [916.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [916.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, 2 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 50 seconds.
Working time for this test: 8 minutes, 51 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: 47 minutes, 47 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_PR58_complete.log

Tue Jun  4 02:00:11 UTC 2019
Test finished.
Finished: SUCCESS