Skip to content

Instantly share code, notes, and snippets.

View derekparker's full-sized avatar

Derek Parker derekparker

View GitHub Profile
2023-02-22T13:53:52.6329446Z Requested labels: ubuntu-latest
2023-02-22T13:53:52.6329494Z Job defined at: golang-fips/release/.github/workflows/test-ubi-centos.yml@refs/heads/main
2023-02-22T13:53:52.6329606Z Reusable workflow chain:
2023-02-22T13:53:52.6329636Z golang-fips/go/.github/workflows/gating.yml@refs/pull/79/merge (663a788e53b3bd20cd110beb0baaf0637652539a)
2023-02-22T13:53:52.6329694Z -> golang-fips/release/.github/workflows/test-ubi-centos.yml@refs/heads/main (3932650c15cc12d5f0b283291be21dbb2004c2b8)
2023-02-22T13:53:52.6329716Z Waiting for a runner to pick up this job...
2023-02-22T13:53:52.8803299Z Job is waiting for a hosted runner to come online.
2023-02-22T13:53:56.7571007Z Job is about to start running on the hosted runner: GitHub Actions 3 (hosted)
2023-02-22T13:53:59.3048081Z Current runner version: '2.301.1'
2023-02-22T13:53:59.3071203Z ##[group]Operating System
@derekparker
derekparker / err.txt
Created December 15, 2022 18:16
Go1.20rc1 stdlib shared build failure
WORK=/tmp/go-build3103895841
mkdir -p $WORK/b262/
cat >/tmp/go-build3103895841/b262/importcfg.link << 'EOF' # internal
packagefile runtime=/home/deparker/Code/go/pkg/linux_amd64_dynlink/runtime.a
packagefile archive/tar=/home/deparker/Code/go/pkg/linux_amd64_dynlink/archive/tar.a
packagefile archive/zip=/home/deparker/Code/go/pkg/linux_amd64_dynlink/archive/zip.a
packagefile bufio=/home/deparker/Code/go/pkg/linux_amd64_dynlink/bufio.a
packagefile bytes=/home/deparker/Code/go/pkg/linux_amd64_dynlink/bytes.a
packagefile compress/bzip2=/home/deparker/Code/go/pkg/linux_amd64_dynlink/compress/bzip2.a
packagefile compress/flate=/home/deparker/Code/go/pkg/linux_amd64_dynlink/compress/flate.a
```diff
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go
index d9eb9c3862..506f9799aa 100644
--- a/src/cmd/dist/test.go
+++ b/src/cmd/dist/test.go
@@ -1180,18 +1180,20 @@ func (t *tester) cgoTest(dt *distTest) error {
fmt.Println("No support for static linking found (lacks libc.a?), skip cgo static linking test.")
} else {
if goos != "android" {
- t.addCmd(dt, "misc/cgo/testtls", t.goTest(), "-ldflags", `-linkmode=external -extldflags "-static -pthread"`)
// default FIPSCipherSuites is the FIPS-allowed cipher suites,
// in preference order (most preferable first).
var defaultFIPSCipherSuites = []uint16{
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
TLS_RSA_WITH_AES_128_GCM_SHA256,
TLS_RSA_WITH_AES_256_GCM_SHA384,
sudo dnf install mock
Failed loading plugin: product-id
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 1:27:25 ago on Thu 20 Sep 2018 05:56:33 PM EDT.
Error:
%{?scl:%scl_package golang}
%{!?scl:%global pkg_name %{name}}
# build ids are not currently generated:
# https://code.google.com/p/go/issues/detail?id=5238
#
# also, debuginfo extraction currently fails with
# "Failed to write file: invalid section alignment"
%global debug_package %{nil}
---
document: modulemd
version: 1
data:
summary: Go
description: Go Tools and libraries
license:
module: [MIT]
dependencies:
- buildrequires:
document: modulemd
version: 1
data:
summary: Go
description: Go Tools and libraries
license:
module: [MIT]
dependencies:
- buildrequires:
platform: [el8]
140702516242032:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01:rsa_pk1.c:103:
140702516242032:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed:rsa_eay.c:773:
140702952433264:error:0407006A:rsa routines:RSA_padding_check_PKCS1_type_1:block type is not 01:rsa_pk1.c:103:
140702952433264:error:04067072:rsa routines:RSA_EAY_PUBLIC_DECRYPT:padding check failed:rsa_eay.c:773:
panic: boringcrypto: RSA_verify failed
➜ tls git:(use-openssl) ✗ $go test -run TestHandshakeServerRSAAES -v
=== RUN TestHandshakeServerRSAAES
--- FAIL: TestHandshakeServerRSAAES (0.00s)
handshake_server_test.go:598: Error from Server.Write: 'local error: tls: bad record MAC'
handshake_server_test.go:619: TLSv12-RSA-AES #4: unexpected EOF
Read 7, wanted 197, got 15030300020214, wanted 1403030001011603030040000000000000000000000000000000005127cd076e72c817bae7627cd04955e7e6c52c93395502f5fa9a7a6fc5796fff0f4bb93dad23c753ad132dd6da83d067170303004000000000000000000000000000000000f5093b69c21ff803781b1357ca9296ebf87130095a68014796b15b7db7575e700077bb55327bd9a5f7e2a86d4bd6bec6150303003000000000000000000000000000000000581ea014828de4c59235793b5e3afe9718db27197eb5148c01fb6ae42696e6de
FAIL
exit status 1
FAIL crypto/tls 0.019s