Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated coverage

  • Loading branch information...
commit f9cb9dacdb2cd6d661b830df6dc96f116d44e763 1 parent 22a7b62
@shatterednirvana shatterednirvana authored
View
52 coverage/index.html
@@ -56,8 +56,8 @@
<tfoot>
<tr class='total'>
<td class='name left'>Total</td>
- <td>1949</td>
- <td>248</td>
+ <td>2038</td>
+ <td>263</td>
<td>0</td>
<td class='right'>87%</td>
@@ -85,20 +85,20 @@
<tr class='file'>
<td class='name left'><a href='lib_agents_ec2_agent.html'>lib/agents/ec2_agent</a></td>
- <td>193</td>
- <td>36</td>
+ <td>229</td>
+ <td>53</td>
<td>0</td>
- <td class='right'>81%</td>
+ <td class='right'>77%</td>
</tr>
<tr class='file'>
<td class='name left'><a href='lib_agents_euca_agent.html'>lib/agents/euca_agent</a></td>
- <td>57</td>
- <td>33</td>
+ <td>64</td>
+ <td>32</td>
<td>0</td>
- <td class='right'>42%</td>
+ <td class='right'>50%</td>
</tr>
<tr class='file'>
@@ -112,8 +112,8 @@
<tr class='file'>
<td class='name left'><a href='lib_appcontroller_client.html'>lib/appcontroller_client</a></td>
- <td>72</td>
- <td>13</td>
+ <td>83</td>
+ <td>15</td>
<td>0</td>
<td class='right'>82%</td>
@@ -130,25 +130,25 @@
<tr class='file'>
<td class='name left'><a href='lib_appscale.html'>lib/appscale</a></td>
- <td>210</td>
- <td>32</td>
+ <td>211</td>
+ <td>26</td>
<td>0</td>
- <td class='right'>85%</td>
+ <td class='right'>88%</td>
</tr>
<tr class='file'>
<td class='name left'><a href='lib_appscale_logger.html'>lib/appscale_logger</a></td>
- <td>25</td>
- <td>0</td>
+ <td>27</td>
+ <td>2</td>
<td>0</td>
- <td class='right'>100%</td>
+ <td class='right'>93%</td>
</tr>
<tr class='file'>
<td class='name left'><a href='lib_appscale_tools.html'>lib/appscale_tools</a></td>
- <td>195</td>
+ <td>197</td>
<td>20</td>
<td>0</td>
@@ -157,7 +157,7 @@
<tr class='file'>
<td class='name left'><a href='lib_custom_exceptions.html'>lib/custom_exceptions</a></td>
- <td>14</td>
+ <td>16</td>
<td>0</td>
<td>0</td>
@@ -166,8 +166,8 @@
<tr class='file'>
<td class='name left'><a href='lib_local_state.html'>lib/local_state</a></td>
- <td>215</td>
- <td>13</td>
+ <td>231</td>
+ <td>14</td>
<td>0</td>
<td class='right'>94%</td>
@@ -175,16 +175,16 @@
<tr class='file'>
<td class='name left'><a href='lib_node_layout.html'>lib/node_layout</a></td>
- <td>405</td>
+ <td>414</td>
<td>47</td>
<td>0</td>
- <td class='right'>88%</td>
+ <td class='right'>89%</td>
</tr>
<tr class='file'>
<td class='name left'><a href='lib_parse_args.html'>lib/parse_args</a></td>
- <td>167</td>
+ <td>168</td>
<td>15</td>
<td>0</td>
@@ -193,7 +193,7 @@
<tr class='file'>
<td class='name left'><a href='lib_remote_helper.html'>lib/remote_helper</a></td>
- <td>226</td>
+ <td>227</td>
<td>11</td>
<td>0</td>
@@ -202,11 +202,11 @@
<tr class='file'>
<td class='name left'><a href='lib_user_app_client.html'>lib/user_app_client</a></td>
- <td>78</td>
+ <td>79</td>
<td>16</td>
<td>0</td>
- <td class='right'>79%</td>
+ <td class='right'>80%</td>
</tr>
</tbody>
View
1,490 coverage/lib_agents_ec2_agent.html
840 additions, 650 deletions not shown
View
228 coverage/lib_agents_euca_agent.html
@@ -5,7 +5,7 @@
<meta http-equiv='X-UA-Compatible' content='IE=emulateIE7' />
- <title>Coverage for lib/agents/euca_agent: 42%</title>
+ <title>Coverage for lib/agents/euca_agent: 50%</title>
<link rel='stylesheet' href='style.css' type='text/css'>
<script type='text/javascript' src='jquery-1.4.3.min.js'></script>
@@ -21,13 +21,13 @@
<div id='header'>
<div class='content'>
<h1>Coverage for <b>lib/agents/euca_agent</b> :
- <span class='pc_cov'>42%</span>
+ <span class='pc_cov'>50%</span>
</h1>
<img id='keyboard_icon' src='keybd_closed.png'>
<h2 class='stats'>
- 57 statements &nbsp;
- <span class='run hide_run shortkey_r button_toggle_run'>24 run</span>
- <span class='mis shortkey_m button_toggle_mis'>33 missing</span>
+ 64 statements &nbsp;
+ <span class='run hide_run shortkey_r button_toggle_run'>32 run</span>
+ <span class='mis shortkey_m button_toggle_mis'>32 missing</span>
<span class='exc shortkey_x button_toggle_exc'>0 excluded</span>
</h2>
@@ -121,20 +121,20 @@ <h2 class='stats'>
<p id='n58' class='stm mis'><a href='#n58'>58</a></p>
<p id='n59' class='pln'><a href='#n59'>59</a></p>
<p id='n60' class='stm run hide_run'><a href='#n60'>60</a></p>
-<p id='n61' class='pln'><a href='#n61'>61</a></p>
+<p id='n61' class='stm mis'><a href='#n61'>61</a></p>
<p id='n62' class='pln'><a href='#n62'>62</a></p>
-<p id='n63' class='pln'><a href='#n63'>63</a></p>
+<p id='n63' class='stm run hide_run'><a href='#n63'>63</a></p>
<p id='n64' class='pln'><a href='#n64'>64</a></p>
-<p id='n65' class='pln'><a href='#n65'>65</a></p>
+<p id='n65' class='stm run hide_run'><a href='#n65'>65</a></p>
<p id='n66' class='pln'><a href='#n66'>66</a></p>
<p id='n67' class='pln'><a href='#n67'>67</a></p>
<p id='n68' class='pln'><a href='#n68'>68</a></p>
-<p id='n69' class='stm run hide_run'><a href='#n69'>69</a></p>
+<p id='n69' class='pln'><a href='#n69'>69</a></p>
<p id='n70' class='pln'><a href='#n70'>70</a></p>
<p id='n71' class='pln'><a href='#n71'>71</a></p>
<p id='n72' class='pln'><a href='#n72'>72</a></p>
<p id='n73' class='pln'><a href='#n73'>73</a></p>
-<p id='n74' class='pln'><a href='#n74'>74</a></p>
+<p id='n74' class='stm run hide_run'><a href='#n74'>74</a></p>
<p id='n75' class='pln'><a href='#n75'>75</a></p>
<p id='n76' class='pln'><a href='#n76'>76</a></p>
<p id='n77' class='pln'><a href='#n77'>77</a></p>
@@ -142,44 +142,67 @@ <h2 class='stats'>
<p id='n79' class='pln'><a href='#n79'>79</a></p>
<p id='n80' class='pln'><a href='#n80'>80</a></p>
<p id='n81' class='pln'><a href='#n81'>81</a></p>
-<p id='n82' class='stm mis'><a href='#n82'>82</a></p>
-<p id='n83' class='stm mis'><a href='#n83'>83</a></p>
+<p id='n82' class='pln'><a href='#n82'>82</a></p>
+<p id='n83' class='pln'><a href='#n83'>83</a></p>
<p id='n84' class='pln'><a href='#n84'>84</a></p>
-<p id='n85' class='stm mis'><a href='#n85'>85</a></p>
-<p id='n86' class='stm mis'><a href='#n86'>86</a></p>
-<p id='n87' class='pln'><a href='#n87'>87</a></p>
+<p id='n85' class='pln'><a href='#n85'>85</a></p>
+<p id='n86' class='pln'><a href='#n86'>86</a></p>
+<p id='n87' class='stm mis'><a href='#n87'>87</a></p>
<p id='n88' class='stm mis'><a href='#n88'>88</a></p>
-<p id='n89' class='stm mis'><a href='#n89'>89</a></p>
-<p id='n90' class='pln'><a href='#n90'>90</a></p>
-<p id='n91' class='stm mis'><a href='#n91'>91</a></p>
+<p id='n89' class='pln'><a href='#n89'>89</a></p>
+<p id='n90' class='stm mis'><a href='#n90'>90</a></p>
+<p id='n91' class='pln'><a href='#n91'>91</a></p>
<p id='n92' class='stm mis'><a href='#n92'>92</a></p>
<p id='n93' class='stm mis'><a href='#n93'>93</a></p>
<p id='n94' class='stm mis'><a href='#n94'>94</a></p>
<p id='n95' class='stm mis'><a href='#n95'>95</a></p>
-<p id='n96' class='pln'><a href='#n96'>96</a></p>
+<p id='n96' class='stm mis'><a href='#n96'>96</a></p>
<p id='n97' class='stm mis'><a href='#n97'>97</a></p>
-<p id='n98' class='stm mis'><a href='#n98'>98</a></p>
+<p id='n98' class='pln'><a href='#n98'>98</a></p>
<p id='n99' class='stm mis'><a href='#n99'>99</a></p>
<p id='n100' class='stm mis'><a href='#n100'>100</a></p>
-<p id='n101' class='pln'><a href='#n101'>101</a></p>
+<p id='n101' class='stm mis'><a href='#n101'>101</a></p>
<p id='n102' class='stm mis'><a href='#n102'>102</a></p>
<p id='n103' class='stm mis'><a href='#n103'>103</a></p>
-<p id='n104' class='stm mis'><a href='#n104'>104</a></p>
-<p id='n105' class='stm mis'><a href='#n105'>105</a></p>
+<p id='n104' class='pln'><a href='#n104'>104</a></p>
+<p id='n105' class='pln'><a href='#n105'>105</a></p>
<p id='n106' class='stm mis'><a href='#n106'>106</a></p>
<p id='n107' class='stm mis'><a href='#n107'>107</a></p>
-<p id='n108' class='pln'><a href='#n108'>108</a></p>
+<p id='n108' class='stm mis'><a href='#n108'>108</a></p>
<p id='n109' class='stm mis'><a href='#n109'>109</a></p>
-<p id='n110' class='stm mis'><a href='#n110'>110</a></p>
+<p id='n110' class='pln'><a href='#n110'>110</a></p>
<p id='n111' class='stm mis'><a href='#n111'>111</a></p>
<p id='n112' class='stm mis'><a href='#n112'>112</a></p>
-<p id='n113' class='pln'><a href='#n113'>113</a></p>
-<p id='n114' class='stm mis'><a href='#n114'>114</a></p>
-<p id='n115' class='pln'><a href='#n115'>115</a></p>
-<p id='n116' class='stm mis'><a href='#n116'>116</a></p>
-<p id='n117' class='pln'><a href='#n117'>117</a></p>
+<p id='n113' class='stm mis'><a href='#n113'>113</a></p>
+<p id='n114' class='pln'><a href='#n114'>114</a></p>
+<p id='n115' class='stm mis'><a href='#n115'>115</a></p>
+<p id='n116' class='pln'><a href='#n116'>116</a></p>
+<p id='n117' class='stm mis'><a href='#n117'>117</a></p>
<p id='n118' class='pln'><a href='#n118'>118</a></p>
-<p id='n119' class='stm mis'><a href='#n119'>119</a></p>
+<p id='n119' class='pln'><a href='#n119'>119</a></p>
+<p id='n120' class='stm mis'><a href='#n120'>120</a></p>
+<p id='n121' class='pln'><a href='#n121'>121</a></p>
+<p id='n122' class='pln'><a href='#n122'>122</a></p>
+<p id='n123' class='stm run hide_run'><a href='#n123'>123</a></p>
+<p id='n124' class='pln'><a href='#n124'>124</a></p>
+<p id='n125' class='pln'><a href='#n125'>125</a></p>
+<p id='n126' class='pln'><a href='#n126'>126</a></p>
+<p id='n127' class='pln'><a href='#n127'>127</a></p>
+<p id='n128' class='pln'><a href='#n128'>128</a></p>
+<p id='n129' class='pln'><a href='#n129'>129</a></p>
+<p id='n130' class='pln'><a href='#n130'>130</a></p>
+<p id='n131' class='pln'><a href='#n131'>131</a></p>
+<p id='n132' class='pln'><a href='#n132'>132</a></p>
+<p id='n133' class='pln'><a href='#n133'>133</a></p>
+<p id='n134' class='pln'><a href='#n134'>134</a></p>
+<p id='n135' class='stm run hide_run'><a href='#n135'>135</a></p>
+<p id='n136' class='stm run hide_run'><a href='#n136'>136</a></p>
+<p id='n137' class='stm run hide_run'><a href='#n137'>137</a></p>
+<p id='n138' class='stm run hide_run'><a href='#n138'>138</a></p>
+<p id='n139' class='stm run hide_run'><a href='#n139'>139</a></p>
+<p id='n140' class='pln'><a href='#n140'>140</a></p>
+<p id='n141' class='stm mis'><a href='#n141'>141</a></p>
+<p id='n142' class='stm mis'><a href='#n142'>142</a></p>
</td>
<td class='text' valign='top'>
@@ -242,66 +265,89 @@ <h2 class='stats'>
<p id='t57' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>self</span><span class='op'>.</span><span class='nam'>handle_failure</span><span class='op'>(</span><span class='str'>&#39;Unknown scheme in EC2_URL: &#39;</span> <span class='op'>+</span> <span class='nam'>result</span><span class='op'>.</span><span class='nam'>scheme</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p id='t58' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>None</span><span class='strut'>&nbsp;</span></p>
<p id='t59' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t60' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>boto</span><span class='op'>.</span><span class='nam'>connect_euca</span><span class='op'>(</span><span class='nam'>host</span><span class='op'>=</span><span class='nam'>result</span><span class='op'>.</span><span class='nam'>hostname</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t61' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>aws_access_key_id</span><span class='op'>=</span><span class='nam'>access_key</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t62' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>aws_secret_access_key</span><span class='op'>=</span><span class='nam'>secret_key</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t63' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>port</span><span class='op'>=</span><span class='nam'>port</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t64' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>path</span><span class='op'>=</span><span class='nam'>result</span><span class='op'>.</span><span class='nam'>path</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t65' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>is_secure</span><span class='op'>=</span><span class='op'>(</span><span class='nam'>result</span><span class='op'>.</span><span class='nam'>scheme</span> <span class='op'>==</span> <span class='str'>&#39;https&#39;</span><span class='op'>)</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t66' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>api_version</span><span class='op'>=</span><span class='nam'>self</span><span class='op'>.</span><span class='nam'>EUCA_API_VERSION</span><span class='op'>,</span> <span class='nam'>debug</span><span class='op'>=</span><span class='num'>2</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t67' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t68' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t69' class='stm run hide_run'>&nbsp; <span class='key'>def</span> <span class='nam'>configure_instance_security</span><span class='op'>(</span><span class='nam'>self</span><span class='op'>,</span> <span class='nam'>parameters</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t70' class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
-<p id='t71' class='pln'><span class='str'>&nbsp; &nbsp; Setup Euca security keys and groups. Required input values are read from</span><span class='strut'>&nbsp;</span></p>
-<p id='t72' class='pln'><span class='str'>&nbsp; &nbsp; the parameters dictionary. More specifically, this method expects to</span><span class='strut'>&nbsp;</span></p>
-<p id='t73' class='pln'><span class='str'>&nbsp; &nbsp; find a &#39;keyname&#39; parameter and a &#39;group&#39; parameter in the parameters</span><span class='strut'>&nbsp;</span></p>
-<p id='t74' class='pln'><span class='str'>&nbsp; &nbsp; dictionary. Using these provided values, this method will create a new</span><span class='strut'>&nbsp;</span></p>
-<p id='t75' class='pln'><span class='str'>&nbsp; &nbsp; Euca key-pair and a security group. Security group will be granted permissions</span><span class='strut'>&nbsp;</span></p>
-<p id='t76' class='pln'><span class='str'>&nbsp; &nbsp; to access any port on the instantiated VMs. (Also see documentation for the</span><span class='strut'>&nbsp;</span></p>
-<p id='t77' class='pln'><span class='str'>&nbsp; &nbsp; BaseAgent class)</span><span class='strut'>&nbsp;</span></p>
-<p id='t78' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t79' class='pln'><span class='str'>&nbsp; &nbsp; Args:</span><span class='strut'>&nbsp;</span></p>
-<p id='t80' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; parameters&nbsp; A dictionary of parameters</span><span class='strut'>&nbsp;</span></p>
-<p id='t81' class='pln'><span class='str'>&nbsp; &nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
-<p id='t82' class='stm mis'>&nbsp; &nbsp; <span class='nam'>keyname</span> <span class='op'>=</span> <span class='nam'>parameters</span><span class='op'>[</span><span class='nam'>self</span><span class='op'>.</span><span class='nam'>PARAM_KEYNAME</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
-<p id='t83' class='stm mis'>&nbsp; &nbsp; <span class='nam'>group</span> <span class='op'>=</span> <span class='nam'>parameters</span><span class='op'>[</span><span class='nam'>self</span><span class='op'>.</span><span class='nam'>PARAM_GROUP</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
-<p id='t84' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t85' class='stm mis'>&nbsp; &nbsp; <span class='nam'>ssh_key</span> <span class='op'>=</span> <span class='str'>&#39;{0}{1}.key&#39;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>LocalState</span><span class='op'>.</span><span class='nam'>LOCAL_APPSCALE_PATH</span><span class='op'>,</span> <span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t86' class='stm mis'>&nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&#39;About to spawn Euca instances - &#39;</span> <span class='xx'>\</span><span class='strut'>&nbsp;</span></p>
-<p id='t87' class='pln'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='str'>&#39;Expecting to find a key at {0}&#39;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>ssh_key</span><span class='op'>)</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t88' class='stm mis'>&nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>os</span><span class='op'>.</span><span class='nam'>path</span><span class='op'>.</span><span class='nam'>exists</span><span class='op'>(</span><span class='nam'>ssh_key</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t89' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>self</span><span class='op'>.</span><span class='nam'>handle_failure</span><span class='op'>(</span><span class='str'>&#39;SSH key found locally - please use a different keyname&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t90' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t91' class='stm mis'>&nbsp; &nbsp; <span class='nam'>conn</span> <span class='op'>=</span> <span class='nam'>self</span><span class='op'>.</span><span class='nam'>open_connection</span><span class='op'>(</span><span class='nam'>parameters</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t92' class='stm mis'>&nbsp; &nbsp; <span class='key'>try</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t93' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>key_pair</span> <span class='op'>=</span> <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>get_key_pair</span><span class='op'>(</span><span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t94' class='stm mis'>&nbsp; &nbsp; <span class='key'>except</span> <span class='nam'>IndexError</span><span class='op'>:</span>&nbsp; <span class='com'># in euca, this means the key doesn&#39;t exist</span><span class='strut'>&nbsp;</span></p>
-<p id='t95' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>key_pair</span> <span class='op'>=</span> <span class='nam'>None</span><span class='strut'>&nbsp;</span></p>
-<p id='t96' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t97' class='stm mis'>&nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>key_pair</span> <span class='key'>is</span> <span class='nam'>None</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t98' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&#39;Creating key pair: &#39;</span> <span class='op'>+</span> <span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t99' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>key_pair</span> <span class='op'>=</span> <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>create_key_pair</span><span class='op'>(</span><span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t100' class='stm mis'>&nbsp; &nbsp; <span class='nam'>LocalState</span><span class='op'>.</span><span class='nam'>write_key_file</span><span class='op'>(</span><span class='nam'>ssh_key</span><span class='op'>,</span> <span class='nam'>key_pair</span><span class='op'>.</span><span class='nam'>material</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t101' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t102' class='stm mis'>&nbsp; &nbsp; <span class='nam'>security_groups</span> <span class='op'>=</span> <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>get_all_security_groups</span><span class='op'>(</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t103' class='stm mis'>&nbsp; &nbsp; <span class='nam'>group_exists</span> <span class='op'>=</span> <span class='nam'>False</span><span class='strut'>&nbsp;</span></p>
-<p id='t104' class='stm mis'>&nbsp; &nbsp; <span class='key'>for</span> <span class='nam'>security_group</span> <span class='key'>in</span> <span class='nam'>security_groups</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t105' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>security_group</span><span class='op'>.</span><span class='nam'>name</span> <span class='op'>==</span> <span class='nam'>group</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t106' class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>group_exists</span> <span class='op'>=</span> <span class='nam'>True</span><span class='strut'>&nbsp;</span></p>
-<p id='t107' class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='key'>break</span><span class='strut'>&nbsp;</span></p>
-<p id='t108' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t109' class='stm mis'>&nbsp; &nbsp; <span class='key'>if</span> <span class='key'>not</span> <span class='nam'>group_exists</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t110' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&#39;Creating security group: &#39;</span> <span class='op'>+</span> <span class='nam'>group</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t111' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>create_security_group</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='str'>&#39;AppScale security group&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t112' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>authorize_security_group_deprecated</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='nam'>from_port</span><span class='op'>=</span><span class='num'>1</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t113' class='pln'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>to_port</span><span class='op'>=</span><span class='num'>65535</span><span class='op'>,</span> <span class='nam'>ip_protocol</span><span class='op'>=</span><span class='str'>&#39;udp&#39;</span><span class='op'>,</span> <span class='nam'>cidr_ip</span><span class='op'>=</span><span class='str'>&#39;0.0.0.0/0&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t114' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>authorize_security_group_deprecated</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='nam'>from_port</span><span class='op'>=</span><span class='num'>1</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t115' class='pln'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>to_port</span><span class='op'>=</span><span class='num'>65535</span><span class='op'>,</span> <span class='nam'>ip_protocol</span><span class='op'>=</span><span class='str'>&#39;tcp&#39;</span><span class='op'>,</span> <span class='nam'>cidr_ip</span><span class='op'>=</span><span class='str'>&#39;0.0.0.0/0&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t116' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>authorize_security_group_deprecated</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='nam'>ip_protocol</span><span class='op'>=</span><span class='str'>&#39;icmp&#39;</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
-<p id='t117' class='pln'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>cidr_ip</span><span class='op'>=</span><span class='str'>&#39;0.0.0.0/0&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t118' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t119' class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>True</span><span class='strut'>&nbsp;</span></p>
+<p id='t60' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>parameters</span><span class='op'>[</span><span class='str'>&#39;IS_VERBOSE&#39;</span><span class='op'>]</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t61' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>debug_level</span> <span class='op'>=</span> <span class='num'>2</span>&nbsp; <span class='com'># extremely verbose</span><span class='strut'>&nbsp;</span></p>
+<p id='t62' class='pln'>&nbsp; &nbsp; <span class='key'>else</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t63' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>debug_level</span> <span class='op'>=</span> <span class='num'>0</span>&nbsp; <span class='com'># the silent treatment</span><span class='strut'>&nbsp;</span></p>
+<p id='t64' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t65' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>boto</span><span class='op'>.</span><span class='nam'>connect_euca</span><span class='op'>(</span><span class='nam'>host</span><span class='op'>=</span><span class='nam'>result</span><span class='op'>.</span><span class='nam'>hostname</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t66' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>aws_access_key_id</span><span class='op'>=</span><span class='nam'>access_key</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t67' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>aws_secret_access_key</span><span class='op'>=</span><span class='nam'>secret_key</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t68' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>port</span><span class='op'>=</span><span class='nam'>port</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t69' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>path</span><span class='op'>=</span><span class='nam'>result</span><span class='op'>.</span><span class='nam'>path</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t70' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>is_secure</span><span class='op'>=</span><span class='op'>(</span><span class='nam'>result</span><span class='op'>.</span><span class='nam'>scheme</span> <span class='op'>==</span> <span class='str'>&#39;https&#39;</span><span class='op'>)</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t71' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>api_version</span><span class='op'>=</span><span class='nam'>self</span><span class='op'>.</span><span class='nam'>EUCA_API_VERSION</span><span class='op'>,</span> <span class='nam'>debug</span><span class='op'>=</span><span class='nam'>debug_level</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t72' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t73' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t74' class='stm run hide_run'>&nbsp; <span class='key'>def</span> <span class='nam'>configure_instance_security</span><span class='op'>(</span><span class='nam'>self</span><span class='op'>,</span> <span class='nam'>parameters</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t75' class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
+<p id='t76' class='pln'><span class='str'>&nbsp; &nbsp; Setup Euca security keys and groups. Required input values are read from</span><span class='strut'>&nbsp;</span></p>
+<p id='t77' class='pln'><span class='str'>&nbsp; &nbsp; the parameters dictionary. More specifically, this method expects to</span><span class='strut'>&nbsp;</span></p>
+<p id='t78' class='pln'><span class='str'>&nbsp; &nbsp; find a &#39;keyname&#39; parameter and a &#39;group&#39; parameter in the parameters</span><span class='strut'>&nbsp;</span></p>
+<p id='t79' class='pln'><span class='str'>&nbsp; &nbsp; dictionary. Using these provided values, this method will create a new</span><span class='strut'>&nbsp;</span></p>
+<p id='t80' class='pln'><span class='str'>&nbsp; &nbsp; Euca key-pair and a security group. Security group will be granted permissions</span><span class='strut'>&nbsp;</span></p>
+<p id='t81' class='pln'><span class='str'>&nbsp; &nbsp; to access any port on the instantiated VMs. (Also see documentation for the</span><span class='strut'>&nbsp;</span></p>
+<p id='t82' class='pln'><span class='str'>&nbsp; &nbsp; BaseAgent class)</span><span class='strut'>&nbsp;</span></p>
+<p id='t83' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t84' class='pln'><span class='str'>&nbsp; &nbsp; Args:</span><span class='strut'>&nbsp;</span></p>
+<p id='t85' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; parameters&nbsp; A dictionary of parameters</span><span class='strut'>&nbsp;</span></p>
+<p id='t86' class='pln'><span class='str'>&nbsp; &nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
+<p id='t87' class='stm mis'>&nbsp; &nbsp; <span class='nam'>keyname</span> <span class='op'>=</span> <span class='nam'>parameters</span><span class='op'>[</span><span class='nam'>self</span><span class='op'>.</span><span class='nam'>PARAM_KEYNAME</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
+<p id='t88' class='stm mis'>&nbsp; &nbsp; <span class='nam'>group</span> <span class='op'>=</span> <span class='nam'>parameters</span><span class='op'>[</span><span class='nam'>self</span><span class='op'>.</span><span class='nam'>PARAM_GROUP</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
+<p id='t89' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t90' class='stm mis'>&nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&quot;Verifying that keyname {0}&quot;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>keyname</span><span class='op'>)</span> <span class='op'>+</span> <span class='xx'>\</span><span class='strut'>&nbsp;</span></p>
+<p id='t91' class='pln'>&nbsp; &nbsp; &nbsp; <span class='str'>&quot; is not already registered.&quot;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t92' class='stm mis'>&nbsp; &nbsp; <span class='nam'>conn</span> <span class='op'>=</span> <span class='nam'>self</span><span class='op'>.</span><span class='nam'>open_connection</span><span class='op'>(</span><span class='nam'>parameters</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t93' class='stm mis'>&nbsp; &nbsp; <span class='key'>try</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t94' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>get_key_pair</span><span class='op'>(</span><span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t95' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>self</span><span class='op'>.</span><span class='nam'>handle_failure</span><span class='op'>(</span><span class='str'>&#39;SSH key found locally - please use a different keyname&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t96' class='stm mis'>&nbsp; &nbsp; <span class='key'>except</span> <span class='nam'>IndexError</span><span class='op'>:</span>&nbsp; <span class='com'># in euca, this means the key doesn&#39;t exist</span><span class='strut'>&nbsp;</span></p>
+<p id='t97' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='key'>pass</span><span class='strut'>&nbsp;</span></p>
+<p id='t98' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t99' class='stm mis'>&nbsp; &nbsp; <span class='nam'>security_groups</span> <span class='op'>=</span> <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>get_all_security_groups</span><span class='op'>(</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t100' class='stm mis'>&nbsp; &nbsp; <span class='nam'>group_exists</span> <span class='op'>=</span> <span class='nam'>False</span><span class='strut'>&nbsp;</span></p>
+<p id='t101' class='stm mis'>&nbsp; &nbsp; <span class='key'>for</span> <span class='nam'>security_group</span> <span class='key'>in</span> <span class='nam'>security_groups</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t102' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>security_group</span><span class='op'>.</span><span class='nam'>name</span> <span class='op'>==</span> <span class='nam'>group</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t103' class='stm mis'>&nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>self</span><span class='op'>.</span><span class='nam'>handle_failure</span><span class='op'>(</span><span class='str'>&quot;Security group already exists - please use a &quot;</span> <span class='op'>+</span> <span class='xx'>\</span><span class='strut'>&nbsp;</span></p>
+<p id='t104' class='pln'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='str'>&quot;different group name&quot;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t105' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t106' class='stm mis'>&nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&#39;Creating key pair: &#39;</span> <span class='op'>+</span> <span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t107' class='stm mis'>&nbsp; &nbsp; <span class='nam'>key_pair</span> <span class='op'>=</span> <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>create_key_pair</span><span class='op'>(</span><span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t108' class='stm mis'>&nbsp; &nbsp; <span class='nam'>ssh_key</span> <span class='op'>=</span> <span class='str'>&#39;{0}{1}.key&#39;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>LocalState</span><span class='op'>.</span><span class='nam'>LOCAL_APPSCALE_PATH</span><span class='op'>,</span> <span class='nam'>keyname</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t109' class='stm mis'>&nbsp; &nbsp; <span class='nam'>LocalState</span><span class='op'>.</span><span class='nam'>write_key_file</span><span class='op'>(</span><span class='nam'>ssh_key</span><span class='op'>,</span> <span class='nam'>key_pair</span><span class='op'>.</span><span class='nam'>material</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t110' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t111' class='stm mis'>&nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&#39;Creating security group: {0}&#39;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>)</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t112' class='stm mis'>&nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>create_security_group</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='str'>&#39;AppScale security group&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t113' class='stm mis'>&nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>authorize_security_group_deprecated</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='nam'>from_port</span><span class='op'>=</span><span class='num'>1</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t114' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>to_port</span><span class='op'>=</span><span class='num'>65535</span><span class='op'>,</span> <span class='nam'>ip_protocol</span><span class='op'>=</span><span class='str'>&#39;udp&#39;</span><span class='op'>,</span> <span class='nam'>cidr_ip</span><span class='op'>=</span><span class='str'>&#39;0.0.0.0/0&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t115' class='stm mis'>&nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>authorize_security_group_deprecated</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='nam'>from_port</span><span class='op'>=</span><span class='num'>1</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t116' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>to_port</span><span class='op'>=</span><span class='num'>65535</span><span class='op'>,</span> <span class='nam'>ip_protocol</span><span class='op'>=</span><span class='str'>&#39;tcp&#39;</span><span class='op'>,</span> <span class='nam'>cidr_ip</span><span class='op'>=</span><span class='str'>&#39;0.0.0.0/0&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t117' class='stm mis'>&nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>authorize_security_group_deprecated</span><span class='op'>(</span><span class='nam'>group</span><span class='op'>,</span> <span class='nam'>ip_protocol</span><span class='op'>=</span><span class='str'>&#39;icmp&#39;</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t118' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>cidr_ip</span><span class='op'>=</span><span class='str'>&#39;0.0.0.0/0&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t119' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t120' class='stm mis'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>True</span><span class='strut'>&nbsp;</span></p>
+<p id='t121' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t122' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t123' class='stm run hide_run'>&nbsp; <span class='key'>def</span> <span class='nam'>does_image_exist</span><span class='op'>(</span><span class='nam'>self</span><span class='op'>,</span> <span class='nam'>parameters</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t124' class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
+<p id='t125' class='pln'><span class='str'>&nbsp; &nbsp; Queries Eucalyptus to see if the specified image exists.</span><span class='strut'>&nbsp;</span></p>
+<p id='t126' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t127' class='pln'><span class='str'>&nbsp; &nbsp; Args:</span><span class='strut'>&nbsp;</span></p>
+<p id='t128' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; parameters A dict that contains the machine ID to check for existence.</span><span class='strut'>&nbsp;</span></p>
+<p id='t129' class='pln'><span class='str'>&nbsp; &nbsp; Returns:</span><span class='strut'>&nbsp;</span></p>
+<p id='t130' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; True if the machine ID exists, False otherwise.</span><span class='strut'>&nbsp;</span></p>
+<p id='t131' class='pln'><span class='str'>&nbsp; &nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
+<p id='t132' class='pln'>&nbsp; &nbsp; <span class='com'># note that we can&#39;t use does_image_exist in EC2Agent. There, if the image</span><span class='strut'>&nbsp;</span></p>
+<p id='t133' class='pln'>&nbsp; &nbsp; <span class='com'># doesn&#39;t exist, it throws an EC2ResponseError, but in Eucalyptus, it</span><span class='strut'>&nbsp;</span></p>
+<p id='t134' class='pln'>&nbsp; &nbsp; <span class='com'># doesn&#39;t (and returns None instead).</span><span class='strut'>&nbsp;</span></p>
+<p id='t135' class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>conn</span> <span class='op'>=</span> <span class='nam'>self</span><span class='op'>.</span><span class='nam'>open_connection</span><span class='op'>(</span><span class='nam'>parameters</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t136' class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>image_id</span> <span class='op'>=</span> <span class='nam'>parameters</span><span class='op'>[</span><span class='nam'>self</span><span class='op'>.</span><span class='nam'>PARAM_IMAGE_ID</span><span class='op'>]</span><span class='strut'>&nbsp;</span></p>
+<p id='t137' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>if</span> <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>get_image</span><span class='op'>(</span><span class='nam'>image_id</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t138' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&#39;Machine image {0} does exist&#39;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>image_id</span><span class='op'>)</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t139' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>True</span><span class='strut'>&nbsp;</span></p>
+<p id='t140' class='pln'>&nbsp; &nbsp; <span class='key'>else</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t141' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>AppScaleLogger</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&#39;Machine image {0} does not exist&#39;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>image_id</span><span class='op'>)</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t142' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>False</span><span class='strut'>&nbsp;</span></p>
</td>
</tr>
View
680 coverage/lib_appcontroller_client.html
365 additions, 315 deletions not shown
View
1,358 coverage/lib_appscale.html
703 additions, 655 deletions not shown
View
78 coverage/lib_appscale_logger.html
@@ -5,7 +5,7 @@
<meta http-equiv='X-UA-Compatible' content='IE=emulateIE7' />
- <title>Coverage for lib/appscale_logger: 100%</title>
+ <title>Coverage for lib/appscale_logger: 93%</title>
<link rel='stylesheet' href='style.css' type='text/css'>
<script type='text/javascript' src='jquery-1.4.3.min.js'></script>
@@ -21,13 +21,13 @@
<div id='header'>
<div class='content'>
<h1>Coverage for <b>lib/appscale_logger</b> :
- <span class='pc_cov'>100%</span>
+ <span class='pc_cov'>93%</span>
</h1>
<img id='keyboard_icon' src='keybd_closed.png'>
<h2 class='stats'>
- 25 statements &nbsp;
+ 27 statements &nbsp;
<span class='run hide_run shortkey_r button_toggle_run'>25 run</span>
- <span class='mis shortkey_m button_toggle_mis'>0 missing</span>
+ <span class='mis shortkey_m button_toggle_mis'>2 missing</span>
<span class='exc shortkey_x button_toggle_exc'>0 excluded</span>
</h2>
@@ -106,7 +106,7 @@ <h2 class='stats'>
<p id='n43' class='pln'><a href='#n43'>43</a></p>
<p id='n44' class='pln'><a href='#n44'>44</a></p>
<p id='n45' class='pln'><a href='#n45'>45</a></p>
-<p id='n46' class='stm run hide_run'><a href='#n46'>46</a></p>
+<p id='n46' class='stm mis'><a href='#n46'>46</a></p>
<p id='n47' class='pln'><a href='#n47'>47</a></p>
<p id='n48' class='pln'><a href='#n48'>48</a></p>
<p id='n49' class='stm run hide_run'><a href='#n49'>49</a></p>
@@ -147,21 +147,26 @@ <h2 class='stats'>
<p id='n84' class='pln'><a href='#n84'>84</a></p>
<p id='n85' class='pln'><a href='#n85'>85</a></p>
<p id='n86' class='pln'><a href='#n86'>86</a></p>
-<p id='n87' class='stm run hide_run'><a href='#n87'>87</a></p>
+<p id='n87' class='pln'><a href='#n87'>87</a></p>
<p id='n88' class='pln'><a href='#n88'>88</a></p>
-<p id='n89' class='pln'><a href='#n89'>89</a></p>
-<p id='n90' class='stm run hide_run'><a href='#n90'>90</a></p>
-<p id='n91' class='stm run hide_run'><a href='#n91'>91</a></p>
+<p id='n89' class='stm run hide_run'><a href='#n89'>89</a></p>
+<p id='n90' class='pln'><a href='#n90'>90</a></p>
+<p id='n91' class='pln'><a href='#n91'>91</a></p>
<p id='n92' class='stm run hide_run'><a href='#n92'>92</a></p>
<p id='n93' class='pln'><a href='#n93'>93</a></p>
-<p id='n94' class='pln'><a href='#n94'>94</a></p>
+<p id='n94' class='stm run hide_run'><a href='#n94'>94</a></p>
<p id='n95' class='stm run hide_run'><a href='#n95'>95</a></p>
-<p id='n96' class='stm run hide_run'><a href='#n96'>96</a></p>
-<p id='n97' class='stm run hide_run'><a href='#n97'>97</a></p>
+<p id='n96' class='pln'><a href='#n96'>96</a></p>
+<p id='n97' class='pln'><a href='#n97'>97</a></p>
<p id='n98' class='stm run hide_run'><a href='#n98'>98</a></p>
<p id='n99' class='stm run hide_run'><a href='#n99'>99</a></p>
-<p id='n100' class='pln'><a href='#n100'>100</a></p>
+<p id='n100' class='stm run hide_run'><a href='#n100'>100</a></p>
<p id='n101' class='stm run hide_run'><a href='#n101'>101</a></p>
+<p id='n102' class='stm mis'><a href='#n102'>102</a></p>
+<p id='n103' class='stm run hide_run'><a href='#n103'>103</a></p>
+<p id='n104' class='stm run hide_run'><a href='#n104'>104</a></p>
+<p id='n105' class='pln'><a href='#n105'>105</a></p>
+<p id='n106' class='stm run hide_run'><a href='#n106'>106</a></p>
</td>
<td class='text' valign='top'>
@@ -210,7 +215,7 @@ <h2 class='stats'>
<p id='t43' class='pln'><span class='str'>&nbsp; &nbsp; Args:</span><span class='strut'>&nbsp;</span></p>
<p id='t44' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; message: A str representing the message to warn the user with.</span><span class='strut'>&nbsp;</span></p>
<p id='t45' class='pln'><span class='str'>&nbsp; &nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
-<p id='t46' class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>cprint</span><span class='op'>(</span><span class='nam'>message</span><span class='op'>,</span> <span class='str'>&#39;red&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t46' class='stm mis'>&nbsp; &nbsp; <span class='nam'>cprint</span><span class='op'>(</span><span class='nam'>message</span><span class='op'>,</span> <span class='str'>&#39;red&#39;</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
<p id='t47' class='pln'><span class='strut'>&nbsp;</span></p>
<p id='t48' class='pln'><span class='strut'>&nbsp;</span></p>
<p id='t49' class='stm run hide_run'>&nbsp; <span class='op'>@</span><span class='nam'>classmethod</span><span class='strut'>&nbsp;</span></p>
@@ -238,7 +243,7 @@ <h2 class='stats'>
<p id='t71' class='pln'><span class='strut'>&nbsp;</span></p>
<p id='t72' class='pln'><span class='strut'>&nbsp;</span></p>
<p id='t73' class='stm run hide_run'>&nbsp; <span class='op'>@</span><span class='nam'>classmethod</span><span class='strut'>&nbsp;</span></p>
-<p id='t74' class='pln'>&nbsp; <span class='key'>def</span> <span class='nam'>remote_log_tools_state</span><span class='op'>(</span><span class='nam'>cls</span><span class='op'>,</span> <span class='nam'>options</span><span class='op'>,</span> <span class='nam'>state</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t74' class='pln'>&nbsp; <span class='key'>def</span> <span class='nam'>remote_log_tools_state</span><span class='op'>(</span><span class='nam'>cls</span><span class='op'>,</span> <span class='nam'>options</span><span class='op'>,</span> <span class='nam'>my_id</span><span class='op'>,</span> <span class='nam'>state</span><span class='op'>,</span> <span class='nam'>version</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
<p id='t75' class='pln'>&nbsp; &nbsp; <span class='str'>&quot;&quot;&quot;Converts the given debugging information to a message that we can</span><span class='strut'>&nbsp;</span></p>
<p id='t76' class='pln'><span class='str'>&nbsp; &nbsp; remotely log, and then logs it.</span><span class='strut'>&nbsp;</span></p>
<p id='t77' class='pln'><span class='strut'>&nbsp;</span></p>
@@ -247,25 +252,30 @@ <h2 class='stats'>
<p id='t80' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; &nbsp; tool.</span><span class='strut'>&nbsp;</span></p>
<p id='t81' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; state: A str that indicates if the given AppScale deployment is starting,</span><span class='strut'>&nbsp;</span></p>
<p id='t82' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; &nbsp; has started successfully, or has failed to start.</span><span class='strut'>&nbsp;</span></p>
-<p id='t83' class='pln'><span class='str'>&nbsp; &nbsp; Returns:</span><span class='strut'>&nbsp;</span></p>
-<p id='t84' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; A dict containing the debugging information that was logged.</span><span class='strut'>&nbsp;</span></p>
-<p id='t85' class='pln'><span class='str'>&nbsp; &nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
-<p id='t86' class='pln'>&nbsp; &nbsp; <span class='com'># turn namespace into a dict</span><span class='strut'>&nbsp;</span></p>
-<p id='t87' class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>params</span> <span class='op'>=</span> <span class='nam'>vars</span><span class='op'>(</span><span class='nam'>options</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t88' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t89' class='pln'>&nbsp; &nbsp; <span class='com'># next, turn it into a string that we can send over the wire</span><span class='strut'>&nbsp;</span></p>
-<p id='t90' class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>payload</span> <span class='op'>=</span> <span class='str'>&quot;?boo=baz&quot;</span><span class='strut'>&nbsp;</span></p>
-<p id='t91' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>for</span> <span class='nam'>key</span><span class='op'>,</span> <span class='nam'>value</span> <span class='key'>in</span> <span class='nam'>enumerate</span><span class='op'>(</span><span class='nam'>params</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t92' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>payload</span> <span class='op'>+=</span> <span class='str'>&quot;&amp;{0}={1}&quot;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>key</span><span class='op'>,</span> <span class='nam'>value</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t93' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t94' class='pln'>&nbsp; &nbsp; <span class='com'># http post the result</span><span class='strut'>&nbsp;</span></p>
-<p id='t95' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>try</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t96' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span> <span class='op'>=</span> <span class='nam'>httplib</span><span class='op'>.</span><span class='nam'>HTTPSConnection</span><span class='op'>(</span><span class='nam'>cls</span><span class='op'>.</span><span class='nam'>LOGS_HOST</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t97' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>request</span><span class='op'>(</span><span class='str'>&#39;POST&#39;</span><span class='op'>,</span> <span class='str'>&#39;/upload&#39;</span><span class='op'>,</span> <span class='nam'>payload</span><span class='op'>,</span> <span class='nam'>cls</span><span class='op'>.</span><span class='nam'>HEADERS</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t98' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>except</span> <span class='nam'>Exception</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t99' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>cls</span><span class='op'>.</span><span class='nam'>verbose</span><span class='op'>(</span><span class='str'>&quot;Unable to log {0} state&quot;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>state</span><span class='op'>)</span><span class='op'>,</span> <span class='nam'>options</span><span class='op'>.</span><span class='nam'>verbose</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
-<p id='t100' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t101' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>params</span><span class='strut'>&nbsp;</span></p>
+<p id='t83' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; version: A str that indicates which version of AppScale we are deploying</span><span class='strut'>&nbsp;</span></p>
+<p id='t84' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; &nbsp; over.</span><span class='strut'>&nbsp;</span></p>
+<p id='t85' class='pln'><span class='str'>&nbsp; &nbsp; Returns:</span><span class='strut'>&nbsp;</span></p>
+<p id='t86' class='pln'><span class='str'>&nbsp; &nbsp; &nbsp; A dict containing the debugging information that was logged.</span><span class='strut'>&nbsp;</span></p>
+<p id='t87' class='pln'><span class='str'>&nbsp; &nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
+<p id='t88' class='pln'>&nbsp; &nbsp; <span class='com'># turn namespace into a dict</span><span class='strut'>&nbsp;</span></p>
+<p id='t89' class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>params</span> <span class='op'>=</span> <span class='nam'>vars</span><span class='op'>(</span><span class='nam'>options</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t90' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t91' class='pln'>&nbsp; &nbsp; <span class='com'># next, turn it into a string that we can send over the wire</span><span class='strut'>&nbsp;</span></p>
+<p id='t92' class='stm run hide_run'>&nbsp; &nbsp; <span class='nam'>payload</span> <span class='op'>=</span> <span class='str'>&quot;?boo=baz&amp;my_id={0}&amp;state={1}&amp;version={2}&quot;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>my_id</span><span class='op'>,</span> <span class='nam'>state</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
+<p id='t93' class='pln'>&nbsp; &nbsp; &nbsp; <span class='nam'>version</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t94' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>for</span> <span class='nam'>key</span><span class='op'>,</span> <span class='nam'>value</span> <span class='key'>in</span> <span class='nam'>params</span><span class='op'>.</span><span class='nam'>iteritems</span><span class='op'>(</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t95' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>payload</span> <span class='op'>+=</span> <span class='str'>&quot;&amp;{0}={1}&quot;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>key</span><span class='op'>,</span> <span class='nam'>value</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t96' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t97' class='pln'>&nbsp; &nbsp; <span class='com'># http post the result</span><span class='strut'>&nbsp;</span></p>
+<p id='t98' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>try</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t99' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span> <span class='op'>=</span> <span class='nam'>httplib</span><span class='op'>.</span><span class='nam'>HTTPConnection</span><span class='op'>(</span><span class='nam'>cls</span><span class='op'>.</span><span class='nam'>LOGS_HOST</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t100' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>request</span><span class='op'>(</span><span class='str'>&#39;POST&#39;</span><span class='op'>,</span> <span class='str'>&#39;/upload&#39;</span><span class='op'>,</span> <span class='nam'>payload</span><span class='op'>,</span> <span class='nam'>cls</span><span class='op'>.</span><span class='nam'>HEADERS</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t101' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>response</span> <span class='op'>=</span> <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>getresponse</span><span class='op'>(</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t102' class='stm mis'>&nbsp; &nbsp; &nbsp; <span class='nam'>conn</span><span class='op'>.</span><span class='nam'>close</span><span class='op'>(</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t103' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>except</span> <span class='nam'>Exception</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t104' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; <span class='nam'>cls</span><span class='op'>.</span><span class='nam'>verbose</span><span class='op'>(</span><span class='str'>&quot;Unable to log {0} state&quot;</span><span class='op'>.</span><span class='nam'>format</span><span class='op'>(</span><span class='nam'>state</span><span class='op'>)</span><span class='op'>,</span> <span class='nam'>options</span><span class='op'>.</span><span class='nam'>verbose</span><span class='op'>)</span><span class='strut'>&nbsp;</span></p>
+<p id='t105' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t106' class='stm run hide_run'>&nbsp; &nbsp; <span class='key'>return</span> <span class='nam'>params</span><span class='strut'>&nbsp;</span></p>
</td>
</tr>
View
1,292 coverage/lib_appscale_tools.html
653 additions, 639 deletions not shown
View
24 coverage/lib_custom_exceptions.html
@@ -25,8 +25,8 @@
</h1>
<img id='keyboard_icon' src='keybd_closed.png'>
<h2 class='stats'>
- 14 statements &nbsp;
- <span class='run hide_run shortkey_r button_toggle_run'>14 run</span>
+ 16 statements &nbsp;
+ <span class='run hide_run shortkey_r button_toggle_run'>16 run</span>
<span class='mis shortkey_m button_toggle_mis'>0 missing</span>
<span class='exc shortkey_x button_toggle_exc'>0 excluded</span>
@@ -118,6 +118,13 @@ <h2 class='stats'>
<p id='n55' class='pln'><a href='#n55'>55</a></p>
<p id='n56' class='pln'><a href='#n56'>56</a></p>
<p id='n57' class='stm run hide_run'><a href='#n57'>57</a></p>
+<p id='n58' class='pln'><a href='#n58'>58</a></p>
+<p id='n59' class='pln'><a href='#n59'>59</a></p>
+<p id='n60' class='stm run hide_run'><a href='#n60'>60</a></p>
+<p id='n61' class='pln'><a href='#n61'>61</a></p>
+<p id='n62' class='pln'><a href='#n62'>62</a></p>
+<p id='n63' class='pln'><a href='#n63'>63</a></p>
+<p id='n64' class='stm run hide_run'><a href='#n64'>64</a></p>
</td>
<td class='text' valign='top'>
@@ -173,11 +180,18 @@ <h2 class='stats'>
<p id='t50' class='stm run hide_run'>&nbsp; <span class='key'>pass</span><span class='strut'>&nbsp;</span></p>
<p id='t51' class='pln'><span class='strut'>&nbsp;</span></p>
<p id='t52' class='pln'><span class='strut'>&nbsp;</span></p>
-<p id='t53' class='stm run hide_run'><span class='key'>class</span> <span class='nam'>UsageException</span><span class='op'>(</span><span class='nam'>Exception</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
-<p id='t54' class='pln'>&nbsp; <span class='str'>&quot;&quot;&quot;A special Exception class that should be thrown if the user attempts</span><span class='strut'>&nbsp;</span></p>
-<p id='t55' class='pln'><span class='str'>&nbsp; to run the &#39;help&#39; directive, which reports on the usage of this tool.</span><span class='strut'>&nbsp;</span></p>
+<p id='t53' class='stm run hide_run'><span class='key'>class</span> <span class='nam'>TimeoutException</span><span class='op'>(</span><span class='nam'>Exception</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t54' class='pln'>&nbsp; <span class='str'>&quot;&quot;&quot;A special Exception class that should be thrown if a function is executed</span><span class='strut'>&nbsp;</span></p>
+<p id='t55' class='pln'><span class='str'>&nbsp; but takes longer to run than the caller expects.</span><span class='strut'>&nbsp;</span></p>
<p id='t56' class='pln'><span class='str'>&nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
<p id='t57' class='stm run hide_run'>&nbsp; <span class='key'>pass</span><span class='strut'>&nbsp;</span></p>
+<p id='t58' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t59' class='pln'><span class='strut'>&nbsp;</span></p>
+<p id='t60' class='stm run hide_run'><span class='key'>class</span> <span class='nam'>UsageException</span><span class='op'>(</span><span class='nam'>Exception</span><span class='op'>)</span><span class='op'>:</span><span class='strut'>&nbsp;</span></p>
+<p id='t61' class='pln'>&nbsp; <span class='str'>&quot;&quot;&quot;A special Exception class that should be thrown if the user attempts</span><span class='strut'>&nbsp;</span></p>
+<p id='t62' class='pln'><span class='str'>&nbsp; to run the &#39;help&#39; directive, which reports on the usage of this tool.</span><span class='strut'>&nbsp;</span></p>
+<p id='t63' class='pln'><span class='str'>&nbsp; &quot;&quot;&quot;</span><span class='strut'>&nbsp;</span></p>
+<p id='t64' class='stm run hide_run'>&nbsp; <span class='key'>pass</span><span class='strut'>&nbsp;</span></p>
</td>
</tr>
View
1,316 coverage/lib_local_state.html
679 additions, 637 deletions not shown
View
2,368 coverage/lib_node_layout.html
1,199 additions, 1,169 deletions not shown
View
742 coverage/lib_parse_args.html
375 additions, 367 deletions not shown
View
1,732 coverage/lib_remote_helper.html
875 additions, 857 deletions not shown
View
610 coverage/lib_user_app_client.html
306 additions, 304 deletions not shown
View
60 coverage/status.dat
@@ -40,19 +40,19 @@ p20
I0
sS'n_statements'
p21
-I57
+I64
sS'n_excluded'
p22
I0
sS'n_missing'
p23
-I33
+I32
sS'n_missing_branches'
p24
I0
sbssS'hash'
p25
-S'\xe7\x91\x0cL{\xa9z\xee\xf4\xb0\xbbhs=\x1f\xe0'
+S'\xc32\xfc\x11\x0f\xfb\x19l\x0fxn\xa1\x1f\xa4\x9bs'
p26
ssS'lib_agents_ec2_agent'
p27
@@ -78,15 +78,15 @@ I1
sg20
I0
sg21
-I193
+I229
sg22
I0
sg23
-I36
+I53
sg24
I0
sbssg25
-S'\x88\xc1\x94qD\t\xad\xcdh\x1d\xe8\xbbz\x8b\x95\xdd'
+S'\x19\x97\xaa\xba\xb0\'\x8a\xe6\x07\xaa\xe3\x8e>@\x8a"'
p34
ssS'lib_custom_exceptions'
p35
@@ -112,7 +112,7 @@ I1
sg20
I0
sg21
-I14
+I16
sg22
I0
sg23
@@ -120,7 +120,7 @@ I0
sg24
I0
sbssg25
-S'Icuz\xfc4syq\xcaG\xb8\x06\x82\xa9\xc3'
+S'9\x93\xde\xb1\x8c\xbeu3\xf1Zy\x12I\xbfu\xc1'
p42
ssS'lib_appcontroller_client'
p43
@@ -146,15 +146,15 @@ I1
sg20
I0
sg21
-I72
+I83
sg22
I0
sg23
-I13
+I15
sg24
I0
sbssg25
-S'\x94\x94h\x1c\x99\xff51\xec\xa3\xed\xfc^u4\xef'
+S'X\x804\xb3k\xa0\x99Um\xa4$(\xe3\x9fG\xb0'
p50
ssS'lib_remote_helper'
p51
@@ -180,7 +180,7 @@ I1
sg20
I0
sg21
-I226
+I227
sg22
I0
sg23
@@ -188,7 +188,7 @@ I11
sg24
I0
sbssg25
-S')r&\xff\xe7[\x03ug\xe1&}\xb0T($'
+S'\x99\xe4\xaa\xbds\xfc7\xd1\xc5&Z\xabi\xde\x84\x89'
p58
ssS'lib_appscale'
p59
@@ -214,15 +214,15 @@ I1
sg20
I0
sg21
-I210
+I211
sg22
I0
sg23
-I32
+I26
sg24
I0
sbssg25
-S'd\xe5\xcd\x9d\xa7\x84\xba\x90\xb1\xfd2\x93/$\xfd,'
+S"Z\xf6;\xdf\x15\xechb\xe7'\xfd\xcbw\x96\xcd\t"
p66
ssS'lib_parse_args'
p67
@@ -248,7 +248,7 @@ I1
sg20
I0
sg21
-I167
+I168
sg22
I0
sg23
@@ -256,7 +256,7 @@ I15
sg24
I0
sbssg25
-S'o\x10\x84_\x11f\x04@PH\x1c/?D\x11O'
+S'\xf0Y\x1arB\xfbh\xd8\xe2\x80\xf0\xb5<VzI'
p74
ssS'lib_appscale_logger'
p75
@@ -282,15 +282,15 @@ I1
sg20
I0
sg21
-I25
+I27
sg22
I0
sg23
-I0
+I2
sg24
I0
sbssg25
-S'\xb0t\xa9\xb3;\x1a\xee[\x17\xbe\xfa\xad\x18\x94\xb5V'
+S'Z)\xad\xf8\x04\xf7KB\xd3p\x18\xaa!\xfe\x91\xab'
p82
ssS'lib_agents___init__'
p83
@@ -350,7 +350,7 @@ I1
sg20
I0
sg21
-I78
+I79
sg22
I0
sg23
@@ -358,7 +358,7 @@ I16
sg24
I0
sbssg25
-S'\x12/\xc1\x11\xce\xe4\xcd\xdb\xc1:\x14,\r\xbb\xbe\xee'
+S'1\x1b&\xa5B\x89l\xeewh\xa2\x7f\x8c\x9d\xae}'
p98
ssS'lib_local_state'
p99
@@ -384,15 +384,15 @@ I1
sg20
I0
sg21
-I215
+I231
sg22
I0
sg23
-I13
+I14
sg24
I0
sbssg25
-S'HHC\xf5:o\x82x\xae\xba\xbf\xcf\x8a\xb4<\xb4'
+S'\tv\xec>\xdf`\x80\xb3\x9e6q\xb9\xcc\xab\x89\x04'
p106
ssS'lib_appengine_helper'
p107
@@ -452,7 +452,7 @@ I1
sg20
I0
sg21
-I195
+I197
sg22
I0
sg23
@@ -460,7 +460,7 @@ I20
sg24
I0
sbssg25
-S'X\xdb\xb7\x83/\x9b\x1e\xb5B\xe5T\xe0\xad\x8fQ\xd0'
+S"I\xbc\x10\x9ci\xd6:\xd3N\xe9\x18g'T\x998"
p122
ssS'lib_agents_base_agent'
p123
@@ -520,7 +520,7 @@ I1
sg20
I0
sg21
-I405
+I414
sg22
I0
sg23
@@ -528,7 +528,7 @@ I47
sg24
I0
sbssg25
-S'*&T4\xc5L\x04\xe0>\x88\x1a\xc4c\xf9E\x1b'
+S'+HP\xff\xf8\xf9\xf4\xd0\x15J\x9e\xac\x92\x9e\x9a\xbe'
p138
ssS'lib_agents_factory'
p139
Please sign in to comment.
Something went wrong with that request. Please try again.