SuccessConsole Output

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

Wed Jun 26 07:52:12 UTC 2019
Wait for work starting...
......
Wed Jun 26 07:55:12 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: 17 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/8]

    [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 PR65_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/8]
A LXC container is already running.
Working time: 1 second.
Working time: 2 minutes, 2 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [980.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [980.1] Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [980.1] 
#                                                                          2.6%
###########                                                               16.1%
####################                                                      29.0%
##############################                                            42.3%
########################################                                  55.9%
#################################################                         68.8%
#########################################################                 79.7%
#################################################################         90.6%
#####################################################################     96.1%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [980.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [980.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [980.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> - [980.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> - [980.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 ---
Create a snapshot for root installation.
Working time: 37 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: 2 seconds.
Working time: 13 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [995.1] Removing application wikijs…
Info:  Loading installation settings...
Info:  Removing wikijs service...
Info:  Stopping and removing the systemd service...
Info:  Stop the service wikijs
Warning: yunohost.hook <lambda> - [995.1] Removed /etc/systemd/system/multi-user.target.wants/wikijs.service.
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, 16 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1514.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [1514.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [1514.1] 
                                                                           0.3%
###                                                                        5.4%
##########                                                                15.1%
####################                                                      28.9%
##############################                                            42.0%
########################################                                  56.7%
####################################################                      72.4%
########################################################                  77.8%
###############################################################           88.8%
###################################################################       94.3%
#######################################################################   99.8%
######################################################################## 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> - [1514.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> - [1514.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: 32 seconds.
Working time for this test: 6 minutes, 6 seconds.


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

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

Upgrade...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 2 minutes, 48 seconds.
Upgrade successful. (0)
Warning: yunohost.service _run_service_command - [197.1] Unable to execute command 'systemctl reload fail2ban'
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...
Warning: yunohost.hook <lambda> - [964.1] W: Failed to fetch http://httpredir.debian.org/debian/dists/stretch/InRelease  Temporary failure resolving 'httpredir.debian.org'
Warning: yunohost.hook <lambda> - [964.1] W: Some index files failed to download. They have been ignored, or old ones used instead.
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: 28 seconds.


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

Preliminary install...
fatal: reference is not a tree: ad5db1af11dfa2502ab0f214ec8e929e1eecbec8
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 minutes, 20 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [183.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] 
                                                                           1.1%
###                                                                        5.3%
############                                                              17.7%
########################                                                  34.0%
#################################                                         45.9%
###########################################                               60.3%
#######################################################                   76.4%
##############################################################            86.9%
##################################################################        92.4%
######################################################################    97.9%
######################################################################## 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 - [5242.1] Now upgrading app wikijs…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [5242.1] Upgrade forced for package check.
Warning: yunohost.hook <lambda> - [5242.1] /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [5242.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 - [5441.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 - [5441.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> - [5242.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: 21 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 29 seconds.
Restore the previous snapshot.
Working time: 18 seconds.
Working time for this test: 12 minutes, 34 seconds.


>> Installation in private mode... [Test 5/8]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 2 minutes, 18 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [909.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [909.1] Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [909.1] 
                                                                           0.1%
                                                                           0.5%
#                                                                          1.5%
##                                                                         3.6%
######                                                                     9.6%
##############                                                            20.4%
##########################                                                37.4%
###################################                                       49.8%
############################################                              61.8%
####################################################                      72.6%
##########################################################                81.5%
##############################################################            86.9%
##################################################################        92.4%
######################################################################    97.9%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [909.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [909.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [909.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> - [909.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> - [909.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: 31 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 3 minutes, 17 seconds.


>> Installation in public mode... [Test 6/8]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 56 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [913.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Warning: yunohost.hook <lambda> - [913.1] Installation of N - Node.js version management
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [913.1] 
                                                                           0.1%
                                                                           0.7%
#                                                                          2.1%
###                                                                        5.3%
#########                                                                 13.0%
##################                                                        25.9%
############################                                              39.5%
#####################################                                     52.0%
################################################                          67.6%
########################################################                  77.9%
###############################################################           88.5%
######################################################################    98.4%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [913.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a 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
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> - [913.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> - [913.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: 30 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 2 minutes, 58 seconds.


>> Multi-instance installations... [Test 7/8]
First installation: path=domain.tld/
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 53 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] 
                                                                           0.1%
#                                                                          2.2%
####                                                                       6.2%
###########                                                               15.5%
######################                                                    30.8%
###############################                                           43.8%
########################################                                  56.0%
###################################################                       71.6%
###########################################################               82.3%
###############################################################           87.7%
###################################################################       93.2%
#######################################################################   98.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
Second installation: path=sous.domain.tld/
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 10 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [5178.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [5178.1] Installation of N - Node.js version management
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> - [5178.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> - [5178.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

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: 33 seconds.
Working time for this test: 4 minutes, 56 seconds.


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

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

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 2 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [956.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [956.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 - [956.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, 36 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [1775.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1775.1] Restoring application wikijs…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Recreating the dedicated system user...
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [1775.1] Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [1775.1] 
                                                                           0.3%
###                                                                        5.1%
###########                                                               15.5%
#####################                                                     29.6%
###############################                                           44.2%
#######################################                                   54.3%
##############################################                            64.7%
######################################################                    75.5%
##############################################################            86.5%
##################################################################        92.0%
######################################################################    97.4%
######################################################################## 100.0%
Info:  Restoring the PostgreSQL database...
Info:  Restoring the systemd configuration...
Warning: yunohost.hook <lambda> - [1775.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
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: 23 seconds.
Restore the previous snapshot.
Working time: 24 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 minute, 57 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [896.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [896.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> - [896.1] Installation of N - Node.js version management
Info:  Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [896.1] 
                                                                           0.2%
###                                                                        5.3%
###########                                                               16.5%
########################                                                  33.4%
#################################                                         46.3%
#########################################                                 57.0%
################################################                          67.7%
########################################################                  78.6%
################################################################          89.6%
####################################################################      95.0%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [896.1] E: The repository 'http://forge.yunohost.org/debian stretch Release' does no longer have a Release file.
Warning: yunohost.hook <lambda> - [896.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Restoring the PostgreSQL database...
Warning: yunohost.hook <lambda> - [896.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [896.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Restoring the systemd configuration...
Warning: yunohost.hook <lambda> - [896.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
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: 29 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 7 minutes, 23 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:                  Not evaluated.
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: 37 minutes, 32 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_PR65_complete.log

Wed Jun 26 08:33:06 UTC 2019
Test finished.
Finished: SUCCESS