Project

General

Profile

Feature #4727

Add more distro/platform/archs to jenkins CI

Added by pespin 5 months ago. Updated 2 months ago.

Status:
Stalled
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/25/2020
Due date:
% Done:

60%

Spec Reference:

Description

Currently we rely on OBS to run unit test software on several architectures/distributions/versions. However, OBS hosts lack some features which means we need to disable them when we run there (such as socket_sctp_test), and hence only get tested mostly only in x86_64 on one debian version.

That means we don't test such features in ARM, or in Ubuntu or CentOS, or debian unstable.

History

#1 Updated by laforge 2 months ago

  • Assignee set to laforge

I think we should run related tests as part of the 'master' tests, or as separate tests that run (at most) once per day. Exploding our configuration matrix for gerrit review is going to slow down our development process too much.

So I would say:
  • Add one i586 target to the gerrit job (or switch one of the existing targets from amd64 to i586)
  • execute "make distcheck" at least on one arm (e.g. our "Debian9-rpi4build) and on CentOS8/amd64

I'll start by looking at creating a few related build slaves.

#2 Updated by laforge 2 months ago

  • % Done changed from 0 to 10

One interestign problem just occurred: docker-ce doens't have any publicly available builds for 32bit x86.

N: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'https://download.docker.com/linux/debian buster InRelease' doesn't support architecture 'i386'

So we cannot have a debian9/debian10 lxc in i386 which then runs all our docker based tests.

Somebody seemed to have an old patch to be able to build docker on i386: https://github.com/mforkel/docker-ce-i386 - but we don't really want to maintain our own docker builds, do we?

#3 Updated by laforge 2 months ago

  • Status changed from New to In Progress
  • % Done changed from 10 to 30

I switched to the debian-supplied docker.io package for now.

Next problem was that we don't have binary packages libfftranscode for anything but amd64.

There also were a variety of limitations in our ansible playbook, but I'm happy to report that I now have successfully deployed "setup-jenkins-slave.yml" on a Debian10 i586.

#4 Updated by laforge 2 months ago

  • % Done changed from 30 to 60

With https://gerrit.osmocom.org/c/docker-playground/+/21156 and https://gerrit.osmocom.org/c/docker-playground/+/21155 merged, I can actually run entire dockerized test suites on an i586 Debian10 lxc now, just like we can on amd64.

I know that's not exactly what this ticket is about, but I wanted to keep our amd64 and i586 setups as similar as possible.

#5 Updated by laforge 2 months ago

  • Status changed from In Progress to Stalled

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)