{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/10908","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/10908/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/10908/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/10908/events","html_url":"https://github.com/systemd/systemd/issues/10908","id":383906866,"node_id":"MDU6SXNzdWUzODM5MDY4NjY=","number":10908,"title":"`systemd-networkd-tests.py` is failing in the CentOS CI infrastructure","user":{"login":"mrc0mmand","id":679338,"node_id":"MDQ6VXNlcjY3OTMzOA==","avatar_url":"https://avatars0.githubusercontent.com/u/679338?v=4","gravatar_id":"","url":"https://api.github.com/users/mrc0mmand","html_url":"https://github.com/mrc0mmand","followers_url":"https://api.github.com/users/mrc0mmand/followers","following_url":"https://api.github.com/users/mrc0mmand/following{/other_user}","gists_url":"https://api.github.com/users/mrc0mmand/gists{/gist_id}","starred_url":"https://api.github.com/users/mrc0mmand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrc0mmand/subscriptions","organizations_url":"https://api.github.com/users/mrc0mmand/orgs","repos_url":"https://api.github.com/users/mrc0mmand/repos","events_url":"https://api.github.com/users/mrc0mmand/events{/privacy}","received_events_url":"https://api.github.com/users/mrc0mmand/received_events","type":"User","site_admin":false},"labels":[{"id":219549709,"node_id":"MDU6TGFiZWwyMTk1NDk3MDk=","url":"https://api.github.com/repos/systemd/systemd/labels/network","name":"network","color":"fad8c7","default":false},{"id":224437857,"node_id":"MDU6TGFiZWwyMjQ0Mzc4NTc=","url":"https://api.github.com/repos/systemd/systemd/labels/tests","name":"tests","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-11-23T16:42:23Z","updated_at":"2018-11-27T13:34:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The `systemd-networkd-tests.py` doesn't like the CentOS CI infrastructure as discussed in https://github.com/systemd/systemd-centos-ci/issues/18#issuecomment-441191519.\r\n\r\nFull log: https://paste.fedoraproject.org/paste/jnhwagD3-saGbeCNzYYk0w/raw\r\n\r\n@ssahani could you, please, take a look?"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/442059489","html_url":"https://github.com/systemd/systemd/issues/10908#issuecomment-442059489","issue_url":"https://api.github.com/repos/systemd/systemd/issues/10908","id":442059489,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjA1OTQ4OQ==","user":{"login":"mrc0mmand","id":679338,"node_id":"MDQ6VXNlcjY3OTMzOA==","avatar_url":"https://avatars0.githubusercontent.com/u/679338?v=4","gravatar_id":"","url":"https://api.github.com/users/mrc0mmand","html_url":"https://github.com/mrc0mmand","followers_url":"https://api.github.com/users/mrc0mmand/followers","following_url":"https://api.github.com/users/mrc0mmand/following{/other_user}","gists_url":"https://api.github.com/users/mrc0mmand/gists{/gist_id}","starred_url":"https://api.github.com/users/mrc0mmand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrc0mmand/subscriptions","organizations_url":"https://api.github.com/users/mrc0mmand/orgs","repos_url":"https://api.github.com/users/mrc0mmand/repos","events_url":"https://api.github.com/users/mrc0mmand/events{/privacy}","received_events_url":"https://api.github.com/users/mrc0mmand/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T13:34:22Z","updated_at":"2018-11-27T13:34:22Z","author_association":"CONTRIBUTOR","body":"@ssahani I went with your recommendation and added something among these lines to our bootstrap script:\r\n\r\n```bash\r\nif systemctl status firewalld.service; then\r\n    firewall-cmd --permanent --add-service dhcp --add-service dhcpv6\r\n    firewall-cmd --reload\r\nfi\r\n```\r\n\r\nwhich did the trick for most of the issues we've seen. However, there are still two issues, which still occur even with the aforementioned rules or with firewalld completely disabled:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_erspan_tunnel (__main__.NetworkdNetDevTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"./systemd-networkd-tests.py\", line 391, in test_erspan_tunnel\r\n    self.assertTrue(self.link_exits('erspan-test'))\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_ip_route_gateway (__main__.NetworkdNetWorkTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"./systemd-networkd-tests.py\", line 557, in test_ip_route_gateway\r\n    self.assertRegex(output, 'default')\r\nAssertionError: Regex didn't match: 'default' not found in '149.10.124.48/28 proto kernel scope link src 149.10.124.58 \\n149.10.124.64 proto static scope link'\r\n```\r\n\r\nGoing through the history I noticed that both tests are pretty recent (~2 days):\r\n - ERSPAN (@ssahani) https://github.com/systemd/systemd/commit/2266864b04257d7a92d1f2064797ec239068895b#diff-d0096f157a976d0716ba5fc6f93ec01f\r\n - ip route gateway (@yuwata) https://github.com/systemd/systemd/commit/f5050e48aee0de888cdea68580e577325ed0d1f8#diff-d0096f157a976d0716ba5fc6f93ec01f"}}
{"actor":{"display_login":"mrc0mmand"}}