{"action":"closed","issue":{"url":"https://api.github.com/repos/gocd/gocd/issues/1338","labels_url":"https://api.github.com/repos/gocd/gocd/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/1338/comments","events_url":"https://api.github.com/repos/gocd/gocd/issues/1338/events","html_url":"https://github.com/gocd/gocd/issues/1338","id":94748826,"number":1338,"title":"Fix functional test - 1 - Flaky - YumRepoPackageAsMaterial","user":{"login":"arvindsv","id":172235,"avatar_url":"https://avatars.githubusercontent.com/u/172235?v=3","gravatar_id":"","url":"https://api.github.com/users/arvindsv","html_url":"https://github.com/arvindsv","followers_url":"https://api.github.com/users/arvindsv/followers","following_url":"https://api.github.com/users/arvindsv/following{/other_user}","gists_url":"https://api.github.com/users/arvindsv/gists{/gist_id}","starred_url":"https://api.github.com/users/arvindsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvindsv/subscriptions","organizations_url":"https://api.github.com/users/arvindsv/orgs","repos_url":"https://api.github.com/users/arvindsv/repos","events_url":"https://api.github.com/users/arvindsv/events{/privacy}","received_events_url":"https://api.github.com/users/arvindsv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gocd/gocd/labels/tests","name":"tests","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gocd/gocd/milestones/6","html_url":"https://github.com/gocd/gocd/milestones/Release%2015.3","labels_url":"https://api.github.com/repos/gocd/gocd/milestones/6/labels","id":1170416,"number":6,"title":"Release 15.3","description":"","creator":{"login":"zabil","id":54427,"avatar_url":"https://avatars.githubusercontent.com/u/54427?v=3","gravatar_id":"","url":"https://api.github.com/users/zabil","html_url":"https://github.com/zabil","followers_url":"https://api.github.com/users/zabil/followers","following_url":"https://api.github.com/users/zabil/following{/other_user}","gists_url":"https://api.github.com/users/zabil/gists{/gist_id}","starred_url":"https://api.github.com/users/zabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabil/subscriptions","organizations_url":"https://api.github.com/users/zabil/orgs","repos_url":"https://api.github.com/users/zabil/repos","events_url":"https://api.github.com/users/zabil/events{/privacy}","received_events_url":"https://api.github.com/users/zabil/received_events","type":"User","site_admin":false},"open_issues":56,"closed_issues":51,"state":"open","created_at":"2015-06-18T11:10:13Z","updated_at":"2015-09-16T11:03:26Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-07-13T15:32:28Z","updated_at":"2015-09-16T11:03:26Z","closed_at":"2015-09-16T11:03:26Z","body":"This is a typical [failing test](https://build.go.cd/go/tab/build/detail/acceptance/472/twist-plugins/2/firefox-split-runInstance-5#tab-twist). PackagePipelineScheduleApi.scn and YumRepoPackageAsMaterial.scn are affecting each other. They use the same package (the id of the package in `package-repo-cruise-config.xml` is `package-id`).\r\n\r\nThe first one that runs calls `publish new artifact` and changes what the server sees and puts in the DB for that material. So, the second test that runs fails when it gets to `publish new artifact` again. Its expectation will be the package 16715, but 16715 will already have been published by the previous test.\r\n\r\nIt keeps failing (wrongly)."}}