2025-12-30 16:18:38,610 - INFO - Domain Default found not creating 2025-12-30 16:18:38,786 - INFO - Project ctest-TestBasicPolicy-78447176 not found, creating it 2025-12-30 16:18:39,266 - INFO - Created Project:ctest-TestBasicPolicy-78447176, ID : 48e79def-fb55-43b7-bba6-8972ca015cc4 2025-12-30 16:18:40,864 - INFO - ================================================================================ 2025-12-30 16:18:40,864 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-30 16:18:40,864 - 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-12-30 16:18:41,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-30 16:18:41,122 - INFO - Initial checks done. Running the testcase now 2025-12-30 16:18:41,122 - INFO - 2025-12-30 16:18:41,690 - DEBUG - Response for create_network : {'network': {'id': '625e8883-08b3-4b89-b8e9-c75f61416c22', 'name': 'ctest-vn-12639428', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-12639428'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 16:18:41,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d512459-67f5-43be-be00-fdb982f3b63f', 'name': '', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'network_id': '625e8883-08b3-4b89-b8e9-c75f61416c22', 'ip_version': 4, 'cidr': '110.194.183.64/26', 'allocation_pools': [{'start': '110.194.183.66', 'end': '110.194.183.126'}], 'gateway_ip': '110.194.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.194.183.66', 'tags': [], 'project_id': '48e79deffb5543b7bba68972ca015cc4'}} 2025-12-30 16:18:41,923 - INFO - Created VN ctest-vn-12639428 2025-12-30 16:18:41,975 - DEBUG - VN ctest-vn-12639428 UUID is 625e8883-08b3-4b89-b8e9-c75f61416c22 2025-12-30 16:18:42,260 - DEBUG - Response for create_network : {'network': {'id': '820ba1a6-e71b-4db2-9c41-20dd383c7c68', 'name': 'ctest-vn-03806741', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-03806741'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 16:18:42,470 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9b846f8-0a6a-44da-b2dc-25c7e620e701', 'name': '', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'network_id': '820ba1a6-e71b-4db2-9c41-20dd383c7c68', 'ip_version': 4, 'cidr': '120.143.195.128/26', 'allocation_pools': [{'start': '120.143.195.130', 'end': '120.143.195.190'}], 'gateway_ip': '120.143.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.143.195.130', 'tags': [], 'project_id': '48e79deffb5543b7bba68972ca015cc4'}} 2025-12-30 16:18:42,488 - INFO - Created VN ctest-vn-03806741 2025-12-30 16:18:42,539 - DEBUG - VN ctest-vn-03806741 UUID is 820ba1a6-e71b-4db2-9c41-20dd383c7c68 2025-12-30 16:18:42,654 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428, 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-78447176:ctest-vn-03806741, 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-12-30 16:18:42,962 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '625e8883-08b3-4b89-b8e9-c75f61416c22', 'name': 'ctest-vn-12639428', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d512459-67f5-43be-be00-fdb982f3b63f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-12639428'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533']], 'subnet_ipam': [{'subnet_cidr': '110.194.183.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-30 16:18:43,190 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '820ba1a6-e71b-4db2-9c41-20dd383c7c68', 'name': 'ctest-vn-03806741', 'tenant_id': '48e79deffb5543b7bba68972ca015cc4', 'project_id': '48e79deffb5543b7bba68972ca015cc4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9b846f8-0a6a-44da-b2dc-25c7e620e701'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-vn-03806741'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533']], 'subnet_ipam': [{'subnet_cidr': '120.143.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-30 16:18:43,347 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-30 16:18:43,646 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-30 16:18:43,677 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66 2025-12-30 16:18:43,690 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4 2025-12-30 16:18:43,764 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22 2025-12-30 16:18:43,774 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22 2025-12-30 16:18:43,784 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419 2025-12-30 16:18:43,791 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419 2025-12-30 16:18:43,798 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4fa9681e-e6f6-4876-a14e-533245fc0fca 2025-12-30 16:18:43,805 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-30 16:18:43,805 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22 2025-12-30 16:18:43,814 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419 2025-12-30 16:18:43,829 - INFO - Verified VN network id 11 for VN 625e8883-08b3-4b89-b8e9-c75f61416c22 2025-12-30 16:18:43,829 - INFO - Verifications in API Server for VN ctest-vn-12639428 passed 2025-12-30 16:18:43,829 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22 2025-12-30 16:18:43,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419 2025-12-30 16:18:43,846 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419 2025-12-30 16:18:43,853 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4fa9681e-e6f6-4876-a14e-533245fc0fca 2025-12-30 16:18:43,866 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78447176', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7088252959895800713', 'uuid-lslong': '13324400185019821090'}, 'enable': 'true', 'created': '2025-12-30T16:18:41', 'last-modified': '2025-12-30T16:18:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.925877'} 2025-12-30 16:18:43,873 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-30 16:18:43,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12639428 passed 2025-12-30 16:18:43,873 - DEBUG - ====Verifying policy data for ctest-vn-12639428 in API_Server ====== 2025-12-30 16:18:43,873 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-30 16:18:43,879 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66 2025-12-30 16:18:43,890 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4 2025-12-30 16:18:43,963 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/625e8883-08b3-4b89-b8e9-c75f61416c22 2025-12-30 16:18:43,973 - DEBUG - ==>Verifying data for policy with id: 6266324c-95f7-40b0-99f8-be9381e1bc52, fqn: ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533'] 2025-12-30 16:18:43,973 - INFO - VN ctest-vn-12639428 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-30 16:18:43,973 - DEBUG - Verifying the vn in opserver 2025-12-30 16:18:43,973 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428 virtual network link through opserver 10.0.0.33 2025-12-30 16:18:43,974 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-30 16:18:44,268 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-30 16:18:44,350 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428?flat'} 2025-12-30 16:18:44,350 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428 is found in opserver 2025-12-30 16:18:44,361 - DEBUG - Do not have enough data to verify VN in agent 2025-12-30 16:18:44,366 - DEBUG - VRF ids for VN ctest-vn-12639428: {} 2025-12-30 16:18:44,366 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-30 16:18:44,373 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66 2025-12-30 16:18:44,385 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4 2025-12-30 16:18:44,456 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68 2025-12-30 16:18:44,469 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68 2025-12-30 16:18:44,480 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1 2025-12-30 16:18:44,487 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1 2025-12-30 16:18:44,495 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7367cfe8-1a5b-4598-ab2b-4bd4bcc245d3 2025-12-30 16:18:44,502 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-30 16:18:44,502 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68 2025-12-30 16:18:44,514 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1 2025-12-30 16:18:44,531 - INFO - Verified VN network id 12 for VN 820ba1a6-e71b-4db2-9c41-20dd383c7c68 2025-12-30 16:18:44,531 - INFO - Verifications in API Server for VN ctest-vn-03806741 passed 2025-12-30 16:18:44,532 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68 2025-12-30 16:18:44,543 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1 2025-12-30 16:18:44,550 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1 2025-12-30 16:18:44,558 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/7367cfe8-1a5b-4598-ab2b-4bd4bcc245d3 2025-12-30 16:18:44,569 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78447176', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9370761187888418226', 'uuid-lslong': '11259316677906300008'}, 'enable': 'true', 'created': '2025-12-30T16:18:42', 'last-modified': '2025-12-30T16:18:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400398'} 2025-12-30 16:18:44,575 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-30 16:18:44,575 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03806741 passed 2025-12-30 16:18:44,576 - DEBUG - ====Verifying policy data for ctest-vn-03806741 in API_Server ====== 2025-12-30 16:18:44,576 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-30 16:18:44,581 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66 2025-12-30 16:18:44,592 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4 2025-12-30 16:18:44,659 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/820ba1a6-e71b-4db2-9c41-20dd383c7c68 2025-12-30 16:18:44,668 - DEBUG - ==>Verifying data for policy with id: 6266324c-95f7-40b0-99f8-be9381e1bc52, fqn: ['default-domain', 'ctest-TestBasicPolicy-78447176', 'ctest-policy-allow-all-07521533'] 2025-12-30 16:18:44,668 - INFO - VN ctest-vn-03806741 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-30 16:18:44,668 - DEBUG - Verifying the vn in opserver 2025-12-30 16:18:44,668 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741 virtual network link through opserver 10.0.0.33 2025-12-30 16:18:44,668 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-30 16:18:44,679 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741?flat'} 2025-12-30 16:18:44,679 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-03806741 is found in opserver 2025-12-30 16:18:44,688 - DEBUG - Do not have enough data to verify VN in agent 2025-12-30 16:18:44,693 - DEBUG - VRF ids for VN ctest-vn-03806741: {} 2025-12-30 16:18:44,758 - DEBUG - Services list from nova: [, , ] 2025-12-30 16:18:45,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4941-1) 2025-12-30 16:18:46,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4941-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4941-1) 2025-12-30 16:18:46,988 - INFO - Waiting for VM ctest-TestBasicPolicy-78447176-85318960 to be up.. 2025-12-30 16:18:47,095 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-30 16:18:52,175 - DEBUG - VM is in ACTIVE state now 2025-12-30 16:18:52,175 - INFO - VM name : ctest-TestBasicPolicy-78447176-85318960 2025-12-30 16:18:52,251 - DEBUG - VM ctest-TestBasicPolicy-78447176-85318960 ID is 3ea21884-4b0e-46c9-ae67-4f0c8a84540e 2025-12-30 16:18:52,271 - DEBUG - VM ctest-TestBasicPolicy-78447176-85318960 launched on Node cn-jenkins-deploy-platform-ansible-os-4941-1 2025-12-30 16:18:52,346 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3ea21884-4b0e-46c9-ae67-4f0c8a84540e 2025-12-30 16:18:52,355 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/19699767-b69e-47ab-b3d4-5270aab3ce65 2025-12-30 16:18:55,599 - 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 1006ms') 2025-12-30 16:18:55,600 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78447176-85318960 failed! 2025-12-30 16:18:55,655 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78447176:ctest-vn-12639428 is 110.194.183.65 and allocation pool is NOT set 2025-12-30 16:18:57,720 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/4.561/8.643/4.081 ms') 2025-12-30 16:18:57,720 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78447176-85318960 passed 2025-12-30 16:18:57,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:18:57,868 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78447176-85318960, IP 110.194.183.67, Port 22 2025-12-30 16:18:58,041 - DEBUG - VM ctest-TestBasicPolicy-78447176-85318960 is ready for SSH connections 2025-12-30 16:18:58,041 - INFO - Waiting for VM ctest-TestBasicPolicy-78447176-72282532 to be up.. 2025-12-30 16:18:58,127 - DEBUG - VM is in ACTIVE state now 2025-12-30 16:18:58,127 - INFO - VM name : ctest-TestBasicPolicy-78447176-72282532 2025-12-30 16:18:58,210 - DEBUG - VM ctest-TestBasicPolicy-78447176-72282532 ID is ed29d80d-3728-40a2-9a0e-6b37ac0d6da3 2025-12-30 16:18:58,210 - DEBUG - VM ctest-TestBasicPolicy-78447176-72282532 launched on Node cn-jenkins-deploy-platform-ansible-os-4941-1 2025-12-30 16:18:58,323 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ed29d80d-3728-40a2-9a0e-6b37ac0d6da3 2025-12-30 16:18:58,332 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fcec0aa5-188b-4e3d-8e54-33266e4dc72a 2025-12-30 16:18:59,573 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/2.176/3.827/1.650 ms') 2025-12-30 16:18:59,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78447176-72282532 passed 2025-12-30 16:18:59,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:18:59,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78447176-72282532, IP 120.143.195.131, Port 22 2025-12-30 16:18:59,898 - DEBUG - VM ctest-TestBasicPolicy-78447176-72282532 is ready for SSH connections 2025-12-30 16:18:59,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:18:59,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.143.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-30 16:18:59,898 - DEBUG - ping -s 56 -c 3 -W 1 120.143.195.131 2025-12-30 16:19:04,004 - DEBUG - PING 120.143.195.131 (120.143.195.131): 56 data bytes 64 bytes from 120.143.195.131: seq=0 ttl=63 time=4.537 ms 64 bytes from 120.143.195.131: seq=1 ttl=63 time=0.964 ms 64 bytes from 120.143.195.131: seq=2 ttl=63 time=0.955 ms --- 120.143.195.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.955/2.152/4.537 ms 2025-12-30 16:19:04,004 - INFO - Ping to IP 120.143.195.131 from VM ctest-TestBasicPolicy-78447176-85318960 passed 2025-12-30 16:19:04,187 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6266324c-95f7-40b0-99f8-be9381e1bc52", "href": "http://10.0.0.33:8082/network-policy/6266324c-95f7-40b0-99f8-be9381e1bc52"}} 2025-12-30 16:19:04,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 16:19:04,188 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.143.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-30 16:19:04,188 - DEBUG - ping -s 56 -c 3 -W 1 120.143.195.131 2025-12-30 16:19:07,438 - DEBUG - PING 120.143.195.131 (120.143.195.131): 56 data bytes --- 120.143.195.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-30 16:19:07,438 - WARNING - Ping to IP 120.143.195.131 from VM ctest-TestBasicPolicy-78447176-85318960 failed 2025-12-30 16:19:07,439 - INFO - Deleting VM ctest-TestBasicPolicy-78447176-72282532 2025-12-30 16:19:07,543 - INFO - Deleting VM ctest-TestBasicPolicy-78447176-85318960 2025-12-30 16:19:07,945 - INFO - Deleted policy ctest-policy-allow-all-07521533 2025-12-30 16:19:07,945 - INFO - Deleting VN ctest-vn-03806741 2025-12-30 16:19:07,982 - DEBUG - VN 820ba1a6-e71b-4db2-9c41-20dd383c7c68 still in use: Unable to complete operation on network 820ba1a6-e71b-4db2-9c41-20dd383c7c68. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31bd428d-7e8a-473b-90e4-c3ca0f090459'] 2025-12-30 16:19:07,982 - WARNING - Deleting VN ctest-vn-03806741 failed..Will retry 2025-12-30 16:19:10,094 - DEBUG - Response for deleting network () 2025-12-30 16:19:10,094 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dce31221-0764-46b2-b9a2-fcfcd50bbad1 2025-12-30 16:19:10,100 - DEBUG - Response Code: 404 2025-12-30 16:19:10,100 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-30 16:19:10,105 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66 2025-12-30 16:19:10,157 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4 2025-12-30 16:19:10,244 - INFO - Validated that VN ctest-vn-03806741 is not found in API Server 2025-12-30 16:19:10,254 - DEBUG - VN ctest-vn-03806741 is not present in Agent 10.0.0.33 2025-12-30 16:19:10,255 - INFO - Validated that VN ctest-vn-03806741 is not in any agent 2025-12-30 16:19:10,268 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03806741 info 2025-12-30 16:19:10,268 - INFO - Deleting VN ctest-vn-12639428 2025-12-30 16:19:10,376 - DEBUG - Response for deleting network () 2025-12-30 16:19:10,376 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9519baf1-8389-46b2-92e6-f5be26e4a419 2025-12-30 16:19:10,382 - DEBUG - Response Code: 404 2025-12-30 16:19:10,382 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-30 16:19:10,389 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a8c7ed6a-9e09-4b3a-823b-564d94b0bd66 2025-12-30 16:19:10,445 - DEBUG - Requesting: http://10.0.0.33:8082/project/48e79def-fb55-43b7-bba6-8972ca015cc4 2025-12-30 16:19:10,515 - INFO - Validated that VN ctest-vn-12639428 is not found in API Server 2025-12-30 16:19:10,525 - DEBUG - VN ctest-vn-12639428 is not present in Agent 10.0.0.33 2025-12-30 16:19:10,525 - INFO - Validated that VN ctest-vn-12639428 is not in any agent 2025-12-30 16:19:10,538 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12639428 info 2025-12-30 16:19:10,793 - DEBUG - No XMPP flaps were noticed during the test 2025-12-30 16:19:10,793 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-30 16:19:10,793 - INFO - -------------------------------------------------------------------------------- 2025-12-30 16:19:11,495 - INFO - Deleted project: ctest-TestBasicPolicy-78447176, ID : 48e79def-fb55-43b7-bba6-8972ca015cc4