-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Integration test failures #20207
Comments
I wondered it there was a surprise dependency that had crept int since point of Line 472 in 9d9bf66
But running both as CI runs them doesn't make the failure go away for me: https://gist.github.com/kousu/8b5449bdb222bbe2425fe01ad8a6a636 |
likely related to #17910. Please open a thread on the forum to discuss more, or hop into discord/matrix. |
Is #17910 what you meant to link? That issue is closed and marked duplicate of #17798. And anyway the test failures seem to be about missing repos, not missing permissions. I'll come ask you about it in matrix. By the way, I can reproduce this on 1.16.7 as well: https://gist.github.com/kousu/3281e5425e2b4b9276749443723f58e4. Is there something about my testing environment that's causing this? Is there a step I missed? (The docs don't mention anything special)) |
After examinining it, @techknowlogick seems to have been spot on. I have
with these signature algorithms:
notably But sqlite.ini commands gitea to load its own internal ssh server, which is golang's x/crypto/ssh which is buggy: it can't
There's pretty good writeups about the issue here and here. I was able to test by starting gitea manually and
and I could log in to http://localhost:3003 as 'user2' (using 'password' as the password), to add my own RSA and ED25519 keys to it; then confirm that it's the deprecation that's the problem:
"no mutual signature algorithm" is the key symptom of #17798. Meanwhile other key types are fine:
The easy workaround is enough for my purposes, which is just adding a new integration test:
Thanks for your time! |
Description
make sqlite-test
fails for several reasons. So doesmake sqlite-test#TestGit
.Mostly the failures seem to be because some repos aren't getting initialized at the right time.
Gitea Version
7c1f18a
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/kousu/ffb734722defa5df44f4e796f777a806
Screenshots
No response
Git Version
git version 2.34.1
Operating System
Ubuntu 22.04
How are you running Gitea?
upstream https://github.com/go-gitea/gitea/ (fetch)
as agit remote
git fetch upstream && git checkout upstream/main
git clean -xfd
TAGS="bindata sqlite sqlite_unlock_notify" make build
make test-sqlite
Database
SQLite
The text was updated successfully, but these errors were encountered: