2026-02-02 14:45:57,920 - INFO - Reading existing Domain with UUID 21b81c26-e623-4630-8c9f-905f06503c15 2026-02-02 14:45:57,933 - INFO - Using existing domain ['admin_domain'](21b81c26-e623-4630-8c9f-905f06503c15) 2026-02-02 14:45:58,194 - INFO - Project ctest-TestBasicPolicy-06641393 not found, creating it 2026-02-02 14:45:58,761 - INFO - Created Project:ctest-TestBasicPolicy-06641393, ID : e54805f5-722b-48b5-bc0e-5c51792593af 2026-02-02 14:46:00,681 - INFO - ================================================================================ 2026-02-02 14:46:00,682 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 14:46:00,682 - 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-02 14:46:01,102 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.0.0.242': '0'}} with 2026-02-02 14:46:01,102 - INFO - Initial checks done. Running the testcase now 2026-02-02 14:46:01,102 - INFO - 2026-02-02 14:46:01,962 - DEBUG - Response for create_network : {'network': {'id': '2f013f52-1214-4af8-a9c0-757f63ab3162', 'name': 'ctest-vn-08210269', 'tenant_id': 'e54805f5722b48b5bc0e5c51792593af', 'project_id': 'e54805f5722b48b5bc0e5c51792593af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-vn-08210269'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-02 14:46:02,245 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd368c87-7c92-43c2-bad3-9b0bdcf61182', 'name': '', 'tenant_id': 'e54805f5722b48b5bc0e5c51792593af', 'network_id': '2f013f52-1214-4af8-a9c0-757f63ab3162', 'ip_version': 4, 'cidr': '40.141.165.0/26', 'allocation_pools': [{'start': '40.141.165.2', 'end': '40.141.165.62'}], 'gateway_ip': '40.141.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-02T14:46:02.134666', 'updated_at': '2026-02-02T14:46:02.134666', 'dns_server_address': '40.141.165.2', 'tags': [], 'project_id': 'e54805f5722b48b5bc0e5c51792593af'}} 2026-02-02 14:46:02,314 - INFO - Created VN ctest-vn-08210269 2026-02-02 14:46:02,368 - DEBUG - VN ctest-vn-08210269 UUID is 2f013f52-1214-4af8-a9c0-757f63ab3162 2026-02-02 14:46:02,917 - DEBUG - Response for create_network : {'network': {'id': '59526ff8-2bce-4b2b-be13-7633db245e84', 'name': 'ctest-vn-77371749', 'tenant_id': 'e54805f5722b48b5bc0e5c51792593af', 'project_id': 'e54805f5722b48b5bc0e5c51792593af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-vn-77371749'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-02 14:46:03,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e49dee7a-2c84-4d17-ae14-cfa4ff77e435', 'name': '', 'tenant_id': 'e54805f5722b48b5bc0e5c51792593af', 'network_id': '59526ff8-2bce-4b2b-be13-7633db245e84', 'ip_version': 4, 'cidr': '115.248.4.192/26', 'allocation_pools': [{'start': '115.248.4.194', 'end': '115.248.4.254'}], 'gateway_ip': '115.248.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-02T14:46:03.030910', 'updated_at': '2026-02-02T14:46:03.030910', 'dns_server_address': '115.248.4.194', 'tags': [], 'project_id': 'e54805f5722b48b5bc0e5c51792593af'}} 2026-02-02 14:46:03,219 - INFO - Created VN ctest-vn-77371749 2026-02-02 14:46:03,272 - DEBUG - VN ctest-vn-77371749 UUID is 59526ff8-2bce-4b2b-be13-7633db245e84 2026-02-02 14:46:03,493 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-08210269, 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-06641393:ctest-vn-77371749, 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-02 14:46:03,928 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f013f52-1214-4af8-a9c0-757f63ab3162', 'name': 'ctest-vn-08210269', 'tenant_id': 'e54805f5722b48b5bc0e5c51792593af', 'project_id': 'e54805f5722b48b5bc0e5c51792593af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd368c87-7c92-43c2-bad3-9b0bdcf61182'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-vn-08210269'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-policy-allow-all-84129818']], 'subnet_ipam': [{'subnet_cidr': '40.141.165.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-02T14:46:01.867151', 'updated_at': '2026-02-02T14:46:02.153549'}} 2026-02-02 14:46:04,316 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59526ff8-2bce-4b2b-be13-7633db245e84', 'name': 'ctest-vn-77371749', 'tenant_id': 'e54805f5722b48b5bc0e5c51792593af', 'project_id': 'e54805f5722b48b5bc0e5c51792593af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e49dee7a-2c84-4d17-ae14-cfa4ff77e435'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-vn-77371749'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-policy-allow-all-84129818']], 'subnet_ipam': [{'subnet_cidr': '115.248.4.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-02T14:46:02.835046', 'updated_at': '2026-02-02T14:46:03.048996'}} 2026-02-02 14:46:04,512 - DEBUG - Requesting: https://10.0.0.242:8082/domains 2026-02-02 14:46:04,883 - DEBUG - Requesting: https://10.0.0.242:8082/domains 2026-02-02 14:46:04,977 - DEBUG - Requesting: https://10.0.0.242:8082/domain/21b81c26-e623-4630-8c9f-905f06503c15 2026-02-02 14:46:05,037 - DEBUG - Requesting: https://10.0.0.242:8082/project/e54805f5-722b-48b5-bc0e-5c51792593af 2026-02-02 14:46:05,125 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/2f013f52-1214-4af8-a9c0-757f63ab3162 2026-02-02 14:46:05,186 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/2f013f52-1214-4af8-a9c0-757f63ab3162 2026-02-02 14:46:05,242 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/10934cbf-5a55-443f-a02c-deab83731836 2026-02-02 14:46:05,301 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/10934cbf-5a55-443f-a02c-deab83731836 2026-02-02 14:46:05,357 - DEBUG - Requesting: https://10.0.0.242:8082/route-target/ed5ad250-2e96-4771-9a73-af6346aa9515 2026-02-02 14:46:05,413 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 14:46:05,413 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/2f013f52-1214-4af8-a9c0-757f63ab3162 2026-02-02 14:46:05,470 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/10934cbf-5a55-443f-a02c-deab83731836 2026-02-02 14:46:05,534 - INFO - Verified VN network id 11 for VN 2f013f52-1214-4af8-a9c0-757f63ab3162 2026-02-02 14:46:05,534 - INFO - Verifications in API Server for VN ctest-vn-08210269 passed 2026-02-02 14:46:05,535 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/2f013f52-1214-4af8-a9c0-757f63ab3162 2026-02-02 14:46:05,590 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/10934cbf-5a55-443f-a02c-deab83731836 2026-02-02 14:46:05,645 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/10934cbf-5a55-443f-a02c-deab83731836 2026-02-02 14:46:05,702 - DEBUG - Requesting: https://10.0.0.242:8082/route-target/ed5ad250-2e96-4771-9a73-af6346aa9515 2026-02-02 14:46:05,813 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-08210269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06641393', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3387058016482511608', 'uuid-lslong': '12231905777931727202'}, 'enable': 'true', 'created': '2026-02-02T14:46:01', 'last-modified': '2026-02-02T14:46:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.907426'} 2026-02-02 14:46:05,866 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 14:46:05,866 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08210269 passed 2026-02-02 14:46:05,867 - DEBUG - ====Verifying policy data for ctest-vn-08210269 in API_Server ====== 2026-02-02 14:46:05,867 - DEBUG - Requesting: https://10.0.0.242:8082/domains 2026-02-02 14:46:05,920 - DEBUG - Requesting: https://10.0.0.242:8082/domain/21b81c26-e623-4630-8c9f-905f06503c15 2026-02-02 14:46:05,983 - DEBUG - Requesting: https://10.0.0.242:8082/project/e54805f5-722b-48b5-bc0e-5c51792593af 2026-02-02 14:46:06,069 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/2f013f52-1214-4af8-a9c0-757f63ab3162 2026-02-02 14:46:06,126 - DEBUG - ==>Verifying data for policy with id: cd0f7c45-548e-40c9-b017-cc708e752227, fqn: ['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-policy-allow-all-84129818'] 2026-02-02 14:46:06,126 - INFO - VN ctest-vn-08210269 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 14:46:06,126 - DEBUG - Verifying the vn in opserver 2026-02-02 14:46:06,126 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-08210269 virtual network link through opserver 10.0.0.242 2026-02-02 14:46:06,126 - DEBUG - Requesting: https://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-02 14:46:06,490 - DEBUG - Requesting: https://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-02 14:46:06,621 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-08210269', 'href': 'https://10.0.0.242:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-08210269?flat'} 2026-02-02 14:46:06,621 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-08210269 is found in opserver 2026-02-02 14:46:06,725 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 14:46:06,773 - DEBUG - VRF ids for VN ctest-vn-08210269: {} 2026-02-02 14:46:06,773 - DEBUG - Requesting: https://10.0.0.242:8082/domains 2026-02-02 14:46:06,829 - DEBUG - Requesting: https://10.0.0.242:8082/domain/21b81c26-e623-4630-8c9f-905f06503c15 2026-02-02 14:46:06,893 - DEBUG - Requesting: https://10.0.0.242:8082/project/e54805f5-722b-48b5-bc0e-5c51792593af 2026-02-02 14:46:06,974 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/59526ff8-2bce-4b2b-be13-7633db245e84 2026-02-02 14:46:07,038 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/59526ff8-2bce-4b2b-be13-7633db245e84 2026-02-02 14:46:07,094 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/86181388-1ba6-4121-b8e3-8e5cea51243d 2026-02-02 14:46:07,149 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/86181388-1ba6-4121-b8e3-8e5cea51243d 2026-02-02 14:46:07,206 - DEBUG - Requesting: https://10.0.0.242:8082/route-target/19769914-7ba9-4495-8f43-67fe9136168e 2026-02-02 14:46:07,265 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 14:46:07,265 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/59526ff8-2bce-4b2b-be13-7633db245e84 2026-02-02 14:46:07,322 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/86181388-1ba6-4121-b8e3-8e5cea51243d 2026-02-02 14:46:07,386 - INFO - Verified VN network id 12 for VN 59526ff8-2bce-4b2b-be13-7633db245e84 2026-02-02 14:46:07,386 - INFO - Verifications in API Server for VN ctest-vn-77371749 passed 2026-02-02 14:46:07,387 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/59526ff8-2bce-4b2b-be13-7633db245e84 2026-02-02 14:46:07,442 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/86181388-1ba6-4121-b8e3-8e5cea51243d 2026-02-02 14:46:07,497 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/86181388-1ba6-4121-b8e3-8e5cea51243d 2026-02-02 14:46:07,553 - DEBUG - Requesting: https://10.0.0.242:8082/route-target/19769914-7ba9-4495-8f43-67fe9136168e 2026-02-02 14:46:07,665 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-77371749', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06641393', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6436329929143372587', 'uuid-lslong': '13696420856855813764'}, 'enable': 'true', 'created': '2026-02-02T14:46:02', 'last-modified': '2026-02-02T14:46:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.397869'} 2026-02-02 14:46:07,718 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 14:46:07,718 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77371749 passed 2026-02-02 14:46:07,718 - DEBUG - ====Verifying policy data for ctest-vn-77371749 in API_Server ====== 2026-02-02 14:46:07,719 - DEBUG - Requesting: https://10.0.0.242:8082/domains 2026-02-02 14:46:07,768 - DEBUG - Requesting: https://10.0.0.242:8082/domain/21b81c26-e623-4630-8c9f-905f06503c15 2026-02-02 14:46:07,829 - DEBUG - Requesting: https://10.0.0.242:8082/project/e54805f5-722b-48b5-bc0e-5c51792593af 2026-02-02 14:46:07,913 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-network/59526ff8-2bce-4b2b-be13-7633db245e84 2026-02-02 14:46:07,970 - DEBUG - ==>Verifying data for policy with id: cd0f7c45-548e-40c9-b017-cc708e752227, fqn: ['admin_domain', 'ctest-TestBasicPolicy-06641393', 'ctest-policy-allow-all-84129818'] 2026-02-02 14:46:07,970 - INFO - VN ctest-vn-77371749 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 14:46:07,970 - DEBUG - Verifying the vn in opserver 2026-02-02 14:46:07,970 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-77371749 virtual network link through opserver 10.0.0.242 2026-02-02 14:46:07,970 - DEBUG - Requesting: https://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-02 14:46:08,029 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-77371749', 'href': 'https://10.0.0.242:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-77371749?flat'} 2026-02-02 14:46:08,029 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-77371749 is found in opserver 2026-02-02 14:46:08,133 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 14:46:08,185 - DEBUG - VRF ids for VN ctest-vn-77371749: {} 2026-02-02 14:46:08,260 - DEBUG - Services list from nova: [, , ] 2026-02-02 14:46:10,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-662-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-662-1) 2026-02-02 14:46:11,515 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-662-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-662-1) 2026-02-02 14:46:11,515 - INFO - Waiting for VM ctest-TestBasicPolicy-06641393-71198585 to be up.. 2026-02-02 14:46:11,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 14:46:16,838 - DEBUG - VM is in ACTIVE state now 2026-02-02 14:46:16,838 - INFO - VM name : ctest-TestBasicPolicy-06641393-71198585 2026-02-02 14:46:17,008 - DEBUG - VM ctest-TestBasicPolicy-06641393-71198585 ID is 1f84e075-7711-45a2-9791-79d097522dd6 2026-02-02 14:46:17,042 - DEBUG - VM ctest-TestBasicPolicy-06641393-71198585 launched on Node cn-jenkins-deploy-platform-juju-os-662-1 2026-02-02 14:46:17,202 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine/1f84e075-7711-45a2-9791-79d097522dd6 2026-02-02 14:46:17,261 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/cb28a28e-1a5b-41fe-99ca-458b08df225f 2026-02-02 14:46:20,729 - 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 1005ms') 2026-02-02 14:46:20,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06641393-71198585 failed! 2026-02-02 14:46:20,788 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-06641393:ctest-vn-08210269 is 40.141.165.1 and allocation pool is NOT set 2026-02-02 14:46:24,913 - 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=4.37 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 4.372/4.372/4.372/0.000 ms') 2026-02-02 14:46:24,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06641393-71198585 passed 2026-02-02 14:46:25,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 14:46:25,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06641393-71198585, IP 40.141.165.3, Port 22 2026-02-02 14:46:25,295 - DEBUG - VM ctest-TestBasicPolicy-06641393-71198585 is ready for SSH connections 2026-02-02 14:46:25,295 - INFO - Waiting for VM ctest-TestBasicPolicy-06641393-32931174 to be up.. 2026-02-02 14:46:25,446 - DEBUG - VM is in ACTIVE state now 2026-02-02 14:46:25,446 - INFO - VM name : ctest-TestBasicPolicy-06641393-32931174 2026-02-02 14:46:25,605 - DEBUG - VM ctest-TestBasicPolicy-06641393-32931174 ID is 24609567-7713-4efe-9b78-a0be29b18524 2026-02-02 14:46:25,605 - DEBUG - VM ctest-TestBasicPolicy-06641393-32931174 launched on Node cn-jenkins-deploy-platform-juju-os-662-1 2026-02-02 14:46:25,776 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine/24609567-7713-4efe-9b78-a0be29b18524 2026-02-02 14:46:25,841 - DEBUG - Requesting: https://10.0.0.242:8082/virtual-machine-interface/43aaa09b-94ac-4aa2-8683-3774fec1caed 2026-02-02 14:46:27,287 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/1.782/3.058/1.275 ms') 2026-02-02 14:46:27,287 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06641393-32931174 passed 2026-02-02 14:46:27,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 14:46:27,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06641393-32931174, IP 115.248.4.195, Port 22 2026-02-02 14:46:27,651 - DEBUG - VM ctest-TestBasicPolicy-06641393-32931174 is ready for SSH connections 2026-02-02 14:46:27,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 14:46:27,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.248.4.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-02 14:46:27,651 - DEBUG - ping -s 56 -c 3 -W 1 115.248.4.195 2026-02-02 14:46:31,363 - DEBUG - PING 115.248.4.195 (115.248.4.195): 56 data bytes 64 bytes from 115.248.4.195: seq=0 ttl=63 time=4.501 ms 64 bytes from 115.248.4.195: seq=1 ttl=63 time=0.901 ms 64 bytes from 115.248.4.195: seq=2 ttl=63 time=0.942 ms --- 115.248.4.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/2.114/4.501 ms 2026-02-02 14:46:31,364 - INFO - Ping to IP 115.248.4.195 from VM ctest-TestBasicPolicy-06641393-71198585 passed 2026-02-02 14:46:31,592 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cd0f7c45-548e-40c9-b017-cc708e752227", "href": "https://10.0.0.242:8082/network-policy/cd0f7c45-548e-40c9-b017-cc708e752227"}} 2026-02-02 14:46:31,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 14:46:31,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.248.4.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-02 14:46:31,592 - DEBUG - ping -s 56 -c 3 -W 1 115.248.4.195 2026-02-02 14:46:34,813 - DEBUG - PING 115.248.4.195 (115.248.4.195): 56 data bytes --- 115.248.4.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 14:46:34,813 - WARNING - Ping to IP 115.248.4.195 from VM ctest-TestBasicPolicy-06641393-71198585 failed 2026-02-02 14:46:34,813 - INFO - Deleting VM ctest-TestBasicPolicy-06641393-32931174 2026-02-02 14:46:34,929 - INFO - Deleting VM ctest-TestBasicPolicy-06641393-71198585 2026-02-02 14:46:35,681 - INFO - Deleted policy ctest-policy-allow-all-84129818 2026-02-02 14:46:35,681 - INFO - Deleting VN ctest-vn-77371749 2026-02-02 14:46:35,823 - DEBUG - VN 59526ff8-2bce-4b2b-be13-7633db245e84 still in use: Unable to complete operation on network 59526ff8-2bce-4b2b-be13-7633db245e84. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d4251a6-c02a-422d-b014-f2d3543d6afd'] 2026-02-02 14:46:35,823 - WARNING - Deleting VN ctest-vn-77371749 failed..Will retry 2026-02-02 14:46:37,997 - DEBUG - Response for deleting network () 2026-02-02 14:46:37,997 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/86181388-1ba6-4121-b8e3-8e5cea51243d 2026-02-02 14:46:38,048 - DEBUG - Response Code: 404 2026-02-02 14:46:38,048 - DEBUG - Requesting: https://10.0.0.242:8082/domains 2026-02-02 14:46:38,101 - DEBUG - Requesting: https://10.0.0.242:8082/domain/21b81c26-e623-4630-8c9f-905f06503c15 2026-02-02 14:46:38,157 - DEBUG - Requesting: https://10.0.0.242:8082/project/e54805f5-722b-48b5-bc0e-5c51792593af 2026-02-02 14:46:38,237 - INFO - Validated that VN ctest-vn-77371749 is not found in API Server 2026-02-02 14:46:38,332 - DEBUG - VN ctest-vn-77371749 is not present in Agent 10.0.0.242 2026-02-02 14:46:38,332 - INFO - Validated that VN ctest-vn-77371749 is not in any agent 2026-02-02 14:46:38,481 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77371749 info 2026-02-02 14:46:38,482 - INFO - Deleting VN ctest-vn-08210269 2026-02-02 14:46:38,694 - DEBUG - Response for deleting network () 2026-02-02 14:46:38,695 - DEBUG - Requesting: https://10.0.0.242:8082/routing-instance/10934cbf-5a55-443f-a02c-deab83731836 2026-02-02 14:46:38,752 - DEBUG - Response Code: 404 2026-02-02 14:46:38,752 - DEBUG - Requesting: https://10.0.0.242:8082/domains 2026-02-02 14:46:38,805 - DEBUG - Requesting: https://10.0.0.242:8082/domain/21b81c26-e623-4630-8c9f-905f06503c15 2026-02-02 14:46:38,865 - DEBUG - Requesting: https://10.0.0.242:8082/project/e54805f5-722b-48b5-bc0e-5c51792593af 2026-02-02 14:46:38,949 - INFO - Validated that VN ctest-vn-08210269 is not found in API Server 2026-02-02 14:46:39,053 - DEBUG - VN ctest-vn-08210269 is not present in Agent 10.0.0.242 2026-02-02 14:46:39,053 - INFO - Validated that VN ctest-vn-08210269 is not in any agent 2026-02-02 14:46:39,201 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08210269 info 2026-02-02 14:46:39,597 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 14:46:39,597 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-02-02 14:46:39,598 - INFO - -------------------------------------------------------------------------------- 2026-02-02 14:46:40,396 - INFO - Deleted project: ctest-TestBasicPolicy-06641393, ID : e54805f5-722b-48b5-bc0e-5c51792593af