FailedConsole Output

[FSTrigger] Triggered by a change to a folder (log)
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/pgadmin_ynh (josue)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins6463365905196150377.sh + /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/josue/data/pgadmin_ynh pgadmin_ynh (josue) Thu Jul 30 21:00:01 UTC 2020 Wait for work starting... . Thu Jul 30 21:00:31 UTC 2020 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: 4 seconds (21:00:08). Disable iptables rules. Disable the network bridge. Pick up the package which will be tested. Test the package /home/yunohost.app/ssh_chroot_directories/josue/data/pgadmin_ynh. 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 (21:00:20). Working time: 5 seconds (21:00:25). Debian GNU/Linux 9 yunohost: repo: stable version: 3.8.5.5 yunohost-admin: repo: stable version: 3.8.3.5 moulinette: repo: stable version: 3.8.1.3 ssowat: repo: stable version: 3.8.0.3 Connection to 10.1.4.2 closed. >> Package linter... [Test 1/6] [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 If you believe this linter returns false negative (warnings / errors which shouldn't happen), please report them on https://github.com/YunoHost/package_linter/issues Analyzing package /home/CI_package_check/dev_CI/../package_check/pgadmin_ynh_check [Loading App] [Manifest] [Misc File Checks] [Helpers Usage] [_Common.Sh Script] [Install Script] ! Please avoid sourcing additional helpers after the official helpers (in this case file ./experimental_helper.sh, ./_common.sh) [Remove Script] ! Please avoid sourcing additional helpers after the official helpers (in this case file ./experimental_helper.sh, ./_common.sh) [Upgrade Script] ! Please avoid sourcing additional helpers after the official helpers (in this case file ./experimental_helper.sh, ./_common.sh) [Backup Script] ! Please avoid sourcing additional helpers after the official helpers (in this case file ../settings/scripts/experimental_helper.sh, ../settings/scripts/_common.sh) [Restore Script] ! Please avoid sourcing additional helpers after the official helpers (in this case file ../settings/scripts/experimental_helper.sh, ../settings/scripts/_common.sh) Still some warnings to be fixed :s --- SUCCESS --- >> Installation in a sub path... [Test 2/6] A LXC container is already running. Working time: 1 second (21:00:29). Working time: 8 minutes, 8 seconds (21:08:37). Installation successful. (0) Info: yunohost.app app_install - [1022.1] Installing pgadmin... Info: [....................] > Validating installation parameters... Info: [+...................] > Defining db password... Info: [#...................] > Storing installation settings... Info: [#+++++..............] > Installing dependencies... Warning: yunohost.hook <lambda> - [1022.1] Extracting templates from packages: 33% Extracting templates from packages: 66% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [1022.1] Adding user postgres to group ssl-cert Warning: yunohost.hook <lambda> - [1022.1] Creating config file /etc/postgresql-common/createcluster.conf with new version Warning: yunohost.hook <lambda> - [1022.1] Creating config file /etc/logrotate.d/postgresql-common with new version Warning: yunohost.hook <lambda> - [1022.1] Building PostgreSQL dictionaries from installed myspell/hunspell packages... Warning: yunohost.hook <lambda> - [1022.1] Removing obsolete dictionary files: Warning: yunohost.hook <lambda> - [1022.1] Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service -> /lib/systemd/system/postgresql.service. Warning: yunohost.hook <lambda> - [1022.1] update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Warning: yunohost.hook <lambda> - [1022.1] Creating config file /etc/default/sysstat with new version Warning: yunohost.hook <lambda> - [1022.1] update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode Warning: yunohost.hook <lambda> - [1022.1] Creating new cluster 9.6/main ... Warning: yunohost.hook <lambda> - [1022.1] config /etc/postgresql/9.6/main Warning: yunohost.hook <lambda> - [1022.1] data /var/lib/postgresql/9.6/main Warning: yunohost.hook <lambda> - [1022.1] locale en_US.UTF-8 Warning: yunohost.hook <lambda> - [1022.1] socket /var/run/postgresql Warning: yunohost.hook <lambda> - [1022.1] port 5432 Warning: yunohost.hook <lambda> - [1022.1] update-alternatives: using /usr/share/postgresql/9.6/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode Info: [######+.............] > Configuring system user... Info: [#######++++++.......] > Installing sources files... Info: [#############+......] > Configuring application... Warning: yunohost.hook <lambda> - [1022.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.service service_add - [6181.1] /! Packagers! Please provide a --test_status when adding oneshot-type services in Yunohost, such that it has a reliable way to check if the service is running or not. Warning: yunohost.hook <lambda> - [1022.1] /! Packagers! Please provide a --test_status when adding oneshot-type services in Yunohost, such that it has a reliable way to check if the service is running or not. Info: [###############+....] > Protecting directory Info: [################....] > Configuring permissions Info: [################+...] > Configuring log rotation... Info: [#################++.] > Starting pgadmin services... Warning: yunohost.hook <lambda> - [1022.1] Please wait, the service uwsgi-app@pgadmin.service is starting.......................................................................................................................................................................................................................................................................................................... Warning: yunohost.hook <lambda> - [1022.1] The service uwsgi-app@pgadmin.service didn't fully executed the action start before the timeout. Warning: yunohost.hook <lambda> - [1022.1] Please find here an extract of the end of the log of the service uwsgi-app@pgadmin.service: Warning: yunohost.hook <lambda> - [1022.1] Jul 30 21:03:10 systemd[1]: Starting pgadmin uWSGI app... Warning: yunohost.hook <lambda> - [1022.1] Jul 30 21:03:10 uwsgi[6314]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/pgadmin.ini Warning: yunohost.hook <lambda> - [1022.1] Jul 30 21:03:23 systemd[1]: Started pgadmin uWSGI app. Warning: yunohost.hook <lambda> - [1022.1] --- Try to access by url... A LXC container is already running. Working time: 1 second (21:08:40). Working time: 7 seconds (21:08:47). A LXC container is already running. Working time: 1 second (21:08:48). Working time: 6 seconds (21:08:54). Public access forced by a skipped_uris to check. Test url: sous.domain.tld/path Real url: http://sous.domain.tld/path HTTP code: 502 The HTTP code show an error. Title of the page: Extract of the page: 502 Bad Gateway __________________________________________________________________ nginx Test url: sous.domain.tld/path/ Real url: http://sous.domain.tld/path/ HTTP code: 502 The HTTP code show an error. Title of the page: Extract of the page: 502 Bad Gateway __________________________________________________________________ nginx --- FAIL --- Deleting... A LXC container is already running. Working time: 1 second (21:08:56). Working time: 23 seconds (21:09:19). Deleting successful. (0) Info: yunohost.app app_remove - [7282.1] Removing pgadmin... Info: [....................] > Loading installation settings... Info: [+...................] > Cleaning the PostgreSQL database... Info: [#++++++++++.........] > Removing dependencies... Warning: yunohost.hook <lambda> - [7282.1] dpkg: warning: while removing uwsgi, directory '/var/log/uwsgi' not empty so not removed Warning: yunohost.hook <lambda> - [7282.1] dpkg: warning: while removing uwsgi, directory '/etc/uwsgi/apps-available' not empty so not removed Info: [###########++++.....] > Removing app main directory... Info: [###############+....] > Removing logrotate configuration... Info: [################+...] > Removing logs... Info: [#################+..] > Removing configuration... Warning: yunohost.hook <lambda> - [7282.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 --- Stop the LXC container Restore the previous snapshot. Working time: 13 seconds (21:09:33). Working time for this test: 9 minutes, 5 seconds (21:09:33). >> Installation on the root... [Test 3/6] Start the LXC container. Create witness files... Working time: 5 seconds (21:09:38). Working time: 8 minutes, 7 seconds (21:17:45). Installation successful. (0) Info: yunohost.app app_install - [906.1] Installing pgadmin... Info: [....................] > Validating installation parameters... Info: [+...................] > Defining db password... Info: [#...................] > Storing installation settings... Info: [#+++++..............] > Installing dependencies... Warning: yunohost.hook <lambda> - [906.1] Extracting templates from packages: 33% Extracting templates from packages: 66% Extracting templates from packages: 100% Warning: yunohost.hook <lambda> - [906.1] Adding user postgres to group ssl-cert Warning: yunohost.hook <lambda> - [906.1] Creating config file /etc/postgresql-common/createcluster.conf with new version Warning: yunohost.hook <lambda> - [906.1] Creating config file /etc/logrotate.d/postgresql-common with new version Warning: yunohost.hook <lambda> - [906.1] Building PostgreSQL dictionaries from installed myspell/hunspell packages... Warning: yunohost.hook <lambda> - [906.1] Removing obsolete dictionary files: Warning: yunohost.hook <lambda> - [906.1] Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service -> /lib/systemd/system/postgresql.service. Warning: yunohost.hook <lambda> - [906.1] update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Warning: yunohost.hook <lambda> - [906.1] Creating config file /etc/default/sysstat with new version Warning: yunohost.hook <lambda> - [906.1] update-alternatives: using /usr/bin/sar.sysstat to provide /usr/bin/sar (sar) in auto mode Warning: yunohost.hook <lambda> - [906.1] Creating new cluster 9.6/main ... Warning: yunohost.hook <lambda> - [906.1] config /etc/postgresql/9.6/main Warning: yunohost.hook <lambda> - [906.1] data /var/lib/postgresql/9.6/main Warning: yunohost.hook <lambda> - [906.1] locale en_US.UTF-8 Warning: yunohost.hook <lambda> - [906.1] socket /var/run/postgresql Warning: yunohost.hook <lambda> - [906.1] port 5432 Warning: yunohost.hook <lambda> - [906.1] update-alternatives: using /usr/share/postgresql/9.6/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode Info: [######+.............] > Configuring system user... Info: [#######++++++.......] > Installing sources files... Info: [#############+......] > Configuring application... 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: [##############......] > Configuring sqlite database... Info: [##############+.....] > Configuring Postgresql database... Warning: yunohost.service service_add - [6059.1] /! Packagers! Please provide a --test_status when adding oneshot-type services in Yunohost, such that it has a reliable way to check if the service is running or not. Warning: yunohost.hook <lambda> - [906.1] /! Packagers! Please provide a --test_status when adding oneshot-type services in Yunohost, such that it has a reliable way to check if the service is running or not. Info: [###############+....] > Protecting directory Info: [################....] > Configuring permissions Info: [################+...] > Configuring log rotation... Info: [#################++.] > Starting pgadmin services... Warning: yunohost.hook <lambda> - [906.1] Please wait, the service uwsgi-app@pgadmin.service is starting.......................................................................................................................................................................................................................................................................................................... Warning: yunohost.hook <lambda> - [906.1] The service uwsgi-app@pgadmin.service didn't fully executed the action start before the timeout. Warning: yunohost.hook <lambda> - [906.1] Please find here an extract of the end of the log of the service uwsgi-app@pgadmin.service: Warning: yunohost.hook <lambda> - [906.1] Jul 30 21:12:18 systemd[1]: Starting pgadmin uWSGI app... Warning: yunohost.hook <lambda> - [906.1] Jul 30 21:12:18 uwsgi[6192]: [uWSGI] getting INI configuration from /etc/uwsgi/apps-available/pgadmin.ini Warning: yunohost.hook <lambda> - [906.1] Jul 30 21:12:31 systemd[1]: Started pgadmin uWSGI app. Warning: yunohost.hook <lambda> - [906.1] --- Try to access by url... A LXC container is already running. Working time: 2 seconds (21:17:49). Working time: 7 seconds (21:17:56). A LXC container is already running. Working time: 2 seconds (21:17:58). Working time: 6 seconds (21:18:04). Public access forced by a skipped_uris to check. Test url: sous.domain.tld Real url: http://sous.domain.tld/ HTTP code: 502 The HTTP code show an error. Title of the page: Extract of the page: 502 Bad Gateway __________________________________________________________________ nginx Test url: sous.domain.tld/ Real url: http://sous.domain.tld/ HTTP code: 502 The HTTP code show an error. Title of the page: Extract of the page: 502 Bad Gateway __________________________________________________________________ nginx --- FAIL --- Deleting... A LXC container is already running. Working time: 2 seconds (21:18:06). Working time: 22 seconds (21:18:28). Deleting successful. (0) Info: yunohost.app app_remove - [7153.1] Removing pgadmin... Info: [....................] > Loading installation settings... Info: [+...................] > Cleaning the PostgreSQL database... Info: [#++++++++++.........] > Removing dependencies... Warning: yunohost.hook <lambda> - [7153.1] dpkg: warning: while removing uwsgi, directory '/var/log/uwsgi' not empty so not removed Warning: yunohost.hook <lambda> - [7153.1] dpkg: warning: while removing uwsgi, directory '/etc/uwsgi/apps-available' not empty so not removed Info: [###########++++.....] > Removing app main directory... Info: [###############+....] > Removing logrotate configuration... Info: [################+...] > Removing logs... Info: [#################+..] > Removing configuration... Warning: yunohost.hook <lambda> - [7153.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 --- Stop the LXC container Restore the previous snapshot. Working time: 15 seconds (21:18:44). Working time for this test: 9 minutes, 11 seconds (21:18:44). >> Upgrade from the same version... [Test 4/6] All installs have failed, impossible to perform this test... Restore the previous snapshot. Working time: 4 seconds (21:18:48). Working time for this test: 4 seconds (21:18:48). >> Backup/Restore... [Test 5/6] All installs have failed, impossible to perform this test... Restore the previous snapshot. Working time: 4 seconds (21:18:52). Working time for this test: 4 seconds (21:18:52). >> Change URL... [Test 6/6] All installs have failed, impossible to perform this test... Restore the previous snapshot. Working time: 4 seconds (21:18:56). Working time for this test: 4 seconds (21:18:56). Package linter: SUCCESS Installation: FAIL Deleting: SUCCESS Installation in a sub path: FAIL Deleting from a sub path: SUCCESS Installation on the root: FAIL Deleting from root: SUCCESS Upgrade: Not evaluated. Installation in private mode: Not evaluated. Installation in public mode: Not evaluated. Multi-instance installations: Not evaluated. Malformed path: Not evaluated. Port already used: Not evaluated. Backup: Not evaluated. Restore: Not evaluated. Change URL: Not evaluated. Actions and config-panel: Not evaluated. Level of this application: 0 (Broken) Level 1: 0 Level 2: 0 Level 3: 0 Level 4: 0 Level 5: 1 Level 6: 1 Level 7: 0 Level 8: 0 Level 9: 0 Level 10: 0 You can find the complete log of these tests in /home/CI_package_check/dev_CI/../package_check/Complete.log Global working time for all tests: 18 minutes, 49 seconds (21:18:57). Disable iptables rules. Disable the network bridge. The complete log for this application was duplicated and is accessible at https://ci-apps-dev.yunohost.org/jenkins/logs/_home_yunohost.app_ssh_chroot_directories_josue_data_pgadmin_ynh_complete.log Thu Jul 30 21:20:03 UTC 2020 Test finished. Build step 'Execute shell' marked build as failure Finished: FAILURE