2025-10-22 19:12:00,501 - INFO - Domain Default found not creating 2025-10-22 19:12:00,668 - INFO - Project ctest-TestBasicPolicy-48884225 not found, creating it 2025-10-22 19:12:01,151 - INFO - Created Project:ctest-TestBasicPolicy-48884225, ID : 7d7e2664-6cc2-4080-9912-8718ba3bb906 2025-10-22 19:12:02,651 - INFO - ================================================================================ 2025-10-22 19:12:02,651 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 19:12:02,651 - 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-22 19:12:02,913 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-22 19:12:02,913 - INFO - Initial checks done. Running the testcase now 2025-10-22 19:12:02,913 - INFO - 2025-10-22 19:12:03,466 - DEBUG - Response for create_network : {'network': {'id': '4e96d02e-588a-4921-a9b4-0d9bddf4a9c3', 'name': 'ctest-vn-81680480', 'tenant_id': '7d7e26646cc2408099128718ba3bb906', 'project_id': '7d7e26646cc2408099128718ba3bb906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-vn-81680480'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:12:03,682 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfa0f0da-ccae-45c4-985b-5295d6834c34', 'name': '', 'tenant_id': '7d7e26646cc2408099128718ba3bb906', 'network_id': '4e96d02e-588a-4921-a9b4-0d9bddf4a9c3', 'ip_version': 4, 'cidr': '112.44.10.128/26', 'allocation_pools': [{'start': '112.44.10.130', 'end': '112.44.10.190'}], 'gateway_ip': '112.44.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.44.10.130', 'tags': [], 'project_id': '7d7e26646cc2408099128718ba3bb906'}} 2025-10-22 19:12:03,701 - INFO - Created VN ctest-vn-81680480 2025-10-22 19:12:03,755 - DEBUG - VN ctest-vn-81680480 UUID is 4e96d02e-588a-4921-a9b4-0d9bddf4a9c3 2025-10-22 19:12:04,059 - DEBUG - Response for create_network : {'network': {'id': 'c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02', 'name': 'ctest-vn-99125641', 'tenant_id': '7d7e26646cc2408099128718ba3bb906', 'project_id': '7d7e26646cc2408099128718ba3bb906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-vn-99125641'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:12:04,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d96d298-922a-4faa-a2bb-64b1d1f2e2b1', 'name': '', 'tenant_id': '7d7e26646cc2408099128718ba3bb906', 'network_id': 'c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02', 'ip_version': 4, 'cidr': '34.201.9.64/26', 'allocation_pools': [{'start': '34.201.9.66', 'end': '34.201.9.126'}], 'gateway_ip': '34.201.9.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.201.9.66', 'tags': [], 'project_id': '7d7e26646cc2408099128718ba3bb906'}} 2025-10-22 19:12:04,267 - INFO - Created VN ctest-vn-99125641 2025-10-22 19:12:04,319 - DEBUG - VN ctest-vn-99125641 UUID is c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 2025-10-22 19:12:04,434 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-81680480, 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-48884225:ctest-vn-99125641, 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-22 19:12:04,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e96d02e-588a-4921-a9b4-0d9bddf4a9c3', 'name': 'ctest-vn-81680480', 'tenant_id': '7d7e26646cc2408099128718ba3bb906', 'project_id': '7d7e26646cc2408099128718ba3bb906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bfa0f0da-ccae-45c4-985b-5295d6834c34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-vn-81680480'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-policy-allow-all-45966878']], 'subnet_ipam': [{'subnet_cidr': '112.44.10.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:12:05,024 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02', 'name': 'ctest-vn-99125641', 'tenant_id': '7d7e26646cc2408099128718ba3bb906', 'project_id': '7d7e26646cc2408099128718ba3bb906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d96d298-922a-4faa-a2bb-64b1d1f2e2b1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-vn-99125641'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-policy-allow-all-45966878']], 'subnet_ipam': [{'subnet_cidr': '34.201.9.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 19:12:05,184 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 19:12:05,490 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 19:12:05,520 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4fa4561c-cadb-41af-a3b5-05e18d999394 2025-10-22 19:12:05,532 - DEBUG - Requesting: http://10.0.0.249:8082/project/7d7e2664-6cc2-4080-9912-8718ba3bb906 2025-10-22 19:12:05,609 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4e96d02e-588a-4921-a9b4-0d9bddf4a9c3 2025-10-22 19:12:05,619 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4e96d02e-588a-4921-a9b4-0d9bddf4a9c3 2025-10-22 19:12:05,628 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8c078f7c-0d21-4a56-bbbf-8b38caa96ed9 2025-10-22 19:12:05,636 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8c078f7c-0d21-4a56-bbbf-8b38caa96ed9 2025-10-22 19:12:05,643 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cb579a93-e2f1-441b-964e-787171dc0a60 2025-10-22 19:12:05,649 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 19:12:05,649 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4e96d02e-588a-4921-a9b4-0d9bddf4a9c3 2025-10-22 19:12:05,657 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8c078f7c-0d21-4a56-bbbf-8b38caa96ed9 2025-10-22 19:12:05,674 - INFO - Verified VN network id 11 for VN 4e96d02e-588a-4921-a9b4-0d9bddf4a9c3 2025-10-22 19:12:05,675 - INFO - Verifications in API Server for VN ctest-vn-81680480 passed 2025-10-22 19:12:05,675 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4e96d02e-588a-4921-a9b4-0d9bddf4a9c3 2025-10-22 19:12:05,686 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8c078f7c-0d21-4a56-bbbf-8b38caa96ed9 2025-10-22 19:12:05,693 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8c078f7c-0d21-4a56-bbbf-8b38caa96ed9 2025-10-22 19:12:05,703 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/cb579a93-e2f1-441b-964e-787171dc0a60 2025-10-22 19:12:05,717 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-81680480', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48884225', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5662942478937508129', 'uuid-lslong': '12228413851312630211'}, 'enable': 'true', 'created': '2025-10-22T19:12:03', 'last-modified': '2025-10-22T19:12:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997597'} 2025-10-22 19:12:05,723 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 19:12:05,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81680480 passed 2025-10-22 19:12:05,723 - DEBUG - ====Verifying policy data for ctest-vn-81680480 in API_Server ====== 2025-10-22 19:12:05,723 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 19:12:05,729 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4fa4561c-cadb-41af-a3b5-05e18d999394 2025-10-22 19:12:05,739 - DEBUG - Requesting: http://10.0.0.249:8082/project/7d7e2664-6cc2-4080-9912-8718ba3bb906 2025-10-22 19:12:05,818 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/4e96d02e-588a-4921-a9b4-0d9bddf4a9c3 2025-10-22 19:12:05,828 - DEBUG - ==>Verifying data for policy with id: ba16e61e-ff4e-4847-98a3-6577ca8c6a8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-policy-allow-all-45966878'] 2025-10-22 19:12:05,828 - INFO - VN ctest-vn-81680480 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 19:12:05,828 - DEBUG - Verifying the vn in opserver 2025-10-22 19:12:05,828 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-81680480 virtual network link through opserver 10.0.0.249 2025-10-22 19:12:05,829 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-22 19:12:06,129 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-22 19:12:06,198 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-81680480', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-81680480?flat'} 2025-10-22 19:12:06,198 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-81680480 is found in opserver 2025-10-22 19:12:06,211 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 19:12:06,216 - DEBUG - VRF ids for VN ctest-vn-81680480: {} 2025-10-22 19:12:06,216 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 19:12:06,222 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4fa4561c-cadb-41af-a3b5-05e18d999394 2025-10-22 19:12:06,233 - DEBUG - Requesting: http://10.0.0.249:8082/project/7d7e2664-6cc2-4080-9912-8718ba3bb906 2025-10-22 19:12:06,305 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 2025-10-22 19:12:06,318 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 2025-10-22 19:12:06,330 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d84ff8d-df2d-4e45-84e3-5f4ec70597d8 2025-10-22 19:12:06,339 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d84ff8d-df2d-4e45-84e3-5f4ec70597d8 2025-10-22 19:12:06,348 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b098e4e1-7d98-4d95-956d-abd0a857f699 2025-10-22 19:12:06,358 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 19:12:06,358 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 2025-10-22 19:12:06,370 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d84ff8d-df2d-4e45-84e3-5f4ec70597d8 2025-10-22 19:12:06,388 - INFO - Verified VN network id 12 for VN c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 2025-10-22 19:12:06,388 - INFO - Verifications in API Server for VN ctest-vn-99125641 passed 2025-10-22 19:12:06,388 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 2025-10-22 19:12:06,400 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d84ff8d-df2d-4e45-84e3-5f4ec70597d8 2025-10-22 19:12:06,409 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d84ff8d-df2d-4e45-84e3-5f4ec70597d8 2025-10-22 19:12:06,417 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b098e4e1-7d98-4d95-956d-abd0a857f699 2025-10-22 19:12:06,432 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-99125641', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48884225', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13882411093979975036', 'uuid-lslong': '10878866129986300418'}, 'enable': 'true', 'created': '2025-10-22T19:12:04', 'last-modified': '2025-10-22T19:12:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483038'} 2025-10-22 19:12:06,441 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 19:12:06,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99125641 passed 2025-10-22 19:12:06,442 - DEBUG - ====Verifying policy data for ctest-vn-99125641 in API_Server ====== 2025-10-22 19:12:06,442 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 19:12:06,449 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4fa4561c-cadb-41af-a3b5-05e18d999394 2025-10-22 19:12:06,462 - DEBUG - Requesting: http://10.0.0.249:8082/project/7d7e2664-6cc2-4080-9912-8718ba3bb906 2025-10-22 19:12:06,534 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 2025-10-22 19:12:06,548 - DEBUG - ==>Verifying data for policy with id: ba16e61e-ff4e-4847-98a3-6577ca8c6a8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48884225', 'ctest-policy-allow-all-45966878'] 2025-10-22 19:12:06,548 - INFO - VN ctest-vn-99125641 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 19:12:06,548 - DEBUG - Verifying the vn in opserver 2025-10-22 19:12:06,548 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-99125641 virtual network link through opserver 10.0.0.249 2025-10-22 19:12:06,548 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-22 19:12:06,560 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-99125641', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-99125641?flat'} 2025-10-22 19:12:06,560 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-99125641 is found in opserver 2025-10-22 19:12:06,572 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 19:12:06,578 - DEBUG - VRF ids for VN ctest-vn-99125641: {} 2025-10-22 19:12:06,651 - DEBUG - Services list from nova: [, , ] 2025-10-22 19:12:07,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1) 2025-10-22 19:12:08,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4436-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4436-1) 2025-10-22 19:12:08,813 - INFO - Waiting for VM ctest-TestBasicPolicy-48884225-55094194 to be up.. 2025-10-22 19:12:08,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 19:12:13,979 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:12:13,979 - INFO - VM name : ctest-TestBasicPolicy-48884225-55094194 2025-10-22 19:12:14,063 - DEBUG - VM ctest-TestBasicPolicy-48884225-55094194 ID is 84bba5d8-49b7-4536-867e-fd5fd8097d6b 2025-10-22 19:12:14,082 - DEBUG - VM ctest-TestBasicPolicy-48884225-55094194 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1 2025-10-22 19:12:14,171 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/84bba5d8-49b7-4536-867e-fd5fd8097d6b 2025-10-22 19:12:14,181 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/598f28ed-e569-48f8-9465-d8bbfeebd27e 2025-10-22 19:12:17,439 - 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 1018ms') 2025-10-22 19:12:17,440 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48884225-55094194 failed! 2025-10-22 19:12:17,495 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48884225:ctest-vn-81680480 is 112.44.10.129 and allocation pool is NOT set 2025-10-22 19:12:19,565 - 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=8.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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.294/4.676/8.059/3.382 ms') 2025-10-22 19:12:19,565 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48884225-55094194 passed 2025-10-22 19:12:19,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:12:19,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48884225-55094194, IP 112.44.10.131, Port 22 2025-10-22 19:12:19,875 - DEBUG - VM ctest-TestBasicPolicy-48884225-55094194 is ready for SSH connections 2025-10-22 19:12:19,876 - INFO - Waiting for VM ctest-TestBasicPolicy-48884225-61428673 to be up.. 2025-10-22 19:12:19,952 - DEBUG - VM is in ACTIVE state now 2025-10-22 19:12:19,952 - INFO - VM name : ctest-TestBasicPolicy-48884225-61428673 2025-10-22 19:12:20,028 - DEBUG - VM ctest-TestBasicPolicy-48884225-61428673 ID is b6e7025b-ce6b-490d-b78c-28eb17d059d3 2025-10-22 19:12:20,028 - DEBUG - VM ctest-TestBasicPolicy-48884225-61428673 launched on Node cn-jenkins-deploy-platform-ansible-os-4436-1 2025-10-22 19:12:20,103 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b6e7025b-ce6b-490d-b78c-28eb17d059d3 2025-10-22 19:12:20,111 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/aa437d6f-c767-4edb-a6a8-56613377a528 2025-10-22 19:12:21,353 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.566/2.648/1.081 ms') 2025-10-22 19:12:21,354 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48884225-61428673 passed 2025-10-22 19:12:21,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:12:21,508 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48884225-61428673, IP 34.201.9.67, Port 22 2025-10-22 19:12:21,664 - DEBUG - VM ctest-TestBasicPolicy-48884225-61428673 is ready for SSH connections 2025-10-22 19:12:21,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:12:21,664 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.201.9.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:12:21,664 - DEBUG - ping -s 56 -c 3 -W 1 34.201.9.67 2025-10-22 19:12:25,720 - DEBUG - PING 34.201.9.67 (34.201.9.67): 56 data bytes 64 bytes from 34.201.9.67: seq=0 ttl=63 time=3.856 ms 64 bytes from 34.201.9.67: seq=1 ttl=63 time=0.923 ms 64 bytes from 34.201.9.67: seq=2 ttl=63 time=0.835 ms --- 34.201.9.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.871/3.856 ms 2025-10-22 19:12:25,720 - INFO - Ping to IP 34.201.9.67 from VM ctest-TestBasicPolicy-48884225-55094194 passed 2025-10-22 19:12:25,891 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ba16e61e-ff4e-4847-98a3-6577ca8c6a8b", "href": "http://10.0.0.249:8082/network-policy/ba16e61e-ff4e-4847-98a3-6577ca8c6a8b"}} 2025-10-22 19:12:25,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 19:12:25,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.201.9.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-22 19:12:25,892 - DEBUG - ping -s 56 -c 3 -W 1 34.201.9.67 2025-10-22 19:12:29,115 - DEBUG - PING 34.201.9.67 (34.201.9.67): 56 data bytes --- 34.201.9.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 19:12:29,115 - WARNING - Ping to IP 34.201.9.67 from VM ctest-TestBasicPolicy-48884225-55094194 failed 2025-10-22 19:12:29,116 - INFO - Deleting VM ctest-TestBasicPolicy-48884225-61428673 2025-10-22 19:12:29,189 - INFO - Deleting VM ctest-TestBasicPolicy-48884225-55094194 2025-10-22 19:12:29,579 - INFO - Deleted policy ctest-policy-allow-all-45966878 2025-10-22 19:12:29,579 - INFO - Deleting VN ctest-vn-99125641 2025-10-22 19:12:29,619 - DEBUG - VN c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02 still in use: Unable to complete operation on network c0a83b56-7a9e-4d7c-96f9-7f1b44dcaa02. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb6c955f-1785-4a0f-aec2-dc75c0e95eb6'] 2025-10-22 19:12:29,619 - WARNING - Deleting VN ctest-vn-99125641 failed..Will retry 2025-10-22 19:12:31,739 - DEBUG - Response for deleting network () 2025-10-22 19:12:31,740 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/3d84ff8d-df2d-4e45-84e3-5f4ec70597d8 2025-10-22 19:12:31,746 - DEBUG - Response Code: 404 2025-10-22 19:12:31,746 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 19:12:31,752 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4fa4561c-cadb-41af-a3b5-05e18d999394 2025-10-22 19:12:31,804 - DEBUG - Requesting: http://10.0.0.249:8082/project/7d7e2664-6cc2-4080-9912-8718ba3bb906 2025-10-22 19:12:31,880 - INFO - Validated that VN ctest-vn-99125641 is not found in API Server 2025-10-22 19:12:31,891 - DEBUG - VN ctest-vn-99125641 is not present in Agent 10.0.0.249 2025-10-22 19:12:31,891 - INFO - Validated that VN ctest-vn-99125641 is not in any agent 2025-10-22 19:12:31,906 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99125641 info 2025-10-22 19:12:31,906 - INFO - Deleting VN ctest-vn-81680480 2025-10-22 19:12:32,002 - DEBUG - Response for deleting network () 2025-10-22 19:12:32,002 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8c078f7c-0d21-4a56-bbbf-8b38caa96ed9 2025-10-22 19:12:32,008 - DEBUG - Response Code: 404 2025-10-22 19:12:32,009 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-22 19:12:32,014 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4fa4561c-cadb-41af-a3b5-05e18d999394 2025-10-22 19:12:32,070 - DEBUG - Requesting: http://10.0.0.249:8082/project/7d7e2664-6cc2-4080-9912-8718ba3bb906 2025-10-22 19:12:32,140 - INFO - Validated that VN ctest-vn-81680480 is not found in API Server 2025-10-22 19:12:32,150 - DEBUG - VN ctest-vn-81680480 is not present in Agent 10.0.0.249 2025-10-22 19:12:32,150 - INFO - Validated that VN ctest-vn-81680480 is not in any agent 2025-10-22 19:12:32,164 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81680480 info 2025-10-22 19:12:32,417 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 19:12:32,417 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-22 19:12:32,417 - INFO - -------------------------------------------------------------------------------- 2025-10-22 19:12:33,082 - INFO - Deleted project: ctest-TestBasicPolicy-48884225, ID : 7d7e2664-6cc2-4080-9912-8718ba3bb906