2026-04-20 16:30:07,622 - INFO - Domain Default found not creating 2026-04-20 16:30:07,781 - INFO - Project ctest-TestBasicPolicy-66019334 not found, creating it 2026-04-20 16:30:08,216 - INFO - Created Project:ctest-TestBasicPolicy-66019334, ID : 003eac04-8c78-465b-ae1b-112a17c11f90 2026-04-20 16:30:09,698 - INFO - ================================================================================ 2026-04-20 16:30:09,698 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 16:30:09,698 - 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-04-20 16:30:09,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-04-20 16:30:09,951 - INFO - Initial checks done. Running the testcase now 2026-04-20 16:30:09,951 - INFO - 2026-04-20 16:30:10,502 - DEBUG - Response for create_network : {'network': {'id': 'c0603b4e-d05f-4d23-b11a-fb1dd829ea65', 'name': 'ctest-vn-80474438', 'tenant_id': '003eac048c78465bae1b112a17c11f90', 'project_id': '003eac048c78465bae1b112a17c11f90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-vn-80474438'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:30:10,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc6a164b-8f05-40e3-98b6-889628ea89b6', 'name': '', 'tenant_id': '003eac048c78465bae1b112a17c11f90', 'network_id': 'c0603b4e-d05f-4d23-b11a-fb1dd829ea65', 'ip_version': 4, 'cidr': '72.69.34.0/26', 'allocation_pools': [{'start': '72.69.34.2', 'end': '72.69.34.62'}], 'gateway_ip': '72.69.34.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.69.34.2', 'tags': [], 'project_id': '003eac048c78465bae1b112a17c11f90'}} 2026-04-20 16:30:10,665 - INFO - Created VN ctest-vn-80474438 2026-04-20 16:30:10,718 - DEBUG - VN ctest-vn-80474438 UUID is c0603b4e-d05f-4d23-b11a-fb1dd829ea65 2026-04-20 16:30:11,024 - DEBUG - Response for create_network : {'network': {'id': 'd157d7b7-7de6-47d0-b0e8-9ca109411aa7', 'name': 'ctest-vn-42079491', 'tenant_id': '003eac048c78465bae1b112a17c11f90', 'project_id': '003eac048c78465bae1b112a17c11f90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-vn-42079491'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:30:11,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a26e2e-d7ef-485c-8dfd-a4d960cc77d3', 'name': '', 'tenant_id': '003eac048c78465bae1b112a17c11f90', 'network_id': 'd157d7b7-7de6-47d0-b0e8-9ca109411aa7', 'ip_version': 4, 'cidr': '128.114.250.64/26', 'allocation_pools': [{'start': '128.114.250.66', 'end': '128.114.250.126'}], 'gateway_ip': '128.114.250.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.114.250.66', 'tags': [], 'project_id': '003eac048c78465bae1b112a17c11f90'}} 2026-04-20 16:30:11,222 - INFO - Created VN ctest-vn-42079491 2026-04-20 16:30:11,274 - DEBUG - VN ctest-vn-42079491 UUID is d157d7b7-7de6-47d0-b0e8-9ca109411aa7 2026-04-20 16:30:11,422 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-80474438, 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-66019334:ctest-vn-42079491, 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-04-20 16:30:11,721 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c0603b4e-d05f-4d23-b11a-fb1dd829ea65', 'name': 'ctest-vn-80474438', 'tenant_id': '003eac048c78465bae1b112a17c11f90', 'project_id': '003eac048c78465bae1b112a17c11f90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc6a164b-8f05-40e3-98b6-889628ea89b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-vn-80474438'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-policy-allow-all-97057439']], 'subnet_ipam': [{'subnet_cidr': '72.69.34.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:30:11,935 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd157d7b7-7de6-47d0-b0e8-9ca109411aa7', 'name': 'ctest-vn-42079491', 'tenant_id': '003eac048c78465bae1b112a17c11f90', 'project_id': '003eac048c78465bae1b112a17c11f90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48a26e2e-d7ef-485c-8dfd-a4d960cc77d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-vn-42079491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-policy-allow-all-97057439']], 'subnet_ipam': [{'subnet_cidr': '128.114.250.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 16:30:12,094 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-20 16:30:12,393 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-20 16:30:12,421 - DEBUG - Requesting: http://10.0.0.19:8082/domain/705a8a99-d10b-4854-847a-53154751ccd6 2026-04-20 16:30:12,432 - DEBUG - Requesting: http://10.0.0.19:8082/project/003eac04-8c78-465b-ae1b-112a17c11f90 2026-04-20 16:30:12,498 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0603b4e-d05f-4d23-b11a-fb1dd829ea65 2026-04-20 16:30:12,508 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0603b4e-d05f-4d23-b11a-fb1dd829ea65 2026-04-20 16:30:12,516 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cd0ff3f0-3ed5-44a9-82c0-68fe016a6351 2026-04-20 16:30:12,523 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cd0ff3f0-3ed5-44a9-82c0-68fe016a6351 2026-04-20 16:30:12,529 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0a47ca4f-63c3-475b-b258-b01e86c62449 2026-04-20 16:30:12,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 16:30:12,535 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0603b4e-d05f-4d23-b11a-fb1dd829ea65 2026-04-20 16:30:12,543 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cd0ff3f0-3ed5-44a9-82c0-68fe016a6351 2026-04-20 16:30:12,556 - INFO - Verified VN network id 11 for VN c0603b4e-d05f-4d23-b11a-fb1dd829ea65 2026-04-20 16:30:12,556 - INFO - Verifications in API Server for VN ctest-vn-80474438 passed 2026-04-20 16:30:12,556 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0603b4e-d05f-4d23-b11a-fb1dd829ea65 2026-04-20 16:30:12,564 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cd0ff3f0-3ed5-44a9-82c0-68fe016a6351 2026-04-20 16:30:12,571 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cd0ff3f0-3ed5-44a9-82c0-68fe016a6351 2026-04-20 16:30:12,577 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/0a47ca4f-63c3-475b-b258-b01e86c62449 2026-04-20 16:30:12,588 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-80474438', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66019334', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13862144862735781155', 'uuid-lslong': '12761788599706970725'}, 'enable': 'true', 'created': '2026-04-20T16:30:10', 'last-modified': '2026-04-20T16:30:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893414'} 2026-04-20 16:30:12,593 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 16:30:12,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80474438 passed 2026-04-20 16:30:12,593 - DEBUG - ====Verifying policy data for ctest-vn-80474438 in API_Server ====== 2026-04-20 16:30:12,593 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-20 16:30:12,599 - DEBUG - Requesting: http://10.0.0.19:8082/domain/705a8a99-d10b-4854-847a-53154751ccd6 2026-04-20 16:30:12,610 - DEBUG - Requesting: http://10.0.0.19:8082/project/003eac04-8c78-465b-ae1b-112a17c11f90 2026-04-20 16:30:12,676 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0603b4e-d05f-4d23-b11a-fb1dd829ea65 2026-04-20 16:30:12,685 - DEBUG - ==>Verifying data for policy with id: 785db9f8-8ad4-46b9-a7fb-69c0b19ea2be, fqn: ['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-policy-allow-all-97057439'] 2026-04-20 16:30:12,685 - INFO - VN ctest-vn-80474438 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 16:30:12,685 - DEBUG - Verifying the vn in opserver 2026-04-20 16:30:12,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-80474438 virtual network link through opserver 10.0.0.19 2026-04-20 16:30:12,685 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-04-20 16:30:12,975 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-04-20 16:30:13,033 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-80474438', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-80474438?flat'} 2026-04-20 16:30:13,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-80474438 is found in opserver 2026-04-20 16:30:13,042 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 16:30:13,046 - DEBUG - VRF ids for VN ctest-vn-80474438: {} 2026-04-20 16:30:13,046 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-20 16:30:13,051 - DEBUG - Requesting: http://10.0.0.19:8082/domain/705a8a99-d10b-4854-847a-53154751ccd6 2026-04-20 16:30:13,060 - DEBUG - Requesting: http://10.0.0.19:8082/project/003eac04-8c78-465b-ae1b-112a17c11f90 2026-04-20 16:30:13,126 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d157d7b7-7de6-47d0-b0e8-9ca109411aa7 2026-04-20 16:30:13,136 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d157d7b7-7de6-47d0-b0e8-9ca109411aa7 2026-04-20 16:30:13,143 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7c84dae9-0a73-4376-9c0b-109cf86fb218 2026-04-20 16:30:13,149 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7c84dae9-0a73-4376-9c0b-109cf86fb218 2026-04-20 16:30:13,155 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/16ff2af4-4a8d-4793-8d91-8a57f0efe624 2026-04-20 16:30:13,160 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 16:30:13,160 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d157d7b7-7de6-47d0-b0e8-9ca109411aa7 2026-04-20 16:30:13,168 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7c84dae9-0a73-4376-9c0b-109cf86fb218 2026-04-20 16:30:13,180 - INFO - Verified VN network id 12 for VN d157d7b7-7de6-47d0-b0e8-9ca109411aa7 2026-04-20 16:30:13,180 - INFO - Verifications in API Server for VN ctest-vn-42079491 passed 2026-04-20 16:30:13,180 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d157d7b7-7de6-47d0-b0e8-9ca109411aa7 2026-04-20 16:30:13,187 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7c84dae9-0a73-4376-9c0b-109cf86fb218 2026-04-20 16:30:13,193 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7c84dae9-0a73-4376-9c0b-109cf86fb218 2026-04-20 16:30:13,199 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/16ff2af4-4a8d-4793-8d91-8a57f0efe624 2026-04-20 16:30:13,208 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-42079491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66019334', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15084762659991996368', 'uuid-lslong': '12747610960731118247'}, 'enable': 'true', 'created': '2026-04-20T16:30:10', 'last-modified': '2026-04-20T16:30:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297471'} 2026-04-20 16:30:13,215 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 16:30:13,215 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42079491 passed 2026-04-20 16:30:13,215 - DEBUG - ====Verifying policy data for ctest-vn-42079491 in API_Server ====== 2026-04-20 16:30:13,215 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-20 16:30:13,220 - DEBUG - Requesting: http://10.0.0.19:8082/domain/705a8a99-d10b-4854-847a-53154751ccd6 2026-04-20 16:30:13,230 - DEBUG - Requesting: http://10.0.0.19:8082/project/003eac04-8c78-465b-ae1b-112a17c11f90 2026-04-20 16:30:13,297 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d157d7b7-7de6-47d0-b0e8-9ca109411aa7 2026-04-20 16:30:13,305 - DEBUG - ==>Verifying data for policy with id: 785db9f8-8ad4-46b9-a7fb-69c0b19ea2be, fqn: ['default-domain', 'ctest-TestBasicPolicy-66019334', 'ctest-policy-allow-all-97057439'] 2026-04-20 16:30:13,305 - INFO - VN ctest-vn-42079491 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 16:30:13,305 - DEBUG - Verifying the vn in opserver 2026-04-20 16:30:13,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-42079491 virtual network link through opserver 10.0.0.19 2026-04-20 16:30:13,305 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-04-20 16:30:13,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-42079491', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-42079491?flat'} 2026-04-20 16:30:13,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-42079491 is found in opserver 2026-04-20 16:30:13,323 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 16:30:13,327 - DEBUG - VRF ids for VN ctest-vn-42079491: {} 2026-04-20 16:30:13,378 - DEBUG - Services list from nova: [, , ] 2026-04-20 16:30:14,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5651-1) 2026-04-20 16:30:15,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5651-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5651-1) 2026-04-20 16:30:15,506 - INFO - Waiting for VM ctest-TestBasicPolicy-66019334-31123726 to be up.. 2026-04-20 16:30:15,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 16:30:20,655 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:30:20,656 - INFO - VM name : ctest-TestBasicPolicy-66019334-31123726 2026-04-20 16:30:20,726 - DEBUG - VM ctest-TestBasicPolicy-66019334-31123726 ID is 0a7e031f-8ced-4137-b792-4f2a062ea057 2026-04-20 16:30:20,744 - DEBUG - VM ctest-TestBasicPolicy-66019334-31123726 launched on Node cn-jenkins-deploy-platform-ansible-os-5651-1 2026-04-20 16:30:20,817 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0a7e031f-8ced-4137-b792-4f2a062ea057 2026-04-20 16:30:20,826 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8d161730-8a22-402e-8afc-fb642baec642 2026-04-20 16:30:24,092 - 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 1027ms') 2026-04-20 16:30:24,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66019334-31123726 failed! 2026-04-20 16:30:24,146 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66019334:ctest-vn-80474438 is 72.69.34.1 and allocation pool is NOT set 2026-04-20 16:30:26,210 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 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.487/3.900/7.313/3.413 ms') 2026-04-20 16:30:26,210 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66019334-31123726 passed 2026-04-20 16:30:26,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:30:26,358 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66019334-31123726, IP 72.69.34.3, Port 22 2026-04-20 16:30:26,513 - DEBUG - VM ctest-TestBasicPolicy-66019334-31123726 is ready for SSH connections 2026-04-20 16:30:26,513 - INFO - Waiting for VM ctest-TestBasicPolicy-66019334-96866511 to be up.. 2026-04-20 16:30:26,592 - DEBUG - VM is in ACTIVE state now 2026-04-20 16:30:26,592 - INFO - VM name : ctest-TestBasicPolicy-66019334-96866511 2026-04-20 16:30:26,663 - DEBUG - VM ctest-TestBasicPolicy-66019334-96866511 ID is c3a888e6-1865-4e17-82ac-16d83df332c3 2026-04-20 16:30:26,663 - DEBUG - VM ctest-TestBasicPolicy-66019334-96866511 launched on Node cn-jenkins-deploy-platform-ansible-os-5651-1 2026-04-20 16:30:26,730 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c3a888e6-1865-4e17-82ac-16d83df332c3 2026-04-20 16:30:26,739 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a387983c-d327-496e-8b14-db149b7a3e9d 2026-04-20 16:30:27,966 - 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=3.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/2.142/3.900/1.757 ms') 2026-04-20 16:30:27,966 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66019334-96866511 passed 2026-04-20 16:30:28,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:30:28,114 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66019334-96866511, IP 128.114.250.67, Port 22 2026-04-20 16:30:28,277 - DEBUG - VM ctest-TestBasicPolicy-66019334-96866511 is ready for SSH connections 2026-04-20 16:30:28,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:30:28,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.114.250.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-04-20 16:30:28,277 - DEBUG - ping -s 56 -c 3 -W 1 128.114.250.67 2026-04-20 16:30:32,281 - DEBUG - PING 128.114.250.67 (128.114.250.67): 56 data bytes 64 bytes from 128.114.250.67: seq=0 ttl=63 time=3.169 ms 64 bytes from 128.114.250.67: seq=1 ttl=63 time=1.084 ms 64 bytes from 128.114.250.67: seq=2 ttl=63 time=0.713 ms --- 128.114.250.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.713/1.655/3.169 ms 2026-04-20 16:30:32,281 - INFO - Ping to IP 128.114.250.67 from VM ctest-TestBasicPolicy-66019334-31123726 passed 2026-04-20 16:30:32,470 - DEBUG - Policy Update Response {"network-policy": {"uuid": "785db9f8-8ad4-46b9-a7fb-69c0b19ea2be", "href": "http://10.0.0.19:8082/network-policy/785db9f8-8ad4-46b9-a7fb-69c0b19ea2be"}} 2026-04-20 16:30:32,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 16:30:32,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.114.250.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-04-20 16:30:32,470 - DEBUG - ping -s 56 -c 3 -W 1 128.114.250.67 2026-04-20 16:30:35,682 - DEBUG - PING 128.114.250.67 (128.114.250.67): 56 data bytes --- 128.114.250.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 16:30:35,682 - WARNING - Ping to IP 128.114.250.67 from VM ctest-TestBasicPolicy-66019334-31123726 failed 2026-04-20 16:30:35,682 - INFO - Deleting VM ctest-TestBasicPolicy-66019334-96866511 2026-04-20 16:30:35,755 - INFO - Deleting VM ctest-TestBasicPolicy-66019334-31123726 2026-04-20 16:30:36,103 - INFO - Deleted policy ctest-policy-allow-all-97057439 2026-04-20 16:30:36,104 - INFO - Deleting VN ctest-vn-42079491 2026-04-20 16:30:36,137 - DEBUG - VN d157d7b7-7de6-47d0-b0e8-9ca109411aa7 still in use: Unable to complete operation on network d157d7b7-7de6-47d0-b0e8-9ca109411aa7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f807ff40-5fab-45b2-9691-4974ab1d5144'] 2026-04-20 16:30:36,137 - WARNING - Deleting VN ctest-vn-42079491 failed..Will retry 2026-04-20 16:30:38,237 - DEBUG - Response for deleting network () 2026-04-20 16:30:38,237 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7c84dae9-0a73-4376-9c0b-109cf86fb218 2026-04-20 16:30:38,246 - DEBUG - Response Code: 404 2026-04-20 16:30:38,246 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-20 16:30:38,251 - DEBUG - Requesting: http://10.0.0.19:8082/domain/705a8a99-d10b-4854-847a-53154751ccd6 2026-04-20 16:30:38,312 - DEBUG - Requesting: http://10.0.0.19:8082/project/003eac04-8c78-465b-ae1b-112a17c11f90 2026-04-20 16:30:38,382 - INFO - Validated that VN ctest-vn-42079491 is not found in API Server 2026-04-20 16:30:38,391 - DEBUG - VN ctest-vn-42079491 is not present in Agent 10.0.0.19 2026-04-20 16:30:38,391 - INFO - Validated that VN ctest-vn-42079491 is not in any agent 2026-04-20 16:30:38,405 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42079491 info 2026-04-20 16:30:38,405 - INFO - Deleting VN ctest-vn-80474438 2026-04-20 16:30:38,499 - DEBUG - Response for deleting network () 2026-04-20 16:30:38,499 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cd0ff3f0-3ed5-44a9-82c0-68fe016a6351 2026-04-20 16:30:38,504 - DEBUG - Response Code: 404 2026-04-20 16:30:38,505 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-04-20 16:30:38,509 - DEBUG - Requesting: http://10.0.0.19:8082/domain/705a8a99-d10b-4854-847a-53154751ccd6 2026-04-20 16:30:38,558 - DEBUG - Requesting: http://10.0.0.19:8082/project/003eac04-8c78-465b-ae1b-112a17c11f90 2026-04-20 16:30:38,633 - INFO - Validated that VN ctest-vn-80474438 is not found in API Server 2026-04-20 16:30:38,643 - DEBUG - VN ctest-vn-80474438 is not present in Agent 10.0.0.19 2026-04-20 16:30:38,643 - INFO - Validated that VN ctest-vn-80474438 is not in any agent 2026-04-20 16:30:38,655 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80474438 info 2026-04-20 16:30:38,910 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:30:38,910 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-20 16:30:38,910 - INFO - -------------------------------------------------------------------------------- 2026-04-20 16:30:39,606 - INFO - Deleted project: ctest-TestBasicPolicy-66019334, ID : 003eac04-8c78-465b-ae1b-112a17c11f90