Automattic / Automattic/action-commit-to-branch

Failed to adjust OOM score for shim: invalid argument error

Open
#12 0 comments 3 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
17
Forks
20
PR merge metrics
No merged PRs in 30d

Description

We have been facing the following issue while applying action-commit-to-branch recently:

` io.containerd.runc.v2: failed to adjust OOM score for shim: set shim OOM score: write /proc/244/oom_score_adj: invalid argument`

After some brief investigation, we have seen some recently problems related to Docker Dind version 20. It may help to take a look into the related similar problems Links.

** Github Action Code:**

```
- name: Push fmt changes to PR branch
if: steps.fmt.outputs.stdout != ''
uses: Automattic/action-commit-to-branch@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: ${{ github.head_ref }}
commit_message: 'Apply fmt changes'
```

**Full Github Action Logs:**

If necessary I can provide Full Github Action Log Files.

**Related similar problems**

https://github.com/containerd/containerd/issues/4837
https://discourse.drone.io/t/docker-build-failures-from-oom-score-adjustments/8492/2

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the action-commit-to-branch workflow shown in the issue and capture the full GitHub Actions logs if available. Compare the failure with containerd issue 4837 and the linked Docker-in-Docker discussion; done means identifying the environmental cause and recording a verified resolution or clear reproduction details.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, shell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.