Skip to content

Instantly share code, notes, and snippets.

@juampynr juampynr/deployment.log
Last active Jul 7, 2017

Embed
What would you like to do?
DrupalCamp Spain - Dev deployment failure Jenkins log.
Started by GitHub push by juampynr
Started by GitHub push by juampynr
Ejecutando.en el espacio de trabajo /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url git@github.com:AsociacionDrupalES/DrupalCampSpain.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Fetching upstream changes from git@github.com:AsociacionDrupalES/DrupalCampSpain.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git fetch --tags --progress git@github.com:AsociacionDrupalES/DrupalCampSpain.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 81bb2c64d86d7c962d04d19ea08a8cc3a4d7b268 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 81bb2c64d86d7c962d04d19ea08a8cc3a4d7b268
> git rev-list 3f8e7835d2a725bfdea21173fddf3d17fb07fd85 # timeout=10
[workspace] $ /bin/sh -xe /tmp/hudson2482062786539564340.sh
+ ansible-galaxy install -r ansible/requirements-deploy.yml
- downloading role 'ansistrano-deploy', owned by carlosbuenosvinos
- downloading role from https://github.com/ansistrano/deploy/archive/1.9.1.tar.gz
- extracting carlosbuenosvinos.ansistrano-deploy to ansible/roles/carlosbuenosvinos.ansistrano-deploy
- carlosbuenosvinos.ansistrano-deploy was installed successfully
[workspace] $ ansible-playbook /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/deploy.yml -i /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/hosts_environments --skip-tags=backup -f 5 --private-key /tmp/ssh2506254035401808554.key -u deploy -e ansistrano_deploy_to=/var/www/dev.drupalcamp.es -e varnish_domain=dev.drupalcamp.es
PLAY [Deploy to "/var/www/dev.drupalcamp.es"] **********************************
TASK [setup] *******************************************************************
ok: [aed01.asociaciondrupal.es]
TASK [Run composer] ************************************************************
changed: [aed01.asociaciondrupal.es -> localhost]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Check BC for early adopters] ***
skipping: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
included: /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/roles/carlosbuenosvinos.ansistrano-deploy/tasks/setup.yml for aed01.asociaciondrupal.es
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure deployment base path exists] ***
ok: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Set releases path] ****
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure releases folder exists] ***
ok: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Set shared path] ******
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure shared elements folder exists] ***
ok: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
included: /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/roles/carlosbuenosvinos.ansistrano-deploy/tasks/update-code.yml for aed01.asociaciondrupal.es
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Get release version] **
ok: [aed01.asociaciondrupal.es -> 127.0.0.1]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Get release path] *****
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
included: /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/roles/carlosbuenosvinos.ansistrano-deploy/tasks/update-code/rsync.yml for aed01.asociaciondrupal.es
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | RSYNC | Get shared path (in rsync case)] ***
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | RSYNC | Rsync application files to remote shared copy] ***
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | RSYNC | Deploy existing code to servers] ***
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Copy release version into REVISION file] ***
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
included: /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/roles/carlosbuenosvinos.ansistrano-deploy/tasks/symlink-shared.yml for aed01.asociaciondrupal.es
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure shared paths targets are absent] ***
changed: [aed01.asociaciondrupal.es] => (item=web/sites/default/files)
ok: [aed01.asociaciondrupal.es] => (item=web/sites/default/private)
ok: [aed01.asociaciondrupal.es] => (item=web/sites/default/settings.local.php)
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure shared paths exists] ***
ok: [aed01.asociaciondrupal.es] => (item=web/sites/default/files)
ok: [aed01.asociaciondrupal.es] => (item=web/sites/default/private)
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure basedir shared files exists] ***
ok: [aed01.asociaciondrupal.es] => (item=web/sites/default/settings.local.php)
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Create softlinks for shared paths and files] ***
changed: [aed01.asociaciondrupal.es] => (item=web/sites/default/files)
changed: [aed01.asociaciondrupal.es] => (item=web/sites/default/private)
changed: [aed01.asociaciondrupal.es] => (item=web/sites/default/settings.local.php)
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure .rsync-filter is absent] ***
skipping: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Setup .rsync-filter with shared-folders] ***
skipping: [aed01.asociaciondrupal.es] => (item=web/sites/default/files)
skipping: [aed01.asociaciondrupal.es] => (item=web/sites/default/private)
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
included: /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/roles/carlosbuenosvinos.ansistrano-deploy/tasks/symlink.yml for aed01.asociaciondrupal.es
TASK [carlosbuenosvinos.ansistrano-deploy : stat] ******************************
ok: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Remove current folder if it's a directory] ***
skipping: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Change softlink to new release] ***
changed: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
skipping: [aed01.asociaciondrupal.es]
TASK [carlosbuenosvinos.ansistrano-deploy : include] ***************************
included: /var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/tasks/after-symlink-tasks.yml for aed01.asociaciondrupal.es
TASK [carlosbuenosvinos.ansistrano-deploy : drush updb] ************************
fatal: [aed01.asociaciondrupal.es]: FAILED! =>
{
"changed": true,
"cmd": "drush updb -y ",
"delta": "0:00:16.087159",
"end": "2017-03-31 12:48:06.826198",
"failed": true,
"rc": 1,
"start": "2017-03-31 12:47:50.739039",
"stderr": "The following module is missing from the file system: standard \u001b[1;33;40m\u001b[1m[warning]\u001b[0m\nbootstrap.inc:236\nThe following module is missing from the file system: standard \u001b[1;33;40m\u001b[1m[warning]\u001b[0m\nbootstrap.inc:236\nDrush command terminated abnormally due to an unrecoverable error. \u001b[31;40m\u001b[1m[error]\u001b[0m\nError: syntax error, unexpected 'list' (T_LIST), expecting identifier\n(T_STRING) in\n/var/www/dev.drupalcamp.es/releases/20170331104740Z/web/modules/custom/dcamp_sessions/src/Controller/DcampSessionsController.php,\nline 19\nThe external command could not be executed due to an application \u001b[31;40m\u001b[1m[error]\u001b[0m\nerror.\nDrush command terminated abnormally due to an unrecoverable error. \u001b[31;40m\u001b[1m[error]\u001b[0m\nError: syntax error, unexpected 'list' (T_LIST), expecting identifier\n(T_STRING) in\n/var/www/dev.drupalcamp.es/releases/20170331104740Z/web/modules/custom/dcamp_sessions/src/Controller/DcampSessionsController.php,\nline 19\nThe external command could not be executed due to an application \u001b[31;40m\u001b[1m[error]\u001b[0m\nerror.\nFinished performing updates. \u001b[1;32;40m\u001b[1m[ok]\u001b[0m",
"stdout": "The following updates are pending:\n\ndcamp module : \n 8113 - Install sessions module. \n\nDo you wish to run all pending updates? (y/n): y\nPHP Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) in /var/www/dev.drupalcamp.es/releases/20170331104740Z/web/modules/custom/dcamp_sessions/src/Controller/DcampSessionsController.php on line 19\nPHP Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) in /var/www/dev.drupalcamp.es/releases/20170331104740Z/web/modules/custom/dcamp_sessions/src/Controller/DcampSessionsController.php on line 19",
"stdout_lines": [
"The following updates are pending:",
"",
"dcamp module : ",
" 8113 - Install sessions module. ",
"",
"Do you wish to run all pending updates? (y/n): y",
"PHP Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) in /var/www/dev.drupalcamp.es/releases/20170331104740Z/web/modules/custom/dcamp_sessions/src/Controller/DcampSessionsController.php on line 19",
"PHP Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) in /var/www/dev.drupalcamp.es/releases/20170331104740Z/web/modules/custom/dcamp_sessions/src/Controller/DcampSessionsController.php on line 19"
],
"warnings": []
}
to retry, use: --limit @/var/lib/jenkins/jobs/DrupalCampSpain-dev-deploy/workspace/ansible/deploy.retry
PLAY RECAP *********************************************************************
aed01.asociaciondrupal.es : ok=25 changed=11 unreachable=0 failed=1
FATAL: la ejecución del comando ha fallado
hudson.AbortException: Ansible playbook execution failed
at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:226)
at org.jenkinsci.plugins.ansible.AnsiblePlaybookBuilder.perform(AnsiblePlaybookBuilder.java:199)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
ERROR: Ansible playbook execution failed
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.