Description
Tests for examples that use SandboxMLCache#fillCacheWith(MLSandboxDatasets) fail with FNFE:
[ERROR] Tests run: 34, Failures: 0, Errors: 13, Skipped: 0, Time elapsed: 638.752 s <<< FAILURE! - in org.apache.ignite.testsuites.IgniteExamplesMLTestSuite [ERROR] testExample(org.apache.ignite.examples.ml.KMeansClusterizationExampleSelfName) Time elapsed: 21.701 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\two_classed_iris.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.KMeansClusterizationExampleSelfName.testExample(KMeansClusterizationExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.KNNClassificationExampleSelfName) Time elapsed: 13.81 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\iris.txt (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.KNNClassificationExampleSelfName.testExample(KNNClassificationExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.KNNRegressionExampleSelfName) Time elapsed: 13.633 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\cleared_machines.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.KNNRegressionExampleSelfName.testExample(KNNRegressionExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.LinearRegressionLSQRTrainerExampleSelfName) Time elapsed: 13.71 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\mortalitydata.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.LinearRegressionLSQRTrainerExampleSelfName.testExample(LinearRegressionLSQRTrainerExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.LinearRegressionLSQRTrainerWithMinMaxScalerExampleSelfName) Time elapsed: 13.728 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\mortalitydata.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.LinearRegressionLSQRTrainerWithMinMaxScalerExampleSelfName.testExample(LinearRegressionLSQRTrainerWithMinMaxScalerExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.LinearRegressionSGDTrainerExampleSelfName) Time elapsed: 13.874 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\mortalitydata.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.LinearRegressionSGDTrainerExampleSelfName.testExample(LinearRegressionSGDTrainerExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.LogisticRegressionSGDTrainerExampleSelfName) Time elapsed: 13.694 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\two_classed_iris.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.LogisticRegressionSGDTrainerExampleSelfName.testExample(LogisticRegressionSGDTrainerExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.LogRegressionMultiClassClassificationExampleSelfName) Time elapsed: 13.823 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\glass_identification.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.LogRegressionMultiClassClassificationExampleSelfName.testExample(LogRegressionMultiClassClassificationExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.TrainTestDatasetSplitterExampleSelfName) Time elapsed: 12.875 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\mortalitydata.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.TrainTestDatasetSplitterExampleSelfName.testExample(TrainTestDatasetSplitterExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.SVMBinaryClassificationExampleSelfName) Time elapsed: 12.795 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\two_classed_iris.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.SVMBinaryClassificationExampleSelfName.testExample(SVMBinaryClassificationExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.SVMMultiClassClassificationExampleSelfName) Time elapsed: 12.948 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\glass_identification.csv (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.SVMMultiClassClassificationExampleSelfName.testExample(SVMMultiClassClassificationExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.RandomForestClassificationExampleSelfName) Time elapsed: 13.613 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\wine.txt (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.RandomForestClassificationExampleSelfName.testExample(RandomForestClassificationExampleSelfName.java) [ERROR] testExample(org.apache.ignite.examples.ml.RandomForestRegressionExampleSelfName) Time elapsed: 13.601 s <<< ERROR! java.io.FileNotFoundException: examples\src\main\resources\datasets\boston_housing_dataset.txt (Системе не удается найти указанный путь) at org.apache.ignite.examples.ml.RandomForestRegressionExampleSelfName.testExample(RandomForestRegressionExampleSelfName.java)
Note that this is reproducible only from test suite; when involved examples execute standalone (by invoking main) needed files are successfully discovered and everything runs okay.
Attachments
Issue Links
- blocks
-
IGNITE-10174 migrate examples tests from Junit 3 to 4
- Resolved
- is broken by
-
IGNITE-9910 [ML] Move the static copy-pasted datasets from examples to special Util class
- Resolved
- relates to
-
IGNITE-10335 move ML examples datasets files to resources
- Resolved
- links to
(1 links to)