2025-06-23 02:03:08,794 - INFO - Domain Default found not creating 2025-06-23 02:03:08,932 - INFO - Project ctest-TestBasicPolicy-77234239 not found, creating it 2025-06-23 02:03:09,396 - INFO - Created Project:ctest-TestBasicPolicy-77234239, ID : cb7b4af4-4f00-4029-9602-7c9628cec524 2025-06-23 02:03:10,786 - INFO - ================================================================================ 2025-06-23 02:03:10,786 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-23 02:03:10,786 - 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-23 02:03:11,049 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-06-23 02:03:11,049 - INFO - Initial checks done. Running the testcase now 2025-06-23 02:03:11,049 - INFO - 2025-06-23 02:03:11,633 - DEBUG - Response for create_network : {'network': {'id': 'd76e5667-6e92-44ba-9600-67d36307fbcd', 'name': 'ctest-vn-79658540', 'tenant_id': 'cb7b4af44f00402996027c9628cec524', 'project_id': 'cb7b4af44f00402996027c9628cec524', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-vn-79658540'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:03:11,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '18baf4b3-955d-427e-a60f-d681b0d8a868', 'name': '', 'tenant_id': 'cb7b4af44f00402996027c9628cec524', 'network_id': 'd76e5667-6e92-44ba-9600-67d36307fbcd', 'ip_version': 4, 'cidr': '119.201.25.64/26', 'allocation_pools': [{'start': '119.201.25.66', 'end': '119.201.25.126'}], 'gateway_ip': '119.201.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.201.25.66', 'tags': [], 'project_id': 'cb7b4af44f00402996027c9628cec524'}} 2025-06-23 02:03:11,814 - INFO - Created VN ctest-vn-79658540 2025-06-23 02:03:11,865 - DEBUG - VN ctest-vn-79658540 UUID is d76e5667-6e92-44ba-9600-67d36307fbcd 2025-06-23 02:03:12,186 - DEBUG - Response for create_network : {'network': {'id': 'cf6f9e0f-9df9-4477-aeaf-54f2da80d805', 'name': 'ctest-vn-13235979', 'tenant_id': 'cb7b4af44f00402996027c9628cec524', 'project_id': 'cb7b4af44f00402996027c9628cec524', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-vn-13235979'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:03:12,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '85d554a9-8d38-475d-99c7-5f8cf229f496', 'name': '', 'tenant_id': 'cb7b4af44f00402996027c9628cec524', 'network_id': 'cf6f9e0f-9df9-4477-aeaf-54f2da80d805', 'ip_version': 4, 'cidr': '191.47.100.64/26', 'allocation_pools': [{'start': '191.47.100.66', 'end': '191.47.100.126'}], 'gateway_ip': '191.47.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.47.100.66', 'tags': [], 'project_id': 'cb7b4af44f00402996027c9628cec524'}} 2025-06-23 02:03:12,376 - INFO - Created VN ctest-vn-13235979 2025-06-23 02:03:12,429 - DEBUG - VN ctest-vn-13235979 UUID is cf6f9e0f-9df9-4477-aeaf-54f2da80d805 2025-06-23 02:03:12,549 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-79658540, 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-77234239:ctest-vn-13235979, 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-23 02:03:12,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd76e5667-6e92-44ba-9600-67d36307fbcd', 'name': 'ctest-vn-79658540', 'tenant_id': 'cb7b4af44f00402996027c9628cec524', 'project_id': 'cb7b4af44f00402996027c9628cec524', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18baf4b3-955d-427e-a60f-d681b0d8a868'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-vn-79658540'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-policy-allow-all-73409908']], 'subnet_ipam': [{'subnet_cidr': '119.201.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:03:13,129 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf6f9e0f-9df9-4477-aeaf-54f2da80d805', 'name': 'ctest-vn-13235979', 'tenant_id': 'cb7b4af44f00402996027c9628cec524', 'project_id': 'cb7b4af44f00402996027c9628cec524', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['85d554a9-8d38-475d-99c7-5f8cf229f496'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-vn-13235979'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-policy-allow-all-73409908']], 'subnet_ipam': [{'subnet_cidr': '191.47.100.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 02:03:13,293 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 02:03:13,589 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 02:03:13,618 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351 2025-06-23 02:03:13,631 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb7b4af4-4f00-4029-9602-7c9628cec524 2025-06-23 02:03:13,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d76e5667-6e92-44ba-9600-67d36307fbcd 2025-06-23 02:03:13,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d76e5667-6e92-44ba-9600-67d36307fbcd 2025-06-23 02:03:13,733 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0cf90c60-af89-4620-8f3f-4ab079513191 2025-06-23 02:03:13,742 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0cf90c60-af89-4620-8f3f-4ab079513191 2025-06-23 02:03:13,752 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86b3635f-dacf-45a6-9bd1-eb950fc456eb 2025-06-23 02:03:13,759 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 02:03:13,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d76e5667-6e92-44ba-9600-67d36307fbcd 2025-06-23 02:03:13,770 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0cf90c60-af89-4620-8f3f-4ab079513191 2025-06-23 02:03:13,786 - INFO - Verified VN network id 8 for VN d76e5667-6e92-44ba-9600-67d36307fbcd 2025-06-23 02:03:13,786 - INFO - Verifications in API Server for VN ctest-vn-79658540 passed 2025-06-23 02:03:13,786 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d76e5667-6e92-44ba-9600-67d36307fbcd 2025-06-23 02:03:13,796 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0cf90c60-af89-4620-8f3f-4ab079513191 2025-06-23 02:03:13,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0cf90c60-af89-4620-8f3f-4ab079513191 2025-06-23 02:03:13,809 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/86b3635f-dacf-45a6-9bd1-eb950fc456eb 2025-06-23 02:03:13,822 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-79658540', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77234239', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15523439967829378234', 'uuid-lslong': '10808753263286418381'}, 'enable': 'true', 'created': '2025-06-23T02:03:11', 'last-modified': '2025-06-23T02:03:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988332'} 2025-06-23 02:03:13,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 02:03:13,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79658540 passed 2025-06-23 02:03:13,829 - DEBUG - ====Verifying policy data for ctest-vn-79658540 in API_Server ====== 2025-06-23 02:03:13,829 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 02:03:13,835 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351 2025-06-23 02:03:13,846 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb7b4af4-4f00-4029-9602-7c9628cec524 2025-06-23 02:03:13,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d76e5667-6e92-44ba-9600-67d36307fbcd 2025-06-23 02:03:13,929 - DEBUG - ==>Verifying data for policy with id: d186da1e-99eb-462c-bb2e-926d36f2cfbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-policy-allow-all-73409908'] 2025-06-23 02:03:13,929 - INFO - VN ctest-vn-79658540 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 02:03:13,929 - DEBUG - Verifying the vn in opserver 2025-06-23 02:03:13,929 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-79658540 virtual network link through opserver 10.0.0.38 2025-06-23 02:03:13,930 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-23 02:03:14,223 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-23 02:03:14,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-79658540', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-79658540?flat'} 2025-06-23 02:03:14,276 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-79658540 is found in opserver 2025-06-23 02:03:14,287 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 02:03:14,292 - DEBUG - VRF ids for VN ctest-vn-79658540: {} 2025-06-23 02:03:14,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 02:03:14,298 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351 2025-06-23 02:03:14,309 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb7b4af4-4f00-4029-9602-7c9628cec524 2025-06-23 02:03:14,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf6f9e0f-9df9-4477-aeaf-54f2da80d805 2025-06-23 02:03:14,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf6f9e0f-9df9-4477-aeaf-54f2da80d805 2025-06-23 02:03:14,401 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47776df5-f19d-4086-a164-3be0f26523d3 2025-06-23 02:03:14,407 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47776df5-f19d-4086-a164-3be0f26523d3 2025-06-23 02:03:14,413 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b24e310-a021-4fee-9036-273be86fd06d 2025-06-23 02:03:14,419 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 02:03:14,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf6f9e0f-9df9-4477-aeaf-54f2da80d805 2025-06-23 02:03:14,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47776df5-f19d-4086-a164-3be0f26523d3 2025-06-23 02:03:14,441 - INFO - Verified VN network id 9 for VN cf6f9e0f-9df9-4477-aeaf-54f2da80d805 2025-06-23 02:03:14,441 - INFO - Verifications in API Server for VN ctest-vn-13235979 passed 2025-06-23 02:03:14,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf6f9e0f-9df9-4477-aeaf-54f2da80d805 2025-06-23 02:03:14,451 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47776df5-f19d-4086-a164-3be0f26523d3 2025-06-23 02:03:14,458 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47776df5-f19d-4086-a164-3be0f26523d3 2025-06-23 02:03:14,465 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4b24e310-a021-4fee-9036-273be86fd06d 2025-06-23 02:03:14,478 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-13235979', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77234239', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14947339478178022519', 'uuid-lslong': '12587372885548521477'}, 'enable': 'true', 'created': '2025-06-23T02:03:12', 'last-modified': '2025-06-23T02:03:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.378600'} 2025-06-23 02:03:14,487 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 02:03:14,487 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13235979 passed 2025-06-23 02:03:14,487 - DEBUG - ====Verifying policy data for ctest-vn-13235979 in API_Server ====== 2025-06-23 02:03:14,487 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 02:03:14,496 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351 2025-06-23 02:03:14,510 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb7b4af4-4f00-4029-9602-7c9628cec524 2025-06-23 02:03:14,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cf6f9e0f-9df9-4477-aeaf-54f2da80d805 2025-06-23 02:03:14,600 - DEBUG - ==>Verifying data for policy with id: d186da1e-99eb-462c-bb2e-926d36f2cfbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-77234239', 'ctest-policy-allow-all-73409908'] 2025-06-23 02:03:14,600 - INFO - VN ctest-vn-13235979 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 02:03:14,600 - DEBUG - Verifying the vn in opserver 2025-06-23 02:03:14,600 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-13235979 virtual network link through opserver 10.0.0.38 2025-06-23 02:03:14,600 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-23 02:03:14,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-13235979', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-13235979?flat'} 2025-06-23 02:03:14,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-13235979 is found in opserver 2025-06-23 02:03:14,620 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 02:03:14,624 - DEBUG - VRF ids for VN ctest-vn-13235979: {} 2025-06-23 02:03:14,677 - DEBUG - Services list from nova: [, , ] 2025-06-23 02:03:15,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3518-1) 2025-06-23 02:03:16,932 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3518-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3518-1) 2025-06-23 02:03:16,933 - INFO - Waiting for VM ctest-TestBasicPolicy-77234239-49657865 to be up.. 2025-06-23 02:03:17,022 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 02:03:22,096 - DEBUG - VM is in ACTIVE state now 2025-06-23 02:03:22,096 - INFO - VM name : ctest-TestBasicPolicy-77234239-49657865 2025-06-23 02:03:22,168 - DEBUG - VM ctest-TestBasicPolicy-77234239-49657865 ID is f521c5d2-f1d8-4434-80a9-4c94a829a854 2025-06-23 02:03:22,186 - DEBUG - VM ctest-TestBasicPolicy-77234239-49657865 launched on Node cn-jenkins-deploy-platform-ansible-os-3518-1 2025-06-23 02:03:22,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f521c5d2-f1d8-4434-80a9-4c94a829a854 2025-06-23 02:03:22,263 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/414cab37-0d29-4959-ae35-fd84c2d5a4a9 2025-06-23 02:03:25,501 - 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 1003ms') 2025-06-23 02:03:25,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77234239-49657865 failed! 2025-06-23 02:03:25,557 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77234239:ctest-vn-79658540 is 119.201.25.65 and allocation pool is NOT set 2025-06-23 02:03:27,617 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.432/1.934/3.436/1.502 ms') 2025-06-23 02:03:27,617 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77234239-49657865 passed 2025-06-23 02:03:27,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:03:27,765 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77234239-49657865, IP 119.201.25.67, Port 22 2025-06-23 02:03:27,934 - DEBUG - VM ctest-TestBasicPolicy-77234239-49657865 is ready for SSH connections 2025-06-23 02:03:27,935 - INFO - Waiting for VM ctest-TestBasicPolicy-77234239-92963107 to be up.. 2025-06-23 02:03:28,007 - DEBUG - VM is in ACTIVE state now 2025-06-23 02:03:28,007 - INFO - VM name : ctest-TestBasicPolicy-77234239-92963107 2025-06-23 02:03:28,076 - DEBUG - VM ctest-TestBasicPolicy-77234239-92963107 ID is 92c37e20-cf4e-441e-b832-7412aed4db2a 2025-06-23 02:03:28,076 - DEBUG - VM ctest-TestBasicPolicy-77234239-92963107 launched on Node cn-jenkins-deploy-platform-ansible-os-3518-1 2025-06-23 02:03:28,148 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/92c37e20-cf4e-441e-b832-7412aed4db2a 2025-06-23 02:03:28,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/68af7fed-72da-4103-bed4-14e60647390d 2025-06-23 02:03:29,395 - 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=3.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/1.765/3.123/1.357 ms') 2025-06-23 02:03:29,396 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77234239-92963107 passed 2025-06-23 02:03:29,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:03:29,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77234239-92963107, IP 191.47.100.67, Port 22 2025-06-23 02:03:29,697 - DEBUG - VM ctest-TestBasicPolicy-77234239-92963107 is ready for SSH connections 2025-06-23 02:03:29,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:03:29,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.47.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-23 02:03:29,697 - DEBUG - ping -s 56 -c 3 -W 1 191.47.100.67 2025-06-23 02:03:33,346 - DEBUG - PING 191.47.100.67 (191.47.100.67): 56 data bytes 64 bytes from 191.47.100.67: seq=0 ttl=63 time=3.327 ms 64 bytes from 191.47.100.67: seq=1 ttl=63 time=0.895 ms 64 bytes from 191.47.100.67: seq=2 ttl=63 time=1.004 ms --- 191.47.100.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/1.742/3.327 ms 2025-06-23 02:03:33,346 - INFO - Ping to IP 191.47.100.67 from VM ctest-TestBasicPolicy-77234239-49657865 passed 2025-06-23 02:03:33,529 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d186da1e-99eb-462c-bb2e-926d36f2cfbe", "href": "http://10.0.0.38:8082/network-policy/d186da1e-99eb-462c-bb2e-926d36f2cfbe"}} 2025-06-23 02:03:33,529 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 02:03:33,529 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.47.100.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-23 02:03:33,529 - DEBUG - ping -s 56 -c 3 -W 1 191.47.100.67 2025-06-23 02:03:36,736 - DEBUG - PING 191.47.100.67 (191.47.100.67): 56 data bytes --- 191.47.100.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-23 02:03:36,736 - WARNING - Ping to IP 191.47.100.67 from VM ctest-TestBasicPolicy-77234239-49657865 failed 2025-06-23 02:03:36,736 - INFO - Deleting VM ctest-TestBasicPolicy-77234239-92963107 2025-06-23 02:03:36,803 - INFO - Deleting VM ctest-TestBasicPolicy-77234239-49657865 2025-06-23 02:03:37,196 - INFO - Deleted policy ctest-policy-allow-all-73409908 2025-06-23 02:03:37,196 - INFO - Deleting VN ctest-vn-13235979 2025-06-23 02:03:37,233 - DEBUG - VN cf6f9e0f-9df9-4477-aeaf-54f2da80d805 still in use: Unable to complete operation on network cf6f9e0f-9df9-4477-aeaf-54f2da80d805. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a15c1402-719a-4edf-ba53-cf817e996d6e'] 2025-06-23 02:03:37,233 - WARNING - Deleting VN ctest-vn-13235979 failed..Will retry 2025-06-23 02:03:39,335 - DEBUG - Response for deleting network () 2025-06-23 02:03:39,335 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47776df5-f19d-4086-a164-3be0f26523d3 2025-06-23 02:03:39,342 - DEBUG - Response Code: 404 2025-06-23 02:03:39,342 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 02:03:39,349 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351 2025-06-23 02:03:39,403 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb7b4af4-4f00-4029-9602-7c9628cec524 2025-06-23 02:03:39,478 - INFO - Validated that VN ctest-vn-13235979 is not found in API Server 2025-06-23 02:03:39,489 - DEBUG - VN ctest-vn-13235979 is not present in Agent 10.0.0.38 2025-06-23 02:03:39,489 - INFO - Validated that VN ctest-vn-13235979 is not in any agent 2025-06-23 02:03:39,503 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13235979 info 2025-06-23 02:03:39,503 - INFO - Deleting VN ctest-vn-79658540 2025-06-23 02:03:39,613 - DEBUG - Response for deleting network () 2025-06-23 02:03:39,613 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0cf90c60-af89-4620-8f3f-4ab079513191 2025-06-23 02:03:39,619 - DEBUG - Response Code: 404 2025-06-23 02:03:39,620 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 02:03:39,625 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d6595adb-9112-44b3-903a-b89621f5c351 2025-06-23 02:03:39,679 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb7b4af4-4f00-4029-9602-7c9628cec524 2025-06-23 02:03:39,751 - INFO - Validated that VN ctest-vn-79658540 is not found in API Server 2025-06-23 02:03:39,764 - DEBUG - VN ctest-vn-79658540 is not present in Agent 10.0.0.38 2025-06-23 02:03:39,764 - INFO - Validated that VN ctest-vn-79658540 is not in any agent 2025-06-23 02:03:39,780 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79658540 info 2025-06-23 02:03:40,039 - DEBUG - No XMPP flaps were noticed during the test 2025-06-23 02:03:40,039 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-23 02:03:40,039 - INFO - -------------------------------------------------------------------------------- 2025-06-23 02:03:40,707 - INFO - Deleted project: ctest-TestBasicPolicy-77234239, ID : cb7b4af4-4f00-4029-9602-7c9628cec524