couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: 2.1
Date Sun, 14 May 2017 03:46:37 GMT

Reading this while on ops but my understanding was that the disabling
was *just* for the 2.1 branch. Other than that I agree 100%. Other
than wondering why you haven't merged the log upload :P Thats aweome
and I agree will help significantly. And I agree that the tests aren't
necessarily bad its just that with a distributed/async system the
whole "works on my machine" turns into a "works on all developer
machines" but then also "blows up on way under powered VMs" which
means our tests have some fun timing issues.

Given that the tests are randomly failing vs a test or two that's
always failing I'm not that concerned with just flagging the issue as
"We're aware of it, we're working on fixing it, but we'd like to get
some work into a consumable release for people."

Seem reasonable?

On Sat, May 13, 2017 at 8:01 PM, Joan Touzet <> wrote:
> Hi everyone,
> I'm +/-0 on this only because there's a little ambiguity in steps 2 and 4
> I'd like to clear up. This email is part test status report and
> part clarification, so I apologize in advance for the length.
> It is absolutely _almost_ time we get 2.1 out the door.
> Step 2 is the equivalent of sweeping all our possible problems under
> the rug. The failing tests aren't necessarily failing because we have
> a bad test suite. In fact, just last week I found a genuine race
> condition leading to a broken Couch from one of these test cases[1].
> I don't want to just sweep everything under the rug to get a release
> out the door like we did for 2.0.0; if we'd held on for a few more weeks
> for that release we might have found and fixed that bug (and a few
> others, too.)
> It's worth noting that we can't disable /all/ of the failing tests for
> a 2.1 release either; at least one of the failures can best be described
> as "couchjs just sometimes segfaults." So unless we're ready to just
> disable the entire JS test suite... ;) And for the detractors out there,
> there are more EUnit than JS failing test cases right now (13 vs. 6)!
> Step 4, for me, *must* include re-enabling all of the failing tests as
> soon as possible (or, alternately, only disabling them on the 2.1.x
> branch.) A PR I intend to land tomorrow, which has +1s from Paul and
> Jan[2], will upload couch.log files from Travis and Jenkins when a test
> fails to a central CouchDB for further analysis. Prior to this,
> determining the actual failure required getting lucky and having one of
> the tests fail on your machine. With the exception of the compression
> daemon tests (which I *just* increased the timeout on just 4 days ago[3])
> most of these test failures we just need more data. Disabling the tests
> now that we finally have useful CI telemetry is like launching a fleet of
> satellites to monitor global climate, then banning the agency responsible
> for them from monitoring them for vital data. :D
> Thanks for reading. Let's move forward on 2.1...carefully.
> -Joan
> [1]
> [2]
> [3]
> ----- Original Message -----
> From: "Jan Lehnardt" <>
> To: "dev" <>
> Sent: Thursday, 11 May, 2017 1:41:35 PM
> Subject: 2.1
> Hi all,
> we should get CouchDB 2.1 out soon and the test suite situation is a somewhat annoying
blocker, so I’m proposing something that might sound unusual: disable the failing tests.
> All test failures are intermittent and we must absolutely address this, but since nobody
picked this up since February, I think we need a new plan.
> The one other issue is that the replication manager was merged recently and is still
fairly new code, so I’m proposing this:
> 1. Fork 2.1.x off of master just before the replication scheduler merge.
>     1.1. backport any other fixes in master to 2.1.x that happened after the replication
> 2. Disable all failing tests.
> 3. Start the release procedure.
> 4. Fix tests on master for 2.2, which then also can include the replication schedule.
> If there are no objections, I’m happy to prepare the 2.1.x branch early next week.
> Best
> Jan
> --

View raw message