2025-09-27 12:52:07,157 - INFO - Domain Default found not creating 2025-09-27 12:52:07,401 - INFO - Project ctest-TestBasicPolicy-29420181 not found, creating it 2025-09-27 12:52:07,889 - INFO - Created Project:ctest-TestBasicPolicy-29420181, ID : f98975e2-e16b-4f82-84cd-f619e0355ca4 2025-09-27 12:52:09,429 - INFO - ================================================================================ 2025-09-27 12:52:09,429 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-27 12:52:09,429 - 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-09-27 12:52:09,693 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-27 12:52:09,693 - INFO - Initial checks done. Running the testcase now 2025-09-27 12:52:09,693 - INFO - 2025-09-27 12:52:10,312 - DEBUG - Response for create_network : {'network': {'id': '0459759d-917a-4b8e-88b3-8b5129651cf7', 'name': 'ctest-vn-25352346', 'tenant_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'project_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-vn-25352346'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:52:10,482 - DEBUG - Response for create_subnet : {'subnet': {'id': '953ca1f9-3f2c-4c27-ba9d-698644e89da4', 'name': '', 'tenant_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'network_id': '0459759d-917a-4b8e-88b3-8b5129651cf7', 'ip_version': 4, 'cidr': '114.30.178.64/26', 'allocation_pools': [{'start': '114.30.178.66', 'end': '114.30.178.126'}], 'gateway_ip': '114.30.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.30.178.66', 'tags': [], 'project_id': 'f98975e2e16b4f8284cdf619e0355ca4'}} 2025-09-27 12:52:10,506 - INFO - Created VN ctest-vn-25352346 2025-09-27 12:52:10,562 - DEBUG - VN ctest-vn-25352346 UUID is 0459759d-917a-4b8e-88b3-8b5129651cf7 2025-09-27 12:52:10,885 - DEBUG - Response for create_network : {'network': {'id': 'a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d', 'name': 'ctest-vn-62491414', 'tenant_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'project_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-vn-62491414'], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:52:11,174 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af4e1961-b928-4f85-9be6-8d5f08091dcf', 'name': '', 'tenant_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'network_id': 'a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d', 'ip_version': 4, 'cidr': '139.2.59.128/26', 'allocation_pools': [{'start': '139.2.59.130', 'end': '139.2.59.190'}], 'gateway_ip': '139.2.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.2.59.130', 'tags': [], 'project_id': 'f98975e2e16b4f8284cdf619e0355ca4'}} 2025-09-27 12:52:11,194 - INFO - Created VN ctest-vn-62491414 2025-09-27 12:52:11,252 - DEBUG - VN ctest-vn-62491414 UUID is a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d 2025-09-27 12:52:11,378 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-25352346, 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-29420181:ctest-vn-62491414, 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-09-27 12:52:11,688 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0459759d-917a-4b8e-88b3-8b5129651cf7', 'name': 'ctest-vn-25352346', 'tenant_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'project_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['953ca1f9-3f2c-4c27-ba9d-698644e89da4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-vn-25352346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-policy-allow-all-20336972']], 'subnet_ipam': [{'subnet_cidr': '114.30.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:52:11,938 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d', 'name': 'ctest-vn-62491414', 'tenant_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'project_id': 'f98975e2e16b4f8284cdf619e0355ca4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['af4e1961-b928-4f85-9be6-8d5f08091dcf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-vn-62491414'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-policy-allow-all-20336972']], 'subnet_ipam': [{'subnet_cidr': '139.2.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-27 12:52:12,102 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-27 12:52:12,403 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-27 12:52:12,434 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a096c02-e82c-407f-ad33-cae666f4f191 2025-09-27 12:52:12,449 - DEBUG - Requesting: http://10.0.0.38:8082/project/f98975e2-e16b-4f82-84cd-f619e0355ca4 2025-09-27 12:52:12,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0459759d-917a-4b8e-88b3-8b5129651cf7 2025-09-27 12:52:12,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0459759d-917a-4b8e-88b3-8b5129651cf7 2025-09-27 12:52:12,543 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d43abdd2-5eac-4b67-9b1e-fca65b233338 2025-09-27 12:52:12,552 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d43abdd2-5eac-4b67-9b1e-fca65b233338 2025-09-27 12:52:12,561 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3ea86385-651e-4d43-a14d-5bbe6427af2c 2025-09-27 12:52:12,568 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-27 12:52:12,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0459759d-917a-4b8e-88b3-8b5129651cf7 2025-09-27 12:52:12,578 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d43abdd2-5eac-4b67-9b1e-fca65b233338 2025-09-27 12:52:12,594 - INFO - Verified VN network id 11 for VN 0459759d-917a-4b8e-88b3-8b5129651cf7 2025-09-27 12:52:12,594 - INFO - Verifications in API Server for VN ctest-vn-25352346 passed 2025-09-27 12:52:12,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0459759d-917a-4b8e-88b3-8b5129651cf7 2025-09-27 12:52:12,604 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d43abdd2-5eac-4b67-9b1e-fca65b233338 2025-09-27 12:52:12,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d43abdd2-5eac-4b67-9b1e-fca65b233338 2025-09-27 12:52:12,619 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3ea86385-651e-4d43-a14d-5bbe6427af2c 2025-09-27 12:52:12,633 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-25352346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29420181', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '313410968689986446', 'uuid-lslong': '9850369990692510967'}, 'enable': 'true', 'created': '2025-09-27T12:52:10', 'last-modified': '2025-09-27T12:52:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969381'} 2025-09-27 12:52:12,639 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-27 12:52:12,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25352346 passed 2025-09-27 12:52:12,640 - DEBUG - ====Verifying policy data for ctest-vn-25352346 in API_Server ====== 2025-09-27 12:52:12,640 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-27 12:52:12,645 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a096c02-e82c-407f-ad33-cae666f4f191 2025-09-27 12:52:12,657 - DEBUG - Requesting: http://10.0.0.38:8082/project/f98975e2-e16b-4f82-84cd-f619e0355ca4 2025-09-27 12:52:12,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0459759d-917a-4b8e-88b3-8b5129651cf7 2025-09-27 12:52:12,744 - DEBUG - ==>Verifying data for policy with id: 9888b49e-c887-44c6-8410-3b5b85af80ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-policy-allow-all-20336972'] 2025-09-27 12:52:12,744 - INFO - VN ctest-vn-25352346 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-27 12:52:12,744 - DEBUG - Verifying the vn in opserver 2025-09-27 12:52:12,744 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-25352346 virtual network link through opserver 10.0.0.38 2025-09-27 12:52:12,744 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-27 12:52:13,044 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-27 12:52:13,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-25352346', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-25352346?flat'} 2025-09-27 12:52:13,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-25352346 is found in opserver 2025-09-27 12:52:13,116 - DEBUG - Do not have enough data to verify VN in agent 2025-09-27 12:52:13,121 - DEBUG - VRF ids for VN ctest-vn-25352346: {} 2025-09-27 12:52:13,121 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-27 12:52:13,127 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a096c02-e82c-407f-ad33-cae666f4f191 2025-09-27 12:52:13,139 - DEBUG - Requesting: http://10.0.0.38:8082/project/f98975e2-e16b-4f82-84cd-f619e0355ca4 2025-09-27 12:52:13,210 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d 2025-09-27 12:52:13,221 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d 2025-09-27 12:52:13,231 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d8134a5-8e86-44ec-8e35-bd5f7fe4434c 2025-09-27 12:52:13,239 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d8134a5-8e86-44ec-8e35-bd5f7fe4434c 2025-09-27 12:52:13,247 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/057dbe73-bc45-4231-b6b4-9bbd6e291f4a 2025-09-27 12:52:13,256 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-27 12:52:13,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d 2025-09-27 12:52:13,268 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d8134a5-8e86-44ec-8e35-bd5f7fe4434c 2025-09-27 12:52:13,287 - INFO - Verified VN network id 12 for VN a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d 2025-09-27 12:52:13,287 - INFO - Verifications in API Server for VN ctest-vn-62491414 passed 2025-09-27 12:52:13,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d 2025-09-27 12:52:13,297 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d8134a5-8e86-44ec-8e35-bd5f7fe4434c 2025-09-27 12:52:13,305 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d8134a5-8e86-44ec-8e35-bd5f7fe4434c 2025-09-27 12:52:13,312 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/057dbe73-bc45-4231-b6b4-9bbd6e291f4a 2025-09-27 12:52:13,326 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-62491414', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29420181', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11710268675418377503', 'uuid-lslong': '12477377753403096173'}, 'enable': 'true', 'created': '2025-09-27T12:52:10', 'last-modified': '2025-09-27T12:52:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412832'} 2025-09-27 12:52:13,332 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-27 12:52:13,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62491414 passed 2025-09-27 12:52:13,332 - DEBUG - ====Verifying policy data for ctest-vn-62491414 in API_Server ====== 2025-09-27 12:52:13,332 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-27 12:52:13,337 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a096c02-e82c-407f-ad33-cae666f4f191 2025-09-27 12:52:13,348 - DEBUG - Requesting: http://10.0.0.38:8082/project/f98975e2-e16b-4f82-84cd-f619e0355ca4 2025-09-27 12:52:13,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d 2025-09-27 12:52:13,428 - DEBUG - ==>Verifying data for policy with id: 9888b49e-c887-44c6-8410-3b5b85af80ba, fqn: ['default-domain', 'ctest-TestBasicPolicy-29420181', 'ctest-policy-allow-all-20336972'] 2025-09-27 12:52:13,428 - INFO - VN ctest-vn-62491414 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-27 12:52:13,428 - DEBUG - Verifying the vn in opserver 2025-09-27 12:52:13,428 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-62491414 virtual network link through opserver 10.0.0.38 2025-09-27 12:52:13,428 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-27 12:52:13,438 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-62491414', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-62491414?flat'} 2025-09-27 12:52:13,438 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-62491414 is found in opserver 2025-09-27 12:52:13,447 - DEBUG - Do not have enough data to verify VN in agent 2025-09-27 12:52:13,452 - DEBUG - VRF ids for VN ctest-vn-62491414: {} 2025-09-27 12:52:13,528 - DEBUG - Services list from nova: [, , ] 2025-09-27 12:52:14,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4199-1) 2025-09-27 12:52:15,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4199-1) 2025-09-27 12:52:15,872 - INFO - Waiting for VM ctest-TestBasicPolicy-29420181-00644106 to be up.. 2025-09-27 12:52:15,996 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-27 12:52:21,084 - DEBUG - VM is in ACTIVE state now 2025-09-27 12:52:21,084 - INFO - VM name : ctest-TestBasicPolicy-29420181-00644106 2025-09-27 12:52:21,170 - DEBUG - VM ctest-TestBasicPolicy-29420181-00644106 ID is b7ea628e-7266-412b-920c-45929117096e 2025-09-27 12:52:21,191 - DEBUG - VM ctest-TestBasicPolicy-29420181-00644106 launched on Node cn-jenkins-deploy-platform-ansible-os-4199-1 2025-09-27 12:52:21,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b7ea628e-7266-412b-920c-45929117096e 2025-09-27 12:52:21,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/97ae61b1-490b-4af4-8614-174caf8c941f 2025-09-27 12:52:24,560 - 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 1017ms') 2025-09-27 12:52:24,560 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29420181-00644106 failed! 2025-09-27 12:52:24,614 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29420181:ctest-vn-25352346 is 114.30.178.65 and allocation pool is NOT set 2025-09-27 12:52:26,678 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.57 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 = 2.569/3.681/4.793/1.112 ms') 2025-09-27 12:52:26,678 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29420181-00644106 passed 2025-09-27 12:52:26,826 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:52:26,826 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29420181-00644106, IP 114.30.178.67, Port 22 2025-09-27 12:52:27,000 - DEBUG - VM ctest-TestBasicPolicy-29420181-00644106 is ready for SSH connections 2025-09-27 12:52:27,000 - INFO - Waiting for VM ctest-TestBasicPolicy-29420181-84384405 to be up.. 2025-09-27 12:52:27,086 - DEBUG - VM is in ACTIVE state now 2025-09-27 12:52:27,087 - INFO - VM name : ctest-TestBasicPolicy-29420181-84384405 2025-09-27 12:52:27,168 - DEBUG - VM ctest-TestBasicPolicy-29420181-84384405 ID is ec3daad6-64ea-4634-9c46-55006052229c 2025-09-27 12:52:27,168 - DEBUG - VM ctest-TestBasicPolicy-29420181-84384405 launched on Node cn-jenkins-deploy-platform-ansible-os-4199-1 2025-09-27 12:52:27,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ec3daad6-64ea-4634-9c46-55006052229c 2025-09-27 12:52:27,268 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/64f3afb1-554c-4aef-a5bd-d0979a59edaf 2025-09-27 12:52:28,519 - 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=5.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.15 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 = 2.152/3.887/5.622/1.735 ms') 2025-09-27 12:52:28,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29420181-84384405 passed 2025-09-27 12:52:28,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:52:28,670 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29420181-84384405, IP 139.2.59.131, Port 22 2025-09-27 12:52:28,836 - DEBUG - VM ctest-TestBasicPolicy-29420181-84384405 is ready for SSH connections 2025-09-27 12:52:28,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:52:28,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.2.59.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:52:28,836 - DEBUG - ping -s 56 -c 3 -W 1 139.2.59.131 2025-09-27 12:52:32,957 - DEBUG - PING 139.2.59.131 (139.2.59.131): 56 data bytes 64 bytes from 139.2.59.131: seq=0 ttl=63 time=3.801 ms 64 bytes from 139.2.59.131: seq=1 ttl=63 time=1.015 ms 64 bytes from 139.2.59.131: seq=2 ttl=63 time=1.276 ms --- 139.2.59.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.015/2.030/3.801 ms 2025-09-27 12:52:32,957 - INFO - Ping to IP 139.2.59.131 from VM ctest-TestBasicPolicy-29420181-00644106 passed 2025-09-27 12:52:33,142 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9888b49e-c887-44c6-8410-3b5b85af80ba", "href": "http://10.0.0.38:8082/network-policy/9888b49e-c887-44c6-8410-3b5b85af80ba"}} 2025-09-27 12:52:33,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-27 12:52:33,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.2.59.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-27 12:52:33,142 - DEBUG - ping -s 56 -c 3 -W 1 139.2.59.131 2025-09-27 12:52:36,369 - DEBUG - PING 139.2.59.131 (139.2.59.131): 56 data bytes --- 139.2.59.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-27 12:52:36,369 - WARNING - Ping to IP 139.2.59.131 from VM ctest-TestBasicPolicy-29420181-00644106 failed 2025-09-27 12:52:36,369 - INFO - Deleting VM ctest-TestBasicPolicy-29420181-84384405 2025-09-27 12:52:36,439 - INFO - Deleting VM ctest-TestBasicPolicy-29420181-00644106 2025-09-27 12:52:36,861 - INFO - Deleted policy ctest-policy-allow-all-20336972 2025-09-27 12:52:36,861 - INFO - Deleting VN ctest-vn-62491414 2025-09-27 12:52:36,901 - DEBUG - VN a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d still in use: Unable to complete operation on network a2833b51-0eb2-4d1f-ad28-8cf56ff3fc6d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f609b12-5564-4d63-8940-998b74740d12'] 2025-09-27 12:52:36,901 - WARNING - Deleting VN ctest-vn-62491414 failed..Will retry 2025-09-27 12:52:39,012 - DEBUG - Response for deleting network () 2025-09-27 12:52:39,012 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5d8134a5-8e86-44ec-8e35-bd5f7fe4434c 2025-09-27 12:52:39,018 - DEBUG - Response Code: 404 2025-09-27 12:52:39,019 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-27 12:52:39,025 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a096c02-e82c-407f-ad33-cae666f4f191 2025-09-27 12:52:39,082 - DEBUG - Requesting: http://10.0.0.38:8082/project/f98975e2-e16b-4f82-84cd-f619e0355ca4 2025-09-27 12:52:39,155 - INFO - Validated that VN ctest-vn-62491414 is not found in API Server 2025-09-27 12:52:39,167 - DEBUG - VN ctest-vn-62491414 is not present in Agent 10.0.0.38 2025-09-27 12:52:39,167 - INFO - Validated that VN ctest-vn-62491414 is not in any agent 2025-09-27 12:52:39,182 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62491414 info 2025-09-27 12:52:39,182 - INFO - Deleting VN ctest-vn-25352346 2025-09-27 12:52:39,311 - DEBUG - Response for deleting network () 2025-09-27 12:52:39,311 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d43abdd2-5eac-4b67-9b1e-fca65b233338 2025-09-27 12:52:39,318 - DEBUG - Response Code: 404 2025-09-27 12:52:39,318 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-27 12:52:39,324 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1a096c02-e82c-407f-ad33-cae666f4f191 2025-09-27 12:52:39,379 - DEBUG - Requesting: http://10.0.0.38:8082/project/f98975e2-e16b-4f82-84cd-f619e0355ca4 2025-09-27 12:52:39,460 - INFO - Validated that VN ctest-vn-25352346 is not found in API Server 2025-09-27 12:52:39,473 - DEBUG - VN ctest-vn-25352346 is not present in Agent 10.0.0.38 2025-09-27 12:52:39,473 - INFO - Validated that VN ctest-vn-25352346 is not in any agent 2025-09-27 12:52:39,487 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25352346 info 2025-09-27 12:52:39,756 - DEBUG - No XMPP flaps were noticed during the test 2025-09-27 12:52:39,756 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-27 12:52:39,756 - INFO - -------------------------------------------------------------------------------- 2025-09-27 12:52:40,460 - INFO - Deleted project: ctest-TestBasicPolicy-29420181, ID : f98975e2-e16b-4f82-84cd-f619e0355ca4