holgerteichgraeber / TimeSeriesClustering.jl

Julia implementation of unsupervised learning methods for time series datasets. It provides functionality for clustering and aggregating, detecting motifs, and quantifying similarity between time series datasets.
MIT License
82 stars 23 forks source link

Testing fails due to job killed by travis #99

Open holgerteichgraeber opened 5 years ago

holgerteichgraeber commented 5 years ago

Testing sometimes fails. The error is something like /home/travis/.travis/functions: line 104: 3596 Killed. This seems to be an issue with memory on travis.

Todo is to rewrite the tests so that they use less memory. Potentially make the kmedoids-exact cbc case smaller, and also reduce the amount of data that is loaded.

Workaround for now is to just rerun the build on travis, so far it has worked the second time.

holgerteichgraeber commented 5 years ago

See for example this discussion: https://github.com/travis-ci/travis-ci/issues/4192

holgerteichgraeber commented 5 years ago

Example fail: https://travis-ci.com/holgerteichgraeber/ClustForOpt.jl/jobs/213586554

YoungFaithful commented 5 years ago

Does the "reference" data ( test/reference_generation/run_clust.jld2 ) already contain the new Object names based on TimSeriesClustering.ClustData...?

holgerteichgraeber commented 5 years ago

Does the "reference" data ( test/reference_generation/run_clust.jld2 ) already contain the new Object names based on TimSeriesClustering.ClustData...?

Good call, no it does not. Will have to rerun that I assume.

holgerteichgraeber commented 5 years ago

Does the "reference" data ( test/reference_generation/run_clust.jld2 ) already contain the new Object names based on TimSeriesClustering.ClustData...?

Fixed in #116 . Still has the issue that it needs to be rerun sometimes, it fails around 50% of the time. Seems like test cases use much memory overall.