2025-10-06 17:33:31,027 - INFO - Domain Default found not creating 2025-10-06 17:33:31,174 - INFO - Project ctest-TestBasicPolicy-88445465 not found, creating it 2025-10-06 17:33:31,614 - INFO - Created Project:ctest-TestBasicPolicy-88445465, ID : 57c35a37-9458-4a3e-8bc1-805f38577c7f 2025-10-06 17:33:33,034 - INFO - ================================================================================ 2025-10-06 17:33:33,034 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-06 17:33:33,034 - 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-10-06 17:33:33,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 17:33:33,303 - INFO - Initial checks done. Running the testcase now 2025-10-06 17:33:33,303 - INFO - 2025-10-06 17:33:33,902 - DEBUG - Response for create_network : {'network': {'id': '47be6248-84d1-485a-9ff7-b5a7cbe3d4f6', 'name': 'ctest-vn-30370603', 'tenant_id': '57c35a3794584a3e8bc1805f38577c7f', 'project_id': '57c35a3794584a3e8bc1805f38577c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-vn-30370603'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:33:34,072 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e972ae40-3be4-4c25-808c-d2d6ff100068', 'name': '', 'tenant_id': '57c35a3794584a3e8bc1805f38577c7f', 'network_id': '47be6248-84d1-485a-9ff7-b5a7cbe3d4f6', 'ip_version': 4, 'cidr': '175.134.148.128/26', 'allocation_pools': [{'start': '175.134.148.130', 'end': '175.134.148.190'}], 'gateway_ip': '175.134.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.134.148.130', 'tags': [], 'project_id': '57c35a3794584a3e8bc1805f38577c7f'}} 2025-10-06 17:33:34,090 - INFO - Created VN ctest-vn-30370603 2025-10-06 17:33:34,142 - DEBUG - VN ctest-vn-30370603 UUID is 47be6248-84d1-485a-9ff7-b5a7cbe3d4f6 2025-10-06 17:33:34,425 - DEBUG - Response for create_network : {'network': {'id': 'b840a753-d2f3-420c-ae96-a37225dfea9c', 'name': 'ctest-vn-62992154', 'tenant_id': '57c35a3794584a3e8bc1805f38577c7f', 'project_id': '57c35a3794584a3e8bc1805f38577c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-vn-62992154'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:33:34,587 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a15f643-2226-4801-a76e-33f862870a1b', 'name': '', 'tenant_id': '57c35a3794584a3e8bc1805f38577c7f', 'network_id': 'b840a753-d2f3-420c-ae96-a37225dfea9c', 'ip_version': 4, 'cidr': '177.106.12.128/26', 'allocation_pools': [{'start': '177.106.12.130', 'end': '177.106.12.190'}], 'gateway_ip': '177.106.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.106.12.130', 'tags': [], 'project_id': '57c35a3794584a3e8bc1805f38577c7f'}} 2025-10-06 17:33:34,608 - INFO - Created VN ctest-vn-62992154 2025-10-06 17:33:34,662 - DEBUG - VN ctest-vn-62992154 UUID is b840a753-d2f3-420c-ae96-a37225dfea9c 2025-10-06 17:33:34,775 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-30370603, 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-88445465:ctest-vn-62992154, 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-10-06 17:33:35,065 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47be6248-84d1-485a-9ff7-b5a7cbe3d4f6', 'name': 'ctest-vn-30370603', 'tenant_id': '57c35a3794584a3e8bc1805f38577c7f', 'project_id': '57c35a3794584a3e8bc1805f38577c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e972ae40-3be4-4c25-808c-d2d6ff100068'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-vn-30370603'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-policy-allow-all-61034816']], 'subnet_ipam': [{'subnet_cidr': '175.134.148.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:33:35,293 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b840a753-d2f3-420c-ae96-a37225dfea9c', 'name': 'ctest-vn-62992154', 'tenant_id': '57c35a3794584a3e8bc1805f38577c7f', 'project_id': '57c35a3794584a3e8bc1805f38577c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4a15f643-2226-4801-a76e-33f862870a1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-vn-62992154'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-policy-allow-all-61034816']], 'subnet_ipam': [{'subnet_cidr': '177.106.12.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:33:35,438 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 17:33:35,736 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 17:33:35,764 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7f817de8-b23f-4b83-abab-a6631a29eef2 2025-10-06 17:33:35,777 - DEBUG - Requesting: http://10.0.0.254:8082/project/57c35a37-9458-4a3e-8bc1-805f38577c7f 2025-10-06 17:33:35,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/47be6248-84d1-485a-9ff7-b5a7cbe3d4f6 2025-10-06 17:33:35,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/47be6248-84d1-485a-9ff7-b5a7cbe3d4f6 2025-10-06 17:33:35,877 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d4446baa-8796-4a3e-aa7e-00d48e59a77c 2025-10-06 17:33:35,883 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d4446baa-8796-4a3e-aa7e-00d48e59a77c 2025-10-06 17:33:35,888 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9f98ca2d-cae5-443e-9625-2aaae2c2d4ba 2025-10-06 17:33:35,893 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 17:33:35,893 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/47be6248-84d1-485a-9ff7-b5a7cbe3d4f6 2025-10-06 17:33:35,900 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d4446baa-8796-4a3e-aa7e-00d48e59a77c 2025-10-06 17:33:35,911 - INFO - Verified VN network id 11 for VN 47be6248-84d1-485a-9ff7-b5a7cbe3d4f6 2025-10-06 17:33:35,912 - INFO - Verifications in API Server for VN ctest-vn-30370603 passed 2025-10-06 17:33:35,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/47be6248-84d1-485a-9ff7-b5a7cbe3d4f6 2025-10-06 17:33:35,919 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d4446baa-8796-4a3e-aa7e-00d48e59a77c 2025-10-06 17:33:35,926 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d4446baa-8796-4a3e-aa7e-00d48e59a77c 2025-10-06 17:33:35,932 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9f98ca2d-cae5-443e-9625-2aaae2c2d4ba 2025-10-06 17:33:35,942 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-30370603', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88445465', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5169677485873383514', 'uuid-lslong': '11526881503562945782'}, 'enable': 'true', 'created': '2025-10-06T17:33:33', 'last-modified': '2025-10-06T17:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.898768'} 2025-10-06 17:33:35,947 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 17:33:35,947 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30370603 passed 2025-10-06 17:33:35,947 - DEBUG - ====Verifying policy data for ctest-vn-30370603 in API_Server ====== 2025-10-06 17:33:35,947 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 17:33:35,955 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7f817de8-b23f-4b83-abab-a6631a29eef2 2025-10-06 17:33:35,966 - DEBUG - Requesting: http://10.0.0.254:8082/project/57c35a37-9458-4a3e-8bc1-805f38577c7f 2025-10-06 17:33:36,035 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/47be6248-84d1-485a-9ff7-b5a7cbe3d4f6 2025-10-06 17:33:36,043 - DEBUG - ==>Verifying data for policy with id: c5546885-4e7b-4841-b536-985e13acba09, fqn: ['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-policy-allow-all-61034816'] 2025-10-06 17:33:36,043 - INFO - VN ctest-vn-30370603 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 17:33:36,043 - DEBUG - Verifying the vn in opserver 2025-10-06 17:33:36,043 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-30370603 virtual network link through opserver 10.0.0.254 2025-10-06 17:33:36,043 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-06 17:33:36,332 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-06 17:33:36,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-30370603', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-30370603?flat'} 2025-10-06 17:33:36,385 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-30370603 is found in opserver 2025-10-06 17:33:36,402 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 17:33:36,434 - DEBUG - VRF ids for VN ctest-vn-30370603: {} 2025-10-06 17:33:36,434 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 17:33:36,440 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7f817de8-b23f-4b83-abab-a6631a29eef2 2025-10-06 17:33:36,452 - DEBUG - Requesting: http://10.0.0.254:8082/project/57c35a37-9458-4a3e-8bc1-805f38577c7f 2025-10-06 17:33:36,517 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b840a753-d2f3-420c-ae96-a37225dfea9c 2025-10-06 17:33:36,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b840a753-d2f3-420c-ae96-a37225dfea9c 2025-10-06 17:33:36,535 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/944d8766-b793-4b13-a7c4-cc8603b4ead3 2025-10-06 17:33:36,542 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/944d8766-b793-4b13-a7c4-cc8603b4ead3 2025-10-06 17:33:36,548 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/86c7e925-d5d6-40d8-84e7-8e7a7e5f0a54 2025-10-06 17:33:36,555 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 17:33:36,555 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b840a753-d2f3-420c-ae96-a37225dfea9c 2025-10-06 17:33:36,564 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/944d8766-b793-4b13-a7c4-cc8603b4ead3 2025-10-06 17:33:36,576 - INFO - Verified VN network id 12 for VN b840a753-d2f3-420c-ae96-a37225dfea9c 2025-10-06 17:33:36,577 - INFO - Verifications in API Server for VN ctest-vn-62992154 passed 2025-10-06 17:33:36,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b840a753-d2f3-420c-ae96-a37225dfea9c 2025-10-06 17:33:36,585 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/944d8766-b793-4b13-a7c4-cc8603b4ead3 2025-10-06 17:33:36,592 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/944d8766-b793-4b13-a7c4-cc8603b4ead3 2025-10-06 17:33:36,599 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/86c7e925-d5d6-40d8-84e7-8e7a7e5f0a54 2025-10-06 17:33:36,609 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-62992154', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88445465', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13276795679951503884', 'uuid-lslong': '12580422319763090076'}, 'enable': 'true', 'created': '2025-10-06T17:33:34', 'last-modified': '2025-10-06T17:33:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.345127'} 2025-10-06 17:33:36,615 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 17:33:36,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62992154 passed 2025-10-06 17:33:36,615 - DEBUG - ====Verifying policy data for ctest-vn-62992154 in API_Server ====== 2025-10-06 17:33:36,615 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 17:33:36,621 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7f817de8-b23f-4b83-abab-a6631a29eef2 2025-10-06 17:33:36,631 - DEBUG - Requesting: http://10.0.0.254:8082/project/57c35a37-9458-4a3e-8bc1-805f38577c7f 2025-10-06 17:33:36,698 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b840a753-d2f3-420c-ae96-a37225dfea9c 2025-10-06 17:33:36,708 - DEBUG - ==>Verifying data for policy with id: c5546885-4e7b-4841-b536-985e13acba09, fqn: ['default-domain', 'ctest-TestBasicPolicy-88445465', 'ctest-policy-allow-all-61034816'] 2025-10-06 17:33:36,708 - INFO - VN ctest-vn-62992154 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 17:33:36,708 - DEBUG - Verifying the vn in opserver 2025-10-06 17:33:36,708 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-62992154 virtual network link through opserver 10.0.0.254 2025-10-06 17:33:36,708 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-06 17:33:36,718 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-62992154', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-62992154?flat'} 2025-10-06 17:33:36,718 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-62992154 is found in opserver 2025-10-06 17:33:36,727 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 17:33:36,730 - DEBUG - VRF ids for VN ctest-vn-62992154: {} 2025-10-06 17:33:36,783 - DEBUG - Services list from nova: [, , ] 2025-10-06 17:33:37,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:33:38,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:33:38,903 - INFO - Waiting for VM ctest-TestBasicPolicy-88445465-81328360 to be up.. 2025-10-06 17:33:38,988 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 17:33:44,059 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:33:44,059 - INFO - VM name : ctest-TestBasicPolicy-88445465-81328360 2025-10-06 17:33:44,135 - DEBUG - VM ctest-TestBasicPolicy-88445465-81328360 ID is 329199d1-b67d-43a3-95af-bc6593a82e32 2025-10-06 17:33:44,153 - DEBUG - VM ctest-TestBasicPolicy-88445465-81328360 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:33:44,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/329199d1-b67d-43a3-95af-bc6593a82e32 2025-10-06 17:33:44,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/029c964e-8ec7-4644-bb17-9362a2daf3d6 2025-10-06 17:33:47,519 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2025-10-06 17:33:47,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88445465-81328360 failed! 2025-10-06 17:33:47,574 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88445465:ctest-vn-30370603 is 175.134.148.129 and allocation pool is NOT set 2025-10-06 17:33:49,633 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.465/2.402/4.340/1.937 ms') 2025-10-06 17:33:49,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88445465-81328360 passed 2025-10-06 17:33:49,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:33:49,782 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88445465-81328360, IP 175.134.148.131, Port 22 2025-10-06 17:33:49,948 - DEBUG - VM ctest-TestBasicPolicy-88445465-81328360 is ready for SSH connections 2025-10-06 17:33:49,948 - INFO - Waiting for VM ctest-TestBasicPolicy-88445465-20319828 to be up.. 2025-10-06 17:33:50,025 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:33:50,025 - INFO - VM name : ctest-TestBasicPolicy-88445465-20319828 2025-10-06 17:33:50,097 - DEBUG - VM ctest-TestBasicPolicy-88445465-20319828 ID is d44ae7bc-efbd-404f-aadc-95e707805415 2025-10-06 17:33:50,097 - DEBUG - VM ctest-TestBasicPolicy-88445465-20319828 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:33:50,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d44ae7bc-efbd-404f-aadc-95e707805415 2025-10-06 17:33:50,182 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c78d0e19-5425-400c-b83d-67fba7484f61 2025-10-06 17:33:51,414 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.387/1.657/2.928/1.270 ms') 2025-10-06 17:33:51,414 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88445465-20319828 passed 2025-10-06 17:33:51,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:33:51,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88445465-20319828, IP 177.106.12.131, Port 22 2025-10-06 17:33:51,718 - DEBUG - VM ctest-TestBasicPolicy-88445465-20319828 is ready for SSH connections 2025-10-06 17:33:51,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:33:51,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.106.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:33:51,718 - DEBUG - ping -s 56 -c 3 -W 1 177.106.12.131 2025-10-06 17:33:55,715 - DEBUG - PING 177.106.12.131 (177.106.12.131): 56 data bytes 64 bytes from 177.106.12.131: seq=0 ttl=63 time=3.205 ms 64 bytes from 177.106.12.131: seq=1 ttl=63 time=0.901 ms 64 bytes from 177.106.12.131: seq=2 ttl=63 time=0.788 ms --- 177.106.12.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/1.631/3.205 ms 2025-10-06 17:33:55,715 - INFO - Ping to IP 177.106.12.131 from VM ctest-TestBasicPolicy-88445465-81328360 passed 2025-10-06 17:33:55,886 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c5546885-4e7b-4841-b536-985e13acba09", "href": "http://10.0.0.254:8082/network-policy/c5546885-4e7b-4841-b536-985e13acba09"}} 2025-10-06 17:33:55,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:33:55,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.106.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:33:55,886 - DEBUG - ping -s 56 -c 3 -W 1 177.106.12.131 2025-10-06 17:33:59,089 - DEBUG - PING 177.106.12.131 (177.106.12.131): 56 data bytes --- 177.106.12.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 17:33:59,089 - WARNING - Ping to IP 177.106.12.131 from VM ctest-TestBasicPolicy-88445465-81328360 failed 2025-10-06 17:33:59,089 - INFO - Deleting VM ctest-TestBasicPolicy-88445465-20319828 2025-10-06 17:33:59,151 - INFO - Deleting VM ctest-TestBasicPolicy-88445465-81328360 2025-10-06 17:33:59,537 - INFO - Deleted policy ctest-policy-allow-all-61034816 2025-10-06 17:33:59,537 - INFO - Deleting VN ctest-vn-62992154 2025-10-06 17:33:59,577 - DEBUG - VN b840a753-d2f3-420c-ae96-a37225dfea9c still in use: Unable to complete operation on network b840a753-d2f3-420c-ae96-a37225dfea9c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a6cbfbab-b80e-46bf-9ed7-cb0eb2103891'] 2025-10-06 17:33:59,577 - WARNING - Deleting VN ctest-vn-62992154 failed..Will retry 2025-10-06 17:34:01,688 - DEBUG - Response for deleting network () 2025-10-06 17:34:01,689 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/944d8766-b793-4b13-a7c4-cc8603b4ead3 2025-10-06 17:34:01,696 - DEBUG - Response Code: 404 2025-10-06 17:34:01,696 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 17:34:01,701 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7f817de8-b23f-4b83-abab-a6631a29eef2 2025-10-06 17:34:01,756 - DEBUG - Requesting: http://10.0.0.254:8082/project/57c35a37-9458-4a3e-8bc1-805f38577c7f 2025-10-06 17:34:01,827 - INFO - Validated that VN ctest-vn-62992154 is not found in API Server 2025-10-06 17:34:01,837 - DEBUG - VN ctest-vn-62992154 is not present in Agent 10.0.0.254 2025-10-06 17:34:01,837 - INFO - Validated that VN ctest-vn-62992154 is not in any agent 2025-10-06 17:34:01,850 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62992154 info 2025-10-06 17:34:01,851 - INFO - Deleting VN ctest-vn-30370603 2025-10-06 17:34:01,948 - DEBUG - Response for deleting network () 2025-10-06 17:34:01,948 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/d4446baa-8796-4a3e-aa7e-00d48e59a77c 2025-10-06 17:34:01,953 - DEBUG - Response Code: 404 2025-10-06 17:34:01,953 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-06 17:34:01,960 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7f817de8-b23f-4b83-abab-a6631a29eef2 2025-10-06 17:34:02,016 - DEBUG - Requesting: http://10.0.0.254:8082/project/57c35a37-9458-4a3e-8bc1-805f38577c7f 2025-10-06 17:34:02,092 - INFO - Validated that VN ctest-vn-30370603 is not found in API Server 2025-10-06 17:34:02,102 - DEBUG - VN ctest-vn-30370603 is not present in Agent 10.0.0.254 2025-10-06 17:34:02,102 - INFO - Validated that VN ctest-vn-30370603 is not in any agent 2025-10-06 17:34:02,115 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30370603 info 2025-10-06 17:34:02,366 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 17:34:02,366 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-06 17:34:02,367 - INFO - -------------------------------------------------------------------------------- 2025-10-06 17:34:03,052 - INFO - Deleted project: ctest-TestBasicPolicy-88445465, ID : 57c35a37-9458-4a3e-8bc1-805f38577c7f