2026-01-01 17:30:49,014 - INFO - Domain Default found not creating 2026-01-01 17:30:49,195 - INFO - Project ctest-TestBasicPolicy-53249026 not found, creating it 2026-01-01 17:30:49,681 - INFO - Created Project:ctest-TestBasicPolicy-53249026, ID : 6d97f5b8-6c06-4dcc-8687-9e44a8f38990 2026-01-01 17:30:51,234 - INFO - ================================================================================ 2026-01-01 17:30:51,234 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-01 17:30:51,234 - 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-01-01 17:30:51,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-01-01 17:30:51,497 - INFO - Initial checks done. Running the testcase now 2026-01-01 17:30:51,497 - INFO - 2026-01-01 17:30:52,103 - DEBUG - Response for create_network : {'network': {'id': '5fb32aeb-74b4-4c8c-91a8-4c03f39bc457', 'name': 'ctest-vn-12665070', 'tenant_id': '6d97f5b86c064dcc86879e44a8f38990', 'project_id': '6d97f5b86c064dcc86879e44a8f38990', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-vn-12665070'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 17:30:52,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c325ca35-390a-4710-a807-91290b7a29b4', 'name': '', 'tenant_id': '6d97f5b86c064dcc86879e44a8f38990', 'network_id': '5fb32aeb-74b4-4c8c-91a8-4c03f39bc457', 'ip_version': 4, 'cidr': '61.51.187.64/26', 'allocation_pools': [{'start': '61.51.187.66', 'end': '61.51.187.126'}], 'gateway_ip': '61.51.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.51.187.66', 'tags': [], 'project_id': '6d97f5b86c064dcc86879e44a8f38990'}} 2026-01-01 17:30:52,332 - INFO - Created VN ctest-vn-12665070 2026-01-01 17:30:52,387 - DEBUG - VN ctest-vn-12665070 UUID is 5fb32aeb-74b4-4c8c-91a8-4c03f39bc457 2026-01-01 17:30:52,683 - DEBUG - Response for create_network : {'network': {'id': '2075605d-4138-4bb2-935c-0a6e3603fe8b', 'name': 'ctest-vn-08726850', 'tenant_id': '6d97f5b86c064dcc86879e44a8f38990', 'project_id': '6d97f5b86c064dcc86879e44a8f38990', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-vn-08726850'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 17:30:52,883 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7cba739-c68a-4f9d-8434-8a2adaaf8013', 'name': '', 'tenant_id': '6d97f5b86c064dcc86879e44a8f38990', 'network_id': '2075605d-4138-4bb2-935c-0a6e3603fe8b', 'ip_version': 4, 'cidr': '184.123.109.0/26', 'allocation_pools': [{'start': '184.123.109.2', 'end': '184.123.109.62'}], 'gateway_ip': '184.123.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.123.109.2', 'tags': [], 'project_id': '6d97f5b86c064dcc86879e44a8f38990'}} 2026-01-01 17:30:52,902 - INFO - Created VN ctest-vn-08726850 2026-01-01 17:30:52,958 - DEBUG - VN ctest-vn-08726850 UUID is 2075605d-4138-4bb2-935c-0a6e3603fe8b 2026-01-01 17:30:53,088 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-12665070, 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-53249026:ctest-vn-08726850, 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-01-01 17:30:53,415 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fb32aeb-74b4-4c8c-91a8-4c03f39bc457', 'name': 'ctest-vn-12665070', 'tenant_id': '6d97f5b86c064dcc86879e44a8f38990', 'project_id': '6d97f5b86c064dcc86879e44a8f38990', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c325ca35-390a-4710-a807-91290b7a29b4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-vn-12665070'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-policy-allow-all-00590875']], 'subnet_ipam': [{'subnet_cidr': '61.51.187.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-01 17:30:53,652 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2075605d-4138-4bb2-935c-0a6e3603fe8b', 'name': 'ctest-vn-08726850', 'tenant_id': '6d97f5b86c064dcc86879e44a8f38990', 'project_id': '6d97f5b86c064dcc86879e44a8f38990', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7cba739-c68a-4f9d-8434-8a2adaaf8013'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-vn-08726850'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-policy-allow-all-00590875']], 'subnet_ipam': [{'subnet_cidr': '184.123.109.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-01 17:30:53,814 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-01 17:30:54,117 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-01 17:30:54,155 - DEBUG - Requesting: http://10.0.0.249:8082/domain/539e2317-9ac9-4fd7-828d-2a4aacad0769 2026-01-01 17:30:54,179 - DEBUG - Requesting: http://10.0.0.249:8082/project/6d97f5b8-6c06-4dcc-8687-9e44a8f38990 2026-01-01 17:30:54,266 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5fb32aeb-74b4-4c8c-91a8-4c03f39bc457 2026-01-01 17:30:54,279 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5fb32aeb-74b4-4c8c-91a8-4c03f39bc457 2026-01-01 17:30:54,288 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c6d17375-268d-4ec5-8c4f-fbbe19a457ec 2026-01-01 17:30:54,297 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c6d17375-268d-4ec5-8c4f-fbbe19a457ec 2026-01-01 17:30:54,309 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0cced062-9cba-48c9-98f9-161ef3a50b1c 2026-01-01 17:30:54,316 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-01 17:30:54,316 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5fb32aeb-74b4-4c8c-91a8-4c03f39bc457 2026-01-01 17:30:54,327 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c6d17375-268d-4ec5-8c4f-fbbe19a457ec 2026-01-01 17:30:54,343 - INFO - Verified VN network id 11 for VN 5fb32aeb-74b4-4c8c-91a8-4c03f39bc457 2026-01-01 17:30:54,343 - INFO - Verifications in API Server for VN ctest-vn-12665070 passed 2026-01-01 17:30:54,343 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5fb32aeb-74b4-4c8c-91a8-4c03f39bc457 2026-01-01 17:30:54,353 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c6d17375-268d-4ec5-8c4f-fbbe19a457ec 2026-01-01 17:30:54,360 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c6d17375-268d-4ec5-8c4f-fbbe19a457ec 2026-01-01 17:30:54,368 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0cced062-9cba-48c9-98f9-161ef3a50b1c 2026-01-01 17:30:54,380 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-12665070', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53249026', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6895902645198015628', 'uuid-lslong': '10495722511442625623'}, 'enable': 'true', 'created': '2026-01-01T17:30:52', 'last-modified': '2026-01-01T17:30:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993164'} 2026-01-01 17:30:54,387 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-01 17:30:54,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12665070 passed 2026-01-01 17:30:54,387 - DEBUG - ====Verifying policy data for ctest-vn-12665070 in API_Server ====== 2026-01-01 17:30:54,387 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-01 17:30:54,394 - DEBUG - Requesting: http://10.0.0.249:8082/domain/539e2317-9ac9-4fd7-828d-2a4aacad0769 2026-01-01 17:30:54,406 - DEBUG - Requesting: http://10.0.0.249:8082/project/6d97f5b8-6c06-4dcc-8687-9e44a8f38990 2026-01-01 17:30:54,490 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/5fb32aeb-74b4-4c8c-91a8-4c03f39bc457 2026-01-01 17:30:54,501 - DEBUG - ==>Verifying data for policy with id: f9829573-bf50-41d3-a86c-3a0380081ea4, fqn: ['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-policy-allow-all-00590875'] 2026-01-01 17:30:54,501 - INFO - VN ctest-vn-12665070 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-01 17:30:54,501 - DEBUG - Verifying the vn in opserver 2026-01-01 17:30:54,502 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-12665070 virtual network link through opserver 10.0.0.249 2026-01-01 17:30:54,502 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-01 17:30:54,796 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-01 17:30:54,867 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-12665070', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-12665070?flat'} 2026-01-01 17:30:54,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-12665070 is found in opserver 2026-01-01 17:30:54,877 - DEBUG - Do not have enough data to verify VN in agent 2026-01-01 17:30:54,882 - DEBUG - VRF ids for VN ctest-vn-12665070: {} 2026-01-01 17:30:54,882 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-01 17:30:54,887 - DEBUG - Requesting: http://10.0.0.249:8082/domain/539e2317-9ac9-4fd7-828d-2a4aacad0769 2026-01-01 17:30:54,898 - DEBUG - Requesting: http://10.0.0.249:8082/project/6d97f5b8-6c06-4dcc-8687-9e44a8f38990 2026-01-01 17:30:54,971 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2075605d-4138-4bb2-935c-0a6e3603fe8b 2026-01-01 17:30:54,983 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2075605d-4138-4bb2-935c-0a6e3603fe8b 2026-01-01 17:30:54,992 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96e41fe1-c42c-4870-9abc-a4deb2377972 2026-01-01 17:30:54,999 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96e41fe1-c42c-4870-9abc-a4deb2377972 2026-01-01 17:30:55,007 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3eb22596-d309-4cf4-8910-d9962bdaba8c 2026-01-01 17:30:55,015 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-01 17:30:55,015 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2075605d-4138-4bb2-935c-0a6e3603fe8b 2026-01-01 17:30:55,024 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96e41fe1-c42c-4870-9abc-a4deb2377972 2026-01-01 17:30:55,051 - INFO - Verified VN network id 12 for VN 2075605d-4138-4bb2-935c-0a6e3603fe8b 2026-01-01 17:30:55,051 - INFO - Verifications in API Server for VN ctest-vn-08726850 passed 2026-01-01 17:30:55,051 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2075605d-4138-4bb2-935c-0a6e3603fe8b 2026-01-01 17:30:55,061 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96e41fe1-c42c-4870-9abc-a4deb2377972 2026-01-01 17:30:55,069 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96e41fe1-c42c-4870-9abc-a4deb2377972 2026-01-01 17:30:55,077 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3eb22596-d309-4cf4-8910-d9962bdaba8c 2026-01-01 17:30:55,089 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-08726850', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53249026', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2338881535131274162', 'uuid-lslong': '10618373489901698699'}, 'enable': 'true', 'created': '2026-01-01T17:30:52', 'last-modified': '2026-01-01T17:30:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467246'} 2026-01-01 17:30:55,095 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-01 17:30:55,095 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08726850 passed 2026-01-01 17:30:55,095 - DEBUG - ====Verifying policy data for ctest-vn-08726850 in API_Server ====== 2026-01-01 17:30:55,095 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-01 17:30:55,101 - DEBUG - Requesting: http://10.0.0.249:8082/domain/539e2317-9ac9-4fd7-828d-2a4aacad0769 2026-01-01 17:30:55,112 - DEBUG - Requesting: http://10.0.0.249:8082/project/6d97f5b8-6c06-4dcc-8687-9e44a8f38990 2026-01-01 17:30:55,183 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2075605d-4138-4bb2-935c-0a6e3603fe8b 2026-01-01 17:30:55,193 - DEBUG - ==>Verifying data for policy with id: f9829573-bf50-41d3-a86c-3a0380081ea4, fqn: ['default-domain', 'ctest-TestBasicPolicy-53249026', 'ctest-policy-allow-all-00590875'] 2026-01-01 17:30:55,193 - INFO - VN ctest-vn-08726850 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-01 17:30:55,193 - DEBUG - Verifying the vn in opserver 2026-01-01 17:30:55,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-08726850 virtual network link through opserver 10.0.0.249 2026-01-01 17:30:55,193 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-01 17:30:55,205 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-08726850', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-08726850?flat'} 2026-01-01 17:30:55,205 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-08726850 is found in opserver 2026-01-01 17:30:55,214 - DEBUG - Do not have enough data to verify VN in agent 2026-01-01 17:30:55,219 - DEBUG - VRF ids for VN ctest-vn-08726850: {} 2026-01-01 17:30:55,284 - DEBUG - Services list from nova: [, , ] 2026-01-01 17:30:56,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4951-1) 2026-01-01 17:30:57,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4951-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4951-1) 2026-01-01 17:30:57,643 - INFO - Waiting for VM ctest-TestBasicPolicy-53249026-12106801 to be up.. 2026-01-01 17:30:57,760 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-01 17:31:02,841 - DEBUG - VM is in ACTIVE state now 2026-01-01 17:31:02,841 - INFO - VM name : ctest-TestBasicPolicy-53249026-12106801 2026-01-01 17:31:02,938 - DEBUG - VM ctest-TestBasicPolicy-53249026-12106801 ID is b5ddbd34-e615-4eda-b2bf-8eeb90dc25ff 2026-01-01 17:31:02,967 - DEBUG - VM ctest-TestBasicPolicy-53249026-12106801 launched on Node cn-jenkins-deploy-platform-ansible-os-4951-1 2026-01-01 17:31:03,054 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b5ddbd34-e615-4eda-b2bf-8eeb90dc25ff 2026-01-01 17:31:03,065 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2523218e-237f-4a9c-a17e-fb704f010795 2026-01-01 17:31:06,279 - 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 1006ms') 2026-01-01 17:31:06,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53249026-12106801 failed! 2026-01-01 17:31:06,335 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53249026:ctest-vn-12665070 is 61.51.187.65 and allocation pool is NOT set 2026-01-01 17:31:08,398 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.919 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.919/4.767/8.616/3.848 ms') 2026-01-01 17:31:08,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53249026-12106801 passed 2026-01-01 17:31:08,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 17:31:08,547 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53249026-12106801, IP 61.51.187.67, Port 22 2026-01-01 17:31:08,713 - DEBUG - VM ctest-TestBasicPolicy-53249026-12106801 is ready for SSH connections 2026-01-01 17:31:08,713 - INFO - Waiting for VM ctest-TestBasicPolicy-53249026-80205507 to be up.. 2026-01-01 17:31:08,806 - DEBUG - VM is in ACTIVE state now 2026-01-01 17:31:08,806 - INFO - VM name : ctest-TestBasicPolicy-53249026-80205507 2026-01-01 17:31:08,898 - DEBUG - VM ctest-TestBasicPolicy-53249026-80205507 ID is 0ba4d8ce-15c8-477e-9829-19dc686d8945 2026-01-01 17:31:08,898 - DEBUG - VM ctest-TestBasicPolicy-53249026-80205507 launched on Node cn-jenkins-deploy-platform-ansible-os-4951-1 2026-01-01 17:31:08,987 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/0ba4d8ce-15c8-477e-9829-19dc686d8945 2026-01-01 17:31:09,000 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9e6266c9-b6c6-480b-9ba4-dfc5b7ff12a6 2026-01-01 17:31:10,243 - 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=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.598/2.726/1.128 ms') 2026-01-01 17:31:10,243 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53249026-80205507 passed 2026-01-01 17:31:10,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 17:31:10,403 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53249026-80205507, IP 184.123.109.3, Port 22 2026-01-01 17:31:10,581 - DEBUG - VM ctest-TestBasicPolicy-53249026-80205507 is ready for SSH connections 2026-01-01 17:31:10,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 17:31:10,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.123.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-01 17:31:10,581 - DEBUG - ping -s 56 -c 3 -W 1 184.123.109.3 2026-01-01 17:31:14,662 - DEBUG - PING 184.123.109.3 (184.123.109.3): 56 data bytes 64 bytes from 184.123.109.3: seq=0 ttl=63 time=3.973 ms 64 bytes from 184.123.109.3: seq=1 ttl=63 time=0.993 ms 64 bytes from 184.123.109.3: seq=2 ttl=63 time=1.109 ms --- 184.123.109.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/2.025/3.973 ms 2026-01-01 17:31:14,663 - INFO - Ping to IP 184.123.109.3 from VM ctest-TestBasicPolicy-53249026-12106801 passed 2026-01-01 17:31:14,854 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9829573-bf50-41d3-a86c-3a0380081ea4", "href": "http://10.0.0.249:8082/network-policy/f9829573-bf50-41d3-a86c-3a0380081ea4"}} 2026-01-01 17:31:14,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 17:31:14,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.123.109.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-01 17:31:14,855 - DEBUG - ping -s 56 -c 3 -W 1 184.123.109.3 2026-01-01 17:31:18,080 - DEBUG - PING 184.123.109.3 (184.123.109.3): 56 data bytes --- 184.123.109.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-01 17:31:18,080 - WARNING - Ping to IP 184.123.109.3 from VM ctest-TestBasicPolicy-53249026-12106801 failed 2026-01-01 17:31:18,080 - INFO - Deleting VM ctest-TestBasicPolicy-53249026-80205507 2026-01-01 17:31:18,151 - INFO - Deleting VM ctest-TestBasicPolicy-53249026-12106801 2026-01-01 17:31:18,549 - INFO - Deleted policy ctest-policy-allow-all-00590875 2026-01-01 17:31:18,549 - INFO - Deleting VN ctest-vn-08726850 2026-01-01 17:31:18,593 - DEBUG - VN 2075605d-4138-4bb2-935c-0a6e3603fe8b still in use: Unable to complete operation on network 2075605d-4138-4bb2-935c-0a6e3603fe8b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9189e26f-e799-4d54-b1cd-508dd2ec5650'] 2026-01-01 17:31:18,594 - WARNING - Deleting VN ctest-vn-08726850 failed..Will retry 2026-01-01 17:31:20,692 - DEBUG - Response for deleting network () 2026-01-01 17:31:20,692 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/96e41fe1-c42c-4870-9abc-a4deb2377972 2026-01-01 17:31:20,701 - DEBUG - Response Code: 404 2026-01-01 17:31:20,701 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-01 17:31:20,706 - DEBUG - Requesting: http://10.0.0.249:8082/domain/539e2317-9ac9-4fd7-828d-2a4aacad0769 2026-01-01 17:31:20,764 - DEBUG - Requesting: http://10.0.0.249:8082/project/6d97f5b8-6c06-4dcc-8687-9e44a8f38990 2026-01-01 17:31:20,839 - INFO - Validated that VN ctest-vn-08726850 is not found in API Server 2026-01-01 17:31:20,849 - DEBUG - VN ctest-vn-08726850 is not present in Agent 10.0.0.249 2026-01-01 17:31:20,849 - INFO - Validated that VN ctest-vn-08726850 is not in any agent 2026-01-01 17:31:20,863 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08726850 info 2026-01-01 17:31:20,863 - INFO - Deleting VN ctest-vn-12665070 2026-01-01 17:31:20,968 - DEBUG - Response for deleting network () 2026-01-01 17:31:20,968 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c6d17375-268d-4ec5-8c4f-fbbe19a457ec 2026-01-01 17:31:20,978 - DEBUG - Response Code: 404 2026-01-01 17:31:20,978 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-01 17:31:20,984 - DEBUG - Requesting: http://10.0.0.249:8082/domain/539e2317-9ac9-4fd7-828d-2a4aacad0769 2026-01-01 17:31:21,051 - DEBUG - Requesting: http://10.0.0.249:8082/project/6d97f5b8-6c06-4dcc-8687-9e44a8f38990 2026-01-01 17:31:21,156 - INFO - Validated that VN ctest-vn-12665070 is not found in API Server 2026-01-01 17:31:21,165 - DEBUG - VN ctest-vn-12665070 is not present in Agent 10.0.0.249 2026-01-01 17:31:21,165 - INFO - Validated that VN ctest-vn-12665070 is not in any agent 2026-01-01 17:31:21,179 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12665070 info 2026-01-01 17:31:21,455 - DEBUG - No XMPP flaps were noticed during the test 2026-01-01 17:31:21,455 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-01 17:31:21,455 - INFO - -------------------------------------------------------------------------------- 2026-01-01 17:31:22,149 - INFO - Deleted project: ctest-TestBasicPolicy-53249026, ID : 6d97f5b8-6c06-4dcc-8687-9e44a8f38990