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

avoid git.qemu.org #876

Merged
merged 1 commit into from
May 4, 2021
Merged

avoid git.qemu.org #876

merged 1 commit into from
May 4, 2021

Conversation

timsnyder-siv
Copy link
Contributor

Type of change: other enhancement

Impact: other

Release Notes

git.qemu.org seems to be down or under heavy load. Latest qemu
seems to have changed it's .gitmodules to use gitlab. Since we're
using a github.com mirror, when cloning qemu use rewrite rules to
use github instead of git.qemu.org. Also install the rewrite rules
recursively into the local config of qemu and it's submodules so
that any further git commands done interactively by the user
will also use github.

Failures to connect to git.qemu.org have caused FireSim CI to fail all day today.

git.qemu.org seems to be down or under heavy load. Latest qemu
seems to have changed it's .gitmodules to use gitlab.  Since we're
using a github.com mirror, when cloning qemu use rewrite rules to
use github instead of git.qemu.org.  Also install the rewrite rules
recursively into the local config of qemu and it's submodules so
that any further git commands done interactively by the user
will also use github.
Copy link
Contributor

@davidbiancolin davidbiancolin left a comment

Choose a reason for hiding this comment

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

It's breaking CY CI as well. I

@davidbiancolin
Copy link
Contributor

Might be worth adding a note reminding us we can remove this once we bump far enough.

@timsnyder-siv
Copy link
Contributor Author

I thought about a note, or about checking toolchains/qemu/.gitmodules for the offending url and printing a message to remove it when it's no longer needed. I can add that in a followup. I'd like to just let the CI finish if it is going to and merge this.

Copy link
Contributor

@abejgonzalez abejgonzalez left a comment

Choose a reason for hiding this comment

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

LGTM

@timsnyder-siv timsnyder-siv merged commit c4e2e12 into dev May 4, 2021
timsnyder-siv pushed a commit to firesim/firesim that referenced this pull request May 4, 2021
@timsnyder-siv timsnyder-siv deleted the avoid_git.qemu.org branch May 4, 2021 15:54
timsnyder-siv pushed a commit that referenced this pull request May 4, 2021
In #876 (comment)
it was requested that we add a note to build-toolchains.sh saying that the
url rewrites can be removed.  I went a step further and made it self-checking.

Once qemu is bumped far enough that none of it's submodules come from
git.qemu.org, then the test added in this commit will fail CI during the bump PR
and everyone will be reminded to remove the url renaming rules and change
module_build back to module_all for qemu.
timsnyder-siv added a commit that referenced this pull request May 5, 2021
In #876 (comment)
it was requested that we add a note to build-toolchains.sh saying that the
url rewrites can be removed.  I went a step further and made it self-checking.

Once qemu is bumped far enough that none of it's submodules come from
git.qemu.org, then the test added in this commit will fail CI during the bump PR
and everyone will be reminded to remove the url renaming rules and change
module_build back to module_all for qemu.

Co-authored-by: Tim Snyder <[email protected]>
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.

4 participants