Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 10763 invoked from network); 2 Oct 2007 11:13:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 11:13:42 -0000 Received: (qmail 97003 invoked by uid 500); 2 Oct 2007 11:13:31 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 96962 invoked by uid 500); 2 Oct 2007 11:13:31 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 96925 invoked by uid 99); 2 Oct 2007 11:13:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 04:13:30 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 11:13:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8F295714187 for ; Tue, 2 Oct 2007 04:12:50 -0700 (PDT) Message-ID: <2369801.1191323570559.JavaMail.jira@brutus> Date: Tue, 2 Oct 2007 04:12:50 -0700 (PDT) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4883) [bti] BTI polls SVN repository too eagerly In-Reply-To: <24146514.1191318530577.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Varlamov updated HARMONY-4883: ------------------------------------- Attachment: hdk-build.diff Finally, allow to customize SVN root url, defaults to "http://svn.apache.org/repos/asf" > [bti] BTI polls SVN repository too eagerly > ------------------------------------------ > > Key: HARMONY-4883 > URL: https://issues.apache.org/jira/browse/HARMONY-4883 > Project: Harmony > Issue Type: Bug > Components: build - test - ci > Reporter: Alexey Varlamov > Priority: Critical > Attachments: bti-fix.diff, hdk-adaptor.diff, hdk-build.diff > > > The Integrity Testing infra built on BTI 2.0 issues too much requests to SVN server. Most of requests are not really needed and may be optimized out w/o loosing any functionality. Also note that standard ASF policy [1] states: "Please do not use programs that poll the repository more frequently than hourly." > Here is the initial analysis: > 1) Default CC interval is 300 sec, which is actual when there is no SVN modifications (e.g. during weekends). Apparently it must be increased. > 2) Using SVNbootstrapper feature of CC is not feasible, BTI should only update workspace after actual modification is detected; > 3) Significant overhead is added by dependency-handling machinery autogenerated by BTI. In particular, each test adaptor checks parent's SVN repository twice (!): 1st time it uses Veto to possibly yield tests execution in favor of parent, and then obtains list of modifications to include them in test report. 4) Repository layout for HDK is rather complicated, consisting of 5 separate locations. Unfortunately standard CC plugins do not allow to poll them all at once, a sequence of requests to SVN is needed. Neverthless current HDK adaptor is suboptimal, it should be more fine-graned to leverage HDK build peculiarities. > 5) We should consider using HTTP vs HTTPS by default, to save traffic and server load. > [1] http://apache.org/dev/version-control.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.