Skip to content

Support for the ONTAP volume "-is-preserve-unlink-enabled" flag with the ontap-nas backend #598

Support for the ONTAP volume "-is-preserve-unlink-enabled" flag with the ontap-nas backend

Support for the ONTAP volume "-is-preserve-unlink-enabled" flag with the ontap-nas backend #598

Triggered via pull request November 24, 2025 16:56
Status Failure
Total duration 8m 6s
Artifacts

github-actions.yml

on: pull_request
Matrix: unit
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 5 warnings
linters
Process completed with exit code 1.
unit tests ubuntu-latest: storage_drivers/ontap/ontap_common_test.go#L370
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.NewOntapAPIRESTFromRestClientInterface: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_common_test.go#L152
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.EnsureSVMWithRest: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_common_test.go#L121
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.EnsureSVMWithRest: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_common_test.go#L106
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.EnsureSVMWithRest: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_asa_test.go#L488
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_asa_test.go#L52
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_asa_test.go#L51
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in argument to newTestOntapASADriver: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_asa_nvme_test.go#L453
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_asa_nvme_test.go#L55
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
unit tests ubuntu-latest: storage_drivers/ontap/ontap_asa_nvme_test.go#L54
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in argument to newTestOntapASANVMeDriver: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
unit tests windows-latest
The strategy configuration was canceled because "unit.ubuntu-latest" failed
unit tests windows-latest
The operation was canceled.
unit tests windows-latest: internal/syswrap/unix/syscall.go#L15
undefined: unix.Statfs_t
unit tests macos-latest
The strategy configuration was canceled because "unit.ubuntu-latest" failed
unit tests macos-latest
The operation was canceled.
UT Code Coverage Report: storage_drivers/ontap/ontap_common_test.go#L370
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.NewOntapAPIRESTFromRestClientInterface: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_common_test.go#L152
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.EnsureSVMWithRest: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_common_test.go#L121
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.EnsureSVMWithRest: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_common_test.go#L106
cannot use mockRestClient (variable of type *mock_api.MockRestClientInterface) as "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface value in argument to api.EnsureSVMWithRest: *mock_api.MockRestClientInterface does not implement "github.com/netapp/trident/storage_drivers/ontap/api".RestClientInterface (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_asa_test.go#L488
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_asa_test.go#L52
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_asa_test.go#L51
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in argument to newTestOntapASADriver: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_asa_nvme_test.go#L453
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_asa_nvme_test.go#L55
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in assignment: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
UT Code Coverage Report: storage_drivers/ontap/ontap_asa_nvme_test.go#L54
cannot use mockAPI (variable of type *mock_api.MockOntapAPI) as "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI value in argument to newTestOntapASANVMeDriver: *mock_api.MockOntapAPI does not implement "github.com/netapp/trident/storage_drivers/ontap/api".OntapAPI (missing method PreserveUnlinkSet)
linters
Restore cache failed: Dependencies file is not found in /home/runner/work/trident/trident. Supported file pattern: go.sum
unit tests ubuntu-latest
Restore cache failed: Dependencies file is not found in /home/runner/work/trident/trident. Supported file pattern: go.sum
unit tests windows-latest
Restore cache failed: Dependencies file is not found in D:\a\trident\trident. Supported file pattern: go.sum
unit tests macos-latest
Restore cache failed: Dependencies file is not found in /Users/runner/work/trident/trident. Supported file pattern: go.sum
UT Code Coverage Report
No files were found with the provided path: Linux-coverage.out cobertura-coverage.xml code-coverage-results.md. No artifacts will be uploaded.