SuccessConsole Output

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

Sun Jul 28 13:51:11 UTC 2019
Wait for work starting...
........
Sun Jul 28 13:55:11 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: 4 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: .
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.6.4.3
yunohost-admin: 
  repo: stable
  version: 3.6.4
moulinette: 
  repo: stable
  version: 3.6.4
ssowat: 
  repo: stable
  version: 3.6.4
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 PR74_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, 4 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [957.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [957.1] 
###                                                                        4.4%
#############                                                             18.5%
########################                                                  33.7%
#################################                                         47.1%
#############################################                             62.5%
########################################################                  78.0%
###############################################################           88.5%
###################################################################       93.9%
#######################################################################   99.4%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [957.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [957.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [957.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Configuring system user ...
Info:  Creating LDAP user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [957.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Warning: yunohost.hook <lambda> - [957.1] Please wait, the service wikijs is starting..
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
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:




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




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

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 17 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1007.1] Removing application wikijs…
Info:  Loading installation settings...
Info:  Removing wikijs service...
Warning: yunohost.hook <lambda> - [1007.1] Removed /etc/systemd/system/multi-user.target.wants/wikijs.service.
Info:  Stopping and removing the systemd service...
Info:  Removing the PostgreSQL database...
Warning: yunohost.hook <lambda> - [1007.1] FATAL:  terminating connection due to administrator command
Warning: yunohost.hook <lambda> - [1007.1] server closed the connection unexpectedly
Warning: yunohost.hook <lambda> - [1007.1] 	This probably means the server terminated abnormally
Warning: yunohost.hook <lambda> - [1007.1] 	before or while processing the request.
Warning: yunohost.hook <lambda> - [1007.1] connection to server was lost
Info:  Removing dependencies...
Info:  /usr/local/n wasn't deleted because it doesn't exist.
Info:  Removing app main directory...
Info:  Removing nginx web server configuration...
Info:  Removing ldap user...
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, 26 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1569.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [1569.1] 
                                                                           0.0%
                                                                           0.3%
                                                                           1.1%
##                                                                         3.6%
####                                                                       6.8%
####                                                                       6.8%
#####                                                                      7.1%
#####                                                                      7.6%
######                                                                     8.5%
#######                                                                   11.1%
###########                                                               15.5%
###############                                                           21.5%
####################                                                      28.1%
#########################                                                 35.6%
###############################                                           43.7%
#####################################                                     52.2%
###########################################                               60.8%
##################################################                        69.7%
#########################################################                 79.9%
################################################################          89.1%
###################################################################       94.2%
######################################################################## 100.0%
Info:  Creating a PostgreSQL database...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Configuring system user ...
Info:  Creating LDAP user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [1569.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Warning: yunohost.hook <lambda> - [1569.1] Please wait, the service wikijs is starting..
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
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:




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




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


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

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

Upgrade...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 44 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [961.1] Now upgrading app wikijs…
Info:  Loading installation settings...
Info:  Upgrade forced for package check.
Info:  Ensuring downward compatibility...
Info:  /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [961.1] [WARN] 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 - [1190.1] Collecting files to be backuped for wikijs…
Info:  Loading installation settings...
Info:  Stopping a systemd service...
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 - [1190.1] Now creating a backup archive from the files collected…
Info:  Stopping a systemd service...
Info:  Upgrading source files...
Info:  Upgrading nginx web server configuration...
Info:  Upgrading dependencies...
Info:  Installation of N - Node.js version management
Info:  Making sure dedicated system user exists...
Info:  Upgrading systemd configuration...
Info:  Upgrading SSOwat configuration...
Info:  Starting a systemd service...
Info:  Reloading nginx web server...
Info:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
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:




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




--- SUCCESS ---

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


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

Preliminary install...
fatal: reference is not a tree: ad5db1af11dfa2502ab0f214ec8e929e1eecbec8
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 43 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...
Info:  Installing dependencies...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [913.1] 
                                                                           0.0%
                                                                           0.8%
#                                                                          2.3%
###                                                                        5.2%
#########                                                                 13.2%
####################                                                      28.5%
###############################                                           43.7%
########################################                                  56.3%
####################################################                      72.6%
#######################################################                   77.7%
###############################################################           88.3%
######################################################################    97.9%
######################################################################## 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:  Configuring system user ...
Info:  Creating LDAP 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.
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:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
Info:  Installation of wikijs completed

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 54 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [5649.1] Now upgrading app wikijs…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [5649.1] [WARN] Avoid deleting /var/log/wikijs/.
Info:  Upgrade forced for package check.
Info:  Ensuring downward compatibility...
Info:  /etc/apt/sources.list.d/yarn.list wasn't deleted because it doesn't exist.
Error: :  role "wikijs" already exists
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [5879.1] Collecting files to be backuped for wikijs…
Info:  Loading installation settings...
Info:  Stopping a systemd service...
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 - [5879.1] Now creating a backup archive from the files collected…
Info:  Stopping a systemd service...
Info:  Upgrading source files...
Info:  Upgrading nginx web server configuration...
Info:  Upgrading dependencies...
Info:  Installation of N - Node.js version management
Info:  Making sure dedicated system user exists...
Info:  Upgrading systemd configuration...
Info:  Upgrading SSOwat configuration...
Info:  Starting a systemd service...
Info:  Reloading nginx web server...
Info:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
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:




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




--- SUCCESS ---

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


>> Installation in private mode... [Test 5/8]
Start the LXC containerStart the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 38 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [186.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [906.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [906.1] 
#                                                                          2.1%
#######                                                                   11.1%
#####################                                                     29.9%
#####################################                                     51.8%
#################################################                         68.2%
########################################################                  79.2%
############################################################              84.6%
################################################################          90.1%
####################################################################      95.6%
######################################################################## 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:  Configuring system user ...
Info:  Creating LDAP 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.
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:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
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: 16 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 3 minutes, 5 seconds.


>> Installation in public mode... [Test 6/8]
Start the LXC container.
Create witness files...
Working time: 7 seconds.
Working time: 2 minutes, 17 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...
Info:  Installing dependencies...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [902.1] 
                                                                           0.0%
                                                                           0.8%
#                                                                          2.1%
###                                                                        5.2%
#########                                                                 13.0%
################                                                          23.6%
########################                                                  34.0%
###############################                                           44.1%
#####################################                                     52.6%
#####################################                                     52.6%
######################################                                    53.0%
#######################################                                   54.2%
########################################                                  55.9%
###########################################                               60.0%
##############################################                            64.1%
#################################################                         68.4%
####################################################                      72.7%
#########################################################                 79.8%
################################################################          89.4%
####################################################################      94.6%
#######################################################################   99.2%
######################################################################## 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:  Configuring system user ...
Info:  Creating LDAP 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.
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:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
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:




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




--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 2 minutes, 49 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: 2 minutes, 45 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [910.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [910.1] 
                                                                           0.0%
                                                                           1.0%
#                                                                          2.0%
##                                                                         3.0%
###                                                                        4.2%
###                                                                        5.4%
####                                                                       6.5%
#####                                                                      7.7%
######                                                                     9.2%
#######                                                                   10.9%
#########                                                                 13.1%
###########                                                               16.2%
##############                                                            19.7%
################                                                          23.5%
####################                                                      28.2%
########################                                                  33.7%
############################                                              40.1%
##################################                                        48.5%
############################################                              61.6%
#######################################################                   77.6%
###########################################################               82.5%
##############################################################            87.2%
##################################################################        92.5%
######################################################################    97.5%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [910.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [910.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [910.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Configuring system user ...
Info:  Creating LDAP user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Warning: yunohost.hook <lambda> - [910.1] Please wait, the service wikijs is starting..
Info:  The service wikijs has correctly started.
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
Second installation: path=sous.domain.tld/
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 36 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [5651.1] Installing application wikijs…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Configuring firewall...
Info:  Installing dependencies...
Info:  Installation of N - Node.js version management
Info:  Creating a PostgreSQL database...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Configuring system user ...
Info:  Creating LDAP user...
Info:  Configuring a systemd service...
Warning: yunohost.hook <lambda> - [5651.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs__2.service → /etc/systemd/system/wikijs__2.service.
Warning: yunohost.hook <lambda> - [5651.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:  Sending ReadMe to admin...
Error: moulinette.core translate - unable to retrieve key 'service_description_postgresql' for default locale 'en'
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:




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





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:




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




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


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

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

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 1 minute, 19 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [962.1] Collecting files to be backuped for wikijs…
Info:  Loading installation settings...
Info:  Stopping a systemd service...
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 - [962.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 47 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [1888.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [1888.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...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [1888.1] 
                                                                           0.0%
#                                                                          1.7%
###                                                                        4.9%
############                                                              17.5%
######################                                                    31.3%
#################################                                         46.1%
###########################################                               59.8%
##################################################                        70.2%
#########################################################                 80.4%
#############################################################             85.7%
#################################################################         91.2%
#####################################################################     96.3%
######################################################################## 100.0%
Info:  Restoring the PostgreSQL database...
Warning: yunohost.hook <lambda> - [1888.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:  Creating LDAP user...
Info:  Reloading nginx web server...
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:




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




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

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 2 minutes, 9 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [902.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [902.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...
Info:  Installation of N - Node.js version management
Warning: yunohost.hook <lambda> - [902.1] 
#####                                                                      7.7%
#############                                                             18.7%
#############################                                             40.6%
#########################################                                 57.0%
####################################################                      73.4%
########################################################                  78.9%
############################################################              84.3%
################################################################          89.9%
####################################################################      95.3%
######################################################################## 100.0%
Warning: yunohost.hook <lambda> - [902.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Restoring the 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:  Restoring the systemd configuration...
Warning: yunohost.hook <lambda> - [902.1] Created symlink /etc/systemd/system/multi-user.target.wants/wikijs.service → /etc/systemd/system/wikijs.service.
Info:  Starting a systemd service...
Info:  Creating LDAP user...
Info:  Reloading nginx web server...
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:




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




--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 7 minutes, 27 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: 35 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_PR74_complete.log

Sun Jul 28 14:31:04 UTC 2019
Test finished.
Finished: SUCCESS