-
Notifications
You must be signed in to change notification settings - Fork 186
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
Ci add scc mirror #9490
base: master
Are you sure you want to change the base?
Ci add scc mirror #9490
Conversation
👋 Hello! Thanks for contributing to our project. If you are unsure the failing tests are related to your code, you can check the "reference jobs". These are jobs that run on a scheduled time with code from master. If they fail for the same reason as your build, it means the tests or the infrastructure are broken. If they do not fail, but yours do, it means it is related to your code. Reference tests: KNOWN ISSUES Sometimes the build can fail when pulling new jar files from download.opensuse.org . This is a known limitation. Given this happens rarely, when it does, all you need to do is rerun the test. Sorry for the inconvenience. For more tips on troubleshooting, see the troubleshooting guide. Happy hacking! |
53e3604
to
4e8cdb8
Compare
Suggested tests to cover this Pull Request
|
This adds 14% more tests, compared to the ones that run on master with gh actions vs master with jenkins. We will be at 56% , aprox. |
972a023
to
09cb433
Compare
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
to be removed later
* Configure the server to use SCC mirror * Review tests: * Review base channels for sle minions * Review activation keys * Sync channels * Enable tests that now pass, related to channels, and other tests that now pass * Fix: cobbler "get logs". Remote and local file can't have the same name, because containers share tmp volume * Review default channels for uyuni and sle (in constants.rb) * Fix buildhost There are some things left for a new iteration: * i586 archs * SUSE Manager related channels in SCC mirror * Build profiles * Patches and CVEs in SCC mirror * Some tests that still fail CI: remove mgrctl from server container, or the testsuite things this is the server host fixes SUSE/spacewalk#25220 Signed-off-by: Jordi Massaguer Pla <[email protected]>
09cb433
to
333ecc5
Compare
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Scenario: Add openSUSE Leap 15.5 product, including Uyuni Client Tools fails from time to time. Mirroring the uyuni client tools repos will add stability. I have added this in https://github.com/SUSE/spacewalk/issues/25950 |
Tests passed once. Triggering a second run to test stability. |
tests passed. Triggering again... |
one failure:
|
triggering again.... |
Now it passed... |
Now it passed |
it passed again |
The repos are defined here https://github.com/uyuni-project/uyuni/blob/master/utils/spacewalk-common-channels.ini#L1238 |
I am not sure how to proceed here. Alternatives:
|
Signed-off-by: Jordi Massaguer Pla <[email protected]>
when running reposync for a sle channel, the url points to the local mirror:
however, when running reposync for an opensuse channel (that was added with spacewalk-common-channels), points to download.opensuse.org
We see the same behaviour in our internal testing with sumaform. @mcalmer : Is this expected? Can we make reposync get the opensuse channels from /mirror ? |
yes, we do a URL re-write to a local mirror only for vendor channels which come from SCC. The easiest option: write your own spacewalk-common-channels.ini file and reference it with the |
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
Signed-off-by: Jordi Massaguer Pla <[email protected]>
What does this PR change?
add description
GUI diff
No difference.
Before:
After:
Documentation
No documentation needed: add explanation. This can't be used if there is a GUI diff
No documentation needed: only internal and user invisible changes
Documentation issue was created: Link for SUSE Manager contributors, Link for community contributors.
API documentation added: please review the Wiki page Writing Documentation for the API if you have any changes to API documentation.
(OPTIONAL) Documentation PR
DONE
Test coverage
ℹ️ If a major new functionality is added, it is strongly recommended that tests for the new functionality are added to the Cucumber test suite
No tests: add explanation
No tests: already covered
Unit tests were added
Cucumber tests were added
DONE
Links
Issue(s): #
Port(s): # add downstream PR(s), if any
Changelogs
Make sure the changelogs entries you are adding are compliant with https://github.com/uyuni-project/uyuni/wiki/Contributing#changelogs and https://github.com/uyuni-project/uyuni/wiki/Contributing#uyuni-projectuyuni-repository
If you don't need a changelog check, please mark this checkbox:
If you uncheck the checkbox after the PR is created, you will need to re-run
changelog_test
(see below)Re-run a test
If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run:
Before you merge
Check How to branch and merge properly!