Skip to content

(Decimal_Spec) comparison failures on Oracle GraalVM #14996

@JaroslavTulach

Description

@JaroslavTulach

There are intermittent failures (but more frequent recent days) when running test/Base_Tests on Oracle GraalVM.

[FAILED] (Decimal_Spec) comparison: [10/12, 1165ms]️ 
Error: Expected False to be True (at test/Base_Tests/src/Data/Decimal_Spec.enso:325:17-48).
     - [FAILED] should compare correctly to Integer and Float [1020ms]
️         Reason: Expected False to be True (at test/Base_Tests/src/Data/Decimal_Spec.enso:325:17-48).
️ 
️ 
️     - [FAILED] == mixed float/decimal comparisons should attach a warning [15ms]
Error: Expected the result to contain a warning: 
(Loss_Of_Numeric_Precision.Warning (original_value = 0.1) (new_value = 0.1)), 
but it did not. The warnings were [] (at test/Base_Tests/src/Data/Decimal_Spec.enso:395:17-106).
️
️ 
2772 tests succeeded.
2 tests failed.
81 tests skipped.
13 groups skipped.

It is (sometimes) possible to reproduce it locally (with 0840be0) I was able to do:

ENSO_LAUNCHER=native,test sbt --java-home ~/bin/graalvm-ee/
sbt:enso> buildEngineDistribution
sbt:enso> runEngineDistribution --run test/Base_Tests

2694 tests succeeded.
1 tests failed.
90 tests skipped.
21 groups skipped.

Failed tests: 'Decimal\.to_float.should.compare.correctly.with.the.original.Decimal'

however the reproducing steps aren't completely reliable. When running runEngineDistribution --run test/Base_Tests for second time, I get no failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    ⚙️ Design

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions