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 33FFE200D0A for ; Wed, 20 Sep 2017 00:26:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3242C1609E0; Tue, 19 Sep 2017 22:26:10 +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 4DA2C1609DD for ; Wed, 20 Sep 2017 00:26:09 +0200 (CEST) Received: (qmail 35529 invoked by uid 500); 19 Sep 2017 22:26:08 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 35511 invoked by uid 99); 19 Sep 2017 22:26:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2017 22:26:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9126E18B0E8 for ; Tue, 19 Sep 2017 22:26:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 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_H2=-2.8, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=cloudera.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id X8ZilAGDnEnW for ; Tue, 19 Sep 2017 22:26:06 +0000 (UTC) Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 97D705F3DA for ; Tue, 19 Sep 2017 22:26:05 +0000 (UTC) Received: by mail-qk0-f172.google.com with SMTP id b23so1110636qkg.1 for ; Tue, 19 Sep 2017 15:26:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudera.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=zEkRapTYFwK6+Ouof4DBeqQr4zNXKHO9LdYdjgUgt0w=; b=SJJsk5WZJjUBET0PZ+TygO9w4uu085Jin+xQfnk9AXU2KcN0qliv+HNaRCzRjo1cde O7bhFSXNMgp8bbH3JD975gLyGf/VEthBNsK3PNU0gKfGfUfptmUPmIxK9ddCTeBiVBdq zHNaR7aGPWMchAvUWkZTnzIMy1cY1XyVLwMXHtTdZaM7VqBzw4xB5q2mXgTDZyDSG8GB pUBzkhca/0M70RFD5cCz7ZkQK/cSyDSAD2ki5VM12YYqvOQOrHjkqm5TY5bJ+rlF3PMj C6Joacsi1q+oH+Bss1wrx3i8FgXsnTBXwiR5WpU9UIRryndSnZV7kx3I6KnVUj0oxoLE N2nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=zEkRapTYFwK6+Ouof4DBeqQr4zNXKHO9LdYdjgUgt0w=; b=lHnpX7J3DC9aB1rMy0ayixmuBEmkjj8hiZY8WFeC3MZ+aABVpOvh/KHZ72K9jqcigR 2M5RifYaV4ENQgr6dLVkYv+hDJF3h7UT7GCwAd/NV3h+sWLTeYsiZtrVTqwEhaz8p7ee hQeVhr5vFUIhQ6YD+m8LffH4XyPvd/GygsH5dI7xiv/LZMmqCRW6TelYpf6RavW2VQ9g foEt1Pix/a0rmOTsSIeX9uJOMXty5tJ56htopJ7AIaHdpC3uG0ipjZT65Akh2mEmx1yy VV9VLo5FV42d14QfwGsKsqTEcvB5H5aKltePz7I6qqjIuBwJjo3e9L6dVObI9wfL2xxe ym5A== X-Gm-Message-State: AHPjjUhFvLi54h5zcx494N0K6w+1VET9OB+8Ik4o8o5Az+sIdr2d+5CL BawPSRV1aMvlzcRMQeDmwsfS/20rDBpKwJjRmVNQD60w X-Google-Smtp-Source: AOwi7QCvhf+pv896ePna6nyWqyLXjomcZ/LJQQk9gG/ViytMVdVSgTuZeGXI//5l71umm+a7nakSx7tpMHxAEDXUNWk= X-Received: by 10.55.188.131 with SMTP id m125mr4424252qkf.12.1505859963800; Tue, 19 Sep 2017 15:26:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.156.74 with HTTP; Tue, 19 Sep 2017 15:25:43 -0700 (PDT) In-Reply-To: References: From: Matthew Jacobs Date: Tue, 19 Sep 2017 15:25:43 -0700 Message-ID: Subject: Re: jenkins.impala.io pre-existing workspace To: dev@impala.incubator.apache.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable archived-at: Tue, 19 Sep 2017 22:26:10 -0000 https://issues.apache.org/jira/browse/IMPALA-5959 On Tue, Sep 19, 2017 at 2:54 PM, Jim Apple wrote: > Nobody did. > > On Tue, Sep 19, 2017 at 2:29 PM, Matthew Jacobs wrote: > >> Did anyone file a JIRA for this? I saw this again. >> >> On Thu, Aug 31, 2017 at 1:36 PM, Jim Apple wrote: >> > Also, to be clear, I don't have the cycles to lead the fix-the-cleanup >> > task at the moment. >> > >> > On Wed, Aug 30, 2017 at 4:45 PM, Jim Apple wrot= e: >> >> The workspace cleanup isn't working - see the last bit of any recent >> >> ub1604 job: https://jenkins.impala.io/view/Utility/job/ubuntu-16.04- >> from-scratch/206/console >> >> >> >> 03:56:40.920 [WS-CLEANUP] Deleting project workspace...Cannot delete >> >> workspace :remote file operation failed: /home/ubuntu at >> >> hudson.remoting.Channel@4384d5b9:ubuntu-16.04 (i-032d527b9c801df4c): >> >> java.io.IOException: Unable to delete '/home/ubuntu'. Tried 3 times >> >> (of a maximum of 3) waiting 0.1 sec between attempts. >> >> 03:56:48.161 ERROR: Step =E2=80=98Delete workspace when build is done= =E2=80=99 failed: >> >> Cannot delete workspace: remote file operation failed: /home/ubuntu a= t >> >> hudson.remoting.Channel@4384d5b9:ubuntu-16.04 (i-032d527b9c801df4c): >> >> java.io.IOException: Unable to delete '/home/ubuntu'. Tried 3 times >> >> (of a maximum of 3) waiting 0.1 sec between attempts. >> >> >> >> The workspace is $HOME, so you can't just delete it without being roo= t. >> >> >> >> This could be changed to >> >> >> >> 1. A post-build script to "rm -rf ~/*". This doesn't reset everything= , >> >> though - the job makes changes to other parts of the filesystem. >> >> >> >> 2. A post-build script to "sudo shutdown -h now" to make sure ec2 >> >> instances are not re-used. I'm not sure how Jenkins would feel about >> >> this. :-) >> >> >> >> 3. A post-build script to move $HOME to some archived location on the >> >> disk, to preserve debuggability. >> >> >> >> 4. A bash trap in the script to do one of the above. >> >> >> >> 5. Run the whole thing in a docker in the build machine, then delete >> >> the container when the script is done. Or don't, if there's enough >> >> disk space to not worry about that. >> >> >> >> 6. Do all of the work in a workspace inside $HOME. This would require >> >> some changes to bootstrap_development.sh. >> >> >> >> #5 is the most hermetic, I'd guess. >> >> >> >> On Thu, Aug 24, 2017 at 8:29 AM, Michael Brown >> wrote: >> >>> Looks like someone has done this. >> >>> >> >>> On Wed, Aug 23, 2017 at 8:16 PM, Alexander Behm < >> alex.behm@cloudera.com> >> >>> wrote: >> >>> >> >>>> Yes, let's please add the post-build action for sanity and >> consistency with >> >>>> our other jobs. >> >>>> >> >>>> On Wed, Aug 23, 2017 at 7:42 PM, Tim Armstrong < >> tarmstrong@cloudera.com> >> >>>> wrote: >> >>>> >> >>>> > Maybe the workspace just got left in a weird state - I think in m= ost >> >>>> cases >> >>>> > "git init" followed by checking out a branch and doing a clean wo= uld >> >>>> work. >> >>>> > >> >>>> > Should we add the delete workspace post-build action? >> >>>> > >> >>>> > On Wed, Aug 23, 2017 at 5:32 PM, Michael Brown >> >>>> wrote: >> >>>> > >> >>>> > > Not a known issue. I noticed ubuntu-16.04-from-scratch is not s= et >> to >> >>>> > clean >> >>>> > > up its workspace, and its config has not been touched since Aug >> 11. It >> >>>> > > seems strange we only saw this now.... >> >>>> > > >> >>>> > > On Wed, Aug 23, 2017 at 5:25 PM, Tim Armstrong < >> >>>> tarmstrong@cloudera.com> >> >>>> > > wrote: >> >>>> > > >> >>>> > > > Is this a known problem? My job failed because the Impala rep= o >> >>>> already >> >>>> > > > existed on the machine: >> >>>> > > > >> >>>> > > > https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/164/ >> >>>> > > > >> >>>> > > > *23:00:24* + /usr/bin/git init /home/ubuntu/Impala*23:00:24* >> >>>> > > > Reinitialized existing Git repository in >> /home/ubuntu/Impala/.git/ >> >>>> > > > .... >> >>>> > > > *23:02:18* + for ITER in '$(seq 1 10)'*23:02:18* + echo >> 'ATTEMPT: >> >>>> > > > 1'*23:02:18* ATTEMPT: 1*23:02:18* + /usr/bin/git checkout >> >>>> > > > FETCH_HEAD*23:02:18* + cat >> >>>> > > > /home/ubuntu/Impala/tmp.3tYBn0GUga*23:02:18* 23:02:18.712300 >> >>>> git.c:344 >> >>>> > > > trace: built-in: git 'checkout' >> 'FETCH_HEAD'*23:02:18* >> >>>> > > > error: The following untracked working tree files would be >> >>>> overwritten >> >>>> > > > by checkout:*23:02:18* .clang-format*23:02:18* >> >>>> > > > .clang-tidy*23:02:18* >> >>>> > > > .gitignore*23:02:18* CMakeLists.txt*23:02:18* >> >>>> > > > DISCLAIMER*23:02:18* >> >>>> > > > EXPORT_CONTROL.md*23:02:18* LICENSE.txt*23:02:18* >> >>>> > > > LOGS.md*23:02:18* >> >>>> > > > NOTICE.txt*23:02:18* README.md*23:02:18* >> >>>> > > > be/.gitignore*23:02:18* >> >>>> > > > be/.impala.doxy*23:02:18* >> be/CMakeLists.txt*23:02:18* >> >>>> > > > be/src/benchmarks/CMakeLists.txt*23:02:18* >> >>>> > > > be/src/benchmarks/atod-benchmark.cc*23:02:18* >> >>>> > > > be/src/benchmarks/atof-benchmark.cc*23:02:18* >> >>>> > > > be/src/benchmarks/atoi-benchmark.cc*23:02:18* >> >>>> > > > be/src/benchmarks/bit-packing-benchmark.cc*23:02:18* >> >>>> > > > be/src/benchmarks/bitmap-benchmark.cc >> >>>> > > > ... >> >>>> > > > >> >>>> > > >> >>>> > >> >>>> >>