[JBoss JIRA] (DROOLS-5458) Running tests should not affect incremental build
by Jan Stastny (Jira)
[ https://issues.redhat.com/browse/DROOLS-5458?page=com.atlassian.jira.plug... ]
Jan Stastny updated DROOLS-5458:
--------------------------------
Summary: Running tests should not affect incremental build (was: Project broken after test scenario run with possibly a class-loading issue)
> Running tests should not affect incremental build
> -------------------------------------------------
>
> Key: DROOLS-5458
> URL: https://issues.redhat.com/browse/DROOLS-5458
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Affects Versions: 7.39.0.Final
> Reporter: Jan Stastny
> Assignee: Toni Rikkola
> Priority: Blocker
> Labels: drools-tools
> Attachments: bpms_scesim-tickets.zip
>
>
> For a Scenario Simulation that tests DRL rule and facts having an enum property a seemingly class-loading issue occurs in Business Central.
> The ultimate error is in the DRL file validation:
> {code:java|title=DRL file}
> package org.jboss.qa.ba.scesim;
> rule "child ticket"
> when
> t: Ticket ( type==TicketType.CHILD)
> then
> t.setPrice(5.0);
> end
> {code}
> {code:java|title=Validation error}
> [KBase: defaultKieBase]: Unable to Analyse Expression type == TicketType.CHILD:
> [Error: Comparison operation requires compatible types. Found class org.jboss.qa.ba.scesim.TicketType and class org.jboss.qa.ba.scesim.TicketType]
> [Near : {... type == TicketType.CHILD ....}]
> ^
> {code}
> The issue happens in given scenario:
> # import project
> # go to DRL file and run validation - succeeds
> # go to scenario simulation and run - succeeds
> # go back to DRL file and run validation - fails with the error above
> # go to scenario simulation and run again - fails due to the rule not being evaluated for given facts
> The issue disappears when running Build of the project in the Project perspective.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (JGRP-2486) FD Monitor get stuck on TrasferQueueBundler
by lukas brandl (Jira)
[ https://issues.redhat.com/browse/JGRP-2486?page=com.atlassian.jira.plugin... ]
lukas brandl edited comment on JGRP-2486 at 7/1/20 7:35 AM:
------------------------------------------------------------
I've created a pull request (here: [https://github.com/belaban/JGroups/pull/500]) to split the FD Monitor task into a timeout checker and a heartbeat sender, in the same way as the FD_ALL and FD_ALL2 protocol. This way the timeout check can't be blocket by the TCP transport and the dead node is suspected.
was (Author: lbrandl2):
I've created a pull request (here: [https://github.com/belaban/JGroups/pull/500]) to split the FD Monitor task into a timeout checker and a heartbeat sender, in the same way as the FD_ALL and FD_ALL2 protocol. This way the timeout check can't be blocket by the TCP transport and the dead nodes is suspected.
> FD Monitor get stuck on TrasferQueueBundler
> -------------------------------------------
>
> Key: JGRP-2486
> URL: https://issues.redhat.com/browse/JGRP-2486
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.22
> Reporter: lukas brandl
> Assignee: Bela Ban
> Priority: Major
> Attachments: Main.java, stack-trace.txt
>
>
> Apparently there is an issue in the FD protocol. When a cluster nodes is disconnected and the disconnect isn't handled by FD_SOCK, FD stops sending heartbeats after a while. This only happens when the queue of the TrasferQueueBundler fills up before the node is suspected.
> The stack trace shows that the FD$Monitor is blocked by the bundler. This is probably the reason why the heartbeat timeouts are not noticed.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months
[JBoss JIRA] (JGRP-2486) FD Monitor get stuck on TrasferQueueBundler
by lukas brandl (Jira)
[ https://issues.redhat.com/browse/JGRP-2486?page=com.atlassian.jira.plugin... ]
lukas brandl commented on JGRP-2486:
------------------------------------
I've created a pull request (here: [https://github.com/belaban/JGroups/pull/500]) to split the FD Monitor task into a timeout checker and a heartbeat sender, in the same way as the FD_ALL and FD_ALL2 protocol. This way the timeout check can't be blocket by the TCP transport and the dead nodes is suspected.
> FD Monitor get stuck on TrasferQueueBundler
> -------------------------------------------
>
> Key: JGRP-2486
> URL: https://issues.redhat.com/browse/JGRP-2486
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.22
> Reporter: lukas brandl
> Assignee: Bela Ban
> Priority: Major
> Attachments: Main.java, stack-trace.txt
>
>
> Apparently there is an issue in the FD protocol. When a cluster nodes is disconnected and the disconnect isn't handled by FD_SOCK, FD stops sending heartbeats after a while. This only happens when the queue of the TrasferQueueBundler fills up before the node is suspected.
> The stack trace shows that the FD$Monitor is blocked by the bundler. This is probably the reason why the heartbeat timeouts are not noticed.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 5 months