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 9C232200D3A for ; Wed, 15 Nov 2017 13:23:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9A74E160BEA; Wed, 15 Nov 2017 12:23:56 +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 B80D2160BF4 for ; Wed, 15 Nov 2017 13:23:55 +0100 (CET) Received: (qmail 62012 invoked by uid 500); 15 Nov 2017 12:23:54 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 61679 invoked by uid 99); 15 Nov 2017 12:23:54 -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; Wed, 15 Nov 2017 12:23:54 +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 7AB6D180739 for ; Wed, 15 Nov 2017 12:23:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.8 X-Spam-Level: X-Spam-Status: No, score=-0.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=bw-sw-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id I-wP550IvWGz for ; Wed, 15 Nov 2017 12:23:46 +0000 (UTC) Received: from mail-io0-f170.google.com (mail-io0-f170.google.com [209.85.223.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 899C35F2AD for ; Wed, 15 Nov 2017 12:23:46 +0000 (UTC) Received: by mail-io0-f170.google.com with SMTP id x63so1373141ioe.6 for ; Wed, 15 Nov 2017 04:23:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bw-sw-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Yt2l+8OwI+s7/eEoBW1GOXGZJYkGwBAKMvvUURiF6F4=; b=bSsf1c+GwIdMG1BmR3Ap0m/dxt3dU1bePEUbQTADhMNcpu3wErAkJJ4BuV0PT1RSt7 5Dxf+VHDi7aL/tBCcV9A20EQ+eoV0tRYMimwNneqnTf2knLUambggyRCGgvGIlvsHeKc +zt9QrvyDD5NK5wpNi/p75BMZxx5jFUEej3W96s4Oxg8ndPdp8uElMeYcFHV4zMtVAHD Bj+ynB3nV5AS8rhuzLleM1MWLrstXd2hg2U+V1QS5uYQt5ozA2AS5fMs3lGOgBXltUX8 1Sj35SsYG4ykw5kRRzpXWcT/aJ2YhnI2AOqu19AKxzh+DWW9wopREWh7ZZYp2PBmgO6z UNCw== 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; bh=Yt2l+8OwI+s7/eEoBW1GOXGZJYkGwBAKMvvUURiF6F4=; b=kticvHUJgqK2bD2FIvYli3sqpzIM4rXWY4Ozsy3N5/l4DgRCsYzCSFcl1UkLGZcFKi e1yBHm6RjO++KJ2abLwd0rfRQLtwR1extNdj3/WwSDes343+9k4WhS2M72SBsL8FA67b m4ZbvWLVZKMIC1BZP8f0gOsbdA/y5fEaIVoPgQlNJ4a/EGztKzR2v8aBYatme+2Vdl5m nEVyj+gR8z6KEYy9Xl70urinQrnMU147r3vHeAi5/yOppuuMSNvGDDl+vgE1UWB6u/Nl WtEhpsDGPisVDYB7Kk9hCwtry0ePPv3Esle+EKffROrPkZh84UIzAT+ZXDNMSVsy2iV0 8CfA== X-Gm-Message-State: AJaThX5YtU+2qHtOMxJJrj16f49+GPe0b0CCFwk+WHxwW5YpVy8D8wTT u+gdo8/39MfqkgnBRUYghk5zHEl8r58RfGy2liAu8RLq X-Google-Smtp-Source: AGs4zMYDghlCBzmTY9hxCE21U6o9FenjdbCiW1Jl3UaED+iXs9pYFaFgvYdu5masjMFy0kbafoiYzLk9qWK8BeVWAVw= X-Received: by 10.107.70.6 with SMTP id t6mr749310ioa.72.1510748625679; Wed, 15 Nov 2017 04:23:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.143.4 with HTTP; Wed, 15 Nov 2017 04:23:45 -0800 (PST) Received: by 10.107.143.4 with HTTP; Wed, 15 Nov 2017 04:23:45 -0800 (PST) In-Reply-To: References: From: Ivan Kudryavtsev Date: Wed, 15 Nov 2017 19:23:45 +0700 Message-ID: Subject: Re: Problem compiling ACS 4.10 Source Code To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary="089e082693682dcdf3055e0493f7" archived-at: Wed, 15 Nov 2017 12:23:56 -0000 --089e082693682dcdf3055e0493f7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Great news. I'll cherry pick it in our 4.10 and try to build in the hours when issue happened in my tz to see it fixes the issue. 15 =D0=BD=D0=BE=D1=8F=D0=B1. 2017 =D0=B3. 7:17 =D0=9F=D0=9F =D0=BF=D0=BE=D0= =BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Rafael Weing=C3= =A4rtner" < rafaelweingartner@gmail.com> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > I created a pull request to fix this. > https://github.com/apache/cloudstack/pull/2326 > > On Wed, Nov 15, 2017 at 9:32 AM, Ivan Kudryavtsev < > kudryavtsev_ia@bw-sw.com> > wrote: > > > It should work compiling after 12:00 (at least in my tz). I suppose the > > error could be connected to the regions which timezone changed and > jodatime > > doesn't "know" about it. Unfortunately, I don't remember the exact reas= on > > of bug. But the failing test is of 10 lines length and can be fixed ver= y > > straightly with native Java calendar functions. > > > > 15 =D0=BD=D0=BE=D1=8F=D0=B1. 2017 =D0=B3. 6:28 =D0=9F=D0=9F =D0=BF=D0= =BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Rafael Wei= ng=C3=A4rtner" < > > rafaelweingartner@gmail.com> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB= : > > > > > Thanks Ivan. When I have sometime I will take a look to change that. > > > Semih, for now you can run: > > > > > > mvn clean install -Dmaven.test.skip=3Dtrue > > > > > > > > > On Wed, Nov 15, 2017 at 9:24 AM, Ivan Kudryavtsev < > > > kudryavtsev_ia@bw-sw.com> > > > wrote: > > > > > > > I know the bug, actually. Jodatime related bug. This test fails if > > > > compiling before 12am, and stops fail after. It's really worth > > rewriting. > > > > Our devs shown be the cause, but it's from java6 when time function= s > > were > > > > bad and jodatime required. They suggested rewrite to regular java > from > > > > jodatime. > > > > > > > > > > > > > > > > 15 =D0=BD=D0=BE=D1=8F=D0=B1. 2017 =D0=B3. 6:16 =D0=9F=D0=9F =D0=BF= =D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Rafael = Weing=C3=A4rtner" < > > > > rafaelweingartner@gmail.com> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0= =D0=BB: > > > > > > > > > I checked the code and could not reproduce your error. > > > > > Can you try to build again and see if it happens once more? > > > > > > > > > > On Wed, Nov 15, 2017 at 9:07 AM, Semih Tolga DEM=C4=B0R < > > > > > semihtolgademir@gmail.com> wrote: > > > > > > > > > > > Hi Rafael, > > > > > > > > > > > > I am not a developer but i like compile my own Ubuntu packages > for > > > 4.10 > > > > > > release, this is a standard 4.10 vanilla source code from > > cloudstack > > > > web > > > > > > site. > > > > > > > > > > > > Is there a way to skip this tests? > > > > > > > > > > > > Or how could i check this test case could you give me a clue? > > > > > > > > > > > > Or are there any difference for 4.9 source compile and 4.10 > source > > > > > compile > > > > > > because i could successfully compile 4.9 on this server. > > > > > > > > > > > > Thanks, > > > > > > Tolga > > > > > > > > > > > > 2017-11-15 13:38 GMT+03:00 Rafael Weing=C3=A4rtner < > > > > > rafaelweingartner@gmail.com > > > > > > >: > > > > > > > > > > > > > here is your error: > > > > > > > > [ERROR] Failed to execute goal > > > > > > > org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test > > > > > > (default-test) > > > > > > > on project cloud-plugin-database-quota: There are test > failures. > > > > > > > Then if you roll up, there is: > > > > > > > > org.apache.cloudstack.api.response. > > QuotaResponseBuilderImplTest > > > > > > > > > > > > > > > testStartOfNextDay(org.apache.cloudstack.api.response. > > > > > > > QuotaResponseBuilderImplTest) > > > > > > > Time elapsed: 0.026 sec <<< FAILURE! > > > > > > > > > > > > > > And then: > > > > > > > > Failed tests: > > > > > > > > QuotaResponseBuilderImplTest.testStartOfNextDay:225 null > > > > > > > > > > > > > > Can you check this "test case" and see if it is relying on > > > something > > > > of > > > > > > the > > > > > > > environment, such as using "sleeps" or system calls? > > > > > > > > > > > > > > On Wed, Nov 15, 2017 at 7:00 AM, Semih Tolga DEM=C4=B0R < > > > > > > > semihtolgademir@gmail.com> wrote: > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > You can see more details on this link. > > > > > > > > > > > > > > > > https://jpst.it/17vmL > > > > > > > > > > > > > > > > Thanks, > > > > > > > > Tolga > > > > > > > > > > > > > > > > 2017-11-14 17:50 GMT+03:00 Rafael Weing=C3=A4rtner < > > > > > > > rafaelweingartner@gmail.com > > > > > > > > >: > > > > > > > > > > > > > > > > > Can you share more log entries with us? > > > > > > > > > > > > > > > > > > On Tue, Nov 14, 2017 at 12:45 PM, Semih Tolga DEM=C4=B0R = < > > > > > > > > > semihtolgademir@gmail.com> wrote: > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > > > > > I used source code compile guide for ACS 4.9 to compile > ACS > > > > 4.10 > > > > > > from > > > > > > > > > > source code. I used jdk1.8 and I have a problem. > > > > > > > > > > > > > > > > > > > > Failure results are shown in below. > > > > > > > > > > ... > > > > > > > > > > [INFO] Apache CloudStack Developer Mode > .................. > > > > > SUCCESS > > > > > > > > > [8.158s] > > > > > > > > > > [INFO] Apache CloudStack Developer Tools > ................. > > > > > SUCCESS > > > > > > > > > [1.726s] > > > > > > > > > > [INFO] Apache CloudStack apidocs > ......................... > > > > > FAILURE > > > > > > > > > > [12.202s] > > > > > > > > > > [INFO] Apache CloudStack marvin > .......................... > > > > > SKIPPED > > > > > > > > > > [INFO] Apache CloudStack DevCloud4 > ....................... > > > > > SUCCESS > > > > > > > > > [3.391s] > > > > > > > > > > [INFO] Apache CloudStack DevCloud-KVM > .................... > > > > > SUCCESS > > > > > > > > > [1.643s] > > > > > > > > > > [INFO] > > > > > > > > > > ------------------------------ > > ------------------------------ > > > > > > > > ------------ > > > > > > > > > > [INFO] BUILD FAILURE > > > > > > > > > > [INFO] > > > > > > > > > > ------------------------------ > > ------------------------------ > > > > > > > > ------------ > > > > > > > > > > [INFO] Total time: 22:59.584s (Wall Clock) > > > > > > > > > > [INFO] Finished at: Tue Nov 14 16:49:43 EET 2017 > > > > > > > > > > [INFO] Final Memory: 103M/241M > > > > > > > > > > [INFO] > > > > > > > > > > ------------------------------ > > ------------------------------ > > > > > > > > ------------ > > > > > > > > > > [ERROR] Failed to execute goal > > > > > > > > > > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (compile= ) > > on > > > > > > project > > > > > > > > > > cloud-apidoc: Command execution failed. Process exited > with > > > an > > > > > > > error: 1 > > > > > > > > > > (Exit value: 1) -> [Help 1] > > > > > > > > > > [ERROR] > > > > > > > > > > [ERROR] To see the full stack trace of the errors, re-r= un > > > Maven > > > > > > with > > > > > > > > the > > > > > > > > > -e > > > > > > > > > > switch. > > > > > > > > > > [ERROR] Re-run Maven using the -X switch to enable full > > debug > > > > > > > logging. > > > > > > > > > > [ERROR] > > > > > > > > > > [ERROR] For more information about the errors and > possible > > > > > > solutions, > > > > > > > > > > please read the following articles: > > > > > > > > > > [ERROR] [Help 1] > > > > > > > > > > http://cwiki.apache.org/confluence/display/MAVEN/ > > > > > > > > MojoExecutionException > > > > > > > > > > [ERROR] > > > > > > > > > > [ERROR] After correcting the problems, you can resume t= he > > > build > > > > > > with > > > > > > > > the > > > > > > > > > > command > > > > > > > > > > [ERROR] mvn -rf :cloud-apidoc > > > > > > > > > > make[1]: *** [override_dh_auto_build] Error 1 > > > > > > > > > > make[1]: Leaving directory `/root/apache-cloudstack-4.1= 0. > > > > > 0.0-src' > > > > > > > > > > make: *** [binary] Error 2 > > > > > > > > > > dpkg-buildpackage: error: debian/rules binary gave erro= r > > exit > > > > > > status > > > > > > > 2 > > > > > > > > > > root@ubuntu14045ACS410jdk8:~/apache-cloudstack-4.10.0.0= - > > src# > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > Tolga > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > -- > > > Rafael Weing=C3=A4rtner > > > > > > > > > -- > Rafael Weing=C3=A4rtner > --089e082693682dcdf3055e0493f7--