stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
To: Sasha Levin <sashal@kernel.org>
Cc: Greg KH <greg@kroah.com>, CKI Project <cki-project@redhat.com>,
	Linux Stable maillist <stable@vger.kernel.org>
Subject: Re: ❌ FAIL: Stable queue: queue-5.2
Date: Tue, 27 Aug 2019 16:10:17 +0300	[thread overview]
Message-ID: <e1b5fad9-b896-cfad-0e76-26405de2abc5@redhat.com> (raw)
In-Reply-To: <20190826133312.GI5281@sasha-vm>

On 8/26/19 4:33 PM, Sasha Levin wrote:
> On Mon, Aug 26, 2019 at 02:39:31PM +0300, Nikolai Kondrashov wrote:
>> So, this leads me to suspect the repos *were* inconsistent. Likely not as I
>> described before, but still. They should've been inconsistent for more than 5
>> minutes for us to trip on this.
> 
> This is likely the case. I took my sweet time doing the release and
> looking at irc logs, I have gone way above 5 minutes. However, we'd
> really like to avoid having a magical number of minutes here to get it
> right.
> 
> To me the issue seems that you're mixing the information provided by two
> repos that may have inconsistency between them, even if merely due to
> sync within the CDN. You should use information provided only by one
> repo.
> 
> I myself run a (rather dumb) bot that just attempts to apply/build
> -stable tagged patches, and it seems to avoid the inconsistency issue by
> only working with the information provided by stable-queue:
> 
> - For each of the active stable/LTS kernels (let's say 5.2 in this
>    "loop"), we do:
> - Grab the latest released version from stable-queue:
>    - $ git tag | sort -V | grep 'v5\.2' | tail -n1
>      v5.2.10
> - Check it out in linux-stable:
>    - $ git checkout v5.2.10
>    - Bail if the above fails; this solves the "consistency" problem.
> - Apply the patches from the queue
> - Run your tests
> 
> This way, you guarantee that linux-stable is at the right position since
> you're just telling it where to go to, rather than getting information
> out of that repo which might conflict with something you've learned from
> stable-queue.

Thank you, Sasha. This makes sense. You using this approach in your bot gives
us the guarantee it will work :) We'll change our trigger to this (I posted an
internal ticket and everything), likely next week.

Nick

  reply	other threads:[~2019-08-27 13:10 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-25 14:37 ❌ FAIL: Stable queue: queue-5.2 CKI Project
2019-08-25 14:41 ` Greg KH
2019-08-26  8:23   ` Nikolai Kondrashov
2019-08-26  8:33     ` Greg KH
2019-08-26  9:13       ` Nikolai Kondrashov
2019-08-26  9:40         ` Nikolai Kondrashov
2019-08-26 11:12           ` Nikolai Kondrashov
2019-08-26 11:39             ` Nikolai Kondrashov
2019-08-26 13:33               ` Sasha Levin
2019-08-27 13:10                 ` Nikolai Kondrashov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-09-19 12:42 CKI Project
2019-09-19 12:57 ` Greg KH
2019-09-07 11:48 CKI Project
2019-09-04  5:31 CKI Project
2019-09-04 21:40 ` Rachel Sibley
2019-08-30 23:41 CKI Project
2019-08-28 12:36 CKI Project
2019-09-10  8:19 ` Hangbin Liu
2019-09-10  8:58   ` Greg KH
2019-09-10  9:30     ` Hangbin Liu
2019-09-10  9:40       ` Hangbin Liu
2019-09-10 10:52         ` Sasha Levin
2019-08-27 10:54 CKI Project
2019-08-26 22:06 CKI Project
2019-08-27 14:58 ` Rachel Sibley
2019-08-26 20:33 CKI Project
2019-08-26 21:00 ` Major Hayden
2019-08-22 22:48 CKI Project
2019-08-22 23:37 ` Greg KH
2019-08-23  6:57   ` Jan Stancek
2019-08-23 15:38     ` Sasha Levin
2019-08-23  2:19 ` ? " Murphy Zhou
2019-08-18 21:09  " CKI Project
2019-08-18 14:27 CKI Project
2019-08-18 14:05 CKI Project
2019-08-18 14:20 ` Greg KH
2019-08-18 12:00 CKI Project
2019-08-18 16:59 ` Ondrej Mosnacek

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=e1b5fad9-b896-cfad-0e76-26405de2abc5@redhat.com \
    --to=nikolai.kondrashov@redhat.com \
    --cc=cki-project@redhat.com \
    --cc=greg@kroah.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).