2026-03-06 13:13:58,608 - INFO - Reading existing Domain with UUID 18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:13:58,621 - INFO - Using existing domain ['admin_domain'](18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1) 2026-03-06 13:13:58,847 - INFO - Project ctest-TestBasicPolicy-28649092 not found, creating it 2026-03-06 13:13:59,387 - INFO - Created Project:ctest-TestBasicPolicy-28649092, ID : 82df8dca-fb59-477e-921a-87fd13ff2955 2026-03-06 13:14:01,293 - INFO - ================================================================================ 2026-03-06 13:14:01,294 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-06 13:14:01,294 - 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-03-06 13:14:01,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with 2026-03-06 13:14:01,701 - INFO - Initial checks done. Running the testcase now 2026-03-06 13:14:01,701 - INFO - 2026-03-06 13:14:02,541 - DEBUG - Response for create_network : {'network': {'id': '45ed1af8-0807-4378-8c2c-d62f502bdeca', 'name': 'ctest-vn-54699782', 'tenant_id': '82df8dcafb59477e921a87fd13ff2955', 'project_id': '82df8dcafb59477e921a87fd13ff2955', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-vn-54699782'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-06 13:14:02,809 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2c3db57-fb68-4aac-87e5-8ebd0a70898f', 'name': '', 'tenant_id': '82df8dcafb59477e921a87fd13ff2955', 'network_id': '45ed1af8-0807-4378-8c2c-d62f502bdeca', 'ip_version': 4, 'cidr': '195.16.244.128/26', 'allocation_pools': [{'start': '195.16.244.130', 'end': '195.16.244.190'}], 'gateway_ip': '195.16.244.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-06T13:14:02.701277', 'updated_at': '2026-03-06T13:14:02.701277', 'dns_server_address': '195.16.244.130', 'tags': [], 'project_id': '82df8dcafb59477e921a87fd13ff2955'}} 2026-03-06 13:14:02,878 - INFO - Created VN ctest-vn-54699782 2026-03-06 13:14:02,932 - DEBUG - VN ctest-vn-54699782 UUID is 45ed1af8-0807-4378-8c2c-d62f502bdeca 2026-03-06 13:14:03,457 - DEBUG - Response for create_network : {'network': {'id': '97c19c4d-63c4-4a0b-888d-4e4263d204d1', 'name': 'ctest-vn-32255144', 'tenant_id': '82df8dcafb59477e921a87fd13ff2955', 'project_id': '82df8dcafb59477e921a87fd13ff2955', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-vn-32255144'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-03-06 13:14:03,677 - DEBUG - Response for create_subnet : {'subnet': {'id': '945775f1-6ed9-40dc-9429-2a22529c79a8', 'name': '', 'tenant_id': '82df8dcafb59477e921a87fd13ff2955', 'network_id': '97c19c4d-63c4-4a0b-888d-4e4263d204d1', 'ip_version': 4, 'cidr': '122.245.251.0/26', 'allocation_pools': [{'start': '122.245.251.2', 'end': '122.245.251.62'}], 'gateway_ip': '122.245.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-06T13:14:03.562714', 'updated_at': '2026-03-06T13:14:03.562714', 'dns_server_address': '122.245.251.2', 'tags': [], 'project_id': '82df8dcafb59477e921a87fd13ff2955'}} 2026-03-06 13:14:03,746 - INFO - Created VN ctest-vn-32255144 2026-03-06 13:14:03,803 - DEBUG - VN ctest-vn-32255144 UUID is 97c19c4d-63c4-4a0b-888d-4e4263d204d1 2026-03-06 13:14:04,028 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-54699782, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-32255144, 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-03-06 13:14:04,460 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45ed1af8-0807-4378-8c2c-d62f502bdeca', 'name': 'ctest-vn-54699782', 'tenant_id': '82df8dcafb59477e921a87fd13ff2955', 'project_id': '82df8dcafb59477e921a87fd13ff2955', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2c3db57-fb68-4aac-87e5-8ebd0a70898f'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-vn-54699782'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-policy-allow-all-43496558']], 'subnet_ipam': [{'subnet_cidr': '195.16.244.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-06T13:14:02.451677', 'updated_at': '2026-03-06T13:14:02.717085'}} 2026-03-06 13:14:04,833 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97c19c4d-63c4-4a0b-888d-4e4263d204d1', 'name': 'ctest-vn-32255144', 'tenant_id': '82df8dcafb59477e921a87fd13ff2955', 'project_id': '82df8dcafb59477e921a87fd13ff2955', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['945775f1-6ed9-40dc-9429-2a22529c79a8'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-vn-32255144'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-policy-allow-all-43496558']], 'subnet_ipam': [{'subnet_cidr': '122.245.251.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-06T13:14:03.378621', 'updated_at': '2026-03-06T13:14:03.579313'}} 2026-03-06 13:14:05,044 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-06 13:14:05,401 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-06 13:14:05,488 - DEBUG - Requesting: https://10.0.0.41:8082/domain/18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:14:05,549 - DEBUG - Requesting: https://10.0.0.41:8082/project/82df8dca-fb59-477e-921a-87fd13ff2955 2026-03-06 13:14:05,629 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/45ed1af8-0807-4378-8c2c-d62f502bdeca 2026-03-06 13:14:05,690 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/45ed1af8-0807-4378-8c2c-d62f502bdeca 2026-03-06 13:14:05,749 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/c18a1984-26b7-4f06-b8bf-9016259b713a 2026-03-06 13:14:05,805 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/c18a1984-26b7-4f06-b8bf-9016259b713a 2026-03-06 13:14:05,861 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/19e93667-6253-4351-bf6a-8cc5f38c3464 2026-03-06 13:14:05,916 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 13:14:05,916 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/45ed1af8-0807-4378-8c2c-d62f502bdeca 2026-03-06 13:14:05,973 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/c18a1984-26b7-4f06-b8bf-9016259b713a 2026-03-06 13:14:06,039 - INFO - Verified VN network id 11 for VN 45ed1af8-0807-4378-8c2c-d62f502bdeca 2026-03-06 13:14:06,040 - INFO - Verifications in API Server for VN ctest-vn-54699782 passed 2026-03-06 13:14:06,040 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/45ed1af8-0807-4378-8c2c-d62f502bdeca 2026-03-06 13:14:06,102 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/c18a1984-26b7-4f06-b8bf-9016259b713a 2026-03-06 13:14:06,165 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/c18a1984-26b7-4f06-b8bf-9016259b713a 2026-03-06 13:14:06,225 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/19e93667-6253-4351-bf6a-8cc5f38c3464 2026-03-06 13:14:06,333 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-54699782', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28649092', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5038713210686358392', 'uuid-lslong': '10100683562982039242'}, 'enable': 'true', 'created': '2026-03-06T13:14:02', 'last-modified': '2026-03-06T13:14:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.897934'} 2026-03-06 13:14:06,386 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 13:14:06,386 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54699782 passed 2026-03-06 13:14:06,386 - DEBUG - ====Verifying policy data for ctest-vn-54699782 in API_Server ====== 2026-03-06 13:14:06,386 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-06 13:14:06,444 - DEBUG - Requesting: https://10.0.0.41:8082/domain/18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:14:06,505 - DEBUG - Requesting: https://10.0.0.41:8082/project/82df8dca-fb59-477e-921a-87fd13ff2955 2026-03-06 13:14:06,593 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/45ed1af8-0807-4378-8c2c-d62f502bdeca 2026-03-06 13:14:06,654 - DEBUG - ==>Verifying data for policy with id: 79887141-40db-411a-ac69-ed4c531255b2, fqn: ['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-policy-allow-all-43496558'] 2026-03-06 13:14:06,654 - INFO - VN ctest-vn-54699782 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 13:14:06,654 - DEBUG - Verifying the vn in opserver 2026-03-06 13:14:06,654 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-54699782 virtual network link through opserver 10.0.0.41 2026-03-06 13:14:06,654 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-06 13:14:07,005 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-06 13:14:07,132 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-54699782', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-54699782?flat'} 2026-03-06 13:14:07,132 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-54699782 is found in opserver 2026-03-06 13:14:07,236 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 13:14:07,284 - DEBUG - VRF ids for VN ctest-vn-54699782: {} 2026-03-06 13:14:07,284 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-06 13:14:07,336 - DEBUG - Requesting: https://10.0.0.41:8082/domain/18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:14:07,401 - DEBUG - Requesting: https://10.0.0.41:8082/project/82df8dca-fb59-477e-921a-87fd13ff2955 2026-03-06 13:14:07,481 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/97c19c4d-63c4-4a0b-888d-4e4263d204d1 2026-03-06 13:14:07,542 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/97c19c4d-63c4-4a0b-888d-4e4263d204d1 2026-03-06 13:14:07,597 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/36ec4940-620c-4f40-a772-be792226131d 2026-03-06 13:14:07,653 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/36ec4940-620c-4f40-a772-be792226131d 2026-03-06 13:14:07,713 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/c2bae508-2bd8-492f-82c5-7d4256c9bdcb 2026-03-06 13:14:07,773 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 13:14:07,773 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/97c19c4d-63c4-4a0b-888d-4e4263d204d1 2026-03-06 13:14:07,830 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/36ec4940-620c-4f40-a772-be792226131d 2026-03-06 13:14:07,898 - INFO - Verified VN network id 12 for VN 97c19c4d-63c4-4a0b-888d-4e4263d204d1 2026-03-06 13:14:07,898 - INFO - Verifications in API Server for VN ctest-vn-32255144 passed 2026-03-06 13:14:07,898 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/97c19c4d-63c4-4a0b-888d-4e4263d204d1 2026-03-06 13:14:07,957 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/36ec4940-620c-4f40-a772-be792226131d 2026-03-06 13:14:08,012 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/36ec4940-620c-4f40-a772-be792226131d 2026-03-06 13:14:08,069 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/c2bae508-2bd8-492f-82c5-7d4256c9bdcb 2026-03-06 13:14:08,177 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-32255144', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28649092', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10935193226432498187', 'uuid-lslong': '9839606807923918033'}, 'enable': 'true', 'created': '2026-03-06T13:14:03', 'last-modified': '2026-03-06T13:14:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.375282'} 2026-03-06 13:14:08,230 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 13:14:08,230 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32255144 passed 2026-03-06 13:14:08,230 - DEBUG - ====Verifying policy data for ctest-vn-32255144 in API_Server ====== 2026-03-06 13:14:08,230 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-06 13:14:08,288 - DEBUG - Requesting: https://10.0.0.41:8082/domain/18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:14:08,349 - DEBUG - Requesting: https://10.0.0.41:8082/project/82df8dca-fb59-477e-921a-87fd13ff2955 2026-03-06 13:14:08,433 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/97c19c4d-63c4-4a0b-888d-4e4263d204d1 2026-03-06 13:14:08,490 - DEBUG - ==>Verifying data for policy with id: 79887141-40db-411a-ac69-ed4c531255b2, fqn: ['admin_domain', 'ctest-TestBasicPolicy-28649092', 'ctest-policy-allow-all-43496558'] 2026-03-06 13:14:08,490 - INFO - VN ctest-vn-32255144 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 13:14:08,490 - DEBUG - Verifying the vn in opserver 2026-03-06 13:14:08,490 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-32255144 virtual network link through opserver 10.0.0.41 2026-03-06 13:14:08,490 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks 2026-03-06 13:14:08,544 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-32255144', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-32255144?flat'} 2026-03-06 13:14:08,544 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-32255144 is found in opserver 2026-03-06 13:14:08,648 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 13:14:08,700 - DEBUG - VRF ids for VN ctest-vn-32255144: {} 2026-03-06 13:14:08,777 - DEBUG - Services list from nova: [, , ] 2026-03-06 13:14:09,980 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-681-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-681-1) 2026-03-06 13:14:11,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-681-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-681-1) 2026-03-06 13:14:11,396 - INFO - Waiting for VM ctest-TestBasicPolicy-28649092-40707578 to be up.. 2026-03-06 13:14:11,570 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-06 13:14:16,727 - DEBUG - VM is in ACTIVE state now 2026-03-06 13:14:16,727 - INFO - VM name : ctest-TestBasicPolicy-28649092-40707578 2026-03-06 13:14:16,888 - DEBUG - VM ctest-TestBasicPolicy-28649092-40707578 ID is 81110b31-b90b-48d7-9dd5-212b96aa6d7c 2026-03-06 13:14:16,933 - DEBUG - VM ctest-TestBasicPolicy-28649092-40707578 launched on Node cn-jenkins-deploy-platform-juju-os-681-1 2026-03-06 13:14:17,099 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/81110b31-b90b-48d7-9dd5-212b96aa6d7c 2026-03-06 13:14:17,156 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/7c5d9604-f42e-4111-a717-8c311dc7a9eb 2026-03-06 13:14:20,636 - 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-03-06 13:14:20,636 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28649092-40707578 failed! 2026-03-06 13:14:20,700 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-28649092:ctest-vn-54699782 is 195.16.244.129 and allocation pool is NOT set 2026-03-06 13:14:24,825 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1034ms\r\nrtt min/avg/max/mdev = 5.011/5.011/5.011/0.000 ms') 2026-03-06 13:14:24,825 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28649092-40707578 passed 2026-03-06 13:14:24,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:14:24,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28649092-40707578, IP 195.16.244.131, Port 22 2026-03-06 13:14:25,221 - DEBUG - VM ctest-TestBasicPolicy-28649092-40707578 is ready for SSH connections 2026-03-06 13:14:25,221 - INFO - Waiting for VM ctest-TestBasicPolicy-28649092-53280201 to be up.. 2026-03-06 13:14:25,390 - DEBUG - VM is in ACTIVE state now 2026-03-06 13:14:25,390 - INFO - VM name : ctest-TestBasicPolicy-28649092-53280201 2026-03-06 13:14:25,543 - DEBUG - VM ctest-TestBasicPolicy-28649092-53280201 ID is c0f2d790-a763-4c41-bf55-33f0e2e245cd 2026-03-06 13:14:25,543 - DEBUG - VM ctest-TestBasicPolicy-28649092-53280201 launched on Node cn-jenkins-deploy-platform-juju-os-681-1 2026-03-06 13:14:25,697 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine/c0f2d790-a763-4c41-bf55-33f0e2e245cd 2026-03-06 13:14:25,753 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-machine-interface/aca1d8d8-7d05-46aa-9e7a-dbad004712f3 2026-03-06 13:14:27,222 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.861 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.861/2.040/3.219/1.179 ms') 2026-03-06 13:14:27,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28649092-53280201 passed 2026-03-06 13:14:27,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:14:27,440 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28649092-53280201, IP 122.245.251.3, Port 22 2026-03-06 13:14:27,777 - DEBUG - VM ctest-TestBasicPolicy-28649092-53280201 is ready for SSH connections 2026-03-06 13:14:27,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:14:27,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.245.251.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-06 13:14:27,778 - DEBUG - ping -s 56 -c 3 -W 1 122.245.251.3 2026-03-06 13:14:32,566 - DEBUG - PING 122.245.251.3 (122.245.251.3): 56 data bytes 64 bytes from 122.245.251.3: seq=0 ttl=63 time=8.887 ms 64 bytes from 122.245.251.3: seq=1 ttl=63 time=1.342 ms 64 bytes from 122.245.251.3: seq=2 ttl=63 time=1.675 ms --- 122.245.251.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.342/3.968/8.887 ms 2026-03-06 13:14:32,566 - INFO - Ping to IP 122.245.251.3 from VM ctest-TestBasicPolicy-28649092-40707578 passed 2026-03-06 13:14:32,988 - DEBUG - Policy Update Response {"network-policy": {"uuid": "79887141-40db-411a-ac69-ed4c531255b2", "href": "https://10.0.0.41:8082/network-policy/79887141-40db-411a-ac69-ed4c531255b2"}} 2026-03-06 13:14:32,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 13:14:32,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.245.251.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-03-06 13:14:32,989 - DEBUG - ping -s 56 -c 3 -W 1 122.245.251.3 2026-03-06 13:14:36,339 - DEBUG - PING 122.245.251.3 (122.245.251.3): 56 data bytes --- 122.245.251.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-06 13:14:36,340 - WARNING - Ping to IP 122.245.251.3 from VM ctest-TestBasicPolicy-28649092-40707578 failed 2026-03-06 13:14:36,340 - INFO - Deleting VM ctest-TestBasicPolicy-28649092-53280201 2026-03-06 13:14:36,521 - INFO - Deleting VM ctest-TestBasicPolicy-28649092-40707578 2026-03-06 13:14:37,586 - INFO - Deleted policy ctest-policy-allow-all-43496558 2026-03-06 13:14:37,587 - INFO - Deleting VN ctest-vn-32255144 2026-03-06 13:14:37,747 - DEBUG - VN 97c19c4d-63c4-4a0b-888d-4e4263d204d1 still in use: Unable to complete operation on network 97c19c4d-63c4-4a0b-888d-4e4263d204d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36db3c51-1d26-415b-9229-4e578dbf196f'] 2026-03-06 13:14:37,747 - WARNING - Deleting VN ctest-vn-32255144 failed..Will retry 2026-03-06 13:14:40,115 - DEBUG - Response for deleting network () 2026-03-06 13:14:40,115 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/36ec4940-620c-4f40-a772-be792226131d 2026-03-06 13:14:40,169 - DEBUG - Response Code: 404 2026-03-06 13:14:40,169 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-06 13:14:40,229 - DEBUG - Requesting: https://10.0.0.41:8082/domain/18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:14:40,296 - DEBUG - Requesting: https://10.0.0.41:8082/project/82df8dca-fb59-477e-921a-87fd13ff2955 2026-03-06 13:14:40,381 - INFO - Validated that VN ctest-vn-32255144 is not found in API Server 2026-03-06 13:14:40,489 - DEBUG - VN ctest-vn-32255144 is not present in Agent 10.0.0.41 2026-03-06 13:14:40,489 - INFO - Validated that VN ctest-vn-32255144 is not in any agent 2026-03-06 13:14:40,661 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32255144 info 2026-03-06 13:14:40,663 - INFO - Deleting VN ctest-vn-54699782 2026-03-06 13:14:40,976 - DEBUG - Response for deleting network () 2026-03-06 13:14:40,976 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/c18a1984-26b7-4f06-b8bf-9016259b713a 2026-03-06 13:14:41,056 - DEBUG - Response Code: 404 2026-03-06 13:14:41,056 - DEBUG - Requesting: https://10.0.0.41:8082/domains 2026-03-06 13:14:41,114 - DEBUG - Requesting: https://10.0.0.41:8082/domain/18ce25eb-0c3f-4af5-9f79-0fc6a509b3f1 2026-03-06 13:14:41,181 - DEBUG - Requesting: https://10.0.0.41:8082/project/82df8dca-fb59-477e-921a-87fd13ff2955 2026-03-06 13:14:41,313 - INFO - Validated that VN ctest-vn-54699782 is not found in API Server 2026-03-06 13:14:41,420 - DEBUG - VN ctest-vn-54699782 is not present in Agent 10.0.0.41 2026-03-06 13:14:41,420 - INFO - Validated that VN ctest-vn-54699782 is not in any agent 2026-03-06 13:14:41,596 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54699782 info 2026-03-06 13:14:42,010 - DEBUG - No XMPP flaps were noticed during the test 2026-03-06 13:14:42,010 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-03-06 13:14:42,010 - INFO - -------------------------------------------------------------------------------- 2026-03-06 13:14:42,961 - INFO - Deleted project: ctest-TestBasicPolicy-28649092, ID : 82df8dca-fb59-477e-921a-87fd13ff2955