What this PR does / why we need it:
Cherry-pick multiple PRs.
Which issue(s) this PR fixes:
Fixes #
Testing
harbor-repo.vmware.com/velero/data-manager-for-plugin:xport-6-6e29034-26.Apr.2023.12.43.08
harbor-repo.vmware.com/velero/backup-driver:xport-6-6e29034-26.Apr.2023.12.43.08
harbor-repo.vmware.com/velero/velero-plugin-for-vsphere:xport-6-6e29034-26.Apr.2023.12.43.08
Running tests: ./pkg/...
go test ./pkg/... -timeout=300s
go: downloading github.com/stretchr/testify v1.7.1
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/apis/backupdriver/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/apis/datamover/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/backupdriver [no test files]
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/backuprepository 0.178s
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/builder [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/buildinfo [no test files]
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd 0.174s
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/backupdriver [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/backupdriver/cli/install [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/backupdriver/cli/server [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/datamgr [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/datamgr/cli/install [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/cmd/datamgr/cli/server [no test files]
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/common/vsphere 0.143s
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/constants [no test files]
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/controller 0.137s
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/dataMover [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/clientset/versioned [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/clientset/versioned/fake [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/clientset/versioned/scheme [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/clientset/versioned/typed/backupdriver/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/clientset/versioned/typed/backupdriver/v1alpha1/fake [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/clientset/versioned/typed/datamover/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/clientset/versioned/typed/datamover/v1alpha1/fake [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/crds [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/informers/externalversions [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/informers/externalversions/backupdriver [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/informers/externalversions/backupdriver/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/informers/externalversions/datamover [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/informers/externalversions/datamover/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/informers/externalversions/internalinterfaces [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/listers/backupdriver/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/generated/listers/datamover/v1alpha1 [no test files]
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/install [no test files]
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/ivd 0.091s
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/paravirt 0.166s
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/plugin [no test files]
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/plugin/util 0.074s
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/snapshotUtils 0.135s
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/snapshotmgr 0.070s
? github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/test [no test files]
ok github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/utils 0.070s
Success!
What this PR does / why we need it: Cherry-pick multiple PRs.
Which issue(s) this PR fixes: Fixes #
Testing
Special notes for your reviewer:
Does this PR introduce a user-facing change?: