[ 
https://issues.apache.org/jira/browse/IGNITE-28845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18093283#comment-18093283
 ] 

Ignite TC Bot commented on IGNITE-28845:
----------------------------------------

{panel:title=Branch: [pull/13315/head] Base: [master] : Possible Blockers 
(1)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}Thin client: PHP{color} [[tests 0 Exit Code 
|https://ci2.ignite.apache.org/viewLog.html?buildId=9168373]]

{panel}
{panel:title=Branch: [pull/13315/head] Base: [master] : No new tests 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9168428&buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9168428 
rerunBuildIds=none{color}

> Fix broken tests in DeploymentTest
> ----------------------------------
>
>                 Key: IGNITE-28845
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28845
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Dmitry Werner
>            Assignee: Dmitry Werner
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, ise
>
> On the master branch, the following tests are failing with a 100% failure 
> rate:
>  - Apache.Ignite.Core.Tests.DeploymentTest.TestCustomDeployment
>  - 
> Apache.Ignite.Core.Tests.DeploymentTest.TestLibsDirectoryInAppPathDeployment
>  - Apache.Ignite.Core.Tests.DeploymentTest.TestNuGetDeployment
> Root Cause:
> The tests deploy binaries to a custom folder and start a second Ignite node 
> using a Spring XML configuration (compute-grid2.xml).
> However, the DeployTo method filters the JARs to copy based on a hardcoded 
> list:
> {code:java}
> var jarNames = new[] {@"\ignite-core-", @"\cache-api-1.0.0.jar", 
> @"\modules\spring\"};{code}
> This filter misses ignite-spring-*.jar, which contains 
> IgniteSpringHelperImpl. As a result, the second node crashes immediately upon 
> startup with ClassNotFoundException: 
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl, causing the 
> topology wait to timeout.
> Solution:
> Update the jarNames array in DeploymentTest.DeployTo to include the Spring 
> module JAR:
> {code:java}
> var jarNames = new[] {@"\ignite-core-", @"\cache-api-1.0.0.jar", 
> @"\modules\spring\", @"\ignite-spring-"}; {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to