2026-02-10 18:08:04,335 - INFO - Domain Default found not creating 2026-02-10 18:08:04,517 - INFO - Project ctest-TestBasicPolicy-48551299 not found, creating it 2026-02-10 18:08:05,004 - INFO - Created Project:ctest-TestBasicPolicy-48551299, ID : f454c2cf-0c61-442c-8939-982741e58ba9 2026-02-10 18:08:06,504 - INFO - ================================================================================ 2026-02-10 18:08:06,504 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 18:08:06,504 - 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-10 18:08:06,759 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2026-02-10 18:08:06,759 - INFO - Initial checks done. Running the testcase now 2026-02-10 18:08:06,760 - INFO - 2026-02-10 18:08:07,292 - DEBUG - Response for create_network : {'network': {'id': 'e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d', 'name': 'ctest-vn-92139044', 'tenant_id': 'f454c2cf0c61442c8939982741e58ba9', 'project_id': 'f454c2cf0c61442c8939982741e58ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-vn-92139044'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:08:07,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bececd5e-1cf8-4f2b-a689-921d0916ad6a', 'name': '', 'tenant_id': 'f454c2cf0c61442c8939982741e58ba9', 'network_id': 'e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d', 'ip_version': 4, 'cidr': '44.179.117.128/26', 'allocation_pools': [{'start': '44.179.117.130', 'end': '44.179.117.190'}], 'gateway_ip': '44.179.117.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.179.117.130', 'tags': [], 'project_id': 'f454c2cf0c61442c8939982741e58ba9'}} 2026-02-10 18:08:07,484 - INFO - Created VN ctest-vn-92139044 2026-02-10 18:08:07,534 - DEBUG - VN ctest-vn-92139044 UUID is e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d 2026-02-10 18:08:08,105 - DEBUG - Response for create_network : {'network': {'id': '676ea62b-5144-4593-9176-187000ef7efd', 'name': 'ctest-vn-71321522', 'tenant_id': 'f454c2cf0c61442c8939982741e58ba9', 'project_id': 'f454c2cf0c61442c8939982741e58ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-vn-71321522'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:08:08,432 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f67606be-c372-417f-abe5-d8f250d68901', 'name': '', 'tenant_id': 'f454c2cf0c61442c8939982741e58ba9', 'network_id': '676ea62b-5144-4593-9176-187000ef7efd', 'ip_version': 4, 'cidr': '186.94.172.0/26', 'allocation_pools': [{'start': '186.94.172.2', 'end': '186.94.172.62'}], 'gateway_ip': '186.94.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.94.172.2', 'tags': [], 'project_id': 'f454c2cf0c61442c8939982741e58ba9'}} 2026-02-10 18:08:08,448 - INFO - Created VN ctest-vn-71321522 2026-02-10 18:08:08,502 - DEBUG - VN ctest-vn-71321522 UUID is 676ea62b-5144-4593-9176-187000ef7efd 2026-02-10 18:08:08,617 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-92139044, 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-48551299:ctest-vn-71321522, 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-10 18:08:08,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d', 'name': 'ctest-vn-92139044', 'tenant_id': 'f454c2cf0c61442c8939982741e58ba9', 'project_id': 'f454c2cf0c61442c8939982741e58ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bececd5e-1cf8-4f2b-a689-921d0916ad6a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-vn-92139044'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-policy-allow-all-60751950']], 'subnet_ipam': [{'subnet_cidr': '44.179.117.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:08:09,175 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '676ea62b-5144-4593-9176-187000ef7efd', 'name': 'ctest-vn-71321522', 'tenant_id': 'f454c2cf0c61442c8939982741e58ba9', 'project_id': 'f454c2cf0c61442c8939982741e58ba9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f67606be-c372-417f-abe5-d8f250d68901'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-vn-71321522'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-policy-allow-all-60751950']], 'subnet_ipam': [{'subnet_cidr': '186.94.172.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:08:09,322 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-10 18:08:09,618 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-10 18:08:09,647 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e832b0ca-c076-4761-b666-400c9d48d223 2026-02-10 18:08:09,660 - DEBUG - Requesting: http://10.0.0.22:8082/project/f454c2cf-0c61-442c-8939-982741e58ba9 2026-02-10 18:08:09,729 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d 2026-02-10 18:08:09,741 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d 2026-02-10 18:08:09,752 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/efbc0922-0c7a-4e66-869a-a2d22ab3b7f0 2026-02-10 18:08:09,759 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/efbc0922-0c7a-4e66-869a-a2d22ab3b7f0 2026-02-10 18:08:09,767 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4c70b381-f2d0-4bf6-b0fc-656cc35b017e 2026-02-10 18:08:09,774 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 18:08:09,774 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d 2026-02-10 18:08:09,783 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/efbc0922-0c7a-4e66-869a-a2d22ab3b7f0 2026-02-10 18:08:09,797 - INFO - Verified VN network id 12 for VN e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d 2026-02-10 18:08:09,797 - INFO - Verifications in API Server for VN ctest-vn-92139044 passed 2026-02-10 18:08:09,797 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d 2026-02-10 18:08:09,806 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/efbc0922-0c7a-4e66-869a-a2d22ab3b7f0 2026-02-10 18:08:09,812 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/efbc0922-0c7a-4e66-869a-a2d22ab3b7f0 2026-02-10 18:08:09,819 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4c70b381-f2d0-4bf6-b0fc-656cc35b017e 2026-02-10 18:08:09,830 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-92139044', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48551299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16261828766622239633', 'uuid-lslong': '10434534645478402941'}, 'enable': 'true', 'created': '2026-02-10T18:08:07', 'last-modified': '2026-02-10T18:08:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.951468'} 2026-02-10 18:08:09,836 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 18:08:09,836 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92139044 passed 2026-02-10 18:08:09,836 - DEBUG - ====Verifying policy data for ctest-vn-92139044 in API_Server ====== 2026-02-10 18:08:09,836 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-10 18:08:09,841 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e832b0ca-c076-4761-b666-400c9d48d223 2026-02-10 18:08:09,851 - DEBUG - Requesting: http://10.0.0.22:8082/project/f454c2cf-0c61-442c-8939-982741e58ba9 2026-02-10 18:08:09,921 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e1ad9f1a-b8bf-4b91-90ce-e9f9bc3f2b7d 2026-02-10 18:08:09,930 - DEBUG - ==>Verifying data for policy with id: 37c06461-e6a4-44b8-958b-61f062894550, fqn: ['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-policy-allow-all-60751950'] 2026-02-10 18:08:09,930 - INFO - VN ctest-vn-92139044 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 18:08:09,930 - DEBUG - Verifying the vn in opserver 2026-02-10 18:08:09,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-92139044 virtual network link through opserver 10.0.0.22 2026-02-10 18:08:09,930 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-10 18:08:10,225 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-10 18:08:10,284 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-92139044', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-92139044?flat'} 2026-02-10 18:08:10,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-92139044 is found in opserver 2026-02-10 18:08:10,294 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 18:08:10,299 - DEBUG - VRF ids for VN ctest-vn-92139044: {} 2026-02-10 18:08:10,299 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-10 18:08:10,305 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e832b0ca-c076-4761-b666-400c9d48d223 2026-02-10 18:08:10,317 - DEBUG - Requesting: http://10.0.0.22:8082/project/f454c2cf-0c61-442c-8939-982741e58ba9 2026-02-10 18:08:10,384 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/676ea62b-5144-4593-9176-187000ef7efd 2026-02-10 18:08:10,397 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/676ea62b-5144-4593-9176-187000ef7efd 2026-02-10 18:08:10,407 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9aa43e0e-12a6-46c8-9bb8-2edbae54d847 2026-02-10 18:08:10,414 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9aa43e0e-12a6-46c8-9bb8-2edbae54d847 2026-02-10 18:08:10,421 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/101c4cb6-0c7a-4e48-9b7b-aa898274e091 2026-02-10 18:08:10,427 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 18:08:10,427 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/676ea62b-5144-4593-9176-187000ef7efd 2026-02-10 18:08:10,437 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9aa43e0e-12a6-46c8-9bb8-2edbae54d847 2026-02-10 18:08:10,451 - INFO - Verified VN network id 13 for VN 676ea62b-5144-4593-9176-187000ef7efd 2026-02-10 18:08:10,451 - INFO - Verifications in API Server for VN ctest-vn-71321522 passed 2026-02-10 18:08:10,451 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/676ea62b-5144-4593-9176-187000ef7efd 2026-02-10 18:08:10,459 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9aa43e0e-12a6-46c8-9bb8-2edbae54d847 2026-02-10 18:08:10,466 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9aa43e0e-12a6-46c8-9bb8-2edbae54d847 2026-02-10 18:08:10,472 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/101c4cb6-0c7a-4e48-9b7b-aa898274e091 2026-02-10 18:08:10,484 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-71321522', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48551299', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7453077138321982867', 'uuid-lslong': '10481592052082507517'}, 'enable': 'true', 'created': '2026-02-10T18:08:08', 'last-modified': '2026-02-10T18:08:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.376094'} 2026-02-10 18:08:10,491 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 18:08:10,491 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71321522 passed 2026-02-10 18:08:10,491 - DEBUG - ====Verifying policy data for ctest-vn-71321522 in API_Server ====== 2026-02-10 18:08:10,491 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-10 18:08:10,497 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e832b0ca-c076-4761-b666-400c9d48d223 2026-02-10 18:08:10,507 - DEBUG - Requesting: http://10.0.0.22:8082/project/f454c2cf-0c61-442c-8939-982741e58ba9 2026-02-10 18:08:10,577 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/676ea62b-5144-4593-9176-187000ef7efd 2026-02-10 18:08:10,587 - DEBUG - ==>Verifying data for policy with id: 37c06461-e6a4-44b8-958b-61f062894550, fqn: ['default-domain', 'ctest-TestBasicPolicy-48551299', 'ctest-policy-allow-all-60751950'] 2026-02-10 18:08:10,587 - INFO - VN ctest-vn-71321522 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 18:08:10,587 - DEBUG - Verifying the vn in opserver 2026-02-10 18:08:10,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-71321522 virtual network link through opserver 10.0.0.22 2026-02-10 18:08:10,587 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-02-10 18:08:10,596 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-71321522', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-71321522?flat'} 2026-02-10 18:08:10,596 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-71321522 is found in opserver 2026-02-10 18:08:10,604 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 18:08:10,609 - DEBUG - VRF ids for VN ctest-vn-71321522: {} 2026-02-10 18:08:10,665 - DEBUG - Services list from nova: [, , ] 2026-02-10 18:08:11,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5283-1) 2026-02-10 18:08:12,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5283-1) 2026-02-10 18:08:12,891 - INFO - Waiting for VM ctest-TestBasicPolicy-48551299-63566620 to be up.. 2026-02-10 18:08:12,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 18:08:18,050 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:08:18,050 - INFO - VM name : ctest-TestBasicPolicy-48551299-63566620 2026-02-10 18:08:18,133 - DEBUG - VM ctest-TestBasicPolicy-48551299-63566620 ID is 6fa09dc7-b129-4829-9efe-8733d45e6a18 2026-02-10 18:08:18,151 - DEBUG - VM ctest-TestBasicPolicy-48551299-63566620 launched on Node cn-jenkins-deploy-platform-ansible-os-5283-1 2026-02-10 18:08:18,225 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6fa09dc7-b129-4829-9efe-8733d45e6a18 2026-02-10 18:08:18,233 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3dd2c789-9b43-4a9f-bea0-e7a07d4003a1 2026-02-10 18:08:21,487 - 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 1025ms') 2026-02-10 18:08:21,487 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48551299-63566620 failed! 2026-02-10 18:08:21,546 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48551299:ctest-vn-92139044 is 44.179.117.129 and allocation pool is NOT set 2026-02-10 18:08:23,607 - 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=8.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.867 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.867/4.489/8.112/3.622 ms') 2026-02-10 18:08:23,607 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48551299-63566620 passed 2026-02-10 18:08:23,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:08:23,755 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48551299-63566620, IP 44.179.117.131, Port 22 2026-02-10 18:08:23,921 - DEBUG - VM ctest-TestBasicPolicy-48551299-63566620 is ready for SSH connections 2026-02-10 18:08:23,921 - INFO - Waiting for VM ctest-TestBasicPolicy-48551299-14391981 to be up.. 2026-02-10 18:08:24,005 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:08:24,005 - INFO - VM name : ctest-TestBasicPolicy-48551299-14391981 2026-02-10 18:08:24,084 - DEBUG - VM ctest-TestBasicPolicy-48551299-14391981 ID is e0a060eb-3b02-42fe-a565-6f86aa218981 2026-02-10 18:08:24,085 - DEBUG - VM ctest-TestBasicPolicy-48551299-14391981 launched on Node cn-jenkins-deploy-platform-ansible-os-5283-1 2026-02-10 18:08:24,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e0a060eb-3b02-42fe-a565-6f86aa218981 2026-02-10 18:08:24,172 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e8db0abf-8b28-40fb-a571-78ac031cfcea 2026-02-10 18:08:25,411 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.063/3.003/3.943/0.940 ms') 2026-02-10 18:08:25,411 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48551299-14391981 passed 2026-02-10 18:08:25,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:08:25,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48551299-14391981, IP 186.94.172.3, Port 22 2026-02-10 18:08:25,726 - DEBUG - VM ctest-TestBasicPolicy-48551299-14391981 is ready for SSH connections 2026-02-10 18:08:25,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:08:25,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.94.172.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-10 18:08:25,726 - DEBUG - ping -s 56 -c 3 -W 1 186.94.172.3 2026-02-10 18:08:29,740 - DEBUG - PING 186.94.172.3 (186.94.172.3): 56 data bytes 64 bytes from 186.94.172.3: seq=0 ttl=63 time=3.393 ms 64 bytes from 186.94.172.3: seq=1 ttl=63 time=1.034 ms 64 bytes from 186.94.172.3: seq=2 ttl=63 time=1.034 ms --- 186.94.172.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/1.820/3.393 ms 2026-02-10 18:08:29,740 - INFO - Ping to IP 186.94.172.3 from VM ctest-TestBasicPolicy-48551299-63566620 passed 2026-02-10 18:08:29,922 - DEBUG - Policy Update Response {"network-policy": {"uuid": "37c06461-e6a4-44b8-958b-61f062894550", "href": "http://10.0.0.22:8082/network-policy/37c06461-e6a4-44b8-958b-61f062894550"}} 2026-02-10 18:08:29,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:08:29,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.94.172.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-10 18:08:29,923 - DEBUG - ping -s 56 -c 3 -W 1 186.94.172.3 2026-02-10 18:08:33,134 - DEBUG - PING 186.94.172.3 (186.94.172.3): 56 data bytes --- 186.94.172.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-10 18:08:33,134 - WARNING - Ping to IP 186.94.172.3 from VM ctest-TestBasicPolicy-48551299-63566620 failed 2026-02-10 18:08:33,134 - INFO - Deleting VM ctest-TestBasicPolicy-48551299-14391981 2026-02-10 18:08:33,214 - INFO - Deleting VM ctest-TestBasicPolicy-48551299-63566620 2026-02-10 18:08:33,591 - INFO - Deleted policy ctest-policy-allow-all-60751950 2026-02-10 18:08:33,591 - INFO - Deleting VN ctest-vn-71321522 2026-02-10 18:08:33,629 - DEBUG - VN 676ea62b-5144-4593-9176-187000ef7efd still in use: Unable to complete operation on network 676ea62b-5144-4593-9176-187000ef7efd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee6c5611-a2fb-4e91-ba25-e50c4d361aaf'] 2026-02-10 18:08:33,630 - WARNING - Deleting VN ctest-vn-71321522 failed..Will retry 2026-02-10 18:08:35,737 - DEBUG - Response for deleting network () 2026-02-10 18:08:35,737 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/9aa43e0e-12a6-46c8-9bb8-2edbae54d847 2026-02-10 18:08:35,742 - DEBUG - Response Code: 404 2026-02-10 18:08:35,742 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-10 18:08:35,748 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e832b0ca-c076-4761-b666-400c9d48d223 2026-02-10 18:08:35,803 - DEBUG - Requesting: http://10.0.0.22:8082/project/f454c2cf-0c61-442c-8939-982741e58ba9 2026-02-10 18:08:35,871 - INFO - Validated that VN ctest-vn-71321522 is not found in API Server 2026-02-10 18:08:35,880 - DEBUG - VN ctest-vn-71321522 is not present in Agent 10.0.0.22 2026-02-10 18:08:35,880 - INFO - Validated that VN ctest-vn-71321522 is not in any agent 2026-02-10 18:08:35,893 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71321522 info 2026-02-10 18:08:35,893 - INFO - Deleting VN ctest-vn-92139044 2026-02-10 18:08:35,991 - DEBUG - Response for deleting network () 2026-02-10 18:08:35,991 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/efbc0922-0c7a-4e66-869a-a2d22ab3b7f0 2026-02-10 18:08:35,996 - DEBUG - Response Code: 404 2026-02-10 18:08:35,996 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-02-10 18:08:36,001 - DEBUG - Requesting: http://10.0.0.22:8082/domain/e832b0ca-c076-4761-b666-400c9d48d223 2026-02-10 18:08:36,055 - DEBUG - Requesting: http://10.0.0.22:8082/project/f454c2cf-0c61-442c-8939-982741e58ba9 2026-02-10 18:08:36,134 - INFO - Validated that VN ctest-vn-92139044 is not found in API Server 2026-02-10 18:08:36,145 - DEBUG - VN ctest-vn-92139044 is not present in Agent 10.0.0.22 2026-02-10 18:08:36,145 - INFO - Validated that VN ctest-vn-92139044 is not in any agent 2026-02-10 18:08:36,161 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92139044 info 2026-02-10 18:08:36,415 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 18:08:36,415 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-10 18:08:36,415 - INFO - -------------------------------------------------------------------------------- 2026-02-10 18:08:37,073 - INFO - Deleted project: ctest-TestBasicPolicy-48551299, ID : f454c2cf-0c61-442c-8939-982741e58ba9