2025-09-16 21:44:54,441 - INFO - Domain Default found not creating 2025-09-16 21:44:54,568 - INFO - Project ctest-TestBasicPolicy-08044289 not found, creating it 2025-09-16 21:44:54,983 - INFO - Created Project:ctest-TestBasicPolicy-08044289, ID : 23c4286e-e0f7-4a51-918e-52490b06087d 2025-09-16 21:44:56,370 - INFO - ================================================================================ 2025-09-16 21:44:56,370 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-16 21:44:56,370 - 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-16 21:44:56,624 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-16 21:44:56,624 - INFO - Initial checks done. Running the testcase now 2025-09-16 21:44:56,624 - INFO - 2025-09-16 21:44:57,153 - DEBUG - Response for create_network : {'network': {'id': 'bb6b7719-a588-47bc-94cd-d3aa3bf83426', 'name': 'ctest-vn-78231743', 'tenant_id': '23c4286ee0f74a51918e52490b06087d', 'project_id': '23c4286ee0f74a51918e52490b06087d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-vn-78231743'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:44:57,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '68dd1e2a-8fa7-49fd-aa44-804b007b841c', 'name': '', 'tenant_id': '23c4286ee0f74a51918e52490b06087d', 'network_id': 'bb6b7719-a588-47bc-94cd-d3aa3bf83426', 'ip_version': 4, 'cidr': '170.41.59.128/26', 'allocation_pools': [{'start': '170.41.59.130', 'end': '170.41.59.190'}], 'gateway_ip': '170.41.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.41.59.130', 'tags': [], 'project_id': '23c4286ee0f74a51918e52490b06087d'}} 2025-09-16 21:44:57,314 - INFO - Created VN ctest-vn-78231743 2025-09-16 21:44:57,366 - DEBUG - VN ctest-vn-78231743 UUID is bb6b7719-a588-47bc-94cd-d3aa3bf83426 2025-09-16 21:44:57,674 - DEBUG - Response for create_network : {'network': {'id': '1087a6b5-025e-4f55-884e-ff8e70bd003c', 'name': 'ctest-vn-30912763', 'tenant_id': '23c4286ee0f74a51918e52490b06087d', 'project_id': '23c4286ee0f74a51918e52490b06087d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-vn-30912763'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:44:57,880 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9462c98-52eb-4a93-8f2a-abf3389d5166', 'name': '', 'tenant_id': '23c4286ee0f74a51918e52490b06087d', 'network_id': '1087a6b5-025e-4f55-884e-ff8e70bd003c', 'ip_version': 4, 'cidr': '11.152.58.0/26', 'allocation_pools': [{'start': '11.152.58.2', 'end': '11.152.58.62'}], 'gateway_ip': '11.152.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.152.58.2', 'tags': [], 'project_id': '23c4286ee0f74a51918e52490b06087d'}} 2025-09-16 21:44:57,896 - INFO - Created VN ctest-vn-30912763 2025-09-16 21:44:57,946 - DEBUG - VN ctest-vn-30912763 UUID is 1087a6b5-025e-4f55-884e-ff8e70bd003c 2025-09-16 21:44:58,089 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-78231743, 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-08044289:ctest-vn-30912763, 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-16 21:44:58,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb6b7719-a588-47bc-94cd-d3aa3bf83426', 'name': 'ctest-vn-78231743', 'tenant_id': '23c4286ee0f74a51918e52490b06087d', 'project_id': '23c4286ee0f74a51918e52490b06087d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['68dd1e2a-8fa7-49fd-aa44-804b007b841c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-vn-78231743'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-policy-allow-all-00385390']], 'subnet_ipam': [{'subnet_cidr': '170.41.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:44:58,654 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1087a6b5-025e-4f55-884e-ff8e70bd003c', 'name': 'ctest-vn-30912763', 'tenant_id': '23c4286ee0f74a51918e52490b06087d', 'project_id': '23c4286ee0f74a51918e52490b06087d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9462c98-52eb-4a93-8f2a-abf3389d5166'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-vn-30912763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-policy-allow-all-00385390']], 'subnet_ipam': [{'subnet_cidr': '11.152.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 21:44:58,794 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 21:44:59,102 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 21:44:59,126 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9256f94d-248d-468a-af9f-09d230685e6d 2025-09-16 21:44:59,138 - DEBUG - Requesting: http://10.0.0.22:8082/project/23c4286e-e0f7-4a51-918e-52490b06087d 2025-09-16 21:44:59,209 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bb6b7719-a588-47bc-94cd-d3aa3bf83426 2025-09-16 21:44:59,220 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bb6b7719-a588-47bc-94cd-d3aa3bf83426 2025-09-16 21:44:59,230 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d520d8da-c119-405a-8285-b6782dad4663 2025-09-16 21:44:59,236 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d520d8da-c119-405a-8285-b6782dad4663 2025-09-16 21:44:59,240 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7a153e43-7628-495c-aa7a-4b6ed6c294e5 2025-09-16 21:44:59,245 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 21:44:59,245 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bb6b7719-a588-47bc-94cd-d3aa3bf83426 2025-09-16 21:44:59,253 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d520d8da-c119-405a-8285-b6782dad4663 2025-09-16 21:44:59,263 - INFO - Verified VN network id 12 for VN bb6b7719-a588-47bc-94cd-d3aa3bf83426 2025-09-16 21:44:59,263 - INFO - Verifications in API Server for VN ctest-vn-78231743 passed 2025-09-16 21:44:59,263 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bb6b7719-a588-47bc-94cd-d3aa3bf83426 2025-09-16 21:44:59,270 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d520d8da-c119-405a-8285-b6782dad4663 2025-09-16 21:44:59,275 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d520d8da-c119-405a-8285-b6782dad4663 2025-09-16 21:44:59,281 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7a153e43-7628-495c-aa7a-4b6ed6c294e5 2025-09-16 21:44:59,291 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-78231743', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08044289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13505018859635623868', 'uuid-lslong': '10722459015943042086'}, 'enable': 'true', 'created': '2025-09-16T21:44:57', 'last-modified': '2025-09-16T21:44:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944176'} 2025-09-16 21:44:59,297 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 21:44:59,297 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78231743 passed 2025-09-16 21:44:59,297 - DEBUG - ====Verifying policy data for ctest-vn-78231743 in API_Server ====== 2025-09-16 21:44:59,297 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 21:44:59,302 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9256f94d-248d-468a-af9f-09d230685e6d 2025-09-16 21:44:59,311 - DEBUG - Requesting: http://10.0.0.22:8082/project/23c4286e-e0f7-4a51-918e-52490b06087d 2025-09-16 21:44:59,381 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bb6b7719-a588-47bc-94cd-d3aa3bf83426 2025-09-16 21:44:59,388 - DEBUG - ==>Verifying data for policy with id: dc53d4cf-cee0-4796-8648-5a2f3edbe544, fqn: ['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-policy-allow-all-00385390'] 2025-09-16 21:44:59,388 - INFO - VN ctest-vn-78231743 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 21:44:59,389 - DEBUG - Verifying the vn in opserver 2025-09-16 21:44:59,389 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-78231743 virtual network link through opserver 10.0.0.22 2025-09-16 21:44:59,389 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-16 21:44:59,684 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-16 21:44:59,732 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-78231743', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-78231743?flat'} 2025-09-16 21:44:59,732 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-78231743 is found in opserver 2025-09-16 21:44:59,741 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 21:44:59,745 - DEBUG - VRF ids for VN ctest-vn-78231743: {} 2025-09-16 21:44:59,745 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 21:44:59,749 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9256f94d-248d-468a-af9f-09d230685e6d 2025-09-16 21:44:59,758 - DEBUG - Requesting: http://10.0.0.22:8082/project/23c4286e-e0f7-4a51-918e-52490b06087d 2025-09-16 21:44:59,828 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1087a6b5-025e-4f55-884e-ff8e70bd003c 2025-09-16 21:44:59,838 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1087a6b5-025e-4f55-884e-ff8e70bd003c 2025-09-16 21:44:59,845 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ab84445e-b574-4056-99c4-a98d8c6c92ae 2025-09-16 21:44:59,851 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ab84445e-b574-4056-99c4-a98d8c6c92ae 2025-09-16 21:44:59,856 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0385318f-48bc-43fb-aecd-af614201e1ed 2025-09-16 21:44:59,863 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 21:44:59,863 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1087a6b5-025e-4f55-884e-ff8e70bd003c 2025-09-16 21:44:59,874 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ab84445e-b574-4056-99c4-a98d8c6c92ae 2025-09-16 21:44:59,884 - INFO - Verified VN network id 13 for VN 1087a6b5-025e-4f55-884e-ff8e70bd003c 2025-09-16 21:44:59,884 - INFO - Verifications in API Server for VN ctest-vn-30912763 passed 2025-09-16 21:44:59,884 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1087a6b5-025e-4f55-884e-ff8e70bd003c 2025-09-16 21:44:59,891 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ab84445e-b574-4056-99c4-a98d8c6c92ae 2025-09-16 21:44:59,897 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ab84445e-b574-4056-99c4-a98d8c6c92ae 2025-09-16 21:44:59,902 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0385318f-48bc-43fb-aecd-af614201e1ed 2025-09-16 21:44:59,912 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-30912763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08044289', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1191103922821812053', 'uuid-lslong': '9822068824583503932'}, 'enable': 'true', 'created': '2025-09-16T21:44:57', 'last-modified': '2025-09-16T21:44:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.333992'} 2025-09-16 21:44:59,916 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 21:44:59,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30912763 passed 2025-09-16 21:44:59,917 - DEBUG - ====Verifying policy data for ctest-vn-30912763 in API_Server ====== 2025-09-16 21:44:59,917 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 21:44:59,921 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9256f94d-248d-468a-af9f-09d230685e6d 2025-09-16 21:44:59,930 - DEBUG - Requesting: http://10.0.0.22:8082/project/23c4286e-e0f7-4a51-918e-52490b06087d 2025-09-16 21:45:00,002 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1087a6b5-025e-4f55-884e-ff8e70bd003c 2025-09-16 21:45:00,013 - DEBUG - ==>Verifying data for policy with id: dc53d4cf-cee0-4796-8648-5a2f3edbe544, fqn: ['default-domain', 'ctest-TestBasicPolicy-08044289', 'ctest-policy-allow-all-00385390'] 2025-09-16 21:45:00,013 - INFO - VN ctest-vn-30912763 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 21:45:00,013 - DEBUG - Verifying the vn in opserver 2025-09-16 21:45:00,013 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-30912763 virtual network link through opserver 10.0.0.22 2025-09-16 21:45:00,013 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-16 21:45:00,023 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-30912763', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-30912763?flat'} 2025-09-16 21:45:00,024 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-30912763 is found in opserver 2025-09-16 21:45:00,033 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 21:45:00,037 - DEBUG - VRF ids for VN ctest-vn-30912763: {} 2025-09-16 21:45:00,090 - DEBUG - Services list from nova: [, , ] 2025-09-16 21:45:01,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4127-1) 2025-09-16 21:45:02,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4127-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4127-1) 2025-09-16 21:45:02,188 - INFO - Waiting for VM ctest-TestBasicPolicy-08044289-54094251 to be up.. 2025-09-16 21:45:02,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 21:45:07,325 - DEBUG - VM is in ACTIVE state now 2025-09-16 21:45:07,325 - INFO - VM name : ctest-TestBasicPolicy-08044289-54094251 2025-09-16 21:45:07,390 - DEBUG - VM ctest-TestBasicPolicy-08044289-54094251 ID is d882b30b-b3fb-42b6-a363-b696651c5464 2025-09-16 21:45:07,408 - DEBUG - VM ctest-TestBasicPolicy-08044289-54094251 launched on Node cn-jenkins-deploy-platform-ansible-os-4127-1 2025-09-16 21:45:07,476 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d882b30b-b3fb-42b6-a363-b696651c5464 2025-09-16 21:45:07,484 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6bf1d087-f51e-4302-950a-045dd34e49ac 2025-09-16 21:45:10,729 - 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 1007ms') 2025-09-16 21:45:10,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08044289-54094251 failed! 2025-09-16 21:45:10,798 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-08044289:ctest-vn-78231743 is 170.41.59.129 and allocation pool is NOT set 2025-09-16 21:45:12,854 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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 = 0.435/1.611/2.787/1.176 ms') 2025-09-16 21:45:12,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08044289-54094251 passed 2025-09-16 21:45:13,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:45:13,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08044289-54094251, IP 170.41.59.131, Port 22 2025-09-16 21:45:13,169 - DEBUG - VM ctest-TestBasicPolicy-08044289-54094251 is ready for SSH connections 2025-09-16 21:45:13,169 - INFO - Waiting for VM ctest-TestBasicPolicy-08044289-24473528 to be up.. 2025-09-16 21:45:13,236 - DEBUG - VM is in ACTIVE state now 2025-09-16 21:45:13,236 - INFO - VM name : ctest-TestBasicPolicy-08044289-24473528 2025-09-16 21:45:13,308 - DEBUG - VM ctest-TestBasicPolicy-08044289-24473528 ID is 5a41ee11-4d02-4a23-90ff-5b9efcbdd51e 2025-09-16 21:45:13,308 - DEBUG - VM ctest-TestBasicPolicy-08044289-24473528 launched on Node cn-jenkins-deploy-platform-ansible-os-4127-1 2025-09-16 21:45:13,374 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5a41ee11-4d02-4a23-90ff-5b9efcbdd51e 2025-09-16 21:45:13,382 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3927436d-7251-4fbe-b1a6-fea94f63ccff 2025-09-16 21:45:14,615 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.467/1.678/2.889/1.211 ms') 2025-09-16 21:45:14,616 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08044289-24473528 passed 2025-09-16 21:45:14,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:45:14,762 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08044289-24473528, IP 11.152.58.3, Port 22 2025-09-16 21:45:14,930 - DEBUG - VM ctest-TestBasicPolicy-08044289-24473528 is ready for SSH connections 2025-09-16 21:45:14,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:45:14,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.152.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 21:45:14,930 - DEBUG - ping -s 56 -c 3 -W 1 11.152.58.3 2025-09-16 21:45:18,608 - DEBUG - PING 11.152.58.3 (11.152.58.3): 56 data bytes 64 bytes from 11.152.58.3: seq=0 ttl=63 time=3.511 ms 64 bytes from 11.152.58.3: seq=1 ttl=63 time=1.006 ms 64 bytes from 11.152.58.3: seq=2 ttl=63 time=0.824 ms --- 11.152.58.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.780/3.511 ms 2025-09-16 21:45:18,608 - INFO - Ping to IP 11.152.58.3 from VM ctest-TestBasicPolicy-08044289-54094251 passed 2025-09-16 21:45:18,777 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dc53d4cf-cee0-4796-8648-5a2f3edbe544", "href": "http://10.0.0.22:8082/network-policy/dc53d4cf-cee0-4796-8648-5a2f3edbe544"}} 2025-09-16 21:45:18,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 21:45:18,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.152.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-16 21:45:18,778 - DEBUG - ping -s 56 -c 3 -W 1 11.152.58.3 2025-09-16 21:45:21,976 - DEBUG - PING 11.152.58.3 (11.152.58.3): 56 data bytes --- 11.152.58.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 21:45:21,976 - WARNING - Ping to IP 11.152.58.3 from VM ctest-TestBasicPolicy-08044289-54094251 failed 2025-09-16 21:45:21,976 - INFO - Deleting VM ctest-TestBasicPolicy-08044289-24473528 2025-09-16 21:45:22,037 - INFO - Deleting VM ctest-TestBasicPolicy-08044289-54094251 2025-09-16 21:45:22,384 - INFO - Deleted policy ctest-policy-allow-all-00385390 2025-09-16 21:45:22,384 - INFO - Deleting VN ctest-vn-30912763 2025-09-16 21:45:22,419 - DEBUG - VN 1087a6b5-025e-4f55-884e-ff8e70bd003c still in use: Unable to complete operation on network 1087a6b5-025e-4f55-884e-ff8e70bd003c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5bfc570c-9834-443d-8dc8-b9459cd1017e'] 2025-09-16 21:45:22,419 - WARNING - Deleting VN ctest-vn-30912763 failed..Will retry 2025-09-16 21:45:24,515 - DEBUG - Response for deleting network () 2025-09-16 21:45:24,515 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ab84445e-b574-4056-99c4-a98d8c6c92ae 2025-09-16 21:45:24,525 - DEBUG - Response Code: 404 2025-09-16 21:45:24,525 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 21:45:24,529 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9256f94d-248d-468a-af9f-09d230685e6d 2025-09-16 21:45:24,583 - DEBUG - Requesting: http://10.0.0.22:8082/project/23c4286e-e0f7-4a51-918e-52490b06087d 2025-09-16 21:45:24,681 - INFO - Validated that VN ctest-vn-30912763 is not found in API Server 2025-09-16 21:45:24,689 - DEBUG - VN ctest-vn-30912763 is not present in Agent 10.0.0.22 2025-09-16 21:45:24,689 - INFO - Validated that VN ctest-vn-30912763 is not in any agent 2025-09-16 21:45:24,705 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30912763 info 2025-09-16 21:45:24,705 - INFO - Deleting VN ctest-vn-78231743 2025-09-16 21:45:24,792 - DEBUG - Response for deleting network () 2025-09-16 21:45:24,792 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d520d8da-c119-405a-8285-b6782dad4663 2025-09-16 21:45:24,798 - DEBUG - Response Code: 404 2025-09-16 21:45:24,799 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-16 21:45:24,803 - DEBUG - Requesting: http://10.0.0.22:8082/domain/9256f94d-248d-468a-af9f-09d230685e6d 2025-09-16 21:45:24,854 - DEBUG - Requesting: http://10.0.0.22:8082/project/23c4286e-e0f7-4a51-918e-52490b06087d 2025-09-16 21:45:24,927 - INFO - Validated that VN ctest-vn-78231743 is not found in API Server 2025-09-16 21:45:24,935 - DEBUG - VN ctest-vn-78231743 is not present in Agent 10.0.0.22 2025-09-16 21:45:24,935 - INFO - Validated that VN ctest-vn-78231743 is not in any agent 2025-09-16 21:45:24,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78231743 info 2025-09-16 21:45:25,207 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 21:45:25,207 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-16 21:45:25,207 - INFO - -------------------------------------------------------------------------------- 2025-09-16 21:45:25,866 - INFO - Deleted project: ctest-TestBasicPolicy-08044289, ID : 23c4286e-e0f7-4a51-918e-52490b06087d