2025-06-03 14:01:46,137 - INFO - Domain Default found not creating 2025-06-03 14:01:46,283 - INFO - Project ctest-TestBasicPolicy-87504819 not found, creating it 2025-06-03 14:01:46,734 - INFO - Created Project:ctest-TestBasicPolicy-87504819, ID : 8a44dea5-3c2e-43e6-b006-403783eb524a 2025-06-03 14:01:48,360 - INFO - ================================================================================ 2025-06-03 14:01:48,360 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-03 14:01:48,360 - 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-06-03 14:01:48,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-03 14:01:48,617 - INFO - Initial checks done. Running the testcase now 2025-06-03 14:01:48,617 - INFO - 2025-06-03 14:01:49,203 - DEBUG - Response for create_network : {'network': {'id': '07a50942-ae70-4e9c-a55e-56c726b5946c', 'name': 'ctest-vn-54419195', 'tenant_id': '8a44dea53c2e43e6b006403783eb524a', 'project_id': '8a44dea53c2e43e6b006403783eb524a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-vn-54419195'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 14:01:49,386 - DEBUG - Response for create_subnet : {'subnet': {'id': '08795b53-8732-46a3-8b5d-cffe6a17d82f', 'name': '', 'tenant_id': '8a44dea53c2e43e6b006403783eb524a', 'network_id': '07a50942-ae70-4e9c-a55e-56c726b5946c', 'ip_version': 4, 'cidr': '112.35.212.192/26', 'allocation_pools': [{'start': '112.35.212.194', 'end': '112.35.212.254'}], 'gateway_ip': '112.35.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.35.212.194', 'tags': [], 'project_id': '8a44dea53c2e43e6b006403783eb524a'}} 2025-06-03 14:01:49,403 - INFO - Created VN ctest-vn-54419195 2025-06-03 14:01:49,455 - DEBUG - VN ctest-vn-54419195 UUID is 07a50942-ae70-4e9c-a55e-56c726b5946c 2025-06-03 14:01:49,819 - DEBUG - Response for create_network : {'network': {'id': 'c61fa2c4-4990-46c2-9382-0332556fb126', 'name': 'ctest-vn-56755448', 'tenant_id': '8a44dea53c2e43e6b006403783eb524a', 'project_id': '8a44dea53c2e43e6b006403783eb524a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-vn-56755448'], 'port_security_enabled': True, 'description': ''}} 2025-06-03 14:01:50,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '3af8f849-1bab-47d0-b48a-edb3fd11b3ca', 'name': '', 'tenant_id': '8a44dea53c2e43e6b006403783eb524a', 'network_id': 'c61fa2c4-4990-46c2-9382-0332556fb126', 'ip_version': 4, 'cidr': '195.193.27.0/26', 'allocation_pools': [{'start': '195.193.27.2', 'end': '195.193.27.62'}], 'gateway_ip': '195.193.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.193.27.2', 'tags': [], 'project_id': '8a44dea53c2e43e6b006403783eb524a'}} 2025-06-03 14:01:50,046 - INFO - Created VN ctest-vn-56755448 2025-06-03 14:01:50,103 - DEBUG - VN ctest-vn-56755448 UUID is c61fa2c4-4990-46c2-9382-0332556fb126 2025-06-03 14:01:50,221 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-54419195, 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-87504819:ctest-vn-56755448, 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-06-03 14:01:50,526 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07a50942-ae70-4e9c-a55e-56c726b5946c', 'name': 'ctest-vn-54419195', 'tenant_id': '8a44dea53c2e43e6b006403783eb524a', 'project_id': '8a44dea53c2e43e6b006403783eb524a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['08795b53-8732-46a3-8b5d-cffe6a17d82f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-vn-54419195'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-policy-allow-all-82434510']], 'subnet_ipam': [{'subnet_cidr': '112.35.212.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-03 14:01:50,804 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c61fa2c4-4990-46c2-9382-0332556fb126', 'name': 'ctest-vn-56755448', 'tenant_id': '8a44dea53c2e43e6b006403783eb524a', 'project_id': '8a44dea53c2e43e6b006403783eb524a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3af8f849-1bab-47d0-b48a-edb3fd11b3ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-vn-56755448'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-policy-allow-all-82434510']], 'subnet_ipam': [{'subnet_cidr': '195.193.27.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-03 14:01:50,959 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-03 14:01:51,305 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-03 14:01:51,336 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cf666fe2-db63-4423-94eb-bae10672e136 2025-06-03 14:01:51,354 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a44dea5-3c2e-43e6-b006-403783eb524a 2025-06-03 14:01:51,428 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a50942-ae70-4e9c-a55e-56c726b5946c 2025-06-03 14:01:51,442 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a50942-ae70-4e9c-a55e-56c726b5946c 2025-06-03 14:01:51,453 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5d7cf6f4-7fa6-4475-9608-13d1a6bd039d 2025-06-03 14:01:51,462 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5d7cf6f4-7fa6-4475-9608-13d1a6bd039d 2025-06-03 14:01:51,469 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6713ce4c-bbb1-4b7d-8474-02f2097c4e79 2025-06-03 14:01:51,478 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-03 14:01:51,478 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a50942-ae70-4e9c-a55e-56c726b5946c 2025-06-03 14:01:51,488 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5d7cf6f4-7fa6-4475-9608-13d1a6bd039d 2025-06-03 14:01:51,504 - INFO - Verified VN network id 8 for VN 07a50942-ae70-4e9c-a55e-56c726b5946c 2025-06-03 14:01:51,504 - INFO - Verifications in API Server for VN ctest-vn-54419195 passed 2025-06-03 14:01:51,504 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a50942-ae70-4e9c-a55e-56c726b5946c 2025-06-03 14:01:51,514 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5d7cf6f4-7fa6-4475-9608-13d1a6bd039d 2025-06-03 14:01:51,522 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5d7cf6f4-7fa6-4475-9608-13d1a6bd039d 2025-06-03 14:01:51,530 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6713ce4c-bbb1-4b7d-8474-02f2097c4e79 2025-06-03 14:01:51,544 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-54419195', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87504819', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '550856711421841052', 'uuid-lslong': '11916057077416825964'}, 'enable': 'true', 'created': '2025-06-03T14:01:49', 'last-modified': '2025-06-03T14:01:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.044182'} 2025-06-03 14:01:51,551 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-03 14:01:51,551 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54419195 passed 2025-06-03 14:01:51,552 - DEBUG - ====Verifying policy data for ctest-vn-54419195 in API_Server ====== 2025-06-03 14:01:51,552 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-03 14:01:51,558 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cf666fe2-db63-4423-94eb-bae10672e136 2025-06-03 14:01:51,571 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a44dea5-3c2e-43e6-b006-403783eb524a 2025-06-03 14:01:51,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/07a50942-ae70-4e9c-a55e-56c726b5946c 2025-06-03 14:01:51,655 - DEBUG - ==>Verifying data for policy with id: 64fa6137-b77c-4a25-9c33-c75d9abee836, fqn: ['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-policy-allow-all-82434510'] 2025-06-03 14:01:51,655 - INFO - VN ctest-vn-54419195 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-03 14:01:51,655 - DEBUG - Verifying the vn in opserver 2025-06-03 14:01:51,655 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-54419195 virtual network link through opserver 10.0.0.254 2025-06-03 14:01:51,655 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-03 14:01:51,988 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-03 14:01:52,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-54419195', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-54419195?flat'} 2025-06-03 14:01:52,048 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-54419195 is found in opserver 2025-06-03 14:01:52,061 - DEBUG - Do not have enough data to verify VN in agent 2025-06-03 14:01:52,066 - DEBUG - VRF ids for VN ctest-vn-54419195: {} 2025-06-03 14:01:52,066 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-03 14:01:52,073 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cf666fe2-db63-4423-94eb-bae10672e136 2025-06-03 14:01:52,086 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a44dea5-3c2e-43e6-b006-403783eb524a 2025-06-03 14:01:52,162 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c61fa2c4-4990-46c2-9382-0332556fb126 2025-06-03 14:01:52,176 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c61fa2c4-4990-46c2-9382-0332556fb126 2025-06-03 14:01:52,187 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bef83290-d7a1-444e-b8ce-68e6610f2ec9 2025-06-03 14:01:52,195 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bef83290-d7a1-444e-b8ce-68e6610f2ec9 2025-06-03 14:01:52,203 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9fd6de3f-d97b-4b9a-9076-2d0da045fd79 2025-06-03 14:01:52,210 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-03 14:01:52,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c61fa2c4-4990-46c2-9382-0332556fb126 2025-06-03 14:01:52,220 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bef83290-d7a1-444e-b8ce-68e6610f2ec9 2025-06-03 14:01:52,236 - INFO - Verified VN network id 9 for VN c61fa2c4-4990-46c2-9382-0332556fb126 2025-06-03 14:01:52,237 - INFO - Verifications in API Server for VN ctest-vn-56755448 passed 2025-06-03 14:01:52,237 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c61fa2c4-4990-46c2-9382-0332556fb126 2025-06-03 14:01:52,248 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bef83290-d7a1-444e-b8ce-68e6610f2ec9 2025-06-03 14:01:52,256 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bef83290-d7a1-444e-b8ce-68e6610f2ec9 2025-06-03 14:01:52,264 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9fd6de3f-d97b-4b9a-9076-2d0da045fd79 2025-06-03 14:01:52,278 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-56755448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87504819', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14276308307719243458', 'uuid-lslong': '10629061585264423206'}, 'enable': 'true', 'created': '2025-06-03T14:01:49', 'last-modified': '2025-06-03T14:01:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.539309'} 2025-06-03 14:01:52,286 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-03 14:01:52,286 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56755448 passed 2025-06-03 14:01:52,286 - DEBUG - ====Verifying policy data for ctest-vn-56755448 in API_Server ====== 2025-06-03 14:01:52,286 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-03 14:01:52,292 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cf666fe2-db63-4423-94eb-bae10672e136 2025-06-03 14:01:52,305 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a44dea5-3c2e-43e6-b006-403783eb524a 2025-06-03 14:01:52,383 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c61fa2c4-4990-46c2-9382-0332556fb126 2025-06-03 14:01:52,394 - DEBUG - ==>Verifying data for policy with id: 64fa6137-b77c-4a25-9c33-c75d9abee836, fqn: ['default-domain', 'ctest-TestBasicPolicy-87504819', 'ctest-policy-allow-all-82434510'] 2025-06-03 14:01:52,394 - INFO - VN ctest-vn-56755448 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-03 14:01:52,394 - DEBUG - Verifying the vn in opserver 2025-06-03 14:01:52,394 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-56755448 virtual network link through opserver 10.0.0.254 2025-06-03 14:01:52,394 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-03 14:01:52,406 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-56755448', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-56755448?flat'} 2025-06-03 14:01:52,406 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-56755448 is found in opserver 2025-06-03 14:01:52,417 - DEBUG - Do not have enough data to verify VN in agent 2025-06-03 14:01:52,422 - DEBUG - VRF ids for VN ctest-vn-56755448: {} 2025-06-03 14:01:52,481 - DEBUG - Services list from nova: [, , ] 2025-06-03 14:01:53,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3395-1) 2025-06-03 14:01:54,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3395-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3395-1) 2025-06-03 14:01:54,947 - INFO - Waiting for VM ctest-TestBasicPolicy-87504819-39489493 to be up.. 2025-06-03 14:01:55,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-03 14:02:00,120 - DEBUG - VM is in ACTIVE state now 2025-06-03 14:02:00,120 - INFO - VM name : ctest-TestBasicPolicy-87504819-39489493 2025-06-03 14:02:00,223 - DEBUG - VM ctest-TestBasicPolicy-87504819-39489493 ID is f99d99fc-3ac5-4474-8dca-4813f9608ce9 2025-06-03 14:02:00,244 - DEBUG - VM ctest-TestBasicPolicy-87504819-39489493 launched on Node cn-jenkins-deploy-platform-ansible-os-3395-1 2025-06-03 14:02:00,335 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f99d99fc-3ac5-4474-8dca-4813f9608ce9 2025-06-03 14:02:00,345 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c2fc4c5c-4425-4989-a4f5-d81f1330841b 2025-06-03 14:02:03,629 - 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 1027ms') 2025-06-03 14:02:03,629 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87504819-39489493 failed! 2025-06-03 14:02:03,691 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87504819:ctest-vn-54419195 is 112.35.212.193 and allocation pool is NOT set 2025-06-03 14:02:05,759 - 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=6.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.82 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 = 2.820/4.587/6.354/1.767 ms') 2025-06-03 14:02:05,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87504819-39489493 passed 2025-06-03 14:02:05,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 14:02:05,911 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87504819-39489493, IP 112.35.212.195, Port 22 2025-06-03 14:02:06,067 - DEBUG - VM ctest-TestBasicPolicy-87504819-39489493 is ready for SSH connections 2025-06-03 14:02:06,067 - INFO - Waiting for VM ctest-TestBasicPolicy-87504819-89404946 to be up.. 2025-06-03 14:02:06,153 - DEBUG - VM is in ACTIVE state now 2025-06-03 14:02:06,153 - INFO - VM name : ctest-TestBasicPolicy-87504819-89404946 2025-06-03 14:02:06,229 - DEBUG - VM ctest-TestBasicPolicy-87504819-89404946 ID is 68df283e-c0aa-4bff-bf06-3e3ac4f0a17a 2025-06-03 14:02:06,229 - DEBUG - VM ctest-TestBasicPolicy-87504819-89404946 launched on Node cn-jenkins-deploy-platform-ansible-os-3395-1 2025-06-03 14:02:06,307 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/68df283e-c0aa-4bff-bf06-3e3ac4f0a17a 2025-06-03 14:02:06,316 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/649370df-736a-4bdc-86d1-cca0f98eb38c 2025-06-03 14:02:07,572 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.782 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.782/2.671/4.560/1.889 ms') 2025-06-03 14:02:07,572 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87504819-89404946 passed 2025-06-03 14:02:07,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 14:02:07,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87504819-89404946, IP 195.193.27.3, Port 22 2025-06-03 14:02:07,878 - DEBUG - VM ctest-TestBasicPolicy-87504819-89404946 is ready for SSH connections 2025-06-03 14:02:07,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 14:02:07,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.193.27.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-03 14:02:07,878 - DEBUG - ping -s 56 -c 3 -W 1 195.193.27.3 2025-06-03 14:02:11,621 - DEBUG - PING 195.193.27.3 (195.193.27.3): 56 data bytes 64 bytes from 195.193.27.3: seq=0 ttl=63 time=3.871 ms 64 bytes from 195.193.27.3: seq=1 ttl=63 time=1.039 ms 64 bytes from 195.193.27.3: seq=2 ttl=63 time=0.809 ms --- 195.193.27.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.906/3.871 ms 2025-06-03 14:02:11,621 - INFO - Ping to IP 195.193.27.3 from VM ctest-TestBasicPolicy-87504819-39489493 passed 2025-06-03 14:02:11,803 - DEBUG - Policy Update Response {"network-policy": {"uuid": "64fa6137-b77c-4a25-9c33-c75d9abee836", "href": "http://10.0.0.254:8082/network-policy/64fa6137-b77c-4a25-9c33-c75d9abee836"}} 2025-06-03 14:02:11,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-03 14:02:11,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.193.27.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-03 14:02:11,803 - DEBUG - ping -s 56 -c 3 -W 1 195.193.27.3 2025-06-03 14:02:15,027 - DEBUG - PING 195.193.27.3 (195.193.27.3): 56 data bytes 64 bytes from 195.193.27.3: seq=0 ttl=63 time=1.389 ms --- 195.193.27.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.389/1.389/1.389 ms 2025-06-03 14:02:15,027 - WARNING - Ping to IP 195.193.27.3 from VM ctest-TestBasicPolicy-87504819-39489493 failed 2025-06-03 14:02:15,027 - INFO - Deleting VM ctest-TestBasicPolicy-87504819-89404946 2025-06-03 14:02:15,092 - INFO - Deleting VM ctest-TestBasicPolicy-87504819-39489493 2025-06-03 14:02:15,509 - INFO - Deleted policy ctest-policy-allow-all-82434510 2025-06-03 14:02:15,509 - INFO - Deleting VN ctest-vn-56755448 2025-06-03 14:02:15,542 - DEBUG - VN c61fa2c4-4990-46c2-9382-0332556fb126 still in use: Unable to complete operation on network c61fa2c4-4990-46c2-9382-0332556fb126. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8cb9e852-4ba1-4131-bcaa-bfac310b17b3'] 2025-06-03 14:02:15,542 - WARNING - Deleting VN ctest-vn-56755448 failed..Will retry 2025-06-03 14:02:17,646 - DEBUG - Response for deleting network () 2025-06-03 14:02:17,646 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bef83290-d7a1-444e-b8ce-68e6610f2ec9 2025-06-03 14:02:17,653 - DEBUG - Response Code: 404 2025-06-03 14:02:17,653 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-03 14:02:17,659 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cf666fe2-db63-4423-94eb-bae10672e136 2025-06-03 14:02:17,717 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a44dea5-3c2e-43e6-b006-403783eb524a 2025-06-03 14:02:17,798 - INFO - Validated that VN ctest-vn-56755448 is not found in API Server 2025-06-03 14:02:17,811 - DEBUG - VN ctest-vn-56755448 is not present in Agent 10.0.0.254 2025-06-03 14:02:17,811 - INFO - Validated that VN ctest-vn-56755448 is not in any agent 2025-06-03 14:02:17,828 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56755448 info 2025-06-03 14:02:17,828 - INFO - Deleting VN ctest-vn-54419195 2025-06-03 14:02:17,941 - DEBUG - Response for deleting network () 2025-06-03 14:02:17,941 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5d7cf6f4-7fa6-4475-9608-13d1a6bd039d 2025-06-03 14:02:17,950 - DEBUG - Response Code: 404 2025-06-03 14:02:17,950 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-03 14:02:17,956 - DEBUG - Requesting: http://10.0.0.254:8082/domain/cf666fe2-db63-4423-94eb-bae10672e136 2025-06-03 14:02:18,012 - DEBUG - Requesting: http://10.0.0.254:8082/project/8a44dea5-3c2e-43e6-b006-403783eb524a 2025-06-03 14:02:18,086 - INFO - Validated that VN ctest-vn-54419195 is not found in API Server 2025-06-03 14:02:18,098 - DEBUG - VN ctest-vn-54419195 is not present in Agent 10.0.0.254 2025-06-03 14:02:18,098 - INFO - Validated that VN ctest-vn-54419195 is not in any agent 2025-06-03 14:02:18,119 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54419195 info 2025-06-03 14:02:18,372 - DEBUG - No XMPP flaps were noticed during the test
2025-06-03 14:02:18,372 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-03 14:02:18,373 - INFO - -------------------------------------------------------------------------------- 2025-06-03 14:02:19,118 - INFO - Deleted project: ctest-TestBasicPolicy-87504819, ID : 8a44dea5-3c2e-43e6-b006-403783eb524a