You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/08/03 04:39:00 UTC

[jira] [Commented] (YUNIKORN-1896) TestCalculateAbsUsedCapacity() fails on ARM

    [ https://issues.apache.org/jira/browse/YUNIKORN-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750566#comment-17750566 ] 

Wilfred Spiegelenburg commented on YUNIKORN-1896:
-------------------------------------------------

The overflow detection works correctly the resulting value is however not consistent on different architectures.
ARM returns consistently an int64 with the same sign as the float64. Intel does a bit flip in some cases resulting in differences on the two platforms.

> TestCalculateAbsUsedCapacity() fails on ARM
> -------------------------------------------
>
>                 Key: YUNIKORN-1896
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-1896
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: core - scheduler
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>
> After some troubleshooting the following two tests are always failing:
> {code}
> TestCalculateAbsUsedCapacity/positive_overflow
> TestCalculateAbsUsedCapacity/zero_resource,_non_zero_used
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org