jjb: Remove corrupted YAML when parsing TAP results on lttng-tools
[lttng-ci.git] / jobs / lttng-tools.yaml
index 40fafa1dfd508b9214f4d4235616930073116b3f..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
 - _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
 
           condition-kind: strings-match
           on-evaluation-failure: run
           condition-string1: '${{platform}}'
-          condition-string2: 'msys2-mingw32'
-          steps:
-            - inject:
-               properties-content: 'MSYSTEM=MINGW32'
-            - shell:
-               !include-raw-escape:
-                 - scripts/common/msys2-shebang
-                 - scripts/common/cygpath-prefix
-                 - scripts/common/print.sh
-                 - scripts/lttng-tools/build.sh
-
-      - conditional-step:
-          condition-kind: strings-match
-          on-evaluation-failure: run
-          condition-string1: '${{platform}}'
-          condition-string2: 'msys2-mingw64'
+          condition-string2: 'msys2-ucrt64'
           steps:
             - inject:
-               properties-content: 'MSYSTEM=MINGW64'
+               properties-content: 'MSYSTEM=UCRT64'
             - shell:
                !include-raw-escape:
                  - scripts/common/msys2-shebang
           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: |
             - '$GERRIT_REFSPEC'
           basedir: src/lttng-tools
           skip-tag: true
-          # Work-around for hangs while cloning lttng-tools from gerrit
-          # @see https://support.efficios.com/issues/1532
-          git-tool: jgit
 
     triggers:
       - gerrit: &lttng-tools_trigger_gerrit_default
           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: macosbuild
           version: master
           ustversion: master
-          platforms: !!python/tuple [macos-amd64, macos-arm64]
+          platforms: !!python/tuple [macos-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [relayd-only]
           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: macosbuild
           version: stable-2.13
           ustversion: stable-2.13
-          platforms: !!python/tuple [macos-amd64, macos-arm64]
+          platforms: !!python/tuple [macos-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [relayd-only]
           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]
           buildtype: macosbuild
           version: stable-2.12
           ustversion: stable-2.12
-          platforms: !!python/tuple [macos-amd64, macos-arm64]
+          platforms: !!python/tuple [macos-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [relayd-only]
           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_'
           buildtype: macosbuild
           version: master-staging
           ustversion: master
-          platforms: !!python/tuple [macos-amd64, macos-arm64]
+          platforms: !!python/tuple [macos-arm64]
           builds: !!python/tuple [std]
           confs: !!python/tuple [relayd-only]
           urcuversions: !!python/tuple [master]
           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.028292 seconds and 4 git commands to generate.