FailedConsole Output

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

Sat Nov  2 12:53:00 UTC 2019
Wait for work starting...
.....
Sat Nov  2 12:55:30 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: Nom du test

>> YunoHost versions:
Start the LXC container..
Create witness files...
Working time: 10 seconds.
Working time: 5 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.6.5.3
yunohost-admin: 
  repo: stable
  version: 3.6.5
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/13]

    [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/seafile_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. 
! [YEP-2.12] You should not need to use 'sudo', the script is being run as root. (If you need to run a command using a specific user, use 'ynh_exec_as') 

 [Remove Script]


 [Upgrade 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. 

 [Backup Script]


 [Restore 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. 
--- SUCCESS ---


>> Installation in a sub path... [Test 2/13]
A LXC container is already running.
Working time: 1 second.
Working time: 2 minutes, 17 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [1025.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1025.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [1025.1] lsblk: /dev/vda1: not a block device
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [1025.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [1025.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [1025.1] mkdir: cannot create directory ‘/opt/yunohost/seafile/ccnet/test__’: Disk quota exceeded
Warning: yunohost.hook <lambda> - [1025.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [1025.1] [ERR] !!
Warning: yunohost.hook <lambda> - [1025.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [1025.1] !!
Warning: yunohost.hook <lambda> - [1025.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - tmpfs            251K    15  251K    1% /sys/fs/cgroup
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - tmpfs            251K    11  251K    1% /run/user/1000
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - + df -h
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - Filesystem      Size  Used Avail Use% Mounted on
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - /dev/vda1        46G   32G   13G  73% /
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - none            492K     0  492K   0% /dev
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - tmpfs          1001M  104K 1001M   1% /dev/shm
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - tmpfs          1001M  8.3M  993M   1% /run
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - tmpfs           5.0M     0  5.0M   0% /run/lock
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - tmpfs          1001M     0 1001M   0% /sys/fs/cgroup
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - tmpfs           201M     0  201M   0% /run/user/1000
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - + ls -la /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - total 20
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - drwx------  3 seafile seafile 4096 Nov  2 12:57 .
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - drwxr-xr-x 11 seafile seafile 4096 Nov  2 12:57 ..
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile 1675 Nov  2 12:57 mykey.peer
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile   31 Nov  2 12:57 seafile.ini
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - drwxr-xr-x  2 root    root    4096 Nov  2 12:57 test1__
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - + grep seafile /etc/passwd
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - seafile:x:999:999::/opt/yunohost/seafile:/usr/sbin/nologin
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [1025.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [1025.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191102-125544-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [1025.1] Traceback (most recent call last):
Info:  [##+.................] > Removing logs...
Warning: yunohost.hook <lambda> - [1025.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [1025.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [1025.1] KeyError: 'skipped_urls'
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [1025.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [1025.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [1025.1] Unknown service 'seafile'
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [1025.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191102-125544-app_install-seafile --share'

Try to access by url...
Test url: sous.domain.tld/path
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aA==
HTTP code: 200
Title of the page: YunoHost Portal
The connection attempt fall on the YunoHost portal.
Test url: sous.domain.tld/path/
Real url: https://domain.tld/yunohost/sso/?r=aHR0cHM6Ly9zb3VzLmRvbWFpbi50bGQvcGF0aC8=
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: 3 seconds.
Deleting failed. (1)
Error: yunohost cli - seafile is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 2 minutes, 44 seconds.


>> Installation on the root... [Test 3/13]
Start the LXC container.
Create witness files...
Working time: 6 seconds.
Working time: 2 minutes, 18 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [915.1] Installing application seafile…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Configuring system user...
Info:  [#+++................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [915.1] 
Extracting templates from packages: 19%
Extracting templates from packages: 39%
Extracting templates from packages: 59%
Extracting templates from packages: 78%
Extracting templates from packages: 98%
Extracting templates from packages: 100%
Warning: yunohost.hook <lambda> - [915.1] lsblk: /dev/vda1: not a block device
Info:  [####+...............] > Cleaning data directory...
Info:  [#####...............] > Creating base directory...
Info:  [#####+++............] > Installing sources files...
Info:  [########............] > Configuring MySQL database...
Info:  [########++..........] > Configuring application...
Info:  [##########+.........] > Configuring a systemd service...
Warning: yunohost.hook <lambda> - [915.1] Created symlink /etc/systemd/system/multi-user.target.wants/seafile.service → /etc/systemd/system/seafile.service.
Warning: yunohost.hook <lambda> - [915.1] Created symlink /etc/systemd/system/multi-user.target.wants/seahub.service → /etc/systemd/system/seahub.service.
Info:  [###########.........] > Configuring nginx...
Warning: yunohost.hook <lambda> - [915.1] mkdir: cannot create directory ‘/opt/yunohost/seafile/ccnet/test__’: Disk quota exceeded
Warning: yunohost.hook <lambda> - [915.1] failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [915.1] [ERR] !!
Warning: yunohost.hook <lambda> - [915.1]   seafile's script has encountered an error. Its execution was cancelled.
Warning: yunohost.hook <lambda> - [915.1] !!
Warning: yunohost.hook <lambda> - [915.1] Please find here an extract of the log before the crash:
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - tmpfs            251K    15  251K    1% /sys/fs/cgroup
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - tmpfs            251K    11  251K    1% /run/user/1000
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - + df -h
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - Filesystem      Size  Used Avail Use% Mounted on
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - /dev/vda1        46G   32G   13G  73% /
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - none            492K     0  492K   0% /dev
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - tmpfs          1001M  104K 1001M   1% /dev/shm
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - tmpfs          1001M  8.3M  993M   1% /run
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - tmpfs           5.0M     0  5.0M   0% /run/lock
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - tmpfs          1001M     0 1001M   0% /sys/fs/cgroup
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - tmpfs           201M     0  201M   0% /run/user/1000
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - + ls -la /opt/yunohost/seafile/ccnet
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - total 20
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - drwx------  3 seafile seafile 4096 Nov  2 13:00 .
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - drwxr-xr-x 11 seafile seafile 4096 Nov  2 13:00 ..
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile 1675 Nov  2 13:00 mykey.peer
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - -rw-r--r--  1 seafile seafile   31 Nov  2 13:00 seafile.ini
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - drwxr-xr-x  2 root    root    4096 Nov  2 13:00 test1__
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - + grep seafile /etc/passwd
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - seafile:x:999:999::/opt/yunohost/seafile:/usr/sbin/nologin
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - + su - seafile -s /bin/bash -c '/opt/yunohost/seafile/seafile-server-7.0.4/seafile.sh start'
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   -
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf
Warning: - failed to run "ccnet-server -t"
Warning: yunohost.hook <lambda> - [915.1] [DEBUG]: DEBUG   - ../common/session.c(226): mkdir /opt/yunohost/seafile/ccnet/misc error+ ynh_exit_properly
Info: yunohost.log close - [915.1] The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191102-125837-app_install-seafile --share'
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [915.1] Traceback (most recent call last):
Info:  [#+..................] > Cleaning SSO configuration...
Warning: yunohost.hook <lambda> - [915.1]   File "../conf/remove_sso_conf.py", line 5, in <module>
Warning: yunohost.hook <lambda> - [915.1]     data["skipped_urls"].remove("/seafhttp")
Warning: yunohost.hook <lambda> - [915.1] KeyError: 'skipped_urls'
Info:  [##+.................] > Removing logs...
Info:  /var/log/seafile wasn't deleted because it doesn't exist.
Info:  [###+................] > Removing code...
Info:  /var/www/seafile wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing user data...
Info:  /tmp/seahub_cache wasn't deleted because it doesn't exist.
Info:  [#####+..............] > Removing databases...
Warning: yunohost.hook <lambda> - [915.1] Removed /etc/systemd/system/multi-user.target.wants/seafile.service.
Info:  [######..............] > Removing systemd units...
Warning: yunohost.hook <lambda> - [915.1] Removed /etc/systemd/system/multi-user.target.wants/seahub.service.
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  [#################+..] > Removing fail2ban configuration...
Info:  /etc/fail2ban/jail.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  /etc/fail2ban/filter.d/seafile.conf wasn't deleted because it doesn't exist.
Info:  [##################+.] > Removing seafile service...
Error: yunohost cli - Unknown service 'seafile'
Warning: yunohost.hook <lambda> - [915.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [915.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install 'seafile' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20191102-125837-app_install-seafile --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: 3 seconds.
Deleting failed. (1)
Error: yunohost cli - seafile is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 15 seconds.
Working time for this test: 2 minutes, 48 seconds.


>> Upgrade from the same version... [Test 4/13]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 seconds.


>> Installation in private mode... [Test 5/13]
All installs have 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 6/13]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 seconds.


>> Malformed path... [Test 7/13]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 4 seconds.


>> Port already used... [Test 8/13]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 seconds.


>> Backup/Restore... [Test 9/13]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 4 seconds.
Working time for this test: 4 seconds.


>> Change URL... [Test 10/13]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 5 seconds.
Working time for this test: 5 seconds.



Package linter:                  SUCCESS
Installation:                    FAIL
Deleting:                        FAIL
Installation in a sub path:      FAIL
Deleting from a sub path:        FAIL
Installation on the root:        FAIL
Deleting from root:              FAIL
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.
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: 6 minutes, 33 seconds.
mail: Cannot parse address `josue@tille.ch
mail: maxime@max.privy.place' (while expanding `josue@tille.ch
mail: maxime@max.privy.place'): Malformed email address
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_seafile_ynh_complete.log

Sat Nov  2 13:03:11 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE