jjb: Remove corrupted YAML when parsing TAP results on lttng-tools
[lttng-ci.git] / jobs / lttng-tools.yaml
index abc59232a21dd74343755dd3ad1a29eaba2e52ed..6f0359225f6f344490467b25b45d35dab3ef3315 100644 (file)
               ust_conf=std
               ;;
           esac
-          # Run java tests only on 'linuxbuild' jobs
-          if [ "{buildtype}" = "linuxbuild" ]; then
+          # Run java tests only on 'linuxbuild' and 'slesbuild' jobs
+          if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then
             echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties
           else
             echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties
           fi
+          if [ "{buildtype}" = "slesbuild" ] ; then
+            echo "TAP_AUTOTIME=0" >> env.properties
+          fi
           echo "liburcu_conf=$liburcu_conf" >> env.properties
           echo "babeltrace_conf=$babeltrace_conf" >> env.properties
           echo "ust_conf=$ust_conf" >> env.properties
 - _lttng-tools_builders_review: &lttng-tools_builders_review
     name: 'lttng-tools_builders_review'
     builders:
+      - shell: |
+          #!/bin/bash
+          set -exu
+          # Run java tests only on 'linuxbuild' and 'slesbuild' jobs
+          if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then
+            echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties
+          else
+            echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties
+          fi
+          if [ "{buildtype}" = "slesbuild" ] ; then
+            echo "TAP_AUTOTIME=0" >> env.properties
+          fi
+      - inject:
+          properties-file: env.properties
       - shell:
          !include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh
 
           include-comment-diagnostics: true
           output-tap-to-console: false
           todo-is-failure: false
+          remove-yaml-if-corrupted: true
 
       - raw: &lttng-tools_publisher_warnings-ng_defaults
           xml: |
           buildtype: yoctobuild
           version: master
           ustversion: master
-          platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+          platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           urcuversions: !!python/tuple [master]
           buildtype: yoctobuild
           version: stable-2.13
           ustversion: stable-2.13
-          platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+          platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           urcuversions: !!python/tuple [stable-0.13]
           buildtype: yoctobuild
           version: stable-2.12
           ustversion: stable-2.12
-          platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64]
+          platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [std]
           urcuversions: !!python/tuple [stable-0.13]
           urcuversion: stable-0.13
           ustversion: stable-2.12
 
-- project:
-    name: dev_upstream_lttng-tools
-    job_prefix: 'dev_upstream_'
-    ust_job_prefix: 'dev_upstream_'
-    urcu_job_prefix: 'dev_upstream_'
-    bt_job_prefix: 'dev_upstream_'
-    github_user: lttng
-    email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
-    jobs:
-      # stable-2.11
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: linuxbuild
-          version: stable-2.11
-          ustversion: stable-2.11
-          platforms: !!python/tuple [deb12-amd64]
-          builds: !!python/tuple [std, oot, dist]
-          confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
-          urcuversions: !!python/tuple [stable-0.11]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")'
-          touchstone: ''
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.11
-          ustversion: stable-2.11
-          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [no-ust, agents]
-          urcuversions: !!python/tuple [stable-0.11]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: slesbuild
-          version: stable-2.11
-          ustversion: stable-2.11
-          platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [agents]
-          urcuversions: !!python/tuple [stable-0.11]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: elbuild
-          version: stable-2.11
-          ustversion: stable-2.11
-          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [std]
-          urcuversions: !!python/tuple [stable-0.11]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-
-      # stable-2.10
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: linuxbuild
-          version: stable-2.10
-          ustversion: stable-2.10
-          platforms: !!python/tuple [deb12-amd64]
-          builds: !!python/tuple [std, oot, dist]
-          confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
-          urcuversions: !!python/tuple [stable-0.9]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")'
-          touchstone: ''
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.10
-          ustversion: stable-2.10
-          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [no-ust, agents]
-          urcuversions: !!python/tuple [stable-0.9]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: slesbuild
-          version: stable-2.10
-          ustversion: stable-2.10
-          platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [agents]
-          urcuversions: !!python/tuple [stable-0.9]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: elbuild
-          version: stable-2.10
-          ustversion: stable-2.10
-          platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [std]
-          urcuversions: !!python/tuple [stable-0.9]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-
 - project:
     name: dev_jgalar_lttng-tools
     job_prefix: 'dev_jgalar_'
           filter: ''
           touchstone: ''
 
