[
https://issues.apache.org/jira/browse/MINIFICPP-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ferenc Gerlits updated MINIFICPP-2959:
--------------------------------------
Description:
Even after [https://github.com/apache/nifi-minifi-cpp/pull/2313,]
FetchOPCEventsTests often fails in debug+TSan builds, at various points, e.g.
{noformat}
---------------------------------------------------------------------------
A select field can be prefixed with the node ID of an event type
---------------------------------------------------------------------------
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:314
...........................................................................
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:325:
FAILED:
REQUIRE( controller_.triggerUntil({{processors::FetchOPCEvents::Success, 1}},
result, 10s) )
with expansion:
false
{noformat}
or
{noformat}
---------------------------------------------------------------------------
Test fetching a single event of a node addressed by an int node ID
---------------------------------------------------------------------------
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:383
...........................................................................
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:391:
FAILED:
REQUIRE( controller_.triggerUntil({{processors::FetchOPCEvents::Success, 1}},
result, 10s) )
with expansion:
false
{noformat}
The failures are Catch-only, no TSan output is produced. In release builds and
debug builds without TSan, I haven't seen these kinds of failures.
was:
Even after [https://github.com/apache/nifi-minifi-cpp/pull/2313,]
FetchOPCEventsTests often fails in debug+TSan builds, at various points, e.g.
{noformat}
---------------------------------------------------------------------------
A select field can be prefixed with the node ID of an event type
---------------------------------------------------------------------------
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:314
...........................................................................
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:325:
FAILED:
REQUIRE( controller_.triggerUntil({{processors::FetchOPCEvents::Success, 1}},
result, 10s) )
with expansion:
false
{noformat}
or
{noformat}
---------------------------------------------------------------------------
Test fetching a single event of a node addressed by an int node ID
---------------------------------------------------------------------------
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:383
...........................................................................
/home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:391:
FAILED:
REQUIRE( controller_.triggerUntil(\{{processors::FetchOPCEvents::Success,
1}}, result, 10s) )
with expansion:
false
{noformat}
The failures are Catch-only, no TSan output is produced. In release builds and
debug builds without TSan, I haven't seen these kinds of failures.
> Fix FetchOPCEventsTests in ThreadSanitizer builds
> -------------------------------------------------
>
> Key: MINIFICPP-2959
> URL: https://issues.apache.org/jira/browse/MINIFICPP-2959
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Reporter: Ferenc Gerlits
> Assignee: Ferenc Gerlits
> Priority: Minor
>
> Even after [https://github.com/apache/nifi-minifi-cpp/pull/2313,]
> FetchOPCEventsTests often fails in debug+TSan builds, at various points, e.g.
> {noformat}
> ---------------------------------------------------------------------------
> A select field can be prefixed with the node ID of an event type
> ---------------------------------------------------------------------------
> /home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:314
> ...........................................................................
> /home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:325:
> FAILED:
> REQUIRE( controller_.triggerUntil({{processors::FetchOPCEvents::Success,
> 1}}, result, 10s) )
> with expansion:
> false
> {noformat}
> or
> {noformat}
> ---------------------------------------------------------------------------
> Test fetching a single event of a node addressed by an int node ID
> ---------------------------------------------------------------------------
> /home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:383
> ...........................................................................
> /home/fgerlits/src/minifi/extensions/opc/tests/FetchOPCEventsTests.cpp:391:
> FAILED:
> REQUIRE( controller_.triggerUntil({{processors::FetchOPCEvents::Success,
> 1}}, result, 10s) )
> with expansion:
> false
> {noformat}
>
> The failures are Catch-only, no TSan output is produced. In release builds
> and debug builds without TSan, I haven't seen these kinds of failures.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)