Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 7dd31d2

Browse files
Hexclesfoolip
authored andcommitted
[Azure] Fix logging params
This makes the logging behaviour consistent across all jobs on Azure: info level tbpl logging to stdout, which is also consistent with Taskcluster setup. Notably, the previous configuration for "all tests: Edge" accidentally specified --log-tbpl twice, causing duplicate log outputs, which is fixed in this commit.
1 parent 341842e commit 7dd31d2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ jobs:
8585
- template: tools/ci/azure/install_safari.yml
8686
- template: tools/ci/azure/update_hosts.yml
8787
- template: tools/ci/azure/update_manifest.yml
88-
- script: no_proxy='*' ./wpt run --yes --no-manifest-update --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl $(Build.ArtifactStagingDirectory)/chrome.tbpl.log --log-tbpl-level info --channel dev chrome infrastructure/
88+
- script: no_proxy='*' ./wpt run --yes --no-manifest-update --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl - --log-tbpl-level info --channel dev chrome infrastructure/
8989
displayName: 'Run tests: Chrome Dev'
90-
- script: no_proxy='*' ./wpt run --yes --no-manifest-update --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl $(Build.ArtifactStagingDirectory)/firefox.tbpl.log --log-tbpl-level info --channel nightly firefox infrastructure/
90+
- script: no_proxy='*' ./wpt run --yes --no-manifest-update --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl - --log-tbpl-level info --channel nightly firefox infrastructure/
9191
displayName: 'Run tests: Firefox Nightly'
92-
- script: no_proxy='*' ./wpt run --yes --no-manifest-update --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl $(Build.ArtifactStagingDirectory)/safari.tbpl.log --log-tbpl-level info --channel preview safari infrastructure/
92+
- script: no_proxy='*' ./wpt run --yes --no-manifest-update --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl - --log-tbpl-level info --channel preview safari infrastructure/
9393
displayName: 'Run tests: Safari Technology Preview'
9494
- task: PublishBuildArtifacts@1
9595
displayName: 'Publish results'
@@ -223,7 +223,7 @@ jobs:
223223
- template: tools/ci/azure/install_edge.yml
224224
- template: tools/ci/azure/update_hosts.yml
225225
- template: tools/ci/azure/update_manifest.yml
226-
- script: python ./wpt run --yes --no-manifest-update --install-fonts --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl $(Build.ArtifactStagingDirectory)/edge.tbpl.log --log-tbpl-level info --channel dev edgechromium infrastructure/
226+
- script: python ./wpt run --yes --no-manifest-update --install-fonts --manifest MANIFEST.json --metadata infrastructure/metadata/ --log-tbpl - --log-tbpl-level info --channel dev edgechromium infrastructure/
227227
displayName: 'Run tests: Edge Dev'
228228
- task: PublishBuildArtifacts@1
229229
displayName: 'Publish results'
@@ -256,7 +256,7 @@ jobs:
256256
- template: tools/ci/azure/install_edge.yml
257257
- template: tools/ci/azure/update_hosts.yml
258258
- template: tools/ci/azure/update_manifest.yml
259-
- script: python ./wpt run --yes --no-manifest-update --no-restart-on-unexpected --no-fail-on-unexpected --install-fonts --this-chunk $(System.JobPositionInPhase) --total-chunks $(System.TotalJobsInPhase) --chunk-type hash --log-tbpl - --log-tbpl-level info --log-wptreport $(Build.ArtifactStagingDirectory)/wpt_report_$(System.JobPositionInPhase).json --log-wptscreenshot $(Build.ArtifactStagingDirectory)/wpt_screenshot_$(System.JobPositionInPhase).txt --log-tbpl - --log-tbpl-level info --channel dev edgechromium
259+
- script: python ./wpt run --yes --no-manifest-update --no-restart-on-unexpected --no-fail-on-unexpected --install-fonts --this-chunk $(System.JobPositionInPhase) --total-chunks $(System.TotalJobsInPhase) --chunk-type hash --log-wptreport $(Build.ArtifactStagingDirectory)/wpt_report_$(System.JobPositionInPhase).json --log-wptscreenshot $(Build.ArtifactStagingDirectory)/wpt_screenshot_$(System.JobPositionInPhase).txt --log-tbpl - --log-tbpl-level info --channel dev edgechromium
260260
displayName: 'Run tests: Edge Dev'
261261
- task: PublishBuildArtifacts@1
262262
displayName: 'Publish results'

0 commit comments

Comments
 (0)