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

TrackCosts are retained more than expected for Darwin-x86-64 #6415

Open
bezirg opened this issue Aug 14, 2024 · 1 comment
Open

TrackCosts are retained more than expected for Darwin-x86-64 #6415

bezirg opened this issue Aug 14, 2024 · 1 comment
Labels
bug Low priority Doesn't require immediate attention status: triaged Test

Comments

@bezirg
Copy link
Contributor

bezirg commented Aug 14, 2024

Summary

The testcase trackCostsRetaining https://github.com/IntersectMBO/plutus/blob/master/plutus-core/untyped-plutus-core/test/Evaluation/Builtins/Definition.hs#L458

fails only on Darwin-x86-64 with message:

TrackCosts: retaining:                                                             FAIL (0.51s)
untyped-plutus-core/test/Evaluation/Builtins/Definition.hs:482:
Too many elements picked up by GC
Expected at most: 5
But got: 6
The result was: [6829,0,0,0,0,3173]
Use -p '/TrackCosts: retaining/' to rerun this test only.

See also: https://ci.iog.io/build/5076829

@effectfully

Steps to reproduce the behavior

No response

Actual Result

No response

Expected Result

No response

Describe the approach you would take to fix this

No response

System info

OS: Darwin-x86-64
Plutus-1.32

@bezirg bezirg added the bug label Aug 14, 2024
@github-actions github-actions bot added the status: needs triage GH issues that requires triage label Aug 14, 2024
@bezirg
Copy link
Contributor Author

bezirg commented Aug 14, 2024

As a workaround, the offending failed test has been disabled for all ghc8.10:

#if MIN_VERSION_base(4,15,0)
-- FIXME: @effectfully
-- broken only for darwin :x86_64-darwin.ghc810 <https://ci.iog.io/build/5076829/nixlog/1>
-- TrackCosts: retaining: FAIL (0.51s)
-- untyped-plutus-core/test/Evaluation/Builtins/Definition.hs:482:
-- Too many elements picked up by GC
-- Expected at most: 5
-- But got: 6
-- The result was: [6829,0,0,0,0,3173]
-- Use -p '/TrackCosts: retaining/' to rerun this test only.
, test_TrackCostsRetaining
#endif

@effectfully effectfully added Test Low priority Doesn't require immediate attention status: triaged and removed status: needs triage GH issues that requires triage labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Low priority Doesn't require immediate attention status: triaged Test
Projects
None yet
Development

No branches or pull requests

2 participants