question
68 views
M2 Autotester PUT_SUCCESS not expected
Reposting a follow up to @119 here since that post is quite old now.
When the MS2 tester sends a PUT to the correct server, PUT_SUCCESS is returned but that’s apparently an unexpected answer.
“abc” is hashed to “900150983cd24fb0d6963f7d28e17f72”, which s2-gr13-m2-server2:42607 should be responsible for.
What is the expected answer from the server be here?
Trying to again establish a connection to KV server 0...
Expecting welcome message from the client...
-------Output@KV at localhost/127.0.0.1:33375>
Testing keyrange command...
-------Input@KV at localhost/127.0.0.1:33375> keyrange
-------Output@KV at localhost/127.0.0.1:33375> KEYRANGE_SUCCESS 270e5f34487e9fed9c8bd23a4845c24b,2d69bc926eaa7d6c2b68c98185847205,s2-gr13-m2-server0:33375;2d69bc926eaa7d6c2b68c98185847206,310f55d79bdafa34efcc6b7830d90f63,s2-gr13-m2-server3:39959;310f55d79bdafa34efcc6b7830d90f64,ad77cb25a15c99482f96310c74b75b96,s2-gr13-m2-server2:42607;ad77cb25a15c99482f96310c74b75b97,f90a618014bfaacaebe940fc10e86141,s2-gr13-m2-server4:46493;f90a618014bfaacaebe940fc10e86142,270e5f34487e9fed9c8bd23a4845c24a,s2-gr13-m2-server1:45233;
Trying to put keys in server...
-------Input@KV at localhost/127.0.0.1:33375> put abc cde
-------Output@KV at localhost/127.0.0.1:33375> SERVER_NOT_RESPONSIBLE
-------Input@KV at localhost/127.0.0.1:33375> keyrange
-------Output@KV at localhost/127.0.0.1:33375> KEYRANGE_SUCCESS 270e5f34487e9fed9c8bd23a4845c24b,2d69bc926eaa7d6c2b68c98185847205,s2-gr13-m2-server0:33375;2d69bc926eaa7d6c2b68c98185847206,310f55d79bdafa34efcc6b7830d90f63,s2-gr13-m2-server3:39959;310f55d79bdafa34efcc6b7830d90f64,ad77cb25a15c99482f96310c74b75b96,s2-gr13-m2-server2:42607;ad77cb25a15c99482f96310c74b75b97,f90a618014bfaacaebe940fc10e86141,s2-gr13-m2-server4:46493;f90a618014bfaacaebe940fc10e86142,270e5f34487e9fed9c8bd23a4845c24a,s2-gr13-m2-server1:45233;
Connect to the new KV server responsible for the key...
Read the welcome message...
-------Output@KV at localhost/127.0.0.1:42607>
-------Input@KV at localhost/127.0.0.1:42607> put abc cde
-------Output@KV at localhost/127.0.0.1:42607> PUT_SUCCESS abc cde
PUT_SUCCESS abc cde
Unexpected answer. Fail the test...
Test failed. The output does not meet expectation.
Visit Manage Class to disable runnable code snippets