2025-09-11 12:07:50,508 - INFO - Domain Default found not creating 2025-09-11 12:07:50,665 - INFO - Project ctest-TestBasicPolicy-84307024 not found, creating it 2025-09-11 12:07:51,134 - INFO - Created Project:ctest-TestBasicPolicy-84307024, ID : daa7c02e-e755-4b1f-8f4b-cabdaa6479f2 2025-09-11 12:07:52,729 - INFO - ================================================================================ 2025-09-11 12:07:52,729 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 12:07:52,729 - 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-11 12:07:52,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 12:07:52,992 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:07:52,992 - INFO - 2025-09-11 12:07:53,575 - DEBUG - Response for create_network : {'network': {'id': '5bd064ea-344c-487f-aa48-b64cb476ca45', 'name': 'ctest-vn-77667820', 'tenant_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'project_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-vn-77667820'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:07:53,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '8674b152-6c02-4226-9bd4-604201a05e81', 'name': '', 'tenant_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'network_id': '5bd064ea-344c-487f-aa48-b64cb476ca45', 'ip_version': 4, 'cidr': '92.164.144.64/26', 'allocation_pools': [{'start': '92.164.144.66', 'end': '92.164.144.126'}], 'gateway_ip': '92.164.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.164.144.66', 'tags': [], 'project_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2'}} 2025-09-11 12:07:53,800 - INFO - Created VN ctest-vn-77667820 2025-09-11 12:07:53,853 - DEBUG - VN ctest-vn-77667820 UUID is 5bd064ea-344c-487f-aa48-b64cb476ca45 2025-09-11 12:07:54,156 - DEBUG - Response for create_network : {'network': {'id': 'eac05f9d-aeb2-49cf-8b71-bfbe02d939e0', 'name': 'ctest-vn-23970120', 'tenant_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'project_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-vn-23970120'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:07:54,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ae1e06a-4ae1-4c2b-9ec9-b998b8a91e48', 'name': '', 'tenant_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'network_id': 'eac05f9d-aeb2-49cf-8b71-bfbe02d939e0', 'ip_version': 4, 'cidr': '179.21.188.192/26', 'allocation_pools': [{'start': '179.21.188.194', 'end': '179.21.188.254'}], 'gateway_ip': '179.21.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.21.188.194', 'tags': [], 'project_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2'}} 2025-09-11 12:07:54,385 - INFO - Created VN ctest-vn-23970120 2025-09-11 12:07:54,437 - DEBUG - VN ctest-vn-23970120 UUID is eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 2025-09-11 12:07:54,559 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-77667820, 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-84307024:ctest-vn-23970120, 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-11 12:07:54,874 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bd064ea-344c-487f-aa48-b64cb476ca45', 'name': 'ctest-vn-77667820', 'tenant_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'project_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8674b152-6c02-4226-9bd4-604201a05e81'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-vn-77667820'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-policy-allow-all-76430230']], 'subnet_ipam': [{'subnet_cidr': '92.164.144.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:07:55,108 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eac05f9d-aeb2-49cf-8b71-bfbe02d939e0', 'name': 'ctest-vn-23970120', 'tenant_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'project_id': 'daa7c02ee7554b1f8f4bcabdaa6479f2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6ae1e06a-4ae1-4c2b-9ec9-b998b8a91e48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-vn-23970120'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-policy-allow-all-76430230']], 'subnet_ipam': [{'subnet_cidr': '179.21.188.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:07:55,277 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 12:07:55,612 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 12:07:55,650 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cd9d092e-c11e-476c-bc01-0f7503265805 2025-09-11 12:07:55,663 - DEBUG - Requesting: http://10.0.0.254:8082/project/daa7c02e-e755-4b1f-8f4b-cabdaa6479f2 2025-09-11 12:07:55,737 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd064ea-344c-487f-aa48-b64cb476ca45 2025-09-11 12:07:55,748 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd064ea-344c-487f-aa48-b64cb476ca45 2025-09-11 12:07:55,758 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/281d3976-9ab1-40f9-9431-217ca4a95e72 2025-09-11 12:07:55,765 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/281d3976-9ab1-40f9-9431-217ca4a95e72 2025-09-11 12:07:55,772 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8f66f084-ec0d-44a2-a4a8-5644019165bf 2025-09-11 12:07:55,778 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 12:07:55,778 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd064ea-344c-487f-aa48-b64cb476ca45 2025-09-11 12:07:55,788 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/281d3976-9ab1-40f9-9431-217ca4a95e72 2025-09-11 12:07:55,803 - INFO - Verified VN network id 11 for VN 5bd064ea-344c-487f-aa48-b64cb476ca45 2025-09-11 12:07:55,803 - INFO - Verifications in API Server for VN ctest-vn-77667820 passed 2025-09-11 12:07:55,803 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd064ea-344c-487f-aa48-b64cb476ca45 2025-09-11 12:07:55,812 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/281d3976-9ab1-40f9-9431-217ca4a95e72 2025-09-11 12:07:55,818 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/281d3976-9ab1-40f9-9431-217ca4a95e72 2025-09-11 12:07:55,825 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8f66f084-ec0d-44a2-a4a8-5644019165bf 2025-09-11 12:07:55,838 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-77667820', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84307024', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6615898809669798015', 'uuid-lslong': '12270257625332369989'}, 'enable': 'true', 'created': '2025-09-11T12:07:53', 'last-modified': '2025-09-11T12:07:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989480'} 2025-09-11 12:07:55,845 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 12:07:55,845 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77667820 passed 2025-09-11 12:07:55,845 - DEBUG - ====Verifying policy data for ctest-vn-77667820 in API_Server ====== 2025-09-11 12:07:55,845 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 12:07:55,851 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cd9d092e-c11e-476c-bc01-0f7503265805 2025-09-11 12:07:55,863 - DEBUG - Requesting: http://10.0.0.254:8082/project/daa7c02e-e755-4b1f-8f4b-cabdaa6479f2 2025-09-11 12:07:55,932 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/5bd064ea-344c-487f-aa48-b64cb476ca45 2025-09-11 12:07:55,944 - DEBUG - ==>Verifying data for policy with id: 15e94e3a-f010-45e4-951e-5d868b3786b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-policy-allow-all-76430230'] 2025-09-11 12:07:55,944 - INFO - VN ctest-vn-77667820 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 12:07:55,944 - DEBUG - Verifying the vn in opserver 2025-09-11 12:07:55,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-77667820 virtual network link through opserver 10.0.0.254 2025-09-11 12:07:55,944 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 12:07:56,296 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 12:07:56,367 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-77667820', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-77667820?flat'} 2025-09-11 12:07:56,367 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-77667820 is found in opserver 2025-09-11 12:07:56,378 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 12:07:56,382 - DEBUG - VRF ids for VN ctest-vn-77667820: {} 2025-09-11 12:07:56,383 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 12:07:56,389 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cd9d092e-c11e-476c-bc01-0f7503265805 2025-09-11 12:07:56,402 - DEBUG - Requesting: http://10.0.0.254:8082/project/daa7c02e-e755-4b1f-8f4b-cabdaa6479f2 2025-09-11 12:07:56,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 2025-09-11 12:07:56,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 2025-09-11 12:07:56,492 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/325a63f6-761b-434d-86cb-92f7899a243e 2025-09-11 12:07:56,498 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/325a63f6-761b-434d-86cb-92f7899a243e 2025-09-11 12:07:56,504 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/244fba68-12d6-484d-8901-0e78df9bdb14 2025-09-11 12:07:56,511 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 12:07:56,511 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 2025-09-11 12:07:56,520 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/325a63f6-761b-434d-86cb-92f7899a243e 2025-09-11 12:07:56,531 - INFO - Verified VN network id 12 for VN eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 2025-09-11 12:07:56,531 - INFO - Verifications in API Server for VN ctest-vn-23970120 passed 2025-09-11 12:07:56,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 2025-09-11 12:07:56,541 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/325a63f6-761b-434d-86cb-92f7899a243e 2025-09-11 12:07:56,549 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/325a63f6-761b-434d-86cb-92f7899a243e 2025-09-11 12:07:56,556 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/244fba68-12d6-484d-8901-0e78df9bdb14 2025-09-11 12:07:56,566 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-23970120', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84307024', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16915625331249007055', 'uuid-lslong': '10048023066452769248'}, 'enable': 'true', 'created': '2025-09-11T12:07:54', 'last-modified': '2025-09-11T12:07:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.478855'} 2025-09-11 12:07:56,571 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 12:07:56,573 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23970120 passed 2025-09-11 12:07:56,573 - DEBUG - ====Verifying policy data for ctest-vn-23970120 in API_Server ====== 2025-09-11 12:07:56,573 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 12:07:56,579 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cd9d092e-c11e-476c-bc01-0f7503265805 2025-09-11 12:07:56,589 - DEBUG - Requesting: http://10.0.0.254:8082/project/daa7c02e-e755-4b1f-8f4b-cabdaa6479f2 2025-09-11 12:07:56,657 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 2025-09-11 12:07:56,667 - DEBUG - ==>Verifying data for policy with id: 15e94e3a-f010-45e4-951e-5d868b3786b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-84307024', 'ctest-policy-allow-all-76430230'] 2025-09-11 12:07:56,667 - INFO - VN ctest-vn-23970120 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 12:07:56,668 - DEBUG - Verifying the vn in opserver 2025-09-11 12:07:56,668 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-23970120 virtual network link through opserver 10.0.0.254 2025-09-11 12:07:56,668 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-11 12:07:56,677 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-23970120', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-23970120?flat'} 2025-09-11 12:07:56,677 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-23970120 is found in opserver 2025-09-11 12:07:56,687 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 12:07:56,691 - DEBUG - VRF ids for VN ctest-vn-23970120: {} 2025-09-11 12:07:56,750 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:07:57,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:07:59,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4090-1) 2025-09-11 12:07:59,100 - INFO - Waiting for VM ctest-TestBasicPolicy-84307024-36103469 to be up.. 2025-09-11 12:07:59,183 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:08:04,270 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:08:04,270 - INFO - VM name : ctest-TestBasicPolicy-84307024-36103469 2025-09-11 12:08:04,364 - DEBUG - VM ctest-TestBasicPolicy-84307024-36103469 ID is 8d224ce1-735d-4077-9246-b4b7f481c37b 2025-09-11 12:08:04,389 - DEBUG - VM ctest-TestBasicPolicy-84307024-36103469 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:08:04,469 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d224ce1-735d-4077-9246-b4b7f481c37b 2025-09-11 12:08:04,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/33bb5c4c-3885-4ce3-b0be-7a8e1237fd00 2025-09-11 12:08:07,736 - 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 1021ms') 2025-09-11 12:08:07,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84307024-36103469 failed! 2025-09-11 12:08:07,789 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84307024:ctest-vn-77667820 is 92.164.144.65 and allocation pool is NOT set 2025-09-11 12:08:09,860 - 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=7.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=8.07 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 = 7.903/7.988/8.074/0.085 ms') 2025-09-11 12:08:09,860 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84307024-36103469 passed 2025-09-11 12:08:10,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:10,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84307024-36103469, IP 92.164.144.67, Port 22 2025-09-11 12:08:10,165 - DEBUG - VM ctest-TestBasicPolicy-84307024-36103469 is ready for SSH connections 2025-09-11 12:08:10,165 - INFO - Waiting for VM ctest-TestBasicPolicy-84307024-40299822 to be up.. 2025-09-11 12:08:10,248 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:08:10,248 - INFO - VM name : ctest-TestBasicPolicy-84307024-40299822 2025-09-11 12:08:10,324 - DEBUG - VM ctest-TestBasicPolicy-84307024-40299822 ID is 98f1bd5d-93d2-4d68-9abb-c56de7f4b747 2025-09-11 12:08:10,325 - DEBUG - VM ctest-TestBasicPolicy-84307024-40299822 launched on Node cn-jenkins-deploy-platform-ansible-os-4090-1 2025-09-11 12:08:10,406 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/98f1bd5d-93d2-4d68-9abb-c56de7f4b747 2025-09-11 12:08:10,415 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/98e3e981-82ec-4f03-80c7-7c0a9b40310c 2025-09-11 12:08:11,655 - 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=4.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.11 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 = 1.106/2.812/4.519/1.706 ms') 2025-09-11 12:08:11,655 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84307024-40299822 passed 2025-09-11 12:08:11,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:11,810 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84307024-40299822, IP 179.21.188.195, Port 22 2025-09-11 12:08:11,975 - DEBUG - VM ctest-TestBasicPolicy-84307024-40299822 is ready for SSH connections 2025-09-11 12:08:11,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:11,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.21.188.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:08:11,976 - DEBUG - ping -s 56 -c 3 -W 1 179.21.188.195 2025-09-11 12:08:16,111 - DEBUG - PING 179.21.188.195 (179.21.188.195): 56 data bytes 64 bytes from 179.21.188.195: seq=0 ttl=63 time=4.123 ms 64 bytes from 179.21.188.195: seq=1 ttl=63 time=0.877 ms 64 bytes from 179.21.188.195: seq=2 ttl=63 time=0.968 ms --- 179.21.188.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.989/4.123 ms 2025-09-11 12:08:16,111 - INFO - Ping to IP 179.21.188.195 from VM ctest-TestBasicPolicy-84307024-36103469 passed 2025-09-11 12:08:16,289 - DEBUG - Policy Update Response {"network-policy": {"uuid": "15e94e3a-f010-45e4-951e-5d868b3786b4", "href": "http://10.0.0.254:8082/network-policy/15e94e3a-f010-45e4-951e-5d868b3786b4"}} 2025-09-11 12:08:16,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:08:16,289 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.21.188.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 12:08:16,290 - DEBUG - ping -s 56 -c 3 -W 1 179.21.188.195 2025-09-11 12:08:19,517 - DEBUG - PING 179.21.188.195 (179.21.188.195): 56 data bytes --- 179.21.188.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 12:08:19,517 - WARNING - Ping to IP 179.21.188.195 from VM ctest-TestBasicPolicy-84307024-36103469 failed 2025-09-11 12:08:19,517 - INFO - Deleting VM ctest-TestBasicPolicy-84307024-40299822 2025-09-11 12:08:19,595 - INFO - Deleting VM ctest-TestBasicPolicy-84307024-36103469 2025-09-11 12:08:20,068 - INFO - Deleted policy ctest-policy-allow-all-76430230 2025-09-11 12:08:20,069 - INFO - Deleting VN ctest-vn-23970120 2025-09-11 12:08:20,114 - DEBUG - VN eac05f9d-aeb2-49cf-8b71-bfbe02d939e0 still in use: Unable to complete operation on network eac05f9d-aeb2-49cf-8b71-bfbe02d939e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d141f28-debf-4e39-9659-8d16d2b9cad2'] 2025-09-11 12:08:20,114 - WARNING - Deleting VN ctest-vn-23970120 failed..Will retry 2025-09-11 12:08:22,226 - DEBUG - Response for deleting network () 2025-09-11 12:08:22,226 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/325a63f6-761b-434d-86cb-92f7899a243e 2025-09-11 12:08:22,232 - DEBUG - Response Code: 404 2025-09-11 12:08:22,232 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 12:08:22,238 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cd9d092e-c11e-476c-bc01-0f7503265805 2025-09-11 12:08:22,291 - DEBUG - Requesting: http://10.0.0.254:8082/project/daa7c02e-e755-4b1f-8f4b-cabdaa6479f2 2025-09-11 12:08:22,357 - INFO - Validated that VN ctest-vn-23970120 is not found in API Server 2025-09-11 12:08:22,366 - DEBUG - VN ctest-vn-23970120 is not present in Agent 10.0.0.254 2025-09-11 12:08:22,367 - INFO - Validated that VN ctest-vn-23970120 is not in any agent 2025-09-11 12:08:22,380 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23970120 info 2025-09-11 12:08:22,380 - INFO - Deleting VN ctest-vn-77667820 2025-09-11 12:08:22,479 - DEBUG - Response for deleting network () 2025-09-11 12:08:22,479 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/281d3976-9ab1-40f9-9431-217ca4a95e72 2025-09-11 12:08:22,487 - DEBUG - Response Code: 404 2025-09-11 12:08:22,488 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-11 12:08:22,493 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cd9d092e-c11e-476c-bc01-0f7503265805 2025-09-11 12:08:22,547 - DEBUG - Requesting: http://10.0.0.254:8082/project/daa7c02e-e755-4b1f-8f4b-cabdaa6479f2 2025-09-11 12:08:22,623 - INFO - Validated that VN ctest-vn-77667820 is not found in API Server 2025-09-11 12:08:22,635 - DEBUG - VN ctest-vn-77667820 is not present in Agent 10.0.0.254 2025-09-11 12:08:22,635 - INFO - Validated that VN ctest-vn-77667820 is not in any agent 2025-09-11 12:08:22,650 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77667820 info 2025-09-11 12:08:22,907 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 12:08:22,907 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-11 12:08:22,907 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:08:23,648 - INFO - Deleted project: ctest-TestBasicPolicy-84307024, ID : daa7c02e-e755-4b1f-8f4b-cabdaa6479f2