)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"13773a3d695abdfd471d95a86ca660f21d6364ae","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Santosh Kodicherla \u003cksantosh.cs@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-06-14 06:25:51 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adding tacker multi-vdu and http vnf monitoring testcase with tosca-template"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I728971a1dd84881f4f9268b1116d995e5fb2668d"},{"line_number":10,"context_line":"Closes-Bug: #1590090"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"dada55a8_b83f0e24","line":7,"range":{"start_line":7,"start_character":7,"end_line":7,"end_character":13},"updated":"2016-07-25 23:57:16.000000000","message":"nit: redundant, consider removing it ;)","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"06dd8ac6462b561b5735280e9823ddf96f9f2ab9","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Santosh Kodicherla \u003cksantosh.cs@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-06-14 06:25:51 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Adding tacker multi-vdu and http vnf monitoring testcase with tosca-template"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I728971a1dd84881f4f9268b1116d995e5fb2668d"},{"line_number":10,"context_line":"Closes-Bug: #1590090"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"dada55a8_b6d236cf","line":7,"range":{"start_line":7,"start_character":7,"end_line":7,"end_character":13},"in_reply_to":"dada55a8_b83f0e24","updated":"2016-07-27 07:43:56.000000000","message":"Done","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"}],"tacker/tests/etc/samples/sample-tosca-vnfd-http-monitor.yaml":[{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"b4c56174ae13d2568e75b585894bb8afd596da71","unresolved":false,"context_lines":[{"line_number":16,"context_line":"            mem_size: 2 GB"},{"line_number":17,"context_line":"            disk_size: 32 GB"},{"line_number":18,"context_line":"      properties:"},{"line_number":19,"context_line":"        image: cirros-0.3.4-x86_64-uec        "},{"line_number":20,"context_line":"        availability_zone: nova"},{"line_number":21,"context_line":"        mgmt_driver: noop"},{"line_number":22,"context_line":"        config: |"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_386642ed","line":19,"updated":"2016-06-13 19:15:13.000000000","message":"Removed space in next patch.","commit_id":"880113299c56ac6f8e90b6f0b489503362885f9a"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"4f214599e38866ba2f329a83585d3354ed1f488c","unresolved":false,"context_lines":[{"line_number":45,"context_line":"          sleep 150"},{"line_number":46,"context_line":"          cat \u003e kill.sh \u003c\u003c EOL"},{"line_number":47,"context_line":"          cat \u003c\u003c\u0027EOF\u0027 \u003e kill.sh"},{"line_number":48,"context_line":"          pid \u003d `ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027`"},{"line_number":49,"context_line":"          echo \"killing $pid\""},{"line_number":50,"context_line":"          kill -9 $pid"},{"line_number":51,"context_line":"          EOF"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_82526e33","line":48,"range":{"start_line":48,"start_character":41,"end_line":48,"end_character":49},"updated":"2016-06-13 14:56:50.000000000","message":"Why is this needed?","commit_id":"880113299c56ac6f8e90b6f0b489503362885f9a"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"8d0911e6c989b78c8aab0b5ce17691074c5273d5","unresolved":false,"context_lines":[{"line_number":45,"context_line":"          sleep 150"},{"line_number":46,"context_line":"          cat \u003e kill.sh \u003c\u003c EOL"},{"line_number":47,"context_line":"          cat \u003c\u003c\u0027EOF\u0027 \u003e kill.sh"},{"line_number":48,"context_line":"          pid \u003d `ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027`"},{"line_number":49,"context_line":"          echo \"killing $pid\""},{"line_number":50,"context_line":"          kill -9 $pid"},{"line_number":51,"context_line":"          EOF"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_98c5b65d","line":48,"range":{"start_line":48,"start_character":41,"end_line":48,"end_character":49},"in_reply_to":"7aa08908_185426fc","updated":"2016-06-13 19:25:48.000000000","message":"Sorry for not being clear... I was only referring to \"grep exe\" part of the command. Other stuff seems fine.\n\nAlso you don\u0027t need the \"kill.sh\" script, maybe you can just do something like commands bellow. It looks cleaner IMO.\n\n pid\u003d$(ps -ef | grep httpsrv | grep -v grep | awk \u0027{print $1}\u0027)\n echo \"Killing httpsrv ${pid}...\"\n kill -9 ${pid}","commit_id":"880113299c56ac6f8e90b6f0b489503362885f9a"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"b4c56174ae13d2568e75b585894bb8afd596da71","unresolved":false,"context_lines":[{"line_number":45,"context_line":"          sleep 150"},{"line_number":46,"context_line":"          cat \u003e kill.sh \u003c\u003c EOL"},{"line_number":47,"context_line":"          cat \u003c\u003c\u0027EOF\u0027 \u003e kill.sh"},{"line_number":48,"context_line":"          pid \u003d `ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027`"},{"line_number":49,"context_line":"          echo \"killing $pid\""},{"line_number":50,"context_line":"          kill -9 $pid"},{"line_number":51,"context_line":"          EOF"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_185426fc","line":48,"range":{"start_line":48,"start_character":41,"end_line":48,"end_character":49},"in_reply_to":"7aa08908_82526e33","updated":"2016-06-13 19:15:13.000000000","message":"We want to terminate the http server in order to force monitoring to fail, which is initally running from script httpsrv.sh. Just incase if the server is still running , we are making sure to kill it.","commit_id":"880113299c56ac6f8e90b6f0b489503362885f9a"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"4f214599e38866ba2f329a83585d3354ed1f488c","unresolved":false,"context_lines":[{"line_number":49,"context_line":"          echo \"killing $pid\""},{"line_number":50,"context_line":"          kill -9 $pid"},{"line_number":51,"context_line":"          EOF"},{"line_number":52,"context_line":"          sudo chmod +x kill.sh"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    CP1:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_85171844","line":52,"updated":"2016-06-13 14:56:50.000000000","message":"Script \"kill.sh\" is not executed.","commit_id":"880113299c56ac6f8e90b6f0b489503362885f9a"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"b4c56174ae13d2568e75b585894bb8afd596da71","unresolved":false,"context_lines":[{"line_number":49,"context_line":"          echo \"killing $pid\""},{"line_number":50,"context_line":"          kill -9 $pid"},{"line_number":51,"context_line":"          EOF"},{"line_number":52,"context_line":"          sudo chmod +x kill.sh"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    CP1:"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"7aa08908_f8583a33","line":52,"in_reply_to":"7aa08908_85171844","updated":"2016-06-13 19:15:13.000000000","message":"Done","commit_id":"880113299c56ac6f8e90b6f0b489503362885f9a"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"41b875b5bd70c4cb87016cba02259e351ba2ff7d","unresolved":false,"context_lines":[{"line_number":37,"context_line":"          EOL"},{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 150"},{"line_number":41,"context_line":"          pid \u003d $(ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"7aa08908_54446745","line":40,"updated":"2016-06-15 06:08:32.000000000","message":"pls try to match this time out with total time out used at line 25-28, at least approx.","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"13773a3d695abdfd471d95a86ca660f21d6364ae","unresolved":false,"context_lines":[{"line_number":37,"context_line":"          EOL"},{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 150"},{"line_number":41,"context_line":"          pid \u003d $(ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"dada55a8_58b372e9","line":40,"in_reply_to":"7aa08908_54446745","updated":"2016-07-25 23:57:16.000000000","message":"Agree, this can be reduced. I think we were quite paranoid initially to avoid tripping falls negatives. Perhaps 60 (boot_wait) + few multiple of \u0027timeout\u0027. How about 90s ?","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"06dd8ac6462b561b5735280e9823ddf96f9f2ab9","unresolved":false,"context_lines":[{"line_number":37,"context_line":"          EOL"},{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 150"},{"line_number":41,"context_line":"          pid \u003d $(ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"dada55a8_367be6bf","line":40,"in_reply_to":"dada55a8_58b372e9","updated":"2016-07-27 07:43:56.000000000","message":"Done","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":6348,"name":"xu-haiwei","email":"hai-xu@xr.jp.nec.com","username":"xu-haiwei"},"change_message_id":"e176b59fd7b904f4dca35e6c69f9b4748243c628","unresolved":false,"context_lines":[{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 150"},{"line_number":41,"context_line":"          pid \u003d $(ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"7aa08908_9065741f","line":41,"range":{"start_line":41,"start_character":13,"end_line":41,"end_character":16},"updated":"2016-06-14 09:31:01.000000000","message":"Remove the white space before and after \u0027\u003d\u0027. \n\nIt seems \u0027grep exe\u0027 is not needed.\n\nThe pid should be fetched by \"awk \u0027{print $2}\u0027\"\n\nso the command should be:\n\npid\u003d$(ps -ef | grep httpsrv |grep -v grep | awk \u0027{print $2}\u0027)","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"7317fcc3b24736e8776fad9b09e21b171a23c462","unresolved":false,"context_lines":[{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 150"},{"line_number":41,"context_line":"          pid \u003d $(ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"dada55a8_8a2b8281","line":41,"range":{"start_line":41,"start_character":13,"end_line":41,"end_character":16},"in_reply_to":"7aa08908_9065741f","updated":"2016-07-27 07:47:06.000000000","message":"Done","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"9c571a65cb5bd417b8cf0801553ecc89d7d3144e","unresolved":false,"context_lines":[{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 150"},{"line_number":41,"context_line":"          pid \u003d $(ps -ef | grep httpsrv | grep exe | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"7aa08908_76043d14","line":41,"range":{"start_line":41,"start_character":13,"end_line":41,"end_character":16},"in_reply_to":"7aa08908_9065741f","updated":"2016-06-14 10:32:30.000000000","message":"On Cirros (busybox utils) you need \"print $1\" to get pid from \"ps -ef\" output.","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"97e39dfcaa0369df5dbacf89cced22672c309c32","unresolved":false,"context_lines":[{"line_number":31,"context_line":"        user_data: |"},{"line_number":32,"context_line":"          #!/bin/sh"},{"line_number":33,"context_line":"          cd /tmp"},{"line_number":34,"context_line":"          rm -f httpsrv.sh"},{"line_number":35,"context_line":"          cat \u003e httpsrv.sh \u003c\u003c EOL"},{"line_number":36,"context_line":"          while true; do echo -e \"HTTP/1.0 200 OK\\r\\n\\r\\nWelcome \" | sudo nc -l -p 8000 ; done\u0026"},{"line_number":37,"context_line":"          EOL"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"dada55a8_ca9a9a61","line":34,"range":{"start_line":34,"start_character":10,"end_line":34,"end_character":26},"updated":"2016-07-27 08:03:29.000000000","message":"Nit: no need for this line since \"cat \u003e ...\" is used on next line and the file is overwritten anyway.","commit_id":"551ca4a3381dc187b2251da8ad3b18c94f529e1f"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"a8a0f08b36b54e1fc77301040e9b1bbd5a17b2e6","unresolved":false,"context_lines":[{"line_number":31,"context_line":"        user_data: |"},{"line_number":32,"context_line":"          #!/bin/sh"},{"line_number":33,"context_line":"          cd /tmp"},{"line_number":34,"context_line":"          rm -f httpsrv.sh"},{"line_number":35,"context_line":"          cat \u003e httpsrv.sh \u003c\u003c EOL"},{"line_number":36,"context_line":"          while true; do echo -e \"HTTP/1.0 200 OK\\r\\n\\r\\nWelcome \" | sudo nc -l -p 8000 ; done\u0026"},{"line_number":37,"context_line":"          EOL"}],"source_content_type":"text/x-yaml","patch_set":6,"id":"dada55a8_2a70960a","line":34,"range":{"start_line":34,"start_character":10,"end_line":34,"end_character":26},"in_reply_to":"dada55a8_ca9a9a61","updated":"2016-07-27 08:09:24.000000000","message":"just incase. Its just a removal operation before creating another file. It won\u0027t harm the performance.","commit_id":"551ca4a3381dc187b2251da8ad3b18c94f529e1f"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"97e39dfcaa0369df5dbacf89cced22672c309c32","unresolved":false,"context_lines":[{"line_number":35,"context_line":"          cat \u003e httpsrv.sh \u003c\u003c EOL"},{"line_number":36,"context_line":"          while true; do echo -e \"HTTP/1.0 200 OK\\r\\n\\r\\nWelcome \" | sudo nc -l -p 8000 ; done\u0026"},{"line_number":37,"context_line":"          EOL"},{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 90"},{"line_number":41,"context_line":"          pid \u003d$(ps -ef | grep httpsrv | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"dada55a8_8abf02cf","line":39,"range":{"start_line":38,"start_character":9,"end_line":39,"end_character":29},"updated":"2016-07-27 08:03:29.000000000","message":"Nit: no need to chmod if you use \"sudo bash httpsrv.sh \u0026\"","commit_id":"551ca4a3381dc187b2251da8ad3b18c94f529e1f"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"a8a0f08b36b54e1fc77301040e9b1bbd5a17b2e6","unresolved":false,"context_lines":[{"line_number":35,"context_line":"          cat \u003e httpsrv.sh \u003c\u003c EOL"},{"line_number":36,"context_line":"          while true; do echo -e \"HTTP/1.0 200 OK\\r\\n\\r\\nWelcome \" | sudo nc -l -p 8000 ; done\u0026"},{"line_number":37,"context_line":"          EOL"},{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 90"},{"line_number":41,"context_line":"          pid \u003d$(ps -ef | grep httpsrv | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"dada55a8_4adfcad5","line":39,"range":{"start_line":38,"start_character":9,"end_line":39,"end_character":29},"in_reply_to":"dada55a8_8abf02cf","updated":"2016-07-27 08:09:24.000000000","message":"I noticed i had problem running without setting this executable permissions.","commit_id":"551ca4a3381dc187b2251da8ad3b18c94f529e1f"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"6d67f2280adadf50c6fe4dc2afdb1340f5917ea8","unresolved":false,"context_lines":[{"line_number":35,"context_line":"          cat \u003e httpsrv.sh \u003c\u003c EOL"},{"line_number":36,"context_line":"          while true; do echo -e \"HTTP/1.0 200 OK\\r\\n\\r\\nWelcome \" | sudo nc -l -p 8000 ; done\u0026"},{"line_number":37,"context_line":"          EOL"},{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 90"},{"line_number":41,"context_line":"          pid \u003d$(ps -ef | grep httpsrv | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"dada55a8_6a760e07","line":39,"range":{"start_line":38,"start_character":9,"end_line":39,"end_character":29},"in_reply_to":"dada55a8_8abf02cf","updated":"2016-07-27 08:07:29.000000000","message":"Sorry \"sudo sh httpsrv.sh \u0026\" is the correct code for cirros.","commit_id":"551ca4a3381dc187b2251da8ad3b18c94f529e1f"},{"author":{"_account_id":18401,"name":"Luka Krajger","email":"luka.krajger@gmail.com","username":"KLuka"},"change_message_id":"97e39dfcaa0369df5dbacf89cced22672c309c32","unresolved":false,"context_lines":[{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 90"},{"line_number":41,"context_line":"          pid \u003d$(ps -ef | grep httpsrv | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"dada55a8_6ac72e64","line":41,"range":{"start_line":41,"start_character":13,"end_line":41,"end_character":14},"updated":"2016-07-27 08:03:29.000000000","message":"Whitespace after \"pid\" needs to be removed. Now bash interprets \"pid\" as a command and we get \"pid: command not found\" error.","commit_id":"551ca4a3381dc187b2251da8ad3b18c94f529e1f"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"a8a0f08b36b54e1fc77301040e9b1bbd5a17b2e6","unresolved":false,"context_lines":[{"line_number":38,"context_line":"          sudo chmod +x httpsrv.sh"},{"line_number":39,"context_line":"          sudo ./httpsrv.sh \u0026"},{"line_number":40,"context_line":"          sleep 90"},{"line_number":41,"context_line":"          pid \u003d$(ps -ef | grep httpsrv | grep -v grep | awk \u0027{print $1}\u0027)"},{"line_number":42,"context_line":"          echo \"killing $pid\""},{"line_number":43,"context_line":"          kill -9 ${pid}"},{"line_number":44,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":6,"id":"dada55a8_8af38272","line":41,"range":{"start_line":41,"start_character":13,"end_line":41,"end_character":14},"in_reply_to":"dada55a8_6ac72e64","updated":"2016-07-27 08:09:24.000000000","message":"Done","commit_id":"551ca4a3381dc187b2251da8ad3b18c94f529e1f"}],"tacker/tests/functional/vnfm/test_vnf_monitoring.py":[{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"41b875b5bd70c4cb87016cba02259e351ba2ff7d","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"7aa08908_545bc721","line":82,"updated":"2016-06-15 06:08:32.000000000","message":"as fucntional test cases are always costly, i would suggest to update the existing test cases with additional use case to test instead of adding new fucntional test cases. thanks\n\nBecause, it will increase the total build time, same functionality getting tested twice, burn extra resource unnecessarily.","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"f10162495558a90419b4ea8b6569a169d0464769","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_7c80e5f7","line":82,"in_reply_to":"5a9d85d2_8be64eb2","updated":"2016-07-20 05:47:36.000000000","message":"I didn\u0027t mean that. Please note that the below test case is testing the same functionality but for only one vdu i believe, which is taken care as part of this test case already. so why do we want to test the same with two test cases?","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"cfed1c74177a34d323dc0f675db3d7210b2b885f","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"5a9d85d2_8be64eb2","line":82,"in_reply_to":"7aa08908_545bc721","updated":"2016-06-21 13:22:04.000000000","message":"This file contains function :_test_vnf_with_monitoring(self, vnfd_file, vnf_name) for a typical monitoring tests which verifies vnf going to ACTIVE--\u003eDEAD--\u003eACTIVE \nIt would be better a typical monitoring testcase , if it is added to this file instead of another testfile/another testcase.","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"35e57fe71be6bb53f9057e87473476b94f9b434b","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_3a8f72cd","line":82,"in_reply_to":"dada55a8_383e708c","updated":"2016-07-20 14:51:44.000000000","message":"yes, this is based on new tosca template.","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"e65b3857023428c6b3d5637033e1e987e25e5fe6","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_9d61d3ab","line":82,"in_reply_to":"dada55a8_3a8f72cd","updated":"2016-07-22 08:15:19.000000000","message":"so both are tosca templates and tempalte used in L85 is already covered by one used in L80, I would see this as redundant fn. test for one in L85. kindly confirm if its not. thanks.","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"96a3bf1cb17c6c513cca15bb4bf0822ab664e276","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_db6e2e2e","line":82,"in_reply_to":"dada55a8_58eb7278","updated":"2016-07-26 08:10:08.000000000","message":"ok","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"13773a3d695abdfd471d95a86ca660f21d6364ae","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_58eb7278","line":82,"in_reply_to":"dada55a8_6b3fd9d6","updated":"2016-07-25 23:57:16.000000000","message":"Here is the way I see this,\n\nL85 - http monitoring using single VDU VNF\nL83 - ping monitoring using multi VDU VNF\n\nMonitoring subsystem is currently bit error prone so, far now, I\u0027d suggest we leave them as two different test case.\n\nNow, after Newton release, we will remove old template support and hence the testcases in L55, L60, L65, L70 will be removed. Only new TOSCA template based test will remain. Until then, we can put up w/ the pain of gate testing 3 variations.","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"1fc0a6c011740769843ca32ddfc4b82e47768f7e","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_c22768c8","line":82,"in_reply_to":"dada55a8_7c80e5f7","updated":"2016-07-20 07:25:52.000000000","message":"http monitoring with new tosca template, this is the only testcase. \nOthers use legacy template, or do non http monitoring test(ping).","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":17952,"name":"Santosh Kodicherla","email":"ksantosh.cs@gmail.com","username":"santoshkumar"},"change_message_id":"2948c771a4bb463aec623d187a94f9769007b464","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_6b3fd9d6","line":82,"in_reply_to":"dada55a8_9d61d3ab","updated":"2016-07-22 17:09:38.000000000","message":"Both are tosca templates. One is multi-vdu with ping monitoring. Second one is single vdu with http monitoring. Monitoring type is different","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"fc2e36ca8fc63128732eb8c7f54bd5609cbfe068","unresolved":false,"context_lines":[{"line_number":79,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":80,"context_line":"            \u0027sample-tosca-vnfd-multi-vdu-monitoring.yaml\u0027,"},{"line_number":81,"context_line":"            \u0027ping monitor multi vdu vnf with tosca template\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"    def test_create_delete_vnf_http_monitoring_tosca_template(self):"},{"line_number":84,"context_line":"        self._test_vnf_with_monitoring("},{"line_number":85,"context_line":"            \u0027sample-tosca-vnfd-http-monitor.yaml\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"dada55a8_383e708c","line":82,"in_reply_to":"dada55a8_c22768c8","updated":"2016-07-20 09:24:39.000000000","message":"is this one sample-tosca-vnfd-http-monitor.yaml at line 85?","commit_id":"699f8e4f8ba250c113351f8b682a459f2ba6d186"}]}
