2026-01-05 02:11:22,526 - INFO - Domain Default found not creating 2026-01-05 02:11:22,691 - INFO - Project ctest-TestBasicPolicy-57464601 not found, creating it 2026-01-05 02:11:23,127 - INFO - Created Project:ctest-TestBasicPolicy-57464601, ID : 47d94df1-4d04-4e9b-8ae6-3e9bb96d726e 2026-01-05 02:11:24,616 - INFO - ================================================================================ 2026-01-05 02:11:24,616 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-05 02:11:24,616 - 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-05 02:11:24,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.201': '0'}} with 2026-01-05 02:11:24,871 - INFO - Initial checks done. Running the testcase now 2026-01-05 02:11:24,871 - INFO - 2026-01-05 02:11:25,444 - DEBUG - Response for create_network : {'network': {'id': 'f11f5a6e-a27f-4ad4-982c-bc329d8c8f88', 'name': 'ctest-vn-66674045', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-66674045'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:11:25,586 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b16b29cf-0929-4a8c-9400-4bd0f84a9e14', 'name': '', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'network_id': 'f11f5a6e-a27f-4ad4-982c-bc329d8c8f88', 'ip_version': 4, 'cidr': '219.233.249.192/26', 'allocation_pools': [{'start': '219.233.249.194', 'end': '219.233.249.254'}], 'gateway_ip': '219.233.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.233.249.194', 'tags': [], 'project_id': '47d94df14d044e9b8ae63e9bb96d726e'}} 2026-01-05 02:11:25,603 - INFO - Created VN ctest-vn-66674045 2026-01-05 02:11:25,653 - DEBUG - VN ctest-vn-66674045 UUID is f11f5a6e-a27f-4ad4-982c-bc329d8c8f88 2026-01-05 02:11:25,928 - DEBUG - Response for create_network : {'network': {'id': '8c7d207c-3c89-4e50-a470-cd9363cb65c0', 'name': 'ctest-vn-33320578', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-33320578'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:11:26,122 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8d6f341-4e46-4b00-b63c-a1d903c0269a', 'name': '', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'network_id': '8c7d207c-3c89-4e50-a470-cd9363cb65c0', 'ip_version': 4, 'cidr': '147.144.221.192/26', 'allocation_pools': [{'start': '147.144.221.194', 'end': '147.144.221.254'}], 'gateway_ip': '147.144.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.144.221.194', 'tags': [], 'project_id': '47d94df14d044e9b8ae63e9bb96d726e'}} 2026-01-05 02:11:26,138 - INFO - Created VN ctest-vn-33320578 2026-01-05 02:11:26,189 - DEBUG - VN ctest-vn-33320578 UUID is 8c7d207c-3c89-4e50-a470-cd9363cb65c0 2026-01-05 02:11:26,341 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045, 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-57464601:ctest-vn-33320578, 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-05 02:11:26,633 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f11f5a6e-a27f-4ad4-982c-bc329d8c8f88', 'name': 'ctest-vn-66674045', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b16b29cf-0929-4a8c-9400-4bd0f84a9e14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-66674045'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582']], 'subnet_ipam': [{'subnet_cidr': '219.233.249.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:11:26,859 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c7d207c-3c89-4e50-a470-cd9363cb65c0', 'name': 'ctest-vn-33320578', 'tenant_id': '47d94df14d044e9b8ae63e9bb96d726e', 'project_id': '47d94df14d044e9b8ae63e9bb96d726e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e8d6f341-4e46-4b00-b63c-a1d903c0269a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-vn-33320578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582']], 'subnet_ipam': [{'subnet_cidr': '147.144.221.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:11:27,025 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-05 02:11:27,320 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-05 02:11:27,350 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb 2026-01-05 02:11:27,360 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e 2026-01-05 02:11:27,431 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88 2026-01-05 02:11:27,441 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88 2026-01-05 02:11:27,450 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296 2026-01-05 02:11:27,457 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296 2026-01-05 02:11:27,462 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/5c4b95b1-06a9-4500-b175-6fcb79f86bd1 2026-01-05 02:11:27,468 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-05 02:11:27,468 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88 2026-01-05 02:11:27,476 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296 2026-01-05 02:11:27,489 - INFO - Verified VN network id 11 for VN f11f5a6e-a27f-4ad4-982c-bc329d8c8f88 2026-01-05 02:11:27,489 - INFO - Verifications in API Server for VN ctest-vn-66674045 passed 2026-01-05 02:11:27,489 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88 2026-01-05 02:11:27,497 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296 2026-01-05 02:11:27,502 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296 2026-01-05 02:11:27,507 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/5c4b95b1-06a9-4500-b175-6fcb79f86bd1 2026-01-05 02:11:27,517 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57464601', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17374705318637816532', 'uuid-lslong': '10965346118317936520'}, 'enable': 'true', 'created': '2026-01-05T02:11:25', 'last-modified': '2026-01-05T02:11:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907356'} 2026-01-05 02:11:27,523 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-05 02:11:27,523 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66674045 passed 2026-01-05 02:11:27,523 - DEBUG - ====Verifying policy data for ctest-vn-66674045 in API_Server ====== 2026-01-05 02:11:27,523 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-05 02:11:27,528 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb 2026-01-05 02:11:27,536 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e 2026-01-05 02:11:27,606 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/f11f5a6e-a27f-4ad4-982c-bc329d8c8f88 2026-01-05 02:11:27,614 - DEBUG - ==>Verifying data for policy with id: d21f3530-692f-4775-b28b-5d41570d7281, fqn: ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582'] 2026-01-05 02:11:27,614 - INFO - VN ctest-vn-66674045 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-05 02:11:27,614 - DEBUG - Verifying the vn in opserver 2026-01-05 02:11:27,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045 virtual network link through opserver 10.0.0.240 2026-01-05 02:11:27,614 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-05 02:11:27,925 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-05 02:11:27,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045?flat'} 2026-01-05 02:11:27,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045 is found in opserver 2026-01-05 02:11:27,995 - DEBUG - Do not have enough data to verify VN in agent 2026-01-05 02:11:28,000 - DEBUG - VRF ids for VN ctest-vn-66674045: {} 2026-01-05 02:11:28,000 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-05 02:11:28,005 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb 2026-01-05 02:11:28,014 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e 2026-01-05 02:11:28,083 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0 2026-01-05 02:11:28,093 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0 2026-01-05 02:11:28,102 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451 2026-01-05 02:11:28,108 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451 2026-01-05 02:11:28,114 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a20108d7-c326-4afe-aad7-9c1f6ce1da27 2026-01-05 02:11:28,119 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-05 02:11:28,120 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0 2026-01-05 02:11:28,127 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451 2026-01-05 02:11:28,138 - INFO - Verified VN network id 12 for VN 8c7d207c-3c89-4e50-a470-cd9363cb65c0 2026-01-05 02:11:28,138 - INFO - Verifications in API Server for VN ctest-vn-33320578 passed 2026-01-05 02:11:28,138 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0 2026-01-05 02:11:28,147 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451 2026-01-05 02:11:28,153 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451 2026-01-05 02:11:28,159 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/a20108d7-c326-4afe-aad7-9c1f6ce1da27 2026-01-05 02:11:28,168 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57464601', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10123283255362408016', 'uuid-lslong': '11849196652529935808'}, 'enable': 'true', 'created': '2026-01-05T02:11:25', 'last-modified': '2026-01-05T02:11:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333387'} 2026-01-05 02:11:28,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-05 02:11:28,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33320578 passed 2026-01-05 02:11:28,173 - DEBUG - ====Verifying policy data for ctest-vn-33320578 in API_Server ====== 2026-01-05 02:11:28,173 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-05 02:11:28,178 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb 2026-01-05 02:11:28,187 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e 2026-01-05 02:11:28,257 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8c7d207c-3c89-4e50-a470-cd9363cb65c0 2026-01-05 02:11:28,266 - DEBUG - ==>Verifying data for policy with id: d21f3530-692f-4775-b28b-5d41570d7281, fqn: ['default-domain', 'ctest-TestBasicPolicy-57464601', 'ctest-policy-allow-all-61720582'] 2026-01-05 02:11:28,266 - INFO - VN ctest-vn-33320578 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-05 02:11:28,266 - DEBUG - Verifying the vn in opserver 2026-01-05 02:11:28,266 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578 virtual network link through opserver 10.0.0.240 2026-01-05 02:11:28,266 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-01-05 02:11:28,274 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578?flat'} 2026-01-05 02:11:28,274 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-33320578 is found in opserver 2026-01-05 02:11:28,282 - DEBUG - Do not have enough data to verify VN in agent 2026-01-05 02:11:28,286 - DEBUG - VRF ids for VN ctest-vn-33320578: {} 2026-01-05 02:11:28,342 - DEBUG - Services list from nova: [, , ] 2026-01-05 02:11:29,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4962-1) 2026-01-05 02:11:30,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4962-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4962-1) 2026-01-05 02:11:30,525 - INFO - Waiting for VM ctest-TestBasicPolicy-57464601-88193891 to be up.. 2026-01-05 02:11:30,601 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-05 02:11:35,673 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:11:35,673 - INFO - VM name : ctest-TestBasicPolicy-57464601-88193891 2026-01-05 02:11:35,741 - DEBUG - VM ctest-TestBasicPolicy-57464601-88193891 ID is c4e37020-55fe-49eb-b1dc-c4730f24b4db 2026-01-05 02:11:35,759 - DEBUG - VM ctest-TestBasicPolicy-57464601-88193891 launched on Node cn-jenkins-deploy-platform-ansible-os-4962-1 2026-01-05 02:11:35,828 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/c4e37020-55fe-49eb-b1dc-c4730f24b4db 2026-01-05 02:11:35,836 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/d4dd08f4-5072-4a94-9d71-3f3662ccb7ab 2026-01-05 02:11:39,098 - 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 1023ms') 2026-01-05 02:11:39,098 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57464601-88193891 failed! 2026-01-05 02:11:39,153 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57464601:ctest-vn-66674045 is 219.233.249.193 and allocation pool is NOT set 2026-01-05 02:11:41,212 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/3.806/7.187/3.381 ms') 2026-01-05 02:11:41,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57464601-88193891 passed 2026-01-05 02:11:41,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:11:41,361 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57464601-88193891, IP 219.233.249.195, Port 22 2026-01-05 02:11:41,521 - DEBUG - VM ctest-TestBasicPolicy-57464601-88193891 is ready for SSH connections 2026-01-05 02:11:41,521 - INFO - Waiting for VM ctest-TestBasicPolicy-57464601-30847920 to be up.. 2026-01-05 02:11:41,595 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:11:41,595 - INFO - VM name : ctest-TestBasicPolicy-57464601-30847920 2026-01-05 02:11:41,667 - DEBUG - VM ctest-TestBasicPolicy-57464601-30847920 ID is 3a2209b2-13e0-4e43-964d-179ed55cf22e 2026-01-05 02:11:41,667 - DEBUG - VM ctest-TestBasicPolicy-57464601-30847920 launched on Node cn-jenkins-deploy-platform-ansible-os-4962-1 2026-01-05 02:11:41,753 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/3a2209b2-13e0-4e43-964d-179ed55cf22e 2026-01-05 02:11:41,762 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/3d5f73ef-1ded-4361-b45b-b9eaac1b9225 2026-01-05 02:11:43,012 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.562 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.562/1.727/2.892/1.165 ms') 2026-01-05 02:11:43,012 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57464601-30847920 passed 2026-01-05 02:11:43,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:11:43,165 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57464601-30847920, IP 147.144.221.195, Port 22 2026-01-05 02:11:43,320 - DEBUG - VM ctest-TestBasicPolicy-57464601-30847920 is ready for SSH connections 2026-01-05 02:11:43,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:11:43,321 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.144.221.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-01-05 02:11:43,321 - DEBUG - ping -s 56 -c 3 -W 1 147.144.221.195 2026-01-05 02:11:47,355 - DEBUG - PING 147.144.221.195 (147.144.221.195): 56 data bytes 64 bytes from 147.144.221.195: seq=0 ttl=63 time=3.665 ms 64 bytes from 147.144.221.195: seq=1 ttl=63 time=0.864 ms 64 bytes from 147.144.221.195: seq=2 ttl=63 time=0.917 ms --- 147.144.221.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.864/1.815/3.665 ms 2026-01-05 02:11:47,355 - INFO - Ping to IP 147.144.221.195 from VM ctest-TestBasicPolicy-57464601-88193891 passed 2026-01-05 02:11:47,541 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d21f3530-692f-4775-b28b-5d41570d7281", "href": "http://10.0.0.240:8082/network-policy/d21f3530-692f-4775-b28b-5d41570d7281"}} 2026-01-05 02:11:47,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:11:47,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.144.221.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-01-05 02:11:47,541 - DEBUG - ping -s 56 -c 3 -W 1 147.144.221.195 2026-01-05 02:11:50,744 - DEBUG - PING 147.144.221.195 (147.144.221.195): 56 data bytes --- 147.144.221.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-05 02:11:50,745 - WARNING - Ping to IP 147.144.221.195 from VM ctest-TestBasicPolicy-57464601-88193891 failed 2026-01-05 02:11:50,745 - INFO - Deleting VM ctest-TestBasicPolicy-57464601-30847920 2026-01-05 02:11:50,826 - INFO - Deleting VM ctest-TestBasicPolicy-57464601-88193891 2026-01-05 02:11:51,198 - INFO - Deleted policy ctest-policy-allow-all-61720582 2026-01-05 02:11:51,198 - INFO - Deleting VN ctest-vn-33320578 2026-01-05 02:11:51,230 - DEBUG - VN 8c7d207c-3c89-4e50-a470-cd9363cb65c0 still in use: Unable to complete operation on network 8c7d207c-3c89-4e50-a470-cd9363cb65c0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45f7987a-ec2e-4fd3-8643-90031f6a9948'] 2026-01-05 02:11:51,230 - WARNING - Deleting VN ctest-vn-33320578 failed..Will retry 2026-01-05 02:11:53,331 - DEBUG - Response for deleting network () 2026-01-05 02:11:53,331 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/cde3cd0c-26ff-40a2-9eab-8eb7aaacc451 2026-01-05 02:11:53,338 - DEBUG - Response Code: 404 2026-01-05 02:11:53,338 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-05 02:11:53,346 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb 2026-01-05 02:11:53,398 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e 2026-01-05 02:11:53,465 - INFO - Validated that VN ctest-vn-33320578 is not found in API Server 2026-01-05 02:11:53,475 - DEBUG - VN ctest-vn-33320578 is not present in Agent 10.0.0.240 2026-01-05 02:11:53,475 - INFO - Validated that VN ctest-vn-33320578 is not in any agent 2026-01-05 02:11:53,489 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33320578 info 2026-01-05 02:11:53,489 - INFO - Deleting VN ctest-vn-66674045 2026-01-05 02:11:53,583 - DEBUG - Response for deleting network () 2026-01-05 02:11:53,583 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/da71eb89-33d6-47bc-8ecc-2fdc1fed6296 2026-01-05 02:11:53,590 - DEBUG - Response Code: 404 2026-01-05 02:11:53,590 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-01-05 02:11:53,596 - DEBUG - Requesting: http://10.0.0.240:8082/domain/bd400fdf-09b6-461f-97d8-6f4290c12dcb 2026-01-05 02:11:53,650 - DEBUG - Requesting: http://10.0.0.240:8082/project/47d94df1-4d04-4e9b-8ae6-3e9bb96d726e 2026-01-05 02:11:53,720 - INFO - Validated that VN ctest-vn-66674045 is not found in API Server 2026-01-05 02:11:53,729 - DEBUG - VN ctest-vn-66674045 is not present in Agent 10.0.0.240 2026-01-05 02:11:53,729 - INFO - Validated that VN ctest-vn-66674045 is not in any agent 2026-01-05 02:11:53,742 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66674045 info 2026-01-05 02:11:53,995 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 02:11:53,995 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-05 02:11:53,995 - INFO - -------------------------------------------------------------------------------- 2026-01-05 02:11:54,687 - INFO - Deleted project: ctest-TestBasicPolicy-57464601, ID : 47d94df1-4d04-4e9b-8ae6-3e9bb96d726e