Closed Jack12816 closed 9 years ago
@Jack12816 This error is probably specific to the project you are building. There are a host of reasons this could happen:
I would suggest you start the runner image with the bash prompt and manually try to perform the steps listed in the build script. Additionally you might want to do gem list
to see the list of gems currently installed and inspect the projects Gemfile
for any conflicts in the gem versions. You might also want to check the ruby/rails version installed verses the ruby/rails version required by the project.
If this does not help, then the most cumbersome way to find out the problem would be to truncate the Gemfile and add gems one at a time (using the Gemfile) till you find the gem that causes the error and take it from there.
The error message you pasted above does not give an indication of where the error originates from. To me its just a bunch of gibberish that is common for various types of errors. I hope you have not truncated any part of the output, because there could be a possibility that you might have left out some important piece of information.
I am not a rails developer. I only have a overall understanding of how stuff works with rails (and I happen to be good at doing google searches :smile: ). I have no development experience with rails. Maybe a real rails developer might be able to help.
Hope you find this information useful.
Thank you for the hints. Last thing I tried was installing ruby 2.2 with rvm on my custom container. This seems to working for the moment. But the issues while cloning the repos / git fatals is although present. Any hints on this?
I would suggest you start the runner image with the bash prompt and manually try to perform the steps listed in the build script.
This is working well. The funny thing is: it works randomly and it crashs randomly. Really wired.
With the latest CI runner version (5.2.1) this seems to be fixed. Did not seen any further problems. Thank you.
I'm expecting strange git messages on build start. (git clone enabled) The link between /home/gitlab_ci_runner/gitlab-ci-runner/tmp/builds and /home/gitlab_ci_runner/data seems to cause problems?
Additionally I'm expecting very unstable
bundle install
results. On a system shared base it fails randomly on building native gems, write permission issues an stuff like this. :(Maybe you got a clever hint or a solution?
The build script:
The build trace: