IntersectMBO / plutus

The Plutus language implementation and tools
Apache License 2.0
1.57k stars 479 forks source link

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

Open bezirg opened 3 months ago

bezirg commented 3 months ago

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 commented 3 months ago

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

https://github.com/IntersectMBO/plutus/blob/b7fbfd0b12e93bada7775b35e3c625a754940b67/plutus-core/untyped-plutus-core/test/Evaluation/Builtins/Definition.hs#L1141-L1152