2025-07-31 13:56:31,258 - INFO - Domain Default found not creating 2025-07-31 13:56:31,417 - INFO - Project ctest-TestBasicPolicy-97756710 not found, creating it 2025-07-31 13:56:31,905 - INFO - Created Project:ctest-TestBasicPolicy-97756710, ID : fd6f222b-37f3-4052-8759-b53935e1d37f 2025-07-31 13:56:33,378 - INFO - ================================================================================ 2025-07-31 13:56:33,378 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-31 13:56:33,379 - 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-07-31 13:56:33,637 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-07-31 13:56:33,638 - INFO - Initial checks done. Running the testcase now 2025-07-31 13:56:33,638 - INFO - 2025-07-31 13:56:34,186 - DEBUG - Response for create_network : {'network': {'id': 'ea23d2db-e8ff-467c-9a1d-f861b460ef81', 'name': 'ctest-vn-57158974', 'tenant_id': 'fd6f222b37f340528759b53935e1d37f', 'project_id': 'fd6f222b37f340528759b53935e1d37f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-vn-57158974'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:56:34,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '40238337-55e2-48af-88fc-51fb95fba5da', 'name': '', 'tenant_id': 'fd6f222b37f340528759b53935e1d37f', 'network_id': 'ea23d2db-e8ff-467c-9a1d-f861b460ef81', 'ip_version': 4, 'cidr': '9.38.3.0/26', 'allocation_pools': [{'start': '9.38.3.2', 'end': '9.38.3.62'}], 'gateway_ip': '9.38.3.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.38.3.2', 'tags': [], 'project_id': 'fd6f222b37f340528759b53935e1d37f'}} 2025-07-31 13:56:34,380 - INFO - Created VN ctest-vn-57158974 2025-07-31 13:56:34,431 - DEBUG - VN ctest-vn-57158974 UUID is ea23d2db-e8ff-467c-9a1d-f861b460ef81 2025-07-31 13:56:34,768 - DEBUG - Response for create_network : {'network': {'id': 'f994ba2d-e3a1-442a-bbc7-50dd9f95a895', 'name': 'ctest-vn-35395382', 'tenant_id': 'fd6f222b37f340528759b53935e1d37f', 'project_id': 'fd6f222b37f340528759b53935e1d37f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-vn-35395382'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:56:34,963 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0929308-e319-47fe-9160-2c83bb4bd93f', 'name': '', 'tenant_id': 'fd6f222b37f340528759b53935e1d37f', 'network_id': 'f994ba2d-e3a1-442a-bbc7-50dd9f95a895', 'ip_version': 4, 'cidr': '97.237.85.128/26', 'allocation_pools': [{'start': '97.237.85.130', 'end': '97.237.85.190'}], 'gateway_ip': '97.237.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.237.85.130', 'tags': [], 'project_id': 'fd6f222b37f340528759b53935e1d37f'}} 2025-07-31 13:56:34,979 - INFO - Created VN ctest-vn-35395382 2025-07-31 13:56:35,031 - DEBUG - VN ctest-vn-35395382 UUID is f994ba2d-e3a1-442a-bbc7-50dd9f95a895 2025-07-31 13:56:35,149 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-57158974, 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-97756710:ctest-vn-35395382, 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-07-31 13:56:35,458 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ea23d2db-e8ff-467c-9a1d-f861b460ef81', 'name': 'ctest-vn-57158974', 'tenant_id': 'fd6f222b37f340528759b53935e1d37f', 'project_id': 'fd6f222b37f340528759b53935e1d37f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40238337-55e2-48af-88fc-51fb95fba5da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-vn-57158974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-policy-allow-all-59469109']], 'subnet_ipam': [{'subnet_cidr': '9.38.3.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:56:35,697 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f994ba2d-e3a1-442a-bbc7-50dd9f95a895', 'name': 'ctest-vn-35395382', 'tenant_id': 'fd6f222b37f340528759b53935e1d37f', 'project_id': 'fd6f222b37f340528759b53935e1d37f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0929308-e319-47fe-9160-2c83bb4bd93f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-vn-35395382'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-policy-allow-all-59469109']], 'subnet_ipam': [{'subnet_cidr': '97.237.85.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-31 13:56:35,859 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-31 13:56:36,154 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-31 13:56:36,186 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c9e90f9b-d6f8-44b6-91f1-fa286b6f93b3 2025-07-31 13:56:36,199 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd6f222b-37f3-4052-8759-b53935e1d37f 2025-07-31 13:56:36,274 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ea23d2db-e8ff-467c-9a1d-f861b460ef81 2025-07-31 13:56:36,286 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ea23d2db-e8ff-467c-9a1d-f861b460ef81 2025-07-31 13:56:36,297 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b1c16e5-04e6-452e-8429-c9342ec75ca0 2025-07-31 13:56:36,305 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b1c16e5-04e6-452e-8429-c9342ec75ca0 2025-07-31 13:56:36,312 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ef6744bc-b66c-49c1-9d31-8f8140697b1f 2025-07-31 13:56:36,318 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-31 13:56:36,318 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ea23d2db-e8ff-467c-9a1d-f861b460ef81 2025-07-31 13:56:36,329 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b1c16e5-04e6-452e-8429-c9342ec75ca0 2025-07-31 13:56:36,346 - INFO - Verified VN network id 11 for VN ea23d2db-e8ff-467c-9a1d-f861b460ef81 2025-07-31 13:56:36,346 - INFO - Verifications in API Server for VN ctest-vn-57158974 passed 2025-07-31 13:56:36,346 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ea23d2db-e8ff-467c-9a1d-f861b460ef81 2025-07-31 13:56:36,359 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b1c16e5-04e6-452e-8429-c9342ec75ca0 2025-07-31 13:56:36,369 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b1c16e5-04e6-452e-8429-c9342ec75ca0 2025-07-31 13:56:36,378 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ef6744bc-b66c-49c1-9d31-8f8140697b1f 2025-07-31 13:56:36,396 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-57158974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97756710', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16871560471008724604', 'uuid-lslong': '11105305354687278977'}, 'enable': 'true', 'created': '2025-07-31T13:56:34', 'last-modified': '2025-07-31T13:56:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.963835'} 2025-07-31 13:56:36,407 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-31 13:56:36,407 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57158974 passed 2025-07-31 13:56:36,407 - DEBUG - ====Verifying policy data for ctest-vn-57158974 in API_Server ====== 2025-07-31 13:56:36,407 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-31 13:56:36,415 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c9e90f9b-d6f8-44b6-91f1-fa286b6f93b3 2025-07-31 13:56:36,431 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd6f222b-37f3-4052-8759-b53935e1d37f 2025-07-31 13:56:36,525 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/ea23d2db-e8ff-467c-9a1d-f861b460ef81 2025-07-31 13:56:36,540 - DEBUG - ==>Verifying data for policy with id: 4c3fb4ad-dd42-464e-8310-70df03320dba, fqn: ['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-policy-allow-all-59469109'] 2025-07-31 13:56:36,540 - INFO - VN ctest-vn-57158974 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-31 13:56:36,540 - DEBUG - Verifying the vn in opserver 2025-07-31 13:56:36,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-57158974 virtual network link through opserver 10.0.0.65 2025-07-31 13:56:36,540 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-31 13:56:36,844 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-31 13:56:36,913 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-57158974', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-57158974?flat'} 2025-07-31 13:56:36,913 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-57158974 is found in opserver 2025-07-31 13:56:36,926 - DEBUG - Do not have enough data to verify VN in agent 2025-07-31 13:56:36,931 - DEBUG - VRF ids for VN ctest-vn-57158974: {} 2025-07-31 13:56:36,931 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-31 13:56:36,937 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c9e90f9b-d6f8-44b6-91f1-fa286b6f93b3 2025-07-31 13:56:36,952 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd6f222b-37f3-4052-8759-b53935e1d37f 2025-07-31 13:56:37,030 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f994ba2d-e3a1-442a-bbc7-50dd9f95a895 2025-07-31 13:56:37,046 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f994ba2d-e3a1-442a-bbc7-50dd9f95a895 2025-07-31 13:56:37,056 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/83fee1c0-7540-401c-b3f3-881b2815dea6 2025-07-31 13:56:37,066 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/83fee1c0-7540-401c-b3f3-881b2815dea6 2025-07-31 13:56:37,074 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/830b7932-13a4-4cc7-acd3-32eb9c93e823 2025-07-31 13:56:37,084 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-31 13:56:37,084 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f994ba2d-e3a1-442a-bbc7-50dd9f95a895 2025-07-31 13:56:37,097 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/83fee1c0-7540-401c-b3f3-881b2815dea6 2025-07-31 13:56:37,120 - INFO - Verified VN network id 12 for VN f994ba2d-e3a1-442a-bbc7-50dd9f95a895 2025-07-31 13:56:37,120 - INFO - Verifications in API Server for VN ctest-vn-35395382 passed 2025-07-31 13:56:37,120 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f994ba2d-e3a1-442a-bbc7-50dd9f95a895 2025-07-31 13:56:37,133 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/83fee1c0-7540-401c-b3f3-881b2815dea6 2025-07-31 13:56:37,143 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/83fee1c0-7540-401c-b3f3-881b2815dea6 2025-07-31 13:56:37,152 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/830b7932-13a4-4cc7-acd3-32eb9c93e823 2025-07-31 13:56:37,169 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-35395382', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97756710', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17984203918252524586', 'uuid-lslong': '13530872518253324437'}, 'enable': 'true', 'created': '2025-07-31T13:56:34', 'last-modified': '2025-07-31T13:56:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.495980'} 2025-07-31 13:56:37,176 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-31 13:56:37,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35395382 passed 2025-07-31 13:56:37,177 - DEBUG - ====Verifying policy data for ctest-vn-35395382 in API_Server ====== 2025-07-31 13:56:37,177 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-31 13:56:37,183 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c9e90f9b-d6f8-44b6-91f1-fa286b6f93b3 2025-07-31 13:56:37,200 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd6f222b-37f3-4052-8759-b53935e1d37f 2025-07-31 13:56:37,288 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/f994ba2d-e3a1-442a-bbc7-50dd9f95a895 2025-07-31 13:56:37,300 - DEBUG - ==>Verifying data for policy with id: 4c3fb4ad-dd42-464e-8310-70df03320dba, fqn: ['default-domain', 'ctest-TestBasicPolicy-97756710', 'ctest-policy-allow-all-59469109'] 2025-07-31 13:56:37,300 - INFO - VN ctest-vn-35395382 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-31 13:56:37,300 - DEBUG - Verifying the vn in opserver 2025-07-31 13:56:37,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-35395382 virtual network link through opserver 10.0.0.65 2025-07-31 13:56:37,300 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-07-31 13:56:37,314 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-35395382', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-35395382?flat'} 2025-07-31 13:56:37,314 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-35395382 is found in opserver 2025-07-31 13:56:37,330 - DEBUG - Do not have enough data to verify VN in agent 2025-07-31 13:56:37,337 - DEBUG - VRF ids for VN ctest-vn-35395382: {} 2025-07-31 13:56:37,411 - DEBUG - Services list from nova: [, , ] 2025-07-31 13:56:38,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:56:39,654 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3737-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3737-1) 2025-07-31 13:56:39,654 - INFO - Waiting for VM ctest-TestBasicPolicy-97756710-05604714 to be up.. 2025-07-31 13:56:39,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 13:56:44,839 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:56:44,839 - INFO - VM name : ctest-TestBasicPolicy-97756710-05604714 2025-07-31 13:56:44,915 - DEBUG - VM ctest-TestBasicPolicy-97756710-05604714 ID is 25261557-f826-4969-9fb5-20d8947e7b2f 2025-07-31 13:56:44,938 - DEBUG - VM ctest-TestBasicPolicy-97756710-05604714 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:56:45,015 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/25261557-f826-4969-9fb5-20d8947e7b2f 2025-07-31 13:56:45,025 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/332b0f59-7d44-454e-be81-7fdbd8198407 2025-07-31 13:56:48,293 - 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 1031ms') 2025-07-31 13:56:48,293 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97756710-05604714 failed! 2025-07-31 13:56:48,347 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97756710:ctest-vn-57158974 is 9.38.3.1 and allocation pool is NOT set 2025-07-31 13:56:50,408 - 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=5.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.360 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.360/3.176/5.992/2.816 ms') 2025-07-31 13:56:50,409 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97756710-05604714 passed 2025-07-31 13:56:50,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:56:50,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97756710-05604714, IP 9.38.3.3, Port 22 2025-07-31 13:56:50,734 - DEBUG - VM ctest-TestBasicPolicy-97756710-05604714 is ready for SSH connections 2025-07-31 13:56:50,734 - INFO - Waiting for VM ctest-TestBasicPolicy-97756710-39438845 to be up.. 2025-07-31 13:56:50,814 - DEBUG - VM is in ACTIVE state now 2025-07-31 13:56:50,814 - INFO - VM name : ctest-TestBasicPolicy-97756710-39438845 2025-07-31 13:56:50,890 - DEBUG - VM ctest-TestBasicPolicy-97756710-39438845 ID is 82938329-9877-4c6a-8a41-838bf07babe6 2025-07-31 13:56:50,890 - DEBUG - VM ctest-TestBasicPolicy-97756710-39438845 launched on Node cn-jenkins-deploy-platform-ansible-os-3737-1 2025-07-31 13:56:50,973 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/82938329-9877-4c6a-8a41-838bf07babe6 2025-07-31 13:56:50,982 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b5d50574-2dd4-4bb9-8557-ac3d10ed5bea 2025-07-31 13:56:52,224 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.738 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.738/2.349/3.961/1.611 ms') 2025-07-31 13:56:52,225 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97756710-39438845 passed 2025-07-31 13:56:52,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:56:52,379 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97756710-39438845, IP 97.237.85.131, Port 22 2025-07-31 13:56:52,535 - DEBUG - VM ctest-TestBasicPolicy-97756710-39438845 is ready for SSH connections 2025-07-31 13:56:52,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:56:52,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.237.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:56:52,535 - DEBUG - ping -s 56 -c 3 -W 1 97.237.85.131 2025-07-31 13:56:56,583 - DEBUG - PING 97.237.85.131 (97.237.85.131): 56 data bytes 64 bytes from 97.237.85.131: seq=0 ttl=63 time=3.629 ms 64 bytes from 97.237.85.131: seq=1 ttl=63 time=0.866 ms 64 bytes from 97.237.85.131: seq=2 ttl=63 time=1.109 ms --- 97.237.85.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.868/3.629 ms 2025-07-31 13:56:56,583 - INFO - Ping to IP 97.237.85.131 from VM ctest-TestBasicPolicy-97756710-05604714 passed 2025-07-31 13:56:56,763 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4c3fb4ad-dd42-464e-8310-70df03320dba", "href": "http://10.0.0.65:8082/network-policy/4c3fb4ad-dd42-464e-8310-70df03320dba"}} 2025-07-31 13:56:56,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 13:56:56,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.237.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-31 13:56:56,764 - DEBUG - ping -s 56 -c 3 -W 1 97.237.85.131 2025-07-31 13:56:59,972 - DEBUG - PING 97.237.85.131 (97.237.85.131): 56 data bytes --- 97.237.85.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-31 13:56:59,972 - WARNING - Ping to IP 97.237.85.131 from VM ctest-TestBasicPolicy-97756710-05604714 failed 2025-07-31 13:56:59,972 - INFO - Deleting VM ctest-TestBasicPolicy-97756710-39438845 2025-07-31 13:57:00,051 - INFO - Deleting VM ctest-TestBasicPolicy-97756710-05604714 2025-07-31 13:57:00,469 - INFO - Deleted policy ctest-policy-allow-all-59469109 2025-07-31 13:57:00,469 - INFO - Deleting VN ctest-vn-35395382 2025-07-31 13:57:00,510 - DEBUG - VN f994ba2d-e3a1-442a-bbc7-50dd9f95a895 still in use: Unable to complete operation on network f994ba2d-e3a1-442a-bbc7-50dd9f95a895. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ba07961-e9cd-4661-b96a-20a8d1a28220'] 2025-07-31 13:57:00,510 - WARNING - Deleting VN ctest-vn-35395382 failed..Will retry 2025-07-31 13:57:02,622 - DEBUG - Response for deleting network () 2025-07-31 13:57:02,622 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/83fee1c0-7540-401c-b3f3-881b2815dea6 2025-07-31 13:57:02,628 - DEBUG - Response Code: 404 2025-07-31 13:57:02,629 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-31 13:57:02,636 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c9e90f9b-d6f8-44b6-91f1-fa286b6f93b3 2025-07-31 13:57:02,691 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd6f222b-37f3-4052-8759-b53935e1d37f 2025-07-31 13:57:02,767 - INFO - Validated that VN ctest-vn-35395382 is not found in API Server 2025-07-31 13:57:02,778 - DEBUG - VN ctest-vn-35395382 is not present in Agent 10.0.0.65 2025-07-31 13:57:02,778 - INFO - Validated that VN ctest-vn-35395382 is not in any agent 2025-07-31 13:57:02,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35395382 info 2025-07-31 13:57:02,794 - INFO - Deleting VN ctest-vn-57158974 2025-07-31 13:57:02,897 - DEBUG - Response for deleting network () 2025-07-31 13:57:02,897 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1b1c16e5-04e6-452e-8429-c9342ec75ca0 2025-07-31 13:57:02,903 - DEBUG - Response Code: 404 2025-07-31 13:57:02,903 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-07-31 13:57:02,914 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c9e90f9b-d6f8-44b6-91f1-fa286b6f93b3 2025-07-31 13:57:02,968 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd6f222b-37f3-4052-8759-b53935e1d37f 2025-07-31 13:57:03,046 - INFO - Validated that VN ctest-vn-57158974 is not found in API Server 2025-07-31 13:57:03,057 - DEBUG - VN ctest-vn-57158974 is not present in Agent 10.0.0.65 2025-07-31 13:57:03,057 - INFO - Validated that VN ctest-vn-57158974 is not in any agent 2025-07-31 13:57:03,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57158974 info 2025-07-31 13:57:03,329 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 13:57:03,329 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-31 13:57:03,330 - INFO - -------------------------------------------------------------------------------- 2025-07-31 13:57:04,006 - INFO - Deleted project: ctest-TestBasicPolicy-97756710, ID : fd6f222b-37f3-4052-8759-b53935e1d37f