You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@AtnNn -- this is too broad and abstract an issue, so it's unassignable for any given sprint. Could you either close it and open a new one, or make this one more concrete and give it a well defined scope?
Here is an old breakdown of the failing tests from before the tests had names. I ran all the integration tests on all our servers without using /dev/shm/. 22 tests timed out before completion. 26 tests passed.
The 52 failing tests each failed with one of following errors:
Unable to read from socket: Success _pylibmc.ServerError: error 10 from memcached_set: SERVER ERROR assert not os.path.exists(db_path) -- AssertionError RuntimeError: Process stopped unexpectedly with return code -5 after SIGINT File "../test/memcached_workloads/many_keys.py", line 45, in <module> -- value = values[key] -- KeyError: '4814' File "../test/memcached_workloads/append_stress.py", line 42, in <module> -- raise ValueError("Expecting STORED reply.") Protocol error: Server error: master error: not enough replicas responded
File "/home/atnnn/rethinkdb/test/common/http_admin.py", line 662, in check_no_issues
raise RuntimeError("Cluster has issues:\n" + message)
RuntimeError: Cluster has issues:
Machine 2a23acd1-6174-4517-acdb-6afe64ecbfb6 is inaccessible.
Machine 587e19b2-90b3-4507-a124-04a9d1c89a77 is inaccessible.
File "/var/jenkins/workspace/test-runner@4/test/common/http_admin.py", line 374, in do_query_specific_plaintext
raise BadServerResponse(response.status, response.reason)
http_admin.BadServerResponse: Server returned error code: 500 Internal Server Error
File "../test/interface/log.py", line 35, in <module>
assert len(log) >= num_entries
Protocol error: Server error: No master available
Protocol error: Server error: No master available
terminate called recursively
terminate called after throwing an instance of 'protocol_error_t'
Aborted (core dumped)
File "../test/memcached_workloads/serial_mix.py", line 25, in fail
raise ValueError("Key %r should have value %r, but had value %r." % (k, v, v2))
ValueError: Key 'y' should have value 'VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS\
S', but had value 'VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
# Failed test 'add == 'addval3''
# at /var/jenkins/workspace/test-runner@4/test/memcached_workloads/memcached_suite/lib/MemcachedTest.pm line 59.
# got: 'END
# '
# expected: 'VALUE add 0 7
The tests now have names, they can be run easily and they have error logs that are easier to parse. I have to re-run the tests, hope they fail again, and open a seperate issue for each failure.
I want to get the integrations tests to run again and consistently pass. Ideally I will be able to:
Refactor the python test framework (scenarios and workloads) to make it even easier to use (I still don't know if that's possible, @timmaxw and @Tryneus did a really good job)
As part of porting the polyglot tests, could we make it so that regression tests for server behavior are written directly in one of the three languages rather than going through yaml and the polyglot test framework? Some types of tests would be an order of magnitude less painful to write in that case.
I am going to close this both because much of it is stale or completed, and because there is little point to a very generic umbrella issue like this. Minus a 3 points that are too vague to be addressed everything is covered. Here is the checklist from above:
Refactor the python test framework (scenarios and workloads) to make it even easier to use (I still don't know if that's possible, @timmaxw and @Tryneus did a really good job)too vague
Convert the polyglot tests to use that framework, and act as workloads (The current scripts are very erratic):
Activity
coffeemug commentedon Apr 17, 2013
@AtnNn -- this is too broad and abstract an issue, so it's unassignable for any given sprint. Could you either close it and open a new one, or make this one more concrete and give it a well defined scope?
AtnNn commentedon Apr 17, 2013
Here is an old breakdown of the failing tests from before the tests had names. I ran all the integration tests on all our servers without using /dev/shm/. 22 tests timed out before completion. 26 tests passed.
The 52 failing tests each failed with one of following errors:
Unable to read from socket: Success_pylibmc.ServerError: error 10 from memcached_set: SERVER ERRORassert not os.path.exists(db_path) -- AssertionErrorRuntimeError: Process stopped unexpectedly with return code -5 after SIGINTFile "../test/memcached_workloads/many_keys.py", line 45, in <module> -- value = values[key] -- KeyError: '4814'File "../test/memcached_workloads/append_stress.py", line 42, in <module> -- raise ValueError("Expecting STORED reply.")Protocol error: Server error: master error: not enough replicas respondedThe tests now have names, they can be run easily and they have error logs that are easier to parse. I have to re-run the tests, hope they fail again, and open a seperate issue for each failure.
AtnNn commentedon Jan 31, 2014
I want to get the integrations tests to run again and consistently pass. Ideally I will be able to:
rundirectory occasionally #674, Polyglot tests fail withOSError: [Errno 2] No such file or directoryifbuild/release/rethinkdbdoes not exist #706, Broken test: Databasetestalready exists. #968, Some of the driver tests test the installed driver #711, The ql-js-connect test occasionally fails on travis #668, When running the regression-659 test, the stress client fails withUnable to read from socket: Success#616, Make reql tests not be so unfriendly #1402)I have started work on this in the
atnnn/490branch.mlucy commentedon Feb 3, 2014
That all sounds wonderful.
As part of porting the polyglot tests, could we make it so that regression tests for server behavior are written directly in one of the three languages rather than going through yaml and the polyglot test framework? Some types of tests would be an order of magnitude less painful to write in that case.
AtnNn commentedon Feb 4, 2014
@mlucy Yes.
Do you know if there are any of those kinds of tests outside of
test/rq_test/src/regression?mlucy commentedon Feb 4, 2014
A lot of the stuff for e.g. sindexes is there to test server behavior.
larkost commentedon Dec 31, 2014
I am going to close this both because much of it is stale or completed, and because there is little point to a very generic umbrella issue like this. Minus a 3 points that are too vague to be addressed everything is covered. Here is the checklist from above:
Refactor the python test framework (scenarios and workloads) to make it even easier to use (I still don't know if that's possible, @timmaxw and @Tryneus did a really good job)too vaguerundirectory occasionally #674 Polyglot tests should clear outrundirectory occasionallyOSError: [Errno 2] No such file or directoryifbuild/release/rethinkdbdoes not exist #706 Polyglot tests fail withOSError: [Errno 2] No such file or directoryifbuild/release/rethinkdbdoes not existtestalready exists. #968 Broken test: Databasetestalready exists.Unable to read from socket: Success#616 When running the regression-659 test, the stress client fails with `Unable to read from socket: SuccessListen on Unix Domain Sockets #1884 Listen on Unix Domain Socketsno testing impactAdd an import integration test. #537 Add an import integration test.duped to test dump/backup/restore/import restore functions #2598ReQL testing todo #384 ReQL testing todoobsoletemodern interface tests for the web uitoo vagueMake the tests easier to run manuallytoo vague