[
https://issues.apache.org/jira/browse/IGNITE-7916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401606#comment-16401606
]
Yury Babak commented on IGNITE-7916:
------------------------------------
[~netmille], Please set correct status for this ticket "In progress" if you
working on it or "submit patch" if you think that PR is ready.
As for PR - the problem not in _Ignition.stop(true);_ but in _System.exit(1);_.
For self check you could use
org/apache/ignite/testsuites/IgniteExamplesMLTestSuite.java
Also please check that javadoc is
valid(org/apache/ignite/examples/ml/genetic/helloworld/HelloWorldTerminateCriteria.java:76).
Thanks.
PS, build log:
...
[11:39:48][Step 4/5] [2018-03-16 08:39:48,460][INFO ][main][root] >>> Starting
test: MovieGAExampleSelfName#testExample <<<
[11:39:48][Step 4/5] GENRES System property not set. Please provide GENRES
information. IE: -DGENRES=Action,Comedy,Romance
[11:39:48][org.apache.ignite:ignite-examples] Process exited with code 1
[11:39:48][Step 4/5] Publishing artifacts
[11:39:48][Publishing artifacts] Collecting files to publish:
[/data/teamcity/temp/buildTmp/.tc-maven-bi/maven-build-info.1.xml.gz =>
.teamcity]
[11:39:48][Publishing artifacts] Publishing 1 file using
[ArtifactsCachePublisher]:
/data/teamcity/temp/buildTmp/.tc-maven-bi/maven-build-info.1.xml.gz => .teamcity
[11:39:48][Publishing artifacts] Publishing 1 file using [WebPublisher]:
/data/teamcity/temp/buildTmp/.tc-maven-bi/maven-build-info.1.xml.gz => .teamcity
[11:39:48][Step 4/5] Process exited with code 1
[11:39:48][Step 4/5] Waiting for 116 service processes to complete
[11:39:49][Step 4/5] Step Build and run tests (Maven) failed
...
> GA Grid examples should be ready for auto run on TeamCity
> ---------------------------------------------------------
>
> Key: IGNITE-7916
> URL: https://issues.apache.org/jira/browse/IGNITE-7916
> Project: Ignite
> Issue Type: Bug
> Components: examples, ml
> Reporter: Yury Babak
> Assignee: Turik Campbell
> Priority: Critical
> Labels: MakeTeamcityGreenAgain
>
> If we start examples MovieGAExample or OptimizeMakeChangeGAExample on TC,
> this examples will return exit code 1. TeamCity think that it's a error and
> mark stop whole build of examples package.
> That behavior should be changed. If we don't have required system properties
> we should not return exit code 1 or maybe set and use some default values.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)