Skip to content

Conversation

@SystemKeeper
Copy link
Contributor

@SystemKeeper SystemKeeper commented Apr 30, 2025

The samba kerberos tests have become flaky "lately". After some debugging, it became clear, that samba in the dc container is not running when the tests are failing. The reason is that on start / restart of samba, the port 389 is still being used which terminates samba.

See https://github.com/nextcloud/server/actions/runs/14765943837/job/41457286732#step:6:124 for a debug run.
So there's no problem with the test itself, but with the test environment. The real fix seems to be icewind1991/samba-krb-test#8.

For now we can also ensure that samba is running to not fail the tests.

@SystemKeeper SystemKeeper force-pushed the fix/noid/flaky-sso-tests branch from 9df2c85 to 99d23a4 Compare May 1, 2025 09:16
@SystemKeeper SystemKeeper changed the title Debug SSO tests fix: Flaky samba kerberos tests May 1, 2025
@SystemKeeper
Copy link
Contributor Author

/backport to stable31

@SystemKeeper
Copy link
Contributor Author

/backport to stable30

@SystemKeeper SystemKeeper marked this pull request as ready for review May 1, 2025 09:52
@SystemKeeper SystemKeeper requested a review from a team as a code owner May 1, 2025 09:52
@SystemKeeper SystemKeeper requested review from Altahrim, artonge and sorbaugh and removed request for a team May 1, 2025 09:52
Copy link
Contributor

@kesselb kesselb left a comment

Choose a reason for hiding this comment

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

Thank you 🙏

@skjnldsv skjnldsv merged commit 8b07a9b into master May 1, 2025
210 of 219 checks passed
@skjnldsv skjnldsv deleted the fix/noid/flaky-sso-tests branch May 1, 2025 14:13
@backportbot
Copy link

backportbot bot commented May 1, 2025

The backport to stable30 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable30
git pull origin stable30

# Create the new backport branch
git checkout -b backport/52572/stable30

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 3cf7b8dd 99d23a43

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/52572/stable30

Error: Failed to push branch backport/52572/stable30: remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/nextcloud/server.git/'


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@SystemKeeper
Copy link
Contributor Author

/backport to stable30

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