2025-07-12 08:07:38,697 - INFO - Domain Default found not creating 2025-07-12 08:07:38,844 - INFO - Project ctest-TestBasicPolicy-30115594 not found, creating it 2025-07-12 08:07:39,285 - INFO - Created Project:ctest-TestBasicPolicy-30115594, ID : 6cd67afb-542f-4e82-a057-320a1a46b559 2025-07-12 08:07:40,717 - INFO - ================================================================================ 2025-07-12 08:07:40,717 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-12 08:07:40,717 - 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-07-12 08:07:40,970 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2025-07-12 08:07:40,971 - INFO - Initial checks done. Running the testcase now 2025-07-12 08:07:40,971 - INFO - 2025-07-12 08:07:41,517 - DEBUG - Response for create_network : {'network': {'id': '0912094a-bd7c-48db-ad02-90ba25259940', 'name': 'ctest-vn-02546813', 'tenant_id': '6cd67afb542f4e82a057320a1a46b559', 'project_id': '6cd67afb542f4e82a057320a1a46b559', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-vn-02546813'], 'port_security_enabled': True, 'description': ''}} 2025-07-12 08:07:41,670 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a7e99e1-5d76-4949-a637-a973fc95990a', 'name': '', 'tenant_id': '6cd67afb542f4e82a057320a1a46b559', 'network_id': '0912094a-bd7c-48db-ad02-90ba25259940', 'ip_version': 4, 'cidr': '67.21.55.128/26', 'allocation_pools': [{'start': '67.21.55.130', 'end': '67.21.55.190'}], 'gateway_ip': '67.21.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.21.55.130', 'tags': [], 'project_id': '6cd67afb542f4e82a057320a1a46b559'}} 2025-07-12 08:07:41,686 - INFO - Created VN ctest-vn-02546813 2025-07-12 08:07:41,737 - DEBUG - VN ctest-vn-02546813 UUID is 0912094a-bd7c-48db-ad02-90ba25259940 2025-07-12 08:07:42,063 - DEBUG - Response for create_network : {'network': {'id': 'c9e2fd46-4238-4a60-99f5-11cea276284f', 'name': 'ctest-vn-20817699', 'tenant_id': '6cd67afb542f4e82a057320a1a46b559', 'project_id': '6cd67afb542f4e82a057320a1a46b559', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-vn-20817699'], 'port_security_enabled': True, 'description': ''}} 2025-07-12 08:07:42,223 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0fe66c7-5e4d-456f-83fc-8b9a8d9e4271', 'name': '', 'tenant_id': '6cd67afb542f4e82a057320a1a46b559', 'network_id': 'c9e2fd46-4238-4a60-99f5-11cea276284f', 'ip_version': 4, 'cidr': '120.197.93.0/26', 'allocation_pools': [{'start': '120.197.93.2', 'end': '120.197.93.62'}], 'gateway_ip': '120.197.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.197.93.2', 'tags': [], 'project_id': '6cd67afb542f4e82a057320a1a46b559'}} 2025-07-12 08:07:42,242 - INFO - Created VN ctest-vn-20817699 2025-07-12 08:07:42,297 - DEBUG - VN ctest-vn-20817699 UUID is c9e2fd46-4238-4a60-99f5-11cea276284f 2025-07-12 08:07:42,419 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-02546813, 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-30115594:ctest-vn-20817699, 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-07-12 08:07:42,729 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0912094a-bd7c-48db-ad02-90ba25259940', 'name': 'ctest-vn-02546813', 'tenant_id': '6cd67afb542f4e82a057320a1a46b559', 'project_id': '6cd67afb542f4e82a057320a1a46b559', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a7e99e1-5d76-4949-a637-a973fc95990a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-vn-02546813'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-policy-allow-all-05994844']], 'subnet_ipam': [{'subnet_cidr': '67.21.55.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-12 08:07:43,008 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9e2fd46-4238-4a60-99f5-11cea276284f', 'name': 'ctest-vn-20817699', 'tenant_id': '6cd67afb542f4e82a057320a1a46b559', 'project_id': '6cd67afb542f4e82a057320a1a46b559', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0fe66c7-5e4d-456f-83fc-8b9a8d9e4271'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-vn-20817699'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-policy-allow-all-05994844']], 'subnet_ipam': [{'subnet_cidr': '120.197.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-12 08:07:43,165 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-12 08:07:43,460 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-12 08:07:43,488 - DEBUG - Requesting: http://10.0.0.49:8082/domain/64b5af21-c967-4d78-933f-0e2c449486a8 2025-07-12 08:07:43,503 - DEBUG - Requesting: http://10.0.0.49:8082/project/6cd67afb-542f-4e82-a057-320a1a46b559 2025-07-12 08:07:43,580 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0912094a-bd7c-48db-ad02-90ba25259940 2025-07-12 08:07:43,592 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0912094a-bd7c-48db-ad02-90ba25259940 2025-07-12 08:07:43,602 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e2781742-8494-4a25-98c4-1e80ca9092fa 2025-07-12 08:07:43,611 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e2781742-8494-4a25-98c4-1e80ca9092fa 2025-07-12 08:07:43,618 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c30e4a32-61e7-462c-beac-91e7bc44f5e8 2025-07-12 08:07:43,626 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-12 08:07:43,626 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0912094a-bd7c-48db-ad02-90ba25259940 2025-07-12 08:07:43,636 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e2781742-8494-4a25-98c4-1e80ca9092fa 2025-07-12 08:07:43,651 - INFO - Verified VN network id 8 for VN 0912094a-bd7c-48db-ad02-90ba25259940 2025-07-12 08:07:43,651 - INFO - Verifications in API Server for VN ctest-vn-02546813 passed 2025-07-12 08:07:43,651 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0912094a-bd7c-48db-ad02-90ba25259940 2025-07-12 08:07:43,662 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e2781742-8494-4a25-98c4-1e80ca9092fa 2025-07-12 08:07:43,670 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e2781742-8494-4a25-98c4-1e80ca9092fa 2025-07-12 08:07:43,678 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c30e4a32-61e7-462c-beac-91e7bc44f5e8 2025-07-12 08:07:43,693 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-02546813', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30115594', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '653595112533412059', 'uuid-lslong': '12466685847676492096'}, 'enable': 'true', 'created': '2025-07-12T08:07:41', 'last-modified': '2025-07-12T08:07:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989379'} 2025-07-12 08:07:43,700 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-12 08:07:43,700 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02546813 passed 2025-07-12 08:07:43,700 - DEBUG - ====Verifying policy data for ctest-vn-02546813 in API_Server ====== 2025-07-12 08:07:43,700 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-12 08:07:43,707 - DEBUG - Requesting: http://10.0.0.49:8082/domain/64b5af21-c967-4d78-933f-0e2c449486a8 2025-07-12 08:07:43,721 - DEBUG - Requesting: http://10.0.0.49:8082/project/6cd67afb-542f-4e82-a057-320a1a46b559 2025-07-12 08:07:43,799 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/0912094a-bd7c-48db-ad02-90ba25259940 2025-07-12 08:07:43,809 - DEBUG - ==>Verifying data for policy with id: e83757d0-bc42-44cc-86df-f1f0dafb486a, fqn: ['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-policy-allow-all-05994844'] 2025-07-12 08:07:43,809 - INFO - VN ctest-vn-02546813 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-12 08:07:43,809 - DEBUG - Verifying the vn in opserver 2025-07-12 08:07:43,809 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-02546813 virtual network link through opserver 10.0.0.49 2025-07-12 08:07:43,810 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-12 08:07:44,100 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-12 08:07:44,156 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-02546813', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-02546813?flat'} 2025-07-12 08:07:44,156 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-02546813 is found in opserver 2025-07-12 08:07:44,168 - DEBUG - Do not have enough data to verify VN in agent 2025-07-12 08:07:44,174 - DEBUG - VRF ids for VN ctest-vn-02546813: {} 2025-07-12 08:07:44,174 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-12 08:07:44,180 - DEBUG - Requesting: http://10.0.0.49:8082/domain/64b5af21-c967-4d78-933f-0e2c449486a8 2025-07-12 08:07:44,192 - DEBUG - Requesting: http://10.0.0.49:8082/project/6cd67afb-542f-4e82-a057-320a1a46b559 2025-07-12 08:07:44,272 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c9e2fd46-4238-4a60-99f5-11cea276284f 2025-07-12 08:07:44,284 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c9e2fd46-4238-4a60-99f5-11cea276284f 2025-07-12 08:07:44,294 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/041892e1-459e-4bc6-b7c1-899e13028227 2025-07-12 08:07:44,301 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/041892e1-459e-4bc6-b7c1-899e13028227 2025-07-12 08:07:44,309 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b59a1dac-54f3-4609-878b-8e095f53b7a6 2025-07-12 08:07:44,317 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-12 08:07:44,317 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c9e2fd46-4238-4a60-99f5-11cea276284f 2025-07-12 08:07:44,327 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/041892e1-459e-4bc6-b7c1-899e13028227 2025-07-12 08:07:44,342 - INFO - Verified VN network id 9 for VN c9e2fd46-4238-4a60-99f5-11cea276284f 2025-07-12 08:07:44,342 - INFO - Verifications in API Server for VN ctest-vn-20817699 passed 2025-07-12 08:07:44,342 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c9e2fd46-4238-4a60-99f5-11cea276284f 2025-07-12 08:07:44,353 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/041892e1-459e-4bc6-b7c1-899e13028227 2025-07-12 08:07:44,362 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/041892e1-459e-4bc6-b7c1-899e13028227 2025-07-12 08:07:44,371 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/b59a1dac-54f3-4609-878b-8e095f53b7a6 2025-07-12 08:07:44,385 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-20817699', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30115594', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14547468224560646752', 'uuid-lslong': '11093792836283672655'}, 'enable': 'true', 'created': '2025-07-12T08:07:42', 'last-modified': '2025-07-12T08:07:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.445049'} 2025-07-12 08:07:44,391 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-12 08:07:44,391 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20817699 passed 2025-07-12 08:07:44,391 - DEBUG - ====Verifying policy data for ctest-vn-20817699 in API_Server ====== 2025-07-12 08:07:44,391 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-12 08:07:44,397 - DEBUG - Requesting: http://10.0.0.49:8082/domain/64b5af21-c967-4d78-933f-0e2c449486a8 2025-07-12 08:07:44,409 - DEBUG - Requesting: http://10.0.0.49:8082/project/6cd67afb-542f-4e82-a057-320a1a46b559 2025-07-12 08:07:44,484 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/c9e2fd46-4238-4a60-99f5-11cea276284f 2025-07-12 08:07:44,494 - DEBUG - ==>Verifying data for policy with id: e83757d0-bc42-44cc-86df-f1f0dafb486a, fqn: ['default-domain', 'ctest-TestBasicPolicy-30115594', 'ctest-policy-allow-all-05994844'] 2025-07-12 08:07:44,494 - INFO - VN ctest-vn-20817699 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-12 08:07:44,494 - DEBUG - Verifying the vn in opserver 2025-07-12 08:07:44,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-20817699 virtual network link through opserver 10.0.0.49 2025-07-12 08:07:44,494 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-07-12 08:07:44,505 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-20817699', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-20817699?flat'} 2025-07-12 08:07:44,505 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-20817699 is found in opserver 2025-07-12 08:07:44,517 - DEBUG - Do not have enough data to verify VN in agent 2025-07-12 08:07:44,523 - DEBUG - VRF ids for VN ctest-vn-20817699: {} 2025-07-12 08:07:44,587 - DEBUG - Services list from nova: [, , ] 2025-07-12 08:07:45,630 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3631-1) 2025-07-12 08:07:46,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3631-1) 2025-07-12 08:07:46,921 - INFO - Waiting for VM ctest-TestBasicPolicy-30115594-02738549 to be up.. 2025-07-12 08:07:46,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-12 08:07:52,074 - DEBUG - VM is in ACTIVE state now 2025-07-12 08:07:52,074 - INFO - VM name : ctest-TestBasicPolicy-30115594-02738549 2025-07-12 08:07:52,152 - DEBUG - VM ctest-TestBasicPolicy-30115594-02738549 ID is 611946c0-3bbc-4bb7-b499-5ba8db74a0a6 2025-07-12 08:07:52,176 - DEBUG - VM ctest-TestBasicPolicy-30115594-02738549 launched on Node cn-jenkins-deploy-platform-ansible-os-3631-1 2025-07-12 08:07:52,254 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/611946c0-3bbc-4bb7-b499-5ba8db74a0a6 2025-07-12 08:07:52,265 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8c099d97-9f73-4b13-8cdd-3961ca2822e3 2025-07-12 08:07:55,519 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-07-12 08:07:55,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30115594-02738549 failed! 2025-07-12 08:07:55,577 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30115594:ctest-vn-02546813 is 67.21.55.129 and allocation pool is NOT set 2025-07-12 08:07:57,637 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/4.160/7.909/3.748 ms') 2025-07-12 08:07:57,638 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30115594-02738549 passed 2025-07-12 08:07:57,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-12 08:07:57,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30115594-02738549, IP 67.21.55.131, Port 22 2025-07-12 08:07:57,952 - DEBUG - VM ctest-TestBasicPolicy-30115594-02738549 is ready for SSH connections 2025-07-12 08:07:57,952 - INFO - Waiting for VM ctest-TestBasicPolicy-30115594-70698604 to be up.. 2025-07-12 08:07:58,026 - DEBUG - VM is in ACTIVE state now 2025-07-12 08:07:58,026 - INFO - VM name : ctest-TestBasicPolicy-30115594-70698604 2025-07-12 08:07:58,096 - DEBUG - VM ctest-TestBasicPolicy-30115594-70698604 ID is 5455f2c4-fa6e-42d2-827a-a87c47e48f7a 2025-07-12 08:07:58,097 - DEBUG - VM ctest-TestBasicPolicy-30115594-70698604 launched on Node cn-jenkins-deploy-platform-ansible-os-3631-1 2025-07-12 08:07:58,168 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5455f2c4-fa6e-42d2-827a-a87c47e48f7a 2025-07-12 08:07:58,177 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/325a9227-3c8d-43b8-89d6-f95bc9c86a8d 2025-07-12 08:07:59,419 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.48 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.476/3.035/4.595/1.559 ms') 2025-07-12 08:07:59,419 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30115594-70698604 passed 2025-07-12 08:07:59,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-12 08:07:59,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30115594-70698604, IP 120.197.93.3, Port 22 2025-07-12 08:07:59,724 - DEBUG - VM ctest-TestBasicPolicy-30115594-70698604 is ready for SSH connections 2025-07-12 08:07:59,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-12 08:07:59,725 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.197.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-12 08:07:59,725 - DEBUG - ping -s 56 -c 3 -W 1 120.197.93.3 2025-07-12 08:08:03,819 - DEBUG - PING 120.197.93.3 (120.197.93.3): 56 data bytes 64 bytes from 120.197.93.3: seq=0 ttl=63 time=3.562 ms 64 bytes from 120.197.93.3: seq=1 ttl=63 time=0.873 ms 64 bytes from 120.197.93.3: seq=2 ttl=63 time=0.783 ms --- 120.197.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.739/3.562 ms 2025-07-12 08:08:03,820 - INFO - Ping to IP 120.197.93.3 from VM ctest-TestBasicPolicy-30115594-02738549 passed 2025-07-12 08:08:03,996 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e83757d0-bc42-44cc-86df-f1f0dafb486a", "href": "http://10.0.0.49:8082/network-policy/e83757d0-bc42-44cc-86df-f1f0dafb486a"}} 2025-07-12 08:08:03,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-12 08:08:03,997 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.197.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-12 08:08:03,997 - DEBUG - ping -s 56 -c 3 -W 1 120.197.93.3 2025-07-12 08:08:07,213 - DEBUG - PING 120.197.93.3 (120.197.93.3): 56 data bytes --- 120.197.93.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-12 08:08:07,214 - WARNING - Ping to IP 120.197.93.3 from VM ctest-TestBasicPolicy-30115594-02738549 failed 2025-07-12 08:08:07,214 - INFO - Deleting VM ctest-TestBasicPolicy-30115594-70698604 2025-07-12 08:08:07,279 - INFO - Deleting VM ctest-TestBasicPolicy-30115594-02738549 2025-07-12 08:08:07,639 - INFO - Deleted policy ctest-policy-allow-all-05994844 2025-07-12 08:08:07,639 - INFO - Deleting VN ctest-vn-20817699 2025-07-12 08:08:07,679 - DEBUG - VN c9e2fd46-4238-4a60-99f5-11cea276284f still in use: Unable to complete operation on network c9e2fd46-4238-4a60-99f5-11cea276284f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01f48491-d097-4672-8c7f-ffef922a895b'] 2025-07-12 08:08:07,679 - WARNING - Deleting VN ctest-vn-20817699 failed..Will retry 2025-07-12 08:08:09,776 - DEBUG - Response for deleting network () 2025-07-12 08:08:09,776 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/041892e1-459e-4bc6-b7c1-899e13028227 2025-07-12 08:08:09,782 - DEBUG - Response Code: 404 2025-07-12 08:08:09,782 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-12 08:08:09,787 - DEBUG - Requesting: http://10.0.0.49:8082/domain/64b5af21-c967-4d78-933f-0e2c449486a8 2025-07-12 08:08:09,842 - DEBUG - Requesting: http://10.0.0.49:8082/project/6cd67afb-542f-4e82-a057-320a1a46b559 2025-07-12 08:08:09,916 - INFO - Validated that VN ctest-vn-20817699 is not found in API Server 2025-07-12 08:08:09,928 - DEBUG - VN ctest-vn-20817699 is not present in Agent 10.0.0.49 2025-07-12 08:08:09,928 - INFO - Validated that VN ctest-vn-20817699 is not in any agent 2025-07-12 08:08:09,943 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20817699 info 2025-07-12 08:08:09,943 - INFO - Deleting VN ctest-vn-02546813 2025-07-12 08:08:10,049 - DEBUG - Response for deleting network () 2025-07-12 08:08:10,050 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/e2781742-8494-4a25-98c4-1e80ca9092fa 2025-07-12 08:08:10,057 - DEBUG - Response Code: 404 2025-07-12 08:08:10,057 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-07-12 08:08:10,063 - DEBUG - Requesting: http://10.0.0.49:8082/domain/64b5af21-c967-4d78-933f-0e2c449486a8 2025-07-12 08:08:10,118 - DEBUG - Requesting: http://10.0.0.49:8082/project/6cd67afb-542f-4e82-a057-320a1a46b559 2025-07-12 08:08:10,196 - INFO - Validated that VN ctest-vn-02546813 is not found in API Server 2025-07-12 08:08:10,207 - DEBUG - VN ctest-vn-02546813 is not present in Agent 10.0.0.49 2025-07-12 08:08:10,207 - INFO - Validated that VN ctest-vn-02546813 is not in any agent 2025-07-12 08:08:10,223 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02546813 info 2025-07-12 08:08:10,482 - DEBUG - No XMPP flaps were noticed during the test 2025-07-12 08:08:10,482 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-12 08:08:10,482 - INFO - -------------------------------------------------------------------------------- 2025-07-12 08:08:11,167 - INFO - Deleted project: ctest-TestBasicPolicy-30115594, ID : 6cd67afb-542f-4e82-a057-320a1a46b559