FailedConsole Output

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

Sat Aug  4 00:37:15 UTC 2018
Wait for work starting...
......
Sat Aug  4 00:40:15 UTC 2018
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: 3 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
Sending network state change signal to nslcd...done.
Activate iptables rules.
Parsing of check_process file

Tests serie: General


>> Package linter... [Test 1/8]
YUNOHOST APP PACKAGE LINTER
  App packaging documentation: https://yunohost.org/#/packaging_apps
 App package example: https://github.com/YunoHost/example_ynh
 Checking /home/CI_package_check/dev_CI/../package_check/synapse_ynh_check package

>>>> MISSING FILES <<<<

>>>> SOURCES MANAGEMENT <<<<

>>>> MANIFEST <<<<

>>>> INSTALL SCRIPT <<<<

>>>> REMOVE SCRIPT <<<<

>>>> UPGRADE SCRIPT <<<<

>>>> BACKUP SCRIPT <<<<

>>>> RESTORE SCRIPT <<<<

>>>> PSQL.SH SCRIPT <<<<

>>>> EXPERIMENTAL_HELPER.SH SCRIPT <<<<
--- SUCCESS ---


>> Installation in a sub path... [Test 2/8]
Start the LXC container.....Start the LXC container.....
Create witness files...
Working time: 8 minutes, 24 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [2029.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [2029.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [2029.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [2029.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [2029.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [2029.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [2029.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [2029.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [2029.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [2029.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [2029.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [2029.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [2029.1] 2018-08-04 00:45:17 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818] -> "synapse_source.tar.gz" [1]
Warning: yunohost.hook <lambda> - [2029.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [2029.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [2029.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [2029.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [2029.1] ....tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [2029.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/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

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

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

Reinstall the application after a removing.
A LXC container is already running.
Working time: 4 minutes, 23 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [8166.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [8166.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [8166.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [8166.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [8166.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [8166.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [8166.1] 2018-08-04 00:53:54 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818/997818] -> "synapse_source.tar.gz" [1]
Warning: yunohost.hook <lambda> - [8166.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [8166.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [8166.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [8166.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [8166.1] ....tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [8166.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/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

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


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

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

Upgrade...
Start the LXC containerStart the LXC container......Start the LXC container......
Create witness files...
Working time: 7 minutes, 56 seconds.
Upgrade successful. (0)
Warning: yunohost.hook <lambda> - [2164.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [2036.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [2164.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [2036.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [2036.1] 2018-08-04 00:58:55 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818/997818] -> "synapse_source.tar.gz" [1]
Warning: yunohost.hook <lambda> - [2036.1] cp: cannot stat '/etc/yunohost/certs/sous.domain.tld/dh.pem': No such file or directory
Warning: yunohost.hook <lambda> - [2036.1] Generating DH parameters, 2048 bit long safe prime, generator 2
Warning: yunohost.hook <lambda> - [2036.1] This is going to take a long time
Warning: yunohost.hook <lambda> - [2036.1] ..............+.............................................................+.................................................+...................................................................................................................................................................................................................................................................+..........................+.+............................................................................................................................+...............+...........................+..................................................................................................................................................................................................................................................................................+......................+...............+....................................................................................................................................................................................................+.......................................................................................................................................................................................................................+....................................+.................................................................................................+........+........................................................................................................................................................................................+.....................................................................................................................................+...........................................................................................................................................................................................+.......................+.........................................................................................................................................................................+.....................................................................................................................................................................................................................................+.+......................................................................................................................................................................................+...............................................................................................+...........................................................................................................................+.................+....+.............................................................+........................+........+.....................................................................................................................................................................+..........................................................+...+.............................................................................+...................................+.................................................................................................................................................................................................................+........+.........................................................................................+.......................................................................................................................................................................................................+.............................................................................+...............+...................................................................................................................................................................................................................+.............................................................................+.............................................................................+.........................................................................................+...........+............................+.....................................................+...................................................................................................................................................................................................................................................................................................................................+................+..+.......................................................................+....................+.....+.....................................................+................+............................................................................................................................................................................................................................................................................................................................................................................................+............................+.................+........................................................+...........................................+.........................................................................................................................................................................................................................................................................................+..............................................................................................................................................+.....+.............................................................................................................................................................................................+..............................................................+......................................................................................+...............................................................................................+.......................................................+......................................................................................................................................+..........................................................................................................+.......................................................................................................................+.......................................................................................................................................................................................................+........................................................................................................................................................................................................+..........................................................................+.....+......+...+......+.......................................................+...........................................................................................................................................................+...................................................................+......+................................................................+.....................+...................................................................................................................................................+..............................................................................................+...................................................................................................................................+.............+.......................+................+..................................+..................................................................................................+........................................................................................+............................................................................................................................................................................................................................................................................+.....+............................................+..............................................................+...........................................................................................................+........................................................................................+........................................+..............+......+......................................................................................................................+.........................................+........................................................................................+......................................................................................................................+..................+.............................+.............................................................................................................................+.......................+....................+..........................................................................................................+..........................+.............................+.......................................................................................................................................................+.......................+..............+...............+................................................................................+................................+....................................................+........................+..................................................................+..................................................................................................+.............+....................................................................................................................+....+................+................................................................................+..............................................................+.........+......................................................................+..............................+............................................................................................................+...................................+...............................................................................................................................................................................+............................................................................................................................+.........................................................................................................................................................................................................................................................................+.......................................................................................++*++*
Warning: yunohost.hook <lambda> - [2036.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [2036.1] ....The service matrix-synapse has correctly started.

Try to access by url...
Test url: sous.domain.tld/_matrix/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

--- SUCCESS ---

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


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

Preliminary install...
Start the LXC container....Start the LXC container.....
Create witness files...
Working time: 12 minutes, 16 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [1770.1] Generating DH parameters, 2048 bit long safe prime, generator 2
Warning: yunohost.hook <lambda> - [1770.1] This is going to take a long time
Warning: yunohost.hook <lambda> - [1770.1] ........................................................................................................................................................................................................................................+...................................................................+..........................................................................................................+...................................................+...........................................................................................................................................................................................................................+............................................................+....+...........................................................................+...........+..................................................+..................................................................................................................................................................................+.........................................................................................................................................+.................................................................+..........+...............................................................................................+.+...............................................................................................................................................................................................................................................................................................................+....+..................................................................................................................................................................................................................................................................................................................................................................+...................................+..........................................+....................................................+.......................+...................................................................................+.....................................+....................................................+.......................................................................................................................................................+................................................................................................................................................................................++*++*
Warning: yunohost.hook <lambda> - [1770.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1770.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1770.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1770.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1770.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1770.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1770.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1770.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1770.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1770.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1770.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1770.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [1770.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: 6 minutes, 25 seconds.
Upgrade failed. (61)
Warning: yunohost.hook <lambda> - [28445.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [28307.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [28445.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [28307.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [28307.1] 2018-08-04 01:20:55 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818] -> "synapse_source.tar.gz" [1]
Warning: yunohost.hook <lambda> - [28307.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [28307.1] chmod: cannot access '/etc/matrix-synapse/sous.domain.tld.signing.key': No such file or directory
Warning: yunohost.hook <lambda> - [28307.1] chmod: cannot access '/etc/matrix-synapse/sous.domain.tld.tls.crt': No such file or directory
Warning: yunohost.hook <lambda> - [28307.1] chmod: cannot access '/etc/matrix-synapse/sous.domain.tld.tls.dh': No such file or directory
Warning: yunohost.hook <lambda> - [28307.1] chmod: cannot access '/etc/matrix-synapse/sous.domain.tld.tls.key': No such file or directory
Warning: yunohost.hook <lambda> - [28307.1] !!
Warning: yunohost.hook <lambda> - [28307.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [28307.1] !!
Warning: yunohost.hook <lambda> - [28307.1] Upgrade failed.
Warning: yunohost.hook <lambda> - [30049.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [28307.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [28307.1] Remove the user matrix-synapse
Warning: yunohost.hook <lambda> - [30049.1] Remove the user matrix-synapse
Warning: yunohost.firewall firewall_allow - [1054.1] Port 5349 is already opened for IPv4 connections
Warning: yunohost.firewall firewall_allow - [1054.1] Port 5349 is already opened for IPv6 connections
Warning: yunohost.hook <lambda> - [742.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [28307.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [742.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [28307.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [742.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [28307.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [742.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [742.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [28307.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [28307.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [742.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [28307.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [742.1] ../settings/scripts/_common.sh: line 128: Creating directory ': command not found
Warning: yunohost.hook <lambda> - [28307.1] ../settings/scripts/_common.sh: line 128: Creating directory ': command not found
Warning: yunohost.hook <lambda> - [742.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [28307.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [742.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [28307.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [28307.1] The app was restored to the way it was before the failed upgrade.
Error: yunohost.app app_upgrade - [28307.1] Unable to upgrade synapse
Error: yunohost cli - No app to upgrade

Try to access by url...
Test url: sous.domain.tld/_matrix/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) sous.domain.tld/_matrix/client/

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 minute, 6 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Restore the previous snapshot.
Working time: 3 seconds.
Working time for this test: 30 minutes, 52 seconds.


>> Installation in public mode... [Test 5/8]
Root install failed, impossible to perform this test...
Start the LXC container.Start the LXC container.....
Create witness files...
Working time: 9 minutes, 53 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [1954.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1954.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1954.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1954.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1954.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1954.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1954.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1954.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1954.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1954.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1954.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1954.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [1954.1] 2018-08-04 01:33:29 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818/997818] -> "synapse_source.tar.gz" [1]
Warning: yunohost.hook <lambda> - [1954.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [1954.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [1954.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [1954.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [1954.1] ....tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [1954.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/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

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


>> Multi-instance installations... [Test 6/8]
First installation: path=domain.tld/_matrix/client/#/login
Start the LXC container...Start the LXC container......
Create witness files...
Working time: 8 minutes, 15 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [1762.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1762.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1762.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1762.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1762.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1762.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1762.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1762.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1762.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1762.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1762.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1762.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [1762.1] 2018-08-04 01:42:20 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818/997818] -> "synapse_source.tar.gz" [1]
Warning: yunohost.hook <lambda> - [1762.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [1762.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [1762.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [1762.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [1762.1] ....tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [1762.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/client/#/login
A LXC container is already running.
Working time: 3 minutes, 45 seconds.
Installation successful. (0)
Warning: yunohost.firewall firewall_allow - [16965.1] Port 5350 is already opened for IPv4 connections
Warning: yunohost.firewall firewall_allow - [16965.1] Port 5350 is already opened for IPv6 connections
Warning: yunohost.firewall firewall_allow - [16965.1] Port 5350 is already opened for IPv4 connections
Warning: yunohost.firewall firewall_allow - [16965.1] Port 5350 is already opened for IPv6 connections
Warning: yunohost.hook <lambda> - [16648.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [16648.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [16648.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [16648.1] 2018-08-04 01:47:28 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818/997818] -> "synapse_source.tar.gz" [1]
Warning: yunohost.hook <lambda> - [16648.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> - [16648.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> - [16648.1] Starting of matrix-synapse__2
Warning: yunohost.hook <lambda> - [16648.1] .tail: cannot open '/var/log/matrix-synapse__2/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [16648.1] ...tail: '/var/log/matrix-synapse__2/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [16648.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/client/#/login
Real url: http://domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/_matrix/client/config.js

Test url: domain.tld/_matrix/client/#/login/
Real url: http://domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 404) domain.tld/_matrix/client/config.js


Try to access by url...
Test url: sous.domain.tld/_matrix/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

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


>> Port already used... [Test 7/8]
Start the LXC container...Start the LXC container..........
Create witness files...
Working time: 31 seconds.
A LXC container is already running.A LXC container is already running.
Working time: 7 minutes, 53 seconds.
Installation successful. (0)
Warning: yunohost.hook <lambda> - [3172.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [3172.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [3172.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [3172.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [3172.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [3172.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [3172.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [3172.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [3172.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [3172.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [3172.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [3172.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [3172.1] 2018-08-04 01:55:03 URL:https://codeload.github.com/matrix-org/synapse/tar.gz/v0.33.0 [997818/997818] -> "synapse_source.tar.gz" [1]
Warning:Warning: yunohost.hook <lambda> - [3172.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [3172.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [3172.1] tail: cannot open '/var/log/matrix-synapse/homeserver.log' for reading: No such file or directory
Warning: yunohost.hook <lambda> - [3172.1] ....tail: '/var/log/matrix-synapse/homeserver.log' has appeared;  following new file
Warning: yunohost.hook <lambda> - [3172.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/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

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


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

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

Backup of the application...
Start the LXC container.....Start the LXC container........
Create witness files...
Working time: 1 minute, 48 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [1945.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Warning: yunohost.hook <lambda> - [1945.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: 1 minute, 47 seconds.
Deleting successful. (0)

Restore after removing the application...
A LXC container is already running.
Working time: 3 minutes, 15 seconds.
Restore successful. (0)
Warning: yunohost.hook <lambda> - [8390.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [8390.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [8390.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [8390.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [8390.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [8390.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [8390.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [8390.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [8390.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [8390.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [8390.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [8390.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/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

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

Restore on a clean YunoHost system...
Start the LXC container.Start the LXC container......
Create witness files...
Working time: 5 minutes, 37 seconds.
Restore successful. (0)
Warning: yunohost.hook <lambda> - [1881.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1881.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1881.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1881.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1881.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1881.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [1881.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1881.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1881.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1881.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1881.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [1881.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1881.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [1881.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [1881.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [1881.1] could not change directory to "/home/yunohost.backup/tmp/Backup_test/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [1881.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [1881.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [1881.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/client/#/login
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

Test url: sous.domain.tld/_matrix/client/#/login/
Real url: http://sous.domain.tld/_matrix/client/
HTTP code: 200
Title of the page: [matrix]
Extract of the page:
   Connection Lost
   [javascript] [green_phone.png]
   {{ currentCall.peerMember.name | mUserDisplayName: currentCall.room_id
   }}
   Calling... Incoming Video Call Incoming Voice Call Call Connecting...
   Call Connected Media Connection Failed{{ haveTurn ? "" : " (VoIP
   relaying unsupported by Home Server)" }} Call Rejected Call Canceled
   User Not Responding Call answered elsewhere Call Ended Call Canceled
   Call Ended Waiting for media permission...
   (BUTTON) Answer {{ currentCall.type }} call (BUTTON) Reject (BUTTON)
   Hang up
   [1]{{ user_id }}   (BUTTON) Home (BUTTON) Settings (BUTTON) Log out

   Sorry, your browser is not supported.
   Reason: {{ unsupportedBrowser.reason }}
   Your browser:
   {{ unsupportedBrowser.browser }}

   © 2014, 2015 OpenMarket Ltd


Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 404) sous.domain.tld/_matrix/client/config.js

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Restore the previous snapshot.
Working time: 3 seconds.
Working time for this test: 13 minutes, 49 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:                         FAIL
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: 2 (Installable in all situations)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 0
	   Level 4: 1
	   Level 5: 1
	   Level 6: 1
	   Level 7: 0
	   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, 32 minutes, 23 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at https://ci-apps-dev.yunohost.org/jenkins/logs/_home_yunohost.app_ssh_chroot_directories_josue_data_synapse_ynh_complete.log

Sat Aug  4 02:14:04 UTC 2018
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE