pcp
[Top] [All Lists]

qa/662 failing ... python problem?

To: "'PCP'" <pcp@xxxxxxxxxxx>
Subject: qa/662 failing ... python problem?
From: "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx>
Date: Sat, 21 Nov 2015 07:19:07 +1100
Delivered-to: pcp@xxxxxxxxxxx
Thread-index: AdEjz8W8altq26uuT3SLpjEiS7dm+w==
This is on a new Debian 8.2 (Jessie) system.

Initial problem is ...

Traceback (most recent call last):
  File "src/test_webapi.py", line 131, in <module>
    test_metric_enumeration(ctx_local,'kernel')
  File "src/test_webapi.py", line 113, in test_metric_enumeration
    print(testprefix + ' enumeration with pmwebinfo
#'+str(len(resp['metrics'])))
UnboundLocalError: local variable 'resp' referenced before assignment

But root cause seems to be found in .full file, namely

context #967622904 local-kernel metric kernel.* enumeration with pminfo #84
ERROR: No JSON object could be decoded
context #967622904 local-kernel metric kernel.*error JSON-decoding PMWEBD
error, code -12376: Attempt to use an illegal context

compared to the corresponding output on Ubuntu 15.10 system (both using
Python 2.7.9)

context #327695564 local-kernel metric kernel.* enumeration with pminfo #91
context #327695564 local-kernel metric kernel.* enumeration with pmwebinfo
#91
context #327695564 local-kernel metric kernel.* enumeration match count PASS

Anyone seen anything similar?

Any clues where to start trying to debug/fix this?

Attachment: 662.full
Description: Binary data

Attachment: 662.out.bad
Description: Binary data

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