Skip to content

OCPBUGS-24595: Cloudeventproxy 2 Card WPC not able to handle multiple dependency and multiple ts2phcs #930

OCPBUGS-24595: Cloudeventproxy 2 Card WPC not able to handle multiple dependency and multiple ts2phcs

OCPBUGS-24595: Cloudeventproxy 2 Card WPC not able to handle multiple dependency and multiple ts2phcs #930

Triggered via pull request November 30, 2023 20:51
Status Failure
Total duration 1m 34s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
Unit Tests: plugins/ptp_operator/metrics/metrics.go#L244
not enough arguments in call to ptpStats[interfaceType].GetStateState
Unit Tests
Process completed with exit code 2.
Linting: plugins/ptp_operator/metrics/logparser.go#L1
: # github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics
Linting: plugins/ptp_operator/metrics/metrics.go#L244
not enough arguments in call to ptpStats[interfaceType].GetStateState
Linting: plugins/ptp_operator/ptp_operator_plugin.go#L45
could not import github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics (-: # github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics
Linting: plugins/ptp_operator/metrics/metrics.go#L244
not enough arguments in call to ptpStats[interfaceType].GetStateState
Linting: plugins/ptp_operator/socket/socket_test.go#L10
could not import github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics (-: # github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics
Linting: plugins/ptp_operator/metrics/metrics.go#L244
not enough arguments in call to ptpStats[interfaceType].GetStateState
Linting: plugins/ptp_operator/stats/stats_test.go#L7
could not import github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics (-: # github.com/redhat-cne/cloud-event-proxy/plugins/ptp_operator/metrics
Linting: plugins/ptp_operator/metrics/metrics.go#L244
not enough arguments in call to ptpStats[interfaceType].GetStateState
Linting: plugins/ptp_operator/event/event.go#L215
unnecessary trailing newline (whitespace)
Linting: plugins/ptp_operator/event/event.go#L263
unnecessary trailing newline (whitespace)
Unit Tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linting: plugins/ptp_operator/event/event.go#L158
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
Linting: plugins/ptp_operator/event/event.go#L41
exported: exported type DependingClockState should have comment or be unexported (revive)