FailedConsole Output

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

Thu Jan 10 19:35:18 UTC 2019
Wait for work starting...
..........
Thu Jan 10 19:40:18 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.
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
 Official helpers: https://yunohost.org/#/packaging_apps_helpers_en
 Experimental helpers: https://github.com/YunoHost-Apps/Experimental_helpers
Checking /home/CI_package_check/dev_CI/../package_check/synapse_ynh PR96_check package

>>>> MISSING FILES <<<<

>>>> SOURCES MANAGEMENT <<<<

>>>> MANIFEST <<<<

>>>> INSTALL SCRIPT <<<<

>>>> REMOVE SCRIPT <<<<

>>>> UPGRADE SCRIPT <<<<

>>>> BACKUP SCRIPT <<<<

>>>> RESTORE SCRIPT <<<<

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

>>>> _COMMON.SH SCRIPT <<<<

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


>> Installation in a sub path... [Test 2/8]
Start the LXC container..
Create witness files...
Working time: 12 seconds.
Working time: 6 minutes, 41 seconds.
Installation failed. (5)
Warning: yunohost.hook <lambda> - [1187.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [1187.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [1187.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [1187.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1187.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1187.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [1187.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [1187.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [1187.1] sed: -e expression #1, char 76: unterminated `s' command
Warning: yunohost.hook <lambda> - [1187.1] !!
Warning: yunohost.hook <lambda> - [1187.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1187.1] !!
Warning: yunohost.hook <lambda> - [1187.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [1187.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8444.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8444.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [1187.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [1187.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [1187.1] python3: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory
Warning: yunohost.hook <lambda> - [1187.1] Remove the user matrix-synapse
Error: yunohost cli - Unknown service 'matrix-synapse'
Warning: yunohost.hook <lambda> - [1187.1] Unknown service 'matrix-synapse'
Error: yunohost cli - Unknown service 'coturn-synapse'
Warning: yunohost.hook <lambda> - [1187.1] Unknown service 'coturn-synapse'
Warning: yunohost.app app_install - [1187.1] synapse has not been properly removed
Error: yunohost cli - The operation 'Install 'synapse' application' has failed ! To get help, please share the full log of this operation using the command 'yunohost log display 20190110-194031-app_install-synapse --share'

Try to access by url...
Test url: sous.domain.tld/_matrix/static
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvX21hdHJpeC9zdGF0aWM=
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/_matrix/static/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvX21hdHJpeC9zdGF0aWMv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Deleting failed. (22)
Error: yunohost cli - synapse is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 7 minutes, 13 seconds.


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

Preliminary install...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 6 minutes, 46 seconds.
Installation failed. (5)
Warning: yunohost.hook <lambda> - [920.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [920.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [920.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [920.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [920.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [920.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [920.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [920.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [920.1] sed: -e expression #1, char 77: unterminated `s' command
Warning: yunohost.hook <lambda> - [920.1] !!
Warning: yunohost.hook <lambda> - [920.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [920.1] !!
Warning: yunohost.hook <lambda> - [920.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [920.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8177.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8177.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [920.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [920.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [920.1] python3: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory
Warning: yunohost.hook <lambda> - [920.1] Remove the user matrix-synapse
Error: yunohost cli - Unknown service 'matrix-synapse'
Warning: yunohost.hook <lambda> - [920.1] Unknown service 'matrix-synapse'
Error: yunohost cli - Unknown service 'coturn-synapse'
Warning: yunohost.hook <lambda> - [920.1] Unknown service 'coturn-synapse'
Warning: yunohost.app app_install - [920.1] synapse has not been properly removed
Error: yunohost cli - The operation 'Install 'synapse' application' has failed ! To get help, please share the full log of this operation using the command 'yunohost log display 20190110-194742-app_install-synapse --share'

Installation failed...
--- FAIL ---

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


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

Preliminary install...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 15 minutes, .
Installation successful. (0)
Warning: yunohost.hook <lambda> - [904.1] Generating DH parameters, 2048 bit long safe prime, generator 2
Warning: yunohost.hook <lambda> - [904.1] This is going to take a long time
Warning: yunohost.hook <lambda> - [904.1] ........................................................................................+.......+.......................................................+....................................................................................................................................................................................................................................................................................................+..................................+.....................................................................................................................+..............................................................................................................+.........................+..........................................................................................................................................................................................................................................................................................................+....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+.........+............................................................................................................................................................................................+.........................................................................................................................................................................................................................................................................................................................................................................................................................+...........................................................................+.................................+...........+........................................................................................+...........................................................................................................+.....................................................................+.................................................................................................+..........................................................+.................................................................................................................+..........................................+...........................+....................................................+..............................................+..................................................................................................+............................+................+................................................................................................................................................................+........................................................................................................................................................................................................................................................................................................................................................................................................................................................+..................................................................+.........................................................................................................................................+..............+................................................................................................................+........................................................................+..................................................................................................................................+...........................+........................................................................+...........................................................................+......................................+......................................................................................................................................+..............+..................................................................+..............................................+......................................................................................................................................................+........................................................................................................+....................................................................................................................................................................................................................................................................................+...................................................................................+..........................................................................................................................................................................................................................+....................................................................................................................+.............................................................................................................+............................................................................................................................................................................................+..............................................................................................................................................................+.........................+.......................+..............................................................................................................................................................................................................................................................................+..............................................+...................................................................+..........................................................................................................+............................................+....................+...................+.......................................................................+....................................+................+.................................................+............+...................................................................................................................+............................................+.........................................................................+.....+........+...............................+........................................................................................................................................................................................................................................................................................................................................................................................................................+.........................................+.........................+...+...............+......+...................................................................................................................................................................................................................................................................................................................................................................................................................................+..............+............+............................................................................+............................................................................+.....................+..........................................................+........................................................................+.......................+..................+........................................................................................................................................................................................................................................................................................................................................+........................................................................................................................................................+.........................................................................................................................................+..................................................................................................................................+....................................................................................................+.............+.....................................................................................................................................+................................................................................................................................................................................................................+....+............+.............................................................................................+.....+..............................................................................................................+..........................................................................................+.........................................................................................................................................................................+...................................................+...........+........+..................................................................................................................................................................................................................................................................................................................................................................................................+......................................................................................................................................................................................+...........................................................................................................................................................................................+.....................................................................................................................................................................................................................................................................+......+....................+.....+.............................................................................+...+.........................................+...........................................................................................................................................................................................+....................................................................+......................................................................+..........................................................................................+...............................................................+..................+.......................+......................................................................................................................................................................................................................................+............................................................................................................................................................+........+...............................................................................................................+..........................+.......................................................................................................................................................................................................................................................................................+....................................................................+..........................................................................................................+...............+.......................+......................................................................................................................+..........................+....+....................................................................................................................+.............................+................................................................+...................................................+...............+...............................................................................................................................................................+....................................................................................................................................................................................................................................................................................+......................................................................................................................................................................................................................................................+.............................................................................................+............................................................................................................+.....+....................................................+.............+...........+..............................................................................................+.............+.............................................................................................................................................................................................................................................+.................................+............................................+........................................................................................+................................................................................................................................................................+...............................+..................................................................................................................+...........................................................+.................................................................................................................................................+...................................................................................................................................................................................................................................++*++*++*++*
Warning: yunohost.hook <lambda> - [904.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [904.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [904.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [904.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [904.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [904.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [904.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [904.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [904.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [904.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: 8 minutes, 26 seconds.
Upgrade failed. (61)
Warning: yunohost.hook <lambda> - [20233.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [20104.1] /var/lib/matrix-synapse will not be saved, because backup_core_only is set.
Warning: yunohost.hook <lambda> - [20233.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [20104.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [20104.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [20104.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [20104.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [20104.1] Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [20104.1]   Failed building wheel for frozendict
Warning: yunohost.hook <lambda> - [20104.1]   Failed building wheel for Twisted
Warning: yunohost.hook <lambda> - [20104.1]   Failed building wheel for pyyaml
Warning: yunohost.hook <lambda> - [20104.1]   Failed building wheel for psutil
Warning: yunohost.hook <lambda> - [20104.1]   Failed building wheel for msgpack-python
Warning: yunohost.hook <lambda> - [20104.1]   Failed building wheel for prometheus-client
Warning: yunohost.hook <lambda> - [20104.1]   Failed building wheel for simplejson
Warning: yunohost.hook <lambda> - [20104.1] sed: -e expression #1, char 76: unterminated `s' command
Warning: yunohost.hook <lambda> - [20104.1] !!
Warning: yunohost.hook <lambda> - [20104.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [20104.1] !!
Warning: yunohost.hook <lambda> - [20104.1] Upgrade failed.
Warning: yunohost.hook <lambda> - [22470.1] python: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory
Warning: yunohost.hook <lambda> - [20104.1] python: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory
Warning: yunohost.hook <lambda> - [22470.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [20104.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [22470.1] Remove the user matrix-synapse
Warning: yunohost.hook <lambda> - [20104.1] Remove the user matrix-synapse
Warning: yunohost.firewall firewall_allow - [23907.1] Port 5349 is already opened for IPv4 connections
Warning: yunohost.firewall firewall_allow - [23907.1] Port 5349 is already opened for IPv6 connections
Warning: yunohost.hook <lambda> - [23643.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [23643.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [23643.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [20104.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [20104.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [20104.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [23643.1] ../settings/scripts/_common.sh: line 128: Creating directory ': command not found
Warning: yunohost.hook <lambda> - [20104.1] ../settings/scripts/_common.sh: line 128: Creating directory ': command not found
Warning: yunohost.hook <lambda> - [23643.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [20104.1] could not change directory to "/home/yunohost.backup/tmp/synapse-pre-upgrade1/apps/synapse/backup": Permission denied
Warning: yunohost.hook <lambda> - [23643.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [20104.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [20104.1] The app was restored to the way it was before the failed upgrade.
Error: yunohost.app app_upgrade - [20104.1] Unable to upgrade synapse
Error: yunohost cli - No app to upgrade

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 47 seconds.
Deleting successful. (0)
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: 32 minutes, 5 seconds.


>> Installation in public mode... [Test 5/8]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 3 seconds.
Working time for this test: 3 seconds.


>> Multi-instance installations... [Test 6/8]
First installation: path=domain.tld
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 6 minutes, 45 seconds.
Installation failed. (5)
Warning: yunohost.hook <lambda> - [916.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [916.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [916.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [916.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [916.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [916.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [916.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [916.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [916.1] sed: -e expression #1, char 79: unterminated `s' command
Warning: yunohost.hook <lambda> - [916.1] !!
Warning: yunohost.hook <lambda> - [916.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [916.1] !!
Warning: yunohost.hook <lambda> - [916.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [916.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8176.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8176.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [916.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [916.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [916.1] python3: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory
Warning: yunohost.hook <lambda> - [916.1] Remove the user matrix-synapse
Error: yunohost cli - Unknown service 'matrix-synapse'
Warning: yunohost.hook <lambda> - [916.1] Unknown service 'matrix-synapse'
Error: yunohost cli - Unknown service 'coturn-synapse'
Warning: yunohost.hook <lambda> - [916.1] Unknown service 'coturn-synapse'
Warning: yunohost.app app_install - [916.1] synapse has not been properly removed
Error: yunohost cli - The operation 'Install 'synapse' application' has failed ! To get help, please share the full log of this operation using the command 'yunohost log display 20190110-201950-app_install-synapse --share'
Second installation: path=sous.domain.tld
A LXC container is already running.
Working time: 2 seconds.
Working time: 5 minutes, 28 seconds.
Installation failed. (5)
Warning: yunohost.hook <lambda> - [10285.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [10285.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [10285.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [10285.1] Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [10285.1] Cache entry deserialization failed, entry ignored
Warning: yunohost.hook <lambda> - [10285.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [10285.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [10285.1] sed: -e expression #1, char 77: unterminated `s' command
Warning: yunohost.hook <lambda> - [10285.1] !!
Warning: yunohost.hook <lambda> - [10285.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [10285.1] !!
Warning: yunohost.hook <lambda> - [10285.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [10285.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [13832.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [13832.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [10285.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [10285.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [10285.1] python3: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory
Warning: yunohost.hook <lambda> - [10285.1] Remove the user matrix-synapse
Error: yunohost cli - Unknown service 'matrix-synapse'
Warning: yunohost.hook <lambda> - [10285.1] Unknown service 'matrix-synapse'
Error: yunohost cli - Unknown service 'coturn-synapse'
Warning: yunohost.hook <lambda> - [10285.1] Unknown service 'coturn-synapse'
Warning: yunohost.app app_install - [10285.1] synapse has not been properly removed
Error: yunohost cli - The operation 'Install 'synapse' application' has failed ! To get help, please share the full log of this operation using the command 'yunohost log display 20190110-202639-app_install-synapse --share'

Try to access by url...
Test url: domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.
Working time for this test: 12 minutes, 44 seconds.


>> Port already used... [Test 7/8]
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 1 second.
A LXC container is already running.A LXC container is already running.
Working time: 2 seconds.
Working time: 6 minutes, 51 seconds.
Installation failed. (5)
Warning: yunohost.hook <lambda> - [941.1] debconf: unable to initialize frontend: Dialog
Warning: yunohost.hook <lambda> - [941.1] debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
Warning: yunohost.hook <lambda> - [941.1] debconf: falling back to frontend: Readline
Warning: yunohost.hook <lambda> - [941.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [941.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [941.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [941.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [941.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Warning: yunohost.hook <lambda> - [941.1] sed: -e expression #1, char 77: unterminated `s' command
Warning: yunohost.hook <lambda> - [941.1] !!
Warning: yunohost.hook <lambda> - [941.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [941.1] !!
Warning: yunohost.hook <lambda> - [941.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [941.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8201.1] Port 8449 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8201.1] Port 8449 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [941.1] Port 8449 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [941.1] Port 8449 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [941.1] python3: can't open file '/opt/yunohost/matrix-synapse/remove_sso_conf.py': [Errno 2] No such file or directory
Warning: yunohost.hook <lambda> - [941.1] Remove the user matrix-synapse
Error: yunohost cli - Unknown service 'matrix-synapse'
Warning: yunohost.hook <lambda> - [941.1] Unknown service 'matrix-synapse'
Error: yunohost cli - Unknown service 'coturn-synapse'
Warning: yunohost.hook <lambda> - [941.1] Unknown service 'coturn-synapse'
Warning: yunohost.app app_install - [941.1] synapse has not been properly removed
Error: yunohost cli - The operation 'Install 'synapse' application' has failed ! To get help, please share the full log of this operation using the command 'yunohost log display 20190110-203236-app_install-synapse --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 12 seconds.
Working time for this test: 7 minutes, 18 seconds.


>> Backup/Restore... [Test 8/8]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 2 seconds.
Working time for this test: 2 seconds.



Package linter:                  SUCCESS
Installation:                    FAIL
Deleting:                        FAIL
Installation in a sub path:      FAIL
Deleting from a sub path:        FAIL
Installation on the root:        Not evaluated.
Deleting from root:              Not evaluated.
Upgrade:                         FAIL
Installation in private mode:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    FAIL
Malformed path:                  Not evaluated.
Port already used:               FAIL
Backup:                          Not evaluated.
Restore:                         Not evaluated.
Change URL:                      Not evaluated.
Level of this application: 0 (Broken)
	   Level 1: 0
	   Level 2: 0
	   Level 3: 0
	   Level 4: 1
	   Level 5: 1
	   Level 6: 0
	   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: 59 minutes, 32 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_Official_fork_data_synapse_ynh_PR96_complete.log

Thu Jan 10 20:40:03 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE