pcp
[Top] [All Lists]

Re: [pcp] qa/1111 failing pretty much every place it is run

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] qa/1111 failing pretty much every place it is run
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 12 Jul 2016 21:48:41 -0400 (EDT)
Cc: Alec Ten Harmsel <alec@xxxxxxxxxxxxxxxxxx>, PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <57859524.6050605@xxxxxxxxxxxxxxxx>
References: <57858370.8030700@xxxxxxxxxxxxxxxx> <131083523.5554077.1468368582128.JavaMail.zimbra@xxxxxxxxxx> <57859524.6050605@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: nhalMilfmzzKWBF8xfGDooh3kr59ww==
Thread-topic: qa/1111 failing pretty much every place it is run

----- Original Message -----
> On 13/07/16 10:09, Nathan Scott wrote:
> > ----- Original Message -----
> >> I'm seeing 2 failure signatures.
> >>
> >> .out.bad files attached
> >>
> >> Any help would be appreciated as I have no clue what this test is or
> >> should be doing.
> >
> > This test is exercising the new pcp2influxdb(1) command.  There should
> > be a 1111.full associated with these failures, which I think we'll need
> > to figure out what socat sees - could you post those too please for the
> > two signatures?
> 
> 
> Attached.
> 

Taa.  I can see (at least) two different issues there -

1. We're missing a python module

(from first .full)
    import requests
ImportError: No module named 'requests'

(deb & rpm packaging should have deps in place - is this non-Linux?)

- I've added a _notrun() to the test to ensure "requests" module exists

2. Older requests modules

(from other .full)
requests.exceptions.ConnectionError: Max retries exceeded for url: [...]
AttributeError: 'module' object has no attribute 'HTTPBasicAuth'
User-Agent: python-requests/0.8.2^M

- Looks like HTTPBasicAuth is there since 1.0 of requests, so I've
  added a _notrun() check on that version.  Hopefully a fix for the
  "max retries"  issue is in since version 1 onward too... but that
  one may still be unresolved - lemme know?


cheers.

--
Nathan

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