-- project:
-    name: dev_jgalar_lttng-tools-upstream
-    job_prefix: 'dev_jgalar_'
-    ust_job_prefix: 'dev_upstream_'
-    urcu_job_prefix: 'dev_upstream_'
-    bt_job_prefix: 'dev_upstream_'
-    user: jgalar
-    github_user: jgalar
-    email_to: 'jgalar@efficios.com'
-    jobs:
-      # stable-2.11
-      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: linuxbuild
-          version: stable-2.11-staging
-          ustversion: stable-2.11
-          platforms: !!python/tuple [deb12-amd64]
-          builds: !!python/tuple [std, oot, dist]
-          confs: !!python/tuple [std, no-ust, agents]
-          urcuversions: !!python/tuple [stable-0.11]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.11-staging
-          ustversion: stable-2.11
-          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [std, no-ust, agents]
-          urcuversions: !!python/tuple [stable-0.11]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-
-      # stable-2.10
-      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: linuxbuild
-          version: stable-2.10-staging
-          ustversion: stable-2.10
-          platforms: !!python/tuple [deb12-amd64]
-          builds: !!python/tuple [std, oot, dist]
-          confs: !!python/tuple [std, no-ust, agents]
-          urcuversions: !!python/tuple [stable-0.9]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-      - 'dev_{user}_lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: stable-2.10-staging
-          ustversion: stable-2.10
-          platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [std, no-ust, agents]
-          urcuversions: !!python/tuple [stable-0.9]
-          babelversions: !!python/tuple [stable-1.5]
-          filter: ''
-          touchstone: ''
-
 - project:
     name: review-lttng-tools
     job_prefix: ''
           babelversions: !!python/tuple [stable-2.0]
           filter: ''
           touchstone: ''
+      - 'dev_review_lttng-tools_{version}_{buildtype}':
+          version: master
+          buildtype: slesbuild
+          ustversion: master
+          platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
+          builds: !!python/tuple [std]
+          confs: !!python/tuple [agents]
+          urcuversions: !!python/tuple [master]
+          babelversions: !!python/tuple [stable-2.0]
+          filter: ''
+          touchstone: ''
       - 'dev_review_lttng-tools_{version}_rootbuild':
           version: master
           buildtype: linuxbuild
           filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")'
           touchstone: ''
 
-- project:
-    name: lttng-tools-mjeanson
-    job_prefix: 'dev_mjeanson_'
-    ust_job_prefix: 'dev_mjeanson_'
-    urcu_job_prefix: 'dev_mjeanson_'
-    bt_job_prefix: 'dev_mjeanson_'
-    github_user: lttng
-    github_name: lttng-tools
-    email_to: "mjeanson@efficios.com"
-    version:
-      - master
-    jobs:
-      - '{job_prefix}lttng-tools_{version}_{buildtype}':
-          buildtype: portbuild
-          version: master
-          ustversion: master
-          platforms: !!python/tuple [sid-riscv64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [std, no-ust, agents]
-          urcuversions: !!python/tuple [master]
-          babelversions: !!python/tuple [master]
-          filter: ''
-          touchstone: ''
-      - '{job_prefix}lttng-tools_{version}_rootbuild':
-          version: master
-          buildtype: linuxbuild
-          ustversion: master
-          platforms: !!python/tuple [deb12-amd64]
-          builds: !!python/tuple [std]
-          confs: !!python/tuple [agents]
-          urcuversions: !!python/tuple [master]
-          ustversion: master
-          babelversions: !!python/tuple [master]
-          filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")'
-          touchstone: ''
 
 - project:
     name: lttng-tools-views
This page took 0.025953 seconds and 4 git commands to generate.