xapi-project / xapi-storage

Experimental new storage interface for xapi
https://xapi-project.github.io/xapi-storage/
9 stars 19 forks source link

Replaced jbuild files with dune. #97

Closed kc284 closed 5 years ago

kc284 commented 5 years ago

Please note that make test fails, but this is not caused by this PR (needs to be updated to use the latest interface from rpclib).

edwintorok commented 5 years ago

Could you open a ticket about the unit test failure?

lindig commented 5 years ago

I see this in the Travis build. The build succeeds and this is the part of the test that fails:

 File "generator/test/storage_test.ml", line 70, characters 17-28:
- Error: Unbound module type Idl.RPCfunc
[ERROR] The compilation of xapi-storage failed at "/home/opam/.opam/4.07/bin/dune runtest -p xapi-storage -j 127".
kc284 commented 5 years ago

Indeed; this module type and others were removed from the rpclib, but neither the README in rpclib was updated nor the tests here.

lindig commented 5 years ago

I don't understand why this has not lead to failures of xs-opam on Travis and I would expect failures if we merge. I think the tests should be disabled in the opam file for now to avoid this.

kc284 commented 5 years ago

The job in xs-opam installs packages but does not seem to run tests. It might be a good idea to run them so as to catch cases like this.