Skip to content

lint, tests

lint, tests #9444

Triggered via push November 8, 2024 12:25
Status Failure
Total duration 6m 49s
Artifacts 5

ci.yml

on: push
test  /  Golang Unit Tests
2m 32s
test / Golang Unit Tests
test  /  Golang Integration Tests
6m 4s
test / Golang Integration Tests
All required checks done
0s
All required checks done
Fit to window
Zoom out
Zoom in

Annotations

19 errors
lint / Lint Go: cmd/simulator/cmd/root.go#L9
could not import github.com/armadaproject/armada/internal/scheduler/simulator/sink (-: # github.com/armadaproject/armada/internal/scheduler/simulator/sink
lint / Lint Go: internal/scheduler/simulator/sink/queue_stats_writer.go#L93
sctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)
lint / Lint Go: internal/scheduler/simulator/sink/queue_stats_writer.go#L94
qctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)
lint / Lint Go: internal/scheduler/simulator/sink/queue_stats_writer.go#L99
qctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)) (typecheck)
lint / Lint Go: internal/scheduler/internaltypes/resource_list_map_util_test.go#L6
File is not `goimports`-ed with -local github.com/armadaproject/armada (goimports)
lint / Lint Go: internal/scheduler/scheduling/context/scheduling_test.go#L18
File is not `gofumpt`-ed (gofumpt)
lint / Lint Go: internal/scheduler/scheduling/fairness/fairness.go#L33
type `resourceToConsider` is unused (unused)
lint / Lint Go: internal/scheduler/simulator/simulator.go#L39
could not import github.com/armadaproject/armada/internal/scheduler/simulator/sink (-: # github.com/armadaproject/armada/internal/scheduler/simulator/sink
lint / Lint Go: internal/scheduler/simulator/sink/queue_stats_writer.go#L93
sctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)
lint / Lint Go: internal/scheduler/simulator/sink/queue_stats_writer.go#L94
qctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)
TestMain: TestMain#L1
Failed
TestMain: TestMain#L1
Failed
TestMain: TestMain#L1
Failed
TestMain: TestMain#L1
Failed
test / Golang Unit Tests
❌ Tests reported 4 failures
test / Golang Unit Tests: internal/scheduler/simulator/sink/queue_stats_writer.go#L93
sctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)
test / Golang Unit Tests: internal/scheduler/simulator/sink/queue_stats_writer.go#L94
qctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)
test / Golang Unit Tests: internal/scheduler/simulator/sink/queue_stats_writer.go#L99
qctx.Allocated.Resources undefined (type internaltypes.ResourceList has no field or method Resources, but does have unexported field resources)
test / Golang Unit Tests
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
docker-compose-logs
106 KB
go-integration-test-reports
1.45 KB
go-unit-test-reports
2.74 MB
nupkg-artifacts
382 KB
ts-unit-test-reports
3.72 KB