From: Abhishek Lekshmanan <abhishek@suse.com>
To: John Spray <jspray@redhat.com>
Cc: Vasu Kulkarni <vakulkar@redhat.com>,
Ceph Development <ceph-devel@vger.kernel.org>,
ceph-qa <ceph-qa@ceph.com>
Subject: Re: ceph-qa-suite branching (merge it into ceph.git?)
Date: Wed, 13 Apr 2016 21:18:02 +0200 [thread overview]
Message-ID: <86pottl3md.fsf@linux-stsn.suse> (raw)
In-Reply-To: <CALe9h7f3OFobvNscxMTmoSSkxf2PfG71wPqAJ8mTWEBKpGH3Dw@mail.gmail.com>
John Spray writes:
> On Wed, Apr 13, 2016 at 7:02 PM, Vasu Kulkarni <vakulkar@redhat.com> wrote:
>>
>>
>> On Wed, Apr 13, 2016 at 3:52 AM, John Spray <jspray@redhat.com> wrote:
>>>
>>> Lately, we've instances where ceph.git and ceph-qa-suite.git got
>>> slightly out of sync, as we were adding new stuff and interface
>>> changes to ceph (especially in cephfs).
>>>
>>> We used to have two repos (ceph and teuthology), now we have three
>>> (ceph, ceph-qa-suite and teuthology).
>>
>>
>> we also have s3 suites in its own repo, we have big files in ceph.com/qa
>> which i believe is the right place.
>
> I'm a bit ignorant of the s3 tests, is there a particular reason they
> live separately to the main ceph-qa-suite?
Technically s3-tests can have tests that do not all pass on rgw (which
is true mostly even now as we have a fails_on_rgw filter) and pass on
Amazon S3. I'm guessing this may be a reason they live outside of the
qa-suite, but I could be wrong
Abhishek
>
> As for the stuff in ceph.com/qa, I of course am not suggesting putting
> those bit binaries into the main git repo. It is sort of annoying
> that they live out there on a web server, but it's a separate issue
> from the ceph/ceph-qa-suite one.
>
>>> Splitting tests out of
>>> teuthology was a good thing, but maybe they should have gone into the
>>> ceph tree instead of a new repo? The ceph-qa-suite branching seems to
>>> pretty much mirror what we do with ceph, with master vs jewel etc.
>>>
>>> Historically we had a comparatively static set of workloads in the qa
>>> suite (e.g. kernel-untar-build, fsstresss, pjd), which didn't change
>>> much with ceph changes. But these days we're adding much more
>>> detailed tests, so there's more effort to keep the two in sync.
>>>
>>> I would personally love to be able to have a single PR that contained
>>> my code and the tests for it. What if after Jewel we pulled all of
>>> ceph-qa-suite into the ceph repo?
>>
>>
>> I understand the advantage of having same sha between builds and tests, but
>> how are we going to guarantee ceph-builds in different places(one built on
>> other than ceph.com) will have same sha?
>
> The thing that needs to match is the sha1 of the ceph code you're
> running, and the sha1 you use when pulling the code to test it with.
>
> I believe you currently have a situation where you have a built RPM
> but you're not sure what ceph sha1 it came from, so you're pulling
> e.g. the jewel branch of ceph-qa-suite rather than a specific sha1.
> That needs fixing independently of ceph/ceph-qa-suite separation: you
> have to run the right revision of the tests, irrespective of where
> they're getting pulled from.
>
> Basically, anyone generating packages with versions that don't map to
> a ceph sha1 will need to have a way of remembering what ceph sha1
> their packages correspond to. This is not a new requirement, it's the
> same issue that was discussed on IRC recently.
>
>> why not move ceph tests from ceph.git into ceph-qa-suite, Ideally this is
>> not an issue with any major release, jewel workunits are supposed to work
>> with jewel ceph,
>
> That would not help, because you still have the same issue of changes
> in ceph being out of step with changes in ceph-qa-suite.
>
> I think your misconception here is to assume that running tests from
> the same branch as the code is sufficient. You need to run tests from
> the same *revision*. Otherwise, when I add a new test to reproduce a
> bug, and fix the bug at the same time, then you will get failures if
> you run the newer commit against the older code.
>
> John
>
>> only in rare cases it may cause some issue but easily fixable. All the dev
>> runs can point to any qa-sha using the cli option so much less of an issue
>> in rare case.
>
>
>
>>>
>>> We could still enable folks running test changes without having to
>>> rebuild ceph packages: the suite sha1 selected when running a
>>> teuthology suite could still be different from that used for
>>> installing ceph, it's just that it would fetch that sha1 from the ceph
>>> repo instead of from a separate repo.
>>>
>>> John
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>>
--
Abhishek
prev parent reply other threads:[~2016-04-13 19:18 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-13 10:52 ceph-qa-suite branching (merge it into ceph.git?) John Spray
2016-04-13 12:45 ` Sage Weil
[not found] ` <570E4843.8000102@dachary.org>
2016-04-13 13:58 ` [Ceph-qa] " Gregory Farnum
2016-04-13 18:31 ` John Spray
2016-04-13 18:35 ` Samuel Just
2016-04-13 18:38 ` Sage Weil
2016-04-13 18:50 ` John Spray
2016-04-13 18:54 ` Gregory Farnum
2016-04-13 19:00 ` Sage Weil
2016-04-13 19:06 ` Samuel Just
2016-04-13 20:12 ` Josh Durgin
2016-04-13 20:16 ` Samuel Just
[not found] ` <570EB571.10907@dachary.org>
2016-04-13 21:11 ` Samuel Just
2016-04-13 21:17 ` Josh Durgin
2016-04-13 21:59 ` Loic Dachary
[not found] ` <CAKPXa=Y5rJ4ygM9Sdvys+86RwufnKopTOkMNdPHcpCh5bFbQ0w@mail.gmail.com>
2016-04-13 18:10 ` Fwd: " Vasu Kulkarni
2016-04-13 18:23 ` Samuel Just
2016-04-13 18:57 ` Vasu Kulkarni
2016-04-13 18:46 ` John Spray
2016-04-13 19:06 ` Vasu Kulkarni
2016-04-13 19:09 ` [Ceph-qa] " Sage Weil
2016-04-13 19:08 ` Josh Durgin
2016-04-13 19:18 ` Abhishek Lekshmanan [this message]
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=86pottl3md.fsf@linux-stsn.suse \
--to=abhishek@suse.com \
--cc=ceph-devel@vger.kernel.org \
--cc=ceph-qa@ceph.com \
--cc=jspray@redhat.com \
--cc=vakulkar@redhat.com \
/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.