ERROR: Build failed: exit status 1
Problem with build after last update. Wenn I run build from gitlab after last update, I get the following error message after 3s:
gitlab-ci-multi-runner 1.1.2 (78b3f82)
Using Shell executor...
ERROR: Build failed: exit status 1
I have tried to test the execution with --debug, and it is working fine. How can i check where the problem is?
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
I have exactly the same error when I upgrade to gitlab-ce 8.6.5
- gitlab-ci-multi-runner version 1.1.2 (78b3f82)
- OS debian 8.4
I have the same issue. Any way to solve it?
@Stanczak @dducatel I downgraded to 1.1.0 and it works.
@ayufan can you update CHANGELOG.md with changes for versions 1.1.1 and 1.1.2, please. It's not clear what could break our builds.
Edited by username-removed-16564- Maintainer
@tamtamchik The changes in 1.1.1 and 1.1.2 are trying to fix broken support for shell detection.
- Maintainer
@tamtamchik What are you using: OS, Distrubution, what is default shell used by
gitlab-runner
user. @ayufan
OS: Ubuntu 12.04.5 LTS
Shell forgitlab-runner
: /bin/falseStrange, then how come 1.1.0 was working correctly without any settings for
shell
inconfig.toml
file.My config that actually works on 1.1.0
concurrent = 1 [[runners]] name = "..." url = "..." token = "..." tls-ca-file = "" executor = "shell" builds_dir = "" [runners.ssh] [runners.docker] image = "" privileged = false [runners.parallels] base_name = "" [runners.virtualbox] base_name = ""
- Maintainer
I do know. I had to fix this two-or-three times, because of variety of configurations :(
https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/shells/bash.go#L201
This line misses
--shell /bin/bash
which was present in 1.1.0.For now, you can use 1.1.2, but you have to
usermod -s /bin/bash gitlab-runner
. - Author
usermod is working! Really thx!!
- Maintainer
I'll release 1.1.3 that will solve that problem. The plan for release is tomorrow morning. For now you can try to grab Bleeding Edge! (it's building now). No longer the
usermod
fix will be required :)Edited by Kamil Trzcińśki - Kamil Trzcińśki Milestone changed to v1.1
Milestone changed to v1.1
- Kamil Trzcińśki Reassigned to @ayufan
Reassigned to @ayufan
- Maintainer
cc @tmaczukin
- Tomasz Maczukin Added waiting for feedback label
Added waiting for feedback label
- Maintainer
Did
1.1.3
or1.1.4
resolved the problem? - Tomasz Maczukin Status changed to closed
Status changed to closed
- Maintainer
We haven't received an update for more than 14 days so we will assume that the problem is fixed or is no longer valid. If you still experience the same problem try upgrading to the latest version. If the issue persists, reopen this issue or merge request with the relevant information.
@tmaczukin yes, it was fixed. Thanks!