Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 376DE200B8D for ; Fri, 23 Sep 2016 12:30:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35E69160ACA; Fri, 23 Sep 2016 10:30:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 48986160AC2 for ; Fri, 23 Sep 2016 12:30:22 +0200 (CEST) Received: (qmail 95271 invoked by uid 500); 23 Sep 2016 10:30:21 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 95245 invoked by uid 99); 23 Sep 2016 10:30:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2016 10:30:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 87FE9C294C for ; Fri, 23 Sep 2016 10:30:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.476 X-Spam-Level: *** X-Spam-Status: No, score=3.476 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_LINEPADDING=1.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=2.397, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 5OxvSw5Zbnuv for ; Fri, 23 Sep 2016 10:30:18 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B4AA35F47C for ; Fri, 23 Sep 2016 10:30:17 +0000 (UTC) Received: by mail-wm0-f51.google.com with SMTP id w84so22892565wmg.1 for ; Fri, 23 Sep 2016 03:30:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=8OhYWoG+k22MBZJqnempO3RHgrcZiLlycKgjQC7sQKc=; b=ukwwRTU9DRYneI5T5F0n8N4R2lWNAUfZtiBojJjeIOFZXdQ8vYE3hDz2Bn73/y+PRK V/+0oyqbObW4jo4ui6hSW+3eLC0Zjq478GLNX02XV2tJ+dw7DzrgbJiR1G3O3eqhfB5y Uc7dLAWCZrKjsoA3RPjiyv8hoYT2q0TnpVyx8xoX6ABJ14bn1tbPViy5F5eyRepCri4B AUrURM1ERMAVIFUmhxYOiElymSnm263Edx9Ky/Y8FJU+YWTh8/7HI4yHRww3VxpGjtIx +HtcLmP1LjU3WiIXjBTSs23rkDlh9K7xc2oyWfK/dcyd/xGast23sy9riFNEKANhJDGg n3AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=8OhYWoG+k22MBZJqnempO3RHgrcZiLlycKgjQC7sQKc=; b=UhHJsPW5P7fSof20Zn7M6p5VxaicpDG1W403XsBPFFaiCfybkKlIrvb9YdxeFoD/gk D7fjvG0Cw9e0kadS4ytiAT+A6aylulJUz5fnNc1iyVX6ztHWf5KOyR1AKm46JpOfg9mx g/rFFKGumbcN4jcXELc9w/PdlAXPaDaOYovidZNhCg3BwxOmVlU/iojGliJf6NzIGFdu z06/8vt5LcvhgAUaQmE9MHS7/+HKXiv2AiAyNG3b0+iR5Yil8NwG7birxsLLTL7H9jwl C6/0pU8l4sydOFbFV3sxlCncJa+ku3uQfJCGKds08YzIA4e0WgDkOfxCfPTabHg3YFBm mbHA== X-Gm-Message-State: AA6/9RkZWIT5FWVdVMDG4dA4FIAw58ekz2T6xi8ue1Z7cwgNzX+YY1c9zEi4E/1gtEgZUw== X-Received: by 10.194.147.19 with SMTP id tg19mr6209413wjb.162.1474626616713; Fri, 23 Sep 2016 03:30:16 -0700 (PDT) Received: from [10.36.226.98] ([80.169.137.53]) by smtp.googlemail.com with ESMTPSA id 142sm2414201wmh.12.2016.09.23.03.30.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Sep 2016 03:30:16 -0700 (PDT) Subject: Re: Failing rs-sse system tests To: Andriy Redko References: <534164612.20160922213324@gmail.com> <794eadb3-f198-6d94-45ce-55e5626c6b1f@gmail.com> <1536994374.20160923062207@gmail.com> Cc: dev@cxf.apache.org From: Sergey Beryozkin Message-ID: <4262c607-f698-bb9c-0f6a-2fd72d587330@gmail.com> Date: Fri, 23 Sep 2016 11:30:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1536994374.20160923062207@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit archived-at: Fri, 23 Sep 2016 10:30:23 -0000 Hi Andriy Interesting. I wonder if Jetty can be tuned somehow so that as far as ATM is concerned the same code path is used there irrespectively of whether it is Jetty or Tomcat - given that with Tomcat the tests pass Thanks, Sergey On 23/09/16 11:22, Andriy Redko wrote: > Hey Sergey, > > Yeah, I have gotten all them green on my machine (always failing before) and > thought they are fixed now, will look more today. It is definitely Jetty > specific, I know why Jetty fails but I have not found a way to workaround > that (it is deeply inside Atm). I will spend more time today and in worst > case just please comment them out if it something blocking you guys. > > Thanks! > > Best Regards, > Andriy Redko > > SB> Looks like it is a test (or SSE impl) state issue, > SB> Andriy, FYI, if I run complete JettyEmbeddedTest then I see: > > > SB> testBooksStreamIsReturnedFromLastEventId - OK > SB> testBooksAreReturned - Fail > > SB> If I only run > > SB> JettyEmbeddedTest.testBooksAreReturned > > SB> then it is green. > > SB> Same tests run with Tomcat though (I wonder by the way if CXF should > SB> have an http-tomcat transport too). > SB> So may be it is Jetty specific ? > > SB> Cheers, Sergey > > SB> On 23/09/16 10:14, Colm O hEigeartaigh wrote: >>> No apologies necessary Andriy! We all inadvertently break tests. > >>> Both tests are still failing for me however: > >>> Failed tests: > >>> JettyEmbeddedTest>AbstractSseTest.testBooksAreReturned:62->Assert.assertEquals:631->Assert.assertEquals:645->Assert.failNotEquals:834->Assert.fail:88 >>> expected:<200> but was:<500> > >>> JettyWarTest>AbstractSseTest.testBooksAreReturned:62->Assert.assertEquals:631->Assert.assertEquals:645->Assert.failNotEquals:834->Assert.fail:88 >>> expected:<200> but was:<500> > >>> My Java version is "1.8.0_101" on linux if that helps. > >>> Colm. > >>> On Fri, Sep 23, 2016 at 2:33 AM, Andriy Redko wrote: > >>>> Hey Colm, > >>>> My bad, worked on a solution but it took awhile. The fix was finally >>>> committed a few >>>> minutes ago, should be OK from now on. Please accept my apologies. > >>>> Best Regards, >>>> Andriy Redko > >>>> COh> The following tests are failing for me on the master branch: > >>>> COh> Failed tests: > >>>> JettyEmbeddedTest>>AbstractSseTest.testBooksAreReturned:73-> >>>> Assert.assertEquals:631->Assert.assertEquals:645-> >>>> Assert.failNotEquals:834->Assert.fail:88 >>>> COh> expected:<200> but was:<500> > >>>> JettyWarTest>>AbstractSseTest.testBooksAreReturned:73-> >>>> Assert.assertEquals:631->Assert.assertEquals:645-> >>>> Assert.failNotEquals:834->Assert.fail:88 >>>> COh> expected:<200> but was:<500> >>>> COh> Tests in error: >>>> COh> TomcatEmbeddedTest>AbstractSseTest.testBooksStreamIsBroadcasted:101 >>>> ยป >>>> COh> ResponseProcessing > > > > > > > > > > -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/