chore: upgrade packages #645
ci.yml
on: push
ci
/
...
/
set-go-matrix
0s
ci
/
...
/
set-go-matrix
0s
ci
/
actionlint
4s
ci
/
...
/
lint
2m 22s
ci
/
...
/
govulncheck
1m 0s
Matrix: ci / codeql / CodeQL Analyze
Matrix: ci / build / build
Matrix: ci / test / test
Annotations
19 errors and 9 warnings
ci / codeql / CodeQL Analyze (go)
could not import C (no metadata for C)
|
ci / lint / lint:
cmd/step-agent/main.go#L159
unlambda: replace `func(c *cli.Context) error {
|
ci / lint / lint:
acme/client.go#L147
nestingReduce: invert if cond, replace body with `continue`, move old body after the statement (gocritic)
|
ci / lint / lint:
acme/api/handler.go#L176
typeAssertChain: rewrite if-else to type switch statement (gocritic)
|
ci / lint / lint:
cmd/step-agent/main.go#L105
`marshalling` is a misspelling of `marshaling` (misspell)
|
ci / lint / lint:
acme/validation/client.go#L9
exported: type name will be used as validation.ValidationResponse by other packages, and that stutters; consider calling this Response (revive)
|
ci / lint / lint:
acme/validation/client.go#L15
exported: type name will be used as validation.ValidationRequest by other packages, and that stutters; consider calling this Request (revive)
|
ci / lint / lint:
acme/validation/client.go#L57
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
ci / lint / lint:
cas/sectigocas/eab/client.go#L30
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
ci / lint / lint:
cas/vaultcas/vaultcas.go#L178
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
ci / lint / lint:
acme/client.go#L80
var-declaration: should omit type [5]time.Duration from declaration of var timeouts; it will be inferred from the right-hand side (revive)
|
ci / test / test (oldstable):
acme/TestChallenge_Validate/challenge_test.go#L1407
challenge_test.go:1407:
Error Trace: /home/runner/work/pki-acme-service/pki-acme-service/acme/challenge_test.go:1407
Error: Received unexpected error:
unexpected challenge type ""
Test: TestChallenge_Validate/fail/already-invalid
---
|
ci / test / test (oldstable):
acme/wire_integration_test.go#L137
wire_integration_test.go:137: database file name: /tmp/integration-db-250417949
wire_integration_test.go:190: directory: {https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-nonce https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-account https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-order https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/revoke-cert https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/key-change <nil>}
wire_integration_test.go:203: nonce: YndnV1VYQXdqRlM0dzdXUER0YWczZmNtQ2dpYzRUeXY
wire_integration_test.go:237: account ID: cYuodgbvJC12yQTKws86qjLBbwuXCenq
wire_integration_test.go:278: authzs IDs: [Hh4nUTgWFXCeinhw5QFEueChCFGF32ge ouA9MKfPDUYwNgDnAv9lrE0bJDXpeKa2]
time="2024-12-13T06:27:16Z" level=warning msg="marking challenge zZEht53fK2imQvzRqKZ6mNEA5nb39Kg7 as invalid: keyAuthorization does not match; expected \"ZkCvlwAYAtMr4g3KC6srPb0mK1fKOSx8.vc0bu_9f1Tdkbpescxhf3xFtI_cyithinKTzo3mzA5Q\", but got \"token.vc0bu_9f1Tdkbpescxhf3xFtI_cyithinKTzo3mzA5Q\""
wire_integration_test.go:428: challenge: zZEht53fK2imQvzRqKZ6mNEA5nb39Kg7 invalid
time="2024-12-13T06:27:16Z" level=warning msg="marking challenge YCvhtmKJSvwDAGr1cYWicDLP5jRhGr2c as invalid: failed validating Wire access token: failed validation: go-jose/go-jose/jwt: validation failed, invalid audience claim (aud)"
wire_integration_test.go:428: challenge: YCvhtmKJSvwDAGr1cYWicDLP5jRhGr2c invalid
wire_integration_test.go:452: updated challenge: zZEht53fK2imQvzRqKZ6mNEA5nb39Kg7 valid
wire_integration_test.go:452: updated challenge: YCvhtmKJSvwDAGr1cYWicDLP5jRhGr2c valid
wire_integration_test.go:490: updated order status: ready
wire_integration_test.go:580:
Error Trace: /home/runner/work/pki-acme-service/pki-acme-service/acme/api/wire_integration_test.go:580
/home/runner/work/pki-acme-service/pki-acme-service/acme/api/wire_integration_test.go:586
Error: Not equal:
expected: "valid"
actual : "processing"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-(acme.Status) (len=5) "valid"
+(acme.Status) (len=10) "processing"
Test: TestWireIntegration
---
|
ci / test / test (oldstable):
test/requestid_test.go#L139
requestid_test.go:139:
Error Trace: /home/runner/work/pki-acme-service/pki-acme-service/test/integration/requestid_test.go:139
Error: Received unexpected error:
client GET https://localhost:41097/health failed: dial tcp [::1]:41097: connect: connection refused
Test: Test_reflectRequestID
2024/12/13
|
ci / test / test (oldstable)
Process completed with exit code 2.
|
ci / test / test (stable)
The job was canceled because "oldstable" failed.
|
ci / test / test (stable):
acme/TestChallenge_Validate/challenge_test.go#L1407
challenge_test.go:1407:
Error Trace: /home/runner/work/pki-acme-service/pki-acme-service/acme/challenge_test.go:1407
Error: Received unexpected error:
unexpected challenge type ""
Test: TestChallenge_Validate/fail/already-invalid
---
|
ci / test / test (stable):
acme/wire_integration_test.go#L137
wire_integration_test.go:137: database file name: /tmp/integration-db-1502913320
wire_integration_test.go:190: directory: {https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-nonce https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-account https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/new-order https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/revoke-cert https://test.ca.smallstep.com/acme/test@acme-%3Ctest%3Eprovisioner.com/key-change <nil>}
wire_integration_test.go:203: nonce: cm1abU9nYjhmTmF2UXBleXFNYmtPbjZ4cjFpanAyaFE
wire_integration_test.go:237: account ID: 9Rwxpq0om4TUMFqM1oO9vOENEmVthCM0
wire_integration_test.go:278: authzs IDs: [qtuzFjOiVfNjD9kZ5lLt9bE8cYPb1ste kLuH0x02GUfFCRz6UWMuCDtYmDIlRy9u]
time="2024-12-13T06:27:18Z" level=warning msg="marking challenge aA80wRxczi41Xb4gOIQDwzMtlyMptsBm as invalid: keyAuthorization does not match; expected \"PXZFJneKrb3OY66Xri3DYUIQLDlxtVkJ.8H1FBgNFtFEEL-jwb3vBbyIs739NIicXG809DrR_7Uw\", but got \"token.8H1FBgNFtFEEL-jwb3vBbyIs739NIicXG809DrR_7Uw\""
wire_integration_test.go:428: challenge: aA80wRxczi41Xb4gOIQDwzMtlyMptsBm invalid
time="2024-12-13T06:27:18Z" level=warning msg="marking challenge K9o4zSP4sttHlxBnUCIshAYcal8zDmVq as invalid: failed validating Wire access token: failed validation: go-jose/go-jose/jwt: validation failed, invalid audience claim (aud)"
wire_integration_test.go:428: challenge: K9o4zSP4sttHlxBnUCIshAYcal8zDmVq invalid
wire_integration_test.go:452: updated challenge: aA80wRxczi41Xb4gOIQDwzMtlyMptsBm valid
wire_integration_test.go:452: updated challenge: K9o4zSP4sttHlxBnUCIshAYcal8zDmVq valid
wire_integration_test.go:490: updated order status: ready
wire_integration_test.go:580:
Error Trace: /home/runner/work/pki-acme-service/pki-acme-service/acme/api/wire_integration_test.go:580
/home/runner/work/pki-acme-service/pki-acme-service/acme/api/wire_integration_test.go:586
Error: Not equal:
expected: "valid"
actual : "processing"
Diff:
--- Expected
+++ Actual
@@ -1,2 +1,2 @@
-(acme.Status) (len=5) "valid"
+(acme.Status) (len=10) "processing"
Test: TestWireIntegration
---
|
ci / test / test (stable)
Process completed with exit code 2.
|
ci / build / set-go-matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / test / set-go-matrix
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / actionlint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / govulncheck / govulncheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / build / build (stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / codeql / CodeQL Analyze (go)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / lint / lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / test / test (oldstable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci / build / build (oldstable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|