From dev-return-88505-archive-asf-public=cust-asf.ponee.io@sling.apache.org Wed May 9 16:04:03 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 69F09180649 for ; Wed, 9 May 2018 16:04:03 +0200 (CEST) Received: (qmail 43682 invoked by uid 500); 9 May 2018 14:04:02 -0000 Mailing-List: contact dev-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list dev@sling.apache.org Received: (qmail 43671 invoked by uid 99); 9 May 2018 14:04:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2018 14:04:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CC2B71807C4 for ; Wed, 9 May 2018 14:04:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id mlW3raCoDIVY for ; Wed, 9 May 2018 14:04:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C706D5F242 for ; Wed, 9 May 2018 14:04:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 57722E12C2 for ; Wed, 9 May 2018 14:04:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 110032129B for ; Wed, 9 May 2018 14:04:00 +0000 (UTC) Date: Wed, 9 May 2018 14:04:00 +0000 (UTC) From: "Christian Schneider (JIRA)" To: dev@sling.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SLING-7659) Test using o.a.s.testing.paxexam block if run without "mvn clean" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SLING-7659?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1646= 8884#comment-16468884 ]=20 Christian Schneider commented on SLING-7659: -------------------------------------------- We can do that in the @Configuration method .. it is always called before t= he OSGi framework is started =C2=A0 > Test using o.a.s.testing.paxexam block if run without "mvn clean" > ----------------------------------------------------------------- > > Key: SLING-7659 > URL: https://issues.apache.org/jira/browse/SLING-7659 > Project: Sling > Issue Type: Bug > Components: Testing > Affects Versions: Testing PaxExam 2.0.0 > Reporter: Bertrand Delacretaz > Priority: Minor > Attachments: testing.log > > > This happens for (at least) the following modules: > * sling-org-apache-sling-commons-html which uses o.a.s.testing.paxexam 2= .0.0 > * sling-org-apache-sling-resource-presence which uses o.a.s.testing.paxe= xam 0.0.4 > The integration tests work fine with {{mvn clean install}} but running {{= mvn install}} right after that causes the tests to hang and time out (after= approximately 6 minutes). > Deleting {{target/paxexam}} folder before running {{mvn install}} fixes t= he issue, so it's linked to existing OSGi state apparently. > I'll attach a {{testing.log}}, I don't see any obvious clues in it but th= e tests block after this line: > {code:java} > 2018-05-09 11:59:56,003 DEBUG [BundleWatcher: 1] o.o.p.e.r.e.i.Probe=20 > [Parser.java : 64] Registering Service: org.ops4j.pax.exam.ProbeInvoker= =20 > with Probe-Signature=3D"PaxExam-d4e46627-3b02-462a-aa46-883ce54e3f9f"=20 > and expression=3D > "org.apache.sling.commons.html.it.TagsoupHtmlParserIT;testFeaturesConfigu= ration" > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)