Describe your question in as much detail as possible:
We have a Mac Studio M1 running Gitlab Runner, with docker executor, as our group runner.
When we tried to run a sizable job running esbuild of 300 bundles, it always fails without any error message. The process exists when the script tries to archive the 300 endpoints, before uploading to AWS CloudFormation for deployment.
Other jobs runs fine, running the above deployment job with shell executor is also fine. It only fails in docker.
I tried increasing storage and memory allocated to the docker VM in mac, but the problem persists.
The shell from the VM from Docker for Mac shows no useful logs.
I would like to see if the logs generated from GitLab Runner, where can I find it?
What are you seeing, and how does that differ from what you expect to see?
I see no error messages, the process just exits with code 1 in the middle of building.
I expect the job runs fine.
Consider including screenshots, error messages, and/or other helpful visuals
This is a screenshot of the last few lines, they are normal logs from a normal deployment task running the Serverless Framework.
What version are you on? Are you using self-managed or GitLab.com?
Git revision: 133d7e76
Git branch: 15-6-stable
GO version: go1.19.3
Add the CI configuration from
.gitlab-ci.ymland other configuration if relevant (e.g. docker-compose.yml)
This is the section of the failing job in my
deploy:review: allow_failure: true environment: name: review/$CI_COMMIT_REF_SLUG on_stop: unstage:review resource_group: review/$CI_COMMIT_REF_SLUG interruptible: true needs: - test rules: - if: $CI_MERGE_REQUEST_IID && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != "dev" when: manual script: - apt-get -yqq update && apt-get -yqq install chromium - yarn --immutable - yarn deploy --verbose stage: deploy tags: - build - osx - docker variables: NODE_OPTIONS: --max-old-space-size=24576
What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
The steps I took are mentioned in the description above.