{"action":"created","issue":{"url":"https://api.github.com/repos/zstackio/zstack/issues/871","repository_url":"https://api.github.com/repos/zstackio/zstack","labels_url":"https://api.github.com/repos/zstackio/zstack/issues/871/labels{/name}","comments_url":"https://api.github.com/repos/zstackio/zstack/issues/871/comments","events_url":"https://api.github.com/repos/zstackio/zstack/issues/871/events","html_url":"https://github.com/zstackio/zstack/pull/871","id":223262069,"number":871,"title":"add new case for 2410","user":{"login":"camilesing","id":11649145,"avatar_url":"https://avatars2.githubusercontent.com/u/11649145?v=3","gravatar_id":"","url":"https://api.github.com/users/camilesing","html_url":"https://github.com/camilesing","followers_url":"https://api.github.com/users/camilesing/followers","following_url":"https://api.github.com/users/camilesing/following{/other_user}","gists_url":"https://api.github.com/users/camilesing/gists{/gist_id}","starred_url":"https://api.github.com/users/camilesing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilesing/subscriptions","organizations_url":"https://api.github.com/users/camilesing/orgs","repos_url":"https://api.github.com/users/camilesing/repos","events_url":"https://api.github.com/users/camilesing/events{/privacy}","received_events_url":"https://api.github.com/users/camilesing/received_events","type":"User","site_admin":false},"labels":[{"id":533776367,"url":"https://api.github.com/repos/zstackio/zstack/labels/BUILD-PASS","name":"BUILD-PASS","color":"0e8a16","default":false},{"id":566423371,"url":"https://api.github.com/repos/zstackio/zstack/labels/UT-FAIL","name":"UT-FAIL","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-21T03:06:37Z","updated_at":"2017-04-23T23:20:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zstackio/zstack/pulls/871","html_url":"https://github.com/zstackio/zstack/pull/871","diff_url":"https://github.com/zstackio/zstack/pull/871.diff","patch_url":"https://github.com/zstackio/zstack/pull/871.patch"},"body":"for https://github.com/zstackio/issues/issues/2410\r\n\r\n该case跑test suite会由于环境未清理干净而失败。原因：\r\n- 环境自动清理机制是基于资源创建的先后顺序\r\n- 在case中是先创建了vip，然后创建了portForwarding。删除顺序也是先删除vip，再删除portForwarding\r\n- 然而删除vip时由于portForwarding的外键约束而删除失败了：\r\n   - `ERROR [SqlExceptionHelper] {api=c4697bca78f74bd68fadf7b97a879e70} Cannot delete or update a parent row: a foreign key constraint fails (`zstack`.`PortForwardingRuleVO`, CONSTRAINT `fkPortForwardingRuleVOVipVO` FOREIGN KEY (`vipUuid`) REFERENCES `VipVO` (`uuid`))\r\n`\r\n\r\n**解决方案**：手动删除portForwarding\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zstackio/zstack/issues/comments/296496356","html_url":"https://github.com/zstackio/zstack/pull/871#issuecomment-296496356","issue_url":"https://api.github.com/repos/zstackio/zstack/issues/871","id":296496356,"user":{"login":"ZStack-Robot","id":25055292,"avatar_url":"https://avatars0.githubusercontent.com/u/25055292?v=3","gravatar_id":"","url":"https://api.github.com/users/ZStack-Robot","html_url":"https://github.com/ZStack-Robot","followers_url":"https://api.github.com/users/ZStack-Robot/followers","following_url":"https://api.github.com/users/ZStack-Robot/following{/other_user}","gists_url":"https://api.github.com/users/ZStack-Robot/gists{/gist_id}","starred_url":"https://api.github.com/users/ZStack-Robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZStack-Robot/subscriptions","organizations_url":"https://api.github.com/users/ZStack-Robot/orgs","repos_url":"https://api.github.com/users/ZStack-Robot/repos","events_url":"https://api.github.com/users/ZStack-Robot/events{/privacy}","received_events_url":"https://api.github.com/users/ZStack-Robot/received_events","type":"User","site_admin":false},"created_at":"2017-04-23T23:20:26Z","updated_at":"2017-04-23T23:20:26Z","body":"Test log for merge commit 4abaeb78255f054e66bd739fe26970f466435bf7: http://172.20.198.234/mirror/unittest_pr_bat2_bat/28395/zstack-integration-test-result/\n\nFail cases:\n./org_zstack_test_integration_core_CoreLibraryTest/org_zstack_test_integration_core_MustFailCase.failure\n\n\nzstack base commit: 3fb1aca43946491aeb53696ed07ef7d84474d50b\npremium base commit: 5e7f4b875b062e911fb5f7409fa3ed5adbd309ab\n"}}
{"actor":{"display_login":"ZStack-Robot"}}