From dev-return-313040-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Tue Feb 27 00:59:04 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 6C18818064A for ; Tue, 27 Feb 2018 00:59:04 +0100 (CET) Received: (qmail 2959 invoked by uid 500); 26 Feb 2018 23:59:03 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 2947 invoked by uid 99); 26 Feb 2018 23:59:02 -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, 26 Feb 2018 23:59:02 +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 73EAA1A038B for ; Mon, 26 Feb 2018 23:59:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id V69kRuZN7MXd for ; Mon, 26 Feb 2018 23:59: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 380985F183 for ; Mon, 26 Feb 2018 23:59:01 +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 9C990E0339 for ; Mon, 26 Feb 2018 23:59: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 447BB2190B for ; Mon, 26 Feb 2018 23:59:00 +0000 (UTC) Date: Mon, 26 Feb 2018 23:59:00 +0000 (UTC) From: "Steve Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-8106) Add script to attempt to reproduce failing tests from a Jenkins log 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/LUCENE-8106?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D163= 77812#comment-16377812 ]=20 Steve Rowe commented on LUCENE-8106: ------------------------------------ bq. Sarowe's Jenkins uses ANT_OPTS environment variable. But this is someth= ing completely different: It is just options that are passed to ANT's JVM (= the JVM that runs the build scripts). Those won't be passed to test runners= , as not even the build.xml would see them. Contrary, in the python script = they are passed like other ant arguments, which is wrong. [...] The ANT_OPT= S stuff should be removed from the script, it has nothing to do with reprod= ucing tests Thanks, this is done. I also did the following: * fixed a path-based regex that was triggering failures on Windows (fixed t= o handle backslashes). * changed the windows batch script to only attempt to move directories if t= hey exist (missing directories were causing script failures) *=C2=A0added the repro script to the 7.x windows job I'll keep an eye on the windows builds, hopefully they're fully working aft= er these changes. > Add script to attempt to reproduce failing tests from a Jenkins log > ------------------------------------------------------------------- > > Key: LUCENE-8106 > URL: https://issues.apache.org/jira/browse/LUCENE-8106 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Steve Rowe > Assignee: Steve Rowe > Priority: Major > Fix For: master (8.0), 7.3 > > Attachments: LUCENE-8106-part2.patch, LUCENE-8106-part3.patch, LU= CENE-8106-part4.patch, LUCENE-8106.patch, LUCENE-8106.patch > > > This script will be runnable from a downstream job triggered by an upstre= am failing Jenkins job, passing log location info between the two. > The script will also be runnable manually from a developer's cmdline. > From the script help: > {noformat} > Usage: > python3 -u reproduceJenkinsFailures.py URL > Must be run from a Lucene/Solr git workspace. Downloads the Jenkins > log pointed to by the given URL, parses it for Git revision and failed > Lucene/Solr tests, checks out the Git revision in the local workspace, > groups the failed tests by module, then runs > 'ant test -Dtest.dups=3D5 -Dtests.class=3D"*.test1[|*.test2[...]]" ...' > in each module of interest, failing at the end if any of the runs fails. > To control the maximum number of concurrent JVMs used for each module's > test run, set 'tests.jvms', e.g. in ~/lucene.build.properties > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org