{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/5468","repository_url":"https://api.github.com/repos/elastic/logstash","labels_url":"https://api.github.com/repos/elastic/logstash/issues/5468/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/5468/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/5468/events","html_url":"https://github.com/elastic/logstash/issues/5468","id":159367381,"number":5468,"title":"Acceptance tests plugins update scenario broken.","user":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/logstash/labels/acceptance%20testing","name":"acceptance testing","color":"0e8a16"},{"url":"https://api.github.com/repos/elastic/logstash/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"milestone":null,"comments":19,"created_at":"2016-06-09T09:44:40Z","updated_at":"2016-06-13T14:25:19Z","closed_at":null,"body":"The update test in the acceptance layer does not work as expected causing many issues as you can see in https://logstash-ci.elastic.co/job/elastic+logstash+master+multijob-acceptance/label=metal,suite=debian/15/console \r\n\r\nThe source of this error is the code used to remove the version constran in the gemfile for the test gem used in tests, this is required because in logstash if you previously installed an specific version of a plugin you can not use the update command, you should remove it and do the install.\r\n\r\n```\r\n  before do\r\n      logstash.run_command_in_path(\"bin/logstash-plugin install --version #{previous_version} #{plugin_name}\")\r\n      # Logstash wont update when we have a pinned versionin the gemfile so we remove them\r\n      logstash.replace_in_gemfile(',\\s\"0.1.0\"', \"\")\r\n      expect(logstash).to have_installed?(plugin_name, previous_version)\r\n    end\r\n```\r\n\r\nwe need to improve the interaction specified in line `logstash.replace_in_gemfile(',\\s\"0.1.0\"', \"\")`, as the cause of having this failing test."},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/225596615","html_url":"https://github.com/elastic/logstash/issues/5468#issuecomment-225596615","issue_url":"https://api.github.com/repos/elastic/logstash/issues/5468","id":225596615,"user":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T14:25:19Z","updated_at":"2016-06-13T14:25:19Z","body":"but is certainly related to this plugin as not having it in the bundle actually let update work again."}}
{"actor":{"display_login":"purbon"}}