gipplab / LaCASt

LaCASt - A LaTeX Translator for Computer Algebra Systems
MIT License
7 stars 0 forks source link

Mathoid Dependency or ES Failure #224

Closed AndreG-P closed 3 years ago

AndreG-P commented 3 years ago

Sometimes, the ES instance in Github actions fails and LaCASt is unable to connect. This cause some test cases to fail and hence the build fails...

The only solution I see is to either stop using ES in Github actions (many tests wont be possible in CI anymore) or change to another github actions ES solution. This seems to be the official yet not released solution: https://github.com/elastic/elastic-github-actions

AndreG-P commented 3 years ago

It seems the issue is Mathoid. Mathosphere is trying to reach mathoid locally localhost:10044. However, maybe it does not find it and automatically moves to DKE as an alternative (vmext-demo). Hence, if DKE is down, the tests fail too. So either we are aware of this dependency or we start mathoid locally for CI too (wouldn't be too difficult).

However, first we should verify this is the reason. When DKE is back online (and vmext-demo too), the build should run through all tests successfully... So we will see if that works

AndreG-P commented 3 years ago

Alright. The system works without mathoid but its a bit faster if its running (mathosphere is complaining it cannot reach mathoid).

The test failed sometimes because the order of the test was important. One tests uses ES and reindexed dlmf-macro if necessary, the other does not. e124d3d fixed this issue.