Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for getting debuginfo from Media3 repo #1518

Closed
wants to merge 1 commit into from

Conversation

mnowaksuse
Copy link

@mnowaksuse mnowaksuse commented Jul 12, 2016

zypper has a feature which rewrites last digit in repo's URI to '1'
unless it's '1' already. We need to alter name for that repository
when rsyncing it.

Ref:
https://mailman.suse.de/mlarch/SuSE/research/2016/research.2016.07/msg00111.html

Verification run: http://assam.suse.cz/tests/1682#step/crash/28.

@@ -44,7 +44,11 @@ sub run() {
my $url = "ftp://openqa.suse.de/" . get_var('REPO_SLES_DEBUG');
assert_script_run "zypper ar -f $url SLES-Server-Debug";

assert_script_run 'zypper ref; zypper -n -v in kernel-default-base-debuginfo kernel-default-debuginfo', 300;
# workaround before POOL metadata in Media3 are fixed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't forget to record a soft failure with a reference to a bug for every "product workaround" we have in code.

@sysrich
Copy link
Member

sysrich commented Jul 14, 2016

Any news from Rudi (aka bugfinder in IRC) about fixing the actual meta data so this workaround is unnecessary?

zypper has a feature which rewrites last digit in repo's URI to '1'
unless it's '1' already. We need to alter name for that repository
when rsyncing it.

Ref:
https://mailman.suse.de/mlarch/SuSE/research/2016/research.2016.07/msg00111.html

Verification run: http://assam.suse.cz/tests/1682#step/crash/28.
@mnowaksuse
Copy link
Author

@sysrich It's just a unexpected zypper feature. See updated commit msg.

@sysrich
Copy link
Member

sysrich commented Jul 14, 2016

Ok, in the light of the new info, I'd like to see the rsync.pl do the renamining of Media3 to DebugInfo, then we can use that

@sysrich
Copy link
Member

sysrich commented Jul 21, 2016

According to what I've read on mailinglists, the new version of zypper in SP2 no longer has this behaviour..so we have nothing to do.. @mnowaksuse do you agree, or do you want us to do something? (I don't want to close this PR while you're on vacation)

@mnowaksuse
Copy link
Author

Agreed. From what I've seen the original problem is fixed.

@mnowaksuse mnowaksuse closed this Jul 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants