SuccessConsole Output

[FSTrigger] Triggered by a change to a folder (log)
Building in workspace /var/lib/jenkins/jobs/synapse_ynh fix_python_venv (Official)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins5777700932445865373.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/Official/data/synapse/synapse_ynh fix_python_venv synapse_ynh fix_python_venv (Official)

Mon Mar 18 16:33:08 UTC 2019
Wait for work starting...
....
Mon Mar 18 16:35: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: 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: General

>> 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.4.2.4
yunohost-admin: 
  repo: stable
  version: 3.4.2
moulinette: 
  repo: stable
  version: 3.4.2
ssowat: 
  repo: stable
  version: 3.4.2
Connection to 10.1.4.2 closed.


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

    [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/synapse_ynh fix_python_venv_check

 [Loading App]

! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/install : Could not parse this line (No closing quotation) : message="If your server name is identical to the domain on which synapse is installed, and the default port 8448 is used, your server is normally already accessible by the federation. 
! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/install : Could not parse this line (No closing quotation) : You also need to open the TCP port $synapse_tls_port on your ISP box if it's not automatically done. 
! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/install : Could not parse this line (No closing quotation) : If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/synapse_ynh 
! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/restore : Could not parse this line (No closing quotation) : ynh_psql_execute_as_root "CREATE DATABASE $synapse_db_name 
! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/restore : Could not parse this line (No closing quotation) : OWNER $synapse_db_user;" 
! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/restore : Could not parse this line (No closing quotation) : message="To federate this app you need to add this line in your DNS configuration: 
! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/restore : Could not parse this line (No closing quotation) : You also need to open the TCP port $synapse_tls_port on your ISP box if it's not automatically done. 
! /home/CI_package_check/dev_CI/../package_check/synapse_ynh fix_python_venv_check/scripts/restore : Could not parse this line (No closing quotation) : If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/synapse_ynh" 

 [Misc File Checks]


 [Sources Management]


 [Manifest]

! Consider adding an 'help' key for argument 'is_public' to explain to the user what it means for *this* app to be public or private :
    "help": {
       "en": "Some explanation"
    } 
! YunoHost version requirement is still 2.x ... Good job if it does still work on Jessie !... But are you really sure about that ;) ? be careful that many new helpers you might already be playing with are only available on 3.x... 

 [Install Script]

! Please add a few messages for the user, to explain what is going on (in friendly, not-too-technical terms) during the installation. You can use 'ynh_print_info' or 'ynh_script_progression' for this. 

 [Remove Script]


 [Upgrade Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 

 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/9]
