public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable
@ 2019-03-26 12:52 Petr Vorel
  2019-03-26 12:52 ` [LTP] [PATCH 2/2] travis: Reorder builds to speedup testing Petr Vorel
  2019-03-26 14:39 ` [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable Petr Vorel
  0 siblings, 2 replies; 3+ messages in thread
From: Petr Vorel @ 2019-03-26 12:52 UTC (permalink / raw)
  To: ltp

which failed due missing oldstable-updates repository

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
Hi,

probably nobody cares much about travis, but sending anyway.

There is still one build failure on opensuse/tumbleweed,
should be fixed soon by openSUSE project.

Kind regards,
Petr
---
 travis/debian.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/travis/debian.sh b/travis/debian.sh
index 3918a915f..56c8a08be 100755
--- a/travis/debian.sh
+++ b/travis/debian.sh
@@ -1,7 +1,11 @@
 #!/bin/sh
-# Copyright (c) 2018 Petr Vorel <pvorel@suse.cz>
+# Copyright (c) 2018-2019 Petr Vorel <pvorel@suse.cz>
 set -e
 
+# workaround for missing oldstable-updates repository
+# W: Failed to fetch http://deb.debian.org/debian/dists/oldstable-updates/main/binary-amd64/Packages
+grep -v oldstable-updates /etc/apt/sources.list > /tmp/sources.list && mv /tmp/sources.list /etc/apt/sources.list
+
 apt update
 
 apt install -y --no-install-recommends \
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [LTP] [PATCH 2/2] travis: Reorder builds to speedup testing
  2019-03-26 12:52 [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable Petr Vorel
@ 2019-03-26 12:52 ` Petr Vorel
  2019-03-26 14:39 ` [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable Petr Vorel
  1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2019-03-26 12:52 UTC (permalink / raw)
  To: ltp

Fedora job is slow (12 min vs. ~8 min others), therefore it should be
started earlier (there are 5 jobs running at once, for Fedora we wait
about 3 mins).

Move Centos 6 job up as it's usually the one failing due missing
features (constants etc.) in kernel headers.

Move up openSUSE jobs up, as they're sometimes slow as well.

Reorder Debian oldstable and testing jobs (they were sorted by the OS
release, it's more likely to find a bug in different OS release than
different compiler).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 .travis.yml | 33 +++++++++++++++++++--------------
 1 file changed, 19 insertions(+), 14 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 8c3aa241d..a29551650 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,7 @@ matrix:
         - os: linux
           env: DISTRO=debian:stable VARIANT=cross-compile.ppc64le TREE="out"
           compiler: powerpc64le-linux-gnu-gcc
+
         - os: linux
           env: DISTRO=debian:stable VARIANT=cross-compile.aarch64 TREE="out"
           compiler: aarch64-linux-gnu-gcc
@@ -23,27 +24,22 @@ matrix:
           env: DISTRO=debian:stable VARIANT=minimal TREE="out"
           compiler: clang
 
+        # other builds
         - os: linux
-          env: DISTRO=debian:testing
-          compiler: gcc
-        - os: linux
-          env: DISTRO=debian:testing
+          env: DISTRO=fedora:latest
           compiler: clang
 
         - os: linux
-          env: DISTRO=debian:oldstable
+          env: DISTRO=centos:6 TREE="out"
           compiler: gcc
-        - os: linux
-          env: DISTRO=debian:oldstable
-          compiler: clang
 
         - os: linux
-          env: DISTRO=ubuntu:latest TREE="out"
+          env: DISTRO=debian:testing
           compiler: gcc
 
         - os: linux
-          env: DISTRO=ubuntu:xenial
-          compiler: gcc
+          env: DISTRO=debian:oldstable
+          compiler: clang
 
         - os: linux
           env: DISTRO=opensuse/tumbleweed
@@ -54,14 +50,23 @@ matrix:
           compiler: gcc
 
         - os: linux
-          env: DISTRO=fedora:latest
+          env: DISTRO=debian:oldstable
+          compiler: gcc
+
+        - os: linux
+          env: DISTRO=debian:testing
           compiler: clang
 
         - os: linux
-          env: DISTRO=centos:latest
+          env: DISTRO=ubuntu:latest TREE="out"
           compiler: gcc
+
         - os: linux
-          env: DISTRO=centos:6 TREE="out"
+          env: DISTRO=ubuntu:xenial
+          compiler: gcc
+
+        - os: linux
+          env: DISTRO=centos:latest
           compiler: gcc
 
 before_install:
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable
  2019-03-26 12:52 [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable Petr Vorel
  2019-03-26 12:52 ` [LTP] [PATCH 2/2] travis: Reorder builds to speedup testing Petr Vorel
@ 2019-03-26 14:39 ` Petr Vorel
  1 sibling, 0 replies; 3+ messages in thread
From: Petr Vorel @ 2019-03-26 14:39 UTC (permalink / raw)
  To: ltp

Hi,

> which failed due missing oldstable-updates repository

patchset pushed.


Kind regards,
Petr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-26 14:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26 12:52 [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable Petr Vorel
2019-03-26 12:52 ` [LTP] [PATCH 2/2] travis: Reorder builds to speedup testing Petr Vorel
2019-03-26 14:39 ` [LTP] [PATCH 1/2] travis: Fix testing on debian oldstable Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox