SuccessConsole Output

[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/piwigo_ynh PR37/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins770294366966861974.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/Official/data/piwigo/piwigo_ynh PR37.enh_2.9.5 piwigo_ynh PR37

Thu Apr 11 16:41:08 UTC 2019
Wait for work starting...
........
Thu Apr 11 16:45:08 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: 6 seconds.
Working time: 3 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.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/11]

    [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/piwigo_ynh PR37.enh_2.9.5_check

 [Loading App]


 [Misc File Checks]

! ynh_install_app_dependencies should also be in restore script 

 [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 in a sub path... [Test 2/11]
A LXC container is already running.
Working time: 1 second.
Working time: 59 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [973.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [973.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 20 seconds.
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 3 seconds.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 19 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [977.1] Removing application piwigo…
Info:Info:  Removing dependencies
Info:  Removing the MySQL database
Warning: yunohost.hook <lambda> - [977.1] Removing database piwigo
Info:  Removing app main directory
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Info:  Removing php-fpm configuration
Info:  Reload the service php7.0-fpm
Info:  Removing fail2ban configuration
Warning: yunohost.hook <lambda> - [977.1] Remove the user piwigo
Info:  Removing the dedicated system user
Info:  Removal of piwigo completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 42 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1850.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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


>> Installation on the root... [Test 3/11]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 59 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [909.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [909.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 21 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [945.1] Removing application piwigo…
Info:  Loading installation settings...
Info:  Removing dependencies
Info:  Removing the MySQL database
Warning: yunohost.hook <lambda> - [945.1] Removing database piwigo
Info:  Removing app main directory
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Info:  Removing php-fpm configuration
Info:  Reload the service php7.0-fpm
Info:  Removing fail2ban configuration
Warning: yunohost.hook <lambda> - [945.1] Remove the user piwigo
Info:  Removing the dedicated system user
Info:  Removal of piwigo completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 43 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1818.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

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


>> Upgrade from the same version... [Test 4/11]

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 11 seconds.

Upgrade...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 44 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [937.1] Now upgrading app piwigo…
Info:  Loading installation settings...
Info:  Ensuring downward compatibility...
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1063.1] Collecting files to be backuped for piwigo…
Info:  Loading installation settings...
Info:  Backing up the main app directory...
Info:  Backing up nginx web server configuration...
Info:  Backing up php-fpm configuration...
Info:  Backing up the MySQL database...
Info:  Backing up fail2ban configuration...
Warning: yunohost.hook <lambda> - [1063.1] /home/yunohost.app/piwigo/upload will not be saved, because backup_core_only is set.
Info:  Backing up data directory...
Info:  Backup script completed for piwigo. (YunoHost will then actually copy those files to the archive).
Warning: yunohost.hook <lambda> - [937.1] 2055 /home/yunohost.app/piwigo/upload will not be saved, because backup_core_only is set.
Info: yunohost.backup backup_create - [1063.1] Now creating a backup archive from the files collected…
Info:  Upgrading source files...
Info:  Upgrading nginx web server configuration...
Info:  Reload the service nginx
Info:  Upgrading dependencies...
Info:  Making sure dedicated system user exists...
Info:  Upgrading php-fpm configuration...
Info:  Reload the service php7.0-fpm
Info:  Upgrading piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Upgrading fail2ban...
Info:  Upgrading SSOwat configuration...
Info:  Reloading nginx web server...
Info:  Upgrade of piwigo completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- 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.


>> Upgrade from Take more official review comments into account... [Test 5/11]

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 40 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [207.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [919.1] Installing application piwigo…
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [919.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 8 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [3068.1] Now upgrading app piwigo…
Info:  Loading installation settings...
Info:  Ensuring downward compatibility...
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [3194.1] Collecting files to be backuped for piwigo…
Info: yunohost.backup backup_create - [3194.1] Now creating a backup archive from the files collected…
Info:  Upgrading source files...
Info:  Upgrading nginx web server configuration...
Info:  Reload the service nginx
Info:  Upgrading dependencies...
Warning: yunohost.hook <lambda> - [3068.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Making sure dedicated system user exists...
Info:  Upgrading php-fpm configuration...
Warning: yunohost.hook <lambda> - [3068.1] Packagers ! Please do not use a separate php ini file, merge your directives in the pool file instead.
Info:  Reload the service php7.0-fpm
Info:  Upgrading piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Upgrading fail2ban...
Info:  Upgrading SSOwat configuration...
Info:  Reloading nginx web server...
Info:  Upgrade of piwigo completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---

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


>> Installation in private mode... [Test 6/11]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 2 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo 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: 19 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 2 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [914.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [914.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 18 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 3 minutes, 10 seconds.


>> Installation in public mode... [Test 7/11]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 2 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 1 minute, 6 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [915.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [915.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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


>> Multi-instance installations... [Test 8/11]
First installation: path=domain.tld/path
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 1 minute, 6 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [184.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [919.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [919.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed
Second installation: path=sous.domain.tld/path
A LXC container is already running.
Working time: 2 seconds.
Working time: 40 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [5331.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo__2 completed

Try to access by url...
Test url: domain.tld/path
Real url: https://domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: domain.tld/path
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: domain.tld/path/
Real url: https://domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal


Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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


>> Malformed path... [Test 9/11]
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 1 minute, 3 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [919.1] Installing application piwigo…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [919.1] 
Extracting templates from packages: 58%
Extracting templates from packages: 100%
Info:  Creating a MySQL database...
Info:  Setting up source files...
Info:  Configuring system user...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Installing piwigo with Curl...
Info:  Configuring piwigo...
Info:  Configuring LDAP plugin...
Info:  Configuring fail2ban...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Installation of piwigo completed

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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


>> Backup/Restore... [Test 10/11]

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

Backup of the application...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 10 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [914.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [914.1] Collecting files to be backuped for piwigo…
Info:  Loading installation settings...
Info:  Backing up the main app directory...
Info:  Backing up nginx web server configuration...
Info:  Backing up php-fpm configuration...
Info:  Backing up the MySQL database...
Info:  Backing up fail2ban configuration...
Info:  Backing up data directory...
Info: yunohost.backup backup_create - [914.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 22 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2113.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2113.1] Restoring application piwigo…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Restoring the MySQL database...
Info:  Recreating the dedicated system user...
Info:  Restoring the fail2ban configuration
Info:  Restoring data directory...
Info:  Reloading nginx web server and php-fpm...
Info:  Restoration completed for piwigo

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

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

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: Restore successful. (0)
Info: yunohost.backup backup_restore - [910.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [910.1] Restoring application piwigo…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Restoring the MySQL database...
Info:  Recreating the dedicated system user...
Info:  Restoring the fail2ban configuration
Info:  Restoring data directory...
Info:  Reloading nginx web server and php-fpm...
Info:  Restoration completed for piwigo

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

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

Preliminary installation in a sub path...
Uses an existing snapshot for sub path installation.
Working time: 11 seconds.

Backup of the application...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 11 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [931.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [931.1] Collecting files to be backuped for piwigo…
Info:  Loading installation settings...
Info:  Backing up the main app directory...
Info:  Backing up nginx web server configuration...
Info:  Backing up php-fpm configuration...
Info:  Backing up the MySQL database...
Info:  Backing up fail2ban configuration...
Info:  Backing up data directory...
Info:  Backup script completed for piwigo. (YunoHost will then actually copy those files to the archive).
Info: yunohost.backup backup_create - [931.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 22 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2194.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2194.1] Restoring application piwigo…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Restoring the MySQL database...
Info:  Recreating the dedicated system user...
Info:  Restoring the fail2ban configuration
Info:  Restoring data directory...
Info:  Reloading nginx web server and php-fpm...
Info:  Restoration completed for piwigo

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 24 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [921.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [921.1] Restoring application piwigo…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Restoring the MySQL database...
Info:  Recreating the dedicated system user...
Info:  Restoring the fail2ban configuration
Info:  Restoring data directory...
Info:  Reloading nginx web server and php-fpm...
Info:  Restoration completed for piwigo

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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


>> Change URL... [Test 11/11]

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 10 seconds.
Change the url from sous.domain.tld/ to sous.domain.tld/path...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Change_url script successful. (0)
Info:  Loading installation settings...
Info:  Updating nginx web server configuration...
Info:  Reload the service nginx
Info:  Reloading nginx web server...
Info:  Change of url completed for piwigo

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path/
Real url: https://sous.domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 7 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 7 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [188.1] Unable to execute command 'systemctl reload fail2ban'
Info:  Loading installation settings...
Info:  Updating nginx web server configuration...
Info:  Reload the service nginx
Info:  Reloading nginx web server...
Info:  Change of url completed for piwigo

Try to access by url...
Test url: sous.domain.tld/path_2
Real url: https://sous.domain.tld/path_2/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: sous.domain.tld/path_2
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: sous.domain.tld/path_2/
Real url: https://sous.domain.tld/path_2/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 5 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Change_url script successful. (0)
Info:  Loading installation settings...
Info:  Updating nginx web server configuration...
Info:  Reload the service nginx
Info:  Reloading nginx web server...

Try to access by url...
Test url: sous.domain.tld
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: https://sous.domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 7 seconds.
Change the url from sous.domain.tld/ to domain.tld/path...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 7 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [201.1] Unable to execute command 'systemctl reload fail2ban'
Info:  Loading installation settings...
Info:  Updating nginx web server configuration...
Info:  Reload the service nginx
Info:  Reloading nginx web server...
Info:  Change of url completed for piwigo

Try to access by url...
Test url: domain.tld/path
Real url: https://domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: domain.tld/path
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: domain.tld/path/
Real url: https://domain.tld/path/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 7 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 seconds.
Change_url script successful. (0)
Info:  Loading installation settings...
Info:  Updating nginx web server configuration...
Info:  Reload the service nginx
Info:  Reloading nginx web server...
Info:  Change of url completed for piwigo

Try to access by url...
Test url: domain.tld/path_2
Real url: https://domain.tld/path_2/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource moved: domain.tld/path_2
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

Test url: domain.tld/path_2/
Real url: https://domain.tld/path_2/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource ignored: domain.tld/robots.txt
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 5 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 7 seconds.
Change_url script successful. (0)
Info:  Loading installation settings...
Info:  Updating nginx web server configuration...
Info:  Reload the service nginx
Info:  Reloading nginx web server...
Info:  Change of url completed for piwigo

Try to access by url...
Test url: domain.tld
Real url: https://domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/ynh_portal.js
Resource unreachable (Code 404) domain.tld/ynh_overlay.css
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_overlay.css

Test url: domain.tld/
Real url: https://domain.tld/
HTTP code: 200
Title of the page: Piwigo, Bienvenue
Extract of the page:
   Bienvenue sur votre galerie photo Piwigo !
   Nom d'utilisateur
   ____________________
   Mot de passe
   ____________________

   Connexion
   [1]... ou naviguez sur votre galerie vide

References

   1. file:///home/CI_package_check/package_check/url_output?no_photo_yet=browse

Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/ynh_portal.js
Resource unreachable (Code 404) domain.tld/ynh_overlay.css
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_overlay.css

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



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
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:                      SUCCESS
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: 29 minutes, 46 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_Official_data_piwigo_piwigo_ynh_PR37.enh_2.9.5_complete.log

Thu Apr 11 17:15:11 UTC 2019
Test finished.
Finished: SUCCESS