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

Tue Jun 11 20:57:03 UTC 2019
Wait for work starting...
......
Tue Jun 11 21:00:03 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: 3 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: 2 seconds.
Working time: 2 minutes, 52 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [993.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [993.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [993.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> - [993.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> - [993.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [993.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 ---
Create a snapshot for sub path installation.
Working time: 22 seconds.
Start the LXC container.Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 2 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 19 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1014.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...
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1014.1] Removed /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service.
Warning: yunohost.hook <lambda> - [1014.1] /etc/systemd/system/uwsgi-app@pgadmin.service.d wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1014.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: 1 second.
Working time: 2 minutes, 13 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2837.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> - [2837.1] Cache entry deserialization failed, entry ignored
Info:  [#############.......] > Configuring application...
Warning: yunohost.hook <lambda> - [2837.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/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, .
Working time for this test: 7 minutes, 42 seconds.


>> Installation on the root... [Test 3/7]
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 2 minutes, 52 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [953.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [953.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [953.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> - [953.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> - [953.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [953.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: 2 seconds.
Working time: 4 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/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: 28 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: 1 second.
Working time: 19 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1011.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...
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1011.1] Removed /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service.
Warning: yunohost.hook <lambda> - [1011.1] /etc/systemd/system/uwsgi-app@pgadmin.service.d wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1011.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, 12 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2835.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> - [2835.1] Cache entry deserialization failed, entry ignored
Info:  [#############.......] > Configuring application...
Warning: yunohost.hook <lambda> - [2835.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: 4 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
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, 2 seconds.
Working time for this test: 8 minutes, 1 second.


>> 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: 1 minute, 41 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [974.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 - [1128.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 - [1128.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> - [974.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: 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 ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 20 seconds.
Deleting successful. (0)
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, .
Restore the previous snapshot.
Working time: 52 seconds.
Working time for this test: 4 minutes, 37 seconds.


>> Malformed path... [Test 5/7]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 54 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [905.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#...................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [905.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [905.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> - [905.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> - [905.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [905.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/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, 2 seconds.
Working time for this test: 4 minutes, 25 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..
Create witness files...
Working time: 11 seconds.
Working time: 53 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [970.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [970.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 - [970.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 - [3297.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [3297.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> - [3297.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:  [################....] > 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: 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: 15 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 - [914.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [914.1] Restoring application pgadmin…
Info:  [....................] > Loading settings...
Info:  [....................] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [914.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [914.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> - [914.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [914.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  [############........] > Reconfiguring application...
Warning: yunohost.hook <lambda> - [914.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:  [################....] > 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
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, .

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..
Create witness files...
Working time: 11 seconds.
Working time: 53 seconds.
Backup successful. (0)
Warning: yunohost.hook <lambda> - [977.1] ls: cannot access '/etc/cron.d/yunohost*': No such file or directory
Info: yunohost.backup _collect_app_files - [977.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 - [977.1] Now creating a backup archive from the files collected…
--- SUCCESS ---

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

Restore after removing the application...
A LXC container is already running.A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 7 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [3286.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [3286.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> - [3286.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:  [################....] > Starting pgadmin services...
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: 1 second.
Working time: 4 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: 15 seconds.
Restore the previous snapshot.
Working time: 54 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 46 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [914.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [914.1] Restoring application pgadmin…
Info:  [....................] > Loading settings...
Info:  [....................] > Reinstalling dependencies...
Warning: yunohost.hook <lambda> - [914.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [914.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> - [914.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [914.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Warning: yunohost.hook <lambda> - [914.1] 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:  [################....] > Starting pgadmin services...
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: 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 ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 2 seconds.
Restore the previous snapshot.
Working time: 50 seconds.
Working time for this test: 15 minutes, 46 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: 10 seconds.
Working time: 21 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Restart the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Change of URL 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: 14 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 14 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 20 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Restart the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Change of URL 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: 2 seconds.
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/login?next=%2Fpath_2%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_2/browser/reset_password

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

Test url: sous.domain.tld/path_2/
Real url: http://sous.domain.tld/path_2/login?next=%2Fpath_2%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_2/browser/reset_password

Resource unreachable (Code 302) sous.domain.tld/path_2/
Ressource ignored: sous.domain.tld/robots.txt
Resource unreachable (Code 302) sous.domain.tld/path_2/favicon.ico?ver=40700
Resource unreachable (Code 302) sous.domain.tld/path_2/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: 15 seconds.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 5 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: 20 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Restart the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Change of URL 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
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: 15 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..
Create witness files...
Working time: 10 seconds.
Working time: 21 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Restart the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Change of URL completed for pgadmin

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: 1 second.
Working time: 4 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld/path
Real url: http://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) domain.tld/path

Test url: domain.tld/path/
Real url: http://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) domain.tld/path/
Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 302) domain.tld/path/favicon.ico?ver=40700
Resource unreachable (Code 302) domain.tld/path/browser/browser.css?ver=40700
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: 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.

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 14 seconds.
Change the url from sous.domain.tld/path to domain.tld/path_2...
Start the LXC container..Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 22 seconds.
Change_url script successful. (0)
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Restart the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Change of URL 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: 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/login?next=%2Fpath_2%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_2/browser/reset_password

Resource unreachable (Code 308) domain.tld/path_2

Test url: domain.tld/path_2/
Real url: http://domain.tld/path_2/login?next=%2Fpath_2%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_2/browser/reset_password

Resource unreachable (Code 302) domain.tld/path_2/
Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 302) domain.tld/path_2/favicon.ico?ver=40700
Resource unreachable (Code 302) domain.tld/path_2/browser/browser.css?ver=40700
Ressource moved: domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: 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.

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.
Create witness files...
Working time: 5 seconds.
Working time: 24 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [236.1] Unable to execute command 'systemctl reload fail2ban'
Info:  [....................] > Loading installation settings...
Info:  [#####...............] > Updating configuration...
Info:  Reload the service nginx
Info:  [##########..........] > Reloading services...
Info:  Restart the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.
Info:  [####################] > Change of URL 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: 2 seconds.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: domain.tld
Real url: http://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) domain.tld/
Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 302) domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) domain.tld/ynh_portal.js
Resource unreachable (Code 404) domain.tld/ynh_overlay.css
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_overlay.css

Test url: domain.tld/
Real url: http://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) domain.tld/
Ressource ignored: domain.tld/robots.txt
Resource unreachable (Code 302) domain.tld/favicon.ico?ver=40700
Resource unreachable (Code 302) domain.tld/browser/browser.css?ver=40700
Resource unreachable (Code 404) domain.tld/ynh_portal.js
Resource unreachable (Code 404) domain.tld/ynh_overlay.css
Resource unreachable (Code 404) domain.tld/ynhtheme/custom_portal.js
Resource unreachable (Code 404) 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: 53 seconds.
Working time for this test: 8 minutes, 5 seconds.



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:                      SUCCESS
Level of this application: 7 (Successfully pass functional tests)
	   Level 1: 1
	   Level 2: 1
	   Level 3: 1
	   Level 4: 1
	   Level 5: 1
	   Level 6: 1
	   Level 7: 1
	   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: 48 minutes, 58 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

Tue Jun 11 21:50:07 UTC 2019
Test finished.
Finished: SUCCESS