Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.3.0
-
None
Description
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestCalculateAbsUsedCapacity$ github.com/apache/yunikorn-core/pkg/common/resources
2023-08-03T00:09:58.470-0700 WARN core.resources resources/resources.go:958 Absolute resource value result wrapped or overflow {"resource": "memory", "capacity": 10, "usage": -9223372036854775808}
github.com/apache/yunikorn-core/pkg/common/resources.CalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources.go:958
github.com/apache/yunikorn-core/pkg/common/resources.TestCalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources_test.go:1524
testing.tRunner
/usr/local/go/src/testing/testing.go:1576
2023-08-03T00:09:58.470-0700 WARN core.resources resources/resources.go:950 Higher usage than max capacity {"resource": "memory", "capacity": 0, "usage": 1024}
github.com/apache/yunikorn-core/pkg/common/resources.CalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources.go:950
github.com/apache/yunikorn-core/pkg/common/resources.TestCalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources_test.go:1524
testing.tRunner
/usr/local/go/src/testing/testing.go:1576
2023-08-03T00:09:58.470-0700 WARN core.resources resources/resources.go:958 Absolute resource value result wrapped or overflow {"resource": "memory", "capacity": 0, "usage": 1024}
github.com/apache/yunikorn-core/pkg/common/resources.CalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources.go:958
github.com/apache/yunikorn-core/pkg/common/resources.TestCalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources_test.go:1524
testing.tRunner
/usr/local/go/src/testing/testing.go:1576
2023-08-03T00:09:58.470-0700 WARN core.resources resources/resources.go:950 Higher usage than max capacity {"resource": "vcores", "capacity": 0, "usage": 1}
github.com/apache/yunikorn-core/pkg/common/resources.CalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources.go:950
github.com/apache/yunikorn-core/pkg/common/resources.TestCalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources_test.go:1524
testing.tRunner
/usr/local/go/src/testing/testing.go:1576
2023-08-03T00:09:58.470-0700 WARN core.resources resources/resources.go:958 Absolute resource value result wrapped or overflow {"resource": "vcores", "capacity": 0, "usage": 1}
github.com/apache/yunikorn-core/pkg/common/resources.CalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources.go:958
github.com/apache/yunikorn-core/pkg/common/resources.TestCalculateAbsUsedCapacity
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources_test.go:1524
testing.tRunner
/usr/local/go/src/testing/testing.go:1576
— FAIL: TestCalculateAbsUsedCapacity (0.00s)
/Users/mitdesai/workspace/apache/yunikorn/yunikorn-core/pkg/common/resources/resources_test.go:1525: assertion failed:
— test.expected
+++ absCapacity
&resources.Resource{
Resources: map[string]resources.Quantity
,
}
FAIL
FAIL github.com/apache/yunikorn-core/pkg/common/resources 0.256s
FAIL
Attachments
Issue Links
- duplicates
-
YUNIKORN-1896 TestCalculateAbsUsedCapacity() fails on ARM
- Closed