2025-05-06 19:26:27,010 - INFO - Domain Default found not creating 2025-05-06 19:26:27,139 - INFO - Project ctest-TestBasicPolicy-59788132 not found, creating it 2025-05-06 19:26:27,578 - INFO - Created Project:ctest-TestBasicPolicy-59788132, ID : a506ab79-122a-40ce-b24f-6689cc36a2f5 2025-05-06 19:26:28,956 - INFO - ================================================================================ 2025-05-06 19:26:28,956 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-06 19:26:28,956 - 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-05-06 19:26:29,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-06 19:26:29,211 - INFO - Initial checks done. Running the testcase now 2025-05-06 19:26:29,211 - INFO - 2025-05-06 19:26:29,752 - DEBUG - Response for create_network : {'network': {'id': 'b6d9b6e1-70cb-47a4-9769-b4bc450c8eae', 'name': 'ctest-vn-81805140', 'tenant_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'project_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-vn-81805140'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 19:26:29,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '49712514-bc51-4757-80c8-e2a2031290d2', 'name': '', 'tenant_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'network_id': 'b6d9b6e1-70cb-47a4-9769-b4bc450c8eae', 'ip_version': 4, 'cidr': '52.8.152.0/26', 'allocation_pools': [{'start': '52.8.152.2', 'end': '52.8.152.62'}], 'gateway_ip': '52.8.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.8.152.2', 'tags': [], 'project_id': 'a506ab79122a40ceb24f6689cc36a2f5'}} 2025-05-06 19:26:29,980 - INFO - Created VN ctest-vn-81805140 2025-05-06 19:26:30,032 - DEBUG - VN ctest-vn-81805140 UUID is b6d9b6e1-70cb-47a4-9769-b4bc450c8eae 2025-05-06 19:26:30,344 - DEBUG - Response for create_network : {'network': {'id': '5f93c70b-0526-4f50-9a3b-17bc11d67036', 'name': 'ctest-vn-18601492', 'tenant_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'project_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-vn-18601492'], 'port_security_enabled': True, 'description': ''}} 2025-05-06 19:26:30,543 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd8830e0-89bf-48ff-973e-c90805f3cbf2', 'name': '', 'tenant_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'network_id': '5f93c70b-0526-4f50-9a3b-17bc11d67036', 'ip_version': 4, 'cidr': '14.48.62.128/26', 'allocation_pools': [{'start': '14.48.62.130', 'end': '14.48.62.190'}], 'gateway_ip': '14.48.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.48.62.130', 'tags': [], 'project_id': 'a506ab79122a40ceb24f6689cc36a2f5'}} 2025-05-06 19:26:30,564 - INFO - Created VN ctest-vn-18601492 2025-05-06 19:26:30,616 - DEBUG - VN ctest-vn-18601492 UUID is 5f93c70b-0526-4f50-9a3b-17bc11d67036 2025-05-06 19:26:30,768 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-81805140, 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-59788132:ctest-vn-18601492, 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-05-06 19:26:31,053 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6d9b6e1-70cb-47a4-9769-b4bc450c8eae', 'name': 'ctest-vn-81805140', 'tenant_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'project_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49712514-bc51-4757-80c8-e2a2031290d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-vn-81805140'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-policy-allow-all-74095805']], 'subnet_ipam': [{'subnet_cidr': '52.8.152.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 19:26:31,291 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f93c70b-0526-4f50-9a3b-17bc11d67036', 'name': 'ctest-vn-18601492', 'tenant_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'project_id': 'a506ab79122a40ceb24f6689cc36a2f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dd8830e0-89bf-48ff-973e-c90805f3cbf2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-vn-18601492'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-policy-allow-all-74095805']], 'subnet_ipam': [{'subnet_cidr': '14.48.62.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-06 19:26:31,464 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-06 19:26:31,760 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-06 19:26:31,787 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d8f7264-ebc2-45c8-b814-7a12367a6ade 2025-05-06 19:26:31,801 - DEBUG - Requesting: http://10.0.0.38:8082/project/a506ab79-122a-40ce-b24f-6689cc36a2f5 2025-05-06 19:26:31,873 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b6d9b6e1-70cb-47a4-9769-b4bc450c8eae 2025-05-06 19:26:31,885 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b6d9b6e1-70cb-47a4-9769-b4bc450c8eae 2025-05-06 19:26:31,895 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9e11106-5eff-4109-8599-44600ea227ca 2025-05-06 19:26:31,903 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9e11106-5eff-4109-8599-44600ea227ca 2025-05-06 19:26:31,910 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/314878a2-2050-49ce-8f82-a389adfe857e 2025-05-06 19:26:31,916 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 19:26:31,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b6d9b6e1-70cb-47a4-9769-b4bc450c8eae 2025-05-06 19:26:31,925 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9e11106-5eff-4109-8599-44600ea227ca 2025-05-06 19:26:31,938 - INFO - Verified VN network id 8 for VN b6d9b6e1-70cb-47a4-9769-b4bc450c8eae 2025-05-06 19:26:31,938 - INFO - Verifications in API Server for VN ctest-vn-81805140 passed 2025-05-06 19:26:31,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b6d9b6e1-70cb-47a4-9769-b4bc450c8eae 2025-05-06 19:26:31,947 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9e11106-5eff-4109-8599-44600ea227ca 2025-05-06 19:26:31,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9e11106-5eff-4109-8599-44600ea227ca 2025-05-06 19:26:31,959 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/314878a2-2050-49ce-8f82-a389adfe857e 2025-05-06 19:26:31,969 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-81805140', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59788132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13175763264225363876', 'uuid-lslong': '10910450292987039406'}, 'enable': 'true', 'created': '2025-05-06T19:26:29', 'last-modified': '2025-05-06T19:26:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.934945'} 2025-05-06 19:26:31,976 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-06 19:26:31,976 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81805140 passed 2025-05-06 19:26:31,976 - DEBUG - ====Verifying policy data for ctest-vn-81805140 in API_Server ====== 2025-05-06 19:26:31,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-06 19:26:31,981 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d8f7264-ebc2-45c8-b814-7a12367a6ade 2025-05-06 19:26:31,992 - DEBUG - Requesting: http://10.0.0.38:8082/project/a506ab79-122a-40ce-b24f-6689cc36a2f5 2025-05-06 19:26:32,063 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b6d9b6e1-70cb-47a4-9769-b4bc450c8eae 2025-05-06 19:26:32,075 - DEBUG - ==>Verifying data for policy with id: 4125ae1a-6571-488d-bc1f-951da0cfabd2, fqn: ['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-policy-allow-all-74095805'] 2025-05-06 19:26:32,076 - INFO - VN ctest-vn-81805140 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 19:26:32,076 - DEBUG - Verifying the vn in opserver 2025-05-06 19:26:32,076 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-81805140 virtual network link through opserver 10.0.0.38 2025-05-06 19:26:32,076 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-06 19:26:32,365 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-06 19:26:32,416 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-81805140', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-81805140?flat'} 2025-05-06 19:26:32,417 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-81805140 is found in opserver 2025-05-06 19:26:32,428 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 19:26:32,433 - DEBUG - VRF ids for VN ctest-vn-81805140: {} 2025-05-06 19:26:32,433 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-06 19:26:32,438 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d8f7264-ebc2-45c8-b814-7a12367a6ade 2025-05-06 19:26:32,450 - DEBUG - Requesting: http://10.0.0.38:8082/project/a506ab79-122a-40ce-b24f-6689cc36a2f5 2025-05-06 19:26:32,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f93c70b-0526-4f50-9a3b-17bc11d67036 2025-05-06 19:26:32,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f93c70b-0526-4f50-9a3b-17bc11d67036 2025-05-06 19:26:32,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4017f3b1-8c30-40ff-a2ea-43be0a24d65e 2025-05-06 19:26:32,551 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4017f3b1-8c30-40ff-a2ea-43be0a24d65e 2025-05-06 19:26:32,557 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44682e47-b032-41d6-be60-81833168c3c4 2025-05-06 19:26:32,563 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 19:26:32,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f93c70b-0526-4f50-9a3b-17bc11d67036 2025-05-06 19:26:32,572 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4017f3b1-8c30-40ff-a2ea-43be0a24d65e 2025-05-06 19:26:32,586 - INFO - Verified VN network id 9 for VN 5f93c70b-0526-4f50-9a3b-17bc11d67036 2025-05-06 19:26:32,586 - INFO - Verifications in API Server for VN ctest-vn-18601492 passed 2025-05-06 19:26:32,586 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f93c70b-0526-4f50-9a3b-17bc11d67036 2025-05-06 19:26:32,595 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4017f3b1-8c30-40ff-a2ea-43be0a24d65e 2025-05-06 19:26:32,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4017f3b1-8c30-40ff-a2ea-43be0a24d65e 2025-05-06 19:26:32,607 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44682e47-b032-41d6-be60-81833168c3c4 2025-05-06 19:26:32,619 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-18601492', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59788132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6887067105324584784', 'uuid-lslong': '11113502601987387446'}, 'enable': 'true', 'created': '2025-05-06T19:26:30', 'last-modified': '2025-05-06T19:26:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.345846'} 2025-05-06 19:26:32,625 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-06 19:26:32,625 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18601492 passed 2025-05-06 19:26:32,625 - DEBUG - ====Verifying policy data for ctest-vn-18601492 in API_Server ====== 2025-05-06 19:26:32,625 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-06 19:26:32,630 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d8f7264-ebc2-45c8-b814-7a12367a6ade 2025-05-06 19:26:32,641 - DEBUG - Requesting: http://10.0.0.38:8082/project/a506ab79-122a-40ce-b24f-6689cc36a2f5 2025-05-06 19:26:32,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5f93c70b-0526-4f50-9a3b-17bc11d67036 2025-05-06 19:26:32,719 - DEBUG - ==>Verifying data for policy with id: 4125ae1a-6571-488d-bc1f-951da0cfabd2, fqn: ['default-domain', 'ctest-TestBasicPolicy-59788132', 'ctest-policy-allow-all-74095805'] 2025-05-06 19:26:32,719 - INFO - VN ctest-vn-18601492 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-06 19:26:32,719 - DEBUG - Verifying the vn in opserver 2025-05-06 19:26:32,719 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-18601492 virtual network link through opserver 10.0.0.38 2025-05-06 19:26:32,720 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-06 19:26:32,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-18601492', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-18601492?flat'} 2025-05-06 19:26:32,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-18601492 is found in opserver 2025-05-06 19:26:32,741 - DEBUG - Do not have enough data to verify VN in agent 2025-05-06 19:26:32,746 - DEBUG - VRF ids for VN ctest-vn-18601492: {} 2025-05-06 19:26:32,801 - DEBUG - Services list from nova: [, , ] 2025-05-06 19:26:33,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3279-1) 2025-05-06 19:26:34,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3279-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3279-1) 2025-05-06 19:26:34,961 - INFO - Waiting for VM ctest-TestBasicPolicy-59788132-17375404 to be up.. 2025-05-06 19:26:35,039 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-06 19:26:40,114 - DEBUG - VM is in ACTIVE state now 2025-05-06 19:26:40,115 - INFO - VM name : ctest-TestBasicPolicy-59788132-17375404 2025-05-06 19:26:40,192 - DEBUG - VM ctest-TestBasicPolicy-59788132-17375404 ID is 97042e45-a5e8-4715-9905-cb2c20936068 2025-05-06 19:26:40,216 - DEBUG - VM ctest-TestBasicPolicy-59788132-17375404 launched on Node cn-jenkins-deploy-platform-ansible-os-3279-1 2025-05-06 19:26:40,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/97042e45-a5e8-4715-9905-cb2c20936068 2025-05-06 19:26:40,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/03b1df66-acee-4648-91ee-f37ff12e6bdf 2025-05-06 19:26:43,572 - 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 1031ms') 2025-05-06 19:26:43,572 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59788132-17375404 failed! 2025-05-06 19:26:43,632 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59788132:ctest-vn-81805140 is 52.8.152.1 and allocation pool is NOT set 2025-05-06 19:26:45,695 - 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=3.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.038/2.036/3.034/0.998 ms') 2025-05-06 19:26:45,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59788132-17375404 passed 2025-05-06 19:26:45,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 19:26:45,852 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59788132-17375404, IP 52.8.152.3, Port 22 2025-05-06 19:26:46,004 - DEBUG - VM ctest-TestBasicPolicy-59788132-17375404 is ready for SSH connections 2025-05-06 19:26:46,004 - INFO - Waiting for VM ctest-TestBasicPolicy-59788132-56148531 to be up.. 2025-05-06 19:26:46,082 - DEBUG - VM is in ACTIVE state now 2025-05-06 19:26:46,082 - INFO - VM name : ctest-TestBasicPolicy-59788132-56148531 2025-05-06 19:26:46,162 - DEBUG - VM ctest-TestBasicPolicy-59788132-56148531 ID is 2ecee7d2-2c9a-44d2-b3fa-ebcce65787c3 2025-05-06 19:26:46,163 - DEBUG - VM ctest-TestBasicPolicy-59788132-56148531 launched on Node cn-jenkins-deploy-platform-ansible-os-3279-1 2025-05-06 19:26:46,233 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2ecee7d2-2c9a-44d2-b3fa-ebcce65787c3 2025-05-06 19:26:46,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8b3fec9e-e00a-40d0-8699-b215103be764 2025-05-06 19:26:47,483 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/1.690/2.952/1.262 ms') 2025-05-06 19:26:47,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59788132-56148531 passed 2025-05-06 19:26:47,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 19:26:47,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59788132-56148531, IP 14.48.62.131, Port 22 2025-05-06 19:26:47,787 - DEBUG - VM ctest-TestBasicPolicy-59788132-56148531 is ready for SSH connections 2025-05-06 19:26:47,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 19:26:47,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.48.62.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-06 19:26:47,788 - DEBUG - ping -s 56 -c 3 -W 1 14.48.62.131 2025-05-06 19:26:51,436 - DEBUG - PING 14.48.62.131 (14.48.62.131): 56 data bytes 64 bytes from 14.48.62.131: seq=0 ttl=63 time=3.234 ms 64 bytes from 14.48.62.131: seq=1 ttl=63 time=0.805 ms 64 bytes from 14.48.62.131: seq=2 ttl=63 time=1.843 ms --- 14.48.62.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.960/3.234 ms 2025-05-06 19:26:51,436 - INFO - Ping to IP 14.48.62.131 from VM ctest-TestBasicPolicy-59788132-17375404 passed 2025-05-06 19:26:51,631 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4125ae1a-6571-488d-bc1f-951da0cfabd2", "href": "http://10.0.0.38:8082/network-policy/4125ae1a-6571-488d-bc1f-951da0cfabd2"}} 2025-05-06 19:26:51,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-06 19:26:51,632 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.48.62.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-06 19:26:51,632 - DEBUG - ping -s 56 -c 3 -W 1 14.48.62.131 2025-05-06 19:26:54,856 - DEBUG - PING 14.48.62.131 (14.48.62.131): 56 data bytes --- 14.48.62.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-06 19:26:54,856 - WARNING - Ping to IP 14.48.62.131 from VM ctest-TestBasicPolicy-59788132-17375404 failed 2025-05-06 19:26:54,856 - INFO - Deleting VM ctest-TestBasicPolicy-59788132-56148531 2025-05-06 19:26:54,920 - INFO - Deleting VM ctest-TestBasicPolicy-59788132-17375404 2025-05-06 19:26:55,328 - INFO - Deleted policy ctest-policy-allow-all-74095805 2025-05-06 19:26:55,328 - INFO - Deleting VN ctest-vn-18601492 2025-05-06 19:26:55,361 - DEBUG - VN 5f93c70b-0526-4f50-9a3b-17bc11d67036 still in use: Unable to complete operation on network 5f93c70b-0526-4f50-9a3b-17bc11d67036. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3997476c-12e4-446c-ab6b-448271c229aa'] 2025-05-06 19:26:55,361 - WARNING - Deleting VN ctest-vn-18601492 failed..Will retry 2025-05-06 19:26:57,465 - DEBUG - Response for deleting network () 2025-05-06 19:26:57,466 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4017f3b1-8c30-40ff-a2ea-43be0a24d65e 2025-05-06 19:26:57,474 - DEBUG - Response Code: 404 2025-05-06 19:26:57,475 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-06 19:26:57,480 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d8f7264-ebc2-45c8-b814-7a12367a6ade 2025-05-06 19:26:57,533 - DEBUG - Requesting: http://10.0.0.38:8082/project/a506ab79-122a-40ce-b24f-6689cc36a2f5 2025-05-06 19:26:57,605 - INFO - Validated that VN ctest-vn-18601492 is not found in API Server 2025-05-06 19:26:57,616 - DEBUG - VN ctest-vn-18601492 is not present in Agent 10.0.0.38 2025-05-06 19:26:57,616 - INFO - Validated that VN ctest-vn-18601492 is not in any agent 2025-05-06 19:26:57,630 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18601492 info 2025-05-06 19:26:57,630 - INFO - Deleting VN ctest-vn-81805140 2025-05-06 19:26:57,726 - DEBUG - Response for deleting network () 2025-05-06 19:26:57,726 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e9e11106-5eff-4109-8599-44600ea227ca 2025-05-06 19:26:57,732 - DEBUG - Response Code: 404 2025-05-06 19:26:57,732 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-06 19:26:57,740 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0d8f7264-ebc2-45c8-b814-7a12367a6ade 2025-05-06 19:26:57,797 - DEBUG - Requesting: http://10.0.0.38:8082/project/a506ab79-122a-40ce-b24f-6689cc36a2f5 2025-05-06 19:26:57,872 - INFO - Validated that VN ctest-vn-81805140 is not found in API Server 2025-05-06 19:26:57,882 - DEBUG - VN ctest-vn-81805140 is not present in Agent 10.0.0.38 2025-05-06 19:26:57,882 - INFO - Validated that VN ctest-vn-81805140 is not in any agent 2025-05-06 19:26:57,895 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81805140 info 2025-05-06 19:26:58,146 - DEBUG - No XMPP flaps were noticed during the test 2025-05-06 19:26:58,146 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-06 19:26:58,146 - INFO - -------------------------------------------------------------------------------- 2025-05-06 19:26:58,804 - INFO - Deleted project: ctest-TestBasicPolicy-59788132, ID : a506ab79-122a-40ce-b24f-6689cc36a2f5