boklm pushed to branch main at The Tor Project / Applications / tor-browser-bundle-testsuite Commits: 398b6bd4 by Nicolas Vigier at 2026-11-23T20:49:36+01:00 Bug 40125: Consider pipeline a failure if we have a failed job - - - - - 1 changed file: - TBBTestSuite/TestSuite/TorBrowserBuildGitlabPipelines.pm Changes: ===================================== TBBTestSuite/TestSuite/TorBrowserBuildGitlabPipelines.pm ===================================== @@ -112,8 +112,15 @@ sub gitlab_pipeline { my $status = get_pipeline_status($pipeline_id); $test->{pipeline_status} = $status; $test->{results}{success} = 1 if $status eq 'success'; - $test->{failed_jobs} = get_failed_jobs($pipeline_id) - if $status eq 'failed'; + $test->{failed_jobs} = get_failed_jobs($pipeline_id); + # tor-browser-bundle-testsuite#40125 + # Since jobs are configured with `allow_failure: true` to avoid stopping + # at the first failed job, gitlab will set the pipeline result as success + # even if some jobs failed. Here we change the result to failure if we + # have at least one failed job. + if ($test->{results}{success} && @{$test->{failed_jobs}}) { + $test->{results}{success} = 0; + } } sub set_tests { View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-bundle-testsuite/... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-bundle-testsuite/... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
boklm (@boklm)