SuccessConsole Output

Started from command line by ynhci
[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/z-push_ynh_PR34 (yalh76)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins5261136018474980062.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/yalh76/data/z-push_ynh_PR34 z-push_ynh_PR34 (yalh76)

Mon Apr 15 02:09:06 UTC 2019
Wait for work starting...
..
Mon Apr 15 02:10:06 UTC 2019
Package check currently test the package
Start a test
Loads functions from launcher.sh
Loads functions from testing_process.sh
Loads functions from log_extractor.sh
Restore the previous snapshot.
Working time: 5 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: 11 seconds.
Working time: .
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.1
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_PR34_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.
Working time: 2 seconds.
Working time: 37 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1005.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:  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: 18 seconds.
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 3 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 15 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [971.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: 2 seconds.
Working time: 34 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2538.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:  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 ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 2 minutes, 32 seconds.


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

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

Upgrade...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 26 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [913.1] Now upgrading app z-push…
Info:  Loading installation settings...
Info:  Ensuring downward compatibility...
Info:  /home/yunohost.app/z-push exists, we don't create it.
Info:  /var/log/z-push exists, we don't create it.
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1007.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 - [1007.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: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:  Upgrade of z-push completed

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
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: 16 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 14 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: 6 seconds.
Working time: 39 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [895.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:  Installation of z-push completed

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 24 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [4039.1] Now upgrading app z-push…
Info:  Loading installation settings...
Info:  Ensuring downward compatibility...
Info:  /home/yunohost.app/z-push exists, we don't create it.
Info:  /var/log/z-push exists, we don't create it.
Info:  Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [4131.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 - [4131.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:  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: 15 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: 3 minutes, 21 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: 6 seconds.
Working time: 38 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [190.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [918.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:  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: 14 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 1 minute, 6 seconds.


>> Multi-instance installations... [Test 6/7]
First installation: path=domain.tld/Microsoft-Server-ActiveSync
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 38 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [190.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [907.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...
Second installation: path=sous.domain.tld/Microsoft-Server-ActiveSync
A LXC container is already running.
Working time: 1 second.
Working time: 25 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [4052.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:  Installation of z-push__2 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: 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: 15 seconds.
Working time for this test: 1 minute, 43 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: 7 seconds.

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 5 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [911.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [911.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 - [911.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 26 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2822.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2822.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:  Restoration completed for z-push

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

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 32 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [923.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [923.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...

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: 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: 12 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 2 minutes, 42 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, 43 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_PR34_complete.log

Mon Apr 15 02:22:07 UTC 2019
Test finished.
Finished: SUCCESS