2025-08-11 17:02:30,337 - INFO - Domain Default found not creating 2025-08-11 17:02:30,469 - INFO - Project ctest-TestBasicPolicy-37235727 not found, creating it 2025-08-11 17:02:30,912 - INFO - Created Project:ctest-TestBasicPolicy-37235727, ID : 6eb41949-b3da-4fc4-a3a2-776c709919e8 2025-08-11 17:02:32,481 - INFO - ================================================================================ 2025-08-11 17:02:32,481 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 17:02:32,481 - 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 2025-08-11 17:02:32,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-11 17:02:32,740 - INFO - Initial checks done. Running the testcase now 2025-08-11 17:02:32,740 - INFO - 2025-08-11 17:02:33,323 - DEBUG - Response for create_network : {'network': {'id': '8355c401-3536-4492-bbc6-ca427cb33e0a', 'name': 'ctest-vn-39050128', 'tenant_id': '6eb41949b3da4fc4a3a2776c709919e8', 'project_id': '6eb41949b3da4fc4a3a2776c709919e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-vn-39050128'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 17:02:33,499 - DEBUG - Response for create_subnet : {'subnet': {'id': '9010cbe2-6d1c-4630-b1e1-4d2746d3d54e', 'name': '', 'tenant_id': '6eb41949b3da4fc4a3a2776c709919e8', 'network_id': '8355c401-3536-4492-bbc6-ca427cb33e0a', 'ip_version': 4, 'cidr': '143.184.27.128/26', 'allocation_pools': [{'start': '143.184.27.130', 'end': '143.184.27.190'}], 'gateway_ip': '143.184.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.184.27.130', 'tags': [], 'project_id': '6eb41949b3da4fc4a3a2776c709919e8'}} 2025-08-11 17:02:33,516 - INFO - Created VN ctest-vn-39050128 2025-08-11 17:02:33,570 - DEBUG - VN ctest-vn-39050128 UUID is 8355c401-3536-4492-bbc6-ca427cb33e0a 2025-08-11 17:02:33,889 - DEBUG - Response for create_network : {'network': {'id': '99e4d522-ea3f-4c11-9cf2-abc228becc10', 'name': 'ctest-vn-59289224', 'tenant_id': '6eb41949b3da4fc4a3a2776c709919e8', 'project_id': '6eb41949b3da4fc4a3a2776c709919e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-vn-59289224'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 17:02:34,079 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7715280-4b6d-4a3c-9dee-cd86e83be792', 'name': '', 'tenant_id': '6eb41949b3da4fc4a3a2776c709919e8', 'network_id': '99e4d522-ea3f-4c11-9cf2-abc228becc10', 'ip_version': 4, 'cidr': '76.50.44.128/26', 'allocation_pools': [{'start': '76.50.44.130', 'end': '76.50.44.190'}], 'gateway_ip': '76.50.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.50.44.130', 'tags': [], 'project_id': '6eb41949b3da4fc4a3a2776c709919e8'}} 2025-08-11 17:02:34,098 - INFO - Created VN ctest-vn-59289224 2025-08-11 17:02:34,154 - DEBUG - VN ctest-vn-59289224 UUID is 99e4d522-ea3f-4c11-9cf2-abc228becc10 2025-08-11 17:02:34,310 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-39050128, 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-37235727:ctest-vn-59289224, 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] 2025-08-11 17:02:34,599 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8355c401-3536-4492-bbc6-ca427cb33e0a', 'name': 'ctest-vn-39050128', 'tenant_id': '6eb41949b3da4fc4a3a2776c709919e8', 'project_id': '6eb41949b3da4fc4a3a2776c709919e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9010cbe2-6d1c-4630-b1e1-4d2746d3d54e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-vn-39050128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-policy-allow-all-86742280']], 'subnet_ipam': [{'subnet_cidr': '143.184.27.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 17:02:34,881 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99e4d522-ea3f-4c11-9cf2-abc228becc10', 'name': 'ctest-vn-59289224', 'tenant_id': '6eb41949b3da4fc4a3a2776c709919e8', 'project_id': '6eb41949b3da4fc4a3a2776c709919e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e7715280-4b6d-4a3c-9dee-cd86e83be792'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-vn-59289224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-policy-allow-all-86742280']], 'subnet_ipam': [{'subnet_cidr': '76.50.44.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 17:02:35,022 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 17:02:35,359 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 17:02:35,387 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5f883c93-e6c1-499b-9edc-ef559f9f2026 2025-08-11 17:02:35,401 - DEBUG - Requesting: http://10.0.0.254:8082/project/6eb41949-b3da-4fc4-a3a2-776c709919e8 2025-08-11 17:02:35,474 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8355c401-3536-4492-bbc6-ca427cb33e0a 2025-08-11 17:02:35,486 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8355c401-3536-4492-bbc6-ca427cb33e0a 2025-08-11 17:02:35,496 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/27704d96-67fe-4b0a-99d9-a34e7870758f 2025-08-11 17:02:35,503 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/27704d96-67fe-4b0a-99d9-a34e7870758f 2025-08-11 17:02:35,510 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f7308151-5e8e-4a35-96e8-2d3deda68ffd 2025-08-11 17:02:35,516 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 17:02:35,517 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8355c401-3536-4492-bbc6-ca427cb33e0a 2025-08-11 17:02:35,526 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/27704d96-67fe-4b0a-99d9-a34e7870758f 2025-08-11 17:02:35,540 - INFO - Verified VN network id 10 for VN 8355c401-3536-4492-bbc6-ca427cb33e0a 2025-08-11 17:02:35,540 - INFO - Verifications in API Server for VN ctest-vn-39050128 passed 2025-08-11 17:02:35,540 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8355c401-3536-4492-bbc6-ca427cb33e0a 2025-08-11 17:02:35,550 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/27704d96-67fe-4b0a-99d9-a34e7870758f 2025-08-11 17:02:35,557 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/27704d96-67fe-4b0a-99d9-a34e7870758f 2025-08-11 17:02:35,564 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f7308151-5e8e-4a35-96e8-2d3deda68ffd 2025-08-11 17:02:35,577 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-39050128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37235727', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9463685701455725714', 'uuid-lslong': '13530724517390007818'}, 'enable': 'true', 'created': '2025-08-11T17:02:33', 'last-modified': '2025-08-11T17:02:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.002726'} 2025-08-11 17:02:35,583 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 17:02:35,583 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39050128 passed 2025-08-11 17:02:35,584 - DEBUG - ====Verifying policy data for ctest-vn-39050128 in API_Server ====== 2025-08-11 17:02:35,584 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 17:02:35,589 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5f883c93-e6c1-499b-9edc-ef559f9f2026 2025-08-11 17:02:35,600 - DEBUG - Requesting: http://10.0.0.254:8082/project/6eb41949-b3da-4fc4-a3a2-776c709919e8 2025-08-11 17:02:35,676 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8355c401-3536-4492-bbc6-ca427cb33e0a 2025-08-11 17:02:35,687 - DEBUG - ==>Verifying data for policy with id: 5dd26858-9f33-4b1c-9a40-21361156868a, fqn: ['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-policy-allow-all-86742280'] 2025-08-11 17:02:35,687 - INFO - VN ctest-vn-39050128 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 17:02:35,687 - DEBUG - Verifying the vn in opserver 2025-08-11 17:02:35,687 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-39050128 virtual network link through opserver 10.0.0.254 2025-08-11 17:02:35,687 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-11 17:02:36,016 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-11 17:02:36,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-39050128', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-39050128?flat'} 2025-08-11 17:02:36,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-39050128 is found in opserver 2025-08-11 17:02:36,082 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 17:02:36,087 - DEBUG - VRF ids for VN ctest-vn-39050128: {} 2025-08-11 17:02:36,088 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 17:02:36,093 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5f883c93-e6c1-499b-9edc-ef559f9f2026 2025-08-11 17:02:36,105 - DEBUG - Requesting: http://10.0.0.254:8082/project/6eb41949-b3da-4fc4-a3a2-776c709919e8 2025-08-11 17:02:36,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/99e4d522-ea3f-4c11-9cf2-abc228becc10 2025-08-11 17:02:36,189 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/99e4d522-ea3f-4c11-9cf2-abc228becc10 2025-08-11 17:02:36,199 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d5f77f1-959e-41ab-b17b-2b70bdbcd99f 2025-08-11 17:02:36,207 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d5f77f1-959e-41ab-b17b-2b70bdbcd99f 2025-08-11 17:02:36,214 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/aba156d2-a827-4a3c-abfc-55e9a95b01f1 2025-08-11 17:02:36,220 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 17:02:36,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/99e4d522-ea3f-4c11-9cf2-abc228becc10 2025-08-11 17:02:36,230 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d5f77f1-959e-41ab-b17b-2b70bdbcd99f 2025-08-11 17:02:36,244 - INFO - Verified VN network id 11 for VN 99e4d522-ea3f-4c11-9cf2-abc228becc10 2025-08-11 17:02:36,244 - INFO - Verifications in API Server for VN ctest-vn-59289224 passed 2025-08-11 17:02:36,244 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/99e4d522-ea3f-4c11-9cf2-abc228becc10 2025-08-11 17:02:36,254 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d5f77f1-959e-41ab-b17b-2b70bdbcd99f 2025-08-11 17:02:36,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d5f77f1-959e-41ab-b17b-2b70bdbcd99f 2025-08-11 17:02:36,268 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/aba156d2-a827-4a3c-abfc-55e9a95b01f1 2025-08-11 17:02:36,280 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-59289224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37235727', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11089222528428624913', 'uuid-lslong': '11309290464676334608'}, 'enable': 'true', 'created': '2025-08-11T17:02:33', 'last-modified': '2025-08-11T17:02:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467768'} 2025-08-11 17:02:36,287 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 17:02:36,287 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59289224 passed 2025-08-11 17:02:36,287 - DEBUG - ====Verifying policy data for ctest-vn-59289224 in API_Server ====== 2025-08-11 17:02:36,287 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 17:02:36,292 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5f883c93-e6c1-499b-9edc-ef559f9f2026 2025-08-11 17:02:36,304 - DEBUG - Requesting: http://10.0.0.254:8082/project/6eb41949-b3da-4fc4-a3a2-776c709919e8 2025-08-11 17:02:36,379 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/99e4d522-ea3f-4c11-9cf2-abc228becc10 2025-08-11 17:02:36,389 - DEBUG - ==>Verifying data for policy with id: 5dd26858-9f33-4b1c-9a40-21361156868a, fqn: ['default-domain', 'ctest-TestBasicPolicy-37235727', 'ctest-policy-allow-all-86742280'] 2025-08-11 17:02:36,389 - INFO - VN ctest-vn-59289224 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 17:02:36,389 - DEBUG - Verifying the vn in opserver 2025-08-11 17:02:36,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-59289224 virtual network link through opserver 10.0.0.254 2025-08-11 17:02:36,389 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-11 17:02:36,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-59289224', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-59289224?flat'} 2025-08-11 17:02:36,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-59289224 is found in opserver 2025-08-11 17:02:36,410 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 17:02:36,416 - DEBUG - VRF ids for VN ctest-vn-59289224: {} 2025-08-11 17:02:36,469 - DEBUG - Services list from nova: [, , ] 2025-08-11 17:02:37,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3818-1) 2025-08-11 17:02:38,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3818-1) 2025-08-11 17:02:38,714 - INFO - Waiting for VM ctest-TestBasicPolicy-37235727-34202165 to be up.. 2025-08-11 17:02:38,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 17:02:43,866 - DEBUG - VM is in ACTIVE state now 2025-08-11 17:02:43,867 - INFO - VM name : ctest-TestBasicPolicy-37235727-34202165 2025-08-11 17:02:43,938 - DEBUG - VM ctest-TestBasicPolicy-37235727-34202165 ID is 2e0e7f0f-bd5c-49cb-9e49-6d0bc0d3b06a 2025-08-11 17:02:43,957 - DEBUG - VM ctest-TestBasicPolicy-37235727-34202165 launched on Node cn-jenkins-deploy-platform-ansible-os-3818-1 2025-08-11 17:02:44,028 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e0e7f0f-bd5c-49cb-9e49-6d0bc0d3b06a 2025-08-11 17:02:44,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/268e915a-f0f4-41ce-bb3b-9987177fdcba 2025-08-11 17:02:47,315 - 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') 2025-08-11 17:02:47,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37235727-34202165 failed! 2025-08-11 17:02:47,370 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37235727:ctest-vn-39050128 is 143.184.27.129 and allocation pool is NOT set 2025-08-11 17:02:49,434 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.837 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.837/5.996/11.155/5.159 ms') 2025-08-11 17:02:49,434 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37235727-34202165 passed 2025-08-11 17:02:49,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:02:49,586 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37235727-34202165, IP 143.184.27.131, Port 22 2025-08-11 17:02:49,742 - DEBUG - VM ctest-TestBasicPolicy-37235727-34202165 is ready for SSH connections 2025-08-11 17:02:49,742 - INFO - Waiting for VM ctest-TestBasicPolicy-37235727-11401040 to be up.. 2025-08-11 17:02:49,821 - DEBUG - VM is in ACTIVE state now 2025-08-11 17:02:49,821 - INFO - VM name : ctest-TestBasicPolicy-37235727-11401040 2025-08-11 17:02:49,913 - DEBUG - VM ctest-TestBasicPolicy-37235727-11401040 ID is 30c1cac5-ad56-40fb-ad04-34af434b309e 2025-08-11 17:02:49,913 - DEBUG - VM ctest-TestBasicPolicy-37235727-11401040 launched on Node cn-jenkins-deploy-platform-ansible-os-3818-1 2025-08-11 17:02:50,004 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/30c1cac5-ad56-40fb-ad04-34af434b309e 2025-08-11 17:02:50,013 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bfd52297-60ea-465f-bc0c-b010e0b8e496 2025-08-11 17:02:51,264 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.891 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.891/2.168/3.446/1.277 ms') 2025-08-11 17:02:51,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37235727-11401040 passed 2025-08-11 17:02:51,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:02:51,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37235727-11401040, IP 76.50.44.131, Port 22 2025-08-11 17:02:51,582 - DEBUG - VM ctest-TestBasicPolicy-37235727-11401040 is ready for SSH connections 2025-08-11 17:02:51,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:02:51,582 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.50.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 17:02:51,582 - DEBUG - ping -s 56 -c 3 -W 1 76.50.44.131 2025-08-11 17:02:55,270 - DEBUG - PING 76.50.44.131 (76.50.44.131): 56 data bytes 64 bytes from 76.50.44.131: seq=0 ttl=63 time=4.032 ms 64 bytes from 76.50.44.131: seq=1 ttl=63 time=0.802 ms 64 bytes from 76.50.44.131: seq=2 ttl=63 time=0.900 ms --- 76.50.44.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.911/4.032 ms 2025-08-11 17:02:55,270 - INFO - Ping to IP 76.50.44.131 from VM ctest-TestBasicPolicy-37235727-34202165 passed 2025-08-11 17:02:55,450 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5dd26858-9f33-4b1c-9a40-21361156868a", "href": "http://10.0.0.254:8082/network-policy/5dd26858-9f33-4b1c-9a40-21361156868a"}} 2025-08-11 17:02:55,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 17:02:55,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.50.44.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-11 17:02:55,450 - DEBUG - ping -s 56 -c 3 -W 1 76.50.44.131 2025-08-11 17:02:58,668 - DEBUG - PING 76.50.44.131 (76.50.44.131): 56 data bytes --- 76.50.44.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 17:02:58,669 - WARNING - Ping to IP 76.50.44.131 from VM ctest-TestBasicPolicy-37235727-34202165 failed 2025-08-11 17:02:58,669 - INFO - Deleting VM ctest-TestBasicPolicy-37235727-11401040 2025-08-11 17:02:58,736 - INFO - Deleting VM ctest-TestBasicPolicy-37235727-34202165 2025-08-11 17:02:59,115 - INFO - Deleted policy ctest-policy-allow-all-86742280 2025-08-11 17:02:59,115 - INFO - Deleting VN ctest-vn-59289224 2025-08-11 17:02:59,156 - DEBUG - VN 99e4d522-ea3f-4c11-9cf2-abc228becc10 still in use: Unable to complete operation on network 99e4d522-ea3f-4c11-9cf2-abc228becc10. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5baf1e51-f51b-4854-82cc-4f43ae6fe499'] 2025-08-11 17:02:59,156 - WARNING - Deleting VN ctest-vn-59289224 failed..Will retry 2025-08-11 17:03:01,258 - DEBUG - Response for deleting network () 2025-08-11 17:03:01,258 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d5f77f1-959e-41ab-b17b-2b70bdbcd99f 2025-08-11 17:03:01,265 - DEBUG - Response Code: 404 2025-08-11 17:03:01,265 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 17:03:01,271 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5f883c93-e6c1-499b-9edc-ef559f9f2026 2025-08-11 17:03:01,324 - DEBUG - Requesting: http://10.0.0.254:8082/project/6eb41949-b3da-4fc4-a3a2-776c709919e8 2025-08-11 17:03:01,401 - INFO - Validated that VN ctest-vn-59289224 is not found in API Server 2025-08-11 17:03:01,413 - DEBUG - VN ctest-vn-59289224 is not present in Agent 10.0.0.254 2025-08-11 17:03:01,413 - INFO - Validated that VN ctest-vn-59289224 is not in any agent 2025-08-11 17:03:01,429 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59289224 info 2025-08-11 17:03:01,429 - INFO - Deleting VN ctest-vn-39050128 2025-08-11 17:03:01,536 - DEBUG - Response for deleting network () 2025-08-11 17:03:01,536 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/27704d96-67fe-4b0a-99d9-a34e7870758f 2025-08-11 17:03:01,547 - DEBUG - Response Code: 404 2025-08-11 17:03:01,548 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-11 17:03:01,554 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5f883c93-e6c1-499b-9edc-ef559f9f2026 2025-08-11 17:03:01,613 - DEBUG - Requesting: http://10.0.0.254:8082/project/6eb41949-b3da-4fc4-a3a2-776c709919e8 2025-08-11 17:03:01,695 - INFO - Validated that VN ctest-vn-39050128 is not found in API Server 2025-08-11 17:03:01,706 - DEBUG - VN ctest-vn-39050128 is not present in Agent 10.0.0.254 2025-08-11 17:03:01,706 - INFO - Validated that VN ctest-vn-39050128 is not in any agent 2025-08-11 17:03:01,721 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39050128 info 2025-08-11 17:03:01,981 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 17:03:01,981 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-11 17:03:01,981 - INFO - -------------------------------------------------------------------------------- 2025-08-11 17:03:02,692 - INFO - Deleted project: ctest-TestBasicPolicy-37235727, ID : 6eb41949-b3da-4fc4-a3a2-776c709919e8