Epistimio / orion

Asynchronous Distributed Hyperparameter Optimization.
https://orion.readthedocs.io
Other
283 stars 52 forks source link

Mongodb setup in CI is broken #1033

Closed bouthilx closed 1 year ago

bouthilx commented 1 year ago

Seems like the installation is not working anymore:

Run mongo orion_test --eval 'db.createUser({user:"user",pwd:"pass",roles:["readWrite"]});'
  mongo orion_test --eval 'db.createUser({user:"user",pwd:"pass",roles:["readWrite"]});'
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.9.15/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.15/x64/lib
/home/runner/work/_temp/96b8a06e-33ea-4fcd-8[2](https://github.com/Epistimio/orion/actions/runs/3561795893/jobs/5983069161#step:6:2)2f-0a[3](https://github.com/Epistimio/orion/actions/runs/3561795893/jobs/5983069161#step:6:3)26daa3[5](https://github.com/Epistimio/orion/actions/runs/3561795893/jobs/5983069161#step:6:5)e8.sh: line 1: mongo: command not found

https://github.com/Epistimio/orion/actions/runs/3561795893/jobs/5983069161

bouthilx commented 1 year ago

Installation in Setup MongoDB step seems working fine, and version is 4.2 like previous builds passing for mongodb tests: https://github.com/Epistimio/orion/actions/runs/3520466242/jobs/5901467690.

Delaunay commented 1 year ago

Fixed in https://github.com/Epistimio/orion/commit/6da360be60e4a284e4120c0dd5c3a7a6ed25d6f1