2025-08-29 14:28:44,614 - INFO - Domain Default found not creating 2025-08-29 14:28:44,783 - INFO - Project ctest-TestBasicPolicy-97259466 not found, creating it 2025-08-29 14:28:45,235 - INFO - Created Project:ctest-TestBasicPolicy-97259466, ID : c6cd133b-af56-438d-bea5-89c9ade19860 2025-08-29 14:28:46,583 - INFO - ================================================================================ 2025-08-29 14:28:46,583 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-29 14:28:46,583 - 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-08-29 14:28:46,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 14:28:46,842 - INFO - Initial checks done. Running the testcase now 2025-08-29 14:28:46,842 - INFO - 2025-08-29 14:28:47,359 - DEBUG - Response for create_network : {'network': {'id': '748e7dbe-3aa3-434b-b17a-1df6915c6510', 'name': 'ctest-vn-11041161', 'tenant_id': 'c6cd133baf56438dbea589c9ade19860', 'project_id': 'c6cd133baf56438dbea589c9ade19860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-vn-11041161'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 14:28:47,553 - DEBUG - Response for create_subnet : {'subnet': {'id': '70ac3883-3194-4fac-8d0c-68585ab7b0f1', 'name': '', 'tenant_id': 'c6cd133baf56438dbea589c9ade19860', 'network_id': '748e7dbe-3aa3-434b-b17a-1df6915c6510', 'ip_version': 4, 'cidr': '216.24.72.192/26', 'allocation_pools': [{'start': '216.24.72.194', 'end': '216.24.72.254'}], 'gateway_ip': '216.24.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.24.72.194', 'tags': [], 'project_id': 'c6cd133baf56438dbea589c9ade19860'}} 2025-08-29 14:28:47,569 - INFO - Created VN ctest-vn-11041161 2025-08-29 14:28:47,617 - DEBUG - VN ctest-vn-11041161 UUID is 748e7dbe-3aa3-434b-b17a-1df6915c6510 2025-08-29 14:28:47,927 - DEBUG - Response for create_network : {'network': {'id': '65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8', 'name': 'ctest-vn-12440031', 'tenant_id': 'c6cd133baf56438dbea589c9ade19860', 'project_id': 'c6cd133baf56438dbea589c9ade19860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-vn-12440031'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 14:28:48,116 - DEBUG - Response for create_subnet : {'subnet': {'id': '475683cb-873c-4dbe-a400-d02dc8f1c48c', 'name': '', 'tenant_id': 'c6cd133baf56438dbea589c9ade19860', 'network_id': '65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8', 'ip_version': 4, 'cidr': '54.80.6.64/26', 'allocation_pools': [{'start': '54.80.6.66', 'end': '54.80.6.126'}], 'gateway_ip': '54.80.6.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.80.6.66', 'tags': [], 'project_id': 'c6cd133baf56438dbea589c9ade19860'}} 2025-08-29 14:28:48,135 - INFO - Created VN ctest-vn-12440031 2025-08-29 14:28:48,185 - DEBUG - VN ctest-vn-12440031 UUID is 65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 2025-08-29 14:28:48,337 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-11041161, 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-97259466:ctest-vn-12440031, 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-08-29 14:28:48,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '748e7dbe-3aa3-434b-b17a-1df6915c6510', 'name': 'ctest-vn-11041161', 'tenant_id': 'c6cd133baf56438dbea589c9ade19860', 'project_id': 'c6cd133baf56438dbea589c9ade19860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70ac3883-3194-4fac-8d0c-68585ab7b0f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-vn-11041161'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-policy-allow-all-96305705']], 'subnet_ipam': [{'subnet_cidr': '216.24.72.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-29 14:28:48,848 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8', 'name': 'ctest-vn-12440031', 'tenant_id': 'c6cd133baf56438dbea589c9ade19860', 'project_id': 'c6cd133baf56438dbea589c9ade19860', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['475683cb-873c-4dbe-a400-d02dc8f1c48c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-vn-12440031'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-policy-allow-all-96305705']], 'subnet_ipam': [{'subnet_cidr': '54.80.6.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-29 14:28:49,009 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 14:28:49,301 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 14:28:49,328 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9fbf19a5-98bd-498d-ac68-1bfc368e7dab 2025-08-29 14:28:49,342 - DEBUG - Requesting: http://10.0.0.254:8082/project/c6cd133b-af56-438d-bea5-89c9ade19860 2025-08-29 14:28:49,412 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/748e7dbe-3aa3-434b-b17a-1df6915c6510 2025-08-29 14:28:49,423 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/748e7dbe-3aa3-434b-b17a-1df6915c6510 2025-08-29 14:28:49,431 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/55069ee3-e135-4ebf-a007-e5806c72fc10 2025-08-29 14:28:49,438 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/55069ee3-e135-4ebf-a007-e5806c72fc10 2025-08-29 14:28:49,444 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0ea994e2-7ca1-489b-85b5-2fa9818504d9 2025-08-29 14:28:49,449 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-29 14:28:49,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/748e7dbe-3aa3-434b-b17a-1df6915c6510 2025-08-29 14:28:49,457 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/55069ee3-e135-4ebf-a007-e5806c72fc10 2025-08-29 14:28:49,471 - INFO - Verified VN network id 12 for VN 748e7dbe-3aa3-434b-b17a-1df6915c6510 2025-08-29 14:28:49,471 - INFO - Verifications in API Server for VN ctest-vn-11041161 passed 2025-08-29 14:28:49,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/748e7dbe-3aa3-434b-b17a-1df6915c6510 2025-08-29 14:28:49,480 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/55069ee3-e135-4ebf-a007-e5806c72fc10 2025-08-29 14:28:49,486 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/55069ee3-e135-4ebf-a007-e5806c72fc10 2025-08-29 14:28:49,492 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0ea994e2-7ca1-489b-85b5-2fa9818504d9 2025-08-29 14:28:49,502 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-11041161', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97259466', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8398788611073590091', 'uuid-lslong': '12788567036709856528'}, 'enable': 'true', 'created': '2025-08-29T14:28:47', 'last-modified': '2025-08-29T14:28:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907652'} 2025-08-29 14:28:49,508 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-29 14:28:49,509 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11041161 passed 2025-08-29 14:28:49,510 - DEBUG - ====Verifying policy data for ctest-vn-11041161 in API_Server ====== 2025-08-29 14:28:49,510 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 14:28:49,515 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9fbf19a5-98bd-498d-ac68-1bfc368e7dab 2025-08-29 14:28:49,526 - DEBUG - Requesting: http://10.0.0.254:8082/project/c6cd133b-af56-438d-bea5-89c9ade19860 2025-08-29 14:28:49,596 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/748e7dbe-3aa3-434b-b17a-1df6915c6510 2025-08-29 14:28:49,603 - DEBUG - ==>Verifying data for policy with id: 1d57efbe-ad64-48ef-858a-0dc00cc6e926, fqn: ['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-policy-allow-all-96305705'] 2025-08-29 14:28:49,603 - INFO - VN ctest-vn-11041161 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-29 14:28:49,603 - DEBUG - Verifying the vn in opserver 2025-08-29 14:28:49,603 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-11041161 virtual network link through opserver 10.0.0.254 2025-08-29 14:28:49,604 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 14:28:49,896 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 14:28:49,955 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-11041161', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-11041161?flat'} 2025-08-29 14:28:49,955 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-11041161 is found in opserver 2025-08-29 14:28:49,963 - DEBUG - Do not have enough data to verify VN in agent 2025-08-29 14:28:49,967 - DEBUG - VRF ids for VN ctest-vn-11041161: {} 2025-08-29 14:28:49,967 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 14:28:49,972 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9fbf19a5-98bd-498d-ac68-1bfc368e7dab 2025-08-29 14:28:49,982 - DEBUG - Requesting: http://10.0.0.254:8082/project/c6cd133b-af56-438d-bea5-89c9ade19860 2025-08-29 14:28:50,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 2025-08-29 14:28:50,056 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 2025-08-29 14:28:50,065 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/159016f8-5824-447d-8fed-4a3e87df7ee9 2025-08-29 14:28:50,072 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/159016f8-5824-447d-8fed-4a3e87df7ee9 2025-08-29 14:28:50,078 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/211a719a-fc63-4fd0-8ea8-e5f312011063 2025-08-29 14:28:50,085 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-29 14:28:50,085 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 2025-08-29 14:28:50,095 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/159016f8-5824-447d-8fed-4a3e87df7ee9 2025-08-29 14:28:50,109 - INFO - Verified VN network id 13 for VN 65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 2025-08-29 14:28:50,109 - INFO - Verifications in API Server for VN ctest-vn-12440031 passed 2025-08-29 14:28:50,110 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 2025-08-29 14:28:50,120 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/159016f8-5824-447d-8fed-4a3e87df7ee9 2025-08-29 14:28:50,126 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/159016f8-5824-447d-8fed-4a3e87df7ee9 2025-08-29 14:28:50,132 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/211a719a-fc63-4fd0-8ea8-e5f312011063 2025-08-29 14:28:50,143 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-12440031', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97259466', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7335648721622747874', 'uuid-lslong': '11660165202053217464'}, 'enable': 'true', 'created': '2025-08-29T14:28:47', 'last-modified': '2025-08-29T14:28:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.314263'} 2025-08-29 14:28:50,150 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-29 14:28:50,150 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12440031 passed 2025-08-29 14:28:50,150 - DEBUG - ====Verifying policy data for ctest-vn-12440031 in API_Server ====== 2025-08-29 14:28:50,150 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 14:28:50,155 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9fbf19a5-98bd-498d-ac68-1bfc368e7dab 2025-08-29 14:28:50,165 - DEBUG - Requesting: http://10.0.0.254:8082/project/c6cd133b-af56-438d-bea5-89c9ade19860 2025-08-29 14:28:50,230 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 2025-08-29 14:28:50,238 - DEBUG - ==>Verifying data for policy with id: 1d57efbe-ad64-48ef-858a-0dc00cc6e926, fqn: ['default-domain', 'ctest-TestBasicPolicy-97259466', 'ctest-policy-allow-all-96305705'] 2025-08-29 14:28:50,238 - INFO - VN ctest-vn-12440031 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-29 14:28:50,238 - DEBUG - Verifying the vn in opserver 2025-08-29 14:28:50,238 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-12440031 virtual network link through opserver 10.0.0.254 2025-08-29 14:28:50,238 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 14:28:50,247 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-12440031', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-12440031?flat'} 2025-08-29 14:28:50,247 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-12440031 is found in opserver 2025-08-29 14:28:50,255 - DEBUG - Do not have enough data to verify VN in agent 2025-08-29 14:28:50,263 - DEBUG - VRF ids for VN ctest-vn-12440031: {} 2025-08-29 14:28:50,316 - DEBUG - Services list from nova: [, , ] 2025-08-29 14:28:51,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3973-1) 2025-08-29 14:28:52,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3973-1) 2025-08-29 14:28:52,691 - INFO - Waiting for VM ctest-TestBasicPolicy-97259466-78748646 to be up.. 2025-08-29 14:28:52,834 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 14:28:57,908 - DEBUG - VM is in ACTIVE state now 2025-08-29 14:28:57,908 - INFO - VM name : ctest-TestBasicPolicy-97259466-78748646 2025-08-29 14:28:57,980 - DEBUG - VM ctest-TestBasicPolicy-97259466-78748646 ID is 20f2652e-fa5e-45d4-a880-d0b2230d4fc6 2025-08-29 14:28:58,000 - DEBUG - VM ctest-TestBasicPolicy-97259466-78748646 launched on Node cn-jenkins-deploy-platform-ansible-os-3973-1 2025-08-29 14:28:58,071 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/20f2652e-fa5e-45d4-a880-d0b2230d4fc6 2025-08-29 14:28:58,079 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2994b801-df77-4665-a27d-e72bf81cafc7 2025-08-29 14:29:01,332 - 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-08-29 14:29:01,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97259466-78748646 failed! 2025-08-29 14:29:01,385 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97259466:ctest-vn-11041161 is 216.24.72.193 and allocation pool is NOT set 2025-08-29 14:29:03,442 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.89 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.893/3.295/4.697/1.402 ms') 2025-08-29 14:29:03,442 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97259466-78748646 passed 2025-08-29 14:29:03,593 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:29:03,593 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97259466-78748646, IP 216.24.72.195, Port 22 2025-08-29 14:29:03,753 - DEBUG - VM ctest-TestBasicPolicy-97259466-78748646 is ready for SSH connections 2025-08-29 14:29:03,753 - INFO - Waiting for VM ctest-TestBasicPolicy-97259466-95476261 to be up.. 2025-08-29 14:29:03,822 - DEBUG - VM is in ACTIVE state now 2025-08-29 14:29:03,822 - INFO - VM name : ctest-TestBasicPolicy-97259466-95476261 2025-08-29 14:29:03,888 - DEBUG - VM ctest-TestBasicPolicy-97259466-95476261 ID is 266bd1cf-a005-4adb-8939-2cbda8ce59ea 2025-08-29 14:29:03,888 - DEBUG - VM ctest-TestBasicPolicy-97259466-95476261 launched on Node cn-jenkins-deploy-platform-ansible-os-3973-1 2025-08-29 14:29:03,958 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/266bd1cf-a005-4adb-8939-2cbda8ce59ea 2025-08-29 14:29:03,965 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ecb37b7b-a823-425d-8c9e-3be2e41c5791 2025-08-29 14:29:05,201 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.707/2.960/1.252 ms') 2025-08-29 14:29:05,201 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97259466-95476261 passed 2025-08-29 14:29:05,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:29:05,349 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97259466-95476261, IP 54.80.6.67, Port 22 2025-08-29 14:29:05,505 - DEBUG - VM ctest-TestBasicPolicy-97259466-95476261 is ready for SSH connections 2025-08-29 14:29:05,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:29:05,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.80.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 14:29:05,506 - DEBUG - ping -s 56 -c 3 -W 1 54.80.6.67 2025-08-29 14:29:09,226 - DEBUG - PING 54.80.6.67 (54.80.6.67): 56 data bytes 64 bytes from 54.80.6.67: seq=0 ttl=63 time=3.326 ms 64 bytes from 54.80.6.67: seq=1 ttl=63 time=0.830 ms 64 bytes from 54.80.6.67: seq=2 ttl=63 time=0.759 ms --- 54.80.6.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/1.638/3.326 ms 2025-08-29 14:29:09,226 - INFO - Ping to IP 54.80.6.67 from VM ctest-TestBasicPolicy-97259466-78748646 passed 2025-08-29 14:29:09,397 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1d57efbe-ad64-48ef-858a-0dc00cc6e926", "href": "http://10.0.0.254:8082/network-policy/1d57efbe-ad64-48ef-858a-0dc00cc6e926"}} 2025-08-29 14:29:09,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 14:29:09,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.80.6.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 14:29:09,397 - DEBUG - ping -s 56 -c 3 -W 1 54.80.6.67 2025-08-29 14:29:12,612 - DEBUG - PING 54.80.6.67 (54.80.6.67): 56 data bytes --- 54.80.6.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-29 14:29:12,612 - WARNING - Ping to IP 54.80.6.67 from VM ctest-TestBasicPolicy-97259466-78748646 failed 2025-08-29 14:29:12,612 - INFO - Deleting VM ctest-TestBasicPolicy-97259466-95476261 2025-08-29 14:29:12,670 - INFO - Deleting VM ctest-TestBasicPolicy-97259466-78748646 2025-08-29 14:29:13,003 - INFO - Deleted policy ctest-policy-allow-all-96305705 2025-08-29 14:29:13,003 - INFO - Deleting VN ctest-vn-12440031 2025-08-29 14:29:13,041 - DEBUG - VN 65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8 still in use: Unable to complete operation on network 65cd75a5-795f-4ae2-a1d1-3a791ac0bcb8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11f77a15-9b9f-4e4a-975e-61495d7a290e'] 2025-08-29 14:29:13,041 - WARNING - Deleting VN ctest-vn-12440031 failed..Will retry 2025-08-29 14:29:15,138 - DEBUG - Response for deleting network () 2025-08-29 14:29:15,138 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/159016f8-5824-447d-8fed-4a3e87df7ee9 2025-08-29 14:29:15,143 - DEBUG - Response Code: 404 2025-08-29 14:29:15,143 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 14:29:15,148 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9fbf19a5-98bd-498d-ac68-1bfc368e7dab 2025-08-29 14:29:15,200 - DEBUG - Requesting: http://10.0.0.254:8082/project/c6cd133b-af56-438d-bea5-89c9ade19860 2025-08-29 14:29:15,273 - INFO - Validated that VN ctest-vn-12440031 is not found in API Server 2025-08-29 14:29:15,282 - DEBUG - VN ctest-vn-12440031 is not present in Agent 10.0.0.254 2025-08-29 14:29:15,282 - INFO - Validated that VN ctest-vn-12440031 is not in any agent 2025-08-29 14:29:15,295 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12440031 info 2025-08-29 14:29:15,295 - INFO - Deleting VN ctest-vn-11041161 2025-08-29 14:29:15,389 - DEBUG - Response for deleting network () 2025-08-29 14:29:15,389 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/55069ee3-e135-4ebf-a007-e5806c72fc10 2025-08-29 14:29:15,395 - DEBUG - Response Code: 404 2025-08-29 14:29:15,396 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 14:29:15,401 - DEBUG - Requesting: http://10.0.0.254:8082/domain/9fbf19a5-98bd-498d-ac68-1bfc368e7dab 2025-08-29 14:29:15,454 - DEBUG - Requesting: http://10.0.0.254:8082/project/c6cd133b-af56-438d-bea5-89c9ade19860 2025-08-29 14:29:15,520 - INFO - Validated that VN ctest-vn-11041161 is not found in API Server 2025-08-29 14:29:15,529 - DEBUG - VN ctest-vn-11041161 is not present in Agent 10.0.0.254 2025-08-29 14:29:15,529 - INFO - Validated that VN ctest-vn-11041161 is not in any agent 2025-08-29 14:29:15,541 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11041161 info 2025-08-29 14:29:15,794 - DEBUG - No XMPP flaps were noticed during the test
2025-08-29 14:29:15,794 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-29 14:29:15,794 - INFO - -------------------------------------------------------------------------------- 2025-08-29 14:29:16,453 - INFO - Deleted project: ctest-TestBasicPolicy-97259466, ID : c6cd133b-af56-438d-bea5-89c9ade19860