mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
test-unit: Use older git/curl/libcurl3-gnutls
buster-backports has a libcurl3-gnutls=7.74.0-1.2~bpo10+1 regression that causes this error: ``` root@86c99eb1984b:/__w/e107/e107# GIT_CURL_VERBOSE=1 GIT_TRACE=1 /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +c0385ad7ac0b226971fd875db2b1f36ea119164c:refs/remotes/origin/master 20:25:00.030675 git.c:444 trace: built-in: git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +c0385ad7ac0b226971fd875db2b1f36ea119164c:refs/remotes/origin/master 20:25:00.030913 run-command.c:663 trace: run_command: GIT_DIR=.git git remote-https origin https://github.com/e107inc/e107 20:25:00.032174 git.c:729 trace: exec: git-remote-https origin https://github.com/e107inc/e107 20:25:00.032264 run-command.c:663 trace: run_command: git-remote-https origin https://github.com/e107inc/e107 20:25:00.037725 http.c:756 == Info: Couldn't find host github.com in the .netrc file; using defaults 20:25:00.086739 http.c:756 == Info: Trying 140.82.112.3:443... 20:25:00.138406 http.c:756 == Info: Connected to github.com (140.82.112.3) port 443 (#0) 20:25:00.161613 http.c:756 == Info: found 411 certificates in /etc/ssl/certs 20:25:00.161658 http.c:756 == Info: ALPN, offering h2 20:25:00.161663 http.c:756 == Info: ALPN, offering http/1.1 20:25:00.211239 http.c:756 == Info: SSL connection using TLS1.3 / ECDHE_RSA_AES_128_GCM_SHA256 20:25:00.212011 http.c:756 == Info: server certificate verification OK 20:25:00.212024 http.c:756 == Info: server certificate status verification SKIPPED 20:25:00.212136 http.c:756 == Info: common name: github.com (matched) 20:25:00.212149 http.c:756 == Info: server certificate expiration date OK 20:25:00.212156 http.c:756 == Info: server certificate activation date OK 20:25:00.212172 http.c:756 == Info: certificate public key: EC/ECDSA 20:25:00.212179 http.c:756 == Info: certificate version: #3 20:25:00.212218 http.c:756 == Info: subject: C=US,ST=California,L=San Francisco,O=GitHub\, Inc.,CN=github.com 20:25:00.212232 http.c:756 == Info: start date: Thu, 25 Mar 2021 00:00:00 GMT 20:25:00.212243 http.c:756 == Info: expire date: Wed, 30 Mar 2022 23:59:59 GMT 20:25:00.212265 http.c:756 == Info: issuer: C=US,O=DigiCert\, Inc.,CN=DigiCert High Assurance TLS Hybrid ECC SHA256 2020 CA1 20:25:00.212282 http.c:756 == Info: ALPN, server accepted to use h2 20:25:00.212343 http.c:756 == Info: Using HTTP2, server supports multi-use 20:25:00.212352 http.c:756 == Info: Connection state changed (HTTP/2 confirmed) 20:25:00.212361 http.c:756 == Info: Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0 20:25:00.212372 http.c:756 == Info: Failed sending HTTP2 data 20:25:00.212382 http.c:756 == Info: Connection #0 to host github.com left intact fatal: unable to access 'https://github.com/e107inc/e107/': Failed sending HTTP2 data ``` Downgrading to libcurl3-gnutls=7.64.0-4+deb10u2 resolves the problem.
This commit is contained in:
4
.github/workflows/test-unit.yml
vendored
4
.github/workflows/test-unit.yml
vendored
@@ -65,7 +65,9 @@ jobs:
|
||||
grep -m1 -P '^deb http://deb.debian.org/debian [a-z]+ main' /etc/apt/sources.list |
|
||||
awk '{print $3}'
|
||||
)
|
||||
apt-get -t "${DEBIAN_RELEASE}-backports" install -y git zip libzip-dev libbz2-dev libpng-dev libjpeg-dev libwebp-dev libvpx-dev
|
||||
USE_GIT_BPO="$(. /etc/os-release && test $VERSION_ID -lt 10 && echo "-t ${DEBIAN_RELEASE}-backports" || echo)"
|
||||
apt-get $USE_GIT_BPO install -y git
|
||||
apt-get -t "${DEBIAN_RELEASE}-backports" install -y zip libzip-dev libbz2-dev libpng-dev libjpeg-dev libwebp-dev libvpx-dev
|
||||
|
||||
- name: Configure PHP gd extension with default bundle
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user