2026-08-04 06:17:42,077 - INFO - Domain Default found not creating 2026-08-04 06:17:42,257 - INFO - Project ctest-TestBasicPolicy-12575409 not found, creating it 2026-08-04 06:17:42,789 - INFO - Created Project:ctest-TestBasicPolicy-12575409, ID : a7b13845-5d41-4d06-a625-d998aeeb3114 2026-08-04 06:17:44,625 - INFO - ================================================================================ 2026-08-04 06:17:44,625 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-04 06:17:44,626 - 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-08-04 06:17:44,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-04 06:17:44,900 - INFO - Initial checks done. Running the testcase now 2026-08-04 06:17:44,900 - INFO - 2026-08-04 06:17:45,603 - DEBUG - Response for create_network : {'network': {'id': '61099b66-1e9a-4dac-8e3c-3331fd651441', 'name': 'ctest-vn-80363953', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-80363953'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 06:17:45,813 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a25ed3c3-deb4-491a-bcd3-e87fe6e972e8', 'name': '', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'network_id': '61099b66-1e9a-4dac-8e3c-3331fd651441', 'ip_version': 4, 'cidr': '68.78.255.64/26', 'allocation_pools': [{'start': '68.78.255.66', 'end': '68.78.255.126'}], 'gateway_ip': '68.78.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.78.255.66', 'tags': [], 'project_id': 'a7b138455d414d06a625d998aeeb3114'}} 2026-08-04 06:17:45,833 - INFO - Created VN ctest-vn-80363953 2026-08-04 06:17:45,890 - DEBUG - VN ctest-vn-80363953 UUID is 61099b66-1e9a-4dac-8e3c-3331fd651441 2026-08-04 06:17:46,212 - DEBUG - Response for create_network : {'network': {'id': 'a6365599-19dd-402c-9a82-4d8d7ea9f8d6', 'name': 'ctest-vn-57487524', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-57487524'], 'port_security_enabled': True, 'description': ''}} 2026-08-04 06:17:46,416 - DEBUG - Response for create_subnet : {'subnet': {'id': '522b38d7-95de-4eed-a36b-b1f39470d69f', 'name': '', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'network_id': 'a6365599-19dd-402c-9a82-4d8d7ea9f8d6', 'ip_version': 4, 'cidr': '169.213.127.192/26', 'allocation_pools': [{'start': '169.213.127.194', 'end': '169.213.127.254'}], 'gateway_ip': '169.213.127.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.213.127.194', 'tags': [], 'project_id': 'a7b138455d414d06a625d998aeeb3114'}} 2026-08-04 06:17:46,439 - INFO - Created VN ctest-vn-57487524 2026-08-04 06:17:46,493 - DEBUG - VN ctest-vn-57487524 UUID is a6365599-19dd-402c-9a82-4d8d7ea9f8d6 2026-08-04 06:17:46,615 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953, 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-12575409:ctest-vn-57487524, 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-08-04 06:17:46,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '61099b66-1e9a-4dac-8e3c-3331fd651441', 'name': 'ctest-vn-80363953', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a25ed3c3-deb4-491a-bcd3-e87fe6e972e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-80363953'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495']], 'subnet_ipam': [{'subnet_cidr': '68.78.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-04 06:17:47,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6365599-19dd-402c-9a82-4d8d7ea9f8d6', 'name': 'ctest-vn-57487524', 'tenant_id': 'a7b138455d414d06a625d998aeeb3114', 'project_id': 'a7b138455d414d06a625d998aeeb3114', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['522b38d7-95de-4eed-a36b-b1f39470d69f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-vn-57487524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495']], 'subnet_ipam': [{'subnet_cidr': '169.213.127.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-04 06:17:47,385 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-04 06:17:47,762 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-04 06:17:47,796 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18 2026-08-04 06:17:47,810 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114 2026-08-04 06:17:47,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441 2026-08-04 06:17:47,903 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441 2026-08-04 06:17:47,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121 2026-08-04 06:17:47,926 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121 2026-08-04 06:17:47,936 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/54a2ab55-b3c3-4da2-a548-8fd125badb00 2026-08-04 06:17:47,944 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-04 06:17:47,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441 2026-08-04 06:17:47,955 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121 2026-08-04 06:17:47,973 - INFO - Verified VN network id 10 for VN 61099b66-1e9a-4dac-8e3c-3331fd651441 2026-08-04 06:17:47,974 - INFO - Verifications in API Server for VN ctest-vn-80363953 passed 2026-08-04 06:17:47,974 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441 2026-08-04 06:17:47,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121 2026-08-04 06:17:47,995 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121 2026-08-04 06:17:48,004 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/54a2ab55-b3c3-4da2-a548-8fd125badb00 2026-08-04 06:17:48,021 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12575409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6992290759371804076', 'uuid-lslong': '10249123141786080321'}, 'enable': 'true', 'created': '2026-08-04T06:17:45', 'last-modified': '2026-08-04T06:17:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.096881'} 2026-08-04 06:17:48,029 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-04 06:17:48,029 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80363953 passed 2026-08-04 06:17:48,030 - DEBUG - ====Verifying policy data for ctest-vn-80363953 in API_Server ====== 2026-08-04 06:17:48,030 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-04 06:17:48,037 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18 2026-08-04 06:17:48,051 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114 2026-08-04 06:17:48,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/61099b66-1e9a-4dac-8e3c-3331fd651441 2026-08-04 06:17:48,146 - DEBUG - ==>Verifying data for policy with id: f95d25d7-4d32-4260-9322-e990474355e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495'] 2026-08-04 06:17:48,146 - INFO - VN ctest-vn-80363953 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-04 06:17:48,146 - DEBUG - Verifying the vn in opserver 2026-08-04 06:17:48,146 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953 virtual network link through opserver 10.0.0.50 2026-08-04 06:17:48,146 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-04 06:17:48,522 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-04 06:17:48,587 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953?flat'} 2026-08-04 06:17:48,588 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-80363953 is found in opserver 2026-08-04 06:17:48,599 - DEBUG - Do not have enough data to verify VN in agent 2026-08-04 06:17:48,606 - DEBUG - VRF ids for VN ctest-vn-80363953: {} 2026-08-04 06:17:48,606 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-04 06:17:48,613 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18 2026-08-04 06:17:48,628 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114 2026-08-04 06:17:48,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6 2026-08-04 06:17:48,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6 2026-08-04 06:17:48,742 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1 2026-08-04 06:17:48,753 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1 2026-08-04 06:17:48,761 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fd7369bf-0a2a-420d-8ef6-1fc24c798fb4 2026-08-04 06:17:48,769 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-04 06:17:48,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6 2026-08-04 06:17:48,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1 2026-08-04 06:17:48,798 - INFO - Verified VN network id 11 for VN a6365599-19dd-402c-9a82-4d8d7ea9f8d6 2026-08-04 06:17:48,798 - INFO - Verifications in API Server for VN ctest-vn-57487524 passed 2026-08-04 06:17:48,798 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6 2026-08-04 06:17:48,813 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1 2026-08-04 06:17:48,821 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1 2026-08-04 06:17:48,830 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fd7369bf-0a2a-420d-8ef6-1fc24c798fb4 2026-08-04 06:17:48,846 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12575409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11976854375090700332', 'uuid-lslong': '11133546498924083414'}, 'enable': 'true', 'created': '2026-08-04T06:17:46', 'last-modified': '2026-08-04T06:17:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.666544'} 2026-08-04 06:17:48,854 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-04 06:17:48,855 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57487524 passed 2026-08-04 06:17:48,855 - DEBUG - ====Verifying policy data for ctest-vn-57487524 in API_Server ====== 2026-08-04 06:17:48,855 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-04 06:17:48,862 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18 2026-08-04 06:17:48,878 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114 2026-08-04 06:17:48,961 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a6365599-19dd-402c-9a82-4d8d7ea9f8d6 2026-08-04 06:17:48,972 - DEBUG - ==>Verifying data for policy with id: f95d25d7-4d32-4260-9322-e990474355e4, fqn: ['default-domain', 'ctest-TestBasicPolicy-12575409', 'ctest-policy-allow-all-46450495'] 2026-08-04 06:17:48,972 - INFO - VN ctest-vn-57487524 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-04 06:17:48,972 - DEBUG - Verifying the vn in opserver 2026-08-04 06:17:48,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524 virtual network link through opserver 10.0.0.50 2026-08-04 06:17:48,972 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-04 06:17:48,984 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524?flat'} 2026-08-04 06:17:48,984 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12575409:ctest-vn-57487524 is found in opserver 2026-08-04 06:17:48,999 - DEBUG - Do not have enough data to verify VN in agent 2026-08-04 06:17:49,005 - DEBUG - VRF ids for VN ctest-vn-57487524: {} 2026-08-04 06:17:49,074 - DEBUG - Services list from nova: [, , ] 2026-08-04 06:17:49,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6130-1) 2026-08-04 06:17:49,923 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6130-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6130-1) 2026-08-04 06:17:49,924 - INFO - Waiting for VM ctest-TestBasicPolicy-12575409-66544654 to be up.. 2026-08-04 06:17:49,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:17:55,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:00,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:05,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:10,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:15,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:20,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:25,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:30,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-04 06:18:35,845 - DEBUG - VM is in ACTIVE state now 2026-08-04 06:18:35,845 - INFO - VM name : ctest-TestBasicPolicy-12575409-66544654 2026-08-04 06:18:35,949 - DEBUG - VM ctest-TestBasicPolicy-12575409-66544654 ID is 6af9566f-ac03-4b3c-b6eb-8697d5648d09 2026-08-04 06:18:35,976 - DEBUG - VM ctest-TestBasicPolicy-12575409-66544654 launched on Node cn-jenkins-deploy-platform-ansible-os-6130-1 2026-08-04 06:18:36,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6af9566f-ac03-4b3c-b6eb-8697d5648d09 2026-08-04 06:18:36,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ee3699d3-5178-4d84-ae20-27b44f259a9b 2026-08-04 06:18:39,337 - 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=2 ttl=63 time=4.68 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 4.679/4.679/4.679/0.000 ms') 2026-08-04 06:18:39,337 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12575409-66544654 passed 2026-08-04 06:18:39,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:18:39,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12575409-66544654, IP 68.78.255.67, Port 22 2026-08-04 06:18:39,664 - DEBUG - VM ctest-TestBasicPolicy-12575409-66544654 is ready for SSH connections 2026-08-04 06:18:39,664 - INFO - Waiting for VM ctest-TestBasicPolicy-12575409-24597271 to be up.. 2026-08-04 06:18:39,771 - DEBUG - VM is in ACTIVE state now 2026-08-04 06:18:39,771 - INFO - VM name : ctest-TestBasicPolicy-12575409-24597271 2026-08-04 06:18:39,857 - DEBUG - VM ctest-TestBasicPolicy-12575409-24597271 ID is 13636cfd-edfd-444f-9b75-246b94a66514 2026-08-04 06:18:39,857 - DEBUG - VM ctest-TestBasicPolicy-12575409-24597271 launched on Node cn-jenkins-deploy-platform-ansible-os-6130-1 2026-08-04 06:18:39,936 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/13636cfd-edfd-444f-9b75-246b94a66514 2026-08-04 06:18:39,947 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/216c045a-1da5-4cbf-a8f4-68ab11e0f4cd 2026-08-04 06:18:41,193 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.67 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 = 1.668/3.685/5.703/2.017 ms') 2026-08-04 06:18:41,193 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12575409-24597271 passed 2026-08-04 06:18:41,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:18:41,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12575409-24597271, IP 169.213.127.195, Port 22 2026-08-04 06:18:41,416 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-04 06:18:41,496 - DEBUG - VM ctest-TestBasicPolicy-12575409-24597271 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-04 06:18:46,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:18:46,498 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12575409-24597271, IP 169.213.127.195, Port 22 2026-08-04 06:18:46,669 - DEBUG - VM ctest-TestBasicPolicy-12575409-24597271 is ready for SSH connections 2026-08-04 06:18:46,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:18:46,669 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.213.127.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-04 06:18:46,669 - DEBUG - ping -s 56 -c 3 -W 1 169.213.127.195 2026-08-04 06:18:50,774 - DEBUG - PING 169.213.127.195 (169.213.127.195): 56 data bytes 64 bytes from 169.213.127.195: seq=0 ttl=63 time=5.070 ms 64 bytes from 169.213.127.195: seq=1 ttl=63 time=1.211 ms 64 bytes from 169.213.127.195: seq=2 ttl=63 time=1.097 ms --- 169.213.127.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.097/2.459/5.070 ms 2026-08-04 06:18:50,775 - INFO - Ping to IP 169.213.127.195 from VM ctest-TestBasicPolicy-12575409-66544654 passed 2026-08-04 06:18:50,973 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f95d25d7-4d32-4260-9322-e990474355e4", "href": "http://10.0.0.50:8082/network-policy/f95d25d7-4d32-4260-9322-e990474355e4"}} 2026-08-04 06:18:50,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-04 06:18:50,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.213.127.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-04 06:18:50,974 - DEBUG - ping -s 56 -c 3 -W 1 169.213.127.195 2026-08-04 06:18:54,110 - DEBUG - PING 169.213.127.195 (169.213.127.195): 56 data bytes 64 bytes from 169.213.127.195: seq=0 ttl=63 time=1.831 ms --- 169.213.127.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.831/1.831/1.831 ms 2026-08-04 06:18:54,110 - WARNING - Ping to IP 169.213.127.195 from VM ctest-TestBasicPolicy-12575409-66544654 failed 2026-08-04 06:18:54,110 - INFO - Deleting VM ctest-TestBasicPolicy-12575409-24597271 2026-08-04 06:18:54,210 - INFO - Deleting VM ctest-TestBasicPolicy-12575409-66544654 2026-08-04 06:18:54,657 - INFO - Deleted policy ctest-policy-allow-all-46450495 2026-08-04 06:18:54,657 - INFO - Deleting VN ctest-vn-57487524 2026-08-04 06:18:54,700 - DEBUG - VN a6365599-19dd-402c-9a82-4d8d7ea9f8d6 still in use: Unable to complete operation on network a6365599-19dd-402c-9a82-4d8d7ea9f8d6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab44d437-d54d-433e-9cdb-8504d86e56e5'] 2026-08-04 06:18:54,700 - WARNING - Deleting VN ctest-vn-57487524 failed..Will retry 2026-08-04 06:18:56,832 - DEBUG - Response for deleting network () 2026-08-04 06:18:56,832 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e69167d2-512e-4c8b-b712-53e2f71b55f1 2026-08-04 06:18:56,843 - DEBUG - Response Code: 404 2026-08-04 06:18:56,843 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-04 06:18:56,851 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18 2026-08-04 06:18:56,909 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114 2026-08-04 06:18:56,989 - INFO - Validated that VN ctest-vn-57487524 is not found in API Server 2026-08-04 06:18:57,000 - DEBUG - VN ctest-vn-57487524 is not present in Agent 10.0.0.50 2026-08-04 06:18:57,000 - INFO - Validated that VN ctest-vn-57487524 is not in any agent 2026-08-04 06:18:57,021 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57487524 info 2026-08-04 06:18:57,022 - INFO - Deleting VN ctest-vn-80363953 2026-08-04 06:18:57,145 - DEBUG - Response for deleting network () 2026-08-04 06:18:57,145 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/25aa692a-67de-49be-b1d4-3a463ad67121 2026-08-04 06:18:57,155 - DEBUG - Response Code: 404 2026-08-04 06:18:57,156 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-04 06:18:57,167 - DEBUG - Requesting: http://10.0.0.50:8082/domain/9c93f504-bac6-4fd6-9e84-cb4b34ac1e18 2026-08-04 06:18:57,224 - DEBUG - Requesting: http://10.0.0.50:8082/project/a7b13845-5d41-4d06-a625-d998aeeb3114 2026-08-04 06:18:57,311 - INFO - Validated that VN ctest-vn-80363953 is not found in API Server 2026-08-04 06:18:57,324 - DEBUG - VN ctest-vn-80363953 is not present in Agent 10.0.0.50 2026-08-04 06:18:57,325 - INFO - Validated that VN ctest-vn-80363953 is not in any agent 2026-08-04 06:18:57,345 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80363953 info 2026-08-04 06:18:57,619 - DEBUG - No XMPP flaps were noticed during the test 2026-08-04 06:18:57,619 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:13] 2026-08-04 06:18:57,619 - INFO - -------------------------------------------------------------------------------- 2026-08-04 06:18:58,401 - INFO - Deleted project: ctest-TestBasicPolicy-12575409, ID : a7b13845-5d41-4d06-a625-d998aeeb3114