From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f178.google.com (mail-ot0-f178.google.com [74.125.82.178]) by dpdk.org (Postfix) with ESMTP id 8F02C1BB0C for ; Sat, 23 Jun 2018 05:09:16 +0200 (CEST) Received: by mail-ot0-f178.google.com with SMTP id q17-v6so9604544otg.2 for ; Fri, 22 Jun 2018 20:09:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AMuLnHKdTWoqUcwelQZaliqrMQmOzFvETvAkpcFJnyY=; b=YYsAaOtf+nDOnRi9NXjN3smeI4G4LMcszmdjPbN8GUAhlTlwQTz5e3UgtUHVxyfiqv QsNba69fueIJbepyaFHAeARQHU9OQxIYrd2SAdtLUxpd4Q0SV0fyy/m0mn1mz7FS7c7Z MXnuQXQeG4unKEJx8qsonzGDx3oAhaxg7tapM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AMuLnHKdTWoqUcwelQZaliqrMQmOzFvETvAkpcFJnyY=; b=VLXrQg+4XOtePVZ0tbsTIjns6ziTBxVGTnTS4fbiEUF8XC5gU0LIxDkl9hffpKxCjH qatIrB9YAAZMZIpiWN5/KRALoIRfcS9HX+KoofrBOM5X9O3GkYsE3SiWdC3vs9XIA6QT AzwSrY6dl0N/HqfIbL7kRsyRFfXdPQ6LCGHiG7uRkjBH8dOAP9uEaAtMzISXzb5NykyT RMto2rOH2A3xWsm5RijB6y0CUl3aQ+DzhL5uxnj/aRV4FPBrE6FuIvylQyHVBzA5p5tm NafCTy1MlU0AOYfcWq/MBRTJAD4l4+ufWCZgP3VEZiUjeLyh6AxzXwlnJj7zIiO4Dqm/ EgGQ== X-Gm-Message-State: APt69E2rBamuQ5Ap940oOgvERLaeUohN0WrVCphGMDzF0qyEdDbtzflv 5lhct9OCCuSPvFUYpWijuQ0KM0cC66J7pMH3iG45G3ac X-Google-Smtp-Source: ADUXVKKk5f67ZAhtT9Lp3wUJpX5Y00StNgkL+7SCO6EfV2B9Q4NDTXB1t73mWt6j2i9LCRji/kwENYUjY27NDLI+qcs= X-Received: by 2002:a9d:444a:: with SMTP id f10-v6mr2076891otj.400.1529708446015; Fri, 22 Jun 2018 16:00:46 -0700 (PDT) MIME-Version: 1.0 References: <1773734.J8st0Yi5bl@xps> <33254811.9IWW2kmgxN@xps> In-Reply-To: <33254811.9IWW2kmgxN@xps> From: Patrick MacArthur Date: Fri, 22 Jun 2018 19:00:35 -0400 Message-ID: To: Thomas Monjalon Cc: Jeremy Plsek , Ali Alnubani , dpdklab@iol.unh.edu, ci@dpdk.org Content-Type: multipart/alternative; boundary="00000000000088ff2e056f430035" Subject: Re: [dpdk-ci] [dpdklab] Re: patchwork REST API patches endpoint 500 error X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 03:09:16 -0000 --00000000000088ff2e056f430035 Content-Type: text/plain; charset="UTF-8" Hi, Thomas, Just a piece of additional information: I have determined that this appears to be an issue with the patch list endpoint in the API ( http://patches.dpdk.org/api/1.0/patches/), but the patch detail REST API endpoint (http://patches.dpdk.org/api/1.0/patches/X/ for a given patch X) works fine. Based on this, I have been able to work around the issue for now so testing of new patch series can resume. As for the patch series mbox URLs, we would like to move to using the new series support to avoid tracking them by hand, but we have not gotten around to it yet. Thanks, Patrick On Fri, Jun 22, 2018 at 11:39 AM Thomas Monjalon wrote: > 22/06/2018 16:16, Jeremy Plsek: > > Hi Thomas, > > > > The specific URL we are trying to access is: > > > http://patches.dpdk.org/api/patches/?archived=1&order=-date&project=dpdk&page=1 > > > > Which used to work before. > > > > I've also noticed 500's every so often on just > > http://patches.dpdk.org/api/patches/ > > Indeed it is not working anymore. > I don't know what happens. > > Is it possible to use https://patches.dpdk.org/series/ID/mbox/ ? > > > > On Fri, Jun 22, 2018 at 3:16 AM Thomas Monjalon > wrote: > > > > > 22/06/2018 01:41, Patrick MacArthur: > > > > Hi, > > > > > > > > The Patchwork instance is throwing a 500 error when our scripts try > to > > > > access the following URL: > > > > > > > > http://patches.dpdk.org/api/1.0/patches/ > > > > > > > > Our scripts currently use this endpoint to scrape new patches to be > > > applied > > > > and tested in our system. > > > > > > > > Could you please look into this? > > > > > > You know patchwork has been updated? > > > > > > Look at this page for the summary of APIs: > > > http://patches.dpdk.org/api/ > > > > > > There is this one: > > > http://patches.dpdk.org/api/patches/ > > > > > > But you should download series with this URL: > > > https://patches.dpdk.org/series/ID/mbox/ > > > > > > > > > > > > > > > > > > > -- Patrick MacArthur Research and Development, High Performance Networking and Storage UNH InterOperability Laboratory --00000000000088ff2e056f430035 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, Thomas,

Just a piece of additional = information: I have determined that this appears to be an issue with the pa= tch list endpoint in the API (http://patches.dpdk.org/api/1.0/patches/), bu= t the patch detail REST API endpoint (http://patches.dpdk.org/api/1.0/patches= /X/=C2=A0for a given patch X) works fine.

Base= d on this, I have been able to work around the issue for now so testing of = new patch series can resume.

As for the patch seri= es mbox URLs, we would like to move to using the new series support to avoi= d tracking them by hand, but we have not gotten around to it yet.

Thanks,
Patrick

On Fri, Jun 22, 2018 at 11:39 AM Thomas Monjalon = <thomas@monjalo= n.net> wrote:
22/06/2018 16:= 16, Jeremy Plsek:
> Hi Thomas,
>
> The specific URL we are trying to access is:
> http://patches.dpdk.org/api/patches/?archived=3D1&order=3D-date&= ;project=3Ddpdk&page=3D1
>
> Which used to work before.
>
> I've also noticed 500's every so often on just
> http://patches.dpdk.org/api/patches/

Indeed it is not working anymore.
I don't know what happens.

Is it possible to use https://patches.dpdk.org/series/ID/mbo= x/ ?


> On Fri, Jun 22, 2018 at 3:16 AM Thomas Monjalon <thomas@monjalon.net> wrote: >
> > 22/06/2018 01:41, Patrick MacArthur:
> > > Hi,
> > >
> > > The Patchwork instance is throwing a 500 error when our scri= pts try to
> > > access the following URL:
> > >
> > >=C2=A0 =C2=A0 =C2=A0http://patches.dpdk.org/ap= i/1.0/patches/
> > >
> > > Our scripts currently use this endpoint to scrape new patche= s to be
> > applied
> > > and tested in our system.
> > >
> > > Could you please look into this?
> >
> > You know patchwork has been updated?
> >
> > Look at this page for the summary of APIs:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://patches.dpdk.org/api/<= /a>
> >
> > There is this one:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
http://patches.dpdk.o= rg/api/patches/
> >
> > But you should download series with this URL:
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0https://patches.d= pdk.org/series/ID/mbox/
> >
> >
> >
>
>







--
Patrick MacArthur
Research and Development, High Performance Ne= tworking and Storage
UNH InterOperability Laboratory
--00000000000088ff2e056f430035--