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

git: cloning a branch with German Umlauts in it's name fails due to encoding problems #7487

Open
reuther-verifysoft opened this issue Mar 25, 2024 · 0 comments
Labels

Comments

@reuther-verifysoft
Copy link

Versions

  • Buildbot version: 3.11.1
  • Twisted version: 23.10.0
  • Python version: 3.11.8

Setup

  • No special configuration changes in buildbot.tac
  • Master is running on macOS, Clients are running on macOS. Linux, Windows 11
  • Using git repository
  • Branch name is 'feature/Fehlende_Rückkehr_in_Datei' (mind the umlaut)

Problem

  1. Builds for branch 'feature/Fehlende_Rückkehr_in_Datei' are startet via GitPoller / SingleBranchScheduler.
  2. git checkouts (and whole builds) succeed for Linux and macOS Workers
  3. git checkout fails for Windows 11 worker
  4. Other branch names (no Umlauts or similiar) succeed on Windows also

Log message in twisted.log on Windows worker suggests an encoding problem:

2024-03-25 10:58:56+0100 [Broker,client] (command ['git', 'clone', '--branch', 'Fehlende_Header-Rückkehr_in_Datei', 'http://builduser@FS01:3000/foo/bar.git', '.', '--progress']):   using PTY: False
2024-03-25 10:58:57+0100 [-] (command ['git', 'clone', '--branch', 'feature/Fehlende_Rückkehr_in_Datei', 'http://builduser@FS01:3000/foo/bar.git', '.', '--progress']): command finished with signal None, exit code 128, elapsedTime: 0.829536
2024-03-25 10:58:57+0100 [-] (command 138): ProtocolCommandBase.command_complete (success) <buildbot_worker.commands.shell.WorkerShellCommand object at 0x0000017D058028F0>
@p12tic p12tic added the bug label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants