[ https://issues.apache.org/jira/browse/MINIFICPP-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferenc Gerlits reopened MINIFICPP-2405: --------------------------------------- > MemoryUsageTest fails transiently on MacOS in CI > ------------------------------------------------ > > Key: MINIFICPP-2405 > URL: https://issues.apache.org/jira/browse/MINIFICPP-2405 > Project: Apache NiFi MiNiFi C++ > Issue Type: Bug > Reporter: Ferenc Gerlits > Assignee: Ferenc Gerlits > Priority: Minor > Fix For: 0.99.1 > > Time Spent: 0.5h > Remaining Estimate: 0h > > MemoryUsageTest fails with the unusual problem that the memory usage is too > low: > {noformat} > 177/264 Test #179: MemoryUsageTest > ..................................................***Failed 0.34 sec > [2024-06-14 12:38:41.434] [LogTestController] [info] Setting log level for > org::apache::nifi::minifi::core::extension::ExtensionManager to trace > [2024-06-14 12:38:41.435] [LogTestController] [info] Setting log level for > org::apache::nifi::minifi::core::extension::Module to trace > [2024-06-14 12:38:41.435] > [org::apache::nifi::minifi::core::extension::Module] [trace] Creating module > 'executable' > [2024-06-14 12:38:41.435] > [org::apache::nifi::minifi::core::extension::ExtensionManager] [trace] > Initializing extensions > [2024-06-14 12:38:41.435] > [org::apache::nifi::minifi::core::extension::Module] [trace] Initializing > module 'executable' > Error: 6-14 12:38:41.435] > [org::apache::nifi::minifi::core::extension::ExtensionManager] [error] Error > in subpattern '': Empty pattern > Randomness seeded to: 507676868 > Physical Memory used by this process: 18251776 bytes > Physical Memory used by the system: 3812900864 bytes > Total Physical Memory in the system: 7516192768 bytes > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > MemoryUsageTest is a Catch2 v3.4.0 host application. > Run with -? for options > ------------------------------------------------------------------------------- > Test Physical memory usage > ------------------------------------------------------------------------------- > /Users/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/libminifi/test/unit/MemoryUsageTest.cpp:30 > ............................................................................... > /Users/runner/work/nifi-minifi-cpp/nifi-minifi-cpp/libminifi/test/unit/MemoryUsageTest.cpp:44: > FAILED: > REQUIRE( ram_usage_by_process >= gsl::narrow<int64_t>(v.size()) ) > with expansion: > 18251776 (0x1168000) > >= > 30000000 (0x1c9c380) > =============================================================================== > test cases: 2 | 1 passed | 1 failed > assertions: 2 | 1 passed | 1 failed {noformat} > I have only seen this happen once, and only on MacOS in CI: > [https://github.com/fgerlits/nifi-minifi-cpp/actions/runs/9515743417/job/26230608707] -- This message was sent by Atlassian Jira (v8.20.10#820010)