FailedConsole Output

Started by user Jimbo Joe
Building in workspace /var/lib/jenkins/jobs/gitlab_ynh (Kay0u)/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins8189158382486942172.sh
+ /home/CI_package_check/analyseCI.sh /home/yunohost.app/ssh_chroot_directories/Kay0u/data/gitlab_ynh gitlab_ynh (Kay0u)

Mon Jul 29 05:22:18 UTC 2019
Wait for work starting...
......
Mon Jul 29 05:25:18 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: 21 seconds.
Disable iptables rules.
Disable the network bridge.
Pick up the package which will be tested.
Initialize network for LXC.
RTNETLINK answers: File exists
ifup: failed to bring up lxc-pchecker
Activate iptables rules.
Parsing of check_process file

Tests serie: Test complet

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


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

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

 [Loading App]

Some lines could not be parsed in script install. (That's probably not really critical)
? No closing quotation : echo "newuser = User.new({ \"email\"=>'$mailadmin', \"username\"=>'$admin', \"name\"=>'$admin', \"password\"=>'$rdmPass'}) 
? No closing quotation : ApplicationSetting.last.update_attributes(password_authentication_enabled_for_web: $use_web_account, signup_enabled: $use_web_account)" | gitlab-rails console 

 [Misc File Checks]


 [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]

? [YEP-2.4] 'ynh_die' or 'exit' command is executed with system modification before (cmd 'find').
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]

--- SUCCESS ---


>> Installation in a sub path... [Test 2/10]
A LXC container is already running.
Working time: 2 seconds.
Working time: 5 minutes, 42 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [968.1] Installing application gitlab…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Storing installation settings...
Info:  [....................] > Find internal port...
Info:  [....................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [968.1] lsblk: /dev/vda1: not a block device
Info:  [....................] > Adding 1072 Mo to swap...
Info:  [....................] > Preconfigure gitlab...
Info:  [++++++++++++++++....] > Setting up source files...
Warning: yunohost.hook <lambda> - [968.1] sed: can't read /opt/gitlab/embedded/cookbooks/package/resources/sysctl.rb: No such file or directory
Warning: yunohost.hook <lambda> - [968.1] /usr/share/yunohost/helpers.d/logging: line 90: args_array: readonly variable
Info: yunohost.log close - [968.1] The operation 'Install 'gitlab' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190729-052549-app_install-gitlab --share'
Info:  [+...................] > Loading installation settings...
Error: yunohost cli - Unknown service 'gitlab-runsvdir'
Info:  [#+++++++............] > Stopping gitlab
Info:  [########++++........] > Removing Gitlab
Info:  [############++......] > Removing dependencies
Info:  [##############+.....] > Removing app main directory
Info:  [###############+....] > Removing nginx web server configuration
Info:  /etc/nginx/conf.d/sous.domain.tld.d/gitlab.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [968.1] swapoff: /swap_gitlab: swapoff failed: Invalid argument
Info:  [####################] > Removal of gitlab completed
Error: yunohost cli - The operation 'Install 'gitlab' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190729-052549-app_install-gitlab --share'

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


>> Installation on the root... [Test 3/10]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 5 minutes, 34 seconds.
Installation failed. (1)
Info: yunohost.app app_install - [910.1] Installing application gitlab…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Storing installation settings...
Info:  [....................] > Find internal port...
Info:  [....................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [910.1] lsblk: /dev/vda1: not a block device
Info:  [....................] > Adding 1072 Mo to swap...
Info:  [....................] > Preconfigure gitlab...
Info:  [++++++++++++++++....] > Setting up source files...
Warning: yunohost.hook <lambda> - [910.1] sed: can't read /opt/gitlab/embedded/cookbooks/package/resources/sysctl.rb: No such file or directory
Warning: yunohost.hook <lambda> - [910.1] /usr/share/yunohost/helpers.d/logging: line 90: args_array: readonly variable
Info: yunohost.log close - [910.1] The operation 'Install 'gitlab' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190729-053234-app_install-gitlab --share'
Info:  [+...................] > Loading installation settings...
Error: yunohost cli - Unknown service 'gitlab-runsvdir'
Info:  [#+++++++............] > Stopping gitlab
Info:  [########++++........] > Removing Gitlab
Info:  [############++......] > Removing dependencies
Info:  [##############+.....] > Removing app main directory
Info:  [###############+....] > Removing nginx web server configuration
Info:  /etc/nginx/conf.d/sous.domain.tld.d/gitlab.conf wasn't deleted because it doesn't exist.
Warning: yunohost.hook <lambda> - [910.1] swapoff: /swap_gitlab: swapoff failed: Invalid argument
Info:  [####################] > Removal of gitlab completed
Error: yunohost cli - The operation 'Install 'gitlab' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190729-053234-app_install-gitlab --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: 2 seconds.
Deleting failed. (1)
Error: yunohost cli - gitlab is not installed
--- FAIL ---
Stop the LXC container
Restore the previous snapshot.
Working time: 46 seconds.
Working time for this test: 6 minutes, 36 seconds.


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


>> Installation in private mode... [Test 5/10]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 17 seconds.


>> Installation in public mode... [Test 6/10]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 17 seconds.


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


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


>> Change URL... [Test 9/10]
All installs have failed, impossible to perform this test...
Restore the previous snapshot.
Working time: 17 seconds.
Working time for this test: 17 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: 15 minutes, 16 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_Kay0u_data_gitlab_ynh_complete.log

Mon Jul 29 05:41:09 UTC 2019
Test finished.
Build step 'Execute shell' marked build as failure
Finished: FAILURE