pcp
[Top] [All Lists]

And another Python QA failure - qa/662

To: PCP <pcp@xxxxxxxxxxx>
Subject: And another Python QA failure - qa/662
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 22 Jul 2016 14:52:08 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
On vm24 PCP 3.11.4 i686 openSUSE 13.1

662:
*** 662.out     2016-02-15 05:08:57.307703303 +1100
--- 662.out.bad 2016-07-22 12:18:56.003926231 +1000
***************
*** 1,6 ****
--- 1,12 ----
  QA output created by 662

  === IPv4 pmwebd testing via python ===
+ Traceback (most recent call last):
+   File "src/test_webapi.py", line 131, in <module>
+     test_metric_enumeration(ctx_host,'')
+   File "src/test_webapi.py", line 114, in test_metric_enumeration
+ print(testprefix + ' enumeration with pmwebinfo #'+str(len(resp['metrics']
)))
+ UnboundLocalError: local variable 'resp' referenced before assignment
  Received PM_CONTEXT_LOCAL ####

<Prev in Thread] Current Thread [Next in Thread>