A LXC container is already running.
Working time: 1 second.
Working time: 4 minutes, 33 seconds.
Installation successful. (0)
Warning: yunohost.firewall firewall_reload - [1475.1] Some firewall rules commands have failed. For more information, see the log.
Warning: yunohost.hook <lambda> - [991.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [991.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [991.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [991.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [991.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [991.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [991.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:310: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [991.1]   config = yaml.load(config_str)
Warning: yunohost.hook <lambda> - [991.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [991.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [991.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [991.1] .tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [991.1] ..tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [991.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, .
Deleting successful. (0)
Warning: yunohost.hook <lambda> - [1170.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [1170.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [1349.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [1349.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [1170.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [1170.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [1170.1] could not change directory to "/tmp/yunohost_remove/scripts": Permission denied
Warning: yunohost.hook <lambda> - [1170.1] could not change directory to "/tmp/yunohost_remove/scripts": Permission denied
Warning: yunohost.hook <lambda> - [1170.1] Remove the user matrix-synapse
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 41 seconds.
Installation successful. (0)
Warning: yunohost.firewall firewall_reload - [4087.1] Some firewall rules commands have failed. For more information, see the log.
Warning: yunohost.hook <lambda> - [3603.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [3603.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [3603.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [3603.1] Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [3603.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:310: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [3603.1]   config = yaml.load(config_str)
Warning: yunohost.hook <lambda> - [3603.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [3603.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [3603.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [3603.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [3603.1] ...tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [3603.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


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


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

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

Upgrade...
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 1 minute, 52 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [1015.1] Upgrading apps synapse
Info: yunohost.app app_upgrade - [1015.1] Upgrading app synapse…
Warning: yunohost.hook <lambda> - [1165.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [1015.1] 2230 /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [1165.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [1015.1] 2346 could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [1015.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [1015.1] ....The service matrix-synapse has correctly started.

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


--- SUCCESS ---

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


>> Upgrade from Fix postgresql helper from old_version_for_CI_2 branch... [Test 4/9]

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 6 minutes, 43 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [923.1] Generating DH parameters, 2048 bit long safe prime, generator 2
Warning: yunohost.hook <lambda> - [923.1] This is going to take a long time
Warning: yunohost.hook <lambda> - [923.1] .................................................................................................................................+.......................................................+....................................+..................+......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+....................................................................+...+...............................................................................+.................................................................................................................................................................................................................................................................................+...........................................................................................+............................................................................................+.................................................................................................................+.....................................................................................................................................................+....................................+.................+....................+..............................................................................................................................................................+...........................................................................................+.................................................................+.................+..............................................................+................................................+..................................................................................................................................................+.......................................................................................................................+.......+................................+.......................................................................+......................................................................................................................................................................................................................................................................................................................................................+.........................................................+......................................................................+.....................................................................................................................................................................................................+.....................................+...............+...................................................................................................+..................................................+.............................................................................................................................................+..........................................................................................................................................................................................................................................+.......................................................................................................................................................+..........+..........................................................+.........................................................................................................................+................................................+........................................................................................................................................................+.......................................+...+..........................................................................................................................................................+...............................................................................................................................................................................................+.........................................+.....................................................................................................................................+..........................................+....................................................................................................................+......................................................................................................................................................+...................................+......................+.........+.........................................................................+......................................................................................................................+............+.............++*++*++*++*
Warning: yunohost.hook <lambda> - [923.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [923.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [923.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [923.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [923.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [923.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [923.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [923.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [923.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [923.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [923.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [923.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [923.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [923.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 4 minutes, 45 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [20079.1] Upgrading apps synapse
Info: yunohost.app app_upgrade - [20079.1] Upgrading app synapse…
Warning: yunohost.hook <lambda> - [20214.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [20079.1] 1350 /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [20214.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [20079.1] 1582 could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [20079.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [20079.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [20079.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [20079.1] Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20079.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:310: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [20079.1]   config = yaml.load(config_str)
Warning: yunohost.hook <lambda> - [20079.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [20079.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [20079.1] ....The service matrix-synapse has correctly started.

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


--- SUCCESS ---

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


>> Upgrade from Migrate from self signed certificate to cert managed by Yunohost... [Test 5/9]

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 minutes, 8 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [922.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [922.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [922.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [922.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [922.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [922.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [922.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:169: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [922.1]   config = yaml.load(default_config)
Warning: yunohost.hook <lambda> - [922.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [922.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [922.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [922.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [922.1] ...tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [922.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Upgrade...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 minutes, 18 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [8639.1] Upgrading apps synapse
Info: yunohost.app app_upgrade - [8639.1] Upgrading app synapse…
Warning: yunohost.hook <lambda> - [8763.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [8639.1] 2103 /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [8763.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [8639.1] 2228 could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [8639.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [8639.1] ....The service matrix-synapse has correctly started.

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 58 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 25 minutes, 38 seconds.


>> Installation in public mode... [Test 6/9]
Root install failed, impossible to perform this test...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 4 minutes, 6 seconds.
Installation successful. (0)
Warning: yunohost.firewall firewall_reload - [1208.1] Some firewall rules commands have failed. For more information, see the log.
Warning: yunohost.hook <lambda> - [930.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [930.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [930.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [930.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [930.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [930.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [930.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:310: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [930.1]   config = yaml.load(config_str)
Warning: yunohost.hook <lambda> - [930.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [930.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [930.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [930.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [930.1] ...tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [930.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


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


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld/_matrix/static/
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 4 minutes, 15 seconds.
Installation successful. (0)
Warning: yunohost.firewall firewall_reload - [1414.1] Some firewall rules commands have failed. For more information, see the log.
Warning: yunohost.hook <lambda> - [930.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [930.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [930.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [930.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [930.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [930.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [930.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:310: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [930.1]   config = yaml.load(config_str)
Warning: yunohost.hook <lambda> - [930.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [930.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [930.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [930.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [930.1] ...tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [930.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'
Second installation: path=sous.domain.tld/_matrix/static/
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 22 seconds.
Installation successful. (0)
Warning: yunohost.firewall firewall_allow - [9068.1] Port 5350 is already opened for IPv4 connections
Warning: yunohost.firewall firewall_allow - [9068.1] Port 5350 is already opened for IPv6 connections
Warning: yunohost.firewall firewall_allow - [9068.1] Port 5350 is already opened for IPv4 connections
Warning: yunohost.firewall firewall_allow - [9068.1] Port 5350 is already opened for IPv6 connections
Warning: yunohost.hook <lambda> - [8757.1] Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [8757.1] /opt/yunohost/matrix-synapse__2/lib/python3.5/site-packages/synapse/config/_base.py:310: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [8757.1]   config = yaml.load(config_str)
Warning: yunohost.hook <lambda> - [8757.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse__2.service → /etc/systemd/system/matrix-synapse__2.service.
Warning: yunohost.hook <lambda> - [8757.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse__2.service → /etc/systemd/system/coturn-synapse__2.service.
Warning: yunohost.hook <lambda> - [8757.1] Starting of matrix-synapse__2
Warning: yunohost.hook <lambda> - [8757.1] tail: cannot open '/var/log/matrix-synapse__2/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [8757.1] ...tail: '/var/log/matrix-synapse__2/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [8757.1] ....The service matrix-synapse__2 has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse__2' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse__2' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Try to access by url...
Test url: domain.tld/_matrix/static
Real url: http://domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) domain.tld/_matrix/static
Ressource ignored: domain.tld/robots.txt

Test url: domain.tld/_matrix/static/
Real url: http://domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/



Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


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


>> Port already used... [Test 8/9]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 second.
A LXC container is already running.
Working time: 2 seconds.
Working time: 4 minutes, 44 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [950.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [950.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [950.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [950.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [950.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [950.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [950.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:310: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [950.1]   config = yaml.load(config_str)
Warning: yunohost.hook <lambda> - [950.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [950.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [950.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [950.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [950.1] ...tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [950.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


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


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

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

Backup of the application...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 53 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [1019.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Warning: yunohost.hook <lambda> - [1019.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 53 seconds.
Restore successful. (0)
Warning: yunohost.hook <lambda> - [3740.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [3740.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [3740.1] debconf: falling back to frontend: Readline
Warning: yunohost.firewall firewall_reload - [6436.1] Some firewall rules commands have failed. For more information, see the log.
Warning: yunohost.firewall firewall_reload - [6653.1] Some firewall rules commands have failed. For more information, see the log.
Warning: yunohost.hook <lambda> - [3740.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [3740.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [3740.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [3740.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [3740.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [3740.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


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

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 6 minutes, 40 seconds.
Restore successful. (0)
Warning: yunohost.hook <lambda> - [923.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [923.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [923.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [923.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [923.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [923.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [923.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [923.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [923.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [923.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [923.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [923.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [923.1] ....The service matrix-synapse has correctly started.
Error: moulinette.core translate - unable to retrieve key 'service_description_coturn-synapse' for default locale 'en'
Error: moulinette.core translate - unable to retrieve key 'service_description_matrix-synapse' for default locale 'en'

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/

Resource unreachable (Code 302) sous.domain.tld/_matrix/static
Ressource ignored: sous.domain.tld/robots.txt

Test url: sous.domain.tld/_matrix/static/
Real url: http://sous.domain.tld/_matrix/static/
HTTP code: 200
Title of the page: Synapse is running
Extract of the page:
                          It works! Synapse is running

   Your Synapse server is listening on this port and is ready for
   messages.

   To use this server you'll need [1]a Matrix client.

   Welcome to the Matrix universe :)
     __________________________________________________________________

   [2]matrix.org

References

   1. https://matrix.org/docs/projects/try-matrix-now.html#clients
   2. https://matrix.org/


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 12 minutes, 2 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:               SUCCESS
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: 1 hour, 4 minutes, 24 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_synapse_synapse_ynh_fix_python_venv_complete.log

Mon Mar 18 17:41:03 UTC 2019
Test finished.
Finished: SUCCESS