Skip to content

fix: fixed preexisting tests ci failure#5

Open
rohansen856 wants to merge 1 commit into
linuxonzapps:mainfrom
rohansen856:tests_fix
Open

fix: fixed preexisting tests ci failure#5
rohansen856 wants to merge 1 commit into
linuxonzapps:mainfrom
rohansen856:tests_fix

Conversation

@rohansen856
Copy link
Copy Markdown
Member

The two failing tests (test_publish_with_rpm / test_publish_with_deb) were because of semantic drift: while PR #4 was open, main gained commits (1e27efd, e299ea6) that made ScriptBuilder.publish() stamp a distro suffix like ubuntu-22.04 into every artifact name before upload, and that change had a bug where distro_details stayed at its hard-coded default when .distro_zab.txt was missing. So in CI (which never creates that file), the tarball kept its original name but the RPM/DEB got uploaded as test-app-1.0.0-ubuntu-22.04-linux-s390x.{rpm,deb}, while the tests still asserted the old non-distro names, a mismatch that only surfaced once the PR was merged and CI ran against the combined code.

Signed-off-by: rohansen856 <rohansen856@gmail.com>
@rohansen856 rohansen856 requested a review from a team as a code owner April 19, 2026 19:07
@rohansen856
Copy link
Copy Markdown
Member Author

I also plan on looking into #4 (comment) in the same pr

@rposts
Copy link
Copy Markdown
Contributor

rposts commented May 14, 2026

@rohansen856 - I just got back from vacation - some more changes have been published to artifacts builder as it was decided to add distro in the naming as you correctly pointed out. Can you please pull the latest changes and update the testcases in the PR - I tried updating few but there exceptions - thx so much for your PR!

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