2026-02-06 08:52:27,832 - INFO - Domain Default found not creating 2026-02-06 08:52:28,023 - INFO - Project ctest-TestBasicPolicy-60057671 not found, creating it 2026-02-06 08:52:28,475 - INFO - Created Project:ctest-TestBasicPolicy-60057671, ID : cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9 2026-02-06 08:52:29,922 - INFO - ================================================================================ 2026-02-06 08:52:29,922 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-06 08:52:29,922 - 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-02-06 08:52:30,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-06 08:52:30,177 - INFO - Initial checks done. Running the testcase now 2026-02-06 08:52:30,177 - INFO - 2026-02-06 08:52:30,712 - DEBUG - Response for create_network : {'network': {'id': '78f3303d-24a2-436c-b837-1aceac55304c', 'name': 'ctest-vn-65684803', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-65684803'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 08:52:30,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '16cb11d0-2828-4fcd-80f1-3c8d97b238eb', 'name': '', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'network_id': '78f3303d-24a2-436c-b837-1aceac55304c', 'ip_version': 4, 'cidr': '172.251.3.192/26', 'allocation_pools': [{'start': '172.251.3.194', 'end': '172.251.3.254'}], 'gateway_ip': '172.251.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.251.3.194', 'tags': [], 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9'}} 2026-02-06 08:52:30,898 - INFO - Created VN ctest-vn-65684803 2026-02-06 08:52:30,952 - DEBUG - VN ctest-vn-65684803 UUID is 78f3303d-24a2-436c-b837-1aceac55304c 2026-02-06 08:52:31,274 - DEBUG - Response for create_network : {'network': {'id': '7c997624-1701-49a7-86e8-0bfd66a72f3c', 'name': 'ctest-vn-96624215', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-96624215'], 'port_security_enabled': True, 'description': ''}} 2026-02-06 08:52:31,411 - DEBUG - Response for create_subnet : {'subnet': {'id': '8647d8a4-d775-41b2-a6a0-25507655760e', 'name': '', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'network_id': '7c997624-1701-49a7-86e8-0bfd66a72f3c', 'ip_version': 4, 'cidr': '189.5.213.64/26', 'allocation_pools': [{'start': '189.5.213.66', 'end': '189.5.213.126'}], 'gateway_ip': '189.5.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.5.213.66', 'tags': [], 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9'}} 2026-02-06 08:52:31,428 - INFO - Created VN ctest-vn-96624215 2026-02-06 08:52:31,480 - DEBUG - VN ctest-vn-96624215 UUID is 7c997624-1701-49a7-86e8-0bfd66a72f3c 2026-02-06 08:52:31,624 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803, 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-60057671:ctest-vn-96624215, 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-02-06 08:52:31,908 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78f3303d-24a2-436c-b837-1aceac55304c', 'name': 'ctest-vn-65684803', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16cb11d0-2828-4fcd-80f1-3c8d97b238eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-65684803'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135']], 'subnet_ipam': [{'subnet_cidr': '172.251.3.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 08:52:32,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c997624-1701-49a7-86e8-0bfd66a72f3c', 'name': 'ctest-vn-96624215', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8647d8a4-d775-41b2-a6a0-25507655760e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-96624215'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135']], 'subnet_ipam': [{'subnet_cidr': '189.5.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-06 08:52:32,300 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 08:52:32,597 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 08:52:32,626 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59 2026-02-06 08:52:32,637 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9 2026-02-06 08:52:32,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c 2026-02-06 08:52:32,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c 2026-02-06 08:52:32,724 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01 2026-02-06 08:52:32,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01 2026-02-06 08:52:32,736 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/131340a6-8d46-48d8-b483-80903c82ef48 2026-02-06 08:52:32,741 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 08:52:32,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c 2026-02-06 08:52:32,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01 2026-02-06 08:52:32,760 - INFO - Verified VN network id 11 for VN 78f3303d-24a2-436c-b837-1aceac55304c 2026-02-06 08:52:32,760 - INFO - Verifications in API Server for VN ctest-vn-65684803 passed 2026-02-06 08:52:32,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c 2026-02-06 08:52:32,769 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01 2026-02-06 08:52:32,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01 2026-02-06 08:52:32,782 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/131340a6-8d46-48d8-b483-80903c82ef48 2026-02-06 08:52:32,793 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60057671', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8715362743057793900', 'uuid-lslong': '13274107901654675532'}, 'enable': 'true', 'created': '2026-02-06T08:52:30', 'last-modified': '2026-02-06T08:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903832'} 2026-02-06 08:52:32,798 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-06 08:52:32,798 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65684803 passed 2026-02-06 08:52:32,798 - DEBUG - ====Verifying policy data for ctest-vn-65684803 in API_Server ====== 2026-02-06 08:52:32,798 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 08:52:32,803 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59 2026-02-06 08:52:32,813 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9 2026-02-06 08:52:32,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c 2026-02-06 08:52:32,892 - DEBUG - ==>Verifying data for policy with id: e98017b5-c05a-46e8-b541-2ec004728b35, fqn: ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135'] 2026-02-06 08:52:32,892 - INFO - VN ctest-vn-65684803 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 08:52:32,892 - DEBUG - Verifying the vn in opserver 2026-02-06 08:52:32,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803 virtual network link through opserver 10.0.0.38 2026-02-06 08:52:32,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-06 08:52:33,182 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-06 08:52:33,240 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803?flat'} 2026-02-06 08:52:33,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803 is found in opserver 2026-02-06 08:52:33,250 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 08:52:33,255 - DEBUG - VRF ids for VN ctest-vn-65684803: {} 2026-02-06 08:52:33,255 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 08:52:33,261 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59 2026-02-06 08:52:33,273 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9 2026-02-06 08:52:33,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c 2026-02-06 08:52:33,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c 2026-02-06 08:52:33,364 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb 2026-02-06 08:52:33,371 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb 2026-02-06 08:52:33,377 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4c713221-9248-48dc-82ff-dc9b98ab3a8b 2026-02-06 08:52:33,384 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 08:52:33,384 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c 2026-02-06 08:52:33,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb 2026-02-06 08:52:33,406 - INFO - Verified VN network id 12 for VN 7c997624-1701-49a7-86e8-0bfd66a72f3c 2026-02-06 08:52:33,406 - INFO - Verifications in API Server for VN ctest-vn-96624215 passed 2026-02-06 08:52:33,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c 2026-02-06 08:52:33,414 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb 2026-02-06 08:52:33,421 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb 2026-02-06 08:52:33,427 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4c713221-9248-48dc-82ff-dc9b98ab3a8b 2026-02-06 08:52:33,441 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60057671', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8978337229516655015', 'uuid-lslong': '9721032978656079676'}, 'enable': 'true', 'created': '2026-02-06T08:52:31', 'last-modified': '2026-02-06T08:52:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.334692'} 2026-02-06 08:52:33,450 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-06 08:52:33,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96624215 passed 2026-02-06 08:52:33,450 - DEBUG - ====Verifying policy data for ctest-vn-96624215 in API_Server ====== 2026-02-06 08:52:33,451 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 08:52:33,457 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59 2026-02-06 08:52:33,467 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9 2026-02-06 08:52:33,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c 2026-02-06 08:52:33,551 - DEBUG - ==>Verifying data for policy with id: e98017b5-c05a-46e8-b541-2ec004728b35, fqn: ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135'] 2026-02-06 08:52:33,552 - INFO - VN ctest-vn-96624215 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-06 08:52:33,552 - DEBUG - Verifying the vn in opserver 2026-02-06 08:52:33,552 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215 virtual network link through opserver 10.0.0.38 2026-02-06 08:52:33,552 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-06 08:52:33,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215?flat'} 2026-02-06 08:52:33,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215 is found in opserver 2026-02-06 08:52:33,572 - DEBUG - Do not have enough data to verify VN in agent 2026-02-06 08:52:33,576 - DEBUG - VRF ids for VN ctest-vn-96624215: {} 2026-02-06 08:52:33,642 - DEBUG - Services list from nova: [, , ] 2026-02-06 08:52:34,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5225-1) 2026-02-06 08:52:35,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5225-1) 2026-02-06 08:52:35,781 - INFO - Waiting for VM ctest-TestBasicPolicy-60057671-51344498 to be up.. 2026-02-06 08:52:35,857 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-06 08:52:40,932 - DEBUG - VM is in ACTIVE state now 2026-02-06 08:52:40,932 - INFO - VM name : ctest-TestBasicPolicy-60057671-51344498 2026-02-06 08:52:41,006 - DEBUG - VM ctest-TestBasicPolicy-60057671-51344498 ID is b596fe0f-210b-4d6f-bdef-416b44a49381 2026-02-06 08:52:41,024 - DEBUG - VM ctest-TestBasicPolicy-60057671-51344498 launched on Node cn-jenkins-deploy-platform-ansible-os-5225-1 2026-02-06 08:52:41,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b596fe0f-210b-4d6f-bdef-416b44a49381 2026-02-06 08:52:41,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/89d92a13-c921-4c96-b838-332d04fc605b 2026-02-06 08:52:44,341 - 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 1003ms') 2026-02-06 08:52:44,341 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60057671-51344498 failed! 2026-02-06 08:52:44,396 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803 is 172.251.3.193 and allocation pool is NOT set 2026-02-06 08:52:46,455 - 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=3.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.680 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.680/1.878/3.076/1.198 ms') 2026-02-06 08:52:46,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60057671-51344498 passed 2026-02-06 08:52:46,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 08:52:46,604 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60057671-51344498, IP 172.251.3.195, Port 22 2026-02-06 08:52:46,759 - DEBUG - VM ctest-TestBasicPolicy-60057671-51344498 is ready for SSH connections 2026-02-06 08:52:46,759 - INFO - Waiting for VM ctest-TestBasicPolicy-60057671-46949892 to be up.. 2026-02-06 08:52:46,828 - DEBUG - VM is in ACTIVE state now 2026-02-06 08:52:46,829 - INFO - VM name : ctest-TestBasicPolicy-60057671-46949892 2026-02-06 08:52:46,896 - DEBUG - VM ctest-TestBasicPolicy-60057671-46949892 ID is 40b0a9c3-b320-4277-86f2-c96a2f7c643f 2026-02-06 08:52:46,896 - DEBUG - VM ctest-TestBasicPolicy-60057671-46949892 launched on Node cn-jenkins-deploy-platform-ansible-os-5225-1 2026-02-06 08:52:46,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40b0a9c3-b320-4277-86f2-c96a2f7c643f 2026-02-06 08:52:46,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/78d719d6-96d3-4dee-90ee-e39eae8cbdc3 2026-02-06 08:52:48,198 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.580/2.749/1.168 ms') 2026-02-06 08:52:48,198 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60057671-46949892 passed 2026-02-06 08:52:48,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 08:52:48,344 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60057671-46949892, IP 189.5.213.67, Port 22 2026-02-06 08:52:48,499 - DEBUG - VM ctest-TestBasicPolicy-60057671-46949892 is ready for SSH connections 2026-02-06 08:52:48,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 08:52:48,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.5.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-06 08:52:48,500 - DEBUG - ping -s 56 -c 3 -W 1 189.5.213.67 2026-02-06 08:52:52,215 - DEBUG - PING 189.5.213.67 (189.5.213.67): 56 data bytes 64 bytes from 189.5.213.67: seq=0 ttl=63 time=3.264 ms 64 bytes from 189.5.213.67: seq=1 ttl=63 time=0.710 ms 64 bytes from 189.5.213.67: seq=2 ttl=63 time=0.794 ms --- 189.5.213.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.710/1.589/3.264 ms 2026-02-06 08:52:52,215 - INFO - Ping to IP 189.5.213.67 from VM ctest-TestBasicPolicy-60057671-51344498 passed 2026-02-06 08:52:52,388 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e98017b5-c05a-46e8-b541-2ec004728b35", "href": "http://10.0.0.38:8082/network-policy/e98017b5-c05a-46e8-b541-2ec004728b35"}} 2026-02-06 08:52:52,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-06 08:52:52,388 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.5.213.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-06 08:52:52,388 - DEBUG - ping -s 56 -c 3 -W 1 189.5.213.67 2026-02-06 08:52:55,622 - DEBUG - PING 189.5.213.67 (189.5.213.67): 56 data bytes --- 189.5.213.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-06 08:52:55,622 - WARNING - Ping to IP 189.5.213.67 from VM ctest-TestBasicPolicy-60057671-51344498 failed 2026-02-06 08:52:55,622 - INFO - Deleting VM ctest-TestBasicPolicy-60057671-46949892 2026-02-06 08:52:55,692 - INFO - Deleting VM ctest-TestBasicPolicy-60057671-51344498 2026-02-06 08:52:56,033 - INFO - Deleted policy ctest-policy-allow-all-57279135 2026-02-06 08:52:56,033 - INFO - Deleting VN ctest-vn-96624215 2026-02-06 08:52:56,067 - DEBUG - VN 7c997624-1701-49a7-86e8-0bfd66a72f3c still in use: Unable to complete operation on network 7c997624-1701-49a7-86e8-0bfd66a72f3c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46444674-0b4f-4c77-98d1-246ce591bd5a'] 2026-02-06 08:52:56,067 - WARNING - Deleting VN ctest-vn-96624215 failed..Will retry 2026-02-06 08:52:58,157 - DEBUG - Response for deleting network () 2026-02-06 08:52:58,157 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb 2026-02-06 08:52:58,164 - DEBUG - Response Code: 404 2026-02-06 08:52:58,164 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 08:52:58,169 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59 2026-02-06 08:52:58,222 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9 2026-02-06 08:52:58,288 - INFO - Validated that VN ctest-vn-96624215 is not found in API Server 2026-02-06 08:52:58,297 - DEBUG - VN ctest-vn-96624215 is not present in Agent 10.0.0.38 2026-02-06 08:52:58,297 - INFO - Validated that VN ctest-vn-96624215 is not in any agent 2026-02-06 08:52:58,310 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96624215 info 2026-02-06 08:52:58,311 - INFO - Deleting VN ctest-vn-65684803 2026-02-06 08:52:58,403 - DEBUG - Response for deleting network () 2026-02-06 08:52:58,403 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01 2026-02-06 08:52:58,410 - DEBUG - Response Code: 404 2026-02-06 08:52:58,411 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-06 08:52:58,415 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59 2026-02-06 08:52:58,468 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9 2026-02-06 08:52:58,536 - INFO - Validated that VN ctest-vn-65684803 is not found in API Server 2026-02-06 08:52:58,544 - DEBUG - VN ctest-vn-65684803 is not present in Agent 10.0.0.38 2026-02-06 08:52:58,544 - INFO - Validated that VN ctest-vn-65684803 is not in any agent 2026-02-06 08:52:58,557 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65684803 info 2026-02-06 08:52:58,809 - DEBUG - No XMPP flaps were noticed during the test
2026-02-06 08:52:58,809 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-06 08:52:58,809 - INFO - -------------------------------------------------------------------------------- 2026-02-06 08:52:59,486 - INFO - Deleted project: ctest-TestBasicPolicy-60057671, ID : cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9