Repository: go
Issue: x/review/git-codereview: failures with `Gerrit server` or `Gerrit response`
Labels: NeedsInvestigation

```
#!watchflakes
post <- pkg == "golang.org/x/review/git-codereview" && `Gerrit (server|response)`
```

Issue created automatically to collect these failures.

Example ([log](https://build.golang.org/log/241a4ffdfd712afbb152208b37cdd09ea414ddb2)):

    git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
    git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
    git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
    git-codereview: fetch /a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789: Get "/a/changes/?o=DETAILED_LABELS&o=CURRENT_REVISION&o=MESSAGES&o=DETAILED_ACCOUNTS&q=change%3Atmp%2Fworkdir%2Ftmp%2Fgit-codereview-test877253591%2Fgit-origin~main~I123456789": unsupported protocol scheme ""
    git-codereview: fetch /a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: change not found on Gerrit server
    Gerrit response:
    404 page not found
    
    git-codereview: fetch /a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: http://127.0.0.1:64216/a/changes/proj~main~I123456789?o=LABELS&o=CURRENT_REVISION: malformed json response
    Gerrit response:
    ...
    --- FAIL: TestSubmit (4.56s)
        submit_test.go:139: > submit
        submit_test.go:164: git-codereview submit -n
        submit_test.go:164: stderr:
            git-codereview: submitting fa0b2b3 msg
            git push -q origin HEAD:refs/for/main
            git-codereview: stopped before submit
            git fetch -q
            git checkout -q -B work  --
        submit_test.go:168: git-codereview pending -c -l
    ...
    
            	Files in this change:
            		file
    
        submit_test.go:172: git-codereview submit
        util_test.go:360: died
            stdout:
            stderr:
            git-codereview: submitting fa0b2b3 msg
            git-codereview: cannot submit: timed out waiting for change to be submitted by Gerrit


— [watchflakes](https://go.dev/wiki/Watchflakes)