Skip to content

[CI] Segfault fix - #9114

Closed
SchrodingersGat wants to merge 7 commits into
inventree:masterfrom
SchrodingersGat:segfault-fix
Closed

SchrodingersGat wants to merge 7 commits into
inventree:masterfrom
SchrodingersGat:segfault-fix

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Feb 20, 2025 •

Copy link
Copy Markdown
Member

Attempting to address a segfault error which has been introduced into our CI workflow. Seems to be only associated with the unit tests when running inside the production docker image.

The failing test has been located as:

plugin.base.label.test_label_mixin.LabelMixinTests.test_printing_endpoints

However, the cause of the segfault has not as yet been determined.

Failing Runs

https://github.com/inventree/InvenTree/actions/workflows/docker.yaml?query=branch%3Amaster+is%3Afailure

Related Issues

It appears that this is an upstream issue in the particular alpine image.

@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed CI CI / unit testing ecosystem docker Docker / docker-compose full-run Always do a full QC CI run labels Feb 20, 2025
@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone Feb 20, 2025
@netlify

netlify Bot commented Feb 20, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit ac3f1ae
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/67b6b9a5c70a520008a2edbf

@codecov

codecov Bot commented Feb 20, 2025 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.12%. Comparing base (19f772b) to head (ac3f1ae).
Report is 253 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9114      +/-   ##
==========================================
+ Coverage   86.07%   86.12%   +0.04%     
==========================================
  Files        1177     1176       -1     
  Lines       51927    51895      -32     
  Branches     2120     2120              
==========================================
- Hits        44696    44692       -4     
+ Misses       6689     6654      -35     
- Partials      542      549       +7     
Flag Coverage Δ
backend 87.98% <ø> (-0.09%) ⬇️
migrations 42.90% <ø> (-0.12%) ⬇️
pui ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat

Copy link
Copy Markdown
Member Author

Closing, replaced by #9118

@SchrodingersGat
SchrodingersGat deleted the segfault-fix branch February 21, 2025 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Identifies a bug which needs to be addressed CI CI / unit testing ecosystem docker Docker / docker-compose full-run Always do a full QC CI run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant