{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11758","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11758/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11758/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11758/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/11758","id":96859040,"number":11758,"title":"PD e2e test failing","user":{"login":"vishh","id":7063592,"avatar_url":"https://avatars.githubusercontent.com/u/7063592?v=3","gravatar_id":"","url":"https://api.github.com/users/vishh","html_url":"https://github.com/vishh","followers_url":"https://api.github.com/users/vishh/followers","following_url":"https://api.github.com/users/vishh/following{/other_user}","gists_url":"https://api.github.com/users/vishh/gists{/gist_id}","starred_url":"https://api.github.com/users/vishh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishh/subscriptions","organizations_url":"https://api.github.com/users/vishh/orgs","repos_url":"https://api.github.com/users/vishh/repos","events_url":"https://api.github.com/users/vishh/events{/privacy}","received_events_url":"https://api.github.com/users/vishh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P0","name":"priority/P0","color":"e11d21"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/testing","name":"team/testing","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-23T17:04:12Z","updated_at":"2015-07-24T01:01:20Z","closed_at":null,"body":"The following test has been flaky for a while now:\r\n`Pod Disks should schedule a pod w/ a RW PD, remove it, then schedule it on another host`\r\n\r\ncc @wojtek-t \r\n\r\n```shell\r\n/go/src/github.com/GoogleCloudPlatform/kubernetes/_output/dockerized/go/src/github.com/GoogleCloudPlatform/kubernetes/test/e2e/pd.go:123\r\nExpected error:\r\n    <*exec.ExitError | 0xc20802d380>: {\r\n        ProcessState: {\r\n            pid: 19959,\r\n            status: 256,\r\n            rusage: {\r\n                Utime: {Sec: 0, Usec: 404000},\r\n                Stime: {Sec: 0, Usec: 8000},\r\n                Maxrss: 23704,\r\n                Ixrss: 0,\r\n                Idrss: 0,\r\n                Isrss: 0,\r\n                Minflt: 1067,\r\n                Majflt: 0,\r\n                Nswap: 0,\r\n                Inblock: 0,\r\n                Oublock: 0,\r\n                Msgsnd: 0,\r\n                Msgrcv: 0,\r\n                Nsignals: 0,\r\n                Nvcsw: 3126,\r\n                Nivcsw: 611,\r\n            },\r\n        },\r\n    }\r\n    exit status 1\r\nnot to have occurred\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/124285038","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/11758#issuecomment-124285038","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11758","id":124285038,"user":{"login":"saad-ali","id":10052848,"avatar_url":"https://avatars.githubusercontent.com/u/10052848?v=3","gravatar_id":"","url":"https://api.github.com/users/saad-ali","html_url":"https://github.com/saad-ali","followers_url":"https://api.github.com/users/saad-ali/followers","following_url":"https://api.github.com/users/saad-ali/following{/other_user}","gists_url":"https://api.github.com/users/saad-ali/gists{/gist_id}","starred_url":"https://api.github.com/users/saad-ali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saad-ali/subscriptions","organizations_url":"https://api.github.com/users/saad-ali/orgs","repos_url":"https://api.github.com/users/saad-ali/repos","events_url":"https://api.github.com/users/saad-ali/events{/privacy}","received_events_url":"https://api.github.com/users/saad-ali/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T01:01:20Z","updated_at":"2015-07-24T01:01:20Z","body":"Yep, confirmed this was caused by #10986 and fixed by #11561. The test stopped failing in Jenkins since #11561 was merged.\r\n\r\n(The new test `Pod Disks should schedule a pod w/ a RW PD shared between multiple containers, write to PD, delete pod, verify contents, and repeat in rapid succession` is failing but I'll track that separately).\r\n\r\nThe problem here was that the correct namespace was not being passed to kubectlExec (`default` was being passed in), so the pod couldn't be found.\r\n\r\nFrom the logs:\r\n```\r\nSTEP: submitting host0Pod to kubernetes\r\nINFO: Waiting up to 5m0s for pod pd-test-4edcc490-3153-11e5-81e9-42010af01555            status to be running\r\nINFO: Waiting for pod pd-test-4edcc490-3153-11e5-81e9-42010af01555            in namespace 'e2e-tests-pod-disks-cxcs2' status to be 'running'(found phase: \"Pending\", readiness: false) (3.083686ms elapsed)\r\nINFO: Waiting for pod pd-test-4edcc490-3153-11e5-81e9-42010af01555            in namespace 'e2e-tests-pod-disks-cxcs2' status to be 'running'(found phase: \"Pending\", readiness: false) (5.007084614s elapsed)\r\nINFO: Waiting for pod pd-test-4edcc490-3153-11e5-81e9-42010af01555            in namespace 'e2e-tests-pod-disks-cxcs2' status to be 'running'(found phase: \"Pending\", readiness: false) (10.011019197s elapsed)\r\nINFO: Found pod 'pd-test-4edcc490-3153-11e5-81e9-42010af01555' on node 'e2e-gce-minion-2bdt'\r\nSTEP: writing a file in the container\r\nINFO: Running '/jenkins-master-data/jobs/kubernetes-e2e-gce/workspace/kubernetes/platforms/linux/amd64/kubectl kubectl --server=https://146.148.53.205 --kubeconfig=/var/lib/jenkins/jobs/kubernetes-e2e-gce/workspace/.kube/config exec --namespace=default pd-test-4edcc490-3153-11e5-81e9-42010af01555 -- /bin/sh -c echo '8674665223082153551' > '/testpd/tracker''\r\nINFO: error running kubectl exec to write file: exit status 1\r\nstdout=\r\nstderr=Error from server: pods \"pd-test-4edcc490-3153-11e5-81e9-42010af01555\" not found\r\n)\r\n```"}}