Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix windows ut failure #2187

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

andyzhangx
Copy link
Member

What type of PR is this?
/kind failing-test

What this PR does / why we need it:
test: fix windows ut failure

=== RUN   TestListen
=== RUN   TestListen/unix_socket
E0215 11:49:32.625885    6960 utils.go:63] Failed to listen: listen unix /tmp/csi.sock: bind: A socket operation encountered a dead network.
    utils_test.go:270: Listen() error = listen unix /tmp/csi.sock: bind: A socket operation encountered a dead network., wantErr false
=== RUN   TestListen/tcp_socket
=== RUN   TestListen/invalid_endpoint
E0215 11:49:32.627284    6960 utils.go:47] Invalid endpoint: invalid://
=== RUN   TestListen/invalid_unix_socket
E0215 11:49:32.627284    6960 utils.go:63] Failed to listen: listen unix does/not/exist: bind: A socket operation encountered a dead network.
--- FAIL: TestListen (0.22s)
    --- FAIL: TestListen/unix_socket (0.22s)
    --- PASS: TestListen/tcp_socket (0.00s)
    --- PASS: TestListen/invalid_endpoint (0.00s)
    --- PASS: TestListen/invalid_unix_socket (0.00s)

Which issue(s) this PR fixes:

Fixes #

Requirements:

Special notes for your reviewer:

Release note:

none

@k8s-ci-robot k8s-ci-robot added kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 15, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andyzhangx

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 15, 2024
@andyzhangx andyzhangx removed the request for review from edreed February 15, 2024 13:51
@andyzhangx andyzhangx merged commit caf0571 into kubernetes-sigs:master Feb 15, 2024
15 of 25 checks passed
@andyzhangx
Copy link
Member Author

/cherrypick release-1.29

@andyzhangx
Copy link
Member Author

/cherrypick release-1.28

@andyzhangx
Copy link
Member Author

/cherrypick release-1.27

@andyzhangx
Copy link
Member Author

/cherrypick release-1.26

@k8s-infra-cherrypick-robot

@andyzhangx: #2187 failed to apply on top of branch "release-1.29":

Applying: test: fix windows ut failure
Using index info to reconstruct a base tree...
M	pkg/csi-common/utils_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/csi-common/utils_test.go
CONFLICT (content): Merge conflict in pkg/csi-common/utils_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 test: fix windows ut failure
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.29

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-infra-cherrypick-robot

@andyzhangx: #2187 failed to apply on top of branch "release-1.28":

Applying: test: fix windows ut failure
Using index info to reconstruct a base tree...
M	pkg/csi-common/utils_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/csi-common/utils_test.go
CONFLICT (content): Merge conflict in pkg/csi-common/utils_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 test: fix windows ut failure
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.28

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-infra-cherrypick-robot

@andyzhangx: #2187 failed to apply on top of branch "release-1.27":

Applying: test: fix windows ut failure
Using index info to reconstruct a base tree...
M	pkg/csi-common/utils_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/csi-common/utils_test.go
CONFLICT (content): Merge conflict in pkg/csi-common/utils_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 test: fix windows ut failure
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.27

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-infra-cherrypick-robot

@andyzhangx: #2187 failed to apply on top of branch "release-1.26":

Applying: test: fix windows ut failure
Using index info to reconstruct a base tree...
M	pkg/csi-common/utils_test.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/csi-common/utils_test.go
CONFLICT (content): Merge conflict in pkg/csi-common/utils_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 test: fix windows ut failure
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-1.26

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants