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/jenkins353158131568547595.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/josue/data/synapse_ynh synapse_ynh (josue)

Thu Jul  4 22:38:13 UTC 2019
Wait for work starting...
....
Thu Jul  4 22:40:13 UTC 2019
Package check currently test the package
Start a test
Loads functions from launcher.sh
Loads functions from testing_process.sh
Loads functions from log_extractor.sh
Restore the previous snapshot.
Working time: 5 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: General

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 6 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.2
yunohost-admin: 
  repo: stable
  version: 3.5.2
moulinette: 
  repo: stable
  version: 3.5.2
ssowat: 
  repo: stable
  version: 3.5.2.1
Connection to 10.1.4.2 closed.


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

    [YunoHost App Package Linter]

 App packaging documentation - https://yunohost.org/#/packaging_apps
 App package example         - https://github.com/YunoHost/example_ynh
 Official helpers            - https://yunohost.org/#/packaging_apps_helpers_en
 Experimental helpers        - https://github.com/YunoHost-Apps/Experimental_helpers

    Analyzing package /home/CI_package_check/dev_CI/../package_check/synapse_ynh_check

 [Loading App]

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

 [Misc File Checks]


 [Sources Management]


 [Manifest]

! Consider adding an 'help' key for argument 'is_public' to explain to the user what it means for *this* app to be public or private :
    "help": {
       "en": "Some explanation"
    } 

 [Install Script]

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

 [Remove Script]


 [Upgrade Script]

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

 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/9]
