From 736e60181e50dbf5c32dc4d1d30675ed4971dd5d Mon Sep 17 00:00:00 2001 From: Naveen Kumar Date: Tue, 13 Oct 2026 17:38:43 +0530 Subject: [PATCH 1/2] RTECO-0000 - Skip NuGet release bundle test on unsupported Artifactory versions TestNugetFlexPackReleaseBundleFromNugetBuild runs 'jf rbc --source-type-builds', which requires Artifactory 7.114.0+. Unlike the lifecycle suite, the test didn't check the server version, so it failed on the NuGet CI server, which reports a snapshot version (7.x-SNAPSHOT-...). Gate it with validateArtifactoryVersion, as the lifecycle tests do. Co-Authored-By: Claude Opus 5.5 --- nuget_native_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nuget_native_test.go b/nuget_native_test.go index ba99afa41..8643e8bba 100644 --- a/nuget_native_test.go +++ b/nuget_native_test.go @@ -2394,6 +2394,9 @@ func TestNugetFlexPackBuildScanAfterPromotion(t *testing.T) { func TestNugetFlexPackReleaseBundleFromNugetBuild(t *testing.T) { initNugetTest(t) defer cleanTestsHomeEnv() + // 'rbc --source-type-builds' requires a minimum Artifactory version; skip (as the lifecycle + // suite does) on servers that don't meet it, including snapshot builds whose version can't be compared. + validateArtifactoryVersion(t, minMultiSourcesArtifactoryVersion) buildName := tests.NuGetBuildName + "-flexpack-rb" buildNumber := "1" From 6e121dee93227a26cf914bf5d3b1127da00ead3d Mon Sep 17 00:00:00 2001 From: Naveen Kumar Date: Wed, 14 Oct 2026 10:06:38 +0530 Subject: [PATCH 2/2] RTECO-0000 - Increase MAX_RUN_RETRIES to 5 in jfrog-pipelines Co-Authored-By: Claude Opus 5.5 --- .jfrog-pipelines/pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.jfrog-pipelines/pipelines.yml b/.jfrog-pipelines/pipelines.yml index 490ae046a..4e1eb87d9 100644 --- a/.jfrog-pipelines/pipelines.yml +++ b/.jfrog-pipelines/pipelines.yml @@ -74,7 +74,7 @@ pipelines: description: "Artifactory deployment sizing profile." allowCustom: true MAX_RUN_RETRIES: - default: "2" + default: "5" description: "Per-workflow run-level retry budget. When a dispatched workflow run finishes with a non-success conclusion, the pipeline calls GitHub's rerun-failed-jobs API up to this many times before declaring it failed. Set 0 to disable run-level retry." allowCustom: true MAX_WAIT_SECONDS: @@ -306,7 +306,7 @@ pipelines: GH_ACTIONS_RUNNER="${GHE_ACTIONS_RUNNER:-artifactory-dind-amd-scale-set}" # Run-level retry knobs (see the readOnly env vars above). - MAX_RUN_RETRIES_RESOLVED="${MAX_RUN_RETRIES:-2}" + MAX_RUN_RETRIES_RESOLVED="${MAX_RUN_RETRIES:-5}" MAX_WAIT_RESOLVED="${MAX_WAIT_SECONDS:-14400}" GITHUB_TOKEN_RESOLVED="${GITHUB_DISPATCH_TOKEN:-}"