FailedConsole Output

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

Mon May 13 18:05:00 UTC 2019
Wait for work starting...
...........
Mon May 13 18:10:31 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: 7 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 4 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/7]

    [YunoHost App Package Linter]

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

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

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]


 [Install 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. 
! 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]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/7]
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 30 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1026.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [1026.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1026.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1026.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1026.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) sous.domain.tld/path

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) sous.domain.tld/path/

--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 17 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [6376.1] Removing application pgadmin…
Warning: yunohost.hook <lambda> - [6376.1] could not change directory to "/tmp/yunohost_remove/scripts": Permission denied
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [6376.1] Remove the user pgadmin
Warning: yunohost.hook <lambda> - [6376.1] Failed to restart uwsgi.service: Unit uwsgi.service not found.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 3 minutes, 15 seconds.


>> Installation on the root... [Test 3/7]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 41 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [922.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [922.1] E: The repository 'http://forge.yunohost.org/debian stretch Release' does no longer have a Release file.
Warning: yunohost.hook <lambda> - [922.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [922.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [922.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [922.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql

Try to access by url...
A LXC container is already running.A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

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

Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

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

--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 17 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [6094.1] Removing application pgadmin…
Warning: yunohost.hook <lambda> - [6094.1] could not change directory to "/tmp/yunohost_remove/scripts": Permission denied
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [6094.1] Remove the user pgadmin
Warning: yunohost.hook <lambda> - [6094.1] Failed to restart uwsgi.service: Unit uwsgi.service not found.
--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 3 minutes, 31 seconds.


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

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 4 seconds.
Installation failed. (1)
Error: yunohost cli - Argument 'path' is required

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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 11 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 34 seconds.


>> Malformed path... [Test 5/7]
Start the LXC container.
Create witness files...
Working time: 9 seconds.
Working time: 2 minutes, 36 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [894.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [894.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [894.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [894.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [894.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) sous.domain.tld/path

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) sous.domain.tld/path/

--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Working time for this test: 3 minutes, 10 seconds.


>> Backup/Restore... [Test 6/7]
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.


>> Change URL... [Test 7/7]

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 26 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [902.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [902.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [902.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [902.1] Exception:
Warning: yunohost.hook <lambda> - [902.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connection.py", line 138, in _new_conn
Warning: yunohost.hook <lambda> - [902.1]     (self.host, self.port), self.timeout, **extra_kw)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 98, in create_connection
Warning: yunohost.hook <lambda> - [902.1]     raise err
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/connection.py", line 88, in create_connection
Warning: yunohost.hook <lambda> - [902.1]     sock.connect(sa)
Warning: yunohost.hook <lambda> - [902.1] OSError: [Errno 101] Network is unreachable
Warning: yunohost.hook <lambda> - [902.1] During handling of the above exception, another exception occurred:
Warning: yunohost.hook <lambda> - [902.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 594, in urlopen
Warning: yunohost.hook <lambda> - [902.1]     chunked=chunked)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 350, in _make_request
Warning: yunohost.hook <lambda> - [902.1]     self._validate_conn(conn)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 837, in _validate_conn
Warning: yunohost.hook <lambda> - [902.1]     conn.connect()
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connection.py", line 281, in connect
Warning: yunohost.hook <lambda> - [902.1]     conn = self._new_conn()
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connection.py", line 147, in _new_conn
Warning: yunohost.hook <lambda> - [902.1]     self, "Failed to establish a new connection: %s" % e)
Warning: yunohost.hook <lambda> - [902.1] requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb7e0c5a8d0>: Failed to establish a new connection: [Errno 101] Network is unreachable
Warning: yunohost.hook <lambda> - [902.1] During handling of the above exception, another exception occurred:
Warning: yunohost.hook <lambda> - [902.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [902.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/commands/install.py", line 353, in run
Warning: yunohost.hook <lambda> - [902.1]     wb.build(autobuilding=True)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/wheel.py", line 749, in build
Warning: yunohost.hook <lambda> - [902.1]     self.requirement_set.prepare_files(self.finder)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/req/req_set.py", line 380, in prepare_files
Warning: yunohost.hook <lambda> - [902.1]     ignore_dependencies=self.ignore_dependencies))
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/req/req_set.py", line 487, in _prepare_file
Warning: yunohost.hook <lambda> - [902.1]     req_to_install, finder)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/req/req_set.py", line 428, in _check_skip_installed
Warning: yunohost.hook <lambda> - [902.1]     req_to_install, upgrade_allowed)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/index.py", line 465, in find_requirement
Warning: yunohost.hook <lambda> - [902.1]     all_candidates = self.find_all_candidates(req.name)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/index.py", line 423, in find_all_candidates
Warning: yunohost.hook <lambda> - [902.1]     for page in self._get_pages(url_locations, project_name):
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/index.py", line 568, in _get_pages
Warning: yunohost.hook <lambda> - [902.1]     page = self._get_page(location)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/index.py", line 683, in _get_page
Warning: yunohost.hook <lambda> - [902.1]     return HTMLPage.get_page(link, session=self.session)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/index.py", line 792, in get_page
Warning: yunohost.hook <lambda> - [902.1]     "Cache-Control": "max-age=600",
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
Warning: yunohost.hook <lambda> - [902.1]     return self.request('GET', url, **kwargs)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/lib/python3.5/site-packages/pip/download.py", line 386, in request
Warning: yunohost.hook <lambda> - [902.1]     return super(PipSession, self).request(method, url, *args, **kwargs)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
Warning: yunohost.hook <lambda> - [902.1]     resp = self.send(prep, **send_kwargs)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
Warning: yunohost.hook <lambda> - [902.1]     r = adapter.send(request, **kwargs)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
Warning: yunohost.hook <lambda> - [902.1]     resp = super(CacheControlAdapter, self).send(request, **kw)
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
Warning: yunohost.hook <lambda> - [902.1]     timeout=timeout
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
Warning: yunohost.hook <lambda> - [902.1]     _stacktrace=sys.exc_info()[2])
Warning: yunohost.hook <lambda> - [902.1]   File "/opt/yunohost/pgadmin/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
Warning: yunohost.hook <lambda> - [902.1]     total -= 1
Warning: yunohost.hook <lambda> - [902.1] TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
Warning: yunohost.hook <lambda> - [902.1] !!
Warning: yunohost.hook <lambda> - [902.1]   pgadmin's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [902.1] !!
Info: yunohost.log close - [902.1] The operation 'Install 'pgadmin' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190513-182116-app_install-pgadmin --share'
Error: :  role "pgadmin" does not exist
Warning: yunohost.hook <lambda> - [902.1] /etc/nginx/conf.d/sous.domain.tld.d/pgadmin.conf wasn't deleted because it doesn't exist.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [902.1] /etc/uwsgi/apps-enabled/pgadmin.ini wasn't deleted because it doesn't exist.
Warning:Warning: yunohost.hook <lambda> - [902.1] Failed to restart uwsgi.service: Unit uwsgi.service not found.
Warning: yunohost.app app_install - [902.1] pgadmin has not been properly removed
Info: yunohost.log close - [902.1] The operation 'Remove 'pgadmin' after a failed installation' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190513-182226-remove_on_failed_install-pgadmin --share'
Error: yunohost cli - The operation 'Install 'pgadmin' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190513-182116-app_install-pgadmin --share'
Installation failed...
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 36 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [911.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [911.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [911.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [911.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [911.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
A LXC container is already running.
Working time: 2 seconds.
Working time: 7 seconds.
Change_url script successful. (0)
Warning: yunohost.hook <lambda> - [6189.1] ./_common.sh: line 12: APP_VERSION: unbound variable
Warning: yunohost.hook <lambda> - [6189.1] ./_common.sh: line 13: APP_VERSION: unbound variable
Info:  Reload the service nginx

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path_2
Real url: http://sous.domain.tld/path_2
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) sous.domain.tld/path_2

Test url: sous.domain.tld/path_2/
Real url: http://sous.domain.tld/path_2/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) sous.domain.tld/path_2/

--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.

Preliminary install...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 32 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [910.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [910.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [910.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
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
Change the url from sous.domain.tld/path to sous.domain.tld/...
A LXC container is already running.
Working time: 2 seconds.
Working time: 6 seconds.
Change_url script successful. (0)
Warning: yunohost.hook <lambda> - [6191.1] ./_common.sh: line 12: APP_VERSION: unbound variable
Warning: yunohost.hook <lambda> - [6191.1] ./_common.sh: line 13: APP_VERSION: unbound variable
Info:  Reload the service nginx

Try to access by url...
A LXC container is already running.A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: http://sous.domain.tld/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

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

Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

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

--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 35 seconds.
Installation successful. (0)
Warning: yunohost.service _run_service_command - [190.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_install - [919.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [919.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [919.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [919.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [919.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Change the url from sous.domain.tld/ to domain.tld/path...
A LXC container is already running.
Working time: 2 seconds.
Working time: 7 seconds.
Change_url script successful. (0)
Warning: yunohost.hook <lambda> - [6211.1] ./_common.sh: line 12: APP_VERSION: unbound variable
Warning: yunohost.hook <lambda> - [6211.1] ./_common.sh: line 13: APP_VERSION: unbound variable
Info:  Reload the service nginx

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld/path
Real url: http://domain.tld/path
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) domain.tld/path

Test url: domain.tld/path/
Real url: http://domain.tld/path/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) domain.tld/path/

--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 19 seconds.

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 33 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [913.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [913.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [913.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
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
Change the url from sous.domain.tld/path to domain.tld/path_2...
A LXC container is already running.
Working time: 1 second.
Working time: 7 seconds.
Change_url script successful. (0)
Warning: yunohost.hook <lambda> - [6196.1] ./_common.sh: line 12: APP_VERSION: unbound variable
Warning: yunohost.hook <lambda> - [6196.1] ./_common.sh: line 13: APP_VERSION: unbound variable
Info:  Reload the service nginx

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld/path_2
Real url: http://domain.tld/path_2
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) domain.tld/path_2

Test url: domain.tld/path_2/
Real url: http://domain.tld/path_2/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) domain.tld/path_2/

--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 13 seconds.

Preliminary install...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 31 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [906.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [906.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Reload the service nginx
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
Change the url from sous.domain.tld/path to domain.tld/...
A LXC container is already running.
Working time: 2 seconds.
Working time: 7 seconds.
Change_url script successful. (0)
Warning: yunohost.hook <lambda> - [6186.1] ./_common.sh: line 12: APP_VERSION: unbound variable
Warning: yunohost.hook <lambda> - [6186.1] ./_common.sh: line 13: APP_VERSION: unbound variable
Info:  Reload the service nginx

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld
Real url: http://domain.tld/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) domain.tld/

Test url: domain.tld/
Real url: http://domain.tld/
HTTP code: 502
The HTTP code show an error.
Title of the page: 
Extract of the page:
                               502 Bad Gateway
     __________________________________________________________________

                                    nginx

Resource unreachable (Code 502) domain.tld/

--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 18 minutes, 16 seconds.



Package linter:                  SUCCESS
Installation:                    FAIL
Deleting:                        SUCCESS
Installation in a sub path:      FAIL
Deleting from a sub path:        SUCCESS
Installation on the root:        FAIL
Deleting from root:              SUCCESS
Upgrade:                         FAIL
Installation in private mode:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    Not evaluated.
Malformed path:                  FAIL
Port already used:               Not evaluated.
Backup:                          Not evaluated.
Restore:                         Not evaluated.
Change URL:                      FAIL
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: 29 minutes, 7 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_pgadmin_ynh_complete.log

Mon May 13 18:40:03 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE