Skip to content

Mirror hangs and abort isn't possible #29349

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

Closed
somera opened this issue Feb 23, 2024 · 8 comments
Closed

Mirror hangs and abort isn't possible #29349

somera opened this issue Feb 23, 2024 · 8 comments
Labels

Comments

@somera
Copy link

somera commented Feb 23, 2024

Description

Just try to mirror this

https://github.com/testcontainers/testcontainers-dotnet-legacy.git

project.

It isn't wotking with 1.21.6 and on https://try.gitea.io/ .

image

There is no error in log. And you can't abbort it. Only possible way is to kill the cron task in the admin view (/admin/monitor/stacktrace?show=process).

Just run it and you can reproduce it.

Gitea Version

1.21.6

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

2.43.2

Operating System

Ubuntu 22.04.4 LTS x86_64

How are you running Gitea?

Downloaded gitea-1.21.6-linux-amd64

Database

PostgreSQL

@somera somera changed the title Mirror not possible and abort isn't possible Mirror hangs and abort isn't possible Feb 23, 2024
@somera
Copy link
Author

somera commented Feb 23, 2024

Still running on https://try.gitea.io/ .

image

@yp05327
Copy link
Contributor

yp05327 commented Feb 29, 2024

I successfully mirrored it both in try.gitea.io and local.
https://try.gitea.io/yp05327/testcontainers-dotnet-legacy

my options:
image

@yp05327
Copy link
Contributor

yp05327 commented Feb 29, 2024

I can reproduce it in 1.21.6 in windows.
image
The first error is mirror error, the rest of them happened when I click cancel button.

Then in 1.21.7, I can get same error but it will be mirrored successfully:
image

@yp05327
Copy link
Contributor

yp05327 commented Feb 29, 2024

The mirror is success, when access the home page, it froze in reading .editorconfig in GetEditorconfig
Maybe it is related to #29301. If I revert it, it will not froze in reading .editorconfig, but in editorconfig.ParseGraceful. 😕

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Feb 29, 2024

The mirror is success, when access the home page, it froze in reading .editorconfig in GetEditorconfig Maybe it is related to #29301. If I revert it, it will not froze in reading .editorconfig, but in editorconfig.ParseGraceful. 😕

The "frozen" bug should has been fixed by 1.21.7

Then in 1.21.7, I can get same error but it will be mirrored successfully:

It could be another bug (maybe a longstanding problem, not related to this issue)


To be clear: 1.21.7 on windows still hangs, right?

@somera
Copy link
Author

somera commented Feb 29, 2024

Works for me in 1.21.7 on Ubuntu.

@yp05327
Copy link
Contributor

yp05327 commented Feb 29, 2024

The "frozen" bug should has been fixed by 1.21.7

Ah, I tested in 1.21.6 on ubuntu, I will try it in 1.21.7

1.21.7 on windows still hangs, right?

In 1.21.7 on windows, I only got the error log, mirror didn't hang.

@yp05327
Copy link
Contributor

yp05327 commented Mar 1, 2024

Tried it again in 1.21.7, I got the error on windows (both git and gogit version), but not on ubuntu

...it/repo_attribute.go:315:func2() [E] Unable to open checker for b4cc5165369ba74d667d91dcc0b637a09bd05f74. Error: failed to run attr-check. Error: exit status 1
Stderr:

git version on windows is 2.40.0.windows.1

As this is another issue, I will create a new one.

@somera
I will close this issue, as it worked after upgrade to 1.21.7
Feel free to reopen it if you have any questions. 😄

@yp05327 yp05327 closed this as completed Mar 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants