|
|
|
---
|
|
|
|
- project:
|
|
|
|
name: 'ttcn3-testsuites'
|
|
|
|
concurrent: false
|
|
|
|
disabled: false
|
|
|
|
description: |
|
|
|
|
Run the a testsuite from
|
|
|
|
<a href="https://gitea.osmocom.org/osmocom/docker-playground">
|
|
|
|
docker-playground.git</a>.<br>
|
|
|
|
If this job ends in <code>-latest</code>, the job runs the latest
|
|
|
|
stable versions of the Osmocom stack. Otherwise the nightly builds.<br>
|
|
|
|
See <a href="https://osmocom.org/projects/cellular-infrastructure/wiki/Titan_TTCN3_Testsuites">
|
|
|
|
TTCN3 Testsuite</a> for more information.
|
|
|
|
timer: "@midnight"
|
|
|
|
node: ttcn3
|
|
|
|
wipe_workspace: true
|
|
|
|
jobs:
|
|
|
|
- "{job-name}"
|
|
|
|
# Folders from docker-playground.git
|
|
|
|
job-name:
|
|
|
|
# debian nightly - order by time
|
|
|
|
- nplab-m3ua-test:
|
|
|
|
timer: 10 03 * * *
|
|
|
|
- nplab-sua-test:
|
|
|
|
timer: 15 03 * * *
|
|
|
|
- ttcn3-ggsn-test:
|
|
|
|
timer: 00 04 * * *
|
|
|
|
- ttcn3-ggsn-test-kernel:
|
|
|
|
timer: 10 04 * * *
|
|
|
|
description: |
|
|
|
|
Test osmo-ggsn master with the Debian kernel.
|
|
|
|
- ttcn3-ggsn-test-kernel-latest:
|
|
|
|
timer: 20 04 * * *
|
|
|
|
description: |
|
|
|
|
Test osmo-ggsn latest with the Debian kernel.
|
|
|
|
- ttcn3-ggsn-test-kernel-latest-net-next:
|
|
|
|
timer: 25 04 * * *
|
|
|
|
# Cache the linux source tree in the workspace of one node
|
|
|
|
wipe_workspace: false
|
|
|
|
node: ttcn3-ggsn-test-kernel-git
|
|
|
|
description: |
|
|
|
|
Test osmo-ggsn latest with the Linux kernel built from master of
|
|
|
|
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/">
|
|
|
|
net-next.git</a>.
|
|
|
|
- ttcn3-ggsn-test-kernel-latest-torvalds:
|
|
|
|
timer: 30 04 * * *
|
|
|
|
# Cache the linux source tree in the workspace of one node
|
|
|
|
wipe_workspace: false
|
|
|
|
node: ttcn3-ggsn-test-kernel-git
|
|
|
|
description: |
|
|
|
|
Test osmo-ggsn latest with the Linux kernel built from master of
|
|
|
|
<a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/">
|
|
|
|
torvalds/linux.git</a>.
|
|
|
|
- ttcn3-ggsn-test-ogs:
|
|
|
|
timer: 35 04 * * *
|
|
|
|
description: |
|
|
|
|
Test open5gs-smfd + open5gs-upfd main.
|
|
|
|
email: jenkins-notifications@lists.osmocom.org acetcom@gmail.com
|
|
|
|
- ttcn3-msc-test:
|
|
|
|
timer: 40 04 * * *
|
|
|
|
- ttcn3-pcu-test:
|
|
|
|
timer: 00 05 * * *
|
|
|
|
- ttcn3-pcu-test-sns:
|
|
|
|
timer: 15 05 * * *
|
|
|
|
- ttcn3-sgsn-test:
|
|
|
|
timer: 30 05 * * *
|
|
|
|
- ttcn3-bsc-test:
|
|
|
|
timer: 00 06 * * *
|
|
|
|
- ttcn3-mgw-test:
|
|
|
|
timer: 30 06 * * *
|
|
|
|
- ttcn3-hlr-test:
|
|
|
|
timer: 45 06 * * *
|
|
|
|
- ttcn3-bts-test:
|
|
|
|
timer: 00 07 * * *
|
|
|
|
- ttcn3-sip-test:
|
|
|
|
timer: 30 07 * * *
|
|
|
|
- ttcn3-bscnat-test:
|
|
|
|
timer: 00 08 * * *
|
|
|
|
disabled: true
|
|
|
|
- ttcn3-bsc-test-sccplite:
|
|
|
|
timer: 30 08 * * *
|
|
|
|
- ttcn3-remsim-test:
|
|
|
|
timer: 00 09 * * *
|
|
|
|
- ttcn3-stp-test:
|
|
|
|
timer: 30 09 * * *
|
|
|
|
- ttcn3-sccp-test:
|
|
|
|
timer: 00 10 * * *
|
|
|
|
- ttcn3-smlc-test:
|
|
|
|
timer: 10 10 * * *
|
|
|
|
- ttcn3-gbproxy-test:
|
|
|
|
timer: 20 10 * * *
|
|
|
|
- ttcn3-gbproxy-test-fr:
|
|
|
|
timer: 30 10 * * *
|
|
|
|
node: hdlc
|
|
|
|
- ttcn3-cbc-test:
|
|
|
|
timer: 40 10 * * *
|
|
|
|
- ttcn3-ns-test:
|
|
|
|
timer: 00 11 * * *
|
|
|
|
- ttcn3-ns-test-sns:
|
|
|
|
timer: 10 11 * * *
|
|
|
|
- ttcn3-ns-test-fr:
|
|
|
|
timer: 20 11 * * *
|
|
|
|
node: hdlc
|
|
|
|
- ttcn3-ns-test-sgsn-sns:
|
|
|
|
timer: 30 11 * * *
|
|
|
|
- ttcn3-pcap-client-test:
|
|
|
|
timer: 40 11 * * *
|
|
|
|
- ttcn3-bsc-test-vamos:
|
|
|
|
timer: 00 12 * * *
|
|
|
|
- ttcn3-hnodeb-test:
|
|
|
|
timer: 40 12 * * *
|
|
|
|
- ttcn3-upf-test:
|
|
|
|
timer: 00 13 * * *
|
|
|
|
- ttcn3-hnbgw-test:
|
|
|
|
timer: 40 13 * * *
|
|
|
|
- ttcn3-fr-test:
|
|
|
|
timer: 40 10 * * *
|
|
|
|
node: hdlc
|
|
|
|
- ttcn3-pgw-test:
|
|
|
|
timer: 00 14 * * *
|
|
|
|
description: |
|
|
|
|
Test open5gs-smfd + open5gs-upfd PGW main.
|
|
|
|
email: jenkins-notifications@lists.osmocom.org acetcom@gmail.com
|
|
|
|
|
|
|
|
# debian latest stable
|
|
|
|
- nplab-m3ua-test-latest:
|
|
|
|
timer: 10 03 * * *
|
|
|
|
- nplab-sua-test-latest:
|
|
|
|
timer: 15 03 * * *
|
|
|
|
- ttcn3-ggsn-test-latest:
|
|
|
|
timer: 00 04 * * *
|
|
|
|
- ttcn3-msc-test-latest:
|
|
|
|
timer: 30 04 * * *
|
|
|
|
- ttcn3-pcu-test-latest:
|
|
|
|
timer: 00 05 * * *
|
|
|
|
- ttcn3-pcu-test-sns-latest:
|
|
|
|
timer: 15 05 * * *
|
|
|
|
- ttcn3-sgsn-test-latest:
|
|
|
|
timer: 30 05 * * *
|
|
|
|
- ttcn3-bsc-test-latest:
|
|
|
|
timer: 00 06 * * *
|
|
|
|
- ttcn3-mgw-test-latest:
|
|
|
|
timer: 30 06 * * *
|
|
|
|
- ttcn3-hlr-test-latest:
|
|
|
|
timer: 45 06 * * *
|
|
|
|
- ttcn3-bts-test-latest:
|
|
|
|
timer: 00 07 * * *
|
|
|
|
- ttcn3-sip-test-latest:
|
|
|
|
timer: 30 07 * * *
|
|
|
|
- ttcn3-bscnat-test-latest:
|
|
|
|
timer: 00 08 * * *
|
|
|
|
disabled: true
|
|
|
|
- ttcn3-bsc-test-sccplite-latest:
|
|
|
|
timer: 30 08 * * *
|
|
|
|
- ttcn3-remsim-test-latest:
|
|
|
|
timer: 00 09 * * *
|
|
|
|
- ttcn3-stp-test-latest:
|
|
|
|
timer: 30 09 * * *
|
|
|
|
- ttcn3-sccp-test-latest:
|
|
|
|
timer: 00 10 * * *
|
|
|
|
- ttcn3-smlc-test-latest:
|
|
|
|
timer: 10 10 * * *
|
|
|
|
- ttcn3-gbproxy-test-latest:
|
|
|
|
timer: 20 10 * * *
|
|
|
|
- ttcn3-gbproxy-test-fr-latest:
|
|
|
|
timer: 30 10 * * *
|
|
|
|
node: hdlc
|
|
|
|
- ttcn3-cbc-test-latest:
|
|
|
|
timer: 40 10 * * *
|
|
|
|
- ttcn3-pcap-client-test-latest:
|
|
|
|
timer: 40 11 * * *
|
|
|
|
- ttcn3-hnodeb-test-latest:
|
|
|
|
timer: 40 12 * * *
|
|
|
|
- ttcn3-upf-test-latest:
|
|
|
|
timer: 00 13 * * *
|
|
|
|
disabled: true
|
|
|
|
- ttcn3-hnbgw-test-latest:
|
|
|
|
timer: 40 13 * * *
|
|
|
|
|
|
|
|
# Jobs below use uppercase TTCN3-$DISTRO, so they get listed separately from the ttcn3-* (debian) jobs
|
|
|
|
|
|
|
|
# centos7 nightly
|
|
|
|
- TTCN3-centos7-pcap-client-test:
|
|
|
|
timer: 10 13 * * *
|
|
|
|
|
|
|
|
# centos7 latest
|
|
|
|
- TTCN3-centos7-pcap-client-test-latest:
|
|
|
|
timer: 40 13 * * *
|
|
|
|
|
|
|
|
# centos8 nightly
|
|
|
|
- TTCN3-centos-ggsn-test:
|
|
|
|
timer: 00 04 * * *
|
|
|
|
- TTCN3-centos-msc-test:
|
|
|
|
timer: 30 04 * * *
|
|
|
|
- TTCN3-centos-pcu-test:
|
|
|
|
timer: 00 05 * * *
|
|
|
|
- TTCN3-centos-pcu-test-sns:
|
|
|
|
timer: 15 05 * * *
|
|
|
|
- TTCN3-centos-sgsn-test:
|
|
|
|
timer: 30 05 * * *
|
|
|
|
- TTCN3-centos-bsc-test:
|
|
|
|
timer: 00 06 * * *
|
|
|
|
- TTCN3-centos-mgw-test:
|
|
|
|
timer: 30 06 * * *
|
|
|
|
- TTCN3-centos-hlr-test:
|
|
|
|
timer: 45 06 * * *
|
|
|
|
- TTCN3-centos-bts-test:
|
|
|
|
timer: 00 07 * * *
|
|
|
|
- TTCN3-centos-sip-test:
|
|
|
|
timer: 30 07 * * *
|
|
|
|
- TTCN3-centos-bsc-test-sccplite:
|
|
|
|
timer: 30 08 * * *
|
|
|
|
- TTCN3-centos-remsim-test:
|
|
|
|
timer: 00 09 * * *
|
|
|
|
disabled: true
|
|
|
|
- TTCN3-centos-stp-test:
|
|
|
|
timer: 30 09 * * *
|
|
|
|
- TTCN3-centos-gbproxy-test:
|
|
|
|
timer: 20 10 * * *
|
|
|
|
- TTCN3-centos-cbc-test:
|
|
|
|
timer: 40 10 * * *
|
|
|
|
|
|
|
|
# centos8 latest stable
|
|
|
|
- TTCN3-centos-ggsn-test-latest:
|
|
|
|
timer: 00 04 * * *
|
|
|
|
- TTCN3-centos-msc-test-latest:
|
|
|
|
timer: 30 04 * * *
|
|
|
|
- TTCN3-centos-pcu-test-latest:
|
|
|
|
timer: 00 05 * * *
|
|
|
|
- TTCN3-centos-pcu-test-sns-latest:
|
|
|
|
timer: 15 05 * * *
|
|
|
|
- TTCN3-centos-sgsn-test-latest:
|
|
|
|
timer: 30 05 * * *
|
|
|
|
- TTCN3-centos-bsc-test-latest:
|
|
|
|
timer: 00 06 * * *
|
|
|
|
- TTCN3-centos-mgw-test-latest:
|
|
|
|
timer: 30 06 * * *
|
|
|
|
- TTCN3-centos-hlr-test-latest:
|
|
|
|
timer: 45 06 * * *
|
|
|
|
- TTCN3-centos-bts-test-latest:
|
|
|
|
timer: 00 07 * * *
|
|
|
|
- TTCN3-centos-sip-test-latest:
|
|
|
|
timer: 30 07 * * *
|
|
|
|
- TTCN3-centos-bsc-test-sccplite-latest:
|
|
|
|
timer: 30 08 * * *
|
|
|
|
- TTCN3-centos-remsim-test-latest:
|
|
|
|
timer: 00 09 * * *
|
|
|
|
disabled: true
|
|
|
|
- TTCN3-centos-stp-test-latest:
|
|
|
|
timer: 30 09 * * *
|
|
|
|
- TTCN3-centos-smlc-test-latest:
|
|
|
|
timer: 10 10 * * *
|
|
|
|
- TTCN3-centos-sccp-test-latest:
|
|
|
|
timer: 00 10 * * *
|
|
|
|
- TTCN3-centos-gbproxy-test-latest:
|
|
|
|
timer: 20 10 * * *
|
|
|
|
- TTCN3-centos-cbc-test-latest:
|
|
|
|
timer: 40 10 * * *
|
|
|
|
|
|
|
|
# centos8 2023q1 (SYS#6283)
|
|
|
|
- TTCN3-centos-pcu-test-2023q1:
|
|
|
|
timer: 00 17 * * *
|
|
|
|
- TTCN3-centos-pcu-test-sns-2023q1:
|
|
|
|
timer: 15 17 * * *
|
|
|
|
- TTCN3-centos-bsc-test-2023q1:
|
|
|
|
timer: 30 17 * * *
|
|
|
|
- TTCN3-centos-mgw-test-2023q1:
|
|
|
|
timer: 45 17 * * *
|
|
|
|
- TTCN3-centos-bts-test-2023q1:
|
|
|
|
timer: 00 18 * * *
|
|
|
|
- TTCN3-centos-smlc-test-2023q1:
|
|
|
|
timer: 15 18 * * *
|
|
|
|
- TTCN3-centos-gbproxy-test-2023q1:
|
|
|
|
timer: 30 18 * * *
|
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: '{job-name}'
|
|
|
|
project-type: freestyle
|
|
|
|
disabled: '{obj:disabled}'
|
|
|
|
defaults: global
|
|
|
|
description: '{obj:description}'
|
|
|
|
node: '{obj:node}'
|
|
|
|
parameters:
|
|
|
|
- string:
|
|
|
|
name: BRANCH
|
|
|
|
description: |
|
|
|
|
Branch of <code>docker-playground.git</code>.
|
|
|
|
Only modify if you are hacking on the docker-playground scripts.
|
|
|
|
default: '*/master'
|
|
|
|
builders:
|
|
|
|
- shell: |-
|
|
|
|
export REGISTRY_HOST="registry.osmocom.org"
|
|
|
|
|
|
|
|
# Translate job name to docker-playground dir and relevant
|
|
|
|
# environment variables
|
|
|
|
case "{job-name}" in
|
|
|
|
ttcn3-ggsn-test-kernel)
|
|
|
|
DIR="ttcn3-ggsn-test"
|
|
|
|
export IMAGE_SUFFIX="master"
|
|
|
|
# Run against debian's kernel
|
|
|
|
export KERNEL_TEST=1
|
|
|
|
;;
|
|
|
|
ttcn3-ggsn-test-kernel-latest)
|
|
|
|
DIR="ttcn3-ggsn-test"
|
|
|
|
export IMAGE_SUFFIX="latest"
|
|
|
|
export KERNEL_TEST=1
|
|
|
|
;;
|
|
|
|
ttcn3-ggsn-test-kernel-latest-net-next)
|
|
|
|
DIR="ttcn3-ggsn-test"
|
|
|
|
export IMAGE_SUFFIX="latest"
|
|
|
|
export KERNEL_TEST=1
|
|
|
|
export KERNEL_BUILD=1
|
|
|
|
export KERNEL_URL="https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git"
|
|
|
|
export KERNEL_REMOTE_NAME="net-next"
|
|
|
|
export KERNEL_BRANCH="master"
|
|
|
|
;;
|
|
|
|
ttcn3-ggsn-test-kernel-latest-torvalds)
|
|
|
|
DIR="ttcn3-ggsn-test"
|
|
|
|
export IMAGE_SUFFIX="latest"
|
|
|
|
export KERNEL_TEST=1
|
|
|
|
export KERNEL_BUILD=1
|
|
|
|
export KERNEL_URL="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
|
|
|
|
export KERNEL_REMOTE_NAME="torvalds"
|
|
|
|
export KERNEL_BRANCH="master"
|
|
|
|
;;
|
|
|
|
TTCN3-centos-*-latest)
|
|
|
|
DIR="$(echo "{job-name}" | sed s/^TTCN3-centos\-/ttcn3-/ | sed s/\-latest$//)"
|
|
|
|
export IMAGE_SUFFIX="latest-centos8"
|
|
|
|
;;
|
|
|
|
TTCN3-centos7-*-latest)
|
|
|
|
DIR="$(echo "{job-name}" | sed s/^TTCN3-centos7\-/ttcn3-/ | sed s/\-latest$//)"
|
|
|
|
export IMAGE_SUFFIX="latest-centos7"
|
|
|
|
;;
|
|
|
|
TTCN3-centos-*-20*q*)
|
|
|
|
export OSMOCOM_REPO_PATH="osmo-maintained"
|
|
|
|
export OSMOCOM_REPO_VERSION="$(echo "{job-name}" | grep -o -P -- "20\d\dq.*$")" # e.g. "2021q1"
|
|
|
|
export IMAGE_SUFFIX="$OSMOCOM_REPO_VERSION-centos8"
|
|
|
|
DIR="$(echo "{job-name}" | sed s/^TTCN3-centos\-/ttcn3-/ | sed s/\-$OSMOCOM_REPO_VERSION$//)"
|
|
|
|
;;
|
|
|
|
TTCN3-centos-*)
|
|
|
|
DIR="$(echo "{job-name}" | sed s/^TTCN3-centos\-/ttcn3-/)"
|
|
|
|
export IMAGE_SUFFIX="master-centos8"
|
|
|
|
;;
|
|
|
|
TTCN3-centos7-*)
|
|
|
|
DIR="$(echo "{job-name}" | sed s/^TTCN3-centos7\-/ttcn3-/)"
|
|
|
|
export IMAGE_SUFFIX="master-centos7"
|
|
|
|
;;
|
|
|
|
*-latest)
|
|
|
|
DIR="$(echo "{job-name}" | sed s/\-latest$//)"
|
|
|
|
export IMAGE_SUFFIX="latest"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
DIR="{job-name}"
|
|
|
|
export IMAGE_SUFFIX="master"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
cd "$DIR"
|
|
|
|
./jenkins.sh
|
|
|
|
scm:
|
|
|
|
- git:
|
|
|
|
branches:
|
|
|
|
- '$BRANCH'
|
|
|
|
url: https://gerrit.osmocom.org/docker-playground
|
|
|
|
git-config-name: 'Jenkins Builder'
|
|
|
|
git-config-email: 'jenkins@osmocom.org'
|
|
|
|
wipe-workspace: "{obj:wipe_workspace}"
|
|
|
|
triggers:
|
|
|
|
- timed: "{obj:timer}"
|
|
|
|
publishers:
|
|
|
|
- junit:
|
|
|
|
results: '**/junit-xml-*.log'
|
|
|
|
allow-empty-results: false
|
|
|
|
- email:
|
|
|
|
notify-every-unstable-build: false
|
|
|
|
recipients: '{obj:email}'
|
|
|
|
send-to-individuals: false
|
|
|
|
- archive:
|
|
|
|
allow-empty: false
|
|
|
|
artifacts: logs/**/*
|
|
|
|
case-sensitive: true
|
|
|
|
default-excludes: true
|
|
|
|
fingerprint: false
|
|
|
|
only-if-success: false
|
|
|
|
properties:
|
|
|
|
- build-discarder:
|
|
|
|
days-to-keep: 120
|
|
|
|
wrappers:
|
|
|
|
- ansicolor:
|
|
|
|
colormap: xterm
|
|
|
|
email: jenkins-notifications@lists.osmocom.org
|
|
|
|
|
|
|
|
# vim: expandtab tabstop=2 shiftwidth=2
|