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 589D8200C34 for ; Mon, 27 Feb 2017 15:25:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 57397160B60; Mon, 27 Feb 2017 14:25:55 +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 A236F160B56 for ; Mon, 27 Feb 2017 15:25:54 +0100 (CET) Received: (qmail 73967 invoked by uid 500); 27 Feb 2017 14:25:53 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 73956 invoked by uid 99); 27 Feb 2017 14:25:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2017 14:25:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 306851A0907 for ; Mon, 27 Feb 2017 14:25:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id TvnAwY7tebfU for ; Mon, 27 Feb 2017 14:25:52 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 89FF45F245 for ; Mon, 27 Feb 2017 14:25:51 +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 9A496E053A for ; Mon, 27 Feb 2017 14:25:45 +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 524F624132 for ; Mon, 27 Feb 2017 14:25:45 +0000 (UTC) Date: Mon, 27 Feb 2017 14:25:45 +0000 (UTC) From: "Steve Loughran (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-14125) s3guard tool tests aren't isolated; can't run in parallel MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Feb 2017 14:25:55 -0000 [ https://issues.apache.org/jira/browse/HADOOP-14125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Loughran updated HADOOP-14125: ------------------------------------ Description: The {{S3GuardToolTestBase}} don't parallelize and break other tests. This can surface if you do a full run with -Ds3guard and -Ddynamo. # many of the test paths they create are being requested with absolute paths, e.g {{"/test-diff"}}. # the base class doesn't set up a per-forked-JUnit-test runner path in the bucket # and there's no cleanup at the end of each test case; teardown() is empty. Ideally, the tests should be made child classes of {{AbstractS3ATestBase}}, with its post-run cleanup, If that can't be done, then the tests must # use {{S3ATestUtils.createTestPath(super.getTestPath())}} to create the base test path # clean up that dir in teardown if the FS instance is non-null. {{ContractTestUtils.cleanup()}} can do this. If it happens that the tests cannot run in parallel with others, then the build must be changed to exclude them from the parallel test run phase & include them in the serialized section. was: The {{S3GuardToolTestBase}} don't parallelize and break other tests. This can surface if you do a full run with -Ds3guard and -Ddynamo. # many of the test paths they create are being requested with absolute paths, e.g {{"/test-diff"}}. # the base class doesn't set up a per-forked-JUnit-test runner path in the bucket # and there's no cleanup at the end of each test case; teardown() is empty. Ideally, the tests should be made child classes of {{AbstractS3ATestBase}}, with its post-run cleanup, If that can't be done, then the tests must # use {{S3ATestUtils.createTestPath(super.getTestPath())} to create the base test path # clean up that dir in teardown if the FS instance is non-null. {{ContractTestUtils.cleanup()}} can do this. If it happens that the tests cannot run in parallel with others, then the build must be changed to exclude them from the parallel test run phase & include them in the serialized section. > s3guard tool tests aren't isolated; can't run in parallel > --------------------------------------------------------- > > Key: HADOOP-14125 > URL: https://issues.apache.org/jira/browse/HADOOP-14125 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3, test > Affects Versions: HADOOP-13345 > Reporter: Steve Loughran > Assignee: Sean Mackrory > > The {{S3GuardToolTestBase}} don't parallelize and break other tests. This can surface if you do a full run with -Ds3guard and -Ddynamo. > # many of the test paths they create are being requested with absolute paths, e.g {{"/test-diff"}}. > # the base class doesn't set up a per-forked-JUnit-test runner path in the bucket > # and there's no cleanup at the end of each test case; teardown() is empty. > Ideally, the tests should be made child classes of {{AbstractS3ATestBase}}, with its post-run cleanup, If that can't be done, then the tests must > # use {{S3ATestUtils.createTestPath(super.getTestPath())}} to create the base test path > # clean up that dir in teardown if the FS instance is non-null. {{ContractTestUtils.cleanup()}} can do this. > If it happens that the tests cannot run in parallel with others, then the build must be changed to exclude them from the parallel test run phase & include them in the serialized section. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org