-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CompactTest fails while executing CouchDB elixir test suite. #2099
Comments
Hard to say without any additional details like database log files. I don't think I've ever seen that one fail like that on our CI system yet so I don't have any other context to go on. |
Hi @kocolosk , I debugged the failing After understanding the logic of the test case and tracing the code flow, I realised that the failure happened due to the incorrect assert check at the following location:- This is because the final data size after deletion & further compaction is more than the deleted data size after only deletion, but not compaction. Following are the values of the variables in question that I managed to trace:-
I have made the necessary changes and submitted a PR for the same. |
Entire test suite for CouchDB v2.3(current master) executes successfully/passes with Erlang v21 and Elixir v1.8 on PowerPC64LE. Closing this issue. Thanks for all your help and support in getting this through. |
Great stuff @sarveshtamba. We are looking to add PPC64LE to the CI matrix soon, so that should help us keep this one green. |
@kocolosk any timelines to add PPC64LE to the CI matrix? |
Hi @kocolosk , The build script to build CouchDB alongwith all of its dependencies on PowerPC64LE is present at the below location:- Note that this is tested for building CouchDB v2.3 (current master) with Erlang v21 and Elixir v1.8 only. Also as per here - https://cwiki.apache.org/confluence/display/INFRA/Jenkins+node+labels , below are the ppc64le nodes available for ASF projects:-
There are currently 2 ppc64le nodes present at https://builds.apache.org/computer/ . They are |
@sarveshtamba Please don't issue hijack, this isn't the right issue for this topic. We're aware of those nodes and can't use the hadoop one. Because of our need for redundant builders, we've requested 2 nodes from OSU and received them yesterday. We're also moving to a new Jenkins/CloudBees Core install soon and will set those nodes up then. |
-CouchDB v2.3(master branch)
-Erlang OTP v21
-Elixir v1.8.2
Seeing the below issue while running CouchDB test suite using
make check
ormake elixir
I have set the timeouts at the following two places to 999_999(lower timeouts of 10000 from exisiting 5000 still caused some tests to fail, will try to figure the most optimum value after some more trials)
https://github.com/apache/couchdb/blob/master/test/elixir/lib/couch.ex#L182
https://github.com/apache/couchdb/blob/master/test/elixir/lib/couch/db_test.ex#L293
Right now the elixir test suite is in progress and all the tests seem to pass, currently test is stuck at the following for quite sometime:-
After the long timeout, the following test finally fails as below:-
This is the only test failure that I am seeing right now, and all the other tests pass successfully.
The text was updated successfully, but these errors were encountered: