FailedConsole Output

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

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

Tests serie: Test complet

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


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

    [YunoHost App Package Linter]

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

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

 [Loading App]


 [Misc File Checks]


 [Sources Management]


 [Manifest]


 [Install Script]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'rm').
This system modification is an issue if a verification exit the script.
You should move this verification before any system modification. 
! Please add a few messages for the user, to explain what is going on (in friendly, not-too-technical terms) during the installation. You can use 'ynh_print_info' or 'ynh_script_progression' for this. 

 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/7]
A LXC container is already running.
Working time: 1 second.
Working time: 2 minutes, 53 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1038.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [1038.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1038.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [1038.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
Warning: yunohost.hook <lambda> - [1038.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1038.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Error: :  syntax error at or near "psql"
Warning: yunohost.hook <lambda> - [1038.1] LINE 1: psql -c"CREATE USER pgadmin WITH PASSWORD 'nW0TBAzJmzDXImhhr...
Warning: yunohost.hook <lambda> - [1038.1]         ^
Error: :  syntax error at or near "postgres"
Warning: yunohost.hook <lambda> - [1038.1] LINE 1: postgres
Warning: yunohost.hook <lambda> - [1038.1]         ^
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.

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

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

References

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

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

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

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

References

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

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

--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 1 minute, 11 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: 17 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1007.1] Removing application pgadmin…
Info:  Stop the service uwsgi-app@pgadmin.service
Error: :  role "pgadmin" does not exist
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1007.1] /etc/uwsgi/apps-enabled/pgadmin.ini wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1007.1] Remove the user pgadmin
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 1 second.
Working time: 2 minutes, 14 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2582.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [2582.1] Cache entry deserialization failed, entry ignored
Info:  Reload the service nginx
Error: :  syntax error at or near "psql"
Warning: yunohost.hook <lambda> - [2582.1] LINE 1: psql -c"CREATE USER pgadmin WITH PASSWORD '85iEZ1KaF5rgwLEJB...
Warning: yunohost.hook <lambda> - [2582.1]         ^
Error: :  syntax error at or near "postgres"
Warning: yunohost.hook <lambda> - [2582.1] LINE 1: postgres
Warning: yunohost.hook <lambda> - [2582.1]         ^
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: 2 seconds.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 seconds.
Public access forced by a skipped_uris to check.
Test url: sous.domain.tld/path
Real url: http://sous.domain.tld/path/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, 4 seconds.
Working time for this test: 8 minutes, 31 seconds.


>> Installation on the root... [Test 3/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 - [906.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [906.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [906.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [906.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
Warning: yunohost.hook <lambda> - [906.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [906.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Error: :  syntax error at or near "psql"
Warning: yunohost.hook <lambda> - [906.1] LINE 1: psql -c"CREATE USER pgadmin WITH PASSWORD 'K9CeY2EZiSMH3h6R1...
Warning: yunohost.hook <lambda> - [906.1]         ^
Error: :  syntax error at or near "postgres"
Warning: yunohost.hook <lambda> - [906.1] LINE 1: postgres
Warning: yunohost.hook <lambda> - [906.1]         ^
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 ---
Create a snapshot for root installation.
Working time: 1 minute, 15 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: 17 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1062.1] Removing application pgadmin…
Info:  Stop the service uwsgi-app@pgadmin.service
Error: :  role "pgadmin" does not exist
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1062.1] /etc/uwsgi/apps-enabled/pgadmin.ini wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [1062.1] Remove the user pgadmin
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 13 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [2637.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [2637.1] Cache entry deserialization failed, entry ignored
Info:  Reload the service nginx
Error: :  syntax error at or near "psql"
Warning: yunohost.hook <lambda> - [2637.1] LINE 1: psql -c"CREATE USER pgadmin WITH PASSWORD 'lXRsfQcTMzk2sD3jk...
Warning: yunohost.hook <lambda> - [2637.1]         ^
Error: :  syntax error at or near "postgres"
Warning: yunohost.hook <lambda> - [2637.1] LINE 1: postgres
Warning: yunohost.hook <lambda> - [2637.1]         ^
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, 3 seconds.
Working time for this test: 8 minutes, 46 seconds.


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

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

Upgrade...
Start the LXC container..
Create witness files...
Working time: 11 seconds.
Working time: 1 minute, 39 seconds.
Upgrade successful. (0)
Info: yunohost.app app_upgrade - [971.1] Now upgrading app pgadmin…
Info: yunohost.backup _collect_app_files - [1064.1] Collecting files to be backuped for pgadmin…
Info: yunohost.backup backup_create - [1064.1] Now creating a backup archive from the files collected…
Info:  Stop the service uwsgi-app@pgadmin.service
Info:  Reload the service nginx
Info:  Start the service uwsgi-app@pgadmin.service
Info:  The service uwsgi-app@pgadmin.service has correctly started.

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

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

References

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

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

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

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

References

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

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

--- SUCCESS ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 17 seconds.
Deleting successful. (0)
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: 4 minutes, 33 seconds.


>> Malformed path... [Test 5/7]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 53 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [909.1] Installing application pgadmin…
Warning: yunohost.hook <lambda> - [909.1] 
Extracting templates from packages: 37%
Extracting templates from packages: 75%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [909.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Warning: yunohost.hook <lambda> - [909.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
Warning: yunohost.hook <lambda> - [909.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [909.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Error: :  syntax error at or near "psql"
Warning: yunohost.hook <lambda> - [909.1] LINE 1: psql -c"CREATE USER pgadmin WITH PASSWORD 'iUgDI13ObHVHSCxfK...
Warning: yunohost.hook <lambda> - [909.1]         ^
Error: :  syntax error at or near "postgres"
Warning: yunohost.hook <lambda> - [909.1] LINE 1: postgres
Warning: yunohost.hook <lambda> - [909.1]         ^
Info:  Start the service uwsgi-app@pgadmin.service

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

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

References

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

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

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

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

References

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

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

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


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

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

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

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

Restore after removing the application...
A LXC container is already running.
Working time: 1 second.
Working time: 1 minute, 4 seconds.
Restore successful. (0)
Info: yunohost.backup backup_restore - [2847.1] Preparing archive for restoration…
Info: yunohost.backup _restore_app - [2847.1] Restoring application pgadmin…
Error: :  syntax error at or near "psql"
Warning: yunohost.hook <lambda> - [2847.1] LINE 1: psql -c"CREATE USER pgadmin WITH PASSWORD 'K9CeY2EZiSMH3h6R1...
Warning: yunohost.hook <lambda> - [2847.1]         ^
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: 2 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: 53 seconds.

Restore on a clean YunoHost system...
Start the LXC container.
Create witness files...
Working time: 10 seconds.
!!! Timeout reached (180 min). !!!
!!! Package check was too long, its execution was aborted. !!! (PCHECK_AVORTED)
> Arrêt de package_check
> Arrêt du conteneur
Arrêt du conteneur pchecker_lxc
VORTED)

Thu Jun  6 00:23:10 UTC 2019
Test finished.
!!! Package check was too long, its execution was aborted. !!! (PCHECK_AVORTED)
Build step 'Execute shell' marked build as failure
Finished: FAILURE