FailedConsole Output

Started from command line by ynhci
Building in workspace /var/lib/jenkins/jobs/pixelfed_ynh (yalh76)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins8051080846852921180.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/yalh76/data/pixelfed_ynh pixelfed_ynh (yalh76)

Thu Apr 11 07:35:02 UTC 2019
Wait for work starting...
............................................................
Thu Apr 11 08:05: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: 6 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 containerStart the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 3 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.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/8]

    [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/pixelfed_ynh_check

 [Loading App]

! /home/CI_package_check/dev_CI/../package_check/pixelfed_ynh_check/scripts/remove : Could not parse this line (No closing quotation) : ynh_psql_execute_as_root "\connect $db_name 
! /home/CI_package_check/dev_CI/../package_check/pixelfed_ynh_check/scripts/remove : Could not parse this line (No closing quotation) : SELECT pg_terminate_backend (pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = '$db_name';" 

 [Misc File Checks]

! The nginx configuration appears vulnerable to path traversal as explained in https://www.acunetix.com/vulnerabilities/web/path-traversal-via-misconfigured-nginx-alias/
To fix it, look at the first lines of the nginx conf of the example app : https://github.com/YunoHost/example_ynh/blob/master/conf/nginx.conf 

 [Sources Management]


 [Manifest]

! Consider adding an 'help' key for argument 'is_public' to explain to the user what it means for *this* app to be public or private :
    "help": {
       "en": "Some explanation"
    } 

 [Install Script]


 [Remove Script]


 [Upgrade Script]


 [Backup Script]


 [Restore Script]

--- SUCCESS ---


>> Installation on the root... [Test 2/8]
A LXC container is already running.
Working time: 2 seconds.
Working time: 2 minutes, 51 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [1002.1] Installing application pixelfed…
Info:  Validating installation parameters...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [1002.1] 
Extracting templates from packages: 73%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1002.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [1002.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [1002.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Warning: yunohost.hook <lambda> - [1002.1] mv: cannot stat '/etc/php/7.0/fpm/pool.d/pixelfed.conf': No such file or directory
Info:  Reload the service php7.2-fpm
Warning: yunohost.hook <lambda> - [1002.1] !!
Warning: yunohost.hook <lambda> - [1002.1]   pixelfed's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1002.1] !!
Info: yunohost.log close - [1002.1] The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-080531-app_install-pixelfed --share'
Info:  Loading installation settings...
Info:  Removing the PostgreSQL database
Warning: yunohost.hook <lambda> - [1002.1] FATAL:  terminating connection due to administrator command
Warning: yunohost.hook <lambda> - [1002.1] server closed the connection unexpectedly
Warning: yunohost.hook <lambda> - [1002.1] 	This probably means the server terminated abnormally
Warning: yunohost.hook <lambda> - [1002.1] 	before or while processing the request.
Warning: yunohost.hook <lambda> - [1002.1] connection to server was lost
Warning: yunohost.hook <lambda> - [1002.1] Removing database pixelfed
Warning: yunohost.hook <lambda> - [1002.1] Removing user pixelfed
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Info:  Removing php-fpm configuration
Warning: yunohost.hook <lambda> - [1002.1] /etc/php/7.2/fpm/pool.d/pixelfed.conf wasn't deleted because it doesn't exist.
Info:  Reload the service php7.2-fpm
Info:  Removing dependencies
Warning: yunohost.hook <lambda> - [1002.1] Reading package lists...
Warning: yunohost.hook <lambda> - [1002.1] Building dependency tree...
Warning: yunohost.hook <lambda> - [1002.1] Reading state information...
Warning: yunohost.hook <lambda> - [1002.1] The following packages will be DOWNGRADED:
Warning: yunohost.hook <lambda> - [1002.1]   libpcre3
Warning: yunohost.hook <lambda> - [1002.1] 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Warning: yunohost.hook <lambda> - [1002.1] Need to get 0 B/337 kB of archives.
Warning: yunohost.hook <lambda> - [1002.1] After this operation, 0 B of additional disk space will be used.
Warning: yunohost.hook <lambda> - [1002.1] dpkg: warning: downgrading libpcre3:amd64 from 2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d to 2:8.39-3
Warning: yunohost.hook <lambda> - [1002.1] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 45611 files and directories currently installed.)
Warning: yunohost.hook <lambda> - [1002.1] Preparing to unpack .../libpcre3_2%3a8.39-3_amd64.deb ...
Warning: yunohost.hook <lambda> - [1002.1] Unpacking libpcre3:amd64 (2:8.39-3) over (2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d) ...
Warning: yunohost.hook <lambda> - [1002.1] Setting up libpcre3:amd64 (2:8.39-3) ...
Warning: yunohost.hook <lambda> - [1002.1] Processing triggers for libc-bin (2.24-11+deb9u4) ...
Warning: yunohost.hook <lambda> - [1002.1] Processing triggers for man-db (2.7.6.1-2) ...
Warning: yunohost.hook <lambda> - [1002.1] /etc/apt/trusted.gpg.d/php.asc wasn't deleted because it doesn't exist.
Info:  Removing app main directory
Warning: yunohost.hook <lambda> - [1002.1] Remove the user pixelfed
Info:  Removing the dedicated system user
Warning: yunohost.hook <lambda> - [1002.1] userdel: user pixelfed is currently used by process 19253
Warning: yunohost.hook <lambda> - [1002.1] /usr/sbin/deluser: `/usr/sbin/userdel pixelfed' returned error code 8. Exiting.
Warning: yunohost.hook <lambda> - [1002.1] Remove the group pixelfed
Warning: yunohost.hook <lambda> - [1002.1] /usr/sbin/delgroup: `pixelfed' still has `pixelfed' as their primary group!
Info:  Start php7.0-fpm
Info:  Removal of pixelfed completed
Error: yunohost cli - The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-080531-app_install-pixelfed --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Deleting failed. (1)
Error: yunohost cli - pixelfed is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Working time for this test: 3 minutes, 16 seconds.


>> Upgrade from the same version... [Test 3/8]

Preliminary install...
Start the LXC container.Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 48 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [907.1] Installing application pixelfed…
Info:  Validating installation parameters...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [907.1] 
Extracting templates from packages: 73%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [907.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [907.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [907.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Warning: yunohost.hook <lambda> - [907.1] mv: cannot stat '/etc/php/7.0/fpm/pool.d/pixelfed.conf': No such file or directory
Info:  Reload the service php7.2-fpm
Warning: yunohost.hook <lambda> - [907.1] !!
Warning: yunohost.hook <lambda> - [907.1]   pixelfed's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [907.1] !!
Info: yunohost.log close - [907.1] The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-080854-app_install-pixelfed --share'
Info:  Loading installation settings...
Info:  Removing the PostgreSQL database
Warning: yunohost.hook <lambda> - [907.1] FATAL:  terminating connection due to administrator command
Warning: yunohost.hook <lambda> - [907.1] server closed the connection unexpectedly
Warning: yunohost.hook <lambda> - [907.1] 	This probably means the server terminated abnormally
Warning: yunohost.hook <lambda> - [907.1] 	before or while processing the request.
Warning: yunohost.hook <lambda> - [907.1] connection to server was lost
Warning: yunohost.hook <lambda> - [907.1] Removing database pixelfed
Warning: yunohost.hook <lambda> - [907.1] Removing user pixelfed
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Info:  Removing php-fpm configuration
Warning: yunohost.hook <lambda> - [907.1] /etc/php/7.2/fpm/pool.d/pixelfed.conf wasn't deleted because it doesn't exist.
Info:  Reload the service php7.2-fpm
Info:  Removing dependencies
Warning: yunohost.hook <lambda> - [907.1] Reading package lists...
Warning: yunohost.hook <lambda> - [907.1] Building dependency tree...
Warning: yunohost.hook <lambda> - [907.1] Reading state information...
Warning: yunohost.hook <lambda> - [907.1] The following packages will be DOWNGRADED:
Warning: yunohost.hook <lambda> - [907.1]   libpcre3
Warning: yunohost.hook <lambda> - [907.1] 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Warning: yunohost.hook <lambda> - [907.1] Need to get 0 B/337 kB of archives.
Warning: yunohost.hook <lambda> - [907.1] After this operation, 0 B of additional disk space will be used.
Warning: yunohost.hook <lambda> - [907.1] dpkg: warning: downgrading libpcre3:amd64 from 2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d to 2:8.39-3
Warning: yunohost.hook <lambda> - [907.1] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 45611 files and directories currently installed.)
Warning: yunohost.hook <lambda> - [907.1] Preparing to unpack .../libpcre3_2%3a8.39-3_amd64.deb ...
Warning: yunohost.hook <lambda> - [907.1] Unpacking libpcre3:amd64 (2:8.39-3) over (2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d) ...
Warning: yunohost.hook <lambda> - [907.1] Setting up libpcre3:amd64 (2:8.39-3) ...
Warning: yunohost.hook <lambda> - [907.1] Processing triggers for libc-bin (2.24-11+deb9u4) ...
Warning: yunohost.hook <lambda> - [907.1] Processing triggers for man-db (2.7.6.1-2) ...
Warning: yunohost.hook <lambda> - [907.1] /etc/apt/trusted.gpg.d/php.asc wasn't deleted because it doesn't exist.
Info:  Removing app main directory
Warning: yunohost.hook <lambda> - [907.1] Remove the user pixelfed
Info:  Removing the dedicated system user
Warning: yunohost.hook <lambda> - [907.1] userdel: user pixelfed is currently used by process 19207
Warning: yunohost.hook <lambda> - [907.1] /usr/sbin/deluser: `/usr/sbin/userdel pixelfed' returned error code 8. Exiting.
Warning: yunohost.hook <lambda> - [907.1] Remove the group pixelfed
Warning: yunohost.hook <lambda> - [907.1] /usr/sbin/delgroup: `pixelfed' still has `pixelfed' as their primary group!
Info:  Start php7.0-fpm
Info:  Removal of pixelfed completed
Error: yunohost cli - The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-080854-app_install-pixelfed --share'

Installation failed...
--- FAIL ---

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 second.
Deleting failed. (1)
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 3 minutes, 24 seconds.


>> Installation in private mode... [Test 4/8]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 4 seconds.


>> Installation in public mode... [Test 5/8]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 seconds.


>> Multi-instance installations... [Test 6/8]
First installation: path=domain.tld
Start the LXC container.
Create witness files...
Working time: 5 seconds.
Working time: 2 minutes, 49 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [914.1] Installing application pixelfed…
Info:  Validating installation parameters...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [914.1] 
Extracting templates from packages: 73%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [914.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a 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:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Warning: yunohost.hook <lambda> - [914.1] mv: cannot stat '/etc/php/7.0/fpm/pool.d/pixelfed.conf': No such file or directory
Info:  Reload the service php7.2-fpm
Warning: yunohost.hook <lambda> - [914.1] !!
Warning: yunohost.hook <lambda> - [914.1]   pixelfed's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [914.1] !!
Info: yunohost.log close - [914.1] The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-081225-app_install-pixelfed --share'
Info:  Loading installation settings...
Info:  Removing the PostgreSQL database
Warning: yunohost.hook <lambda> - [914.1] FATAL:  terminating connection due to administrator command
Warning: yunohost.hook <lambda> - [914.1] server closed the connection unexpectedly
Warning: yunohost.hook <lambda> - [914.1] 	This probably means the server terminated abnormally
Warning: yunohost.hook <lambda> - [914.1] 	before or while processing the request.
Warning: yunohost.hook <lambda> - [914.1] connection to server was lost
Warning: yunohost.hook <lambda> - [914.1] Removing database pixelfed
Warning: yunohost.hook <lambda> - [914.1] Removing user pixelfed
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Info:  Removing php-fpm configuration
Warning: yunohost.hook <lambda> - [914.1] /etc/php/7.2/fpm/pool.d/pixelfed.conf wasn't deleted because it doesn't exist.
Info:  Reload the service php7.2-fpm
Info:  Removing dependencies
Warning: yunohost.hook <lambda> - [914.1] Reading package lists...
Warning: yunohost.hook <lambda> - [914.1] Building dependency tree...
Warning: yunohost.hook <lambda> - [914.1] Reading state information...
Warning: yunohost.hook <lambda> - [914.1] The following packages will be DOWNGRADED:
Warning: yunohost.hook <lambda> - [914.1]   libpcre3
Warning: yunohost.hook <lambda> - [914.1] 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Warning: yunohost.hook <lambda> - [914.1] Need to get 0 B/337 kB of archives.
Warning: yunohost.hook <lambda> - [914.1] After this operation, 0 B of additional disk space will be used.
Warning: yunohost.hook <lambda> - [914.1] dpkg: warning: downgrading libpcre3:amd64 from 2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d to 2:8.39-3
Warning: yunohost.hook <lambda> - [914.1] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 45611 files and directories currently installed.)
Warning: yunohost.hook <lambda> - [914.1] Preparing to unpack .../libpcre3_2%3a8.39-3_amd64.deb ...
Warning: yunohost.hook <lambda> - [914.1] Unpacking libpcre3:amd64 (2:8.39-3) over (2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d) ...
Warning: yunohost.hook <lambda> - [914.1] Setting up libpcre3:amd64 (2:8.39-3) ...
Warning: yunohost.hook <lambda> - [914.1] Processing triggers for libc-bin (2.24-11+deb9u4) ...
Warning: yunohost.hook <lambda> - [914.1] Processing triggers for man-db (2.7.6.1-2) ...
Warning: yunohost.hook <lambda> - [914.1] /etc/apt/trusted.gpg.d/php.asc wasn't deleted because it doesn't exist.
Info:  Removing app main directory
Warning: yunohost.hook <lambda> - [914.1] Remove the user pixelfed
Info:  Removing the dedicated system user
Warning: yunohost.hook <lambda> - [914.1] userdel: user pixelfed is currently used by process 19167
Warning: yunohost.hook <lambda> - [914.1] /usr/sbin/deluser: `/usr/sbin/userdel pixelfed' returned error code 8. Exiting.
Warning: yunohost.hook <lambda> - [914.1] Remove the group pixelfed
Warning: yunohost.hook <lambda> - [914.1] /usr/sbin/delgroup: `pixelfed' still has `pixelfed' as their primary group!
Info:  Start php7.0-fpm
Info:  Removal of pixelfed completed
Error: yunohost cli - The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-081225-app_install-pixelfed --share'
Second installation: path=sous.domain.tld
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 41 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [27130.1] Installing application pixelfed…
Info:  Validating installation parameters...
Info:  Installing dependencies...
Info:  Creating a PostgreSQL database...
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Info:  Reload the service php7.2-fpm
Warning: yunohost.hook <lambda> - [27130.1] Job for php7.2-fpm.service failed because a fatal signal was delivered to the control process.
Warning: yunohost.hook <lambda> - [27130.1] See "systemctl status php7.2-fpm.service" and "journalctl -xe" for details.
Warning: yunohost.hook <lambda> - [27130.1] !!
Warning: yunohost.hook <lambda> - [27130.1]   pixelfed's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [27130.1] !!
Info: yunohost.log close - [27130.1] The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-081516-app_install-pixelfed --share'
Info:  Loading installation settings...
Info:  Removing the PostgreSQL database
Warning: yunohost.hook <lambda> - [27130.1] FATAL:  terminating connection due to administrator command
Warning: yunohost.hook <lambda> - [27130.1] server closed the connection unexpectedly
Warning: yunohost.hook <lambda> - [27130.1] 	This probably means the server terminated abnormally
Warning: yunohost.hook <lambda> - [27130.1] 	before or while processing the request.
Warning: yunohost.hook <lambda> - [27130.1] connection to server was lost
Warning: yunohost.hook <lambda> - [27130.1] Removing database pixelfed
Warning: yunohost.hook <lambda> - [27130.1] Removing user pixelfed
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [27130.1] php7.2-fpm.service is not active, cannot reload.
Info:  Removing php-fpm configuration
Warning: yunohost.hook <lambda> - [27130.1] /etc/php/7.2/fpm/pool.d/pixelfed.conf wasn't deleted because it doesn't exist.
Info:  Reload the service php7.2-fpm
Info:  Removing dependencies
Warning: yunohost.hook <lambda> - [27130.1] Reading package lists...
Warning: yunohost.hook <lambda> - [27130.1] Building dependency tree...
Warning: yunohost.hook <lambda> - [27130.1] Reading state information...
Warning: yunohost.hook <lambda> - [27130.1] The following packages will be DOWNGRADED:
Warning: yunohost.hook <lambda> - [27130.1]   libpcre3
Warning: yunohost.hook <lambda> - [27130.1] 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Warning: yunohost.hook <lambda> - [27130.1] Need to get 0 B/337 kB of archives.
Warning: yunohost.hook <lambda> - [27130.1] After this operation, 0 B of additional disk space will be used.
Warning: yunohost.hook <lambda> - [27130.1] dpkg: warning: downgrading libpcre3:amd64 from 2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d to 2:8.39-3
Warning: yunohost.hook <lambda> - [27130.1] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 45611 files and directories currently installed.)
Warning: yunohost.hook <lambda> - [27130.1] Preparing to unpack .../libpcre3_2%3a8.39-3_amd64.deb ...
Warning: yunohost.hook <lambda> - [27130.1] Unpacking libpcre3:amd64 (2:8.39-3) over (2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d) ...
Warning: yunohost.hook <lambda> - [27130.1] Setting up libpcre3:amd64 (2:8.39-3) ...
Warning: yunohost.hook <lambda> - [27130.1] Processing triggers for libc-bin (2.24-11+deb9u4) ...
Warning: yunohost.hook <lambda> - [27130.1] Processing triggers for man-db (2.7.6.1-2) ...
Warning: yunohost.hook <lambda> - [27130.1] /etc/apt/trusted.gpg.d/php.asc wasn't deleted because it doesn't exist.
Info:  Removing app main directory
Warning: yunohost.hook <lambda> - [27130.1] Remove the user pixelfed
Info:  Removing the dedicated system user
Warning: yunohost.hook <lambda> - [27130.1] userdel: user pixelfed is currently used by process 3386
Warning: yunohost.hook <lambda> - [27130.1] /usr/sbin/deluser: `/usr/sbin/userdel pixelfed' returned error code 8. Exiting.
Warning: yunohost.hook <lambda> - [27130.1] Remove the group pixelfed
Warning: yunohost.hook <lambda> - [27130.1] /usr/sbin/delgroup: `pixelfed' still has `pixelfed' as their primary group!
Info:  Start php7.0-fpm
Info:  Removal of pixelfed completed
Error: yunohost cli - The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-081516-app_install-pixelfed --share'

Try to access by url...
Test url: domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9kb21haW4udGxkLw==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 4 minutes, 58 seconds.


>> Malformed path... [Test 7/8]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 2 minutes, 49 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [901.1] Installing application pixelfed…
Info:  Validating installation parameters...
Info:  Installing dependencies...
Warning: yunohost.hook <lambda> - [901.1] 
Extracting templates from packages: 73%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [901.1] /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
Info:  Creating a PostgreSQL database...
Warning: yunohost.hook <lambda> - [901.1] Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
Warning: yunohost.hook <lambda> - [901.1] Executing: /lib/systemd/systemd-sysv-install enable postgresql
Info:  Configuring nginx web server...
Info:  Reload the service nginx
Info:  Configuring system user...
Info:  Configuring php-fpm...
Warning: yunohost.hook <lambda> - [901.1] mv: cannot stat '/etc/php/7.0/fpm/pool.d/pixelfed.conf': No such file or directory
Info:  Reload the service php7.2-fpm
Warning: yunohost.hook <lambda> - [901.1] !!
Warning: yunohost.hook <lambda> - [901.1]   pixelfed's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [901.1] !!
Info: yunohost.log close - [901.1] The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-081726-app_install-pixelfed --share'
Info:  Loading installation settings...
Info:  Removing the PostgreSQL database
Warning: yunohost.hook <lambda> - [901.1] FATAL:  terminating connection due to administrator command
Warning: yunohost.hook <lambda> - [901.1] server closed the connection unexpectedly
Warning: yunohost.hook <lambda> - [901.1] 	This probably means the server terminated abnormally
Warning: yunohost.hook <lambda> - [901.1] 	before or while processing the request.
Warning: yunohost.hook <lambda> - [901.1] connection to server was lost
Warning: yunohost.hook <lambda> - [901.1] Removing database pixelfed
Warning: yunohost.hook <lambda> - [901.1] Removing user pixelfed
Info:  Removing nginx web server configuration
Info:  Reload the service nginx
Info:  Removing php-fpm configuration
Warning: yunohost.hook <lambda> - [901.1] /etc/php/7.2/fpm/pool.d/pixelfed.conf wasn't deleted because it doesn't exist.
Info:  Reload the service php7.2-fpm
Info:  Removing dependencies
Warning: yunohost.hook <lambda> - [901.1] Reading package lists...
Warning: yunohost.hook <lambda> - [901.1] Building dependency tree...
Warning:Warning: yunohost.hook <lambda> - [901.1] Reading state information...
Warning: yunohost.hook <lambda> - [901.1] The following packages will be DOWNGRADED:
Warning: yunohost.hook <lambda> - [901.1]   libpcre3
Warning: yunohost.hook <lambda> - [901.1] 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Warning: yunohost.hook <lambda> - [901.1] Need to get 0 B/337 kB of archives.
Warning: yunohost.hook <lambda> - [901.1] After this operation, 0 B of additional disk space will be used.
Warning: yunohost.hook <lambda> - [901.1] dpkg: warning: downgrading libpcre3:amd64 from 2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d to 2:8.39-3
Warning: yunohost.hook <lambda> - [901.1] (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 45611 files and directories currently installed.)
Warning: yunohost.hook <lambda> - [901.1] Preparing to unpack .../libpcre3_2%3a8.39-3_amd64.deb ...
Warning: yunohost.hook <lambda> - [901.1] Unpacking libpcre3:amd64 (2:8.39-3) over (2:8.42-1+0~20190203125157.5+stretch~1.gbp79d75d) ...
Warning: yunohost.hook <lambda> - [901.1] Setting up libpcre3:amd64 (2:8.39-3) ...
Warning: yunohost.hook <lambda> - [901.1] Processing triggers for libc-bin (2.24-11+deb9u4) ...
Warning: yunohost.hook <lambda> - [901.1] Processing triggers for man-db (2.7.6.1-2) ...
Warning: yunohost.hook <lambda> - [901.1] /etc/apt/trusted.gpg.d/php.asc wasn't deleted because it doesn't exist.
Info:  Removing app main directory
Warning: yunohost.hook <lambda> - [901.1] Remove the user pixelfed
Info:  Removing the dedicated system user
Warning: yunohost.hook <lambda> - [901.1] userdel: user pixelfed is currently used by process 19154
Warning: yunohost.hook <lambda> - [901.1] /usr/sbin/deluser: `/usr/sbin/userdel pixelfed' returned error code 8. Exiting.
Warning: yunohost.hook <lambda> - [901.1] Remove the group pixelfed
Warning: yunohost.hook <lambda> - [901.1] /usr/sbin/delgroup: `pixelfed' still has `pixelfed' as their primary group!
Info:  Start php7.0-fpm
Info:  Removal of pixelfed completed
Error: yunohost cli - The operation 'Install 'pixelfed' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190411-081726-app_install-pixelfed --share'

Try to access by url...
Test url: sous.domain.tld
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQv
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 3 minutes, 15 seconds.


>> Backup/Restore... [Test 8/8]
Root install failed, impossible to perform this test...
Sub path install failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 4 seconds.



Package linter:                  SUCCESS
Installation:                    FAIL
Deleting:                        FAIL
Installation in a sub path:      Not evaluated.
Deleting from a sub path:        Not evaluated.
Installation on the root:        FAIL
Deleting from root:              FAIL
Upgrade:                         FAIL
Installation in private mode:    Not evaluated.
Installation in public mode:     Not evaluated.
Multi-instance installations:    FAIL
Malformed path:                  FAIL
Port already used:               Not evaluated.
Backup:                          Not evaluated.
Restore:                         Not evaluated.
Change URL:                      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: 15 minutes, 22 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_yalh76_data_pixelfed_ynh_complete.log

Thu Apr 11 08:21:05 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE