Skip to content

lint fix

lint fix #1101

Triggered via push August 21, 2023 18:19
Status Failure
Total duration 26m 7s
Artifacts 2

test.yaml

on: push
Generate build id for storage  /  Generate Build ID
9s
Generate build id for storage / Generate Build ID
Lint
4m 38s
Lint
Unit Tests
7m 28s
Unit Tests
Check codegen and manifest
2m 40s
Check codegen and manifest
[Trivy] Scan for vulnerabilities
2m 47s
[Trivy] Scan for vulnerabilities
Build images for e2e tests  /  Build remover image for e2e tests
2m 17s
Build images for e2e tests / Build remover image for e2e tests
Build images for e2e tests  /  Build trivy-scanner image for e2e tests
2m 39s
Build images for e2e tests / Build trivy-scanner image for e2e tests
Build images for e2e tests  /  Build manager image for e2e tests
2m 32s
Build images for e2e tests / Build manager image for e2e tests
Build images for e2e tests  /  Build collector image for e2e tests
3m 4s
Build images for e2e tests / Build collector image for e2e tests
Run e2e tests  /  Build E2E Test List
12s
Run e2e tests / Build E2E Test List
Matrix: Run e2e tests / E2E Tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 12 warnings
Lint: controllers/imagejob/imagejob_controller.go#L459
S1008: should use 'return containersFailed(&podList[i])' instead of 'if containersFailed(&podList[i]) { return true }; return false' (gosimple)
Lint
issues found
Run e2e tests / E2E Tests (1.25.11, ./test/e2e/tests/imagelist_rm_images)
Process completed with exit code 2.
Run e2e tests / E2E Tests (1.25.11, ./test/e2e/tests/imagelist_change)
Process completed with exit code 2.
Run e2e tests / E2E Tests (1.25.11, ./test/e2e/tests/collector_pipeline)
Process completed with exit code 2.
Run e2e tests / E2E Tests (1.26.6, ./test/e2e/tests/collector_pipeline)
Process completed with exit code 2.
Run e2e tests / E2E Tests (1.26.6, ./test/e2e/tests/imagelist_rm_images)
Process completed with exit code 2.
Run e2e tests / E2E Tests (1.27.3, ./test/e2e/tests/collector_pipeline)
Process completed with exit code 2.
Build images for e2e tests / Build remover image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Build images for e2e tests / Build manager image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Build images for e2e tests / Build trivy-scanner image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Build images for e2e tests / Build collector image for e2e tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Lint
Failed to save: uploadChunk (start: 167772160, end: 201326591) failed: Cache service responded with 500
Unit Tests
Restore cache failed: Dependencies file is not found in /home/runner/work/eraser/eraser. Supported file pattern: go.sum
Run e2e tests / E2E Tests (1.25.11, ./test/e2e/tests/imagelist_rm_images)
No files were found with the provided path: /home/runner/work/eraser/eraser/test_logs/. No artifacts will be uploaded.
Run e2e tests / E2E Tests (1.25.11, ./test/e2e/tests/collector_pipeline)
No files were found with the provided path: /home/runner/work/eraser/eraser/test_logs/. No artifacts will be uploaded.
Run e2e tests / E2E Tests (1.26.6, ./test/e2e/tests/collector_pipeline)
No files were found with the provided path: /home/runner/work/eraser/eraser/test_logs/. No artifacts will be uploaded.
Run e2e tests / E2E Tests (1.26.6, ./test/e2e/tests/imagelist_rm_images)
No files were found with the provided path: /home/runner/work/eraser/eraser/test_logs/. No artifacts will be uploaded.
Run e2e tests / E2E Tests (1.27.3, ./test/e2e/tests/imagelist_rm_images)
No files were found with the provided path: /home/runner/work/eraser/eraser/test_logs/. No artifacts will be uploaded.
Run e2e tests / E2E Tests (1.27.3, ./test/e2e/tests/collector_pipeline)
No files were found with the provided path: /home/runner/work/eraser/eraser/test_logs/. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size
docker-images-1692641999 Expired
126 MB
test_logs Expired
7.38 MB