Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Try to fix job which is killed due to low memory? #2185

Merged
merged 1 commit into from
Apr 7, 2022
Merged

Conversation

piponazo
Copy link
Collaborator

@piponazo piponazo commented Apr 1, 2022

As we discussed in the team chat, I am trying to fix the Debug+Coverage jobs which runs on PUSH on the main branch every time we merge a PR:
https://github.com/Exiv2/exiv2/actions/workflows/on_push_ExtraJobsForMain.yml

These jobs fail with this error:

[ 75%] Building CXX object samples/CMakeFiles/conntest.dir/conntest.cpp.o
[ 75%] Building CXX object samples/CMakeFiles/remotetest.dir/remotetest.cpp.o
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

And we think it might be caused by the job running out of RAM memory. It is weird but the same jobs runs perfectly fine on PRs. The specs of the runners used by Github can be found here:
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

In this experiment we are trying to remove the --parallel flag to compile the project just with 1 single core.

@piponazo piponazo requested a review from hassec April 1, 2022 07:36
@codecov
Copy link

codecov bot commented Apr 1, 2022

Codecov Report

Merging #2185 (2be613e) into main (74622cf) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2185      +/-   ##
==========================================
- Coverage   63.30%   63.29%   -0.02%     
==========================================
  Files          99       99              
  Lines       19596    19596              
  Branches     9559     9559              
==========================================
- Hits        12406    12404       -2     
- Misses       5116     5118       +2     
  Partials     2074     2074              
Impacted Files Coverage Δ
src/xmp.cpp 76.44% <0.00%> (-0.40%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8cb4e0...2be613e. Read the comment docs.

@piponazo piponazo merged commit bd0eefd into main Apr 7, 2022
@piponazo piponazo deleted the mainCoverage branch April 7, 2022 05:41
@piponazo
Copy link
Collaborator Author

piponazo commented Apr 7, 2022

It seems that it worked out! 😁

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants