{"action":"closed","issue":{"url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1171","repository_url":"https://api.github.com/repos/fedora-infra/bodhi","labels_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1171/labels{/name}","comments_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1171/comments","events_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1171/events","html_url":"https://github.com/fedora-infra/bodhi/issues/1171","id":196483612,"number":1171,"title":"Unittest failure due to sorting order","user":{"login":"bowlofeggs","id":354506,"avatar_url":"https://avatars.githubusercontent.com/u/354506?v=3","gravatar_id":"","url":"https://api.github.com/users/bowlofeggs","html_url":"https://github.com/bowlofeggs","followers_url":"https://api.github.com/users/bowlofeggs/followers","following_url":"https://api.github.com/users/bowlofeggs/following{/other_user}","gists_url":"https://api.github.com/users/bowlofeggs/gists{/gist_id}","starred_url":"https://api.github.com/users/bowlofeggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowlofeggs/subscriptions","organizations_url":"https://api.github.com/users/bowlofeggs/orgs","repos_url":"https://api.github.com/users/bowlofeggs/repos","events_url":"https://api.github.com/users/bowlofeggs/events{/privacy}","received_events_url":"https://api.github.com/users/bowlofeggs/received_events","type":"User","site_admin":false},"labels":[{"id":51880971,"url":"https://api.github.com/repos/fedora-infra/bodhi/labels/Critical","name":"Critical","color":"b60205","default":false},{"id":452997905,"url":"https://api.github.com/repos/fedora-infra/bodhi/labels/Tests","name":"Tests","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":{"login":"bowlofeggs","id":354506,"avatar_url":"https://avatars.githubusercontent.com/u/354506?v=3","gravatar_id":"","url":"https://api.github.com/users/bowlofeggs","html_url":"https://github.com/bowlofeggs","followers_url":"https://api.github.com/users/bowlofeggs/followers","following_url":"https://api.github.com/users/bowlofeggs/following{/other_user}","gists_url":"https://api.github.com/users/bowlofeggs/gists{/gist_id}","starred_url":"https://api.github.com/users/bowlofeggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowlofeggs/subscriptions","organizations_url":"https://api.github.com/users/bowlofeggs/orgs","repos_url":"https://api.github.com/users/bowlofeggs/repos","events_url":"https://api.github.com/users/bowlofeggs/events{/privacy}","received_events_url":"https://api.github.com/users/bowlofeggs/received_events","type":"User","site_admin":false},"assignees":[{"login":"bowlofeggs","id":354506,"avatar_url":"https://avatars.githubusercontent.com/u/354506?v=3","gravatar_id":"","url":"https://api.github.com/users/bowlofeggs","html_url":"https://github.com/bowlofeggs","followers_url":"https://api.github.com/users/bowlofeggs/followers","following_url":"https://api.github.com/users/bowlofeggs/following{/other_user}","gists_url":"https://api.github.com/users/bowlofeggs/gists{/gist_id}","starred_url":"https://api.github.com/users/bowlofeggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowlofeggs/subscriptions","organizations_url":"https://api.github.com/users/bowlofeggs/orgs","repos_url":"https://api.github.com/users/bowlofeggs/repos","events_url":"https://api.github.com/users/bowlofeggs/events{/privacy}","received_events_url":"https://api.github.com/users/bowlofeggs/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-12-19T18:12:56Z","updated_at":"2016-12-23T15:51:29Z","closed_at":"2016-12-23T15:51:29Z","body":"@puiterwijk reported that one unit test is failing on his system:\r\n\r\n```\r\n======================================================================\r\nFAIL: Test correct operation when there are some locked updates that aren't in a push.\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/site-packages/mock/mock.py\", line 1305, in patched\r\n    return func(*args, **keywargs)\r\n  File \"/vagrant/bodhi/tests/server/test_push.py\", line 442, in test_locked_updates_not_in_a_push\r\n    self.assertEqual(result.output, TEST_LOCKED_UPDATES_NOT_IN_A_PUSH_EXPECTED_OUTPUT)\r\nAssertionError: u'Warning: ejabberd-16.09-4.fc17 is locked but not in a push\\nejabberd-16.09-4.fc17\\npython-nose-1.3.7-11.fc17\\npython-paste-deploy-1.5.2-8.fc17\\nPush these 3 updates? [y/N]: y\\n\\nLocking updates...\\n\\nSending masher.start fedmsg\\n' != 'Warning: ejabberd-16.09-4.fc17 is locked but not in a push\\npython-nose-1.3.7-11.fc17\\npython-paste-deploy-1.5.2-8.fc17\\nejabberd-16.09-4.fc17\\nPush these 3 updates? [y/N]: y\\n\\nLocking updates...\\n\\nSending masher.start fedmsg\\n'\r\n```\r\n\r\nThis may be due to locale, but in general we don't need to assert that the packages are given in that particular order, just that they are given in some order. We need to refactor the test to allow the package order to be shuffled any way."}}
{"actor":{"display_login":"bowlofeggs"}}