couchbase-lite-C
couchbase-lite-C copied to clipboard
Tests failing on HEAD? Linux, Ubuntu 20.04, WSL
Hello couchbase!
I am new to couchdb and couchbase lite. I am evaluating replacing my company's sqlite3 backend for a distributed application I own with couchbase lite. For fun, I followed the Linux build instructions laid out in the README; I passed compilation but cannot run tests successfully.
To make matters interesting, I am a Windows 10 WSL user (version 2), which is 'running' an Ubuntu 20.04 distribution. I wouldn't be surprised at all if my test failures are related to my build environment, but at any rate I would love to start a conversation about it.
Here's a pastebin with my test results: https://pastebin.com/2bfLJM43
HEAD commit: b83e34c4936e1c4f64e39ef22df10e7e1d4b3195
Test invocation:
./CBL_C_Tests -r list | tee test_results.log
Would appreciate any insights. Thanks!
The only insight to offer is that this is a known issue in our test suite (and probably in the library itself) and that one day we hope to have it fixed. Sorry for the anticlimactic answer. The C product has yet to have its first GA release.
Also small point, we are not CouchDB, that is another project all together in the Apache Foundation :)
I'm linking this to the existing ticket CBL-2147
Thank you @borrrden for your rapid response! 🚨 🙏
we are not CouchDB
Aha got it! OK, stupid question, are you like, compatible with the CouchDB project? Asking for a friend...
OK wow I am educating myself via https://www.educba.com/couchbase-vs-couchdb/ and yeah I have no idea where I am 😄
Feel free to tell me anything you'd like about why I would be poking in one project or the other; they do seem like totally orthogonal frameworks. Right? Does your project have its own open source server and sync gateway implementation?
CouchDB and Couchbase Server are in the same business space. They are both server side NoSQL implementations but that is where the similarities end. The latter started out based on the former about a decade ago but quickly diverged. The former has no mobile solution (i.e. the product you are attempting to build at the moment), and obviously the latter has Couchbase Lite (which you filed this issue on).
Thanks borrrden! Alright, I will continue on this evaluation path (Couchbase Server <> Couchbase Lite). Looking forward to continued discussions, and good luck with your GA release for the C product; at least in my corner of the world (aerospace and robotics) it is definitely going to be in much demand!
For as long as I have a stake in the release of the couchbase lite C/C++ product, I am happy to serve as a feature or environment tester, just let me know.
Since couchbase-lite-C is not GA released yet...does it distress you that I would try to use the product as-is in production? For example, I have a custom embedded busybox / buildroot platform setup, and I would be integrating couchbase lite into my cross-compiled toolchain and application. Probably pinned on some HEAD of master unless you suggest a better tag.
A commercial application to be clear. I do dig the Apache licensing that I saw in the root of the repo.
@acarrillo Glad to see your interest in CBL-C product. We should have a beta in the near future that you can start evaluating (will keep you posted when that available). There will be pre-packaged builds available for various flavors of Debian among others.
There are some upcoming licensing changes that you should be aware of - As far as building CBL-C from source for custom hardware, you can do that for non-commercial applications . For commercial applications, while the C API is Apache licensed, it links with our Lite Core Engine which is BSL licensed. That would prevent you from developing commercial apps using CBL from source.
These licensing changes will be clarified when we go GA with our product.
Would pre-packaged binaries be a viable option for you?
@acarrillo Do you have a response to the above? The 3.0.0 GA is now out.
Closed as no activity.