2026-07-18 15:33:53,694 - INFO - Domain Default found not creating 2026-07-18 15:33:53,874 - INFO - Project ctest-TestBasicPolicy-78824251 not found, creating it 2026-07-18 15:33:54,404 - INFO - Created Project:ctest-TestBasicPolicy-78824251, ID : b7d26853-9f33-4303-b65e-174b8bb8ce9f 2026-07-18 15:33:56,044 - INFO - ================================================================================ 2026-07-18 15:33:56,045 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-18 15:33:56,045 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-07-18 15:33:56,316 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-07-18 15:33:56,316 - INFO - Initial checks done. Running the testcase now 2026-07-18 15:33:56,316 - INFO - 2026-07-18 15:33:56,930 - DEBUG - Response for create_network : {'network': {'id': 'e1616a1f-4d62-4ea6-96e1-1c70d2987760', 'name': 'ctest-vn-38996587', 'tenant_id': 'b7d268539f334303b65e174b8bb8ce9f', 'project_id': 'b7d268539f334303b65e174b8bb8ce9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-vn-38996587'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:33:57,143 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de84ffb3-3c70-4f4e-889d-688eb822c1ca', 'name': '', 'tenant_id': 'b7d268539f334303b65e174b8bb8ce9f', 'network_id': 'e1616a1f-4d62-4ea6-96e1-1c70d2987760', 'ip_version': 4, 'cidr': '43.136.162.192/26', 'allocation_pools': [{'start': '43.136.162.194', 'end': '43.136.162.254'}], 'gateway_ip': '43.136.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.136.162.194', 'tags': [], 'project_id': 'b7d268539f334303b65e174b8bb8ce9f'}} 2026-07-18 15:33:57,164 - INFO - Created VN ctest-vn-38996587 2026-07-18 15:33:57,218 - DEBUG - VN ctest-vn-38996587 UUID is e1616a1f-4d62-4ea6-96e1-1c70d2987760 2026-07-18 15:33:57,555 - DEBUG - Response for create_network : {'network': {'id': '4b9f1ac3-785b-4bd5-9067-98b6febcc20e', 'name': 'ctest-vn-28032287', 'tenant_id': 'b7d268539f334303b65e174b8bb8ce9f', 'project_id': 'b7d268539f334303b65e174b8bb8ce9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-vn-28032287'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:33:57,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0fda5c6-124e-41e7-b616-2b6060350411', 'name': '', 'tenant_id': 'b7d268539f334303b65e174b8bb8ce9f', 'network_id': '4b9f1ac3-785b-4bd5-9067-98b6febcc20e', 'ip_version': 4, 'cidr': '177.53.129.192/26', 'allocation_pools': [{'start': '177.53.129.194', 'end': '177.53.129.254'}], 'gateway_ip': '177.53.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.53.129.194', 'tags': [], 'project_id': 'b7d268539f334303b65e174b8bb8ce9f'}} 2026-07-18 15:33:57,745 - INFO - Created VN ctest-vn-28032287 2026-07-18 15:33:57,798 - DEBUG - VN ctest-vn-28032287 UUID is 4b9f1ac3-785b-4bd5-9067-98b6febcc20e 2026-07-18 15:33:57,919 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-38996587, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-28032287, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-07-18 15:33:58,235 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1616a1f-4d62-4ea6-96e1-1c70d2987760', 'name': 'ctest-vn-38996587', 'tenant_id': 'b7d268539f334303b65e174b8bb8ce9f', 'project_id': 'b7d268539f334303b65e174b8bb8ce9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['de84ffb3-3c70-4f4e-889d-688eb822c1ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-vn-38996587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-policy-allow-all-45759927']], 'subnet_ipam': [{'subnet_cidr': '43.136.162.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:33:58,484 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b9f1ac3-785b-4bd5-9067-98b6febcc20e', 'name': 'ctest-vn-28032287', 'tenant_id': 'b7d268539f334303b65e174b8bb8ce9f', 'project_id': 'b7d268539f334303b65e174b8bb8ce9f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0fda5c6-124e-41e7-b616-2b6060350411'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-vn-28032287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-policy-allow-all-45759927']], 'subnet_ipam': [{'subnet_cidr': '177.53.129.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:33:58,662 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 15:33:58,987 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 15:33:59,020 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e58a1f19-c2d3-440e-8eb2-eb82bf351285 2026-07-18 15:33:59,036 - DEBUG - Requesting: http://10.0.0.242:8082/project/b7d26853-9f33-4303-b65e-174b8bb8ce9f 2026-07-18 15:33:59,122 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e1616a1f-4d62-4ea6-96e1-1c70d2987760 2026-07-18 15:33:59,139 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e1616a1f-4d62-4ea6-96e1-1c70d2987760 2026-07-18 15:33:59,153 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7ac3692-4942-4275-80bc-0ec6cc5f9346 2026-07-18 15:33:59,162 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7ac3692-4942-4275-80bc-0ec6cc5f9346 2026-07-18 15:33:59,171 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4a05bfb9-2a7e-4105-9726-27658f24999c 2026-07-18 15:33:59,179 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 15:33:59,179 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e1616a1f-4d62-4ea6-96e1-1c70d2987760 2026-07-18 15:33:59,190 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7ac3692-4942-4275-80bc-0ec6cc5f9346 2026-07-18 15:33:59,205 - INFO - Verified VN network id 11 for VN e1616a1f-4d62-4ea6-96e1-1c70d2987760 2026-07-18 15:33:59,206 - INFO - Verifications in API Server for VN ctest-vn-38996587 passed 2026-07-18 15:33:59,206 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e1616a1f-4d62-4ea6-96e1-1c70d2987760 2026-07-18 15:33:59,221 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7ac3692-4942-4275-80bc-0ec6cc5f9346 2026-07-18 15:33:59,230 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7ac3692-4942-4275-80bc-0ec6cc5f9346 2026-07-18 15:33:59,240 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4a05bfb9-2a7e-4105-9726-27658f24999c 2026-07-18 15:33:59,256 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-38996587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78824251', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16240378413949537958', 'uuid-lslong': '10872002246344210272'}, 'enable': 'true', 'created': '2026-07-18T15:33:56', 'last-modified': '2026-07-18T15:33:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.042414'} 2026-07-18 15:33:59,264 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 15:33:59,264 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38996587 passed 2026-07-18 15:33:59,264 - DEBUG - ====Verifying policy data for ctest-vn-38996587 in API_Server ====== 2026-07-18 15:33:59,264 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 15:33:59,271 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e58a1f19-c2d3-440e-8eb2-eb82bf351285 2026-07-18 15:33:59,286 - DEBUG - Requesting: http://10.0.0.242:8082/project/b7d26853-9f33-4303-b65e-174b8bb8ce9f 2026-07-18 15:33:59,364 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/e1616a1f-4d62-4ea6-96e1-1c70d2987760 2026-07-18 15:33:59,377 - DEBUG - ==>Verifying data for policy with id: 65b58458-4226-4787-8173-9dda8c2a54d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-policy-allow-all-45759927'] 2026-07-18 15:33:59,377 - INFO - VN ctest-vn-38996587 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 15:33:59,377 - DEBUG - Verifying the vn in opserver 2026-07-18 15:33:59,377 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-38996587 virtual network link through opserver 10.0.0.242 2026-07-18 15:33:59,377 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-18 15:33:59,721 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-18 15:33:59,781 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-38996587', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-38996587?flat'} 2026-07-18 15:33:59,781 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-38996587 is found in opserver 2026-07-18 15:33:59,792 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 15:33:59,798 - DEBUG - VRF ids for VN ctest-vn-38996587: {} 2026-07-18 15:33:59,798 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 15:33:59,805 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e58a1f19-c2d3-440e-8eb2-eb82bf351285 2026-07-18 15:33:59,816 - DEBUG - Requesting: http://10.0.0.242:8082/project/b7d26853-9f33-4303-b65e-174b8bb8ce9f 2026-07-18 15:33:59,894 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b9f1ac3-785b-4bd5-9067-98b6febcc20e 2026-07-18 15:33:59,907 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b9f1ac3-785b-4bd5-9067-98b6febcc20e 2026-07-18 15:33:59,917 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/895566e0-10d0-4c04-9c7f-b25d6d7b7857 2026-07-18 15:33:59,924 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/895566e0-10d0-4c04-9c7f-b25d6d7b7857 2026-07-18 15:33:59,932 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/36025ce9-afd5-490e-a900-8879b3c07029 2026-07-18 15:33:59,940 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 15:33:59,940 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b9f1ac3-785b-4bd5-9067-98b6febcc20e 2026-07-18 15:33:59,950 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/895566e0-10d0-4c04-9c7f-b25d6d7b7857 2026-07-18 15:33:59,968 - INFO - Verified VN network id 12 for VN 4b9f1ac3-785b-4bd5-9067-98b6febcc20e 2026-07-18 15:33:59,968 - INFO - Verifications in API Server for VN ctest-vn-28032287 passed 2026-07-18 15:33:59,968 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b9f1ac3-785b-4bd5-9067-98b6febcc20e 2026-07-18 15:33:59,978 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/895566e0-10d0-4c04-9c7f-b25d6d7b7857 2026-07-18 15:33:59,986 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/895566e0-10d0-4c04-9c7f-b25d6d7b7857 2026-07-18 15:33:59,995 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/36025ce9-afd5-490e-a900-8879b3c07029 2026-07-18 15:34:00,014 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-28032287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78824251', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5449103500981783509', 'uuid-lslong': '10405453375788073486'}, 'enable': 'true', 'created': '2026-07-18T15:33:57', 'last-modified': '2026-07-18T15:33:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.555690'} 2026-07-18 15:34:00,022 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 15:34:00,022 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28032287 passed 2026-07-18 15:34:00,023 - DEBUG - ====Verifying policy data for ctest-vn-28032287 in API_Server ====== 2026-07-18 15:34:00,023 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 15:34:00,030 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e58a1f19-c2d3-440e-8eb2-eb82bf351285 2026-07-18 15:34:00,045 - DEBUG - Requesting: http://10.0.0.242:8082/project/b7d26853-9f33-4303-b65e-174b8bb8ce9f 2026-07-18 15:34:00,127 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b9f1ac3-785b-4bd5-9067-98b6febcc20e 2026-07-18 15:34:00,138 - DEBUG - ==>Verifying data for policy with id: 65b58458-4226-4787-8173-9dda8c2a54d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-78824251', 'ctest-policy-allow-all-45759927'] 2026-07-18 15:34:00,138 - INFO - VN ctest-vn-28032287 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 15:34:00,138 - DEBUG - Verifying the vn in opserver 2026-07-18 15:34:00,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-28032287 virtual network link through opserver 10.0.0.242 2026-07-18 15:34:00,138 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-07-18 15:34:00,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-28032287', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-28032287?flat'} 2026-07-18 15:34:00,150 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-28032287 is found in opserver 2026-07-18 15:34:00,161 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 15:34:00,167 - DEBUG - VRF ids for VN ctest-vn-28032287: {} 2026-07-18 15:34:00,242 - DEBUG - Services list from nova: [, , ] 2026-07-18 15:34:00,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6105-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6105-1) 2026-07-18 15:34:01,221 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6105-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6105-1) 2026-07-18 15:34:01,221 - INFO - Waiting for VM ctest-TestBasicPolicy-78824251-53314587 to be up.. 2026-07-18 15:34:01,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:06,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:11,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:16,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:21,638 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:26,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:31,820 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:36,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:34:41,999 - DEBUG - VM is in ACTIVE state now 2026-07-18 15:34:41,999 - INFO - VM name : ctest-TestBasicPolicy-78824251-53314587 2026-07-18 15:34:42,080 - DEBUG - VM ctest-TestBasicPolicy-78824251-53314587 ID is 46723308-395f-4bd6-b5a1-b3fa7ee37a13 2026-07-18 15:34:42,107 - DEBUG - VM ctest-TestBasicPolicy-78824251-53314587 launched on Node cn-jenkins-deploy-platform-ansible-os-6105-1 2026-07-18 15:34:42,195 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/46723308-395f-4bd6-b5a1-b3fa7ee37a13 2026-07-18 15:34:42,205 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/751aab16-8ac4-4d7c-a0cd-e8ddb9166171 2026-07-18 15:34:45,473 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-07-18 15:34:45,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78824251-53314587 failed! 2026-07-18 15:34:45,534 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78824251:ctest-vn-38996587 is 43.136.162.193 and allocation pool is NOT set 2026-07-18 15:34:47,601 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.618 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.618/5.135/9.653/4.517 ms') 2026-07-18 15:34:47,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78824251-53314587 passed 2026-07-18 15:34:47,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:34:47,754 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78824251-53314587, IP 43.136.162.195, Port 22 2026-07-18 15:34:47,924 - DEBUG - VM ctest-TestBasicPolicy-78824251-53314587 is ready for SSH connections 2026-07-18 15:34:47,924 - INFO - Waiting for VM ctest-TestBasicPolicy-78824251-51210119 to be up.. 2026-07-18 15:34:48,021 - DEBUG - VM is in ACTIVE state now 2026-07-18 15:34:48,022 - INFO - VM name : ctest-TestBasicPolicy-78824251-51210119 2026-07-18 15:34:48,115 - DEBUG - VM ctest-TestBasicPolicy-78824251-51210119 ID is d85b97cc-9d98-410c-913c-a2f3df2a8a3d 2026-07-18 15:34:48,115 - DEBUG - VM ctest-TestBasicPolicy-78824251-51210119 launched on Node cn-jenkins-deploy-platform-ansible-os-6105-1 2026-07-18 15:34:48,206 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/d85b97cc-9d98-410c-913c-a2f3df2a8a3d 2026-07-18 15:34:48,215 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6745bb60-858d-45c3-9e2e-57b000386053 2026-07-18 15:34:49,468 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.726 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.726/3.348/5.970/2.622 ms') 2026-07-18 15:34:49,468 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78824251-51210119 passed 2026-07-18 15:34:49,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:34:49,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78824251-51210119, IP 177.53.129.195, Port 22 2026-07-18 15:34:49,778 - DEBUG - VM ctest-TestBasicPolicy-78824251-51210119 is ready for SSH connections 2026-07-18 15:34:49,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:34:49,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.53.129.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-07-18 15:34:49,778 - DEBUG - ping -s 56 -c 3 -W 1 177.53.129.195 2026-07-18 15:34:53,813 - DEBUG - PING 177.53.129.195 (177.53.129.195): 56 data bytes 64 bytes from 177.53.129.195: seq=0 ttl=63 time=4.542 ms 64 bytes from 177.53.129.195: seq=1 ttl=63 time=1.159 ms 64 bytes from 177.53.129.195: seq=2 ttl=63 time=1.544 ms --- 177.53.129.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.159/2.415/4.542 ms 2026-07-18 15:34:53,813 - INFO - Ping to IP 177.53.129.195 from VM ctest-TestBasicPolicy-78824251-53314587 passed 2026-07-18 15:34:54,010 - DEBUG - Policy Update Response {"network-policy": {"uuid": "65b58458-4226-4787-8173-9dda8c2a54d1", "href": "http://10.0.0.242:8082/network-policy/65b58458-4226-4787-8173-9dda8c2a54d1"}} 2026-07-18 15:34:54,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:34:54,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.53.129.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-07-18 15:34:54,010 - DEBUG - ping -s 56 -c 3 -W 1 177.53.129.195 2026-07-18 15:34:57,140 - DEBUG - PING 177.53.129.195 (177.53.129.195): 56 data bytes 64 bytes from 177.53.129.195: seq=0 ttl=63 time=1.660 ms --- 177.53.129.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.660/1.660/1.660 ms 2026-07-18 15:34:57,140 - WARNING - Ping to IP 177.53.129.195 from VM ctest-TestBasicPolicy-78824251-53314587 failed 2026-07-18 15:34:57,140 - INFO - Deleting VM ctest-TestBasicPolicy-78824251-51210119 2026-07-18 15:34:57,218 - INFO - Deleting VM ctest-TestBasicPolicy-78824251-53314587 2026-07-18 15:34:57,638 - INFO - Deleted policy ctest-policy-allow-all-45759927 2026-07-18 15:34:57,638 - INFO - Deleting VN ctest-vn-28032287 2026-07-18 15:34:57,672 - DEBUG - VN 4b9f1ac3-785b-4bd5-9067-98b6febcc20e still in use: Unable to complete operation on network 4b9f1ac3-785b-4bd5-9067-98b6febcc20e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c6a62c1-a9de-45e3-96f0-8a94c88cf5af'] 2026-07-18 15:34:57,672 - WARNING - Deleting VN ctest-vn-28032287 failed..Will retry 2026-07-18 15:34:59,798 - DEBUG - Response for deleting network () 2026-07-18 15:34:59,798 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/895566e0-10d0-4c04-9c7f-b25d6d7b7857 2026-07-18 15:34:59,807 - DEBUG - Response Code: 404 2026-07-18 15:34:59,807 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 15:34:59,813 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e58a1f19-c2d3-440e-8eb2-eb82bf351285 2026-07-18 15:34:59,870 - DEBUG - Requesting: http://10.0.0.242:8082/project/b7d26853-9f33-4303-b65e-174b8bb8ce9f 2026-07-18 15:34:59,954 - INFO - Validated that VN ctest-vn-28032287 is not found in API Server 2026-07-18 15:34:59,967 - DEBUG - VN ctest-vn-28032287 is not present in Agent 10.0.0.242 2026-07-18 15:34:59,967 - INFO - Validated that VN ctest-vn-28032287 is not in any agent 2026-07-18 15:34:59,987 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28032287 info 2026-07-18 15:34:59,987 - INFO - Deleting VN ctest-vn-38996587 2026-07-18 15:35:00,124 - DEBUG - Response for deleting network () 2026-07-18 15:35:00,124 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/e7ac3692-4942-4275-80bc-0ec6cc5f9346 2026-07-18 15:35:00,131 - DEBUG - Response Code: 404 2026-07-18 15:35:00,132 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-07-18 15:35:00,145 - DEBUG - Requesting: http://10.0.0.242:8082/domain/e58a1f19-c2d3-440e-8eb2-eb82bf351285 2026-07-18 15:35:00,200 - DEBUG - Requesting: http://10.0.0.242:8082/project/b7d26853-9f33-4303-b65e-174b8bb8ce9f 2026-07-18 15:35:00,279 - INFO - Validated that VN ctest-vn-38996587 is not found in API Server 2026-07-18 15:35:00,290 - DEBUG - VN ctest-vn-38996587 is not present in Agent 10.0.0.242 2026-07-18 15:35:00,290 - INFO - Validated that VN ctest-vn-38996587 is not in any agent 2026-07-18 15:35:00,311 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38996587 info 2026-07-18 15:35:00,573 - DEBUG - No XMPP flaps were noticed during the test 2026-07-18 15:35:00,573 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-07-18 15:35:00,573 - INFO - -------------------------------------------------------------------------------- 2026-07-18 15:35:01,347 - INFO - Deleted project: ctest-TestBasicPolicy-78824251, ID : b7d26853-9f33-4303-b65e-174b8bb8ce9f