2025-08-25 12:31:13,134 - INFO - Domain Default found not creating 2025-08-25 12:31:13,276 - INFO - Project ctest-TestBasicPolicy-27979462 not found, creating it 2025-08-25 12:31:13,734 - INFO - Created Project:ctest-TestBasicPolicy-27979462, ID : 98a25f63-49d5-493a-acf5-33c5cdc74e49 2025-08-25 12:31:15,261 - INFO - ================================================================================ 2025-08-25 12:31:15,261 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 12:31:15,261 - 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-08-25 12:31:15,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-25 12:31:15,522 - INFO - Initial checks done. Running the testcase now 2025-08-25 12:31:15,522 - INFO - 2025-08-25 12:31:16,088 - DEBUG - Response for create_network : {'network': {'id': 'e465c7b2-4bdf-474f-8a37-0f2c23f400a3', 'name': 'ctest-vn-41244463', 'tenant_id': '98a25f6349d5493aacf533c5cdc74e49', 'project_id': '98a25f6349d5493aacf533c5cdc74e49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-vn-41244463'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:31:16,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '090ba825-c20d-4dca-b495-1db05167fbc5', 'name': '', 'tenant_id': '98a25f6349d5493aacf533c5cdc74e49', 'network_id': 'e465c7b2-4bdf-474f-8a37-0f2c23f400a3', 'ip_version': 4, 'cidr': '114.245.165.128/26', 'allocation_pools': [{'start': '114.245.165.130', 'end': '114.245.165.190'}], 'gateway_ip': '114.245.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.245.165.130', 'tags': [], 'project_id': '98a25f6349d5493aacf533c5cdc74e49'}} 2025-08-25 12:31:16,282 - INFO - Created VN ctest-vn-41244463 2025-08-25 12:31:16,336 - DEBUG - VN ctest-vn-41244463 UUID is e465c7b2-4bdf-474f-8a37-0f2c23f400a3 2025-08-25 12:31:16,632 - DEBUG - Response for create_network : {'network': {'id': 'c07dd3ef-d9a3-459d-b84c-9608cb4d2760', 'name': 'ctest-vn-03337168', 'tenant_id': '98a25f6349d5493aacf533c5cdc74e49', 'project_id': '98a25f6349d5493aacf533c5cdc74e49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-vn-03337168'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:31:16,852 - DEBUG - Response for create_subnet : {'subnet': {'id': '875820c6-dd78-4c72-81d6-dac619d48427', 'name': '', 'tenant_id': '98a25f6349d5493aacf533c5cdc74e49', 'network_id': 'c07dd3ef-d9a3-459d-b84c-9608cb4d2760', 'ip_version': 4, 'cidr': '38.137.110.128/26', 'allocation_pools': [{'start': '38.137.110.130', 'end': '38.137.110.190'}], 'gateway_ip': '38.137.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.137.110.130', 'tags': [], 'project_id': '98a25f6349d5493aacf533c5cdc74e49'}} 2025-08-25 12:31:16,869 - INFO - Created VN ctest-vn-03337168 2025-08-25 12:31:16,920 - DEBUG - VN ctest-vn-03337168 UUID is c07dd3ef-d9a3-459d-b84c-9608cb4d2760 2025-08-25 12:31:17,038 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-41244463, 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-27979462:ctest-vn-03337168, 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-08-25 12:31:17,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e465c7b2-4bdf-474f-8a37-0f2c23f400a3', 'name': 'ctest-vn-41244463', 'tenant_id': '98a25f6349d5493aacf533c5cdc74e49', 'project_id': '98a25f6349d5493aacf533c5cdc74e49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['090ba825-c20d-4dca-b495-1db05167fbc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-vn-41244463'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-policy-allow-all-69733528']], 'subnet_ipam': [{'subnet_cidr': '114.245.165.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:31:17,618 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c07dd3ef-d9a3-459d-b84c-9608cb4d2760', 'name': 'ctest-vn-03337168', 'tenant_id': '98a25f6349d5493aacf533c5cdc74e49', 'project_id': '98a25f6349d5493aacf533c5cdc74e49', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['875820c6-dd78-4c72-81d6-dac619d48427'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-vn-03337168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-policy-allow-all-69733528']], 'subnet_ipam': [{'subnet_cidr': '38.137.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:31:17,784 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-25 12:31:18,095 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-25 12:31:18,125 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b0b1ecbd-454d-43a5-8516-1a866cb6cb67 2025-08-25 12:31:18,141 - DEBUG - Requesting: http://10.0.0.65:8082/project/98a25f63-49d5-493a-acf5-33c5cdc74e49 2025-08-25 12:31:18,223 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e465c7b2-4bdf-474f-8a37-0f2c23f400a3 2025-08-25 12:31:18,243 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e465c7b2-4bdf-474f-8a37-0f2c23f400a3 2025-08-25 12:31:18,253 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a01c75fe-a801-4bd3-bf1c-6177d244c1c2 2025-08-25 12:31:18,261 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a01c75fe-a801-4bd3-bf1c-6177d244c1c2 2025-08-25 12:31:18,268 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/c10e1861-7a7e-423a-aff4-1b747222cef0 2025-08-25 12:31:18,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 12:31:18,275 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e465c7b2-4bdf-474f-8a37-0f2c23f400a3 2025-08-25 12:31:18,285 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a01c75fe-a801-4bd3-bf1c-6177d244c1c2 2025-08-25 12:31:18,298 - INFO - Verified VN network id 12 for VN e465c7b2-4bdf-474f-8a37-0f2c23f400a3 2025-08-25 12:31:18,299 - INFO - Verifications in API Server for VN ctest-vn-41244463 passed 2025-08-25 12:31:18,299 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e465c7b2-4bdf-474f-8a37-0f2c23f400a3 2025-08-25 12:31:18,309 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a01c75fe-a801-4bd3-bf1c-6177d244c1c2 2025-08-25 12:31:18,317 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a01c75fe-a801-4bd3-bf1c-6177d244c1c2 2025-08-25 12:31:18,324 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/c10e1861-7a7e-423a-aff4-1b747222cef0 2025-08-25 12:31:18,336 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-41244463', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27979462', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16457779981886375759', 'uuid-lslong': '9959445783209312419'}, 'enable': 'true', 'created': '2025-08-25T12:31:16', 'last-modified': '2025-08-25T12:31:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007822'} 2025-08-25 12:31:18,342 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 12:31:18,343 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41244463 passed 2025-08-25 12:31:18,343 - DEBUG - ====Verifying policy data for ctest-vn-41244463 in API_Server ====== 2025-08-25 12:31:18,343 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-25 12:31:18,348 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b0b1ecbd-454d-43a5-8516-1a866cb6cb67 2025-08-25 12:31:18,360 - DEBUG - Requesting: http://10.0.0.65:8082/project/98a25f63-49d5-493a-acf5-33c5cdc74e49 2025-08-25 12:31:18,434 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/e465c7b2-4bdf-474f-8a37-0f2c23f400a3 2025-08-25 12:31:18,445 - DEBUG - ==>Verifying data for policy with id: 8e8f2458-c04e-4d26-ac05-e388780af470, fqn: ['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-policy-allow-all-69733528'] 2025-08-25 12:31:18,445 - INFO - VN ctest-vn-41244463 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 12:31:18,445 - DEBUG - Verifying the vn in opserver 2025-08-25 12:31:18,445 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-41244463 virtual network link through opserver 10.0.0.65 2025-08-25 12:31:18,445 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-25 12:31:18,758 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-25 12:31:18,815 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-41244463', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-41244463?flat'} 2025-08-25 12:31:18,816 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-41244463 is found in opserver 2025-08-25 12:31:18,830 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 12:31:18,837 - DEBUG - VRF ids for VN ctest-vn-41244463: {} 2025-08-25 12:31:18,837 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-25 12:31:18,844 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b0b1ecbd-454d-43a5-8516-1a866cb6cb67 2025-08-25 12:31:18,858 - DEBUG - Requesting: http://10.0.0.65:8082/project/98a25f63-49d5-493a-acf5-33c5cdc74e49 2025-08-25 12:31:18,934 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c07dd3ef-d9a3-459d-b84c-9608cb4d2760 2025-08-25 12:31:18,947 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c07dd3ef-d9a3-459d-b84c-9608cb4d2760 2025-08-25 12:31:18,957 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/81a39c1f-865f-450a-a2d6-9e6a11eabc8e 2025-08-25 12:31:18,964 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/81a39c1f-865f-450a-a2d6-9e6a11eabc8e 2025-08-25 12:31:18,970 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/bdfe6722-e8f7-410f-84e0-4cae92b2b907 2025-08-25 12:31:18,976 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 12:31:18,976 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c07dd3ef-d9a3-459d-b84c-9608cb4d2760 2025-08-25 12:31:18,985 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/81a39c1f-865f-450a-a2d6-9e6a11eabc8e 2025-08-25 12:31:18,998 - INFO - Verified VN network id 13 for VN c07dd3ef-d9a3-459d-b84c-9608cb4d2760 2025-08-25 12:31:18,998 - INFO - Verifications in API Server for VN ctest-vn-03337168 passed 2025-08-25 12:31:18,998 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c07dd3ef-d9a3-459d-b84c-9608cb4d2760 2025-08-25 12:31:19,008 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/81a39c1f-865f-450a-a2d6-9e6a11eabc8e 2025-08-25 12:31:19,015 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/81a39c1f-865f-450a-a2d6-9e6a11eabc8e 2025-08-25 12:31:19,021 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/bdfe6722-e8f7-410f-84e0-4cae92b2b907 2025-08-25 12:31:19,034 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-03337168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27979462', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13870475454472996253', 'uuid-lslong': '13280154365723486048'}, 'enable': 'true', 'created': '2025-08-25T12:31:16', 'last-modified': '2025-08-25T12:31:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.443215'} 2025-08-25 12:31:19,040 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 12:31:19,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03337168 passed 2025-08-25 12:31:19,040 - DEBUG - ====Verifying policy data for ctest-vn-03337168 in API_Server ====== 2025-08-25 12:31:19,041 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-25 12:31:19,046 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b0b1ecbd-454d-43a5-8516-1a866cb6cb67 2025-08-25 12:31:19,058 - DEBUG - Requesting: http://10.0.0.65:8082/project/98a25f63-49d5-493a-acf5-33c5cdc74e49 2025-08-25 12:31:19,140 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c07dd3ef-d9a3-459d-b84c-9608cb4d2760 2025-08-25 12:31:19,151 - DEBUG - ==>Verifying data for policy with id: 8e8f2458-c04e-4d26-ac05-e388780af470, fqn: ['default-domain', 'ctest-TestBasicPolicy-27979462', 'ctest-policy-allow-all-69733528'] 2025-08-25 12:31:19,151 - INFO - VN ctest-vn-03337168 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 12:31:19,151 - DEBUG - Verifying the vn in opserver 2025-08-25 12:31:19,151 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-03337168 virtual network link through opserver 10.0.0.65 2025-08-25 12:31:19,151 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-08-25 12:31:19,162 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-03337168', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-03337168?flat'} 2025-08-25 12:31:19,162 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-03337168 is found in opserver 2025-08-25 12:31:19,174 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 12:31:19,180 - DEBUG - VRF ids for VN ctest-vn-03337168: {} 2025-08-25 12:31:19,235 - DEBUG - Services list from nova: [, , ] 2025-08-25 12:31:20,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3919-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3919-1) 2025-08-25 12:31:21,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3919-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3919-1) 2025-08-25 12:31:21,496 - INFO - Waiting for VM ctest-TestBasicPolicy-27979462-78424114 to be up.. 2025-08-25 12:31:21,590 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 12:31:26,680 - DEBUG - VM is in ACTIVE state now 2025-08-25 12:31:26,680 - INFO - VM name : ctest-TestBasicPolicy-27979462-78424114 2025-08-25 12:31:26,762 - DEBUG - VM ctest-TestBasicPolicy-27979462-78424114 ID is 6cc52963-33e7-478c-8ae6-a94b520fed45 2025-08-25 12:31:26,786 - DEBUG - VM ctest-TestBasicPolicy-27979462-78424114 launched on Node cn-jenkins-deploy-platform-ansible-os-3919-1 2025-08-25 12:31:26,873 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/6cc52963-33e7-478c-8ae6-a94b520fed45 2025-08-25 12:31:26,885 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/6b3dcd63-cc7e-4c1c-85e3-cfaec1859b21 2025-08-25 12:31:30,164 - 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 1019ms') 2025-08-25 12:31:30,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27979462-78424114 failed! 2025-08-25 12:31:30,232 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27979462:ctest-vn-41244463 is 114.245.165.129 and allocation pool is NOT set 2025-08-25 12:31:32,299 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/5.693/10.903/5.210 ms') 2025-08-25 12:31:32,299 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27979462-78424114 passed 2025-08-25 12:31:32,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:31:32,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27979462-78424114, IP 114.245.165.131, Port 22 2025-08-25 12:31:32,648 - DEBUG - VM ctest-TestBasicPolicy-27979462-78424114 is ready for SSH connections 2025-08-25 12:31:32,648 - INFO - Waiting for VM ctest-TestBasicPolicy-27979462-85912911 to be up.. 2025-08-25 12:31:32,739 - DEBUG - VM is in ACTIVE state now 2025-08-25 12:31:32,739 - INFO - VM name : ctest-TestBasicPolicy-27979462-85912911 2025-08-25 12:31:32,830 - DEBUG - VM ctest-TestBasicPolicy-27979462-85912911 ID is 0b132b66-8145-4477-a59d-95a3ed0049c6 2025-08-25 12:31:32,830 - DEBUG - VM ctest-TestBasicPolicy-27979462-85912911 launched on Node cn-jenkins-deploy-platform-ansible-os-3919-1 2025-08-25 12:31:32,940 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/0b132b66-8145-4477-a59d-95a3ed0049c6 2025-08-25 12:31:32,951 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/2f23f18e-c245-4d37-9ebd-16a24c45a806 2025-08-25 12:31:34,195 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.274/2.625/3.977/1.351 ms') 2025-08-25 12:31:34,195 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27979462-85912911 passed 2025-08-25 12:31:34,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:31:34,356 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27979462-85912911, IP 38.137.110.131, Port 22 2025-08-25 12:31:34,516 - DEBUG - VM ctest-TestBasicPolicy-27979462-85912911 is ready for SSH connections 2025-08-25 12:31:34,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:31:34,516 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.137.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:31:34,517 - DEBUG - ping -s 56 -c 3 -W 1 38.137.110.131 2025-08-25 12:31:38,520 - DEBUG - PING 38.137.110.131 (38.137.110.131): 56 data bytes 64 bytes from 38.137.110.131: seq=0 ttl=63 time=4.077 ms 64 bytes from 38.137.110.131: seq=1 ttl=63 time=0.823 ms 64 bytes from 38.137.110.131: seq=2 ttl=63 time=0.886 ms --- 38.137.110.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.928/4.077 ms 2025-08-25 12:31:38,520 - INFO - Ping to IP 38.137.110.131 from VM ctest-TestBasicPolicy-27979462-78424114 passed 2025-08-25 12:31:38,716 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8e8f2458-c04e-4d26-ac05-e388780af470", "href": "http://10.0.0.65:8082/network-policy/8e8f2458-c04e-4d26-ac05-e388780af470"}} 2025-08-25 12:31:38,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:31:38,716 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.137.110.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:31:38,717 - DEBUG - ping -s 56 -c 3 -W 1 38.137.110.131 2025-08-25 12:31:41,934 - DEBUG - PING 38.137.110.131 (38.137.110.131): 56 data bytes --- 38.137.110.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 12:31:41,934 - WARNING - Ping to IP 38.137.110.131 from VM ctest-TestBasicPolicy-27979462-78424114 failed 2025-08-25 12:31:41,934 - INFO - Deleting VM ctest-TestBasicPolicy-27979462-85912911 2025-08-25 12:31:42,005 - INFO - Deleting VM ctest-TestBasicPolicy-27979462-78424114 2025-08-25 12:31:42,459 - INFO - Deleted policy ctest-policy-allow-all-69733528 2025-08-25 12:31:42,459 - INFO - Deleting VN ctest-vn-03337168 2025-08-25 12:31:42,493 - DEBUG - VN c07dd3ef-d9a3-459d-b84c-9608cb4d2760 still in use: Unable to complete operation on network c07dd3ef-d9a3-459d-b84c-9608cb4d2760. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aee6cfaa-48d3-4c70-b961-33d1b83ae27c'] 2025-08-25 12:31:42,493 - WARNING - Deleting VN ctest-vn-03337168 failed..Will retry 2025-08-25 12:31:44,604 - DEBUG - Response for deleting network () 2025-08-25 12:31:44,604 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/81a39c1f-865f-450a-a2d6-9e6a11eabc8e 2025-08-25 12:31:44,612 - DEBUG - Response Code: 404 2025-08-25 12:31:44,612 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-25 12:31:44,617 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b0b1ecbd-454d-43a5-8516-1a866cb6cb67 2025-08-25 12:31:44,675 - DEBUG - Requesting: http://10.0.0.65:8082/project/98a25f63-49d5-493a-acf5-33c5cdc74e49 2025-08-25 12:31:44,756 - INFO - Validated that VN ctest-vn-03337168 is not found in API Server 2025-08-25 12:31:44,770 - DEBUG - VN ctest-vn-03337168 is not present in Agent 10.0.0.65 2025-08-25 12:31:44,770 - INFO - Validated that VN ctest-vn-03337168 is not in any agent 2025-08-25 12:31:44,785 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03337168 info 2025-08-25 12:31:44,785 - INFO - Deleting VN ctest-vn-41244463 2025-08-25 12:31:44,895 - DEBUG - Response for deleting network () 2025-08-25 12:31:44,895 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/a01c75fe-a801-4bd3-bf1c-6177d244c1c2 2025-08-25 12:31:44,901 - DEBUG - Response Code: 404 2025-08-25 12:31:44,902 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-08-25 12:31:44,911 - DEBUG - Requesting: http://10.0.0.65:8082/domain/b0b1ecbd-454d-43a5-8516-1a866cb6cb67 2025-08-25 12:31:44,965 - DEBUG - Requesting: http://10.0.0.65:8082/project/98a25f63-49d5-493a-acf5-33c5cdc74e49 2025-08-25 12:31:45,038 - INFO - Validated that VN ctest-vn-41244463 is not found in API Server 2025-08-25 12:31:45,050 - DEBUG - VN ctest-vn-41244463 is not present in Agent 10.0.0.65 2025-08-25 12:31:45,050 - INFO - Validated that VN ctest-vn-41244463 is not in any agent 2025-08-25 12:31:45,065 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41244463 info 2025-08-25 12:31:45,330 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 12:31:45,330 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-25 12:31:45,331 - INFO - -------------------------------------------------------------------------------- 2025-08-25 12:31:46,015 - INFO - Deleted project: ctest-TestBasicPolicy-27979462, ID : 98a25f63-49d5-493a-acf5-33c5cdc74e49