Skip to content

RTECO-0000 - Skip NuGet release bundle test on unsupported Artifactory versions - #3728

Merged
naveenku-jfrog merged 3 commits into
masterfrom
RTECO-0000-skip-nuget-rb-test-unsupported-rt
Oct 14, 2026
Merged

naveenku-jfrog merged 3 commits into
masterfrom
RTECO-0000-skip-nuget-rb-test-unsupported-rt

Conversation

@naveenku-jfrog

Copy link
Copy Markdown
Collaborator
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the master branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....

Issue: TestNugetFlexPackReleaseBundleFromNugetBuild fails in the NuGet tests job with:

You are using JFrog Artifactory version 7.x-SNAPSHOT-master-10547, while this operation requires version 7.114.0 or higher.

The test runs jf rbc --source-type-builds, which needs Artifactory 7.114.0 or later. The lifecycle tests check the server version before running this (initLifecycleTest(t, minMultiSourcesArtifactoryVersion)), but the NuGet test didn't. The NuGet CI server reports a snapshot version, which fails the check, so the test failed on every run.

Fix: call validateArtifactoryVersion(t, minMultiSourcesArtifactoryVersion) at the start of the test, before anything is pushed. The test is skipped on servers that don't meet the minimum version, as the lifecycle tests are. initLifecycleTest isn't used because it also requires -test.lc=true, which the NuGet job doesn't pass.

The other NuGet failures in the same job (push tests) were 502/504 errors from the test server and aren't addressed here.

🤖 Generated with Claude Code

…y 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 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

@agrasth
agrasth self-requested a review October 14, 2026 04:25
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@naveenku-jfrog
naveenku-jfrog merged commit 8ea6691 into master Oct 14, 2026
7 of 8 checks passed
@naveenku-jfrog
naveenku-jfrog deleted the RTECO-0000-skip-nuget-rb-test-unsupported-rt branch October 14, 2026 04:39

This branch is waiting to be deployed

1 waiting deployment
build-gate — 6e121dee Waiting Oct 14, 2026 by naveenku-jfrog via Approval gate #1280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants