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

Bugfix: Memory error in Statement functions test #159

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

reuterbal
Copy link
Collaborator

@reuterbal reuterbal commented Sep 29, 2023

We had seen random failures of CI tests with a segfault, which typically went away when re-running the test. I have tracked this down to the statement functions test, where an uninitialised value was used for the index when writing to an array.

The test has been fixed and the problem hasn't resurfaced so far, hoping this was the root cause.

@reuterbal reuterbal changed the title DEBUG: Split pytests by frontend DEBUG: CI segfaults Sep 29, 2023
@github-actions
Copy link

Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/159/index.html

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #159 (3a321a1) into main (da56a26) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #159   +/-   ##
=======================================
  Coverage   92.13%   92.13%           
=======================================
  Files          90       90           
  Lines       16714    16714           
=======================================
  Hits        15399    15399           
  Misses       1315     1315           
Flag Coverage Δ
lint_rules 96.22% <ø> (ø)
loki 92.07% <ø> (ø)
transformations 91.58% <ø> (ø)

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

@reuterbal reuterbal changed the title DEBUG: CI segfaults Bugfix: Memory error in Statement functions test Sep 29, 2023
Copy link
Collaborator

@mlange05 mlange05 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Many thanks for tracking that down!!! GTG 🙏

@mlange05 mlange05 marked this pull request as ready for review October 2, 2023 03:33
@reuterbal reuterbal merged commit c4649af into main Oct 2, 2023
12 checks passed
@reuterbal reuterbal deleted the nabr-debug-ci-segfaults branch October 2, 2023 10:03
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