{"action":"created","issue":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1859","repository_url":"https://api.github.com/repos/kubevirt/kubevirt","labels_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1859/labels{/name}","comments_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1859/comments","events_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1859/events","html_url":"https://github.com/kubevirt/kubevirt/issues/1859","id":392374432,"node_id":"MDU6SXNzdWUzOTIzNzQ0MzI=","number":1859,"title":"Not able to run functional tests on test new test changes that I have made","user":{"login":"bharatnc","id":9305394,"node_id":"MDQ6VXNlcjkzMDUzOTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/9305394?v=4","gravatar_id":"","url":"https://api.github.com/users/bharatnc","html_url":"https://github.com/bharatnc","followers_url":"https://api.github.com/users/bharatnc/followers","following_url":"https://api.github.com/users/bharatnc/following{/other_user}","gists_url":"https://api.github.com/users/bharatnc/gists{/gist_id}","starred_url":"https://api.github.com/users/bharatnc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bharatnc/subscriptions","organizations_url":"https://api.github.com/users/bharatnc/orgs","repos_url":"https://api.github.com/users/bharatnc/repos","events_url":"https://api.github.com/users/bharatnc/events{/privacy}","received_events_url":"https://api.github.com/users/bharatnc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T23:09:44Z","updated_at":"2018-12-19T07:53:49Z","closed_at":null,"author_association":"NONE","body":"**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n>/ kind bug\r\n\r\n\r\n\r\n**What happened**:\r\nWhen I did \r\n```\r\nmake cluster-up\r\nmake cluster-sync\r\nmake functest\r\n```\r\nThis results in a panic and failure of all functests.\r\n•! Panic in Spec Setup (BeforeEach) [0.005 seconds]\r\n```CloudInit UserData\r\n/root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:47\r\n  A new VirtualMachineInstance [BeforeEach]\r\n  /root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:81\r\n    with cloudInitNoCloud userData source\r\n    /root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:120\r\n      should process provided cloud-init data\r\n      /root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:121\r\n\r\n      Test Panicked\r\n      the server could not find the requested resource (delete virtualmachines.kubevirt.io)\r\n      /gimme/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:505\r\n\r\n      Full Stack Trace\r\n      \t/gimme/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:505 +0x229\r\n      kubevirt.io/kubevirt/tests.PanicOnError(0x15a28a0, 0xc420441710)\r\n      \t/root/go/src/kubevirt.io/kubevirt/tests/utils.go:924 +0x4a\r\n      kubevirt.io/kubevirt/tests.cleanNamespaces()\r\n      \t/root/go/src/kubevirt.io/kubevirt/tests/utils.go:843 +0x261\r\n      kubevirt.io/kubevirt/tests.BeforeTestCleanup()\r\n      \t/root/go/src/kubevirt.io/kubevirt/tests/utils.go:372 +0x20\r\n      kubevirt.io/kubevirt/tests_test.glob..func30.3()\r\n      \t/root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:78 +0x20\r\n      kubevirt.io/kubevirt/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4209c1a40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\r\n      \t/root/go/src/kubevirt.io/kubevirt/tests/tests_suite_test.go:41 +0xea\r\n      testing.tRunner(0xc42080c960, 0x1511140)\r\n      \t/gimme/.gimme/versions/go1.10.linux.amd64/src/testing/testing.go:777 +0xd0\r\n      created by testing.(*T).Run\r\n      \t/gimme/.gimme/versions/go1.10.linux.amd64/src/testing/testing.go:824 +0x2e0\r\n      \r\n------------------------------\r\n•! Panic in Spec Setup (BeforeEach) [0.004 seconds]\r\nCloudInit UserData\r\n/root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:47\r\n  A new VirtualMachineInstance [BeforeEach]\r\n  /root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:81\r\n    should take user-data from k8s secret\r\n    /root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:165\r\n\r\n    Test Panicked\r\n    the server could not find the requested resource (delete virtualmachines.kubevirt.io)\r\n    /gimme/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:505\r\n\r\n    Full Stack Trace\r\n    \t/gimme/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:505 +0x229\r\n    kubevirt.io/kubevirt/tests.PanicOnError(0x15a28a0, 0xc420441c20)\r\n    \t/root/go/src/kubevirt.io/kubevirt/tests/utils.go:924 +0x4a\r\n    kubevirt.io/kubevirt/tests.cleanNamespaces()\r\n    \t/root/go/src/kubevirt.io/kubevirt/tests/utils.go:843 +0x261\r\n    kubevirt.io/kubevirt/tests.BeforeTestCleanup()\r\n    \t/root/go/src/kubevirt.io/kubevirt/tests/utils.go:372 +0x20\r\n    kubevirt.io/kubevirt/tests_test.glob..func30.3()\r\n    \t/root/go/src/kubevirt.io/kubevirt/tests/vmi_userdata_test.go:78 +0x20\r\n    kubevirt.io/kubevirt/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4209c1a40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)\r\n    \t/root/go/src/kubevirt.io/kubevirt/tests/tests_suite_test.go:41 +0xea\r\n    testing.tRunner(0xc42080c960, 0x1511140)\r\n    \t/gimme/.gimme/versions/go1.10.linux.amd64/src/testing/testing.go:777 +0xd0\r\n    created by testing.(*T).Run\r\n    \t/gimme/.gimme/versions/go1.10.linux.amd64/src/testing/testing.go:824 +0x2e0\r\n    \r\n```\r\n\r\n**What you expected to happen**:\r\nFunc tests should be run without any error.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n```\r\nmake cluster-up\r\nmake cluster-sync\r\nmake functest\r\n```\r\n\r\n**Anything else we need to know?**:\r\nOS/Hardware: Ubuntu Linux machine 18.04 LTS\r\n**Environment**:\r\n- OS (e.g. from /etc/os-release): Linux\r\n- Kernel (e.g. `uname -a`):4.15.0-42-generic\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/comments/448501767","html_url":"https://github.com/kubevirt/kubevirt/issues/1859#issuecomment-448501767","issue_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1859","id":448501767,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODUwMTc2Nw==","user":{"login":"SchSeba","id":4209208,"node_id":"MDQ6VXNlcjQyMDkyMDg=","avatar_url":"https://avatars3.githubusercontent.com/u/4209208?v=4","gravatar_id":"","url":"https://api.github.com/users/SchSeba","html_url":"https://github.com/SchSeba","followers_url":"https://api.github.com/users/SchSeba/followers","following_url":"https://api.github.com/users/SchSeba/following{/other_user}","gists_url":"https://api.github.com/users/SchSeba/gists{/gist_id}","starred_url":"https://api.github.com/users/SchSeba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchSeba/subscriptions","organizations_url":"https://api.github.com/users/SchSeba/orgs","repos_url":"https://api.github.com/users/SchSeba/repos","events_url":"https://api.github.com/users/SchSeba/events{/privacy}","received_events_url":"https://api.github.com/users/SchSeba/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T07:53:49Z","updated_at":"2018-12-19T07:53:49Z","author_association":"CONTRIBUTOR","body":"Hi @bharatnc lets start with the first command.\r\nAfter you run `make cluster-up` can you please run `./cluster/kubectl.sh get po --all-namespaces` just to check the cluster is up and running? (paste the output here)\r\n\r\nRun ` make cluster-sync` and then please run again `./cluster/kubectl.sh get po --all-namespaces`, also run ``./cluster/kubectl.sh get crd` (paste both outputs here)\r\n"}}
{"actor":{"display_login":"SchSeba"}}