Draft: Add extra logging for test #6389
ci.yml
on: pull_request
Build Unsigned Snapshot
3m 50s
Cache Dependencies
0s
Lint
2m 24s
Unit Tests
3m 2s
Unit tests with race condition detection
3m 26s
Matrix: Integration Tests
Matrix: Integration Tests - Official OSS Images
Matrix: Integration Tests - Official Plus Images
Matrix: Metrics Integration Tests - Official OSS Images
Matrix: Metrics Integration Tests - Official Plus Images
Matrix: Upgrade Tests
Annotations
12 errors and 4 warnings
|
Lint
issues found
|
|
Lint:
internal/watcher/file/file_watcher_service.go#L60
cognitive-complexity: function (*FileWatcherService).Watch has cognitive complexity 15 (> max enabled 12) (revive)
|
|
Lint:
internal/resource/resource_service.go#L232
bool-literal-in-expr: omit Boolean literal in expression (revive)
|
|
Lint:
internal/file/file_manager_service.go#L270
empty-lines: extra empty line at the start of a block (revive)
|
|
Lint:
internal/resource/resource_service.go#L275
return with no blank line before (nlreturn)
|
|
Lint:
internal/resource/resource_service.go#L273
The line is 134 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Lint:
internal/file/file_plugin.go#L205
The line is 138 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Lint:
internal/file/file_manager_service.go#L271
File is not properly formatted (gofumpt)
|
|
Lint:
internal/resource/resource_service.go#L199
cognitive complexity 22 of func `(*ResourceService).ApplyConfig` is high (> 20) (gocognit)
|
|
Lint:
internal/resource/resource_service.go#L278
unexported method "manifestFile" for struct "ResourceService" should be placed after the exported method "UpdateHTTPUpstreamServers" (funcorder)
|
|
Metrics Integration Tests - Official Plus Images (alpine, 3.21, r34, alpine, /nginx-plus/agent)
Process completed with exit code 2.
|
|
Upgrade Tests (ubuntu, 24.04)
Process completed with exit code 2.
|
|
JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals:
test/docker/load/Dockerfile#L54
JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals
More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
|
|
The 'as' keyword should match the case of the 'from' keyword:
test/docker/load/Dockerfile#L78
FromAsCasing: 'as' and 'FROM' keywords' casing do not match
More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
|
|
The 'as' keyword should match the case of the 'from' keyword:
test/docker/load/Dockerfile#L56
FromAsCasing: 'as' and 'FROM' keywords' casing do not match
More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
|
|
JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals:
test/docker/load/Dockerfile#L76
JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals
More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
load-test-results
Expired
|
387 Bytes |
sha256:7c19ac8811446314579216f2cf2bcd3ae2cfd2b2c68c77c186834615391256d3
|
|
|
nginx-agent-unsigned-snapshots
Expired
|
71.5 MB |
sha256:777f6a97aaa8e8d958e088bdeed1304edf03b47f001125860a97c055b8a95efe
|
|
|
nginx~agent~IV1Q7S.dockerbuild
Expired
|
305 KB |
sha256:65081da52c4e4f83d1bfa657982b975c4f20dc3d5f9c9d124b72548ed7902c09
|
|