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

Fri Jun  7 21:53:10 UTC 2019
Wait for work starting...
....
Fri Jun  7 21:55:10 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: 49 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: 10 seconds.
Working time: 2 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. 

 [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: 1 second.
Working time: 2 minutes, 53 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [974.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [974.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [974.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  [######..............] > Configuring system user...
Info:  [#######.............] > Installing sources files...
Info:  [#############.......] > Configuring application...
Warning: yunohost.hook <lambda> - [974.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  Reload the service nginx
Info:  [##############......] > Configuring sqlite database...
Info:  [##############......] > Configuring Postgresql database...
Warning: yunohost.hook <lambda> - [974.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [974.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################....] > Configuring log rotation...
Info:  [#################...] > Starting pgadmin services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Installation of pgadmin completed

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 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/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

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

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/path/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/path/browser/browser.css?ver=40700
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/static/img/drop_cascade.svg
The previous resource is redirected to the YunoHost portal

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

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 20 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1016.1] Removing application pgadmin…
Info:  [....................] > Loading installation settings...
Info:  Stop the service uwsgi-app@pgadmin.service
Info:  [....................] > Cleaning the PostgreSQL database
Info:  [#...................] > Removing dependencies
Info:  [###########.........] > Removing app main directory
Info:  [###############.....] > Removing logrotate configuration
Info:  [################....] > Removing logs
Info:  [#################...] > Removing configuration
Warning: yunohost.hook <lambda> - [1016.1] Removed /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service.
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1016.1] /etc/systemd/system/uwsgi-app@pgadmin.service.d wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1016.1] Remove the user pgadmin
Info:  [##################..] > Removing the dedicated system user
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 30 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2833.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Info:  [######..............] > Configuring system user...
Info:  [#######.............] > Installing sources files...
Warning: yunohost.hook <lambda> - [2833.1] Cache entry deserialization failed, entry ignored
Info:  [#############.......] > Configuring application...
Warning: yunohost.hook <lambda> - [2833.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  Reload the service nginx
Info:  [##############......] > Configuring sqlite database...
Info:  [##############......] > Configuring Postgresql database...
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################....] > Configuring log rotation...
Info:  [#################...] > Starting pgadmin services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 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: sous.domain.tld/path
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

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

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/path/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/path/browser/browser.css?ver=40700
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/static/img/drop_cascade.svg
The previous resource is redirected to the YunoHost portal

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


>> Installation on the root... [Test 3/7]
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 54 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [908.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [908.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [908.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  [######..............] > Configuring system user...
Info:  [#######.............] > Installing sources files...
Info:  [#############.......] > Configuring application...
Warning: yunohost.hook <lambda> - [908.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  Reload the service nginx
Info:  [##############......] > Configuring sqlite database...
Info:  [##############......] > Configuring Postgresql database...
Warning: yunohost.hook <lambda> - [908.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [908.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################....] > Configuring log rotation...
Info:  [#################...] > Starting pgadmin services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

--- SUCCESS ---
Create a snapshot for root installation.
Working time: 24 seconds.
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 2 seconds.

Deleting...
A LXC container is already running.
Working time: 1 second.
Working time: 19 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [998.1] Removing application pgadmin…
Info:  [....................] > Loading installation settings...
Info:  Stop the service uwsgi-app@pgadmin.service
Info:  [....................] > Cleaning the PostgreSQL database
Info:  [#...................] > Removing dependencies
Info:Info:  [###############.....] > Removing logrotate configuration
Info:  [################....] > Removing logs
Info:  [#################...] > Removing configuration
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [998.1] Removed /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service.
Warning: yunohost.hook <lambda> - [998.1] /etc/systemd/system/uwsgi-app@pgadmin.service.d wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [998.1] Remove the user pgadmin
Info:  [##################..] > Removing the dedicated system user
Info:  [####################] > Removal of pgadmin completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 9 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2814.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [2814.1] E: The repository 'http://httpredir.debian.org/debian stretch Release' does no longer have a Release file.
Info:  [######..............] > Configuring system user...
Info:  [#######.............] > Installing sources files...
Warning: yunohost.hook <lambda> - [2814.1] Cache entry deserialization failed, entry ignored
Info:  [#############.......] > Configuring application...
Warning: yunohost.hook <lambda> - [2814.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  Reload the service nginx
Info:  [##############......] > Configuring sqlite database...
Info:  [##############......] > Configuring Postgresql database...
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################....] > Configuring log rotation...
Info:  [#################...] > Starting pgadmin services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Installation of pgadmin completed

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 3 seconds.
Working time for this test: 7 minutes, 49 seconds.


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

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

Upgrade...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 54 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [968.1] Now upgrading app pgadmin…
Info:  [....................] > Loading installation settings...
Info:  [....................] > Backing up the app before upgrading (may take a while)...
Info: yunohost.backup _collect_app_files - [1114.1] Collecting files to be backuped for pgadmin…
Info:  [....................] > Loading installation settings...
Warning: yunohost.hook <lambda> - [1114.1] /opt/yunohost/pgadmin will not be saved, because backup_core_only is set.
Info:  [###.................] > Backing up the main app directory...
Info:  [######..............] > Backing configuration...
Warning: yunohost.hook <lambda> - [968.1] 1872 /opt/yunohost/pgadmin will not be saved, because backup_core_only is set.
Info:  [##########..........] > Backing up data...
Info:  [#############.......] > Backing up log...
Info: yunohost.backup backup_create - [1114.1] Now creating a backup archive from the files collected…
Info:  Stop the service uwsgi-app@pgadmin.service
Info:  [########............] > Upgrading dependencies...
Info:  [#########...........] > Upgrading source files...
Info:  [##############......] > Configuring application...
Info:  Reload the service nginx
Info:  [###############.....] > Protecting directory
Warning: yunohost.hook <lambda> - [968.1] /usr/share/yunohost/helpers.d/backend: line 52: [: -n : integer expression expected
Info:  [################....] > Configuring log rotation...
Info:  [################....] > Restarting pgadmin services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Upgrade of pgadmin completed

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

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

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/path/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/path/browser/browser.css?ver=40700
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/static/img/drop_cascade.svg
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---

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


>> Malformed path... [Test 5/7]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 50 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [924.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [924.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [924.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  [######..............] > Configuring system user...
Info:  [#######.............] > Installing sources files...
Info:  [#############.......] > Configuring application...
Warning: yunohost.hook <lambda> - [924.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  Reload the service nginx
Info:  [##############......] > Configuring sqlite database...
Info:  [##############......] > Configuring Postgresql database...
Warning: yunohost.hook <lambda> - [924.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [924.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################....] > Configuring log rotation...
Info:  [#################...] > Starting pgadmin services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Installation of pgadmin completed

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

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

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/path/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/path/browser/browser.css?ver=40700
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/static/img/drop_cascade.svg
The previous resource is redirected to the YunoHost portal

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


>> Backup/Restore... [Test 6/7]

Preliminary installation on the root...
Uses an existing snapshot for root installation.
Working time: 18 seconds.

Backup of the application...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 53 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [960.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [960.1] Collecting files to be backuped for pgadmin…
Info:  [....................] > Loading installation settings...
Info:  [###.................] > Backing up the main app directory...
Info:  [######..............] > Backing configuration...
Info:  [##########..........] > Backing up data...
Info:  [#############.......] > Backing up log...
Info: yunohost.backup backup_create - [960.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 6 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [3252.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [3252.1] Restoring application pgadmin…
Info:  [....................] > Loading settings...
Info:  [#...................] > Reinstalling dependencies...
Info:  [######..............] > Recreating the dedicated system user...
Info:  [#######.............] > Restoring files...
Info:  [#############.......] > Reconfiguring Postgresql database...
Warning: yunohost.hook <lambda> - [3252.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  [##############......] > Reconfiguring application...
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [#################...] > Configuring log rotation...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Restore the previous snapshot.
Working time: 55 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 1 minute, 47 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [919.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [919.1] Restoring application pgadmin…
Info:  [....................] > Loading settings...
Info:  [#...................] > Reinstalling dependencies...
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:  [######..............] > Recreating the dedicated system user...
Info:  [#######.............] > Restoring files...
Info:  [#############.......] > Reconfiguring Postgresql database...
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
Info:  [##############......] > Reconfiguring application...
Warning: yunohost.hook <lambda> - [919.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [#################...] > Configuring log rotation...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

Test url: sous.domain.tld/
Real url: http://sous.domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) sous.domain.tld/ynh_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynh_overlay.css
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) sous.domain.tld/ynhtheme/custom_overlay.css

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 7 seconds.

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

Backup of the application...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 54 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [984.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [984.1] Collecting files to be backuped for pgadmin…
Info:  [....................] > Loading installation settings...
Info:  [###.................] > Backing up the main app directory...
Info:  [######..............] > Backing configuration...
Info:  [##########..........] > Backing up data...
Info:  [#############.......] > Backing up log...
Info: yunohost.backup backup_create - [984.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 6 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [3307.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [3307.1] Restoring application pgadmin…
Info:  [....................] > Loading settings...
Info:  [#...................] > Reinstalling dependencies...
Info:  [######..............] > Recreating the dedicated system user...
Info:  [#######.............] > Restoring files...
Info:  [#############.......] > Reconfiguring Postgresql database...
Info:  [##############......] > Reconfiguring application...
Warning: yunohost.hook <lambda> - [3307.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [#################...] > Configuring log rotation...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Restoration completed for pgadmin

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 4 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

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

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/path/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/path/browser/browser.css?ver=40700
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/static/img/drop_cascade.svg
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Restore the previous snapshot.
Working time: 54 seconds.

Restore on a clean YunoHost system...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 45 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [918.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [918.1] Restoring application pgadmin…
Info:  [....................] > Loading settings...
Info:  [#...................] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [918.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [918.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  [######..............] > Recreating the dedicated system user...
Info:  [#######.............] > Restoring files...
Info:  [#############.......] > Reconfiguring Postgresql database...
Warning: yunohost.hook <lambda> - [918.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [918.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  [##############......] > Reconfiguring application...
Warning: yunohost.hook <lambda> - [918.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  [###############.....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [#################...] > Configuring log rotation...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Restoration completed for pgadmin

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 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: sous.domain.tld/path
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

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

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Please log in to access this page. (BUTTON) ×
   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path/browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/path/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/path/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/path/browser/browser.css?ver=40700
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/static/img/drop_cascade.svg
The previous resource is redirected to the YunoHost portal

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 1 second.
Restore the previous snapshot.
Working time: 49 seconds.
Working time for this test: 15 minutes, 47 seconds.


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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 18 seconds.
Change the url from sous.domain.tld/ to sous.domain.tld/path...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 9 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 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: sous.domain.tld/path
Real url: http://sous.domain.tld/path
HTTP code: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

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

Test url: sous.domain.tld/path/
Real url: http://sous.domain.tld/path/
HTTP code: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

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

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 13 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 5 minutes, 11 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Start the service uwsgi-app@pgadmin.service
Warning: yunohost.hook <lambda> - [973.1] Please wait, the service uwsgi-app@pgadmin.service is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [973.1] [WARN] The service uwsgi-app@pgadmin.service didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [973.1] [WARN] Please find here an extract of the end of the log of the service uwsgi-app@pgadmin.service:
Warning: yunohost.hook <lambda> - [973.1] -- Logs begin at Fri 2019-06-07 22:37:18 UTC, end at Fri 2019-06-07 22:39:01 UTC. --
Warning: yunohost.hook <lambda> - [973.1] Jun 07 22:37:18 pchecker_lxc systemd[1]: Starting pgadmin uWSGI app...
Warning: yunohost.hook <lambda> - [973.1] Jun 07 22:37:18 pchecker_lxc uwsgi[115]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/pgadmin.ini
Warning: yunohost.hook <lambda> - [973.1] Jun 07 22:37:36 pchecker_lxc systemd[1]: Started pgadmin uWSGI app.
Warning: yunohost.hook <lambda> - [973.1] --
Warning: yunohost.hook <lambda> - [973.1] your processes number limit is 7789
Warning: yunohost.hook <lambda> - [973.1] your memory page size is 4096 bytes
Warning: yunohost.hook <lambda> - [973.1] detected max file descriptor number: 1024
Warning: yunohost.hook <lambda> - [973.1] lock engine: pthread robust mutexes
Warning: yunohost.hook <lambda> - [973.1] thunder lock: disabled (you can enable it with --thunder-lock)
Warning: yunohost.hook <lambda> - [973.1] uwsgi socket 0 bound to UNIX address /var/run/pgadmin/app.socket fd 4
Warning: yunohost.hook <lambda> - [973.1] Python version: 3.5.3 (default, Sep 27 2018, 17:25:39)  [GCC 6.3.0 20170516]
Warning: yunohost.hook <lambda> - [973.1] PEP 405 virtualenv detected: /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [973.1] Set PythonHome to /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [973.1] *** Python threads support is disabled. You can enable it with --enable-threads ***
Warning: yunohost.hook <lambda> - [973.1] Python main interpreter initialized at 0x5608778e8d30
Warning: yunohost.hook <lambda> - [973.1] your server socket listen backlog is limited to 100 connections
Warning: yunohost.hook <lambda> - [973.1] your mercy for graceful operations on workers is 60 seconds
Warning: yunohost.hook <lambda> - [973.1] mapped 145536 bytes (142 KB) for 1 cores
Warning: yunohost.hook <lambda> - [973.1] *** Operational MODE: single process ***
Warning: yunohost.hook <lambda> - [973.1] added /opt/yunohost/pgadmin/ to pythonpath.
Warning: yunohost.hook <lambda> - [973.1] mounting pgAdmin4.py on /path
Warning: yunohost.hook <lambda> - [973.1] WSGI app 0 (mountpoint='/path') ready in 18 seconds on interpreter 0x5608778e8d30 pid: 115 (default app)
Warning: yunohost.hook <lambda> - [973.1] spawned uWSGI master process (pid: 115)
Warning: yunohost.hook <lambda> - [973.1] spawned uWSGI worker 1 (pid: 1324, cores: 1)

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 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: sous.domain.tld/path_2
Real url: http://sous.domain.tld/path_2
HTTP code: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

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

Test url: sous.domain.tld/path_2/
Real url: http://sous.domain.tld/path_2/
HTTP code: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

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

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 6 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 9 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Change of URL completed for pgadmin [00h00m,01s]

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: 2 seconds.
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: 200
Title of the page: Welcome to nginx!
Extract of the page:
                               Welcome to nginx!

   If you see this page, the nginx web server is successfully installed
   and working. Further configuration is required.

   For online documentation and support please refer to [1]nginx.org.
   Commercial support is available at [2]nginx.com.

   Thank you for using nginx.

References

   1. http://nginx.org/
   2. http://nginx.com/


Test url: sous.domain.tld/
Real url: http://sous.domain.tld/
HTTP code: 200
Title of the page: Welcome to nginx!
Extract of the page:
                               Welcome to nginx!

   If you see this page, the nginx web server is successfully installed
   and working. Further configuration is required.

   For online documentation and support please refer to [1]nginx.org.
   Commercial support is available at [2]nginx.com.

   Thank you for using nginx.

References

   1. http://nginx.org/
   2. http://nginx.com/


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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 14 seconds.
Change the url from sous.domain.tld/ to domain.tld/path...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 12 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Start the service uwsgi-app@pgadmin.service
Warning: yunohost.hook <lambda> - [968.1] Please wait, the service uwsgi-app@pgadmin.service is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [968.1] [WARN] The service uwsgi-app@pgadmin.service didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [968.1] [WARN] Please find here an extract of the end of the log of the service uwsgi-app@pgadmin.service:
Warning: yunohost.hook <lambda> - [968.1] -- Logs begin at Fri 2019-06-07 22:44:12 UTC, end at Fri 2019-06-07 22:45:01 UTC. --
Warning: yunohost.hook <lambda> - [968.1] Jun 07 22:44:12 pchecker_lxc systemd[1]: Starting pgadmin uWSGI app...
Warning: yunohost.hook <lambda> - [968.1] Jun 07 22:44:12 pchecker_lxc uwsgi[93]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/pgadmin.ini
Warning: yunohost.hook <lambda> - [968.1] Jun 07 22:44:30 pchecker_lxc systemd[1]: Started pgadmin uWSGI app.
Warning: yunohost.hook <lambda> - [968.1] --
Warning: yunohost.hook <lambda> - [968.1] your processes number limit is 7789
Warning: yunohost.hook <lambda> - [968.1] your memory page size is 4096 bytes
Warning: yunohost.hook <lambda> - [968.1] detected max file descriptor number: 1024
Warning: yunohost.hook <lambda> - [968.1] lock engine: pthread robust mutexes
Warning: yunohost.hook <lambda> - [968.1] thunder lock: disabled (you can enable it with --thunder-lock)
Warning: yunohost.hook <lambda> - [968.1] uwsgi socket 0 bound to UNIX address /var/run/pgadmin/app.socket fd 4
Warning: yunohost.hook <lambda> - [968.1] Python version: 3.5.3 (default, Sep 27 2018, 17:25:39)  [GCC 6.3.0 20170516]
Warning: yunohost.hook <lambda> - [968.1] PEP 405 virtualenv detected: /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [968.1] Set PythonHome to /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [968.1] *** Python threads support is disabled. You can enable it with --enable-threads ***
Warning: yunohost.hook <lambda> - [968.1] Python main interpreter initialized at 0x55f90067fd30
Warning: yunohost.hook <lambda> - [968.1] your server socket listen backlog is limited to 100 connections
Warning: yunohost.hook <lambda> - [968.1] your mercy for graceful operations on workers is 60 seconds
Warning: yunohost.hook <lambda> - [968.1] mapped 145536 bytes (142 KB) for 1 cores
Warning: yunohost.hook <lambda> - [968.1] *** Operational MODE: single process ***
Warning: yunohost.hook <lambda> - [968.1] added /opt/yunohost/pgadmin/ to pythonpath.
Warning: yunohost.hook <lambda> - [968.1] mounting pgAdmin4.py on /
Warning: yunohost.hook <lambda> - [968.1] WSGI app 0 (mountpoint='/') ready in 18 seconds on interpreter 0x55f90067fd30 pid: 93 (default app)
Warning: yunohost.hook <lambda> - [968.1] spawned uWSGI master process (pid: 93)
Warning: yunohost.hook <lambda> - [968.1] spawned uWSGI worker 1 (pid: 1303, cores: 1)
Info:  [####################] > Change of URL completed for pgadmin [00h05m,03s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 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
Real url: http://domain.tld/path
HTTP code: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

Resource unreachable (Code 404) domain.tld/path

Test url: domain.tld/path/
Real url: http://domain.tld/path/
HTTP code: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

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

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 15 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 5 minutes, 12 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Start the service uwsgi-app@pgadmin.service
Warning: yunohost.hook <lambda> - [968.1] Please wait, the service uwsgi-app@pgadmin.service is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [968.1] [WARN] The service uwsgi-app@pgadmin.service didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [968.1] [WARN] Please find here an extract of the end of the log of the service uwsgi-app@pgadmin.service:
Warning: yunohost.hook <lambda> - [968.1] -- Logs begin at Fri 2019-06-07 22:50:18 UTC, end at Fri 2019-06-07 22:55:01 UTC. --
Warning: yunohost.hook <lambda> - [968.1] Jun 07 22:50:19 pchecker_lxc systemd[1]: Starting pgadmin uWSGI app...
Warning: yunohost.hook <lambda> - [968.1] Jun 07 22:50:19 pchecker_lxc uwsgi[95]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/pgadmin.ini
Warning: yunohost.hook <lambda> - [968.1] Jun 07 22:50:36 pchecker_lxc systemd[1]: Started pgadmin uWSGI app.
Warning: yunohost.hook <lambda> - [968.1] --
Warning: yunohost.hook <lambda> - [968.1] your processes number limit is 7789
Warning: yunohost.hook <lambda> - [968.1] your memory page size is 4096 bytes
Warning: yunohost.hook <lambda> - [968.1] detected max file descriptor number: 1024
Warning: yunohost.hook <lambda> - [968.1] lock engine: pthread robust mutexes
Warning: yunohost.hook <lambda> - [968.1] thunder lock: disabled (you can enable it with --thunder-lock)
Warning: yunohost.hook <lambda> - [968.1] uwsgi socket 0 bound to UNIX address /var/run/pgadmin/app.socket fd 4
Warning: yunohost.hook <lambda> - [968.1] Python version: 3.5.3 (default, Sep 27 2018, 17:25:39)  [GCC 6.3.0 20170516]
Warning: yunohost.hook <lambda> - [968.1] PEP 405 virtualenv detected: /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [968.1] Set PythonHome to /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [968.1] *** Python threads support is disabled. You can enable it with --enable-threads ***
Warning: yunohost.hook <lambda> - [968.1] Python main interpreter initialized at 0x561feeb45d30
Warning: yunohost.hook <lambda> - [968.1] your server socket listen backlog is limited to 100 connections
Warning: yunohost.hook <lambda> - [968.1] your mercy for graceful operations on workers is 60 seconds
Warning: yunohost.hook <lambda> - [968.1] mapped 145536 bytes (142 KB) for 1 cores
Warning: yunohost.hook <lambda> - [968.1] *** Operational MODE: single process ***
Warning: yunohost.hook <lambda> - [968.1] added /opt/yunohost/pgadmin/ to pythonpath.
Warning: yunohost.hook <lambda> - [968.1] mounting pgAdmin4.py on /path
Warning: yunohost.hook <lambda> - [968.1] WSGI app 0 (mountpoint='/path') ready in 17 seconds on interpreter 0x561feeb45d30 pid: 95 (default app)
Warning: yunohost.hook <lambda> - [968.1] spawned uWSGI master process (pid: 95)
Warning: yunohost.hook <lambda> - [968.1] spawned uWSGI worker 1 (pid: 1259, cores: 1)
Info:  [####################] > Change of URL completed for pgadmin [00h05m,04s]

Try to access by url...
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
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: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

Resource unreachable (Code 404) domain.tld/path_2

Test url: domain.tld/path_2/
Real url: http://domain.tld/path_2/
HTTP code: 404
The HTTP code show an error.
Title of the page: 404 Not Found
Extract of the page:
                                   Not Found

   The requested URL was not found on the server. If you entered the URL
   manually please check your spelling and try again.

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

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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 6 seconds.
Change the url from sous.domain.tld/path to domain.tld/...
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 5 minutes, 12 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Start the service uwsgi-app@pgadmin.service
Warning: yunohost.hook <lambda> - [961.1] Please wait, the service uwsgi-app@pgadmin.service is starting..........................................................................................................................................................................................................................................................................................................
Warning: yunohost.hook <lambda> - [961.1] [WARN] The service uwsgi-app@pgadmin.service didn't fully started before the timeout.
Warning: yunohost.hook <lambda> - [961.1] [WARN] Please find here an extract of the end of the log of the service uwsgi-app@pgadmin.service:
Warning: yunohost.hook <lambda> - [961.1] -- Logs begin at Fri 2019-06-07 22:56:15 UTC, end at Fri 2019-06-07 22:56:33 UTC. --
Warning: yunohost.hook <lambda> - [961.1] Jun 07 22:56:15 pchecker_lxc systemd[1]: Starting pgadmin uWSGI app...
Warning: yunohost.hook <lambda> - [961.1] Jun 07 22:56:15 pchecker_lxc uwsgi[124]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/pgadmin.ini
Warning: yunohost.hook <lambda> - [961.1] Jun 07 22:56:33 pchecker_lxc systemd[1]: Started pgadmin uWSGI app.
Warning: yunohost.hook <lambda> - [961.1] --
Warning: yunohost.hook <lambda> - [961.1] your processes number limit is 7789
Warning: yunohost.hook <lambda> - [961.1] your memory page size is 4096 bytes
Warning: yunohost.hook <lambda> - [961.1] detected max file descriptor number: 1024
Warning: yunohost.hook <lambda> - [961.1] lock engine: pthread robust mutexes
Warning: yunohost.hook <lambda> - [961.1] thunder lock: disabled (you can enable it with --thunder-lock)
Warning: yunohost.hook <lambda> - [961.1] uwsgi socket 0 bound to UNIX address /var/run/pgadmin/app.socket fd 4
Warning: yunohost.hook <lambda> - [961.1] Python version: 3.5.3 (default, Sep 27 2018, 17:25:39)  [GCC 6.3.0 20170516]
Warning: yunohost.hook <lambda> - [961.1] PEP 405 virtualenv detected: /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [961.1] Set PythonHome to /opt/yunohost/pgadmin
Warning: yunohost.hook <lambda> - [961.1] *** Python threads support is disabled. You can enable it with --enable-threads ***
Warning: yunohost.hook <lambda> - [961.1] Python main interpreter initialized at 0x5624597a2d30
Warning: yunohost.hook <lambda> - [961.1] your server socket listen backlog is limited to 100 connections
Warning: yunohost.hook <lambda> - [961.1] your mercy for graceful operations on workers is 60 seconds
Warning: yunohost.hook <lambda> - [961.1] mapped 145536 bytes (142 KB) for 1 cores
Warning: yunohost.hook <lambda> - [961.1] *** Operational MODE: single process ***
Warning: yunohost.hook <lambda> - [961.1] added /opt/yunohost/pgadmin/ to pythonpath.
Warning: yunohost.hook <lambda> - [961.1] mounting pgAdmin4.py on /path
Warning: yunohost.hook <lambda> - [961.1] WSGI app 0 (mountpoint='/path') ready in 18 seconds on interpreter 0x5624597a2d30 pid: 124 (default app)
Warning: yunohost.hook <lambda> - [961.1] spawned uWSGI master process (pid: 124)
Warning: yunohost.hook <lambda> - [961.1] spawned uWSGI worker 1 (pid: 1298, cores: 1)
Info:  [####################] > Change of URL completed for pgadmin [00h05m,04s]

Try to access by url...
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld
Real url: http://domain.tld/
HTTP code: 200
Title of the page: Welcome to nginx!
Extract of the page:
                               Welcome to nginx!

   If you see this page, the nginx web server is successfully installed
   and working. Further configuration is required.

   For online documentation and support please refer to [1]nginx.org.
   Commercial support is available at [2]nginx.com.

   Thank you for using nginx.

References

   1. http://nginx.org/
   2. http://nginx.com/


Test url: domain.tld/
Real url: http://domain.tld/
HTTP code: 200
Title of the page: Welcome to nginx!
Extract of the page:
                               Welcome to nginx!

   If you see this page, the nginx web server is successfully installed
   and working. Further configuration is required.

   For online documentation and support please refer to [1]nginx.org.
   Commercial support is available at [2]nginx.com.

   Thank you for using nginx.

References

   1. http://nginx.org/
   2. http://nginx.com/


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 16 seconds.
Restore the previous snapshot.
Working time: 55 seconds.
Working time for this test: 27 minutes, 1 second.



Package linter:                  SUCCESS
Installation:                    SUCCESS
Deleting:                        SUCCESS
Installation in a sub path:      SUCCESS
Deleting from a sub path:        SUCCESS
Installation on the root:        SUCCESS
Deleting from root:              SUCCESS
Upgrade:                         SUCCESS
Installation in private mode:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    Not evaluated.
Malformed path:                  SUCCESS
Port already used:               Not evaluated.
Backup:                          SUCCESS
Restore:                         SUCCESS
Change URL:                      FAIL
Level of this application: 6 (Open to contributions from the community)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 1
	   Level 4: 1
	   Level 5: 1
	   Level 6: 1
	   Level 7: 0
	   Level 8: 0
	   Level 9: 0
	   Level 10: 0
You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log
Global working time for all tests: 1 hour, 7 minutes, 4 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

Fri Jun  7 23:03:06 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE