[jira] [Created] (IGNITE-14009) Ignite-extensions: PubSubStreamerSelfTest is flaky

2021-01-17 Thread Mikhail Petrov (Jira)
Mikhail Petrov created IGNITE-14009:
---

 Summary: Ignite-extensions: PubSubStreamerSelfTest is flaky
 Key: IGNITE-14009
 URL: https://issues.apache.org/jira/browse/IGNITE-14009
 Project: Ignite
  Issue Type: Bug
Reporter: Mikhail Petrov


PubSubStreamerSelfTest is flaky -  [TC 
build|https://ci.ignite.apache.org/test/-1227012852016489408?currentProjectId=IgniteExtensions_Tests¤tBuildTypeId=IgniteExtensions_Tests_Build&branch=pull%2F34%2F].
 This needs to be fixed. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[MTCGA]: new failures in builds [5831039] needs to be handled

2021-01-17 Thread dpavlov . tasks
Hi Igniters,

 I've detected some new issue on TeamCity to be handled. You are more than 
welcomed to help.

 *New Critical Failure in master Cache 6 
https://ci.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Cache6?branch=%3Cdefault%3E
 No changes in the build

 - Here's a reminder of what contributors were agreed to do 
https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute 
 - Should you have any questions please contact dev@ignite.apache.org 

Best Regards,
Apache Ignite TeamCity Bot 
https://github.com/apache/ignite-teamcity-bot
Notification generated at 20:29:48 17-01-2021 


[jira] [Created] (IGNITE-14008) SQL tracing: add tag sql.query.id

2021-01-17 Thread Taras Ledkov (Jira)
Taras Ledkov created IGNITE-14008:
-

 Summary: SQL tracing: add tag sql.query.id
 Key: IGNITE-14008
 URL: https://issues.apache.org/jira/browse/IGNITE-14008
 Project: Ignite
  Issue Type: Improvement
  Components: sql
Affects Versions: 2.9.1
Reporter: Taras Ledkov
Assignee: Taras Ledkov


It's hard to find a trace fro specified query.
I think we have to add new tag: {{sql.query.id}} for spans:
- {{sql.command.query.execute}}
- {{sql.dml.query.execute}}
- {{sql.cursor.open}}

In this case user can find a query bu nodeId & queryId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14007) Ignite-extensions: ignite-kafka integration test suite fails TC build

2021-01-17 Thread Mikhail Petrov (Jira)
Mikhail Petrov created IGNITE-14007:
---

 Summary: Ignite-extensions: ignite-kafka integration test suite 
fails TC build
 Key: IGNITE-14007
 URL: https://issues.apache.org/jira/browse/IGNITE-14007
 Project: Ignite
  Issue Type: Bug
Reporter: Mikhail Petrov
Assignee: Mikhail Petrov


JVM exits with code 130 during ignite-kafka-ext:IgniteSourceConnectorTest 
execution that causes TC build failure - [TC 
build|https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Build/5831371?showLog=5831371_14949_1587.14949&logFilter=debug]

It happens because 
 1. Started in FlinkIgniteSunkSelfTest ignite instance remains unclosed. And 
since it s started in separate test suite it is not closed automatically by 
Ignite test framework since maven surefire plugin uses different classloaders 
to load classes from different test suites.
 2. Extra node causes error in marshalling of remote event filter because of  
[IGNITE-14006]|https://issues.apache.org/jira/browse/IGNITE-14006]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (IGNITE-14006) Node fails with assertion error during event listener registration

2021-01-17 Thread Mikhail Petrov (Jira)
Mikhail Petrov created IGNITE-14006:
---

 Summary: Node fails with assertion error during event listener 
registration
 Key: IGNITE-14006
 URL: https://issues.apache.org/jira/browse/IGNITE-14006
 Project: Ignite
  Issue Type: Bug
Reporter: Mikhail Petrov


Node fails with assertion error during event listener registration from client 
node in case the remote filter class is missing on one or more server nodes:
{code:java}
[2021-01-17 
15:49:00,313][ERROR][disco-notifier-worker-#83%continuous.CacheContinuousQueryExternalNodeFilterTest1%][IgniteTestResources]
 Critical system error detected. Will be handled accordingly to configured 
handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, 
super=AbstractFailureHandler [ignoredFailureTypes=UnmodifiableSet 
[SYSTEM_WORKER_BLOCKED, SYSTEM_CRITICAL_OPERATION_TIMEOUT]]], 
failureCtx=FailureContext [type=SYSTEM_WORKER_TERMINATION, 
err=java.lang.AssertionError]]
java.lang.AssertionError
at 
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor$LocalRoutineInfo.(GridContinuousProcessor.java:2117)
at 
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.processStartRequest(GridContinuousProcessor.java:1447)
at 
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor.access$400(GridContinuousProcessor.java:117)
at 
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor$2.onCustomEvent(GridContinuousProcessor.java:220)
at 
org.apache.ignite.internal.processors.continuous.GridContinuousProcessor$2.onCustomEvent(GridContinuousProcessor.java:211)
at 
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.onDiscovery0(GridDiscoveryManager.java:670)
at 
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$4.lambda$onDiscovery$0(GridDiscoveryManager.java:533)
at 
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryMessageNotifierWorker.body0(GridDiscoveryManager.java:2635)
at 
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$DiscoveryMessageNotifierWorker.body(GridDiscoveryManager.java:2673)
at 
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:120)
at java.lang.Thread.run(Thread.java:748)
{code}
Reproducer:
{code:java}
/** */
public class CacheContinuousQueryExternalNodeFilterTest extends 
GridCommonAbstractTest {
/** */
private static final String EXT_EVT_FILTER_CLS = 
"org.apache.ignite.tests.p2p.TestPredicate";

/** */
private static final URL[] URLS;

static {
try {
URLS = new URL[] {new URL(getProperty("p2p.uri.cls.second"))};
}
catch (MalformedURLException e) {
throw new RuntimeException(e);
}
}

/** */
private final ClassLoader extLdr = getExternalClassLoader();

/** */
private final ClassLoader secondExtLdr = new URLClassLoader(URLS, 
U.gridClassLoader());

/** {@inheritDoc} */
@Override protected IgniteConfiguration getConfiguration(String 
igniteInstanceName) throws Exception {
IgniteConfiguration cfg = super.getConfiguration(igniteInstanceName);

cfg.setPeerClassLoadingEnabled(false);

cfg.setFailureHandler(new StopNodeOrHaltFailureHandler());

if (getTestIgniteInstanceName(0).equals(igniteInstanceName))
cfg.setClassLoader(secondExtLdr);
else
cfg.setClassLoader(extLdr);

return cfg;
}

/** */
@Test
public void test() throws Exception {
startGrids(2);

IgniteEx cli = startClientGrid(2);

extLdr.loadClass(EXT_EVT_FILTER_CLS);

Class> rmtFilter = 
(Class>)extLdr
.loadClass(EXT_EVT_FILTER_CLS);

try {
cli.events().remoteListen(null, rmtFilter.newInstance(), 
EVT_CACHE_OBJECT_PUT);
}
catch (Throwable ignored) {
// No-op.
}

// waits for all node to handle an error occurred during processing of 
StartRoutineDiscoveryMessage
U.sleep(3000);
}
}
{code}
To run the mentioned above reproducer place the following class to 
modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/
{code:java}
/** */
public class CacheEventPredicate implements IgnitePredicate {
/** {@inheritDoc} */
@Override public boolean apply(CacheEvent evt) {
return false;
}
}
{code}
and rebuild modules/extdata/p2p module.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)