From dev-return-112188-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Tue Nov 20 00:09:57 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 64052180671 for ; Tue, 20 Nov 2018 00:09:56 +0100 (CET) Received: (qmail 57304 invoked by uid 500); 19 Nov 2018 23:09:55 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 57291 invoked by uid 99); 19 Nov 2018 23:09:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2018 23:09:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2F2E1CF5C4 for ; Mon, 19 Nov 2018 23:09:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.339 X-Spam-Level: X-Spam-Status: No, score=0.339 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 3YcPpsAXSqYw for ; Mon, 19 Nov 2018 23:09:52 +0000 (UTC) Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B24275F563 for ; Mon, 19 Nov 2018 23:09:51 +0000 (UTC) Received: by mail-ed1-f66.google.com with SMTP id o10so285683edt.13 for ; Mon, 19 Nov 2018 15:09:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pF8LnxKAOefeMse5B/K4pyPLJLfSlyPP9hclQfxy9rs=; b=vRRoD2bfUNnr7nU3D6Np4PcW3fu77Uj3tVLrVsAYaSQrO2amZzufYWqHhAjvUPDNDl 2bZIuiTrFPCiGIdEuNM7xrMKRhEi41LnOUb6Uc3qCxBqA15xGM/eKzKRUA8RK/OHBmlb SlhTUxlHLbqdF8mANhUoXC2aZRpLro8DLupJwyl3UQ1aL/LP73/TyF8v4uqNdax44Ink FymJkMwJGIzsrli0irZkg0wkvgyr9xwcLI6cnrtOmPfsLWXco8nkhUU9k+KFv/qp6ZXJ rTY85RkTiacsd1Ahf0Azj/BthqZSy4d15EFvG28DKpZBdWOg+19RgL+lfPpJgneCvLDk xpQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pF8LnxKAOefeMse5B/K4pyPLJLfSlyPP9hclQfxy9rs=; b=YWqVjKtdqDx4y3Kj3PGxpMt2qu1NFNBuPFLEGs88QWMBXFhM5bSyJ12yKQU2qhczDe /bFkgIw8V87ObS8yDtM3Wn0JPHt0Nj+xms1uzvK9KkCUBV3m4g6DXZusKPvBA+NXUubR 75CnJWF2uh6pwW+wUWezV/8uR1/oIqnr8eJnk7Q9WInrjlwTF4+5mlI09WhrY7igY4R7 jyPkHoWyCvgIVnO1F7NDqW7C5q1Bu6f/Jb/SGlFUUAzhbJExhAVepvpWFOouRd8/+trE 7xGZXkDr2hLH68Ae5kxoFJLKGAow3Yp0RuSmflVR1WETSCSd2GpuzBHyoUCpAhVn7dxF f0BA== X-Gm-Message-State: AGRZ1gL2EvobauilWuz7xrY0hS78CBWIAdYMJn9FdH1nLtWqTimRuEOj shR888L3fBwzm+FEayhL78w0aA05qhByVgfDN6JP6XS6 X-Google-Smtp-Source: AJdET5eO+kRoCFKxS6tAu51psV8TiM9+GCDwS/p6NelGgruMIWBthdDOAHCHZxEgWanKzlJxqS3PobfJklEbLcD3kzM= X-Received: by 2002:a17:906:78c1:: with SMTP id r1-v6mr73622ejn.150.1542668983611; Mon, 19 Nov 2018 15:09:43 -0800 (PST) MIME-Version: 1.0 References: <01366618-9c7a-cd8d-3a6b-6ece8333eb22@widodh.nl> In-Reply-To: From: Andrija Panic Date: Tue, 20 Nov 2018 00:09:27 +0100 Message-ID: Subject: Re: CloudStack master and 4.11.2 RC5 build issues To: dev Cc: Paul Angus Content-Type: multipart/alternative; boundary="000000000000c635bc057b0c9c16" --000000000000c635bc057b0c9c16 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable For the records, building on this setup (ubuntu 18.04) fails with Java 10 - has to be v8... On Mon, 19 Nov 2018 at 16:36, Andrija Panic wrote= : > works - compiled just fine ! > > Thx Rohit, will make note for Ubuntu on the compile from soure page. > > > On Mon, 19 Nov 2018 at 15:32, Andrija Panic > wrote: > >> gmail is lagging with displaying emails or something... >> >> preliminary info - it works ! (at least no error yet) >> Will keep you posted. >> >> If this works, I will update the install page.docs for ACS building >> >> >> >> Thx ! >> >> On Mon, 19 Nov 2018 at 14:48, Rohit Yadav >> wrote: >> >>> Hi Andrija, >>> >>> Can you try to install this and see if it makes any difference : (note >>> on 18.04 server you'll need to enable the universe deb repo which is no >>> longer enabled by default) >>> >>> https://packages.ubuntu.com/bionic/python-mysql.connector >>> >>> Regards. >>> ________________________________ >>> From: Andrija Panic >>> Sent: Monday, November 19, 2018 6:10:14 PM >>> To: dev >>> Cc: Paul Angus >>> Subject: Re: CloudStack master and 4.11.2 RC5 build issues >>> >>> Thx Rohit ! >>> >>> Silly question - did you actually try to compile on clean Ubuntu 18.04 = ? >>> - solution works for surefire bug (thx!) - but interested in build on >>> 18.04 >>> which fails for me. >>> >>> Problem: >>> - default python version is 3 in Ubuntu 18.04, python 2.7 not install= ed >>> by default, but... >>> >>> - if installing latest connector for py3 ( >>> >>> https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-py= thon-py3_8.0.13-1ubuntu18.04_all.deb >>> ) >>> then later trying to build packages fails with missing python-setuptool= s >>> (though v3 installed) and also still reports mysql-connector-python not >>> installed >>> - if I install python2.7 and the mysql-connector-python for p2.7 ( >>> >>> https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-py= thon_8.0.13-1ubuntu18.04_all.deb >>> ) >>> - then it still fails with same message "Unmet build dependencies: >>> python-mysql.connector" >>> >>> Any thoughts, perhaps I'm doing something wrong? I didn't have issues >>> building RC3-4 on Ubuntu 16 some weeks age... (never tried so far on >>> 18.04) >>> >>> Andrija >>> >>> >>> rohit.yadav@shapeblue.com >>> www.shapeblue.com >>> Amadeus House, Floral Street, London WC2E 9DPUK >>> @shapeblue >>> >>> >>> >>> On Mon, 19 Nov 2018 at 11:44, Rohit Yadav >>> wrote: >>> >>> > Wido and all, >>> > >>> > >>> > I could replicate this error and found a fix. The issue affects mostl= y >>> > debian users using jdk1.8 181+build. I could replicate this with >>> oracle's >>> > jdk8 as well. >>> > >>> > >>> > The easiest workaround is to use this in mvn build command: >>> > -Djdk.net.URLClassPath.disableClassPathURLCheck=3Dtrue >>> > >>> > >>> > You may find more details on surefire project bug: >>> > https://issues.apache.org/jira/browse/SUREFIRE-1588 >>> > >>> > >>> > PR: https://github.com/apache/cloudstack/pull/3038/files >>> > >>> > >>> > - Rohit >>> > >>> > >>> > >>> > >>> > >>> > ________________________________ >>> > From: Wido den Hollander >>> > Sent: Monday, November 19, 2018 2:35:13 PM >>> > To: Paul Angus; dev@cloudstack.apache.org >>> > Subject: Re: CloudStack master and 4.11.2 RC5 build issues >>> > >>> > >>> > >>> > On 11/19/18 10:03 AM, Paul Angus wrote: >>> > > Wido, are you planning on building and testing RC5 today? I'll hol= d >>> off >>> > on a result with my vote if you are. >>> > > >>> > >>> > I am, but I can't seem to build RC5 and test it, so that would make i= t >>> > hard to verify the release. >>> > >>> > Wido >>> > >>> > > >>> > > Kind regards, >>> > > >>> > > Paul Angus >>> > > >>> > > paul.angus@shapeblue.com >>> > > www.shapeblue.com >>> > > Amadeus House, Floral Street, London WC2E 9DPUK >>> > > @shapeblue >>> > > >>> > > >>> > > >>> > > >>> > > -----Original Message----- >>> > > From: Rohit Yadav >>> > > Sent: 19 November 2018 00:51 >>> > > To: dev@cloudstack.apache.org >>> > > Subject: Re: CloudStack master and 4.11.2 RC5 build issues >>> > > >>> > > Hi Wido, >>> > > >>> > > Can you share the output using jdk8 by running the mvn command with >>> -e >>> > and -X (you'll need to add that in some file in the debian directory = or >>> > sinply do a mvn based build with those flags)? Alternatively, you may >>> also >>> > skip tests using - DskipTests to get around the issue. Looks like it >>> > started happening recently in 18.04 (I'm able to reproduce as well). >>> > > >>> > > Regards, >>> > > Rohit Yadav >>> > > >>> > > ________________________________ >>> > > From: Wido den Hollander >>> > > Sent: Monday, November 19, 2018 12:26:47 AM >>> > > To: dev@cloudstack.apache.org >>> > > Subject: CloudStack master and 4.11.2 RC5 build issues >>> > > >>> > > Hi, >>> > > >>> > > Trying to build master using this command it fails: >>> > > >>> > > $ dpkg-buildpackage -us -uc -b >>> > > >>> > > I get this error: >>> > > >>> > > [INFO] >>> > > >>> -----------------------------------------------------------------------= - >>> > > [INFO] BUILD FAILURE >>> > > [INFO] >>> > > >>> -----------------------------------------------------------------------= - >>> > > [INFO] Total time: 7.282 s >>> > > [INFO] Finished at: 2018-11-18T19:55:10+01:00 [INFO] Final Memory: >>> > 50M/174M [INFO] >>> > > >>> -----------------------------------------------------------------------= - >>> > > [ERROR] Failed to execute goal >>> > > org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test >>> > > (default-test) on project cloud-framework-managed-context: Executio= n >>> > default-test of goal >>> > org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: Th= e >>> > forked VM terminated without properly saying goodbye. VM crash or >>> > System.exit called? >>> > > [ERROR] Command was /bin/sh -c cd >>> > > >>> > >>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-con= text >>> > > && /usr/lib/jvm/java-11-openjdk-amd64/bin/java >>> > > -Djava.security.egd=3Dfile:/dev/./urandom -noverify -jar >>> > >>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-con= text/target/surefire/surefirebooter4935588302032993476.jar >>> > > >>> > >>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-con= text/target/surefire/surefire7506593539939542941tmp >>> > > >>> > >>> /home/wido/Desktop/apache-cloudstack-4.11.2.0-src/framework/managed-con= text/target/surefire/surefire_010482278773157415685tmp >>> > > [ERROR] -> [Help 1] >>> > > >>> > > I tried both Java 8 and 11 JDK from Ubuntu 18.04, but in both cases >>> it >>> > fails. >>> > > >>> > > wido@wido-laptop:~$ java -version >>> > > openjdk version "10.0.2" 2018-07-17 >>> > > OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.= 3) >>> > > OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, >>> mixed >>> > > mode) >>> > > wido@wido-laptop:~$ >>> > > >>> > > Have other people seen this? >>> > > >>> > > Wido >>> > > >>> > > rohit.yadav@shapeblue.com >>> > > www.shapeblue.com >>> > > Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue >>> > > >>> > > >>> > > >>> > >>> > rohit.yadav@shapeblue.com >>> > www.shapeblue.com >>> > Amadeus House, Floral Street, London WC2E 9DPUK >>> > @shapeblue >>> > >>> > >>> > >>> > >>> >>> -- >>> >>> Andrija Pani=C4=87 >>> >> >> >> -- >> >> Andrija Pani=C4=87 >> > > > -- > > Andrija Pani=C4=87 > --=20 Andrija Pani=C4=87 --000000000000c635bc057b0c9c16--