jjb: Add urcu tls fallback config to ust and tools
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 30 Apr 2020 17:57:20 +0000 (13:57 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Thu, 30 Apr 2020 17:57:20 +0000 (13:57 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
jobs/lttng-tools.yaml
jobs/lttng-ust.yaml

index 1eff88047577ccd53c2a9262628bf390e75d904e..335d5b8097f24aae726f36f2f0dac1ee79d38dc2 100644 (file)
@@ -51,6 +51,8 @@
     name: 'lttng-tools_build_axes_defaults'
     project-type: matrix
     node: 'master' # Applies only to matrix flyweight task
+    execution-strategy:
+      combination-filter: '{filter}'
     axes:
       - axis:
          type: slave
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
+      - conditional-step:
+          condition-kind: regex-match
+          label: '$conf'
+          regex: tls_fallback
+          on-evaluation-failure: run
+          steps:
+            - copyartifact:
+                project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=tls_fallback,build=std
+                which-build: last-successful
+                stable: false
+                filter: 'build/**'
+                target: 'deps'
+                do-not-fingerprint: true
+            - copyartifact:
+                project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
+                which-build: last-successful
+                stable: false
+                filter: 'build/**'
+                target: 'deps'
+                do-not-fingerprint: true
+            - copyartifact:
+                project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=tls_fallback,build=std
+                which-build: last-successful
+                stable: false
+                filter: 'build/**'
+                target: 'deps'
+                do-not-fingerprint: true
       - shell:
          !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh
       - shell:
           ustversion: master
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents, debug-rcu]
+          conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5, master]
           testtype: !!python/tuple [base]
+          filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))'
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: master
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: slesbuild
           version: master
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: elbuild
           version: master
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: macosxbuild
           version: master
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: solarisbuild
           version: master
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_winbuild':
           version: master
           ustversion: master
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_long_regression':
           buildtype: build
           version: master
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [full]
+          filter: ''
 
       # stable-2.12
       - 'lttng-tools_{version}_{buildtype}':
           ustversion: stable-2.12
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents, debug-rcu]
+          conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
+          filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))'
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.12
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: slesbuild
           version: stable-2.12
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: elbuild
           version: stable-2.12
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: solarisbuild
           version: stable-2.12
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: macosxbuild
           version: stable-2.12
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_winbuild':
           version: stable-2.12
           ustversion: stable-2.12
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_long_regression':
           buildtype: build
           version: stable-2.12
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [full]
+          filter: ''
 
       # stable-2.11
       - 'lttng-tools_{version}_{buildtype}':
           ustversion: stable-2.11
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents, debug-rcu]
+          conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: '(build=="std") || ((babeltrace_version=="stable-1.5" && (conf=="std" || conf=="agents" || conf=="no-ust")))'
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.11
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: slesbuild
           version: stable-2.11
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: elbuild
           version: stable-2.11
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: solarisbuild
           version: stable-2.11
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: macosxbuild
           version: stable-2.11
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_winbuild':
           version: stable-2.11
           ustversion: stable-2.11
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_long_regression':
           buildtype: build
           version: stable-2.11
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [full]
+          filter: ''
 
       # stable-2.10
       - 'lttng-tools_{version}_{buildtype}':
           ustversion: stable-2.10
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, oot, dist]
-          conf: !!python/tuple [std, no-ust, agents, debug-rcu]
+          conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: '(build=="std") || ((babeltrace_version=="stable-1.5" && (conf=="std" || conf=="agents" || conf=="no-ust")))'
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.10
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: slesbuild
           version: stable-2.10
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: elbuild
           version: stable-2.10
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: solarisbuild
           version: stable-2.10
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_{buildtype}':
           buildtype: macosxbuild
           version: stable-2.10
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_winbuild':
           version: stable-2.10
           ustversion: stable-2.10
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'lttng-tools_{version}_long_regression':
           buildtype: build
           version: stable-2.10
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [full]
+          filter: ''
 
       # stable-2.9 #
       - 'lttng-tools_{version}_{buildtype}':
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
 
       # stable-2.8 #
       - 'lttng-tools_{version}_{buildtype}':
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
 
       - 'lttng-tools_{version}_cppcheck'
       - 'lttng-tools_{version}_scan-build':
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5, master]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: build
           version: stable-2.12-staging
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0, master]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: build
           version: stable-2.11-staging
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5, master]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: build
           version: stable-2.10-staging
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: master-staging
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.12-staging
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-2.0]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.11-staging
           urcuversion: !!python/tuple [stable-0.10]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.10-staging
           urcuversion: !!python/tuple [stable-0.9]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: macosxbuild
           version: master-staging
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
       - 'dev_{user}_lttng-tools_{version}_{buildtype}':
           buildtype: solarisbuild
           version: master-staging
           urcuversion: !!python/tuple [master]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
 
 - project:
     name: gerrit-lttng-tools
           urcuversion: !!python/tuple [stable-0.12]
           babelversion: !!python/tuple [stable-1.5]
           testtype: !!python/tuple [base]
+          filter: ''
 
 - project:
     name: lttng-tools-views
index d1f2130e6152943962bff6945f588fd7321c2171..3f5d2d7753b21528c96ef170f4914728a2c91518 100644 (file)
                 filter: 'build/**'
                 target: 'deps'
                 do-not-fingerprint: true
+      - conditional-step:
+          condition-kind: regex-match
+          label: '$conf'
+          regex: (tls_fallback)
+          on-evaluation-failure: run
+          steps:
+            - copyartifact:
+                project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std
+                which-build: last-successful
+                stable: false
+                filter: 'build/**'
+                target: 'deps'
+                do-not-fingerprint: true
       - shell:
          !include-raw-escape: scripts/lttng-ust/build.sh
 
           buildtype: build
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, dist, oot, oot-dist]
-          conf: !!python/tuple [std, agents, debug-rcu]
+          conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
           liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master]
-          filter: '(build=="std") || (liburcu_version=="master")'
+          filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))'
       - 'lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
           version: master
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, dist, oot, oot-dist]
-          conf: !!python/tuple [std, agents, debug-rcu]
+          conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
           liburcu_version: !!python/tuple [stable-0.12, master]
-          filter: '(build=="std") || (liburcu_version=="master")'
+          filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))'
       - 'lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           version: master
           version: stable-2.12
           arch: !!python/tuple [amd64]
           build: !!python/tuple [std, dist, oot, oot-dist]
-          conf: !!python/tuple [std, agents, debug-rcu]
+          conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
           liburcu_version: !!python/tuple [stable-0.12, master]
-          filter: '(build=="std") || (liburcu_version=="stable-0.12")'
+          filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))'
       - 'lttng-ust_{version}_{buildtype}':
           buildtype: portbuild
           version: stable-2.12
This page took 0.03007 seconds and 4 git commands to generate.