awslabs / aws-c-common

Core c99 package for AWS SDK for C. Includes cross-platform primitives, configuration, data structures, and error handling.
Apache License 2.0
262 stars 159 forks source link

Test failure: test_memory_usage_maxrss #1070

Closed nunotexbsd closed 1 year ago

nunotexbsd commented 1 year ago

Describe the bug

Test project /wrkdirs/usr/ports/devel/aws-c-common/work/.build
    Start 336: test_memory_usage_maxrss
1/1 Test #336: test_memory_usage_maxrss .........***Failed    0.00 sec
***FAILURE*** Expected condition to be true: mu.maxrss > 0 [s_test_memory_usage_maxrss(): /wrkdirs/usr/ports/devel/aws-c-common/work/aws-c-common-0.9.5/tests/system_resource_util_test.c:17]
***FAILURE*** test_memory_usage_maxrss [ FAILED ] [s_aws_run_test_case(): /wrkdirs/usr/ports/devel/aws-c-common/work/aws-c-common-0.9.5/include/aws/testing/aws_test_harness.h:498]

Expected Behavior

Test OK

Current Behavior

Test #336 fails

Reproduction Steps

ctest --rerun-failed --output-on-failure

Possible Solution

No response

Additional Information/Context

No response

aws-c-common version used

0.9.5

Compiler and version used

Clang 14.0.5

Operating System and version

FreeBSD 13.2 amd64

DmitriyMusatkin commented 1 year ago

Should get resolved by https://github.com/awslabs/aws-c-common/pull/1071

nunotexbsd commented 1 year ago

@DmitriyMusatkin

Confirmed that it is fixed. Thanks!