-
Hello, I am unable to complete my build pipeline. After 6h the pipeline was canceled with no useful information why it took so long or if there was any error. I tried to run it before few times and always cancelled it manually after 20-30min as it is doing nothing. My RoR app works fine when building locally or running rspec. Only in Actions it does not behave as expected. Any idea what could be wrong? This is my pipeline code:
Screen: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering own question :). I was able to get more details from the pipeline run - 1 out of 10 pipeline runs it printed more details and the issue was that the process of attaching file to DB could not be exited for some reason during seeding phase. Interesting is that I was not able to reproduce it locally, but after applying the workaround the pipeline works just fine. Log: Solution: |
Beta Was this translation helpful? Give feedback.
Answering own question :). I was able to get more details from the pipeline run - 1 out of 10 pipeline runs it printed more details and the issue was that the process of attaching file to DB could not be exited for some reason during seeding phase. Interesting is that I was not able to reproduce it locally, but after applying the workaround the pipeline works just fine.
Log:
Solution:
More details about the issue and also working workaround: Running rails db:seed with File I/O will cause process to hang · Issue #33500 · rails/rails · GitHub