AbortedConsole Output

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

Thu Jul  4 17:36:42 UTC 2019
Wait for work starting...
...............................................
Thu Jul  4 18:00:13 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: 9 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: 5 seconds.
Working time: 5 seconds.
Debian GNU/Linux 9
yunohost: 
  repo: stable
  version: 3.5.2.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/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: 14 minutes, 51 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1050.1] Installing application gitlab…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Storing installation settings...
Info:  [....................] > Find internal port...
Info:  [....................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1050.1] lsblk: /dev/vda1: not a block device
Info:  [....................] > Adding 2096 Mo to swap...
Info:  [....................] > Preconfigure gitlab...
Info:  [....................] > Setting up source files...
Info:  [################....] > Configuring nginx web server...
Info:  Reload the service nginx
Info:  [################....] > Creating an administrator user...
Info:  [#################...] > Reconfigure gitlab...
Info:  [##################..] > Configuring SSOwat...
Info:  [##################..] > Reloading nginx web server...
Info:  Reload the service nginx
Info:  [##################..] > Restarting gitlab...
Info:  Restart the service gitlab-runsvdir
Warning: yunohost.hook <lambda> - [1050.1] Please wait, the service gitlab-runsvdir is restarting.............................................................................
Info:  The service gitlab-runsvdir has correctly started.
Info:  [####################] > Installation of gitlab completed

Try to access by url...
Test url: sous.domain.tld/gitlab
Real url: https://sous.domain.tld/gitlab/users/sign_in
HTTP code: 200
Title of the page: Sign in · GitLab
Extract of the page:
GitLab Community Edition

Open source software to collaborate on code

   Manage Git repositories with fine-grained access controls that keep
   your code secure. Perform code reviews and enhance collaboration with
   merge requests. Each project can also have an issue tracker and a wiki.
     * [1]LDAP

   LDAP Username ____________________
   Password ____________________
   [ ] Remember me
   Sign in
     __________________________________________________________________

   [2]Explore [3]Help [4]About GitLab

References

   1. file:///home/CI_package_check/package_check/url_output#ldapmain

Ressource moved: sous.domain.tld/gitlab
Resource unreachable (Code 302) sous.domain.tld/gitlab/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2.png
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2-spinner.gif
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2x2.png

Test url: sous.domain.tld/gitlab/
Real url: https://sous.domain.tld/gitlab/users/sign_in
HTTP code: 200
Title of the page: Sign in · GitLab
Extract of the page:
GitLab Community Edition

Open source software to collaborate on code

   Manage Git repositories with fine-grained access controls that keep
   your code secure. Perform code reviews and enhance collaboration with
   merge requests. Each project can also have an issue tracker and a wiki.
     * [1]LDAP

   LDAP Username ____________________
   Password ____________________
   [ ] Remember me
   Sign in
     __________________________________________________________________

   [2]Explore [3]Help [4]About GitLab

References

   1. file:///home/CI_package_check/package_check/url_output#ldapmain

Resource unreachable (Code 302) sous.domain.tld/gitlab/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2.png
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2-spinner.gif
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2x2.png

--- SUCCESS ---
Create a snapshot for sub path installation.
Working time: 43 seconds.
Start the LXC container.
Create witness files...
Working time: 10 seconds.
Working time: 3 seconds.

Deleting...
A LXC container is already running.
Working time: 2 seconds.
Working time: 39 seconds.
Deleting successful. (0)
Info: yunohost.app app_remove - [1101.1] Removing application gitlab…
Info:  [....................] > Loading installation settings...
Error: moulinette.core translate - unable to retrieve key 'service_description_gitlab-runsvdir' for default locale 'en'
Info:  [#...................] > Removing gitlab service
Info:  [##..................] > Stopping gitlab
Info:  [#########...........] > Removing Gitlab
Info:  [#############.......] > Removing dependencies
Info:  [###############.....] > Removing app main directory
Info:  [################....] > Removing nginx web server configuration
Info:  Reload the service nginx
Warning: yunohost.hook <lambda> - [1101.1] swapoff: /swap_gitlab: swapoff failed: Invalid argument
Info:  [####################] > Removal of gitlab completed
--- SUCCESS ---

Reinstall the application after a removing.
A LXC container is already running.
Working time: 2 seconds.
Working time: 13 minutes, 56 seconds.
Installation successful. (0)
Info: yunohost.app app_install - [1787.1] Installing application gitlab…
Info:  [....................] > Validating installation parameters...
Info:  [....................] > Storing installation settings...
Info:  [....................] > Find internal port...
Info:  [....................] > Installing dependencies...
Warning: yunohost.hook <lambda> - [1787.1] lsblk: /dev/vda1: not a block device
Info:  [....................] > Adding 2096 Mo to swap...
Info:  [....................] > Preconfigure gitlab...
Info:  [....................] > Setting up source files...
Info:  [################....] > Configuring nginx web server...
Info:  Reload the service nginx
Info:  [################....] > Creating an administrator user...
Info:  [#################...] > Reconfigure gitlab...
Info:  [##################..] > Configuring SSOwat...
Info:  [##################..] > Reloading nginx web server...
Info:  Reload the service nginx
Info:  [##################..] > Restarting gitlab...
Info:  Restart the service gitlab-runsvdir
Warning: yunohost.hook <lambda> - [1787.1] Please wait, the service gitlab-runsvdir is restarting...........................................................................
Info:  The service gitlab-runsvdir has correctly started.
Info:  [####################] > Installation of gitlab completed

Try to access by url...
Test url: sous.domain.tld/gitlab
Real url: https://sous.domain.tld/gitlab/users/sign_in
HTTP code: 200
Title of the page: Sign in · GitLab
Extract of the page:
GitLab Community Edition

Open source software to collaborate on code

   Manage Git repositories with fine-grained access controls that keep
   your code secure. Perform code reviews and enhance collaboration with
   merge requests. Each project can also have an issue tracker and a wiki.
     * [1]LDAP

   LDAP Username ____________________
   Password ____________________
   [ ] Remember me
   Sign in
     __________________________________________________________________

   [2]Explore [3]Help [4]About GitLab

References

   1. file:///home/CI_package_check/package_check/url_output#ldapmain

Ressource moved: sous.domain.tld/gitlab
Resource unreachable (Code 302) sous.domain.tld/gitlab/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2.png
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2-spinner.gif
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2x2.png

Test url: sous.domain.tld/gitlab/
Real url: https://sous.domain.tld/gitlab/users/sign_in
HTTP code: 200
Title of the page: Sign in · GitLab
Extract of the page:
GitLab Community Edition

Open source software to collaborate on code

   Manage Git repositories with fine-grained access controls that keep
   your code secure. Perform code reviews and enhance collaboration with
   merge requests. Each project can also have an issue tracker and a wiki.
     * [1]LDAP

   LDAP Username ____________________
   Password ____________________
   [ ] Remember me
   Sign in
     __________________________________________________________________

   [2]Explore [3]Help [4]About GitLab

References

   1. file:///home/CI_package_check/package_check/url_output#ldapmain

Resource unreachable (Code 302) sous.domain.tld/gitlab/
Ressource ignored: sous.domain.tld/robots.txt
Ressource moved: sous.domain.tld/ynh_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynh_overlay.css
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_portal.js
The previous resource is redirected to the YunoHost portal
Ressource moved: sous.domain.tld/ynhtheme/custom_overlay.css
The previous resource is redirected to the YunoHost portal
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2.png
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2-spinner.gif
Resource unreachable (Code 404) sous.domain.tld/gitlab/assets/select2x2.png

--- SUCCESS ---
Stop the LXC container
Restore the previous snapshot.
Working time: 1 minute, 1 second.
Working time for this test: 32 minutes, 28 seconds.


>> Installation on the root... [Test 3/10]
Start the LXC container.
Create witness files...
Working time: 10 seconds.
/home/CI_package_check/analyseCI.sh: line 158:  9314 Terminated              sleep 10
Terminated
Build was aborted
Aborted by kayou kayou
Finished: ABORTED