2026-03-19 14:55:13,705 - INFO - Domain Default found not creating 2026-03-19 14:55:13,872 - INFO - Project ctest-TestBasicPolicy-51057950 not found, creating it 2026-03-19 14:55:14,331 - INFO - Created Project:ctest-TestBasicPolicy-51057950, ID : 78639736-1825-4fe1-bafc-c1ce2dad4798 2026-03-19 14:55:16,424 - INFO - ================================================================================ 2026-03-19 14:55:16,424 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 14:55:16,424 - 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-03-19 14:55:16,687 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-19 14:55:16,687 - INFO - Initial checks done. Running the testcase now 2026-03-19 14:55:16,687 - INFO - 2026-03-19 14:55:17,221 - DEBUG - Response for create_network : {'network': {'id': '83a2af82-16a6-40da-8114-12b76ec3abf5', 'name': 'ctest-vn-78448488', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-78448488'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 14:55:17,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '72ef7ba2-71a0-4ded-8d7c-d725b6a410c9', 'name': '', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'network_id': '83a2af82-16a6-40da-8114-12b76ec3abf5', 'ip_version': 4, 'cidr': '150.251.238.0/26', 'allocation_pools': [{'start': '150.251.238.2', 'end': '150.251.238.62'}], 'gateway_ip': '150.251.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.251.238.2', 'tags': [], 'project_id': '7863973618254fe1bafcc1ce2dad4798'}} 2026-03-19 14:55:17,368 - INFO - Created VN ctest-vn-78448488 2026-03-19 14:55:17,417 - DEBUG - VN ctest-vn-78448488 UUID is 83a2af82-16a6-40da-8114-12b76ec3abf5 2026-03-19 14:55:17,728 - DEBUG - Response for create_network : {'network': {'id': '9570f174-fa88-4b5f-af89-ab7025037ee1', 'name': 'ctest-vn-23890327', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-23890327'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 14:55:17,907 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca7c47fb-77e7-40dc-8e9b-1fb47ca2b5ce', 'name': '', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'network_id': '9570f174-fa88-4b5f-af89-ab7025037ee1', 'ip_version': 4, 'cidr': '28.1.104.192/26', 'allocation_pools': [{'start': '28.1.104.194', 'end': '28.1.104.254'}], 'gateway_ip': '28.1.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.1.104.194', 'tags': [], 'project_id': '7863973618254fe1bafcc1ce2dad4798'}} 2026-03-19 14:55:17,924 - INFO - Created VN ctest-vn-23890327 2026-03-19 14:55:17,977 - DEBUG - VN ctest-vn-23890327 UUID is 9570f174-fa88-4b5f-af89-ab7025037ee1 2026-03-19 14:55:18,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488, 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-51057950:ctest-vn-23890327, 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-03-19 14:55:18,410 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83a2af82-16a6-40da-8114-12b76ec3abf5', 'name': 'ctest-vn-78448488', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72ef7ba2-71a0-4ded-8d7c-d725b6a410c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-78448488'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653']], 'subnet_ipam': [{'subnet_cidr': '150.251.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 14:55:18,628 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9570f174-fa88-4b5f-af89-ab7025037ee1', 'name': 'ctest-vn-23890327', 'tenant_id': '7863973618254fe1bafcc1ce2dad4798', 'project_id': '7863973618254fe1bafcc1ce2dad4798', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca7c47fb-77e7-40dc-8e9b-1fb47ca2b5ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-vn-23890327'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653']], 'subnet_ipam': [{'subnet_cidr': '28.1.104.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 14:55:18,773 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 14:55:19,090 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 14:55:19,118 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c 2026-03-19 14:55:19,129 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798 2026-03-19 14:55:19,197 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5 2026-03-19 14:55:19,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5 2026-03-19 14:55:19,216 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f 2026-03-19 14:55:19,223 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f 2026-03-19 14:55:19,230 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/82afd1c6-cb40-411e-a6b1-3668c398fabd 2026-03-19 14:55:19,235 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 14:55:19,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5 2026-03-19 14:55:19,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f 2026-03-19 14:55:19,256 - INFO - Verified VN network id 10 for VN 83a2af82-16a6-40da-8114-12b76ec3abf5 2026-03-19 14:55:19,256 - INFO - Verifications in API Server for VN ctest-vn-78448488 passed 2026-03-19 14:55:19,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5 2026-03-19 14:55:19,265 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f 2026-03-19 14:55:19,271 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f 2026-03-19 14:55:19,277 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/82afd1c6-cb40-411e-a6b1-3668c398fabd 2026-03-19 14:55:19,287 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51057950', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9485336738456289498', 'uuid-lslong': '9301079709473549301'}, 'enable': 'true', 'created': '2026-03-19T14:55:17', 'last-modified': '2026-03-19T14:55:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897597'} 2026-03-19 14:55:19,294 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 14:55:19,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78448488 passed 2026-03-19 14:55:19,294 - DEBUG - ====Verifying policy data for ctest-vn-78448488 in API_Server ====== 2026-03-19 14:55:19,294 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 14:55:19,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c 2026-03-19 14:55:19,308 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798 2026-03-19 14:55:19,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83a2af82-16a6-40da-8114-12b76ec3abf5 2026-03-19 14:55:19,382 - DEBUG - ==>Verifying data for policy with id: fb148886-111f-4c4c-952d-e83f42806e58, fqn: ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653'] 2026-03-19 14:55:19,382 - INFO - VN ctest-vn-78448488 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 14:55:19,382 - DEBUG - Verifying the vn in opserver 2026-03-19 14:55:19,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488 virtual network link through opserver 10.0.0.38 2026-03-19 14:55:19,382 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-19 14:55:19,675 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-19 14:55:19,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488?flat'} 2026-03-19 14:55:19,731 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488 is found in opserver 2026-03-19 14:55:19,739 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 14:55:19,744 - DEBUG - VRF ids for VN ctest-vn-78448488: {} 2026-03-19 14:55:19,744 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 14:55:19,749 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c 2026-03-19 14:55:19,767 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798 2026-03-19 14:55:19,839 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1 2026-03-19 14:55:19,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1 2026-03-19 14:55:19,861 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d 2026-03-19 14:55:19,868 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d 2026-03-19 14:55:19,875 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b414e083-3a3e-499d-9913-2c776fae3222 2026-03-19 14:55:19,881 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 14:55:19,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1 2026-03-19 14:55:19,889 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d 2026-03-19 14:55:19,901 - INFO - Verified VN network id 11 for VN 9570f174-fa88-4b5f-af89-ab7025037ee1 2026-03-19 14:55:19,901 - INFO - Verifications in API Server for VN ctest-vn-23890327 passed 2026-03-19 14:55:19,901 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1 2026-03-19 14:55:19,909 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d 2026-03-19 14:55:19,915 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d 2026-03-19 14:55:19,922 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b414e083-3a3e-499d-9913-2c776fae3222 2026-03-19 14:55:19,933 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51057950', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10768372193764592479', 'uuid-lslong': '12648829526592421601'}, 'enable': 'true', 'created': '2026-03-19T14:55:17', 'last-modified': '2026-03-19T14:55:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325044'} 2026-03-19 14:55:19,940 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 14:55:19,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23890327 passed 2026-03-19 14:55:19,940 - DEBUG - ====Verifying policy data for ctest-vn-23890327 in API_Server ====== 2026-03-19 14:55:19,940 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 14:55:19,946 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c 2026-03-19 14:55:19,957 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798 2026-03-19 14:55:20,025 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9570f174-fa88-4b5f-af89-ab7025037ee1 2026-03-19 14:55:20,041 - DEBUG - ==>Verifying data for policy with id: fb148886-111f-4c4c-952d-e83f42806e58, fqn: ['default-domain', 'ctest-TestBasicPolicy-51057950', 'ctest-policy-allow-all-83638653'] 2026-03-19 14:55:20,041 - INFO - VN ctest-vn-23890327 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 14:55:20,041 - DEBUG - Verifying the vn in opserver 2026-03-19 14:55:20,042 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327 virtual network link through opserver 10.0.0.38 2026-03-19 14:55:20,042 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-19 14:55:20,051 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327?flat'} 2026-03-19 14:55:20,051 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-23890327 is found in opserver 2026-03-19 14:55:20,060 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 14:55:20,064 - DEBUG - VRF ids for VN ctest-vn-23890327: {} 2026-03-19 14:55:20,116 - DEBUG - Services list from nova: [, , ] 2026-03-19 14:55:21,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5500-1) 2026-03-19 14:55:22,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5500-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5500-1) 2026-03-19 14:55:22,281 - INFO - Waiting for VM ctest-TestBasicPolicy-51057950-13575804 to be up.. 2026-03-19 14:55:22,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 14:55:27,431 - DEBUG - VM is in ACTIVE state now 2026-03-19 14:55:27,431 - INFO - VM name : ctest-TestBasicPolicy-51057950-13575804 2026-03-19 14:55:27,512 - DEBUG - VM ctest-TestBasicPolicy-51057950-13575804 ID is 825c8258-a20a-4494-a54d-9cb9a8de082d 2026-03-19 14:55:27,530 - DEBUG - VM ctest-TestBasicPolicy-51057950-13575804 launched on Node cn-jenkins-deploy-platform-ansible-os-5500-1 2026-03-19 14:55:27,608 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/825c8258-a20a-4494-a54d-9cb9a8de082d 2026-03-19 14:55:27,616 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1de4466d-03dd-4f6f-abc8-b44ea8575eaa 2026-03-19 14:55:30,869 - 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 1009ms') 2026-03-19 14:55:30,870 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51057950-13575804 failed! 2026-03-19 14:55:30,921 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51057950:ctest-vn-78448488 is 150.251.238.1 and allocation pool is NOT set 2026-03-19 14:55:32,990 - 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=7.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.470/3.942/7.415/3.472 ms') 2026-03-19 14:55:32,990 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51057950-13575804 passed 2026-03-19 14:55:33,137 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 14:55:33,137 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51057950-13575804, IP 150.251.238.3, Port 22 2026-03-19 14:55:33,303 - DEBUG - VM ctest-TestBasicPolicy-51057950-13575804 is ready for SSH connections 2026-03-19 14:55:33,303 - INFO - Waiting for VM ctest-TestBasicPolicy-51057950-93517164 to be up.. 2026-03-19 14:55:33,375 - DEBUG - VM is in ACTIVE state now 2026-03-19 14:55:33,375 - INFO - VM name : ctest-TestBasicPolicy-51057950-93517164 2026-03-19 14:55:33,444 - DEBUG - VM ctest-TestBasicPolicy-51057950-93517164 ID is d98027e1-ea06-46b9-a9b1-09ed22f204d6 2026-03-19 14:55:33,444 - DEBUG - VM ctest-TestBasicPolicy-51057950-93517164 launched on Node cn-jenkins-deploy-platform-ansible-os-5500-1 2026-03-19 14:55:33,520 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d98027e1-ea06-46b9-a9b1-09ed22f204d6 2026-03-19 14:55:33,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6aa68763-d892-4734-9825-d2c0e2ef0120 2026-03-19 14:55:34,758 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.366 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.366/1.574/2.782/1.208 ms') 2026-03-19 14:55:34,758 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51057950-93517164 passed 2026-03-19 14:55:34,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 14:55:34,909 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51057950-93517164, IP 28.1.104.195, Port 22 2026-03-19 14:55:35,069 - DEBUG - VM ctest-TestBasicPolicy-51057950-93517164 is ready for SSH connections 2026-03-19 14:55:35,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 14:55:35,070 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.1.104.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-19 14:55:35,070 - DEBUG - ping -s 56 -c 3 -W 1 28.1.104.195 2026-03-19 14:55:39,098 - DEBUG - PING 28.1.104.195 (28.1.104.195): 56 data bytes 64 bytes from 28.1.104.195: seq=0 ttl=63 time=3.196 ms 64 bytes from 28.1.104.195: seq=1 ttl=63 time=0.775 ms 64 bytes from 28.1.104.195: seq=2 ttl=63 time=0.926 ms --- 28.1.104.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.632/3.196 ms 2026-03-19 14:55:39,098 - INFO - Ping to IP 28.1.104.195 from VM ctest-TestBasicPolicy-51057950-13575804 passed 2026-03-19 14:55:39,277 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fb148886-111f-4c4c-952d-e83f42806e58", "href": "http://10.0.0.38:8082/network-policy/fb148886-111f-4c4c-952d-e83f42806e58"}} 2026-03-19 14:55:39,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 14:55:39,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.1.104.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-19 14:55:39,277 - DEBUG - ping -s 56 -c 3 -W 1 28.1.104.195 2026-03-19 14:55:42,489 - DEBUG - PING 28.1.104.195 (28.1.104.195): 56 data bytes --- 28.1.104.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 14:55:42,489 - WARNING - Ping to IP 28.1.104.195 from VM ctest-TestBasicPolicy-51057950-13575804 failed 2026-03-19 14:55:42,489 - INFO - Deleting VM ctest-TestBasicPolicy-51057950-93517164 2026-03-19 14:55:42,570 - INFO - Deleting VM ctest-TestBasicPolicy-51057950-13575804 2026-03-19 14:55:42,913 - INFO - Deleted policy ctest-policy-allow-all-83638653 2026-03-19 14:55:42,913 - INFO - Deleting VN ctest-vn-23890327 2026-03-19 14:55:42,944 - DEBUG - VN 9570f174-fa88-4b5f-af89-ab7025037ee1 still in use: Unable to complete operation on network 9570f174-fa88-4b5f-af89-ab7025037ee1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3bda7547-7756-417b-8a25-89d649a86a41'] 2026-03-19 14:55:42,944 - WARNING - Deleting VN ctest-vn-23890327 failed..Will retry 2026-03-19 14:55:45,037 - DEBUG - Response for deleting network () 2026-03-19 14:55:45,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3d64b198-c635-43dc-8cfb-2e8f38cf525d 2026-03-19 14:55:45,042 - DEBUG - Response Code: 404 2026-03-19 14:55:45,043 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 14:55:45,048 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c 2026-03-19 14:55:45,098 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798 2026-03-19 14:55:45,175 - INFO - Validated that VN ctest-vn-23890327 is not found in API Server 2026-03-19 14:55:45,186 - DEBUG - VN ctest-vn-23890327 is not present in Agent 10.0.0.38 2026-03-19 14:55:45,186 - INFO - Validated that VN ctest-vn-23890327 is not in any agent 2026-03-19 14:55:45,198 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23890327 info 2026-03-19 14:55:45,199 - INFO - Deleting VN ctest-vn-78448488 2026-03-19 14:55:45,285 - DEBUG - Response for deleting network () 2026-03-19 14:55:45,285 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0d4c3b0c-2cc7-44fc-8270-21ddef54e17f 2026-03-19 14:55:45,290 - DEBUG - Response Code: 404 2026-03-19 14:55:45,291 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-19 14:55:45,296 - DEBUG - Requesting: http://10.0.0.38:8082/domain/29dc7456-3ee2-4d37-9dc9-7c8b1665796c 2026-03-19 14:55:45,346 - DEBUG - Requesting: http://10.0.0.38:8082/project/78639736-1825-4fe1-bafc-c1ce2dad4798 2026-03-19 14:55:45,411 - INFO - Validated that VN ctest-vn-78448488 is not found in API Server 2026-03-19 14:55:45,419 - DEBUG - VN ctest-vn-78448488 is not present in Agent 10.0.0.38 2026-03-19 14:55:45,419 - INFO - Validated that VN ctest-vn-78448488 is not in any agent 2026-03-19 14:55:45,432 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78448488 info 2026-03-19 14:55:45,685 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 14:55:45,685 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-19 14:55:45,685 - INFO - -------------------------------------------------------------------------------- 2026-03-19 14:55:46,342 - INFO - Deleted project: ctest-TestBasicPolicy-51057950, ID : 78639736-1825-4fe1-bafc-c1ce2dad4798