All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: [RFC OSSTEST] ap-fetch-*: Support $AP_FETCH_PLACEHOLDERS envvar which outputs a placeholder
Date: Thu, 8 Oct 2015 17:28:10 +0100	[thread overview]
Message-ID: <1444321690.1410.264.camel@citrix.com> (raw)
In-Reply-To: <22038.37664.558073.72143@mariner.uk.xensource.com>

On Thu, 2015-10-08 at 17:00 +0100, Ian Jackson wrote:
> Ian Campbell writes ("[RFC OSSTEST] ap-fetch-*: Support
> $AP_FETCH_PLACEHOLDERS envvar which outputs a placeholder"):
> > And use this in standalone-generate-dump-flight-runvars. In general I
> > don't think we are interested in the specific revision_* runvars when
> > using this tool and this is quicker even than using memoisation on the
> > ap-fetch invocations. This produces output like:
> > 
> > libvirt                    build-amd64                                 
> >        revision_xen            ap-fetch-version-baseline:xen-unstable
> > 
> > By doing this the diffs of before and after changes to e.g.
> > make-flight don't pickup noise if a something/someone does a push in
> > the middle.
> > 
> > RFC firstly because I'm not 100% sure about making this unconditional
> > in standalone-generate-dump-flight-runvars
> 
> Maybe it should be the default, but it is sometimes useful to see the
> effect of changes to ap-fetch* in the runvars.  Eg, my smoke test
> series would have needed not to be using these placeholders.

Right, I can easily (I hope) make that aspect work then.

> > and secondly because of the
> > addition of sqlite_use_immediate_transaction => 0 which TBH I don't
> > really understand but resolves errors like:
> 
> I can see why that helps but I don't think it's right.

I suspected as much.

> >     DBD::SQLite::db do failed: UNIQUE constraint failed: jobs.flight,
> > jobs.job [for Statement "        INSERT INTO jobs VALUES (?,'build-i386
> > -xsm','build','queued')
> 
> This is very odd.  These jobs ought to have been deleted by
> Osstest::JobDB::Standalone::flight_create.
> 
> This merits further investigation :-/.

Right :-/

Ian.

  reply	other threads:[~2015-10-08 16:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-08 10:24 [RFC OSSTEST] ap-fetch-*: Support $AP_FETCH_PLACEHOLDERS envvar which outputs a placeholder Ian Campbell
2015-10-08 16:00 ` Ian Jackson
2015-10-08 16:28   ` Ian Campbell [this message]
2015-10-08 16:43     ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444321690.1410.264.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.