X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=federation%2Fregrtests.cron;fp=federation%2Fregrtests.cron;h=071292391159bc3d52dbcd5b54fcc25b83b693c4;hb=8bf032853c901e5978a079f1764aa94b3c0b672d;hp=0000000000000000000000000000000000000000;hpb=6761de2ff77e43e383300d92e2f12e5b15597353;p=tests.git diff --git a/federation/regrtests.cron b/federation/regrtests.cron new file mode 100644 index 0000000..0712923 --- /dev/null +++ b/federation/regrtests.cron @@ -0,0 +1,26 @@ +PL_PATH = "/u/jbagdis/planetlab/tests" + +# update plots +*/3 * * * * cd $PL_PATH; python -c 'import tests; tests.make_plots()' + +# fill/empty slice +0 */6 * * * cd $PL_PATH; python -c 'import tests; tests.empty_slice("princeton_jbagdis")' +0 3-23/6 * * * cd $PL_PATH; python -c 'import tests; tests.fill_slice("princeton_jbagdis")' +0 */4 * * * cd $PL_PATH; python -c 'import tests; tests.empty_slice("princeton_bagdis2")' +5 */4 * * * cd $PL_PATH; python -c 'import tests; tests.fill_slice("princeton_bagdis2")' +0 1-23/4 * * * cd $PL_PATH; python -c 'import tests; tests.add_key("key1")' +0 2-23/4 * * * cd $PL_PATH; python -c 'import tests; tests.update_key("key1", "key2")' +0 3-23/4 * * * cd $PL_PATH; python -c 'import tests; tests.delete_key("key2")' + + + +# count nodes +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_in_slice_by_api("princeton_jbagdis")' >> $PL_PATH/data/nodes_in_slice +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_in_slice_by_api("princeton_bagdis2")' >> $PL_PATH/data/nodes_in_slice2 +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_by_api()' >> $PL_PATH/data/nodes +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_can_ssh("princeton_jbagdis", "key0")' >> $PL_PATH/data/nodes_can_ssh +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_good_by_comon()' >> $PL_PATH/data/nodes_good +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_can_ssh("princeton_bagdis2", "key0")' >> $PL_PATH/data/nodes_can_ssh2_key0 +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_can_ssh("princeton_bagdis2", "key1")' >> $PL_PATH/data/nodes_can_ssh2_key1 +* * * * * cd $PL_PATH; python -c 'import tests; tests.count_nodes_can_ssh("princeton_bagdis2", "key2")' >> $PL_PATH/data/nodes_can_ssh2_key2 +