SuccessConsole Output

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

Sat Jun 15 05:24:07 UTC 2019
Wait for work starting...
..
Sat Jun 15 05:25:07 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: 6 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: 5 seconds.
Working time: 3 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.2
yunohost-admin: 
  repo: stable
  version: 3.5.2
moulinette: 
  repo: stable
  version: 3.5.2
ssowat: 
  repo: stable
  version: 3.5.2.1
Connection to 10.1.4.2 closed.


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

    [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/z-push_ynh_PR41_check

 [Loading App]


 [Misc File Checks]

! The nginx configuration appears vulnerable to path traversal as explained in https://www.acunetix.com/vulnerabilities/web/path-traversal-via-misconfigured-nginx-alias/
To fix it, look at the first lines of the nginx conf of the example app : https://github.com/YunoHost/example_ynh/blob/master/conf/nginx.conf 

 [Sources Management]


 [Manifest]


 [Install Script]


 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/7]
A LXC container is already running.A LXC container is already running.
Working time: 2 seconds.
Working time: 34 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [962.1] Installing application z-push…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Creating statedir and final_logpath...
Info:  Configuring log rotation...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of z-push completed

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 38 seconds.
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 1 second.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 14 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [959.1] Removing application z-push…
Info:  Loading installation settings...
Info:  Removing dependencies...
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 logrotate configuration...
Info:  Removal of z-push completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 29 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2533.1] Installing application z-push…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Creating statedir and final_logpath...
Info:  Configuring log rotation...
Info:  Configuring SSOwat...
Info:Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of z-push completed

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

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


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

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

Upgrade...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 24 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [923.1] Now upgrading app z-push…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [923.1] Upgrade forced for package check.
Info:  Ensuring downward compatibility...
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1071.1] Collecting files to be backuped for z-push…
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 logrotate configuration...
Info: yunohost.backup backup_create - [1071.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 logrotate configuration...
Info:  Upgrading SSOwat configuration...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Upgrade of z-push completed

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

--- SUCCESS ---

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


>> Upgrade from the commit bdac42b709cd2bc663a68422f69ac6bfd43a1ce5... [Test 4/7]

Preliminary install...
fatal: reference is not a tree: bdac42b709cd2bc663a68422f69ac6bfd43a1ce5
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 34 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [913.1] Installing application z-push…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Creating statedir and final_logpath...
Info:  Configuring log rotation...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of z-push completed

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 23 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [4112.1] Now upgrading app z-push…
Info:  Loading installation settings...
Warning: yunohost.hook <lambda> - [4112.1] Upgrade forced for package check.
Info:  Ensuring downward compatibility...
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [4258.1] Collecting files to be backuped for z-push…
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 logrotate configuration...
Info: yunohost.backup backup_create - [4258.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 logrotate configuration...
Info:  Upgrading SSOwat configuration...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:Info:  Upgrade of z-push completed

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 14 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 3 minutes, 11 seconds.


>> Installation in public mode... [Test 5/7]
Root install failed, impossible to perform this test...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 34 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [902.1] Installing application z-push…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Creating statedir and final_logpath...
Info:  Configuring log rotation...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of z-push completed

Try to access by url...
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

--- SUCCESS ---
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: 1 minute, 3 seconds.


>> Multi-instance installations... [Test 6/7]
First installation: path=domain.tld/Microsoft-Server-ActiveSync
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 37 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [919.1] Installing application z-push…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Creating statedir and final_logpath...
Info:  Configuring log rotation...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of z-push completed
Second installation: path=sous.domain.tld/Microsoft-Server-ActiveSync
A LXC container is already running.
Working time: 2 seconds.
Working time: 22 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [4108.1] Installing application z-push…
Info:  Validating installation parameters...
Info:  Storing installation settings...
Info:  Installing dependencies...
Info:  Setting up source files...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Creating statedir and final_logpath...
Info:  Configuring log rotation...
Info:  Configuring SSOwat...
Info:  Reloading nginx web server...
Info:  Reload the service nginx
Info:  Installation of z-push__2 completed

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: domain.tld/Microsoft-Server-ActiveSync
Real url: https://domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) domain.tld/Microsoft-Server-ActiveSync

Test url: domain.tld/Microsoft-Server-ActiveSync/
Real url: https://domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) domain.tld/Microsoft-Server-ActiveSync/


Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

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


>> Backup/Restore... [Test 7/7]
Root install failed, impossible to perform this test...

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

Backup of the application...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [918.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [918.1] Collecting files to be backuped for z-push…
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 logrotate configuration...
Info:  Backup script completed for z-push. (YunoHost will then actually copy those files to the archive).
Info: yunohost.backup backup_create - [918.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 23 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2837.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2837.1] Restoring application z-push…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Recreating the dedicated system user...
Info:  Reinstalling dependencies...
Info:  Reloading nginx web server and php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Reload the service nginx
Info:  Restoration completed for z-push

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

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

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 28 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [913.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [913.1] Restoring application z-push…
Info:  Loading settings...
Info:  Validating restoration parameters...
Info:  Restoring the app main directory...
Info:  Recreating the dedicated system user...
Info:  Reinstalling dependencies...
Info:  Reloading nginx web server and php-fpm...
Info:  Reload the service php7.0-fpm
Info:  Reload the service nginx

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/Microsoft-Server-ActiveSync
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync

Test url: sous.domain.tld/Microsoft-Server-ActiveSync/
Real url: https://sous.domain.tld/Microsoft-Server-ActiveSync/
HTTP code: 401
Title of the page: Z-Push ActiveSync
Extract of the page:
Z-Push - Open Source ActiveSync

   Version GIT

  AuthenticationRequiredException

Access denied. Please send authorisation information

   More information about Z-Push can be found at:
   [1]Z-Push homepage
   [2]Z-Push download page
   [3]Z-Push Bugtracker
   [4]Z-Push Wiki and [5]Roadmap
   All modifications to this sourcecode must be published and returned to
   the community.
   Please see [6]AGPLv3 License for details.

References

   1. http://z-push.org/

Resource unreachable (Code 401) sous.domain.tld/Microsoft-Server-ActiveSync/

--- SUCCESS ---
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: 2 minutes, 32 seconds.



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
Installation on the root:        Not evaluated.
Deleting from root:              Not evaluated.
Upgrade:                         SUCCESS
Installation in private mode:    Not evaluated.
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: 11 minutes, 20 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_z-push_ynh_PR41_complete.log

Sat Jun 15 05:37:08 UTC 2019
Test finished.
Finished: SUCCESS