From: Miloš Mulač Date: Thu, 16 Feb 2006 16:41:29 +0000 (+0000) Subject: continuos query tests for PS-IS interactions X-Git-Tag: merge_for_3_1_dst~3 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=77796842850a32ca903f86166086257cd08ea116;p=jra1mw.git continuos query tests for PS-IS interactions --- diff --git a/org.glite.jp/doc/testplan.txt b/org.glite.jp/doc/testplan.txt index 87d52be..9e872ea 100644 --- a/org.glite.jp/doc/testplan.txt +++ b/org.glite.jp/doc/testplan.txt @@ -69,20 +69,23 @@ and which don't jpps_store_test -o CERT_DN -t "my_tag=car" -s https://localhost:8901 You should see something like: - ** ./jpps-test -s https://localhost:8950 RegisterJob + ** ./jpps-test -s https://localhost:8901 RegisterJob https://nonexistent.test.server/jpps_store_test_7199 /O=CESNET/O=Masaryk University/CN=Milos Mulac OK - ** ./jpps-test -s https://localhost:8950 GetJobAttr + ** ./jpps-test -s https://localhost:8901 GetJobAttr https://nonexistent.test.server/jpps_store_test_7199 http://egee.cesnet.cz/en/Schema/JP/System:owner OK - Attribute values: /O=CESNET/O=Masaryk University/CN=Milos Mulac SYSTEM Thu Feb 16 14:40:02 2006 + Attribute values: /O=CESNET/O=Masaryk University/CN=Milos Mulac + SYSTEM Thu Feb 16 14:40:02 2006 .... Attribute values: car FILE Thu Feb 16 14:40:02 2006 -3) Start JP index server +3) Start JP index server, using history query + ./glite-jp-indexd -s https://localhost:8901 -d -n -q hist + 4) Check content of IS database mysql -u jpis -e "select * from jobs;" jpis1 @@ -101,6 +104,42 @@ and which don't - upload jobs to PS one by one * check IS contents (matching jobs should turn up, others not) +1) Start JP primary server +2) Start JP index server, using continuous query + ./glite-jp-indexd -s https://localhost:8901 -d -n -q cont + +3) Register job to PS + the same as in 3.1/2 + +4) Check output of IS + you should see incomming connection logs, and among them + severl times something like: + + INSERT INTO attr_52942b8c70bab8491ab5d3b9713d79f5 (jobid, value, + full_value, origin) VALUES ( + '6f4866f3e4f8204c269449e6924d73c0', + 'S:/O=CESNET/O=Masaryk University/CN=Milos Mulac', + 'S:/O=CESNET/O=Masaryk University/CN=Milos Mulac', + '1') + .... + +5) Check content of IS database + you can look whether the insert from previous step was successful: + + mysql -u jpis -e "select * from attr_52942b8c70bab8491ab5d3b9713d79f5;" jpis1 + + should return: + +----------------------------------+-------------------------------------------------+-------------------------------------------------+--------+ +| jobid | value +| full_value | origin | ++----------------------------------+-------------------------------------------------+-------------------------------------------------+--------+ +| 76698aabbf5d60dfa5b42c279e1f0e8c | S:/O=CESNET/O=Masaryk University/CN=Milos +Mulac | S:/O=CESNET/O=Masaryk University/CN=Milos Mulac | 1 | ++----------------------------------+-------------------------------------------------+-------------------------------------------------+--------+ + + + + 3.3 multiple feeds at time TODO