An error occurred while fetching the assigned iteration of the selected issue.
gitlab-runner stuck in pending if after_script used
Summary
gitlab ci jobs do not start if after_script is used in .gitlab-ci.yml
Steps to reproduce
launch a ci job with after_script in .gitlab-ci.yml --> observe the failure launch the same ci job with after_script commented out --> observe no more failure
Actual behavior
When job is started, gets stuck in "Pending..."
Expected behavior
When job is started, job does not get stuck in "Pending"
Relevant logs and/or screenshots
from /var/log/syslog on the machine running gitlab-runner:
Mar 24 14:51:46 ip-172-31-6-70 gitlab-runner[11839]: time="2017-03-24T14:51:46Z" level=warning msg="Checking for jobs... failed" runner=508eb1fd status="Error decoding json payload json: cannot unmarshal array into Go value of type string" #012<nil>
Mar 24 14:51:46 ip-172-31-6-70 gitlab-runner[11839]: time="2017-03-24T14:51:46Z" level=warning msg="Checking for jobs... failed" runner=508eb1fd status="Error decoding json payload json: cannot unmarshal array into Go value of type string"
Environment description
Using Specific Runners. gitlab-runner is running on Ubuntu 16.04. Using GitLab Community Edition 9.0.0 cf020e6
Used GitLab Runner version
Version: 9.0.0
Git revision: 08a9e6f
Git branch: 9-0-stable
GO version: go1.7.5
Built: Wed, 22 Mar 2017 16:29:52 +0000
OS/Arch: linux/386