Skip to content

RTECO-2334 - Add Conan E2E test for upload with user/channel - #3760

Open
reshmifrog wants to merge 4 commits into
masterfrom
RTECO-2334-conan-user-channel-build-info
Open

reshmifrog wants to merge 4 commits into
masterfrom
RTECO-2334-conan-user-channel-build-info

Conversation

@reshmifrog

@reshmifrog reshmifrog commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor
  • 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 ./....

Summary

E2E test for RTECO-2334: jf conan upload collected 0 artifacts into build info when the Conan reference has @user/channel. The fix is in jfrog/jfrog-cli-artifactory#609.

TestConanCreateUploadWithUserChannel:

  • runs jf conan create . --user=cliuser --channel=clichannel and uploads cli-test-package/1.0.0@cliuser/clichannel with build flags
  • publishes the build info and checks that artifacts were collected
  • checks that every artifact path starts with cliuser/cli-test-package/1.0.0/clichannel/, and that both recipe (/export/) and package (/package/) files are there
  • removes the user/channel package from the local Conan cache afterwards, so later tests that upload cli-test-package/* are not affected

The test looks at artifacts across all modules. With @user/channel, conan create and conan upload record separate modules (name/version@user/channel and name:version).

TestConanCreateUploadWithUserChannel runs jf conan create with --user and
--channel, uploads name/version@user/channel, publishes the build info, and
checks that the recipe and package artifacts are collected under
{user}/{name}/{version}/{channel}/.
@github-actions

Copy link
Copy Markdown
Contributor

This branch was successfully deployed

1 active deployment
build-gate — be5f0feb Deployed Nov 11, 2026 by reshmifrog via Approval gate #1361
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants