Skip to content

Instantly share code, notes, and snippets.

@seancribbs
Created January 6, 2014 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seancribbs/8288796 to your computer and use it in GitHub Desktop.
Save seancribbs/8288796 to your computer and use it in GitHub Desktop.
$ ./riak_test -t validate_nval_etc -c rtdev
Tests to run: [{validate_nval_etc,[{id,-1},
{platform,<<"local">>},
{version,<<"riak-2.0.0pre9-develop">>},
{project,<<"riak">>}]}]
13:52:55.013 [info] Application lager started on node nonode@nohost
13:52:55.014 [info] These modules are not runnable tests: []
13:52:55.060 [info] Skipping cover, no modules included
13:52:55.544 [info] Stopped Node... /Users/sean/rt/riak/riak-1.4.6/dev/dev1/bin/riak stop ~ wasn't running.
13:52:55.587 [info] Stopped Node... /Users/sean/rt/riak/current/dev/dev1/bin/riak stop ~ wasn't running.
13:52:56.021 [info] Stopped Node... /Users/sean/rt/riak/riak-1.4.6/dev/dev2/bin/riak stop ~ wasn't running.
13:52:56.134 [info] Stopped Node... /Users/sean/rt/riak/current/dev/dev2/bin/riak stop ~ wasn't running.
13:52:56.498 [info] Stopped Node... /Users/sean/rt/riak/riak-1.4.6/dev/dev3/bin/riak stop ~ wasn't running.
13:52:56.665 [info] Stopped Node... /Users/sean/rt/riak/current/dev/dev3/bin/riak stop ~ wasn't running.
13:52:56.984 [info] Stopped Node... /Users/sean/rt/riak/riak-1.4.6/dev/dev4/bin/riak stop ~ wasn't running.
13:52:57.178 [info] Stopped Node... /Users/sean/rt/riak/current/dev/dev4/bin/riak stop ~ wasn't running.
13:52:57.471 [info] Stopped Node... /Users/sean/rt/riak/riak-1.4.6/dev/dev5/bin/riak stop ~ wasn't running.
13:52:57.688 [info] Stopped Node... /Users/sean/rt/riak/current/dev/dev5/bin/riak stop ~ wasn't running.
13:52:57.688 [info] Resetting nodes to fresh state
13:52:57.688 [info] Running: git --git-dir="/Users/sean/rt/riak/.git" --work-tree="/Users/sean/rt/riak/" reset HEAD --hard
13:52:57.885 [info] Running: git --git-dir="/Users/sean/rt/riak/.git" --work-tree="/Users/sean/rt/riak/" clean -fd
13:52:57.969 [info] Cleaning up lingering pipe directories
13:52:57.970 [warning] rt:set_backend doesn't recognize undefined as a legit backend, using the default.
13:52:57.971 [info] get_backend(/Users/sean/rt/riak/current/dev/dev1/etc/advanced.config)
13:52:57.971 [info] Running: /Users/sean/rt/riak/current/dev/dev1/bin/riak chkconfig
13:52:58.969 [info] get_backend(/Users/sean/rt/riak/current/dev/dev2/etc/advanced.config)
13:52:58.969 [info] Running: /Users/sean/rt/riak/current/dev/dev2/bin/riak chkconfig
13:52:59.914 [info] get_backend(/Users/sean/rt/riak/current/dev/dev3/etc/advanced.config)
13:52:59.914 [info] Running: /Users/sean/rt/riak/current/dev/dev3/bin/riak chkconfig
13:53:00.923 [info] get_backend(/Users/sean/rt/riak/current/dev/dev4/etc/advanced.config)
13:53:00.923 [info] Running: /Users/sean/rt/riak/current/dev/dev4/bin/riak chkconfig
13:53:02.080 [info] get_backend(/Users/sean/rt/riak/current/dev/dev5/etc/advanced.config)
13:53:02.080 [info] Running: /Users/sean/rt/riak/current/dev/dev5/bin/riak chkconfig
13:53:03.181 [info] get_backend(/Users/sean/rt/riak/riak-1.4.6/dev/dev1/etc/app.config)
13:53:03.183 [info] get_backend(/Users/sean/rt/riak/riak-1.4.6/dev/dev2/etc/app.config)
13:53:03.186 [info] get_backend(/Users/sean/rt/riak/riak-1.4.6/dev/dev3/etc/app.config)
13:53:03.188 [info] get_backend(/Users/sean/rt/riak/riak-1.4.6/dev/dev4/etc/app.config)
13:53:03.191 [info] get_backend(/Users/sean/rt/riak/riak-1.4.6/dev/dev5/etc/app.config)
13:53:03.193 [info] validate_nval_etc prereqs: []
13:53:03.193 [notice] Running Test validate_nval_etc
13:53:04.195 [info] Test Runner `uname -a` : Darwin seanbasho.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
13:53:04.195 [info] Riak path: "/Users/sean/rt/riak"
13:53:04.215 [info] Running: /Users/sean/rt/riak/current/dev/dev1/bin/riak start
13:53:07.160 [info] Wait until 'dev1@127.0.0.1' is pingable
13:53:07.244 [info] Wait until 'dev1@127.0.0.1' is pingable
13:53:07.245 [info] Wait until riak_core_ring_manager is up on 'dev1@127.0.0.1'
13:53:07.245 [info] Check 'dev1@127.0.0.1' is a singleton
13:53:07.258 [info] Deployed nodes: ['dev1@127.0.0.1']
13:53:07.259 [info] Waiting for services [riak_kv] to start on ['dev1@127.0.0.1'].
13:53:17.270 [info] Wait until nodes are ready : ['dev1@127.0.0.1']
13:53:17.271 [info] Wait until nodes agree about ownership ['dev1@127.0.0.1']
13:53:17.271 [info] Wait until no pending changes on ['dev1@127.0.0.1']
13:53:17.271 [info] Cluster built: ['dev1@127.0.0.1']
13:53:17.342 [warning] validate_nval_etc failed: {{assertion_failed,[{module,validate_nval_etc},{line,144},{expression,"sets : is_subset ( sets : from_list ( Expected ) , sets : from_list ( Props ) )"},{expected,true},{value,false}]},[{validate_nval_etc,'-verify_props/2-fun-0-',2,[{file,"tests/validate_nval_etc.erl"},{line,144}]},{validate_nval_etc,confirm,0,[{file,"tests/validate_nval_etc.erl"},{line,89}]}]}
13:53:17.342 [error] Error in process <0.100.0> on node 'riak_test@127.0.0.1' with exit value: {{assertion_failed,[{module,validate_nval_etc},{line,144},{expression,"sets : is_subset ( sets : from_list ( Expected ) , sets : from_list ( Props ) )"},{expected,true},{value,false}]},[{validate_nval_etc,'-verify_props/2-fun-0-'...
13:53:17.342 [error]
================ validate_nval_etc failure stack trace =====================
{{assertion_failed,[{module,validate_nval_etc},
{line,144},
{expression,"sets : is_subset ( sets : from_list ( Expected ) , sets : from_list ( Props ) )"},
{expected,true},
{value,false}]},
[{validate_nval_etc,'-verify_props/2-fun-0-',2,
[{file,"tests/validate_nval_etc.erl"},{line,144}]},
{validate_nval_etc,confirm,0,
[{file,"tests/validate_nval_etc.erl"},{line,89}]}]}
============================================================================
13:53:17.342 [notice] validate_nval_etc Test Run Complete
Test Results:
validate_nval_etc-bitcask: fail
---------------------------------------------
1 Tests Failed
0 Tests Passed
That's 0.0% for those keeping score
So, we find ourselves in a tricky situation here.
You've run a single test, and it has failed.
Would you like to leave Riak running in order to debug?
[Y/n]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment