Skip to content

Issue during docker build in microclimate jenkins pipeline #78

@arjunsbabu

Description

@arjunsbabu

Issue type: Bug
Reported in: 1.10 installed on ICP 3.1.0
Description of issue: If the pipeline is initiated docker build is failing with the following error

Step 11/17 : COPY . .
 ---> 39e33e89aed0
Step 12/17 : RUN chown -R node:node /usr/src/app
 ---> Running in afcc3b39aea2
**OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:301: running exec setns process for init caused \"exit status 40\"": unknown**
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // podTemplate
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE

Workaround (if possible): I came to understand the link opencontainers/runc#1740 it could be an issue with page memory and for fixing the issue
we need to run "echo 1 > /proc/sys/vm/drop_caches" in the worker node hosting the microclimate jenkins pod. This issue is happening more than 3 times per day and each time we need to run the above command. I have created a cronjob for the same to run every 5 hours but cannot stop the issue . While checking the node i can see the node is not fully utilized ie we have enough memory available.

May i get some recommendation from Microclimate team for fixing the issue permanently. ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions