Skip to content

fetch failure on git/2.20.1 #13

@olof

Description

@olof

Works on 2.34.1, fails on 2.20.1 (for various reasons, depending on if we run it locally or on github actions).

Github Actions run:

2023-07-11T18:42:54.2898518Z ok 1 - pushing srcd repo commit a131f18, exit status
2023-07-11T18:42:54.2899802Z Got:      <<<128>>>
2023-07-11T18:42:54.2901012Z Expected: <<<0>>>
2023-07-11T18:42:54.2902397Z not ok 2 - fetching after push, exit status
...
2023-07-11T18:42:55.1365953Z =NOTICE REPORT==== 11-Jul-2023::20:42:53.523891 ===
2023-07-11T18:42:55.1366092Z nak sent for initial clone, going for it
2023-07-11T18:42:55.1366349Z =INFO REPORT==== 11-Jul-2023::20:42:53.564670 ===
2023-07-11T18:42:55.1366537Z Erlang SSH server version: %VSN% (OpenSSL 1.1.1n  15 Mar 2022).
2023-07-11T18:42:55.1366653Z Address: 127.199.23.92:22222
2023-07-11T18:42:55.1366947Z Peer client version: "SSH-2.0-OpenSSH_7.9p1 Debian-10+deb10u2"
2023-07-11T18:42:55.1367069Z Peer address: 127.0.0.1:54716
2023-07-11T18:42:55.1367251Z Disconnects with code = 11 [RFC4253 11.1]: By application
2023-07-11T18:42:55.1367381Z State = {connected,server}
2023-07-11T18:42:55.1367548Z Module = ssh_connection_handler, Line = 757.
2023-07-11T18:42:55.1367648Z Details:
2023-07-11T18:42:55.1367816Z   Internal error: error:{badmatch,undefined}
2023-07-11T18:42:55.1367968Z Dubious, test returned 1 (wstat 256, 0x100)
2023-07-11T18:42:55.1368065Z Failed 20/21 subtests 

Local run:

...
# pushing fe03190
ok 19 - pushing srcd repo commit fe03190, exit status
Got:      <<<1>>>
Expected: <<<0>>>
not ok 20 - fetching after push, exit status
...
Erlang SSH server version: %VSN% (OpenSSL 3.0.2 15 Mar 2022).
Address: 127.199.23.92:22222
Peer client version: "SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.1"
Peer address: 127.0.0.1:59092
Disconnects with code = 11 [RFC4253 11.1]: By application
State = {connected,server}
Module = ssh_connection_handler, Line = 757.
Details:
  Internal error: error:{badmatch,undefined}
ERROR: warning: no common commits
Received disconnect from 127.199.23.92 port 22222:11: By application
Disconnected from 127.199.23.92 port 22222
Receiving objects: 100% (390/390), 586.73 KiB | 9.31 MiB/s, done.
leaving workdir /tmp/srcd-test-05-srcd_repo_commitwise_pushes.t-nICowP intact
Dubious, test returned 1 (wstat 256, 0x100)
Failed 2/21 subtests 

hello #8 my old friend

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-blockerlow prio stuff, only blocking ci

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions