{"action":"created","issue":{"url":"https://api.github.com/repos/heptio/sonobuoy/issues/399","repository_url":"https://api.github.com/repos/heptio/sonobuoy","labels_url":"https://api.github.com/repos/heptio/sonobuoy/issues/399/labels{/name}","comments_url":"https://api.github.com/repos/heptio/sonobuoy/issues/399/comments","events_url":"https://api.github.com/repos/heptio/sonobuoy/issues/399/events","html_url":"https://github.com/heptio/sonobuoy/issues/399","id":309027562,"number":399,"title":"Sonobuoy is still running, Got a duplicate result e2e","user":{"login":"stamak","id":5549415,"avatar_url":"https://avatars0.githubusercontent.com/u/5549415?v=4","gravatar_id":"","url":"https://api.github.com/users/stamak","html_url":"https://github.com/stamak","followers_url":"https://api.github.com/users/stamak/followers","following_url":"https://api.github.com/users/stamak/following{/other_user}","gists_url":"https://api.github.com/users/stamak/gists{/gist_id}","starred_url":"https://api.github.com/users/stamak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stamak/subscriptions","organizations_url":"https://api.github.com/users/stamak/orgs","repos_url":"https://api.github.com/users/stamak/repos","events_url":"https://api.github.com/users/stamak/events{/privacy}","received_events_url":"https://api.github.com/users/stamak/received_events","type":"User","site_admin":false},"labels":[{"id":686438081,"url":"https://api.github.com/repos/heptio/sonobuoy/labels/active","name":"active","color":"c2e0c6","default":false},{"id":656498402,"url":"https://api.github.com/repos/heptio/sonobuoy/labels/p0%20-%20Higher%20Priority","name":"p0 - Higher Priority","color":"b60205","default":false}],"state":"open","locked":false,"assignee":{"login":"chuckha","id":98927,"avatar_url":"https://avatars0.githubusercontent.com/u/98927?v=4","gravatar_id":"","url":"https://api.github.com/users/chuckha","html_url":"https://github.com/chuckha","followers_url":"https://api.github.com/users/chuckha/followers","following_url":"https://api.github.com/users/chuckha/following{/other_user}","gists_url":"https://api.github.com/users/chuckha/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckha/subscriptions","organizations_url":"https://api.github.com/users/chuckha/orgs","repos_url":"https://api.github.com/users/chuckha/repos","events_url":"https://api.github.com/users/chuckha/events{/privacy}","received_events_url":"https://api.github.com/users/chuckha/received_events","type":"User","site_admin":false},"assignees":[{"login":"chuckha","id":98927,"avatar_url":"https://avatars0.githubusercontent.com/u/98927?v=4","gravatar_id":"","url":"https://api.github.com/users/chuckha","html_url":"https://github.com/chuckha","followers_url":"https://api.github.com/users/chuckha/followers","following_url":"https://api.github.com/users/chuckha/following{/other_user}","gists_url":"https://api.github.com/users/chuckha/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckha/subscriptions","organizations_url":"https://api.github.com/users/chuckha/orgs","repos_url":"https://api.github.com/users/chuckha/repos","events_url":"https://api.github.com/users/chuckha/events{/privacy}","received_events_url":"https://api.github.com/users/chuckha/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-27T15:47:53Z","updated_at":"2018-03-28T14:56:06Z","closed_at":null,"author_association":"NONE","body":"**BUG REPORT**:\r\n\r\n**What happened**:\r\n\r\n```\r\nsonobuoy status\r\nPLUGIN          STATUS          COUNT\r\ne2e             complete        1\r\ne2e             running         1\r\nsystemd_logs    complete        4\r\nsystemd_logs    running         4\r\n\r\nSonobuoy is still running. Runs can take up to 60 minutes.\r\n```\r\n\r\nLogs:\r\n```\r\nsonobuoy logs -f\r\nnamespace=\"heptio-sonobuoy\" pod=\"sonobuoy\" container=\"kube-sonobuoy\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Scanning plugins in ./plugins.d (pwd: /)\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Scanning plugins in /etc/sonobuoy/plugins.d (pwd: /)\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Directory (/etc/sonobuoy/plugins.d) does not exist\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Scanning plugins in ~/sonobuoy/plugins.d (pwd: /)\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Directory (~/sonobuoy/plugins.d) does not exist\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Scanning plugins in ./plugins.d (pwd: /)\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Scanning plugins in /etc/sonobuoy/plugins.d (pwd: /)\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Directory (/etc/sonobuoy/plugins.d) does not exist\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Scanning plugins in ~/sonobuoy/plugins.d (pwd: /)\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Directory (~/sonobuoy/plugins.d) does not exist\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Filtering namespaces based on the following regex:.*|heptio-sonobuoy\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Namespace default Matched=true\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Namespace e2e-tests-pod-network-test-k4cwr Matched=true\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Namespace e2e-tests-projected-9nzzh Matched=true\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Namespace e2e-tests-sched-pred-5k9j6 Matched=true\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Namespace heptio-sonobuoy Matched=true\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Namespace kube-public Matched=true\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Namespace kube-system Matched=true\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Starting server Expected Results: [{ e2e} {k8s-node0-syndeo-k8se2e-31-sjc1 systemd_logs} {\r\nk8s-node1-syndeo-k8se2e-31-sjc1 systemd_logs} {k8s-node2-syndeo-k8se2e-31-sjc1 systemd_logs} {k8s-node3-syndeo-k8se2e-31-sjc1 systemd_\r\nlogs} { e2e} {k8s-node0-syndeo-k8se2e-31-sjc1 systemd_logs} {k8s-node1-syndeo-k8se2e-31-sjc1 systemd_logs} {k8s-node2-syndeo-k8se2e-31\r\n-sjc1 systemd_logs} {k8s-node3-syndeo-k8se2e-31-sjc1 systemd_logs}]\"\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"Running plugin\" plugin=e2e\r\ntime=\"2018-03-27T13:50:42Z\" level=info msg=\"starting aggregation server\" address=0.0.0.0 port=8080\r\ntime=\"2018-03-27T13:50:46Z\" level=info msg=\"Running plugin\" plugin=systemd-logs\r\ntime=\"2018-03-27T13:50:47Z\" level=info msg=\"Running plugin\" plugin=e2e\r\ntime=\"2018-03-27T13:50:47Z\" level=info msg=\"Running plugin\" plugin=systemd-logs\r\n......\r\n\r\nime=\"2018-03-27T14:56:57Z\" level=info msg=\"Running ns query (e2e-tests-sched-pred-5k9j6)\"\r\ntime=\"2018-03-27T14:56:59Z\" level=info msg=\"Collecting Pod Logs...\"\r\ntime=\"2018-03-27T14:56:59Z\" level=info msg=\"Collecting Pod Logs...\"\r\ntime=\"2018-03-27T14:56:59Z\" level=error msg=\"error querying PodPresets: the server could not find the requested resource (get podprese\r\nts.settings.k8s.io)\"\r\ntime=\"2018-03-27T14:56:59Z\" level=error msg=\"error querying PodPresets: the server could not find the requested resource (get podprese\r\nts.settings.k8s.io)\"\r\ntime=\"2018-03-27T14:57:02Z\" level=info msg=\"Running ns query (heptio-sonobuoy)\"\r\ntime=\"2018-03-27T14:57:03Z\" level=info msg=\"Collecting Pod Logs...\"\r\ntime=\"2018-03-27T14:57:08Z\" level=error msg=\"error querying PodPresets: the server could not find the requested resource (get podprese\r\nts.settings.k8s.io)\"\r\ntime=\"2018-03-27T14:57:10Z\" level=info msg=\"Running ns query (kube-public)\"\r\ntime=\"2018-03-27T14:57:12Z\" level=info msg=\"Collecting Pod Logs...\"\r\ntime=\"2018-03-27T14:57:12Z\" level=info msg=\"Collecting Pod Logs...\"\r\ntime=\"2018-03-27T14:57:12Z\" level=error msg=\"error querying PodPresets: the server could not find the requested resource (get podprese\r\nts.settings.k8s.io)\"\r\ntime=\"2018-03-27T14:57:12Z\" level=error msg=\"error querying PodPresets: the server could not find the requested resource (get podprese\r\nts.settings.k8s.io)\"\r\ntime=\"2018-03-27T14:57:15Z\" level=info msg=\"Running ns query (kube-system)\"\r\ntime=\"2018-03-27T14:57:18Z\" level=info msg=\"Collecting Pod Logs...\"\r\ntime=\"2018-03-27T14:57:29Z\" level=info msg=\"Collecting Pod Logs...\"\r\ntime=\"2018-03-27T14:57:39Z\" level=error msg=\"error querying PodPresets: the server could not find the requested resource (get podprese\r\nts.settings.k8s.io)\"\r\ntime=\"2018-03-27T14:57:39Z\" level=error msg=\"error querying PodPresets: the server could not find the requested resource (get podprese\r\nts.settings.k8s.io)\"\r\ntime=\"2018-03-27T14:57:44Z\" level=info msg=\"Results available at /tmp/sonobuoy/201803271350_sonobuoy_0c8484c0-e392-47f4-98f8-ff5c1d80f\r\n6f4.tar.gz\"\r\ntime=\"2018-03-27T14:57:44Z\" level=info msg=\"no-exit was specified, sonobuoy is now blocking\"\r\ntime=\"2018-03-27T14:57:49Z\" level=info msg=\"received aggregator request\" client_cert=e2e plugin_name=e2e\r\ntime=\"2018-03-27T14:57:49Z\" level=warning msg=\"Got a duplicate result e2e\"\r\n```\r\n\r\n**What you expected to happen**:\r\n\r\nTests are finished\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\n`sonobuoy run` and wait\r\n\r\n\r\n**Environment**:\r\n```\r\nsonobuoy version\r\nv0.11.0\r\n```\r\n- Kubernetes version (use `kubectl version`): \r\n```\r\nkubectl version\r\nClient Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v1.9.1\", GitCommit:\"3a1c9449a956b6026f075fa3134ff92f7d55f812\", GitTreeState:\"clean\", BuildDate:\"2018-01-04T11:52:23Z\", GoVersion:\"go1.9.2\", Compiler:\"gc\", Platform:\"darwin/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"9\", GitVersion:\"v1.9.4+coreos.0\", GitCommit:\"5e73e0769e5c4ac497235e2817868b1a37032fba\", GitTreeState:\"clean\", BuildDate:\"2018-03-12T20:05:58Z\", GoVersion:\"go1.9.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n````\r\n\r\n- Cloud provider or hardware configuration: OpenStack\r\n- OS (e.g. from /etc/os-release): Container Linux by CoreOS 1520.9.0\r\n- Kernel (e.g. `uname -a`): `4.14.19-coreos`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/heptio/sonobuoy/issues/comments/376916958","html_url":"https://github.com/heptio/sonobuoy/issues/399#issuecomment-376916958","issue_url":"https://api.github.com/repos/heptio/sonobuoy/issues/399","id":376916958,"user":{"login":"chuckha","id":98927,"avatar_url":"https://avatars0.githubusercontent.com/u/98927?v=4","gravatar_id":"","url":"https://api.github.com/users/chuckha","html_url":"https://github.com/chuckha","followers_url":"https://api.github.com/users/chuckha/followers","following_url":"https://api.github.com/users/chuckha/following{/other_user}","gists_url":"https://api.github.com/users/chuckha/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckha/subscriptions","organizations_url":"https://api.github.com/users/chuckha/orgs","repos_url":"https://api.github.com/users/chuckha/repos","events_url":"https://api.github.com/users/chuckha/events{/privacy}","received_events_url":"https://api.github.com/users/chuckha/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T14:56:06Z","updated_at":"2018-03-28T14:56:06Z","author_association":"OWNER","body":"The issue here is how we are loading plugins.\r\n\r\nWe do a search across many paths and assume any *.yml or *.yaml file we find in there is a plugin to load. Unfortunately some code is duplicating the SearchPaths which means it finds all plugins twice and therefore loads all plugins twice.\r\n\r\nI'm working on a fix right now, thanks for reporting this issue."}}
{"actor":{"display_login":"chuckha"}}