2025-09-18 21:38:39,996 - INFO - Domain Default found not creating 2025-09-18 21:38:40,130 - INFO - Project ctest-TestBasicPolicy-82628560 not found, creating it 2025-09-18 21:38:40,546 - INFO - Created Project:ctest-TestBasicPolicy-82628560, ID : f799fd03-d656-48eb-85d3-ee427262b7f8 2025-09-18 21:38:41,895 - INFO - ================================================================================ 2025-09-18 21:38:41,895 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 21:38:41,895 - 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-09-18 21:38:42,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-09-18 21:38:42,158 - INFO - Initial checks done. Running the testcase now 2025-09-18 21:38:42,158 - INFO - 2025-09-18 21:38:42,670 - DEBUG - Response for create_network : {'network': {'id': 'e5c3177a-10d9-4310-8aef-1d94b5895c22', 'name': 'ctest-vn-37117627', 'tenant_id': 'f799fd03d65648eb85d3ee427262b7f8', 'project_id': 'f799fd03d65648eb85d3ee427262b7f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-vn-37117627'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 21:38:42,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '73b756c7-f746-484a-8f59-49000dca2b03', 'name': '', 'tenant_id': 'f799fd03d65648eb85d3ee427262b7f8', 'network_id': 'e5c3177a-10d9-4310-8aef-1d94b5895c22', 'ip_version': 4, 'cidr': '221.189.143.64/26', 'allocation_pools': [{'start': '221.189.143.66', 'end': '221.189.143.126'}], 'gateway_ip': '221.189.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.189.143.66', 'tags': [], 'project_id': 'f799fd03d65648eb85d3ee427262b7f8'}} 2025-09-18 21:38:42,909 - INFO - Created VN ctest-vn-37117627 2025-09-18 21:38:42,962 - DEBUG - VN ctest-vn-37117627 UUID is e5c3177a-10d9-4310-8aef-1d94b5895c22 2025-09-18 21:38:43,260 - DEBUG - Response for create_network : {'network': {'id': '209bdae6-d455-42aa-9b34-56b23936ec36', 'name': 'ctest-vn-92531994', 'tenant_id': 'f799fd03d65648eb85d3ee427262b7f8', 'project_id': 'f799fd03d65648eb85d3ee427262b7f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-vn-92531994'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 21:38:43,456 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac4df061-f824-4651-98f2-236cf33d2cec', 'name': '', 'tenant_id': 'f799fd03d65648eb85d3ee427262b7f8', 'network_id': '209bdae6-d455-42aa-9b34-56b23936ec36', 'ip_version': 4, 'cidr': '15.150.238.128/26', 'allocation_pools': [{'start': '15.150.238.130', 'end': '15.150.238.190'}], 'gateway_ip': '15.150.238.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.150.238.130', 'tags': [], 'project_id': 'f799fd03d65648eb85d3ee427262b7f8'}} 2025-09-18 21:38:43,473 - INFO - Created VN ctest-vn-92531994 2025-09-18 21:38:43,525 - DEBUG - VN ctest-vn-92531994 UUID is 209bdae6-d455-42aa-9b34-56b23936ec36 2025-09-18 21:38:43,665 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-37117627, 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-82628560:ctest-vn-92531994, 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-09-18 21:38:43,942 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e5c3177a-10d9-4310-8aef-1d94b5895c22', 'name': 'ctest-vn-37117627', 'tenant_id': 'f799fd03d65648eb85d3ee427262b7f8', 'project_id': 'f799fd03d65648eb85d3ee427262b7f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73b756c7-f746-484a-8f59-49000dca2b03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-vn-37117627'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-policy-allow-all-65273973']], 'subnet_ipam': [{'subnet_cidr': '221.189.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 21:38:44,202 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '209bdae6-d455-42aa-9b34-56b23936ec36', 'name': 'ctest-vn-92531994', 'tenant_id': 'f799fd03d65648eb85d3ee427262b7f8', 'project_id': 'f799fd03d65648eb85d3ee427262b7f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac4df061-f824-4651-98f2-236cf33d2cec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-vn-92531994'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-policy-allow-all-65273973']], 'subnet_ipam': [{'subnet_cidr': '15.150.238.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 21:38:44,322 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 21:38:44,614 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 21:38:44,643 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8a5afa5b-e0f4-4905-99bd-d6ded1e686d2 2025-09-18 21:38:44,654 - DEBUG - Requesting: http://10.0.0.49:8082/project/f799fd03-d656-48eb-85d3-ee427262b7f8 2025-09-18 21:38:44,725 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5c3177a-10d9-4310-8aef-1d94b5895c22 2025-09-18 21:38:44,735 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5c3177a-10d9-4310-8aef-1d94b5895c22 2025-09-18 21:38:44,743 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70266e97-8590-457f-a1e8-2474c4c591cd 2025-09-18 21:38:44,749 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70266e97-8590-457f-a1e8-2474c4c591cd 2025-09-18 21:38:44,754 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e417dfbd-6cc2-4ebb-9ffb-09acbd89458f 2025-09-18 21:38:44,759 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 21:38:44,760 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5c3177a-10d9-4310-8aef-1d94b5895c22 2025-09-18 21:38:44,767 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70266e97-8590-457f-a1e8-2474c4c591cd 2025-09-18 21:38:44,780 - INFO - Verified VN network id 12 for VN e5c3177a-10d9-4310-8aef-1d94b5895c22 2025-09-18 21:38:44,781 - INFO - Verifications in API Server for VN ctest-vn-37117627 passed 2025-09-18 21:38:44,781 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5c3177a-10d9-4310-8aef-1d94b5895c22 2025-09-18 21:38:44,788 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70266e97-8590-457f-a1e8-2474c4c591cd 2025-09-18 21:38:44,794 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70266e97-8590-457f-a1e8-2474c4c591cd 2025-09-18 21:38:44,799 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e417dfbd-6cc2-4ebb-9ffb-09acbd89458f 2025-09-18 21:38:44,809 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-37117627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82628560', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16556102468180198160', 'uuid-lslong': '10011253021205945378'}, 'enable': 'true', 'created': '2025-09-18T21:38:42', 'last-modified': '2025-09-18T21:38:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887705'} 2025-09-18 21:38:44,814 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 21:38:44,814 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37117627 passed 2025-09-18 21:38:44,814 - DEBUG - ====Verifying policy data for ctest-vn-37117627 in API_Server ====== 2025-09-18 21:38:44,814 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 21:38:44,819 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8a5afa5b-e0f4-4905-99bd-d6ded1e686d2 2025-09-18 21:38:44,830 - DEBUG - Requesting: http://10.0.0.49:8082/project/f799fd03-d656-48eb-85d3-ee427262b7f8 2025-09-18 21:38:44,900 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e5c3177a-10d9-4310-8aef-1d94b5895c22 2025-09-18 21:38:44,907 - DEBUG - ==>Verifying data for policy with id: bc2fb7ab-40b0-459a-bed0-6982315f6204, fqn: ['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-policy-allow-all-65273973'] 2025-09-18 21:38:44,908 - INFO - VN ctest-vn-37117627 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 21:38:44,908 - DEBUG - Verifying the vn in opserver 2025-09-18 21:38:44,908 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-37117627 virtual network link through opserver 10.0.0.49 2025-09-18 21:38:44,908 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-18 21:38:45,203 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-18 21:38:45,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-37117627', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-37117627?flat'} 2025-09-18 21:38:45,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-37117627 is found in opserver 2025-09-18 21:38:45,269 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 21:38:45,274 - DEBUG - VRF ids for VN ctest-vn-37117627: {} 2025-09-18 21:38:45,274 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 21:38:45,279 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8a5afa5b-e0f4-4905-99bd-d6ded1e686d2 2025-09-18 21:38:45,288 - DEBUG - Requesting: http://10.0.0.49:8082/project/f799fd03-d656-48eb-85d3-ee427262b7f8 2025-09-18 21:38:45,350 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/209bdae6-d455-42aa-9b34-56b23936ec36 2025-09-18 21:38:45,361 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/209bdae6-d455-42aa-9b34-56b23936ec36 2025-09-18 21:38:45,369 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b9be307c-69ea-4e00-948d-d39e655e4584 2025-09-18 21:38:45,375 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b9be307c-69ea-4e00-948d-d39e655e4584 2025-09-18 21:38:45,380 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e5c7c1e1-6647-4821-8ddc-c73e58820c76 2025-09-18 21:38:45,385 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 21:38:45,386 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/209bdae6-d455-42aa-9b34-56b23936ec36 2025-09-18 21:38:45,393 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b9be307c-69ea-4e00-948d-d39e655e4584 2025-09-18 21:38:45,404 - INFO - Verified VN network id 13 for VN 209bdae6-d455-42aa-9b34-56b23936ec36 2025-09-18 21:38:45,404 - INFO - Verifications in API Server for VN ctest-vn-92531994 passed 2025-09-18 21:38:45,404 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/209bdae6-d455-42aa-9b34-56b23936ec36 2025-09-18 21:38:45,411 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b9be307c-69ea-4e00-948d-d39e655e4584 2025-09-18 21:38:45,417 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b9be307c-69ea-4e00-948d-d39e655e4584 2025-09-18 21:38:45,422 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/e5c7c1e1-6647-4821-8ddc-c73e58820c76 2025-09-18 21:38:45,432 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-92531994', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82628560', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2349712315543536298', 'uuid-lslong': '11183659098131852342'}, 'enable': 'true', 'created': '2025-09-18T21:38:43', 'last-modified': '2025-09-18T21:38:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.300126'} 2025-09-18 21:38:45,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 21:38:45,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92531994 passed 2025-09-18 21:38:45,437 - DEBUG - ====Verifying policy data for ctest-vn-92531994 in API_Server ====== 2025-09-18 21:38:45,437 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 21:38:45,441 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8a5afa5b-e0f4-4905-99bd-d6ded1e686d2 2025-09-18 21:38:45,451 - DEBUG - Requesting: http://10.0.0.49:8082/project/f799fd03-d656-48eb-85d3-ee427262b7f8 2025-09-18 21:38:45,518 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/209bdae6-d455-42aa-9b34-56b23936ec36 2025-09-18 21:38:45,529 - DEBUG - ==>Verifying data for policy with id: bc2fb7ab-40b0-459a-bed0-6982315f6204, fqn: ['default-domain', 'ctest-TestBasicPolicy-82628560', 'ctest-policy-allow-all-65273973'] 2025-09-18 21:38:45,529 - INFO - VN ctest-vn-92531994 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 21:38:45,529 - DEBUG - Verifying the vn in opserver 2025-09-18 21:38:45,529 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-92531994 virtual network link through opserver 10.0.0.49 2025-09-18 21:38:45,529 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-18 21:38:45,539 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-92531994', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-92531994?flat'} 2025-09-18 21:38:45,539 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-92531994 is found in opserver 2025-09-18 21:38:45,551 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 21:38:45,557 - DEBUG - VRF ids for VN ctest-vn-92531994: {} 2025-09-18 21:38:45,610 - DEBUG - Services list from nova: [, , ] 2025-09-18 21:38:46,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4142-1) 2025-09-18 21:38:47,709 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4142-1) 2025-09-18 21:38:47,709 - INFO - Waiting for VM ctest-TestBasicPolicy-82628560-75875132 to be up.. 2025-09-18 21:38:47,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 21:38:52,854 - DEBUG - VM is in ACTIVE state now 2025-09-18 21:38:52,854 - INFO - VM name : ctest-TestBasicPolicy-82628560-75875132 2025-09-18 21:38:52,916 - DEBUG - VM ctest-TestBasicPolicy-82628560-75875132 ID is 6667e3b4-4cda-4f4e-9329-3636b7e9ed4e 2025-09-18 21:38:52,933 - DEBUG - VM ctest-TestBasicPolicy-82628560-75875132 launched on Node cn-jenkins-deploy-platform-ansible-os-4142-1 2025-09-18 21:38:52,996 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/6667e3b4-4cda-4f4e-9329-3636b7e9ed4e 2025-09-18 21:38:53,003 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/b9a10787-31ee-4ff9-8734-4cd0d25490c6 2025-09-18 21:38:56,265 - 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 1019ms') 2025-09-18 21:38:56,265 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82628560-75875132 failed! 2025-09-18 21:38:56,317 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82628560:ctest-vn-37117627 is 221.189.143.65 and allocation pool is NOT set 2025-09-18 21:38:58,378 - 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=2.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.628/2.850/1.222 ms') 2025-09-18 21:38:58,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82628560-75875132 passed 2025-09-18 21:38:58,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:38:58,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82628560-75875132, IP 221.189.143.67, Port 22 2025-09-18 21:38:58,690 - DEBUG - VM ctest-TestBasicPolicy-82628560-75875132 is ready for SSH connections 2025-09-18 21:38:58,690 - INFO - Waiting for VM ctest-TestBasicPolicy-82628560-40812083 to be up.. 2025-09-18 21:38:58,758 - DEBUG - VM is in ACTIVE state now 2025-09-18 21:38:58,758 - INFO - VM name : ctest-TestBasicPolicy-82628560-40812083 2025-09-18 21:38:58,820 - DEBUG - VM ctest-TestBasicPolicy-82628560-40812083 ID is db095120-91bb-4a28-b63d-8a87c7211920 2025-09-18 21:38:58,820 - DEBUG - VM ctest-TestBasicPolicy-82628560-40812083 launched on Node cn-jenkins-deploy-platform-ansible-os-4142-1 2025-09-18 21:38:58,884 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/db095120-91bb-4a28-b63d-8a87c7211920 2025-09-18 21:38:58,891 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/575b3eb6-43d6-4b8f-822e-4c157f2a2cce 2025-09-18 21:39:00,119 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.427 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.427/1.780/3.134/1.353 ms') 2025-09-18 21:39:00,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82628560-40812083 passed 2025-09-18 21:39:00,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:39:00,266 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82628560-40812083, IP 15.150.238.131, Port 22 2025-09-18 21:39:00,417 - DEBUG - VM ctest-TestBasicPolicy-82628560-40812083 is ready for SSH connections 2025-09-18 21:39:00,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:39:00,417 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.150.238.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-18 21:39:00,417 - DEBUG - ping -s 56 -c 3 -W 1 15.150.238.131 2025-09-18 21:39:04,451 - DEBUG - PING 15.150.238.131 (15.150.238.131): 56 data bytes 64 bytes from 15.150.238.131: seq=0 ttl=63 time=3.282 ms 64 bytes from 15.150.238.131: seq=1 ttl=63 time=0.833 ms 64 bytes from 15.150.238.131: seq=2 ttl=63 time=1.227 ms --- 15.150.238.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.780/3.282 ms 2025-09-18 21:39:04,451 - INFO - Ping to IP 15.150.238.131 from VM ctest-TestBasicPolicy-82628560-75875132 passed 2025-09-18 21:39:04,665 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bc2fb7ab-40b0-459a-bed0-6982315f6204", "href": "http://10.0.0.49:8082/network-policy/bc2fb7ab-40b0-459a-bed0-6982315f6204"}} 2025-09-18 21:39:04,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 21:39:04,666 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.150.238.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-18 21:39:04,666 - DEBUG - ping -s 56 -c 3 -W 1 15.150.238.131 2025-09-18 21:39:07,862 - DEBUG - PING 15.150.238.131 (15.150.238.131): 56 data bytes --- 15.150.238.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 21:39:07,862 - WARNING - Ping to IP 15.150.238.131 from VM ctest-TestBasicPolicy-82628560-75875132 failed 2025-09-18 21:39:07,862 - INFO - Deleting VM ctest-TestBasicPolicy-82628560-40812083 2025-09-18 21:39:07,930 - INFO - Deleting VM ctest-TestBasicPolicy-82628560-75875132 2025-09-18 21:39:08,261 - INFO - Deleted policy ctest-policy-allow-all-65273973 2025-09-18 21:39:08,261 - INFO - Deleting VN ctest-vn-92531994 2025-09-18 21:39:08,291 - DEBUG - VN 209bdae6-d455-42aa-9b34-56b23936ec36 still in use: Unable to complete operation on network 209bdae6-d455-42aa-9b34-56b23936ec36. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b9a3a7d6-93b5-488f-acb6-f654078c2794'] 2025-09-18 21:39:08,291 - WARNING - Deleting VN ctest-vn-92531994 failed..Will retry 2025-09-18 21:39:10,382 - DEBUG - Response for deleting network () 2025-09-18 21:39:10,382 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/b9be307c-69ea-4e00-948d-d39e655e4584 2025-09-18 21:39:10,387 - DEBUG - Response Code: 404 2025-09-18 21:39:10,387 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 21:39:10,392 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8a5afa5b-e0f4-4905-99bd-d6ded1e686d2 2025-09-18 21:39:10,443 - DEBUG - Requesting: http://10.0.0.49:8082/project/f799fd03-d656-48eb-85d3-ee427262b7f8 2025-09-18 21:39:10,513 - INFO - Validated that VN ctest-vn-92531994 is not found in API Server 2025-09-18 21:39:10,521 - DEBUG - VN ctest-vn-92531994 is not present in Agent 10.0.0.49 2025-09-18 21:39:10,522 - INFO - Validated that VN ctest-vn-92531994 is not in any agent 2025-09-18 21:39:10,533 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92531994 info 2025-09-18 21:39:10,533 - INFO - Deleting VN ctest-vn-37117627 2025-09-18 21:39:10,623 - DEBUG - Response for deleting network () 2025-09-18 21:39:10,623 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/70266e97-8590-457f-a1e8-2474c4c591cd 2025-09-18 21:39:10,627 - DEBUG - Response Code: 404 2025-09-18 21:39:10,627 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-18 21:39:10,632 - DEBUG - Requesting: http://10.0.0.49:8082/domain/8a5afa5b-e0f4-4905-99bd-d6ded1e686d2 2025-09-18 21:39:10,682 - DEBUG - Requesting: http://10.0.0.49:8082/project/f799fd03-d656-48eb-85d3-ee427262b7f8 2025-09-18 21:39:10,754 - INFO - Validated that VN ctest-vn-37117627 is not found in API Server 2025-09-18 21:39:10,762 - DEBUG - VN ctest-vn-37117627 is not present in Agent 10.0.0.49 2025-09-18 21:39:10,763 - INFO - Validated that VN ctest-vn-37117627 is not in any agent 2025-09-18 21:39:10,775 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37117627 info 2025-09-18 21:39:11,026 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 21:39:11,026 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-18 21:39:11,026 - INFO - -------------------------------------------------------------------------------- 2025-09-18 21:39:11,684 - INFO - Deleted project: ctest-TestBasicPolicy-82628560, ID : f799fd03-d656-48eb-85d3-ee427262b7f8