From dev-return-312851-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Sun Feb 25 12:23:09 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 1286C18067E for ; Sun, 25 Feb 2018 12:23:08 +0100 (CET) Received: (qmail 20819 invoked by uid 500); 25 Feb 2018 11:23:07 -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 20721 invoked by uid 99); 25 Feb 2018 11:23:07 -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; Sun, 25 Feb 2018 11:23:07 +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 12B3E1A023F for ; Sun, 25 Feb 2018 11:23:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[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-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 9FG5-SEq7feh for ; Sun, 25 Feb 2018 11:23:04 +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 4A12A5FAC9 for ; Sun, 25 Feb 2018 11:23:03 +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 6EC6BE03E8 for ; Sun, 25 Feb 2018 11:23:01 +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 5C9F421908 for ; Sun, 25 Feb 2018 11:23:00 +0000 (UTC) Date: Sun, 25 Feb 2018 11:23:00 +0000 (UTC) From: "Uwe Schindler (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-12016) Reduce noise from flakey tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-12016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376046#comment-16376046 ] Uwe Schindler commented on SOLR-12016: -------------------------------------- Hi [~erickerickson]: I updated the patch. During my merge actions, I missed to actually enable {{@BadApple}} tests - I just updated all comments, but the main change in the {{@TestGroup}} annotation was lost. Now it's fine. I still have not tested the smoker change. > Reduce noise from flakey tests > ------------------------------ > > Key: SOLR-12016 > URL: https://issues.apache.org/jira/browse/SOLR-12016 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: Tests > Affects Versions: 7.2, master (8.0) > Reporter: Erick Erickson > Assignee: Erick Erickson > Priority: Major > Attachments: SOLR-12016-buildsystem.patch, SOLR-12016-buildsystem.patch, SOLR-12016-buildsystem.patch > > > We had a discussion of this topic on the dev list, look for a thread titled: "Test failures are out of control.....". I'll try to summarize that discussion here and we can move this JIRA forward. This may become an umbrella issue. > Current situation concerns: > > There is so much noise from flakey tests (particularly Solr tests) that they are difficult to use. > > The number of tests that regularly fail is increasing > > Failures are being ignored > > The number of failing tests makes releasing more difficult. > > The number of failing tests make it harder to determine whether recent changes actually caused problems. Running the tests again until they succeed is used commonly at present, which is not robust. > > e-mail notifications of failing tests are largely being ignored. > Propsal: > > Mark all currently "flakey" tests as BadApple or AwaitsFix > > Run Jenkins jobs with BadApple (and/or AwaitsFix) enabled and disabled. Frequency TBD, depends partly on whether we can label emails from these runs for easy filtering of the two flavors. > >> Label these runs with something suitable in the subject line (wish list) > > Weekly reports on the tests labeled BadApple or AwaitsFix > >> Perhaps this could be incorporated in the reports linked below (wish list) > > Committers should enable BadApple (or AwaitsFix) regularly as a sanity check. Leave these as defaults. > > We start getting _much_ more aggressive about not allowing _new_ flakey tests. > NOTE: It's perfectly acceptable to have failing flakey tests as long as someone is activey working on _fixing_ them. > Concerns with solution > > Decreases test coverage > > Decreases visibility of flakey tests, making fixing them less likely. > > Some tools (see below) that report on bad tests will not see tests that are annotated with BadApple or AwaitsFix. > > Running unit tests and reporting errors are being conflated > To be decided: > > Can we label e-mails with failing tests with something in the subject line identifying whether they were run with BadApple/Awaits fix enabled or disabled? Can someone volunteer? > > Is there any difference between BadApple and AwaitsFix? If not should we deprecate one? I propose we just use AwaitsFix and deprecate BadApple. > > Can the automated reports (see below) be enhanced to also report tests labeled BadApple or AwaitsFix? > Useful tools: > > Steve Rowe's work on a Jenkins job to reproduce test failures (LUCENE-8106) > > Hoss has worked on aggregating all test failures from the 3 Jenkins systems (ASF, Policeman, and Steve's), downloading the test results & logs, and running some reports/stats on failures. > >> http://fucit.org/solr-jenkins-reports/ > >> https://github.com/hossman/jenkins-reports/ > >> http://fucit.org/solr-jenkins-reports/failure-report.html > I've assigned this JIRA to myslef, but all volunteers welcome, especially anything that changes the build system..... > I've decided to make this a SOLR jira on the theory that most of the offending tests are in the Solr hive, any sub-tasks for touching the build system can go under LUCENE if wanted. > Also, I expect to add the annotation to some more tests for a few days as infrequent failures occur. Once we have stability (defined by there being little noise) that'll stop. > 3 BadApple 23 AwaitsFix annotations are currently in the code, linked to these issues: > HADOOP-14044 > HADOOP-9893 > LUCENE-3869 > LUCENE-5575") > LUCENE-5595 > LUCENE-5737 > LUCENE-6709 > LUCENE-7161 > SOLR-2715 > SOLR-6213 > SOLR-6443 > SOLR-6944 > SOLR-7736 > SOLR-9036 > SOLR-10071 > SOLR-10107 > SOLR-10136 > SOLR-10734 > SOLR-10191 > SOLR-11134 > SOLR-11458 > SOLR-11714 > SOLR-11974 > Solr JIRAS about bad tests > SOLR-2175 > SOLR-4147 > SOLR-5880 > SOLR-6423 > SOLR-6944 > SOLR-6961 > SOLR-6974 > SOLR-8122 > SOLR-8182 > SOLR-9869 > SOLR-10053 > SOLR-10070 > SOLR-10071 > SOLR-10139 > SOLR-10287 > SOLR-10815 > SOLR-11911 -- 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