2025-11-19 18:17:38,383 - INFO - Domain Default found not creating 2025-11-19 18:17:38,565 - INFO - Project ctest-TestBasicPolicy-49115104 not found, creating it 2025-11-19 18:17:39,003 - INFO - Created Project:ctest-TestBasicPolicy-49115104, ID : 763e541a-775d-4a51-abcd-4da5bde0817e 2025-11-19 18:17:40,562 - INFO - ================================================================================ 2025-11-19 18:17:40,562 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-19 18:17:40,562 - 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-11-19 18:17:40,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.192': '0'}} with 2025-11-19 18:17:40,835 - INFO - Initial checks done. Running the testcase now 2025-11-19 18:17:40,835 - INFO - 2025-11-19 18:17:41,387 - DEBUG - Response for create_network : {'network': {'id': 'a8fa4e24-732d-4697-833a-8ade91f4f34e', 'name': 'ctest-vn-49485682', 'tenant_id': '763e541a775d4a51abcd4da5bde0817e', 'project_id': '763e541a775d4a51abcd4da5bde0817e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-vn-49485682'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:17:41,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8257baf-16c7-4d43-9579-4d05c7962e7e', 'name': '', 'tenant_id': '763e541a775d4a51abcd4da5bde0817e', 'network_id': 'a8fa4e24-732d-4697-833a-8ade91f4f34e', 'ip_version': 4, 'cidr': '59.134.49.192/26', 'allocation_pools': [{'start': '59.134.49.194', 'end': '59.134.49.254'}], 'gateway_ip': '59.134.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.134.49.194', 'tags': [], 'project_id': '763e541a775d4a51abcd4da5bde0817e'}} 2025-11-19 18:17:41,622 - INFO - Created VN ctest-vn-49485682 2025-11-19 18:17:41,681 - DEBUG - VN ctest-vn-49485682 UUID is a8fa4e24-732d-4697-833a-8ade91f4f34e 2025-11-19 18:17:41,984 - DEBUG - Response for create_network : {'network': {'id': 'ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56', 'name': 'ctest-vn-98418977', 'tenant_id': '763e541a775d4a51abcd4da5bde0817e', 'project_id': '763e541a775d4a51abcd4da5bde0817e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-vn-98418977'], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:17:42,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8a2ac14-0ced-4050-8772-11607daf6b3b', 'name': '', 'tenant_id': '763e541a775d4a51abcd4da5bde0817e', 'network_id': 'ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56', 'ip_version': 4, 'cidr': '130.90.112.64/26', 'allocation_pools': [{'start': '130.90.112.66', 'end': '130.90.112.126'}], 'gateway_ip': '130.90.112.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.90.112.66', 'tags': [], 'project_id': '763e541a775d4a51abcd4da5bde0817e'}} 2025-11-19 18:17:42,161 - INFO - Created VN ctest-vn-98418977 2025-11-19 18:17:42,213 - DEBUG - VN ctest-vn-98418977 UUID is ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 2025-11-19 18:17:42,373 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-49485682, 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-49115104:ctest-vn-98418977, 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-11-19 18:17:42,674 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8fa4e24-732d-4697-833a-8ade91f4f34e', 'name': 'ctest-vn-49485682', 'tenant_id': '763e541a775d4a51abcd4da5bde0817e', 'project_id': '763e541a775d4a51abcd4da5bde0817e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a8257baf-16c7-4d43-9579-4d05c7962e7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-vn-49485682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-policy-allow-all-36881466']], 'subnet_ipam': [{'subnet_cidr': '59.134.49.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:17:42,945 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56', 'name': 'ctest-vn-98418977', 'tenant_id': '763e541a775d4a51abcd4da5bde0817e', 'project_id': '763e541a775d4a51abcd4da5bde0817e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c8a2ac14-0ced-4050-8772-11607daf6b3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-vn-98418977'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-policy-allow-all-36881466']], 'subnet_ipam': [{'subnet_cidr': '130.90.112.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-19 18:17:43,089 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 18:17:43,395 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 18:17:43,424 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f68dab00-b5a5-4aed-ac1f-d50821ae4442 2025-11-19 18:17:43,435 - DEBUG - Requesting: http://10.0.0.50:8082/project/763e541a-775d-4a51-abcd-4da5bde0817e 2025-11-19 18:17:43,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a8fa4e24-732d-4697-833a-8ade91f4f34e 2025-11-19 18:17:43,513 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a8fa4e24-732d-4697-833a-8ade91f4f34e 2025-11-19 18:17:43,522 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8234a5ed-abea-4228-95b5-6b56b05af597 2025-11-19 18:17:43,528 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8234a5ed-abea-4228-95b5-6b56b05af597 2025-11-19 18:17:43,535 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/540ce202-8aca-4ccd-b401-f77b4f16ddd2 2025-11-19 18:17:43,542 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 18:17:43,542 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a8fa4e24-732d-4697-833a-8ade91f4f34e 2025-11-19 18:17:43,552 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8234a5ed-abea-4228-95b5-6b56b05af597 2025-11-19 18:17:43,569 - INFO - Verified VN network id 11 for VN a8fa4e24-732d-4697-833a-8ade91f4f34e 2025-11-19 18:17:43,569 - INFO - Verifications in API Server for VN ctest-vn-49485682 passed 2025-11-19 18:17:43,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a8fa4e24-732d-4697-833a-8ade91f4f34e 2025-11-19 18:17:43,581 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8234a5ed-abea-4228-95b5-6b56b05af597 2025-11-19 18:17:43,591 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8234a5ed-abea-4228-95b5-6b56b05af597 2025-11-19 18:17:43,601 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/540ce202-8aca-4ccd-b401-f77b4f16ddd2 2025-11-19 18:17:43,615 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-49485682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49115104', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12176130461007693463', 'uuid-lslong': '9456023056153899854'}, 'enable': 'true', 'created': '2025-11-19T18:17:41', 'last-modified': '2025-11-19T18:17:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968083'} 2025-11-19 18:17:43,622 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-19 18:17:43,622 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49485682 passed 2025-11-19 18:17:43,622 - DEBUG - ====Verifying policy data for ctest-vn-49485682 in API_Server ====== 2025-11-19 18:17:43,622 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 18:17:43,627 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f68dab00-b5a5-4aed-ac1f-d50821ae4442 2025-11-19 18:17:43,640 - DEBUG - Requesting: http://10.0.0.50:8082/project/763e541a-775d-4a51-abcd-4da5bde0817e 2025-11-19 18:17:43,709 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a8fa4e24-732d-4697-833a-8ade91f4f34e 2025-11-19 18:17:43,718 - DEBUG - ==>Verifying data for policy with id: c00c96cb-b118-485b-9172-faa81d6dafdf, fqn: ['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-policy-allow-all-36881466'] 2025-11-19 18:17:43,718 - INFO - VN ctest-vn-49485682 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 18:17:43,718 - DEBUG - Verifying the vn in opserver 2025-11-19 18:17:43,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-49485682 virtual network link through opserver 10.0.0.50 2025-11-19 18:17:43,718 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-19 18:17:44,020 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-19 18:17:44,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-49485682', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-49485682?flat'} 2025-11-19 18:17:44,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-49485682 is found in opserver 2025-11-19 18:17:44,096 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 18:17:44,101 - DEBUG - VRF ids for VN ctest-vn-49485682: {} 2025-11-19 18:17:44,101 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 18:17:44,106 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f68dab00-b5a5-4aed-ac1f-d50821ae4442 2025-11-19 18:17:44,118 - DEBUG - Requesting: http://10.0.0.50:8082/project/763e541a-775d-4a51-abcd-4da5bde0817e 2025-11-19 18:17:44,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 2025-11-19 18:17:44,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 2025-11-19 18:17:44,206 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b09cf719-11bd-4160-9135-dff4ad187814 2025-11-19 18:17:44,213 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b09cf719-11bd-4160-9135-dff4ad187814 2025-11-19 18:17:44,221 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c758958-4f59-46f0-9b37-e87b05bfd863 2025-11-19 18:17:44,230 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 18:17:44,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 2025-11-19 18:17:44,240 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b09cf719-11bd-4160-9135-dff4ad187814 2025-11-19 18:17:44,257 - INFO - Verified VN network id 12 for VN ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 2025-11-19 18:17:44,257 - INFO - Verifications in API Server for VN ctest-vn-98418977 passed 2025-11-19 18:17:44,257 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 2025-11-19 18:17:44,267 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b09cf719-11bd-4160-9135-dff4ad187814 2025-11-19 18:17:44,274 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b09cf719-11bd-4160-9135-dff4ad187814 2025-11-19 18:17:44,281 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8c758958-4f59-46f0-9b37-e87b05bfd863 2025-11-19 18:17:44,293 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-98418977', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49115104', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12483062429875521520', 'uuid-lslong': '12088433968549784918'}, 'enable': 'true', 'created': '2025-11-19T18:17:41', 'last-modified': '2025-11-19T18:17:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412256'} 2025-11-19 18:17:44,299 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-19 18:17:44,299 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98418977 passed 2025-11-19 18:17:44,299 - DEBUG - ====Verifying policy data for ctest-vn-98418977 in API_Server ====== 2025-11-19 18:17:44,299 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 18:17:44,306 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f68dab00-b5a5-4aed-ac1f-d50821ae4442 2025-11-19 18:17:44,321 - DEBUG - Requesting: http://10.0.0.50:8082/project/763e541a-775d-4a51-abcd-4da5bde0817e 2025-11-19 18:17:44,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 2025-11-19 18:17:44,405 - DEBUG - ==>Verifying data for policy with id: c00c96cb-b118-485b-9172-faa81d6dafdf, fqn: ['default-domain', 'ctest-TestBasicPolicy-49115104', 'ctest-policy-allow-all-36881466'] 2025-11-19 18:17:44,405 - INFO - VN ctest-vn-98418977 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-19 18:17:44,406 - DEBUG - Verifying the vn in opserver 2025-11-19 18:17:44,406 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-98418977 virtual network link through opserver 10.0.0.50 2025-11-19 18:17:44,406 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-19 18:17:44,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-98418977', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-98418977?flat'} 2025-11-19 18:17:44,416 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-98418977 is found in opserver 2025-11-19 18:17:44,424 - DEBUG - Do not have enough data to verify VN in agent 2025-11-19 18:17:44,429 - DEBUG - VRF ids for VN ctest-vn-98418977: {} 2025-11-19 18:17:44,484 - DEBUG - Services list from nova: [, , ] 2025-11-19 18:17:45,524 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:17:46,666 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4766-1) 2025-11-19 18:17:46,666 - INFO - Waiting for VM ctest-TestBasicPolicy-49115104-00256755 to be up.. 2025-11-19 18:17:46,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-19 18:17:51,818 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:17:51,818 - INFO - VM name : ctest-TestBasicPolicy-49115104-00256755 2025-11-19 18:17:51,901 - DEBUG - VM ctest-TestBasicPolicy-49115104-00256755 ID is c1815955-65ec-436d-96ae-4eeb405d2329 2025-11-19 18:17:51,920 - DEBUG - VM ctest-TestBasicPolicy-49115104-00256755 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:17:51,999 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c1815955-65ec-436d-96ae-4eeb405d2329 2025-11-19 18:17:52,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2d45864e-7f2e-4517-9708-3b4936c6673b 2025-11-19 18:17:55,278 - 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 1026ms') 2025-11-19 18:17:55,278 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49115104-00256755 failed! 2025-11-19 18:17:55,333 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49115104:ctest-vn-49485682 is 59.134.49.193 and allocation pool is NOT set 2025-11-19 18:17:57,392 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.018/5.434/8.850/3.416 ms') 2025-11-19 18:17:57,392 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49115104-00256755 passed 2025-11-19 18:17:57,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:17:57,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49115104-00256755, IP 59.134.49.195, Port 22 2025-11-19 18:17:57,704 - DEBUG - VM ctest-TestBasicPolicy-49115104-00256755 is ready for SSH connections 2025-11-19 18:17:57,704 - INFO - Waiting for VM ctest-TestBasicPolicy-49115104-85474823 to be up.. 2025-11-19 18:17:57,781 - DEBUG - VM is in ACTIVE state now 2025-11-19 18:17:57,781 - INFO - VM name : ctest-TestBasicPolicy-49115104-85474823 2025-11-19 18:17:57,851 - DEBUG - VM ctest-TestBasicPolicy-49115104-85474823 ID is b2f00635-1676-4217-b836-86c04f174c82 2025-11-19 18:17:57,851 - DEBUG - VM ctest-TestBasicPolicy-49115104-85474823 launched on Node cn-jenkins-deploy-platform-ansible-os-4766-1 2025-11-19 18:17:57,927 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b2f00635-1676-4217-b836-86c04f174c82 2025-11-19 18:17:57,936 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3399c0b0-5f8d-4066-b5ef-f84d1d3215c4 2025-11-19 18:17:59,178 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.647/2.827/1.180 ms') 2025-11-19 18:17:59,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49115104-85474823 passed 2025-11-19 18:17:59,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:17:59,325 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49115104-85474823, IP 130.90.112.67, Port 22 2025-11-19 18:17:59,480 - DEBUG - VM ctest-TestBasicPolicy-49115104-85474823 is ready for SSH connections 2025-11-19 18:17:59,480 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:17:59,480 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.90.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:17:59,481 - DEBUG - ping -s 56 -c 3 -W 1 130.90.112.67 2025-11-19 18:18:03,617 - DEBUG - PING 130.90.112.67 (130.90.112.67): 56 data bytes 64 bytes from 130.90.112.67: seq=0 ttl=63 time=3.682 ms 64 bytes from 130.90.112.67: seq=1 ttl=63 time=0.731 ms 64 bytes from 130.90.112.67: seq=2 ttl=63 time=0.842 ms --- 130.90.112.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.731/1.751/3.682 ms 2025-11-19 18:18:03,617 - INFO - Ping to IP 130.90.112.67 from VM ctest-TestBasicPolicy-49115104-00256755 passed 2025-11-19 18:18:03,793 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c00c96cb-b118-485b-9172-faa81d6dafdf", "href": "http://10.0.0.50:8082/network-policy/c00c96cb-b118-485b-9172-faa81d6dafdf"}} 2025-11-19 18:18:03,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-19 18:18:03,793 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.90.112.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-19 18:18:03,793 - DEBUG - ping -s 56 -c 3 -W 1 130.90.112.67 2025-11-19 18:18:07,024 - DEBUG - PING 130.90.112.67 (130.90.112.67): 56 data bytes --- 130.90.112.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-19 18:18:07,025 - WARNING - Ping to IP 130.90.112.67 from VM ctest-TestBasicPolicy-49115104-00256755 failed 2025-11-19 18:18:07,025 - INFO - Deleting VM ctest-TestBasicPolicy-49115104-85474823 2025-11-19 18:18:07,094 - INFO - Deleting VM ctest-TestBasicPolicy-49115104-00256755 2025-11-19 18:18:07,459 - INFO - Deleted policy ctest-policy-allow-all-36881466 2025-11-19 18:18:07,459 - INFO - Deleting VN ctest-vn-98418977 2025-11-19 18:18:07,492 - DEBUG - VN ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56 still in use: Unable to complete operation on network ad3cbf24-51c1-47f0-a7c2-bea5aa2ced56. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1dac0831-ab1a-47d0-a6f9-4b34fc5dcbc1'] 2025-11-19 18:18:07,493 - WARNING - Deleting VN ctest-vn-98418977 failed..Will retry 2025-11-19 18:18:09,586 - DEBUG - Response for deleting network () 2025-11-19 18:18:09,587 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b09cf719-11bd-4160-9135-dff4ad187814 2025-11-19 18:18:09,591 - DEBUG - Response Code: 404 2025-11-19 18:18:09,592 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 18:18:09,596 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f68dab00-b5a5-4aed-ac1f-d50821ae4442 2025-11-19 18:18:09,654 - DEBUG - Requesting: http://10.0.0.50:8082/project/763e541a-775d-4a51-abcd-4da5bde0817e 2025-11-19 18:18:09,727 - INFO - Validated that VN ctest-vn-98418977 is not found in API Server 2025-11-19 18:18:09,737 - DEBUG - VN ctest-vn-98418977 is not present in Agent 10.0.0.50 2025-11-19 18:18:09,737 - INFO - Validated that VN ctest-vn-98418977 is not in any agent 2025-11-19 18:18:09,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98418977 info 2025-11-19 18:18:09,753 - INFO - Deleting VN ctest-vn-49485682 2025-11-19 18:18:09,863 - DEBUG - Response for deleting network () 2025-11-19 18:18:09,863 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8234a5ed-abea-4228-95b5-6b56b05af597 2025-11-19 18:18:09,869 - DEBUG - Response Code: 404 2025-11-19 18:18:09,870 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-19 18:18:09,876 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f68dab00-b5a5-4aed-ac1f-d50821ae4442 2025-11-19 18:18:09,930 - DEBUG - Requesting: http://10.0.0.50:8082/project/763e541a-775d-4a51-abcd-4da5bde0817e 2025-11-19 18:18:10,001 - INFO - Validated that VN ctest-vn-49485682 is not found in API Server 2025-11-19 18:18:10,012 - DEBUG - VN ctest-vn-49485682 is not present in Agent 10.0.0.50 2025-11-19 18:18:10,012 - INFO - Validated that VN ctest-vn-49485682 is not in any agent 2025-11-19 18:18:10,027 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49485682 info 2025-11-19 18:18:10,286 - DEBUG - No XMPP flaps were noticed during the test 2025-11-19 18:18:10,286 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-19 18:18:10,286 - INFO - -------------------------------------------------------------------------------- 2025-11-19 18:18:10,980 - INFO - Deleted project: ctest-TestBasicPolicy-49115104, ID : 763e541a-775d-4a51-abcd-4da5bde0817e