2025-10-14 12:07:09,930 - INFO - Domain Default found not creating 2025-10-14 12:07:10,084 - INFO - Project ctest-TestBasicPolicy-51216999 not found, creating it 2025-10-14 12:07:10,532 - INFO - Created Project:ctest-TestBasicPolicy-51216999, ID : da6408bc-54be-4a3d-b707-20f44f5269b0 2025-10-14 12:07:11,970 - INFO - ================================================================================ 2025-10-14 12:07:11,971 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-14 12:07:11,971 - 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-10-14 12:07:12,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0'}} with 2025-10-14 12:07:12,222 - INFO - Initial checks done. Running the testcase now 2025-10-14 12:07:12,222 - INFO - 2025-10-14 12:07:12,732 - DEBUG - Response for create_network : {'network': {'id': '9dfff382-e7cb-4b21-aeae-1c247768433d', 'name': 'ctest-vn-02160848', 'tenant_id': 'da6408bc54be4a3db70720f44f5269b0', 'project_id': 'da6408bc54be4a3db70720f44f5269b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-vn-02160848'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:07:12,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '97eb4400-2061-4279-aaa1-cf68290d5abb', 'name': '', 'tenant_id': 'da6408bc54be4a3db70720f44f5269b0', 'network_id': '9dfff382-e7cb-4b21-aeae-1c247768433d', 'ip_version': 4, 'cidr': '206.168.180.64/26', 'allocation_pools': [{'start': '206.168.180.66', 'end': '206.168.180.126'}], 'gateway_ip': '206.168.180.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.168.180.66', 'tags': [], 'project_id': 'da6408bc54be4a3db70720f44f5269b0'}} 2025-10-14 12:07:12,952 - INFO - Created VN ctest-vn-02160848 2025-10-14 12:07:13,002 - DEBUG - VN ctest-vn-02160848 UUID is 9dfff382-e7cb-4b21-aeae-1c247768433d 2025-10-14 12:07:13,285 - DEBUG - Response for create_network : {'network': {'id': 'de03d579-20c8-4d3a-8e61-57dc4bd11a7d', 'name': 'ctest-vn-62138571', 'tenant_id': 'da6408bc54be4a3db70720f44f5269b0', 'project_id': 'da6408bc54be4a3db70720f44f5269b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-vn-62138571'], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:07:13,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f328792-9f99-445e-8930-119f614307e9', 'name': '', 'tenant_id': 'da6408bc54be4a3db70720f44f5269b0', 'network_id': 'de03d579-20c8-4d3a-8e61-57dc4bd11a7d', 'ip_version': 4, 'cidr': '213.134.207.0/26', 'allocation_pools': [{'start': '213.134.207.2', 'end': '213.134.207.62'}], 'gateway_ip': '213.134.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.134.207.2', 'tags': [], 'project_id': 'da6408bc54be4a3db70720f44f5269b0'}} 2025-10-14 12:07:13,528 - INFO - Created VN ctest-vn-62138571 2025-10-14 12:07:13,577 - DEBUG - VN ctest-vn-62138571 UUID is de03d579-20c8-4d3a-8e61-57dc4bd11a7d 2025-10-14 12:07:13,721 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-02160848, 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-51216999:ctest-vn-62138571, 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-10-14 12:07:14,016 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9dfff382-e7cb-4b21-aeae-1c247768433d', 'name': 'ctest-vn-02160848', 'tenant_id': 'da6408bc54be4a3db70720f44f5269b0', 'project_id': 'da6408bc54be4a3db70720f44f5269b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97eb4400-2061-4279-aaa1-cf68290d5abb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-vn-02160848'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-policy-allow-all-78004072']], 'subnet_ipam': [{'subnet_cidr': '206.168.180.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:07:14,248 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de03d579-20c8-4d3a-8e61-57dc4bd11a7d', 'name': 'ctest-vn-62138571', 'tenant_id': 'da6408bc54be4a3db70720f44f5269b0', 'project_id': 'da6408bc54be4a3db70720f44f5269b0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5f328792-9f99-445e-8930-119f614307e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-vn-62138571'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-policy-allow-all-78004072']], 'subnet_ipam': [{'subnet_cidr': '213.134.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-14 12:07:14,417 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-14 12:07:14,713 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-14 12:07:15,013 - DEBUG - Requesting: http://10.0.0.41:8082/domain/baf544cd-86c1-46ed-aa58-aa441036e6be 2025-10-14 12:07:15,025 - DEBUG - Requesting: http://10.0.0.41:8082/project/da6408bc-54be-4a3d-b707-20f44f5269b0 2025-10-14 12:07:15,094 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9dfff382-e7cb-4b21-aeae-1c247768433d 2025-10-14 12:07:15,104 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9dfff382-e7cb-4b21-aeae-1c247768433d 2025-10-14 12:07:15,112 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7cd00cb7-3027-4aa6-9429-bdc585c1cb25 2025-10-14 12:07:15,118 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7cd00cb7-3027-4aa6-9429-bdc585c1cb25 2025-10-14 12:07:15,125 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/838703ac-2164-486f-a60a-526efd9e67ca 2025-10-14 12:07:15,131 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 12:07:15,131 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9dfff382-e7cb-4b21-aeae-1c247768433d 2025-10-14 12:07:15,139 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7cd00cb7-3027-4aa6-9429-bdc585c1cb25 2025-10-14 12:07:15,151 - INFO - Verified VN network id 11 for VN 9dfff382-e7cb-4b21-aeae-1c247768433d 2025-10-14 12:07:15,151 - INFO - Verifications in API Server for VN ctest-vn-02160848 passed 2025-10-14 12:07:15,151 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9dfff382-e7cb-4b21-aeae-1c247768433d 2025-10-14 12:07:15,159 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7cd00cb7-3027-4aa6-9429-bdc585c1cb25 2025-10-14 12:07:15,168 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7cd00cb7-3027-4aa6-9429-bdc585c1cb25 2025-10-14 12:07:15,175 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/838703ac-2164-486f-a60a-526efd9e67ca 2025-10-14 12:07:15,186 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-02160848', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51216999', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11385086126576061217', 'uuid-lslong': '12587028951494837053'}, 'enable': 'true', 'created': '2025-10-14T12:07:12', 'last-modified': '2025-10-14T12:07:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.195689'} 2025-10-14 12:07:15,193 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-14 12:07:15,193 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02160848 passed 2025-10-14 12:07:15,193 - DEBUG - ====Verifying policy data for ctest-vn-02160848 in API_Server ====== 2025-10-14 12:07:15,193 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-14 12:07:15,199 - DEBUG - Requesting: http://10.0.0.41:8082/domain/baf544cd-86c1-46ed-aa58-aa441036e6be 2025-10-14 12:07:15,208 - DEBUG - Requesting: http://10.0.0.41:8082/project/da6408bc-54be-4a3d-b707-20f44f5269b0 2025-10-14 12:07:15,274 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9dfff382-e7cb-4b21-aeae-1c247768433d 2025-10-14 12:07:15,283 - DEBUG - ==>Verifying data for policy with id: 79ff8bb3-8210-469d-8969-0aef85e5c2a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-policy-allow-all-78004072'] 2025-10-14 12:07:15,283 - INFO - VN ctest-vn-02160848 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 12:07:15,283 - DEBUG - Verifying the vn in opserver 2025-10-14 12:07:15,283 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-02160848 virtual network link through opserver 10.0.0.41 2025-10-14 12:07:15,283 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-14 12:07:15,572 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-14 12:07:15,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-02160848', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-02160848?flat'} 2025-10-14 12:07:15,624 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-02160848 is found in opserver 2025-10-14 12:07:15,633 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 12:07:15,637 - DEBUG - VRF ids for VN ctest-vn-02160848: {} 2025-10-14 12:07:15,637 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-14 12:07:15,642 - DEBUG - Requesting: http://10.0.0.41:8082/domain/baf544cd-86c1-46ed-aa58-aa441036e6be 2025-10-14 12:07:15,652 - DEBUG - Requesting: http://10.0.0.41:8082/project/da6408bc-54be-4a3d-b707-20f44f5269b0 2025-10-14 12:07:15,721 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/de03d579-20c8-4d3a-8e61-57dc4bd11a7d 2025-10-14 12:07:15,732 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/de03d579-20c8-4d3a-8e61-57dc4bd11a7d 2025-10-14 12:07:15,742 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4c1fee7c-35a0-48b4-b8ae-b103dbe0752f 2025-10-14 12:07:15,749 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4c1fee7c-35a0-48b4-b8ae-b103dbe0752f 2025-10-14 12:07:15,756 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7c3ff7e7-358d-4ed2-8f4a-605dadcda5bb 2025-10-14 12:07:15,763 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 12:07:15,763 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/de03d579-20c8-4d3a-8e61-57dc4bd11a7d 2025-10-14 12:07:15,772 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4c1fee7c-35a0-48b4-b8ae-b103dbe0752f 2025-10-14 12:07:15,785 - INFO - Verified VN network id 12 for VN de03d579-20c8-4d3a-8e61-57dc4bd11a7d 2025-10-14 12:07:15,785 - INFO - Verifications in API Server for VN ctest-vn-62138571 passed 2025-10-14 12:07:15,785 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/de03d579-20c8-4d3a-8e61-57dc4bd11a7d 2025-10-14 12:07:15,793 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4c1fee7c-35a0-48b4-b8ae-b103dbe0752f 2025-10-14 12:07:15,800 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4c1fee7c-35a0-48b4-b8ae-b103dbe0752f 2025-10-14 12:07:15,806 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7c3ff7e7-358d-4ed2-8f4a-605dadcda5bb 2025-10-14 12:07:15,818 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-62138571', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51216999', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15997865017567890746', 'uuid-lslong': '10259578029803117181'}, 'enable': 'true', 'created': '2025-10-14T12:07:13', 'last-modified': '2025-10-14T12:07:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.599378'} 2025-10-14 12:07:15,824 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-14 12:07:15,824 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62138571 passed 2025-10-14 12:07:15,824 - DEBUG - ====Verifying policy data for ctest-vn-62138571 in API_Server ====== 2025-10-14 12:07:15,824 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-14 12:07:15,829 - DEBUG - Requesting: http://10.0.0.41:8082/domain/baf544cd-86c1-46ed-aa58-aa441036e6be 2025-10-14 12:07:15,838 - DEBUG - Requesting: http://10.0.0.41:8082/project/da6408bc-54be-4a3d-b707-20f44f5269b0 2025-10-14 12:07:15,906 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/de03d579-20c8-4d3a-8e61-57dc4bd11a7d 2025-10-14 12:07:15,914 - DEBUG - ==>Verifying data for policy with id: 79ff8bb3-8210-469d-8969-0aef85e5c2a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-51216999', 'ctest-policy-allow-all-78004072'] 2025-10-14 12:07:15,914 - INFO - VN ctest-vn-62138571 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-14 12:07:15,914 - DEBUG - Verifying the vn in opserver 2025-10-14 12:07:15,914 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-62138571 virtual network link through opserver 10.0.0.41 2025-10-14 12:07:15,914 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-14 12:07:15,924 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-62138571', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-62138571?flat'} 2025-10-14 12:07:15,924 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-62138571 is found in opserver 2025-10-14 12:07:15,934 - DEBUG - Do not have enough data to verify VN in agent 2025-10-14 12:07:15,939 - DEBUG - VRF ids for VN ctest-vn-62138571: {} 2025-10-14 12:07:15,990 - DEBUG - Services list from nova: [, , ] 2025-10-14 12:07:16,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4313-1) 2025-10-14 12:07:18,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4313-1) 2025-10-14 12:07:18,045 - INFO - Waiting for VM ctest-TestBasicPolicy-51216999-23225369 to be up.. 2025-10-14 12:07:18,119 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-14 12:07:23,200 - DEBUG - VM is in ACTIVE state now 2025-10-14 12:07:23,200 - INFO - VM name : ctest-TestBasicPolicy-51216999-23225369 2025-10-14 12:07:23,288 - DEBUG - VM ctest-TestBasicPolicy-51216999-23225369 ID is b0d39018-ebc3-4810-9bff-a86ab43d61d1 2025-10-14 12:07:23,316 - DEBUG - VM ctest-TestBasicPolicy-51216999-23225369 launched on Node cn-jenkins-deploy-platform-ansible-os-4313-1 2025-10-14 12:07:23,406 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/b0d39018-ebc3-4810-9bff-a86ab43d61d1 2025-10-14 12:07:23,417 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/b5c303be-d5ef-4d7a-a2d7-9dac0db28b04 2025-10-14 12:07:26,676 - 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 1023ms') 2025-10-14 12:07:26,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51216999-23225369 failed! 2025-10-14 12:07:26,729 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51216999:ctest-vn-02160848 is 206.168.180.65 and allocation pool is NOT set 2025-10-14 12:07:28,788 - 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=4.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 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.088/3.447/4.807/1.359 ms') 2025-10-14 12:07:28,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51216999-23225369 passed 2025-10-14 12:07:28,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:07:28,934 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51216999-23225369, IP 206.168.180.67, Port 22 2025-10-14 12:07:29,085 - DEBUG - VM ctest-TestBasicPolicy-51216999-23225369 is ready for SSH connections 2025-10-14 12:07:29,085 - INFO - Waiting for VM ctest-TestBasicPolicy-51216999-35364136 to be up.. 2025-10-14 12:07:29,151 - DEBUG - VM is in ACTIVE state now 2025-10-14 12:07:29,151 - INFO - VM name : ctest-TestBasicPolicy-51216999-35364136 2025-10-14 12:07:29,220 - DEBUG - VM ctest-TestBasicPolicy-51216999-35364136 ID is 6390dd02-cf69-4499-acc0-941ab59b5e8b 2025-10-14 12:07:29,220 - DEBUG - VM ctest-TestBasicPolicy-51216999-35364136 launched on Node cn-jenkins-deploy-platform-ansible-os-4313-1 2025-10-14 12:07:29,283 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6390dd02-cf69-4499-acc0-941ab59b5e8b 2025-10-14 12:07:29,290 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/559925c1-f6fc-4a93-a26f-b3a74cf4c658 2025-10-14 12:07:30,519 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.605/2.774/1.169 ms') 2025-10-14 12:07:30,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51216999-35364136 passed 2025-10-14 12:07:30,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:07:30,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51216999-35364136, IP 213.134.207.3, Port 22 2025-10-14 12:07:30,843 - DEBUG - VM ctest-TestBasicPolicy-51216999-35364136 is ready for SSH connections 2025-10-14 12:07:30,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:07:30,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.134.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-14 12:07:30,844 - DEBUG - ping -s 56 -c 3 -W 1 213.134.207.3 2025-10-14 12:07:34,932 - DEBUG - PING 213.134.207.3 (213.134.207.3): 56 data bytes 64 bytes from 213.134.207.3: seq=0 ttl=63 time=3.243 ms 64 bytes from 213.134.207.3: seq=1 ttl=63 time=0.900 ms 64 bytes from 213.134.207.3: seq=2 ttl=63 time=0.776 ms --- 213.134.207.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/1.639/3.243 ms 2025-10-14 12:07:34,932 - INFO - Ping to IP 213.134.207.3 from VM ctest-TestBasicPolicy-51216999-23225369 passed 2025-10-14 12:07:35,109 - DEBUG - Policy Update Response {"network-policy": {"uuid": "79ff8bb3-8210-469d-8969-0aef85e5c2a6", "href": "http://10.0.0.41:8082/network-policy/79ff8bb3-8210-469d-8969-0aef85e5c2a6"}} 2025-10-14 12:07:35,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-14 12:07:35,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.134.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-14 12:07:35,110 - DEBUG - ping -s 56 -c 3 -W 1 213.134.207.3 2025-10-14 12:07:38,313 - DEBUG - PING 213.134.207.3 (213.134.207.3): 56 data bytes --- 213.134.207.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-14 12:07:38,313 - WARNING - Ping to IP 213.134.207.3 from VM ctest-TestBasicPolicy-51216999-23225369 failed 2025-10-14 12:07:38,313 - INFO - Deleting VM ctest-TestBasicPolicy-51216999-35364136 2025-10-14 12:07:38,383 - INFO - Deleting VM ctest-TestBasicPolicy-51216999-23225369 2025-10-14 12:07:38,748 - INFO - Deleted policy ctest-policy-allow-all-78004072 2025-10-14 12:07:38,748 - INFO - Deleting VN ctest-vn-62138571 2025-10-14 12:07:38,780 - DEBUG - VN de03d579-20c8-4d3a-8e61-57dc4bd11a7d still in use: Unable to complete operation on network de03d579-20c8-4d3a-8e61-57dc4bd11a7d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67109408-88c3-4ae6-940b-cc8f9867bc9c'] 2025-10-14 12:07:38,780 - WARNING - Deleting VN ctest-vn-62138571 failed..Will retry 2025-10-14 12:07:40,882 - DEBUG - Response for deleting network () 2025-10-14 12:07:40,883 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4c1fee7c-35a0-48b4-b8ae-b103dbe0752f 2025-10-14 12:07:40,888 - DEBUG - Response Code: 404 2025-10-14 12:07:40,888 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-14 12:07:40,895 - DEBUG - Requesting: http://10.0.0.41:8082/domain/baf544cd-86c1-46ed-aa58-aa441036e6be 2025-10-14 12:07:40,946 - DEBUG - Requesting: http://10.0.0.41:8082/project/da6408bc-54be-4a3d-b707-20f44f5269b0 2025-10-14 12:07:41,013 - INFO - Validated that VN ctest-vn-62138571 is not found in API Server 2025-10-14 12:07:41,022 - DEBUG - VN ctest-vn-62138571 is not present in Agent 10.0.0.41 2025-10-14 12:07:41,022 - INFO - Validated that VN ctest-vn-62138571 is not in any agent 2025-10-14 12:07:41,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62138571 info 2025-10-14 12:07:41,034 - INFO - Deleting VN ctest-vn-02160848 2025-10-14 12:07:41,128 - DEBUG - Response for deleting network () 2025-10-14 12:07:41,128 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7cd00cb7-3027-4aa6-9429-bdc585c1cb25 2025-10-14 12:07:41,133 - DEBUG - Response Code: 404 2025-10-14 12:07:41,134 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-14 12:07:41,139 - DEBUG - Requesting: http://10.0.0.41:8082/domain/baf544cd-86c1-46ed-aa58-aa441036e6be 2025-10-14 12:07:41,190 - DEBUG - Requesting: http://10.0.0.41:8082/project/da6408bc-54be-4a3d-b707-20f44f5269b0 2025-10-14 12:07:41,257 - INFO - Validated that VN ctest-vn-02160848 is not found in API Server 2025-10-14 12:07:41,267 - DEBUG - VN ctest-vn-02160848 is not present in Agent 10.0.0.41 2025-10-14 12:07:41,267 - INFO - Validated that VN ctest-vn-02160848 is not in any agent 2025-10-14 12:07:41,280 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02160848 info 2025-10-14 12:07:41,536 - DEBUG - No XMPP flaps were noticed during the test 2025-10-14 12:07:41,536 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-14 12:07:41,536 - INFO - -------------------------------------------------------------------------------- 2025-10-14 12:07:42,193 - INFO - Deleted project: ctest-TestBasicPolicy-51216999, ID : da6408bc-54be-4a3d-b707-20f44f5269b0