Re: [PATCH] introduce ARM64 travis-ci builds

2020-01-22 Thread Willy Tarreau
On Wed, Jan 22, 2020 at 01:40:43PM +0500,  ??? wrote:
> ??, 22 ???. 2020 ?. ? 10:49, Willy Tarreau :
> 
> > On Sun, Jan 19, 2020 at 12:18:00PM +0500,  ??? wrote:
> > > hello,
> > >
> > > sometimes arm64 builds fails, I think it is good chance to introduce
> > > regular builds
> > > and fix them.
> > >
> > > also, few small improvements.
> >
> 
> 
> occasionely, I introduced "socat" for linux builds. god knows, I only
> wanted socat on osx.
> 
> now we have daily failing openssl-1.0.2:
> 
> https://travis-ci.com/haproxy/haproxy/jobs/278244081
> 
> should I temporarily mark it as "allowed failure" on travis ? (it will be
> fixed in issue #429)

Yes I noticed it and tried to figure what was happening until I figured
it was the known issue. I'd prefer to mark it as "allowed failure" if
possible so that we keep watching travis's output.

Isn't it already the case, given that the icon still says "build|passing" ?
Also given that it's a regtest that fails, maybe we should disable them for
this target temporarily ? The right thing to do should be to tag this regtest
as requiring 1.1.0 but we don't have this level of flexibility yet :-/

Willy



Re: [PATCH] introduce ARM64 travis-ci builds

2020-01-22 Thread Илья Шипицин
ср, 22 янв. 2020 г. в 10:49, Willy Tarreau :

> On Sun, Jan 19, 2020 at 12:18:00PM +0500,  ??? wrote:
> > hello,
> >
> > sometimes arm64 builds fails, I think it is good chance to introduce
> > regular builds
> > and fix them.
> >
> > also, few small improvements.
>


occasionely, I introduced "socat" for linux builds. god knows, I only
wanted socat on osx.

now we have daily failing openssl-1.0.2:

https://travis-ci.com/haproxy/haproxy/jobs/278244081

should I temporarily mark it as "allowed failure" on travis ? (it will be
fixed in issue #429)




>
> Merged, thanks Ilya. Next time, please be stricter and split your
> additions and your small improvements as it can help track down issues
> or do partial reverts.
>
> Willy
>


Re: [PATCH] introduce ARM64 travis-ci builds

2020-01-21 Thread Willy Tarreau
On Sun, Jan 19, 2020 at 12:18:00PM +0500,  ??? wrote:
> hello,
> 
> sometimes arm64 builds fails, I think it is good chance to introduce
> regular builds
> and fix them.
> 
> also, few small improvements.

Merged, thanks Ilya. Next time, please be stricter and split your
additions and your small improvements as it can help track down issues
or do partial reverts.

Willy



Re: [PATCH] introduce ARM64 travis-ci builds

2020-01-20 Thread Martin Grigorov
Thank you, Илья!

On Sun, Jan 19, 2020 at 9:20 AM Илья Шипицин  wrote:

> hello,
>
> sometimes arm64 builds fails, I think it is good chance to introduce
> regular builds
> and fix them.
>
> also, few small improvements.
>
> cheers,
> Ilya Shipicin
>


[PATCH] introduce ARM64 travis-ci builds

2020-01-18 Thread Илья Шипицин
hello,

sometimes arm64 builds fails, I think it is good chance to introduce
regular builds
and fix them.

also, few small improvements.

cheers,
Ilya Shipicin
From e13a8d0e0e324c49f6a34d74b889a1c3fae6b6d9 Mon Sep 17 00:00:00 2001
From: Ilya Shipitsin 
Date: Sun, 19 Jan 2020 12:14:02 +0500
Subject: [PATCH] BUILD: CI: introduce ARM64 builds

also several small changes:

openssl-1.0.2 upgraded to 1.0.2u
ppc64le upgraded to "bionic" (it was tricky part, linux-ppc64le is xenial,
while arch: ppc64le is bionic).
additional wait introduced for build ssl.
---
 .travis.yml | 19 +++
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index e69f44166..9046e6dcd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,11 @@ env:
 
 addons:
   apt:
-packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev ]
+update: true
+packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, socat ]
+  homebrew:
+update: true
+packages: [ socat ]
 
 cache:
   directories:
@@ -29,11 +33,18 @@ cache:
 
 matrix:
   include:
-  - os: linux-ppc64le
+  - os: linux
+arch: ppc64le
 if: type == cron
 compiler: gcc
-env: TARGET=linux-glibc OPENSSL_VERSION=1.0.2t LABEL="linux-ppc64le"
+env: TARGET=linux-glibc OPENSSL_VERSION=1.0.2u
+  - os: linux
+arch: amd64
+if: type != cron
+compiler: clang
+env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d
   - os: linux
+arch: arm64
 if: type != cron
 compiler: clang
 env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1d
@@ -93,7 +104,7 @@ install:
   - git clone https://github.com/VTest/VTest.git ../vtest
   # Special flags due to: https://github.com/vtest/VTest/issues/12
   - make -C ../vtest FLAGS="-O2 -s -Wall"
-  - scripts/build-ssl.sh > build-ssl.log 2>&1 || (cat build-ssl.log && exit 1)
+  - travis_wait scripts/build-ssl.sh > build-ssl.log 2>&1 || (cat build-ssl.log && exit 1)
 
 script:
   - if [ "$CC"  = "clang" ]; then export FLAGS="$FLAGS USE_OBSOLETE_LINKER=1" DEBUG_CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address"; fi
-- 
2.24.1