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 D68E8200D11 for ; Mon, 2 Oct 2017 17:04:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D50791609EF; Mon, 2 Oct 2017 15:04:42 +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 25A8F1609DE for ; Mon, 2 Oct 2017 17:04:41 +0200 (CEST) Received: (qmail 94792 invoked by uid 500); 2 Oct 2017 15:04:36 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 94780 invoked by uid 99); 2 Oct 2017 15:04:35 -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; Mon, 02 Oct 2017 15:04:35 +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 D6257D9AC6 for ; Mon, 2 Oct 2017 15:04:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, 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 G25VGU7tCZVQ for ; Mon, 2 Oct 2017 15:04:32 +0000 (UTC) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 744455FD41 for ; Mon, 2 Oct 2017 15:04:32 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id u138so11136376wmu.5 for ; Mon, 02 Oct 2017 08:04:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Q87eP0gidebwe58tVb2+GwfUurLaTo1VtX1V6e4QX60=; b=dF7qt+WfOpOu8dNHljtBxEZMurGLfE0gcvfyeI142FgtzSuh2NcmqlFuVDcmZ2LU0N 6eb0WKO6VQefstwLZCbdfxI2hS1LaBxT08KBE49pUDxrdrOD1M0yTbYZjru6MrXtFW1g kBNlow85XFupcGX5FnjBUSrynEMc537ILGi0f/2vHw2dX2ciPn44tThGqC9fdMJdDiOE KcfqhkNXEdYACeUQBR9RSMPs4E5i/erZCwSmDrooo/JBPAR8fwEXggIcry9DbIm47rhs IqRXQziSxYXePa8B9N2pLRfEe+oXxCnbm4WTe4iOM4jyGecBrtd0o4b/U9QDrH7ExYtz j2pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q87eP0gidebwe58tVb2+GwfUurLaTo1VtX1V6e4QX60=; b=JcWkvFwh3/uQy3Bsqwbuw4uahz4bmv+L3rpprdhyfLTHMAnw54DzHvTA31NLClAzMT OEBi5gafHdnb5Itc4XZDH9wW0jFN3/0Ac1mILEuv8mjKmmNLJUpDrk84q1Ose3i3qzSo GyibKYWkEwexSuOqhgNhBzpTF+nDUwx+T78f19EGulboML5j1Wexb0g3m8+1J4I94P8M wJXsd8EBSS6qqfvF5j3A0DBfYq2g3HD3qLXGPi8lwJB2weBAkK2aTRv1SetRuzWjloXo QMqKI83n5UcqxcfJ9tQvJgu438DmtL9XxBK7A441Ls8gN2dyIAd9ubTVZWt9081i16o8 Nftw== X-Gm-Message-State: AHPjjUijrCueyP9lz/0veQXoDpJDEPbKkcjG3Mv+3T6Uf46B0iBtyiol b7mUJTEdpy7Fmf9tTOiBC0AOVQ== X-Google-Smtp-Source: AOwi7QCz/nuQRkU4nder8bzS1s+bps6X1Fh16GhItsyctxqnl4nlkE1AtH3Yxrc7iRNsnFQwa4cpUA== X-Received: by 10.80.203.204 with SMTP id l12mr20391050edi.122.1506956670442; Mon, 02 Oct 2017 08:04:30 -0700 (PDT) Received: from [192.168.1.21] (89.20.179.106.static.ef-service.nl. [89.20.179.106]) by smtp.googlemail.com with ESMTPSA id r8sm2015786edd.96.2017.10.02.08.04.29 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Oct 2017 08:04:29 -0700 (PDT) Subject: Re: failsafe: proper shutdown on failure To: users@maven.apache.org References: From: Mark Prins Message-ID: <73401ccd-730c-9642-681e-40d37681a503@gmail.com> Date: Mon, 2 Oct 2017 17:04:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: nl Content-Transfer-Encoding: 7bit archived-at: Mon, 02 Oct 2017 15:04:43 -0000 On 02-10-17 12:12, Veit Guna wrote: > Hi. > > I'm using maven failsafe 2.20.1 to setup my test environment (redis, via fabric8/docker-maven-plugin) before ITs using pre-integration-test and shut it down on post-integration-test. It works just fine when tests are succeeding or failing "normally". But when failing "hard" like this: > > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test (default) on project crs-it: Execution default of goal org.apache.maven.plugins:maven-failsafe-plugin:2.18.1:integration-test failed: There was an error in the forked process > [ERROR] org.testng.TestNGException: > > Due to some class not found exceptions, > > or just executing: > > mvn clean verify -Dit.test=nonExistingTest > > It seems that post-integration-test phase isn't executed properly then, leaving my docker container still running. I think the build is halted after the failure, so no further phases are processed. Using "-fae" (fail-at-end) may help, but I may be wrong. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org