fix sentry wrapping #626
ci.yml
on: push
ci
/
...
/
set-go-matrix
0s
ci
/
...
/
set-go-matrix
0s
ci
/
actionlint
5s
ci
/
...
/
lint
2m 16s
ci
/
...
/
govulncheck
23s
Matrix: ci / codeql / CodeQL Analyze
Matrix: ci / build / build
Matrix: ci / test / test
Annotations
15 errors and 2 warnings
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-1139562782
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: U1hFc2xpT0lVeDBOYWx1T2pwRzdPb0ZHT0JWMGZ1dmE
wire_integration_test.go:237: account ID: u8NYbeKtkqM8qVyVX7RIncUT6kK6IhgJ
wire_integration_test.go:278: authzs IDs: [SrI6w114KrUPXS9HL0vNAfHuSSSFwY1w FfhHbaZjM0yPRa40eAZIMwnTySmWGjmB]
time="2024-11-25T14:47:39Z" level=warning msg="marking challenge gQJoSo8wH3GE1xcrgkB5sa4t8PRANI4b as invalid: keyAuthorization does not match; expected \"bPZZjLw8b2hcc75l6ZpFFkrHiEXhLSQw.zbsub1sSy-dO2qhUjqLlBc7Uv_wEnpsg4O7K63NBl-Y\", but got \"token.zbsub1sSy-dO2qhUjqLlBc7Uv_wEnpsg4O7K63NBl-Y\""
wire_integration_test.go:428: challenge: gQJoSo8wH3GE1xcrgkB5sa4t8PRANI4b invalid
time="2024-11-25T14:47:39Z" level=warning msg="marking challenge lSbyd4nLWjybEGUJTnA8o1lKbyLwnPMG 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: lSbyd4nLWjybEGUJTnA8o1lKbyLwnPMG invalid
wire_integration_test.go:452: updated challenge: gQJoSo8wH3GE1xcrgkB5sa4t8PRANI4b valid
wire_integration_test.go:452: updated challenge: lSbyd4nLWjybEGUJTnA8o1lKbyLwnPMG 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 / lint / lint:
acme/client.go#L147
nestingReduce: invert if cond, replace body with `continue`, move old body after the statement (gocritic)
|
ci / lint / lint:
cmd/step-agent/main.go#L159
unlambda: replace `func(c *cli.Context) error {
|
ci / lint / lint:
acme/api/handler.go#L175
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)
The job was canceled because "stable" failed.
|
ci / test / test (oldstable)
The operation was canceled.
|
ci / build / build (oldstable)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
ci / test / test (oldstable)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|