A LXC container is already running.
Working time: 1 second.
Working time: 6 minutes, 46 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [1039.1] Installing application synapse…
Warning: yunohost.hook <lambda> - [1039.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1039.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [1039.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1039.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [1039.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [1039.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1039.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [1039.1] Job for matrix-synapse.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [1039.1] See "systemctl status matrix-synapse.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [1039.1] !!
Warning: yunohost.hook <lambda> - [1039.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1039.1] !!
Info: yunohost.log close - [1039.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190704-224042-app_install-synapse --share'
Warning: yunohost.hook <lambda> - [1039.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Info:  Stop the service matrix-synapse
Info:  Stop the service coturn-synapse
Warning: yunohost.hook <lambda> - [1039.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8845.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8845.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [1039.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [1039.1] Port 8448 is already closed for IPv6 connections
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1039.1] Remove the user matrix-synapse
Warning: yunohost.hook <lambda> - [1039.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1039.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist.
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 20190704-224042-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.A LXC container is already running.
Working time: 2 seconds.
Working time: 6 seconds.
Deleting failed. (1)
Error: yunohost cli - synapse is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Working time for this test: 7 minutes, 14 seconds.


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

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 8 minutes, 26 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.1] Installing application synapse…
Warning: yunohost.hook <lambda> - [910.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [910.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [910.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [910.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [910.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [910.1] Job for matrix-synapse.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [910.1] See "systemctl status matrix-synapse.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [910.1] !!
Warning: yunohost.hook <lambda> - [910.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [910.1] !!
Info: yunohost.log close - [910.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190704-224805-app_install-synapse --share'
Warning: yunohost.hook <lambda> - [910.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Info:  Stop the service matrix-synapse
Info:  Stop the service coturn-synapse
Warning: yunohost.hook <lambda> - [910.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8719.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8719.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [910.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [910.1] Port 8448 is already closed for IPv6 connections
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [910.1] Remove the user matrix-synapse
Warning: yunohost.hook <lambda> - [910.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [910.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist.
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 20190704-224805-app_install-synapse --share'

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

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


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

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 8 minutes, 29 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.1] Installing application synapse…
Warning: yunohost.hook <lambda> - [910.1] Generating DH parameters, 2048 bit long safe prime, generator 2
Warning: yunohost.hook <lambda> - [910.1] This is going to take a long time
Warning: yunohost.hook <lambda> - [910.1] .....................................+........................................+...............................................................................................+.................................................................................+...........................+..............................................+..............................................+..................................................................................................................................................+...............................................................................+.............................................................................................+..................................................................................+................................................................................................................................................................................................................................................................................................................................+................................................................................+...............................................................................+.........+................................................................................................................................+...............................................................................................................................+.................................................................................+....+.............................+...............................................................................................................+..................................................+...........................................................................................................................................+.......................................................................................+................................................................................+.........................................................................+....................................+................................................+........+............................................................................................+.................+..............................................................................................................+.......................................................................................................................................................+.....................................................+........................................................................+..........+..........................................................................................................................+...............................+........................................................................................................................+.....................+......................+...................................................................................+....................+.........+...........................................+.....................................................+..................................................................................+......+.............................+.............................................................................................................................................................................................+.............................+...............................................................................+...........................................................................................................+...................+...........................................................................+........................................................+....+...+...............................................................+.........................................................+.........................+.........................................+........................................................................................+......................................................................................................................................................................................+...................................................................................................+...+...................................................................................................................................................................................................................+............+.......+.................................................................................................................................................+.......................+.................+........................+..............................................................................................................................................................+...................................................................................................................................+..............................................................................................................................................................................................................................................................................+......................+...........+.................+.....................................................................................................................................+......................................................................................................................................................................................................................................................................................................................................................................+....................+.......................................................................................................................................................+...............+......................................+.........................+.....................+..+......................................+...................................................................................................................+..................+.............+.........................................................................................................................................................................................................+......................................................................................................................................................................................+...........................................................................................................................................................................................+....+...............................................................................................................................................+...........................................................................+.+...............................................................................+.....+.....+.................................................................................................................................................................................................................................+...................................................................................................................................................................+................................................................+...................................................................................................................................................+..............................................................................................................................................................................+........................+...............................................................................+..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+...................................................................................................................+.....+...................................................................................................................................................................................................+............+...........................................................................................+...............................................................................................................................................................................................+.......................................................................................................................................................................................................+.........................................................................+.......................................................................................................................................................................................................................++*++*++*++*
Warning: yunohost.hook <lambda> - [910.1] dh_install: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [910.1] dh_installdocs: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [910.1] dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
Warning: yunohost.hook <lambda> - [910.1] 
Extracting templates from packages: 93%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [910.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "build-essential" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "python2.7-dev" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "libffi-dev" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "python-pip" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "python-setuptools" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "sqlite3" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "libssl-dev" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "python-virtualenv" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "libxml2-dev" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "libxslt1-dev" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "python-lxml" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "libjpeg-dev" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "libpq-dev" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "postgresql" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] [WARN] Too many arguments ! "acl" will be ignored.
Warning: yunohost.hook <lambda> - [910.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [910.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [910.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [910.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [910.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [910.1] DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Warning: yunohost.hook <lambda> - [910.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [910.1] Job for matrix-synapse.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [910.1] See "systemctl status matrix-synapse.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [910.1] !!
Warning: yunohost.hook <lambda> - [910.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [910.1] !!
Info: yunohost.log close - [910.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190704-225708-app_install-synapse --share'
Warning: yunohost.hook <lambda> - [910.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [910.1] Remove the user matrix-synapse
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 20190704-225708-app_install-synapse --share'

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

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


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

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 minutes, 59 seconds.
Installation failed. (1)
Warning: yunohost.service _run_service_command - [213.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [914.1] Installing application synapse…
Warning: yunohost.hook <lambda> - [914.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [914.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [914.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [914.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [914.1] /opt/yunohost/matrix-synapse/lib/python3.5/site-packages/synapse/config/_base.py:169: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
Warning: yunohost.hook <lambda> - [914.1]   config = yaml.load(default_config)
Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [914.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [914.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [914.1] Job for matrix-synapse.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [914.1] See "systemctl status matrix-synapse.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [914.1] !!
Warning: yunohost.hook <lambda> - [914.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [914.1] !!
Info: yunohost.log close - [914.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190704-230611-app_install-synapse --share'
Warning: yunohost.hook <lambda> - [914.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Info:  Stop the service matrix-synapse
Info:  Stop the service coturn-synapse
Warning: yunohost.hook <lambda> - [914.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8797.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8797.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [914.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [914.1] Port 8448 is already closed for IPv6 connections
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [914.1] Remove the user matrix-synapse
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 20190704-230611-app_install-synapse --share'

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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 6 seconds.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 23 minutes, 43 seconds.


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


>> Multi-instance installations... [Test 7/9]
First installation: path=domain.tld
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 3 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [906.1] Installing application synapse…
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [906.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [906.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [906.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [906.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [906.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [906.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [906.1] Job for matrix-synapse.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [906.1] See "systemctl status matrix-synapse.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [906.1] !!
Warning: yunohost.hook <lambda> - [906.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [906.1] !!
Info: yunohost.log close - [906.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190704-231153-app_install-synapse --share'
Warning: yunohost.hook <lambda> - [906.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Info:  Stop the service matrix-synapse
Info:  Stop the service coturn-synapse
Warning: yunohost.hook <lambda> - [906.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8711.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8711.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [906.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [906.1] Port 8448 is already closed for IPv6 connections
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [906.1] Remove the user matrix-synapse
Warning: yunohost.hook <lambda> - [906.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [906.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist.
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 20190704-231153-app_install-synapse --share'
Second installation: path=sous.domain.tld
A LXC container is already running.
The container failed to connect to internet...
Rebooting the container...
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Start the LXC container.
Create witness files...
Working time: 26 seconds.
Working time: 5 minutes, 3 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [913.1] Installing application synapse…
Warning: yunohost.hook <lambda> - [913.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [913.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [913.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [913.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [913.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [913.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [913.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [913.1] Job for matrix-synapse.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [913.1] See "systemctl status matrix-synapse.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [913.1] !!
Warning: yunohost.hook <lambda> - [913.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [913.1] !!
Info: yunohost.log close - [913.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190704-231725-app_install-synapse --share'
Info:  Stop the service matrix-synapse
Warning: yunohost.hook <lambda> - [913.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Info:  Stop the service coturn-synapse
Warning: yunohost.hook <lambda> - [913.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8717.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8717.1] Port 8448 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [913.1] Port 8448 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [913.1] Port 8448 is already closed for IPv6 connections
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [913.1] Remove the user matrix-synapse
Warning: yunohost.hook <lambda> - [913.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [913.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist.
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 20190704-231725-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: 15 seconds.
Working time for this test: 11 minutes, 1 second.


>> Port already used... [Test 8/9]
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 7 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 6 minutes, 21 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [989.1] Installing application synapse…
Warning: yunohost.hook <lambda> - [989.1] E: The repository 'http://forge.yunohost.org/debian stretch Release' does no longer have a Release file.
Warning: yunohost.hook <lambda> - [989.1] 
Extracting templates from packages: 62%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [989.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [989.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [989.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [989.1] Created symlink /etc/systemd/system/multi-user.target.wants/matrix-synapse.service → /etc/systemd/system/matrix-synapse.service.
Warning: yunohost.hook <lambda> - [989.1] Created symlink /etc/systemd/system/multi-user.target.wants/coturn-synapse.service → /etc/systemd/system/coturn-synapse.service.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [989.1] Starting of matrix-synapse
Warning: yunohost.hook <lambda> - [989.1] Job for matrix-synapse.service failed because the control process exited with error code.
Warning: yunohost.hook <lambda> - [989.1] See "systemctl status matrix-synapse.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [989.1] !!
Warning: yunohost.hook <lambda> - [989.1]   synapse's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [989.1] !!
Info: yunohost.log close - [989.1] The operation 'Install 'synapse' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190704-232302-app_install-synapse --share'
Warning: yunohost.hook <lambda> - [989.1] Removed /etc/systemd/system/multi-user.target.wants/matrix-synapse.service.
Info:  Stop the service matrix-synapse
Info:  Stop the service coturn-synapse
Warning: yunohost.hook <lambda> - [989.1] Removed /etc/systemd/system/multi-user.target.wants/coturn-synapse.service.
Warning: yunohost.firewall firewall_disallow - [8732.1] Port 8449 is already closed for IPv4 connections
Warning: yunohost.firewall firewall_disallow - [8732.1] Port 8449 is already closed for IPv6 connections
Warning: yunohost.hook <lambda> - [989.1] Port 8449 is already closed for IPv4 connections
Warning: yunohost.hook <lambda> - [989.1] Port 8449 is already closed for IPv6 connections
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [989.1] Remove the user matrix-synapse
Warning: yunohost.hook <lambda> - [989.1] /etc/fail2ban/jail.d/synapse.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [989.1] /etc/fail2ban/filter.d/synapse.conf wasn't deleted because it doesn't exist.
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 20190704-232302-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: 16 seconds.
Working time for this test: 6 minutes, 57 seconds.


>> Backup/Restore... [Test 9/9]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 4 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: 0
	   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: 49 minutes, 28 seconds.
Disable iptables rules.
Disable the network bridge.
The complete log for this application was duplicated and is accessible at /home/CI_package_check/dev_CI/../logs/_home_yunohost.app_ssh_chroot_directories_josue_data_synapse_ynh_complete.log

Thu Jul  4 23:30:07 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE