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

Sat Apr 11 13:58:00 UTC 2020
Wait for work starting...
.....
Sat Apr 11 14:00:30 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: 5 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: 5 seconds.
Working time: 6 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.7.1
yunohost-admin: 
  repo: stable
  version: 3.7.1.1
moulinette: 
  repo: stable
  version: 3.7.1
ssowat: 
  repo: stable
  version: 3.7.1
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

 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/seafile_ynh_check

 [Loading App]


 [Manifest]


 [Misc File Checks]


 [Helpers Usage]


 [_Common.Sh Script]


 [Install Script]

! [YEP-2.12] You should avoid using 'sed -i' for substitutions, please use 'ynh_replace_string' instead 
! 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]

! [YEP-2.12] You should avoid using 'sed -i' for substitutions, please use 'ynh_replace_string' instead 
! 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/13]
A LXC container is already running.
Working time: 2 seconds.
Working time: 1 minute, 36 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [1063.1] Installing the app 'seafile'…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Creating base directory...
Info:  [#+..................] > Configuring system user...
Info:  [##+++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1063.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> - [1063.1] lsblk: /dev/vda1: not a block device
Warning: yunohost.hook <lambda> - [1063.1] Exception:
Warning: yunohost.hook <lambda> - [1063.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [1063.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 360, in run
Warning: yunohost.hook <lambda> - [1063.1]     prefix=options.prefix_path,
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 784, in install
Warning: yunohost.hook <lambda> - [1063.1]     **kwargs
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 851, in install
Warning: yunohost.hook <lambda> - [1063.1]     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files
Warning: yunohost.hook <lambda> - [1063.1]     isolated=self.isolated,
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 345, in move_wheel_files
Warning: yunohost.hook <lambda> - [1063.1]     clobber(source, lib_dir, True)
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 323, in clobber
Warning: yunohost.hook <lambda> - [1063.1]     shutil.copyfile(srcfile, destfile)
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/shutil.py", line 84, in copyfile
Warning: yunohost.hook <lambda> - [1063.1]     copyfileobj(fsrc, fdst)
Warning: yunohost.hook <lambda> - [1063.1]   File "/usr/lib/python2.7/shutil.py", line 52, in copyfileobj
Warning: yunohost.hook <lambda> - [1063.1]     fdst.write(buf)
Warning: yunohost.hook <lambda> - [1063.1] IOError: [Errno 122] Disk quota exceeded
Error: yunohost.app app_install - [1063.1] Could not install seafile: An error occurred inside the app installation script
Info: yunohost.log close - [1063.1] The operation 'Install the 'seafile' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200411-140032-app_install-seafile --share' to get help
Warning: yunohost.app dump_app_log_extract_for_debugging - [1063.1] Here's an extract of the logs before the crash. It might help debugging the error:
Warning: - Traceback (most recent call last):
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: -     status = self.run(options, args)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 360, in run
Warning: -     prefix=options.prefix_path,
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 784, in install
Warning: -     **kwargs
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 851, in install
Warning: -     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files
Warning: -     isolated=self.isolated,
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 345, in move_wheel_files
Warning: -     clobber(source, lib_dir, True)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 323, in clobber
Warning: -     shutil.copyfile(srcfile, destfile)
Warning: -   File "/usr/lib/python2.7/shutil.py", line 84, in copyfile
Warning: -     copyfileobj(fsrc, fdst)
Warning: -   File "/usr/lib/python2.7/shutil.py", line 52, in copyfileobj
Warning: -     fdst.write(buf)
Warning: - IOError: [Errno 122] Disk quota exceeded
Info: yunohost.app dump_app_log_extract_for_debugging - [1063.1] DEBUG - + ynh_exit_properly
Warning: yunohost.app app_install - [1063.1] Removing the app following the installation failure…
Info:  [....................] > Loading installation settings...
Warning: yunohost.hook <lambda> - [1063.1] Failed to stop seafile.service: Unit seafile.service not loaded.
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [1063.1] -- No entries --
Warning: yunohost.hook <lambda> - [1063.1] Failed to stop seahub.service: Unit seahub.service not loaded.
Warning: yunohost.hook <lambda> - [1063.1] -- No entries --
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...
Warning: yunohost.hook <lambda> - [1063.1] [WARN] Database ccnetdb not found
Info:  '/home/yunohost.app/seafile-data' wasn't deleted because it doesn't exist.
Info:  '/tmp/seahub_cache' wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing databases...
Warning: yunohost.hook <lambda> - [1063.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [1063.1] [WARN] Database seahubdb not found
Info:  [#####+..............] > Removing systemd units...
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  '/etc/nginx/conf.d/sous.domain.tld.d/seafile.conf' wasn't deleted because it doesn't exist.
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> - [1063.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [1063.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install the 'seafile' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200411-140032-app_install-seafile --share' to get help

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: 4 seconds.
Deleting failed. (1)
Error: yunohost cli - Could not find the app 'seafile' in the list of installed apps:
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 20 seconds.
Working time for this test: 2 minutes, 7 seconds.


>> Installation on the root... [Test 3/13]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 1 minute, 35 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [923.1] Installing the app 'seafile'…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Finding available ports...
Info:  [+...................] > Storing installation settings...
Info:  [#...................] > Creating base directory...
Info:  [#+..................] > Configuring system user...
Info:  [##+++...............] > Installing dependencies...
Warning: yunohost.hook <lambda> - [923.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> - [923.1] lsblk: /dev/vda1: not a block device
Warning: yunohost.hook <lambda> - [923.1] Exception:
Warning: yunohost.hook <lambda> - [923.1] Traceback (most recent call last):
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: yunohost.hook <lambda> - [923.1]     status = self.run(options, args)
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 360, in run
Warning: yunohost.hook <lambda> - [923.1]     prefix=options.prefix_path,
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 784, in install
Warning: yunohost.hook <lambda> - [923.1]     **kwargs
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 851, in install
Warning: yunohost.hook <lambda> - [923.1]     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files
Warning: yunohost.hook <lambda> - [923.1]     isolated=self.isolated,
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 345, in move_wheel_files
Warning: yunohost.hook <lambda> - [923.1]     clobber(source, lib_dir, True)
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 323, in clobber
Warning: yunohost.hook <lambda> - [923.1]     shutil.copyfile(srcfile, destfile)
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/shutil.py", line 84, in copyfile
Warning: yunohost.hook <lambda> - [923.1]     copyfileobj(fsrc, fdst)
Warning: yunohost.hook <lambda> - [923.1]   File "/usr/lib/python2.7/shutil.py", line 52, in copyfileobj
Warning: yunohost.hook <lambda> - [923.1]     fdst.write(buf)
Warning: yunohost.hook <lambda> - [923.1] IOError: [Errno 122] Disk quota exceeded
Error: yunohost.app app_install - [923.1] Could not install seafile: An error occurred inside the app installation script
Info: yunohost.log close - [923.1] The operation 'Install the 'seafile' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200411-140247-app_install-seafile --share' to get help
Warning: yunohost.app dump_app_log_extract_for_debugging - [923.1] Here's an extract of the logs before the crash. It might help debugging the error:
Warning: - Traceback (most recent call last):
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
Warning: -     status = self.run(options, args)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 360, in run
Warning: -     prefix=options.prefix_path,
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 784, in install
Warning: -     **kwargs
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 851, in install
Warning: -     self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1064, in move_wheel_files
Warning: -     isolated=self.isolated,
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 345, in move_wheel_files
Warning: -     clobber(source, lib_dir, True)
Warning: -   File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 323, in clobber
Warning: -     shutil.copyfile(srcfile, destfile)
Warning: -   File "/usr/lib/python2.7/shutil.py", line 84, in copyfile
Warning: -     copyfileobj(fsrc, fdst)
Warning: -   File "/usr/lib/python2.7/shutil.py", line 52, in copyfileobj
Warning: -     fdst.write(buf)
Warning: - IOError: [Errno 122] Disk quota exceeded
Info: yunohost.app dump_app_log_extract_for_debugging - [923.1] DEBUG - + ynh_exit_properly
Warning: yunohost.app app_install - [923.1] Removing the app following the installation failure…
Info:  [....................] > Loading installation settings...
Info:  [+...................] > Stoping services...
Warning: yunohost.hook <lambda> - [923.1] Failed to stop seafile.service: Unit seafile.service not loaded.
Warning: yunohost.hook <lambda> - [923.1] -- No entries --
Warning: yunohost.hook <lambda> - [923.1] Failed to stop seahub.service: Unit seahub.service not loaded.
Warning: yunohost.hook <lambda> - [923.1] -- No entries --
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:  '/home/yunohost.app/seafile-data' wasn't deleted because it doesn't exist.
Info:  '/tmp/seahub_cache' wasn't deleted because it doesn't exist.
Info:  [####+...............] > Removing databases...
Warning: yunohost.hook <lambda> - [923.1] [WARN] Database ccnetdb not found
Warning: yunohost.hook <lambda> - [923.1] [WARN] Database seafiledb not found
Warning: yunohost.hook <lambda> - [923.1] [WARN] Database seahubdb not found
Info:  [#####+..............] > Removing systemd units...
Info:  [######+.............] > Removing the dedicated system user...
Info:  [#######+++++++++....] > Removing dependencies
Info:  [################+...] > Removing nginx configuration...
Info:  '/etc/nginx/conf.d/sous.domain.tld.d/seafile.conf' wasn't deleted because it doesn't exist.
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> - [923.1] Unknown service 'seafile'
Error: yunohost cli - Unknown service 'seahub'
Warning: yunohost.hook <lambda> - [923.1] Unknown service 'seahub'
Info:  [####################] > Removal of seafile completed
Error: yunohost cli - The operation 'Install the 'seafile' app' could not be completed. Please share the full log of this operation using the command 'yunohost log display 20200411-140247-app_install-seafile --share' to get help

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 - Could not find the app 'seafile' in the list of installed apps:
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 14 seconds.
Working time for this test: 2 minutes, 9 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: 4 seconds.
Working time for this test: 4 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: 5 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: 4 seconds.
Working time for this test: 4 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.
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: 5 minutes, 5 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 https://ci-apps-dev.yunohost.org/jenkins/logs/_home_yunohost.app_ssh_chroot_directories_josue_data_seafile_ynh_complete.log

Sat Apr 11 14:06:11 UTC 2020
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE