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

Wed Oct  2 00:33:04 UTC 2019
Wait for work starting...
..............
Wed Oct  2 00:40:05 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: 14 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet

>> YunoHost versions:
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 5 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.6.4.6
yunohost-admin: 
  repo: stable
  version: 3.6.4
moulinette: 
  repo: stable
  version: 3.6.4.1
ssowat: 
  repo: stable
  version: 3.6.4
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: 3 minutes, 1 second.
Installation successful. (0)
Info: yunohost.app app_install - [1007.1] Installing application pgadmin…
Info:  [....................] > Validating installation parameters...
Info:  [+...................] > Defining db password...
Info:  [#...................] > Storing installation settings...
Info:  [#+++++..............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1007.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1007.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> - [1007.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  [##############......] > Configuring sqlite database...
Info:  [##############+.....] > Configuring Postgresql database...
Warning: yunohost.hook <lambda> - [1007.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1007.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  [###############+....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################+...] > Configuring log rotation...
Info:  [#################++.] > Starting pgadmin services...
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: 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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 26 seconds.
Start the LXC container..
Create witness files...
Working time: 12 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 - [1009.1] Removing application pgadmin…
Info:  [....................] > Loading installation settings...
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> - [1009.1] Removed /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service.
Info:  /etc/systemd/system/uwsgi-app@pgadmin.service.d wasn't deleted because it doesn't exist.
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, 17 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2716.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> - [2716.1] Cache entry deserialization failed, entry ignored
Info:  [#############+......] > Configuring application...
Warning: yunohost.hook <lambda> - [2716.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  [##############......] > Configuring sqlite database...
Info:  [##############+.....] > Configuring Postgresql database...
Info:  [###############+....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################+...] > Configuring log rotation...
Info:  [#################++.] > Starting pgadmin services...
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/path
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 31 seconds.
Working time for this test: 7 minutes, 28 seconds.


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

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


--- SUCCESS ---
Create a snapshot for root installation.
Working time: 28 seconds.
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 - [994.1] Removing application pgadmin…
Info:  [....................] > Loading installation settings...
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> - [994.1] Removed /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service.
Info:  /etc/systemd/system/uwsgi-app@pgadmin.service.d wasn't deleted because it doesn't exist.
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, 18 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2701.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> - [2701.1] Cache entry deserialization failed, entry ignored
Info:  [#############+......] > Configuring application...
Warning: yunohost.hook <lambda> - [2701.1] Created symlink /etc/systemd/system/multi-user.target.wants/uwsgi-app@pgadmin.service → /etc/systemd/system/uwsgi-app@.service.
Info:  [##############......] > Configuring sqlite database...
Info:  [##############+.....] > Configuring Postgresql database...
Info:  [###############+....] > Protecting directory
Info:  [################....] > Configuring permissions
Info:  [################+...] > Configuring log rotation...
Info:  [#################++.] > Starting pgadmin services...
Info:  The service uwsgi-app@pgadmin.service has correctly started.

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: 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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 27 seconds.
Working time for this test: 7 minutes, 34 seconds.


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

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

Upgrade...
Start the LXC container..
Create witness files...
Working time: 6 seconds.
Working time: 1 minute, 50 seconds.
Upgrade successful. (0)
Warning: yunohost.service _run_service_command - [205.1] Unable to execute command 'systemctl reload fail2ban'
Info: yunohost.app app_upgrade - [986.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 - [1126.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 - [1126.1] Now creating a backup archive from the files collected…
Info:  [########+...........] > Upgrading dependencies...
Info:  [#########+++++......] > Upgrading source files...
Info:  [##############+.....] > Configuring application...
Info:  /etc/uwsgi/apps-enabled/pgadmin.ini wasn't deleted because it doesn't exist.
Info:  [###############+....] > Protecting directory...
Info:  [################....] > Configuring log rotation...
Info:  [################+++.] > Restarting pgadmin services...
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.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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


--- 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: 27 seconds.
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 3 minutes, 33 seconds.


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

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 25 seconds.
Working time for this test: 3 minutes, 50 seconds.


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

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

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 57 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [981.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 - [981.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: 1 second.
Working time: 1 minute, 9 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [3190.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [3190.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> - [3190.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:  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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 1 minute, 49 seconds.
Restore successful. (0)
Warning: yunohost.service _run_service_command - [214.1] Unable to execute command 'systemctl reload fail2ban'
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
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:  [############+.......] > Reconfiguring application...
Info:  [#############+......] > Protecting directory...
Info:  [##############+.....] > Configuring permissions...
Info:  [###############+....] > Configuring log rotation...
Info:  [################+++.] > Starting pgadmin services...
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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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

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

Backup of the application...
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 57 seconds.
Backup successful. (0)
Info: yunohost.backup _collect_app_files - [965.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 - [965.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, 8 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [3158.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [3158.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> - [3158.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:  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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 18 seconds.
Restore the previous snapshot.
Working time: 19 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, 47 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
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:  [############+.......] > Reconfiguring application...
Info:  [#############+......] > Protecting directory...
Info:  [##############+.....] > Configuring permissions...
Info:  [###############+....] > Configuring log rotation...
Info:  [################+++.] > Starting pgadmin services...
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: 2 seconds.
A LXC container is already running.
Working time: 1 second.
Working time: 3 seconds.
Public access forced by a skipped_uris to check.
Test url: 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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 27 seconds.
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 13 minutes, 3 seconds.


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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 20 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: 20 seconds.
Change_url script successful. (0)
Info:  [+++++...............] > Loading installation settings...
Info:  [#####+++++..........] > Updating configuration...
Info:  [##########+++++.....] > Reloading services...
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/path
Real url: http://sous.domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 20 seconds.
Change the url from sous.domain.tld/path to sous.domain.tld/path_2...
Start the LXC container..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:  [##########+++++.....] > Reloading services...
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: 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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path_2/browser/reset_password


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path_2/browser/reset_password


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 17 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: 6 seconds.
Working time: 23 seconds.
Change_url script successful. (0)
Warning: yunohost.service _run_service_command - [191.1] Unable to execute command 'systemctl reload fail2ban'
Info:  [+++++...............] > Loading installation settings...
Info:  [#####+++++..........] > Updating configuration...
Info:  [##########+++++.....] > Reloading services...
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: 4 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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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

Preliminary install...
Uses an existing snapshot for root installation.
Working time: 18 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:  [##########+++++.....] > Reloading services...
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: domain.tld/path
Real url: http://domain.tld/path/login?next=%2Fpath%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

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


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 18 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: 22 seconds.
Change_url script successful. (0)
Info:  [+++++...............] > Loading installation settings...
Info:  [#####+++++..........] > Updating configuration...
Info:  [##########+++++.....] > Reloading services...
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: 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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path_2/browser/reset_password


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:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///path_2/browser/reset_password


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

Preliminary install...
Uses an existing snapshot for sub path installation.
Working time: 18 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: 10 seconds.
Working time: 21 seconds.
Change_url script successful. (0)
Info:  [+++++...............] > Loading installation settings...
Info:  [#####+++++..........] > Updating configuration...
Info:  [##########+++++.....] > Reloading services...
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: domain.tld
Real url: http://domain.tld/login?next=%2F
HTTP code: 200
Title of the page:  
Extract of the page:

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


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

   Login
   pgAdmin 4
   Login
   ____________________
   ____________________
   (Login) Login
   [1]Forgotten your password?
   [English_____________]

References

   1. file:///browser/reset_password


--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 24 seconds.
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 8 minutes, 56 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: 44 minutes, 43 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

Wed Oct  2 01:26:09 UTC 2019
Test finished.
Finished: SUCCESS