--- - project: name: 'ttcn3-testsuites' concurrent: false disabled: false description: | Run the a testsuite from docker-playground.git.
If this job ends in -latest, the job runs the latest stable versions of the Osmocom stack. Otherwise the nightly builds.
See TTCN3 Testsuite for more information. timer: "@midnight" node: ttcn3 # Block *-latest for all master jobs (without suffix) blocking: "^{job-name}.*" wipe_workspace: true jobs: - "{job-name}" # Folders from docker-playground.git job-name: # debian nightly - order by time - nplab-m3ua-test: blocking: "^(nplab|NPLAB-.*)-m3ua-test.*" timer: 10 03 * * * - nplab-sua-test: blocking: "^(nplab|NPLAB-.*)-sua-test.*" timer: 15 03 * * * - ttcn3-ggsn-test: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 00 04 * * * - ttcn3-ggsn-test-kernel: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 10 04 * * * description: | Test osmo-ggsn master with the Debian kernel. - ttcn3-ggsn-test-kernel-latest: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 20 04 * * * description: | Test osmo-ggsn latest with the Debian kernel. - ttcn3-ggsn-test-kernel-latest-net-next: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" 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 net-next.git. - ttcn3-ggsn-test-kernel-latest-torvalds: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" 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 torvalds/linux.git. - ttcn3-ggsn-test-ogs: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 35 04 * * * description: | Test open5gs-smfd + open5gs-upfd main. - ttcn3-msc-test: blocking: "^(ttcn3|TTCN3-.*)-msc-test.*" timer: 40 04 * * * - ttcn3-pcu-test: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 00 05 * * * - ttcn3-pcu-test-sns: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 15 05 * * * - ttcn3-sgsn-test: blocking: "^(ttcn3|TTCN3-.*)-sgsn-test.*" timer: 30 05 * * * - ttcn3-bsc-test: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 00 06 * * * - ttcn3-mgw-test: blocking: "^(ttcn3|TTCN3-.*)-mgw-test.*" timer: 30 06 * * * - ttcn3-hlr-test: blocking: "^(ttcn3|TTCN3-.*)-hlr-test.*" timer: 45 06 * * * - ttcn3-bts-test: blocking: "^(ttcn3|TTCN3-.*)-bts-test.*" timer: 00 07 * * * - ttcn3-sip-test: blocking: "^(ttcn3|TTCN3-.*)-sip-test.*" timer: 30 07 * * * - ttcn3-bscnat-test: blocking: "^(ttcn3|TTCN3-.*)-bscnat-test.*" timer: 00 08 * * * disabled: true - ttcn3-bsc-test-sccplite: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 30 08 * * * - ttcn3-remsim-test: blocking: "^(ttcn3|TTCN3-.*)-remsim-test.*" timer: 00 09 * * * - ttcn3-stp-test: blocking: "^(ttcn3|TTCN3-.*)-stp-test.*" timer: 30 09 * * * - ttcn3-sccp-test: blocking: "^(ttcn3|TTCN3-.*)-sccp-test.*" timer: 00 10 * * * - ttcn3-smlc-test: blocking: "^(ttcn3|TTCN3-.*)-smlc-test.*" timer: 10 10 * * * - ttcn3-gbproxy-test: blocking: "^(ttcn3|TTCN3-.*)-gbproxy-test.*" timer: 20 10 * * * - ttcn3-gbproxy-test-fr: blocking: "^(ttcn3|TTCN3-.*)-gbproxy-test-fr.*" timer: 30 10 * * * node: hdlc - ttcn3-cbc-test: blocking: "^(ttcn3|TTCN3-.*)-cbc-test.*" timer: 40 10 * * * - ttcn3-ns-test: blocking: "^(ttcn3|TTCN3-.*)-ns-test.*" timer: 00 11 * * * - ttcn3-ns-test-sns: blocking: "^(ttcn3|TTCN3-.*)-ns-test-sns.*" timer: 10 11 * * * - ttcn3-ns-test-fr: blocking: "^(ttcn3|TTCN3-.*)-ns-test-fr.*" timer: 20 11 * * * node: hdlc - ttcn3-ns-test-sgsn-sns: blocking: "^(ttcn3|TTCN3-.*)-ns-test-sgsn-sns.*" timer: 30 11 * * * - ttcn3-pcap-client-test: blocking: "^(ttcn3|TTCN3-.*)-pcap-client-test.*" timer: 40 11 * * * - ttcn3-bsc-test-vamos: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 00 12 * * * - ttcn3-hnodeb-test: blocking: "^(ttcn3|TTCN3-.*)-hnodeb-test.*" timer: 40 12 * * * - ttcn3-upf-test: blocking: "^(ttcn3|TTCN3-.*)-upf-test.*" timer: 00 13 * * * disabled: true - ttcn3-hnbgw-test: blocking: "^(ttcn3|TTCN3-.*)-hnbgw-test.*" timer: 40 13 * * * - ttcn3-fr-test: blocking: "^(ttcn3|TTCN3-.*)-fr-test.*" timer: 40 10 * * * node: hdlc - ttcn3-pgw-test: blocking: "^(ttcn3|TTCN3-.*)-pgw-test.*" timer: 00 14 * * * description: | Test open5gs-smfd + open5gs-upfd PGW main. # debian latest stable - nplab-m3ua-test-latest: blocking: "^(nplab|NPLAB-.*)-m3ua-test.*" timer: 10 03 * * * - nplab-sua-test-latest: blocking: "^(nplab|NPLAB-.*)-sua-test.*" timer: 15 03 * * * - ttcn3-ggsn-test-latest: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 00 04 * * * - ttcn3-msc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-msc-test.*" timer: 30 04 * * * - ttcn3-pcu-test-latest: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 00 05 * * * - ttcn3-pcu-test-sns-latest: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 15 05 * * * - ttcn3-sgsn-test-latest: blocking: "^(ttcn3|TTCN3-.*)-sgsn-test.*" timer: 30 05 * * * - ttcn3-bsc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 00 06 * * * - ttcn3-mgw-test-latest: blocking: "^(ttcn3|TTCN3-.*)-mgw-test.*" timer: 30 06 * * * - ttcn3-hlr-test-latest: blocking: "^(ttcn3|TTCN3-.*)-hlr-test.*" timer: 45 06 * * * - ttcn3-bts-test-latest: blocking: "^(ttcn3|TTCN3-.*)-bts-test.*" timer: 00 07 * * * - ttcn3-sip-test-latest: blocking: "^(ttcn3|TTCN3-.*)-sip-test.*" timer: 30 07 * * * - ttcn3-bscnat-test-latest: blocking: "^(ttcn3|TTCN3-.*)-bscnat-test.*" timer: 00 08 * * * disabled: true - ttcn3-bsc-test-sccplite-latest: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 30 08 * * * - ttcn3-remsim-test-latest: blocking: "^(ttcn3|TTCN3-.*)-remsim-test.*" timer: 00 09 * * * - ttcn3-stp-test-latest: blocking: "^(ttcn3|TTCN3-.*)-stp-test.*" timer: 30 09 * * * - ttcn3-sccp-test-latest: blocking: "^(ttcn3|TTCN3-.*)-sccp-test.*" timer: 00 10 * * * - ttcn3-smlc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-smlc-test.*" timer: 10 10 * * * - ttcn3-gbproxy-test-latest: blocking: "^(ttcn3|TTCN3-.*)-gbproxy-test.*" timer: 20 10 * * * - ttcn3-gbproxy-test-fr-latest: blocking: "^(ttcn3|TTCN3-.*)-gbproxy-test-fr.*" timer: 30 10 * * * node: hdlc - ttcn3-cbc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-cbc-test.*" timer: 40 10 * * * - ttcn3-pcap-client-test-latest: blocking: "^(ttcn3|TTCN3-.*)-pcap-client-test.*" timer: 40 11 * * * - ttcn3-hnodeb-test-latest: blocking: "^(ttcn3|TTCN3-.*)-hnodeb-test.*" timer: 40 12 * * * - ttcn3-upf-test-latest: blocking: "^(ttcn3|TTCN3-.*)-upf-test.*" timer: 00 13 * * * disabled: true - ttcn3-hnbgw-test-latest: blocking: "^(ttcn3|TTCN3-.*)-hnbgw-test.*" 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: blocking: "^(ttcn3|TTCN3-.*)-pcap-client-test.*" timer: 10 13 * * * # centos7 latest - TTCN3-centos7-pcap-client-test-latest: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 40 13 * * * # centos8 nightly - TTCN3-centos-ggsn-test: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 00 04 * * * - TTCN3-centos-msc-test: blocking: "^(ttcn3|TTCN3-.*)-msc-test.*" timer: 30 04 * * * - TTCN3-centos-pcu-test: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 00 05 * * * - TTCN3-centos-pcu-test-sns: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 15 05 * * * - TTCN3-centos-sgsn-test: blocking: "^(ttcn3|TTCN3-.*)-sgsn-test.*" timer: 30 05 * * * - TTCN3-centos-bsc-test: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 00 06 * * * - TTCN3-centos-mgw-test: blocking: "^(ttcn3|TTCN3-.*)-mgw-test.*" timer: 30 06 * * * - TTCN3-centos-hlr-test: blocking: "^(ttcn3|TTCN3-.*)-hlr-test.*" timer: 45 06 * * * - TTCN3-centos-bts-test: blocking: "^(ttcn3|TTCN3-.*)-bts-test.*" timer: 00 07 * * * - TTCN3-centos-sip-test: blocking: "^(ttcn3|TTCN3-.*)-sip-test.*" timer: 30 07 * * * - TTCN3-centos-bsc-test-sccplite: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 30 08 * * * - TTCN3-centos-remsim-test: blocking: "^(ttcn3|TTCN3-.*)-remsim-test.*" timer: 00 09 * * * disabled: true - TTCN3-centos-stp-test: blocking: "^(ttcn3|TTCN3-.*)-stp-test.*" timer: 30 09 * * * - TTCN3-centos-gbproxy-test: blocking: "^(ttcn3|TTCN3-.*)-gbproxy-test.*" timer: 20 10 * * * - TTCN3-centos-cbc-test: blocking: "^(ttcn3|TTCN3-.*)-cbc-test.*" timer: 40 10 * * * # centos8 latest stable - TTCN3-centos-ggsn-test-latest: blocking: "^(ttcn3|TTCN3-.*)-ggsn-test.*" timer: 00 04 * * * - TTCN3-centos-msc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-msc-test.*" timer: 30 04 * * * - TTCN3-centos-pcu-test-latest: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 00 05 * * * - TTCN3-centos-pcu-test-sns-latest: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 15 05 * * * - TTCN3-centos-sgsn-test-latest: blocking: "^(ttcn3|TTCN3-.*)-sgsn-test.*" timer: 30 05 * * * - TTCN3-centos-bsc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 00 06 * * * - TTCN3-centos-mgw-test-latest: blocking: "^(ttcn3|TTCN3-.*)-mgw-test.*" timer: 30 06 * * * - TTCN3-centos-hlr-test-latest: blocking: "^(ttcn3|TTCN3-.*)-hlr-test.*" timer: 45 06 * * * - TTCN3-centos-bts-test-latest: blocking: "^(ttcn3|TTCN3-.*)-bts-test.*" timer: 00 07 * * * - TTCN3-centos-sip-test-latest: blocking: "^(ttcn3|TTCN3-.*)-sip-test.*" timer: 30 07 * * * - TTCN3-centos-bsc-test-sccplite-latest: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 30 08 * * * - TTCN3-centos-remsim-test-latest: blocking: "^(ttcn3|TTCN3-.*)-remsim-test.*" timer: 00 09 * * * disabled: true - TTCN3-centos-stp-test-latest: blocking: "^(ttcn3|TTCN3-.*)-stp-test.*" timer: 30 09 * * * - TTCN3-centos-smlc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-smlc-test.*" timer: 10 10 * * * - TTCN3-centos-sccp-test-latest: blocking: "^(ttcn3|TTCN3-.*)-sccp-test.*" timer: 00 10 * * * - TTCN3-centos-gbproxy-test-latest: blocking: "^(ttcn3|TTCN3-.*)-gbproxy-test.*" timer: 20 10 * * * - TTCN3-centos-cbc-test-latest: blocking: "^(ttcn3|TTCN3-.*)-cbc-test.*" timer: 40 10 * * * # centos8 2022q2 (SYS#6007) - TTCN3-centos-pcu-test-2022q2: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 00 17 * * * - TTCN3-centos-pcu-test-sns-2022q2: blocking: "^(ttcn3|TTCN3-.*)-pcu-test.*" timer: 15 17 * * * - TTCN3-centos-bsc-test-2022q2: blocking: "^(ttcn3|TTCN3-.*)-bsc-test.*" timer: 30 17 * * * - TTCN3-centos-mgw-test-2022q2: blocking: "^(ttcn3|TTCN3-.*)-mgw-test.*" timer: 45 17 * * * - TTCN3-centos-bts-test-2022q2: blocking: "^(ttcn3|TTCN3-.*)-bts-test.*" timer: 00 18 * * * - TTCN3-centos-smlc-test-2022q2: blocking: "^(ttcn3|TTCN3-.*)-smlc-test.*" timer: 15 18 * * * - TTCN3-centos-gbproxy-test-2022q2: blocking: "^(ttcn3|TTCN3-.*)-gbproxy-test.*" 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 docker-playground.git. 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: true recipients: laforge@gnumonks.org osmith@sysmocom.de send-to-individuals: false - archive: allow-empty: false artifacts: logs/**/* case-sensitive: true default-excludes: true fingerprint: false only-if-success: false properties: - build-blocker: use-build-blocker: true blocking-jobs: - "{obj:blocking}" - build-discarder: days-to-keep: 30 num-to-keep: 120 artifact-days-to-keep: -1 artifact-num-to-keep: -1 wrappers: - ansicolor: colormap: xterm # vim: expandtab tabstop=2 shiftwidth=2