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

[Testpattern: Pre-provisioned Snapshot (delete policy)] snapshottable[Feature:VolumeSnapshotDataSource] #880

Closed
andyzhangx opened this issue Jun 8, 2021 · 5 comments · Fixed by #1053
Labels
kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test.

Comments

@andyzhangx
Copy link
Member

What happened:

https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_azuredisk-csi-driver/878/pull-azuredisk-csi-driver-external-e2e-single-az/1402235980450107392

[Fail] External Storage [Driver: disk.csi.azure.com] [Testpattern: Pre-provisioned Snapshot (delete policy)] snapshottable[Feature:VolumeSnapshotDataSource] volume snapshot controller  [Measurement] should check snapshot fields, check restore correctly works after modifying source data, check deletion 
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:602
Ran 33 of 5976 Specs in 2049.932 seconds
FAIL! -- 32 Passed | 1 Failed | 0 Pending | 5943 Skipped 

What you expected to happen:

How to reproduce it:

Anything else we need to know?:

Environment:

  • CSI Driver version:
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@andyzhangx andyzhangx added the kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. label Jun 8, 2021
@nearora-msft nearora-msft removed their assignment Jul 30, 2021
@Jiawei0227
Copy link
Contributor

Do we know why this test failed?

@andyzhangx
Copy link
Member Author

Do we know why this test failed?

after rerun, it passes now: #1053

@Jiawei0227
Copy link
Contributor

Yes, I am wondering if we understand the root cause of this. I am also seeing failures like:

External Storage [Driver: disk.csi.azure.com] [Testpattern: Pre-provisioned Snapshot (retain policy)] snapshottable[Feature:VolumeSnapshotDataSource] volume snapshot controller should check snapshot fields, check restore correctly works after modifying source data, check deletion expand_less
3m37s
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/storage/testsuites/snapshottable.go:243
Oct 19 01:16:36.834: Unexpected error:
    <exec.CodeExitError>: {
        Err: {
            s: "error running /tmp/test-492252978/TestStorageAzureDisk/e2e/bin/kubectl --server=https://10.0.1.27 --kubeconfig=/logs/artifacts/3614972a-3073-11ec-a3c2-82a096b8f41c/kubeconfig --namespace=snapshotting-2727 exec restored-pvc-tester-h8qdt --namespace=snapshotting-2727 -- cat /mnt/test/data:\nCommand stdout:\n\nstderr:\ncat: can't open '/mnt/test/data': No such file or directory\ncommand terminated with exit code 1\n\nerror:\nexit status 1",
        },
        Code: 1,
    }
    error running /tmp/test-492252978/TestStorageAzureDisk/e2e/bin/kubectl --server=https://10.0.1.27 --kubeconfig=/logs/artifacts/3614972a-3073-11ec-a3c2-82a096b8f41c/kubeconfig --namespace=snapshotting-2727 exec restored-pvc-tester-h8qdt --namespace=snapshotting-2727 -- cat /mnt/test/data:
    Command stdout:
    
    stderr:
    cat: can't open '/mnt/test/data': No such file or directory
    command terminated with exit code 1
    
    error:
    exit status 1
occurred
/workspace/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/util.go:602

@Jiawei0227
Copy link
Contributor

I am just curious what could lead to this

@andyzhangx
Copy link
Member Author

I am just curious what could lead to this

@Jiawei0227 I have rerun 4 times, all pass now, not sure why it failed in the before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test.
Projects
None yet
3 participants