You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Petr Ivanov <mr...@gmail.com> on 2021/02/09 10:36:48 UTC
Ignite Extensions tests
Hi, Nikolay.
I've created a set of tests for extensions, and part of them are failing with:
JUnit4Provider.invoke:159->executeTestSet:238->executeWithRerun:273->execute:365 » NoSuchMethod
java.lang.NoSuchMethodError: org.apache.maven.surefire.report.SimpleReportEntry.withException(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/maven/surefire/report/StackTraceWriter;)Lorg/apache/maven/surefire/report/SimpleReportEntry;
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
Could you check [1] please?
[1] https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/5864907?buildTab=dependencies&mode=list
Re: Ignite Extensions tests
Posted by Petr Ivanov <mr...@gmail.com>.
Can you pinpoint exact string in log where another Ignite node is interfering, please?
> On 10 Feb 2021, at 11:50, Mikhail Petrov <pm...@gmail.com> wrote:
>
> Here is an example - [1].
>
> [1] - https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_SpringTransactions&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
> On 10.02.2021 11:39, Petr Ivanov wrote:
>> Very good, thanks!
>> I will prepare build shortly.
>>
>> About flakiness — send me link to build where problem is, I will try to investigate.
>>
>>> On 10 Feb 2021, at 11:17, Mikhail Petrov <pm...@gmail.com> wrote:
>>>
>>> Petr, ticket [1] was merged to the master branch. TC build is ok now - [2]. Sometimes i faced that some tests can be flaky because test nodes were trying to join extra incompatible node that does not belong to the test. But I think we could investigate it in a separate ticket.
>>>
>>> Could I ask you to create separate test suite for the Spring Cache extension similar to Spring Transactions for the following PR: https://github.com/apache/ignite-extensions/pull/42
>>>
>>> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>>>
>>> [2] - https://ci.ignite.apache.org/project.html?projectId=IgniteExtensions_Tests&branch_IgniteExtensions_Tests=%3Cdefault%3E
>>>
>>> On 10.02.2021 10:40, Petr Ivanov wrote:
>>>> I've updated Extensions template to use only Linux agents.
>>>>
>>>> Will wait for ticket in master, thanks!
>>>>
>>>>
>>>>
>>>>> On 10 Feb 2021, at 01:05, Mikhail Petrov <pm...@gmail.com> wrote:
>>>>>
>>>>> Hi, Petr.
>>>>>
>>>>> It seems that the problem is in an outdated version of the maven surefire plugin that is used in ignite-extensions.
>>>>>
>>>>> I created the corresponding ticket [1].
>>>>>
>>>>> I also faced that current ignite-extensions build is broken on windows agents - [2]. It fails with the following error:
>>>>>
>>>>> /[22:47:43]'#!' is not recognized as an internal or external command,
>>>>> [22:47:43]operable program or batch file.
>>>>> [22:47:43]Environment variable -o nounset; set -o errexit; set -o pipefail; set -o errtrace; set -o functrace not defined
>>>>> [22:47:43]Environment variable -x not defined
>>>>> [22:47:43]'rm' is not recognized as an internal or external command,
>>>>> [22:47:43]operable program or batch file.
>>>>> [22:47:43]The syntax of the command is incorrect.
>>>>> [22:47:43]'cp' is not recognized as an internal or external command,
>>>>> [22:47:43]operable program or batch file.
>>>>> [22:47:43]Process exited with code 1/
>>>>>
>>>>>
>>>>> Could you check it, please?
>>>>>
>>>>>
>>>>> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>>>>>
>>>>> [2] - https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_Flink&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
>>>>>
>>>>> On 09.02.2021 13:36, Petr Ivanov wrote:
>>>>>> Hi, Nikolay.
>>>>>>
>>>>>>
>>>>>> I've created a set of tests for extensions, and part of them are failing with:
>>>>>>
>>>>>> JUnit4Provider.invoke:159->executeTestSet:238->executeWithRerun:273->execute:365 » NoSuchMethod
>>>>>> java.lang.NoSuchMethodError: org.apache.maven.surefire.report.SimpleReportEntry.withException(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/maven/surefire/report/StackTraceWriter;)Lorg/apache/maven/surefire/report/SimpleReportEntry;
>>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>>>>>>
>>>>>>
>>>>>> Could you check [1] please?
>>>>>>
>>>>>>
>>>>>> [1] https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/5864907?buildTab=dependencies&mode=list
>>>>>>
Re: Ignite Extensions tests
Posted by Mikhail Petrov <pm...@gmail.com>.
Here is an example - [1].
[1] -
https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_SpringTransactions&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
On 10.02.2021 11:39, Petr Ivanov wrote:
> Very good, thanks!
> I will prepare build shortly.
>
> About flakiness — send me link to build where problem is, I will try to investigate.
>
>> On 10 Feb 2021, at 11:17, Mikhail Petrov <pm...@gmail.com> wrote:
>>
>> Petr, ticket [1] was merged to the master branch. TC build is ok now - [2]. Sometimes i faced that some tests can be flaky because test nodes were trying to join extra incompatible node that does not belong to the test. But I think we could investigate it in a separate ticket.
>>
>> Could I ask you to create separate test suite for the Spring Cache extension similar to Spring Transactions for the following PR: https://github.com/apache/ignite-extensions/pull/42
>>
>> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>>
>> [2] - https://ci.ignite.apache.org/project.html?projectId=IgniteExtensions_Tests&branch_IgniteExtensions_Tests=%3Cdefault%3E
>>
>> On 10.02.2021 10:40, Petr Ivanov wrote:
>>> I've updated Extensions template to use only Linux agents.
>>>
>>> Will wait for ticket in master, thanks!
>>>
>>>
>>>
>>>> On 10 Feb 2021, at 01:05, Mikhail Petrov <pm...@gmail.com> wrote:
>>>>
>>>> Hi, Petr.
>>>>
>>>> It seems that the problem is in an outdated version of the maven surefire plugin that is used in ignite-extensions.
>>>>
>>>> I created the corresponding ticket [1].
>>>>
>>>> I also faced that current ignite-extensions build is broken on windows agents - [2]. It fails with the following error:
>>>>
>>>> /[22:47:43]'#!' is not recognized as an internal or external command,
>>>> [22:47:43]operable program or batch file.
>>>> [22:47:43]Environment variable -o nounset; set -o errexit; set -o pipefail; set -o errtrace; set -o functrace not defined
>>>> [22:47:43]Environment variable -x not defined
>>>> [22:47:43]'rm' is not recognized as an internal or external command,
>>>> [22:47:43]operable program or batch file.
>>>> [22:47:43]The syntax of the command is incorrect.
>>>> [22:47:43]'cp' is not recognized as an internal or external command,
>>>> [22:47:43]operable program or batch file.
>>>> [22:47:43]Process exited with code 1/
>>>>
>>>>
>>>> Could you check it, please?
>>>>
>>>>
>>>> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>>>>
>>>> [2] - https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_Flink&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
>>>>
>>>> On 09.02.2021 13:36, Petr Ivanov wrote:
>>>>> Hi, Nikolay.
>>>>>
>>>>>
>>>>> I've created a set of tests for extensions, and part of them are failing with:
>>>>>
>>>>> JUnit4Provider.invoke:159->executeTestSet:238->executeWithRerun:273->execute:365 » NoSuchMethod
>>>>> java.lang.NoSuchMethodError: org.apache.maven.surefire.report.SimpleReportEntry.withException(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/maven/surefire/report/StackTraceWriter;)Lorg/apache/maven/surefire/report/SimpleReportEntry;
>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>>>>>
>>>>>
>>>>> Could you check [1] please?
>>>>>
>>>>>
>>>>> [1] https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/5864907?buildTab=dependencies&mode=list
>>>>>
Re: Ignite Extensions tests
Posted by Petr Ivanov <mr...@gmail.com>.
Very good, thanks!
I will prepare build shortly.
About flakiness — send me link to build where problem is, I will try to investigate.
> On 10 Feb 2021, at 11:17, Mikhail Petrov <pm...@gmail.com> wrote:
>
> Petr, ticket [1] was merged to the master branch. TC build is ok now - [2]. Sometimes i faced that some tests can be flaky because test nodes were trying to join extra incompatible node that does not belong to the test. But I think we could investigate it in a separate ticket.
>
> Could I ask you to create separate test suite for the Spring Cache extension similar to Spring Transactions for the following PR: https://github.com/apache/ignite-extensions/pull/42
>
> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>
> [2] - https://ci.ignite.apache.org/project.html?projectId=IgniteExtensions_Tests&branch_IgniteExtensions_Tests=%3Cdefault%3E
>
> On 10.02.2021 10:40, Petr Ivanov wrote:
>> I've updated Extensions template to use only Linux agents.
>>
>> Will wait for ticket in master, thanks!
>>
>>
>>
>>> On 10 Feb 2021, at 01:05, Mikhail Petrov <pm...@gmail.com> wrote:
>>>
>>> Hi, Petr.
>>>
>>> It seems that the problem is in an outdated version of the maven surefire plugin that is used in ignite-extensions.
>>>
>>> I created the corresponding ticket [1].
>>>
>>> I also faced that current ignite-extensions build is broken on windows agents - [2]. It fails with the following error:
>>>
>>> /[22:47:43]'#!' is not recognized as an internal or external command,
>>> [22:47:43]operable program or batch file.
>>> [22:47:43]Environment variable -o nounset; set -o errexit; set -o pipefail; set -o errtrace; set -o functrace not defined
>>> [22:47:43]Environment variable -x not defined
>>> [22:47:43]'rm' is not recognized as an internal or external command,
>>> [22:47:43]operable program or batch file.
>>> [22:47:43]The syntax of the command is incorrect.
>>> [22:47:43]'cp' is not recognized as an internal or external command,
>>> [22:47:43]operable program or batch file.
>>> [22:47:43]Process exited with code 1/
>>>
>>>
>>> Could you check it, please?
>>>
>>>
>>> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>>>
>>> [2] - https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_Flink&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
>>>
>>> On 09.02.2021 13:36, Petr Ivanov wrote:
>>>> Hi, Nikolay.
>>>>
>>>>
>>>> I've created a set of tests for extensions, and part of them are failing with:
>>>>
>>>> JUnit4Provider.invoke:159->executeTestSet:238->executeWithRerun:273->execute:365 » NoSuchMethod
>>>> java.lang.NoSuchMethodError: org.apache.maven.surefire.report.SimpleReportEntry.withException(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/maven/surefire/report/StackTraceWriter;)Lorg/apache/maven/surefire/report/SimpleReportEntry;
>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>>>> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>>>>
>>>>
>>>> Could you check [1] please?
>>>>
>>>>
>>>> [1] https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/5864907?buildTab=dependencies&mode=list
>>>>
Re: Ignite Extensions tests
Posted by Mikhail Petrov <pm...@gmail.com>.
Petr, ticket [1] was merged to the master branch. TC build is ok now -
[2]. Sometimes i faced that some tests can be flaky because test nodes
were trying to join extra incompatible node that does not belong to the
test. But I think we could investigate it in a separate ticket.
Could I ask you to create separate test suite for the Spring Cache
extension similar to Spring Transactions for the following PR:
https://github.com/apache/ignite-extensions/pull/42
[1] - https://issues.apache.org/jira/browse/IGNITE-14150
[2] -
https://ci.ignite.apache.org/project.html?projectId=IgniteExtensions_Tests&branch_IgniteExtensions_Tests=%3Cdefault%3E
On 10.02.2021 10:40, Petr Ivanov wrote:
> I've updated Extensions template to use only Linux agents.
>
> Will wait for ticket in master, thanks!
>
>
>
>> On 10 Feb 2021, at 01:05, Mikhail Petrov <pm...@gmail.com> wrote:
>>
>> Hi, Petr.
>>
>> It seems that the problem is in an outdated version of the maven surefire plugin that is used in ignite-extensions.
>>
>> I created the corresponding ticket [1].
>>
>> I also faced that current ignite-extensions build is broken on windows agents - [2]. It fails with the following error:
>>
>> /[22:47:43]'#!' is not recognized as an internal or external command,
>> [22:47:43]operable program or batch file.
>> [22:47:43]Environment variable -o nounset; set -o errexit; set -o pipefail; set -o errtrace; set -o functrace not defined
>> [22:47:43]Environment variable -x not defined
>> [22:47:43]'rm' is not recognized as an internal or external command,
>> [22:47:43]operable program or batch file.
>> [22:47:43]The syntax of the command is incorrect.
>> [22:47:43]'cp' is not recognized as an internal or external command,
>> [22:47:43]operable program or batch file.
>> [22:47:43]Process exited with code 1/
>>
>>
>> Could you check it, please?
>>
>>
>> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>>
>> [2] - https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_Flink&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
>>
>> On 09.02.2021 13:36, Petr Ivanov wrote:
>>> Hi, Nikolay.
>>>
>>>
>>> I've created a set of tests for extensions, and part of them are failing with:
>>>
>>> JUnit4Provider.invoke:159->executeTestSet:238->executeWithRerun:273->execute:365 » NoSuchMethod
>>> java.lang.NoSuchMethodError: org.apache.maven.surefire.report.SimpleReportEntry.withException(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/maven/surefire/report/StackTraceWriter;)Lorg/apache/maven/surefire/report/SimpleReportEntry;
>>> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>>> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>>>
>>>
>>> Could you check [1] please?
>>>
>>>
>>> [1] https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/5864907?buildTab=dependencies&mode=list
>>>
Re: Ignite Extensions tests
Posted by Petr Ivanov <mr...@gmail.com>.
I've updated Extensions template to use only Linux agents.
Will wait for ticket in master, thanks!
> On 10 Feb 2021, at 01:05, Mikhail Petrov <pm...@gmail.com> wrote:
>
> Hi, Petr.
>
> It seems that the problem is in an outdated version of the maven surefire plugin that is used in ignite-extensions.
>
> I created the corresponding ticket [1].
>
> I also faced that current ignite-extensions build is broken on windows agents - [2]. It fails with the following error:
>
> /[22:47:43]'#!' is not recognized as an internal or external command,
> [22:47:43]operable program or batch file.
> [22:47:43]Environment variable -o nounset; set -o errexit; set -o pipefail; set -o errtrace; set -o functrace not defined
> [22:47:43]Environment variable -x not defined
> [22:47:43]'rm' is not recognized as an internal or external command,
> [22:47:43]operable program or batch file.
> [22:47:43]The syntax of the command is incorrect.
> [22:47:43]'cp' is not recognized as an internal or external command,
> [22:47:43]operable program or batch file.
> [22:47:43]Process exited with code 1/
>
>
> Could you check it, please?
>
>
> [1] - https://issues.apache.org/jira/browse/IGNITE-14150
>
> [2] - https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_Flink&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
>
> On 09.02.2021 13:36, Petr Ivanov wrote:
>> Hi, Nikolay.
>>
>>
>> I've created a set of tests for extensions, and part of them are failing with:
>>
>> JUnit4Provider.invoke:159->executeTestSet:238->executeWithRerun:273->execute:365 » NoSuchMethod
>> java.lang.NoSuchMethodError: org.apache.maven.surefire.report.SimpleReportEntry.withException(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/maven/surefire/report/StackTraceWriter;)Lorg/apache/maven/surefire/report/SimpleReportEntry;
>> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>>
>>
>> Could you check [1] please?
>>
>>
>> [1] https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/5864907?buildTab=dependencies&mode=list
>>
Re: Ignite Extensions tests
Posted by Mikhail Petrov <pm...@gmail.com>.
Hi, Petr.
It seems that the problem is in an outdated version of the maven
surefire plugin that is used in ignite-extensions.
I created the corresponding ticket [1].
I also faced that current ignite-extensions build is broken on windows
agents - [2]. It fails with the following error:
/[22:47:43]'#!' is not recognized as an internal or external command,
[22:47:43]operable program or batch file.
[22:47:43]Environment variable -o nounset; set -o errexit; set -o
pipefail; set -o errtrace; set -o functrace not defined
[22:47:43]Environment variable -x not defined
[22:47:43]'rm' is not recognized as an internal or external command,
[22:47:43]operable program or batch file.
[22:47:43]The syntax of the command is incorrect.
[22:47:43]'cp' is not recognized as an internal or external command,
[22:47:43]operable program or batch file.
[22:47:43]Process exited with code 1/
Could you check it, please?
[1] - https://issues.apache.org/jira/browse/IGNITE-14150
[2] -
https://ci.ignite.apache.org/viewType.html?buildTypeId=IgniteExtensions_Tests_Flink&branch_IgniteExtensions_Tests=%3Cdefault%3E&tab=buildTypeStatusDiv
On 09.02.2021 13:36, Petr Ivanov wrote:
> Hi, Nikolay.
>
>
> I've created a set of tests for extensions, and part of them are failing with:
>
> JUnit4Provider.invoke:159->executeTestSet:238->executeWithRerun:273->execute:365 » NoSuchMethod
> java.lang.NoSuchMethodError: org.apache.maven.surefire.report.SimpleReportEntry.withException(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lorg/apache/maven/surefire/report/StackTraceWriter;)Lorg/apache/maven/surefire/report/SimpleReportEntry;
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>
>
> Could you check [1] please?
>
>
> [1] https://ci.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_RunAllTests/5864907?buildTab=dependencies&mode=list
>