2025-11-04 21:52:27,350 - INFO - Domain Default found not creating 2025-11-04 21:52:27,476 - INFO - Project ctest-TestBasicPolicy-65717456 not found, creating it 2025-11-04 21:52:27,903 - INFO - Created Project:ctest-TestBasicPolicy-65717456, ID : 185f3e06-cb06-492d-911c-d7dcead8221b 2025-11-04 21:52:29,294 - INFO - ================================================================================ 2025-11-04 21:52:29,294 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 21:52:29,294 - 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-11-04 21:52:29,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-11-04 21:52:29,549 - INFO - Initial checks done. Running the testcase now 2025-11-04 21:52:29,549 - INFO - 2025-11-04 21:52:30,386 - DEBUG - Response for create_network : {'network': {'id': '26d72251-bca8-446e-a3d7-4d63dcd21bb0', 'name': 'ctest-vn-21817083', 'tenant_id': '185f3e06cb06492d911cd7dcead8221b', 'project_id': '185f3e06cb06492d911cd7dcead8221b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-vn-21817083'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:52:30,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '07a20a1b-2d3f-457c-b54e-489053700d01', 'name': '', 'tenant_id': '185f3e06cb06492d911cd7dcead8221b', 'network_id': '26d72251-bca8-446e-a3d7-4d63dcd21bb0', 'ip_version': 4, 'cidr': '160.89.158.192/26', 'allocation_pools': [{'start': '160.89.158.194', 'end': '160.89.158.254'}], 'gateway_ip': '160.89.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.89.158.194', 'tags': [], 'project_id': '185f3e06cb06492d911cd7dcead8221b'}} 2025-11-04 21:52:30,659 - INFO - Created VN ctest-vn-21817083 2025-11-04 21:52:30,711 - DEBUG - VN ctest-vn-21817083 UUID is 26d72251-bca8-446e-a3d7-4d63dcd21bb0 2025-11-04 21:52:31,021 - DEBUG - Response for create_network : {'network': {'id': 'ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae', 'name': 'ctest-vn-51582605', 'tenant_id': '185f3e06cb06492d911cd7dcead8221b', 'project_id': '185f3e06cb06492d911cd7dcead8221b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-vn-51582605'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:52:31,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eff33cf7-f97b-4ae3-8cec-fe5b2068339e', 'name': '', 'tenant_id': '185f3e06cb06492d911cd7dcead8221b', 'network_id': 'ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae', 'ip_version': 4, 'cidr': '70.187.226.192/26', 'allocation_pools': [{'start': '70.187.226.194', 'end': '70.187.226.254'}], 'gateway_ip': '70.187.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.187.226.194', 'tags': [], 'project_id': '185f3e06cb06492d911cd7dcead8221b'}} 2025-11-04 21:52:31,198 - INFO - Created VN ctest-vn-51582605 2025-11-04 21:52:31,252 - DEBUG - VN ctest-vn-51582605 UUID is ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae 2025-11-04 21:52:31,399 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-21817083, 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-65717456:ctest-vn-51582605, 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-11-04 21:52:31,680 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26d72251-bca8-446e-a3d7-4d63dcd21bb0', 'name': 'ctest-vn-21817083', 'tenant_id': '185f3e06cb06492d911cd7dcead8221b', 'project_id': '185f3e06cb06492d911cd7dcead8221b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['07a20a1b-2d3f-457c-b54e-489053700d01'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-vn-21817083'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-policy-allow-all-94381013']], 'subnet_ipam': [{'subnet_cidr': '160.89.158.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:52:31,940 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae', 'name': 'ctest-vn-51582605', 'tenant_id': '185f3e06cb06492d911cd7dcead8221b', 'project_id': '185f3e06cb06492d911cd7dcead8221b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eff33cf7-f97b-4ae3-8cec-fe5b2068339e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-vn-51582605'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-policy-allow-all-94381013']], 'subnet_ipam': [{'subnet_cidr': '70.187.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 21:52:32,087 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-04 21:52:32,405 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-04 21:52:32,433 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8b9e7181-8652-4ca8-aa51-033c5d612cfe 2025-11-04 21:52:32,444 - DEBUG - Requesting: http://10.0.0.130:8082/project/185f3e06-cb06-492d-911c-d7dcead8221b 2025-11-04 21:52:32,512 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/26d72251-bca8-446e-a3d7-4d63dcd21bb0 2025-11-04 21:52:32,522 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/26d72251-bca8-446e-a3d7-4d63dcd21bb0 2025-11-04 21:52:32,532 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6c6f5d99-7305-4b7b-bbe2-0f3d7252445e 2025-11-04 21:52:32,538 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6c6f5d99-7305-4b7b-bbe2-0f3d7252445e 2025-11-04 21:52:32,544 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/3adaf758-bc2e-4265-a638-8a92e0dde51b 2025-11-04 21:52:32,549 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 21:52:32,549 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/26d72251-bca8-446e-a3d7-4d63dcd21bb0 2025-11-04 21:52:32,556 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6c6f5d99-7305-4b7b-bbe2-0f3d7252445e 2025-11-04 21:52:32,568 - INFO - Verified VN network id 11 for VN 26d72251-bca8-446e-a3d7-4d63dcd21bb0 2025-11-04 21:52:32,568 - INFO - Verifications in API Server for VN ctest-vn-21817083 passed 2025-11-04 21:52:32,568 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/26d72251-bca8-446e-a3d7-4d63dcd21bb0 2025-11-04 21:52:32,575 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6c6f5d99-7305-4b7b-bbe2-0f3d7252445e 2025-11-04 21:52:32,580 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6c6f5d99-7305-4b7b-bbe2-0f3d7252445e 2025-11-04 21:52:32,585 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/3adaf758-bc2e-4265-a638-8a92e0dde51b 2025-11-04 21:52:32,594 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-21817083', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65717456', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2798743427886892142', 'uuid-lslong': '11805990039476902832'}, 'enable': 'true', 'created': '2025-11-04T21:52:30', 'last-modified': '2025-11-04T21:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935270'} 2025-11-04 21:52:32,599 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 21:52:32,599 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21817083 passed 2025-11-04 21:52:32,600 - DEBUG - ====Verifying policy data for ctest-vn-21817083 in API_Server ====== 2025-11-04 21:52:32,600 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-04 21:52:32,604 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8b9e7181-8652-4ca8-aa51-033c5d612cfe 2025-11-04 21:52:32,613 - DEBUG - Requesting: http://10.0.0.130:8082/project/185f3e06-cb06-492d-911c-d7dcead8221b 2025-11-04 21:52:32,683 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/26d72251-bca8-446e-a3d7-4d63dcd21bb0 2025-11-04 21:52:32,691 - DEBUG - ==>Verifying data for policy with id: 617d9e01-598d-420b-832c-67da8b7818cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-policy-allow-all-94381013'] 2025-11-04 21:52:32,691 - INFO - VN ctest-vn-21817083 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 21:52:32,691 - DEBUG - Verifying the vn in opserver 2025-11-04 21:52:32,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-21817083 virtual network link through opserver 10.0.0.130 2025-11-04 21:52:32,691 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-04 21:52:32,999 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-04 21:52:33,050 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-21817083', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-21817083?flat'} 2025-11-04 21:52:33,050 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-21817083 is found in opserver 2025-11-04 21:52:33,059 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 21:52:33,063 - DEBUG - VRF ids for VN ctest-vn-21817083: {} 2025-11-04 21:52:33,063 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-04 21:52:33,068 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8b9e7181-8652-4ca8-aa51-033c5d612cfe 2025-11-04 21:52:33,079 - DEBUG - Requesting: http://10.0.0.130:8082/project/185f3e06-cb06-492d-911c-d7dcead8221b 2025-11-04 21:52:33,150 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae 2025-11-04 21:52:33,161 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae 2025-11-04 21:52:33,168 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/34fcbd6c-77d6-49fc-8b29-9ade00aa34a7 2025-11-04 21:52:33,178 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/34fcbd6c-77d6-49fc-8b29-9ade00aa34a7 2025-11-04 21:52:33,185 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/88d0ffef-f89f-4e44-ad50-91566d9349d1 2025-11-04 21:52:33,193 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 21:52:33,193 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae 2025-11-04 21:52:33,201 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/34fcbd6c-77d6-49fc-8b29-9ade00aa34a7 2025-11-04 21:52:33,212 - INFO - Verified VN network id 12 for VN ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae 2025-11-04 21:52:33,213 - INFO - Verifications in API Server for VN ctest-vn-51582605 passed 2025-11-04 21:52:33,213 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae 2025-11-04 21:52:33,221 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/34fcbd6c-77d6-49fc-8b29-9ade00aa34a7 2025-11-04 21:52:33,227 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/34fcbd6c-77d6-49fc-8b29-9ade00aa34a7 2025-11-04 21:52:33,234 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/88d0ffef-f89f-4e44-ad50-91566d9349d1 2025-11-04 21:52:33,244 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-51582605', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65717456', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14884106426643596970', 'uuid-lslong': '13402269792667650478'}, 'enable': 'true', 'created': '2025-11-04T21:52:30', 'last-modified': '2025-11-04T21:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.367431'} 2025-11-04 21:52:33,250 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 21:52:33,250 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51582605 passed 2025-11-04 21:52:33,251 - DEBUG - ====Verifying policy data for ctest-vn-51582605 in API_Server ====== 2025-11-04 21:52:33,251 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-04 21:52:33,257 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8b9e7181-8652-4ca8-aa51-033c5d612cfe 2025-11-04 21:52:33,268 - DEBUG - Requesting: http://10.0.0.130:8082/project/185f3e06-cb06-492d-911c-d7dcead8221b 2025-11-04 21:52:33,338 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae 2025-11-04 21:52:33,347 - DEBUG - ==>Verifying data for policy with id: 617d9e01-598d-420b-832c-67da8b7818cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-65717456', 'ctest-policy-allow-all-94381013'] 2025-11-04 21:52:33,347 - INFO - VN ctest-vn-51582605 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 21:52:33,347 - DEBUG - Verifying the vn in opserver 2025-11-04 21:52:33,347 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-51582605 virtual network link through opserver 10.0.0.130 2025-11-04 21:52:33,347 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-11-04 21:52:33,357 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-51582605', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-51582605?flat'} 2025-11-04 21:52:33,357 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65717456:ctest-vn-51582605 is found in opserver 2025-11-04 21:52:33,366 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 21:52:33,370 - DEBUG - VRF ids for VN ctest-vn-51582605: {} 2025-11-04 21:52:33,426 - DEBUG - Services list from nova: [, , ] 2025-11-04 21:52:34,446 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1) 2025-11-04 21:52:35,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1) 2025-11-04 21:52:35,870 - INFO - Waiting for VM ctest-TestBasicPolicy-65717456-26869514 to be up.. 2025-11-04 21:52:35,941 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 21:52:41,009 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:52:41,009 - INFO - VM name : ctest-TestBasicPolicy-65717456-26869514 2025-11-04 21:52:41,084 - DEBUG - VM ctest-TestBasicPolicy-65717456-26869514 ID is ceedb575-9617-4576-bb98-01f7c2b39bcd 2025-11-04 21:52:41,101 - DEBUG - VM ctest-TestBasicPolicy-65717456-26869514 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1 2025-11-04 21:52:41,164 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/ceedb575-9617-4576-bb98-01f7c2b39bcd 2025-11-04 21:52:41,171 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/e16d48e9-3835-4006-8699-71be3151740e 2025-11-04 21:52:44,409 - 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=2 ttl=63 time=5.96 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 5.957/5.957/5.957/0.000 ms') 2025-11-04 21:52:44,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65717456-26869514 passed 2025-11-04 21:52:44,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:44,556 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65717456-26869514, IP 160.89.158.195, Port 22 2025-11-04 21:52:44,715 - DEBUG - VM ctest-TestBasicPolicy-65717456-26869514 is ready for SSH connections 2025-11-04 21:52:44,715 - INFO - Waiting for VM ctest-TestBasicPolicy-65717456-07540663 to be up.. 2025-11-04 21:52:44,781 - DEBUG - VM is in ACTIVE state now 2025-11-04 21:52:44,781 - INFO - VM name : ctest-TestBasicPolicy-65717456-07540663 2025-11-04 21:52:44,846 - DEBUG - VM ctest-TestBasicPolicy-65717456-07540663 ID is 1d47c1d9-2b2a-4465-8d48-f6434258f550 2025-11-04 21:52:44,846 - DEBUG - VM ctest-TestBasicPolicy-65717456-07540663 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1 2025-11-04 21:52:44,911 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/1d47c1d9-2b2a-4465-8d48-f6434258f550 2025-11-04 21:52:44,920 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/5af270c9-653a-4886-a207-acc2cd63532b 2025-11-04 21:52:46,160 - 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=4.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.347/2.914/4.481/1.567 ms') 2025-11-04 21:52:46,160 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65717456-07540663 passed 2025-11-04 21:52:46,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:46,308 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65717456-07540663, IP 70.187.226.195, Port 22 2025-11-04 21:52:46,471 - DEBUG - VM ctest-TestBasicPolicy-65717456-07540663 is ready for SSH connections 2025-11-04 21:52:46,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:46,471 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.187.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:52:46,472 - DEBUG - ping -s 56 -c 3 -W 1 70.187.226.195 2025-11-04 21:52:50,062 - DEBUG - PING 70.187.226.195 (70.187.226.195): 56 data bytes 64 bytes from 70.187.226.195: seq=0 ttl=63 time=3.915 ms 64 bytes from 70.187.226.195: seq=1 ttl=63 time=1.210 ms 64 bytes from 70.187.226.195: seq=2 ttl=63 time=1.001 ms --- 70.187.226.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/2.042/3.915 ms 2025-11-04 21:52:50,062 - INFO - Ping to IP 70.187.226.195 from VM ctest-TestBasicPolicy-65717456-26869514 passed 2025-11-04 21:52:50,251 - DEBUG - Policy Update Response {"network-policy": {"uuid": "617d9e01-598d-420b-832c-67da8b7818cc", "href": "http://10.0.0.130:8082/network-policy/617d9e01-598d-420b-832c-67da8b7818cc"}} 2025-11-04 21:52:50,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 21:52:50,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.187.226.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-04 21:52:50,252 - DEBUG - ping -s 56 -c 3 -W 1 70.187.226.195 2025-11-04 21:52:53,373 - DEBUG - PING 70.187.226.195 (70.187.226.195): 56 data bytes 64 bytes from 70.187.226.195: seq=0 ttl=63 time=1.366 ms --- 70.187.226.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.366/1.366/1.366 ms 2025-11-04 21:52:53,374 - WARNING - Ping to IP 70.187.226.195 from VM ctest-TestBasicPolicy-65717456-26869514 failed 2025-11-04 21:52:53,374 - INFO - Deleting VM ctest-TestBasicPolicy-65717456-07540663 2025-11-04 21:52:53,467 - INFO - Deleting VM ctest-TestBasicPolicy-65717456-26869514 2025-11-04 21:52:53,821 - INFO - Deleted policy ctest-policy-allow-all-94381013 2025-11-04 21:52:53,822 - INFO - Deleting VN ctest-vn-51582605 2025-11-04 21:52:53,854 - DEBUG - VN ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae still in use: Unable to complete operation on network ce8ef7ef-8733-46aa-b9fe-6d5e3fe749ae. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fa6503b-3f9e-47ec-bfa1-71a286eaa6c3'] 2025-11-04 21:52:53,855 - WARNING - Deleting VN ctest-vn-51582605 failed..Will retry 2025-11-04 21:52:55,968 - DEBUG - Response for deleting network () 2025-11-04 21:52:55,968 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/34fcbd6c-77d6-49fc-8b29-9ade00aa34a7 2025-11-04 21:52:55,974 - DEBUG - Response Code: 404 2025-11-04 21:52:55,974 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-04 21:52:55,979 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8b9e7181-8652-4ca8-aa51-033c5d612cfe 2025-11-04 21:52:56,032 - DEBUG - Requesting: http://10.0.0.130:8082/project/185f3e06-cb06-492d-911c-d7dcead8221b 2025-11-04 21:52:56,099 - INFO - Validated that VN ctest-vn-51582605 is not found in API Server 2025-11-04 21:52:56,108 - DEBUG - VN ctest-vn-51582605 is not present in Agent 10.0.0.130 2025-11-04 21:52:56,108 - INFO - Validated that VN ctest-vn-51582605 is not in any agent 2025-11-04 21:52:56,121 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51582605 info 2025-11-04 21:52:56,121 - INFO - Deleting VN ctest-vn-21817083 2025-11-04 21:52:56,217 - DEBUG - Response for deleting network () 2025-11-04 21:52:56,218 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/6c6f5d99-7305-4b7b-bbe2-0f3d7252445e 2025-11-04 21:52:56,224 - DEBUG - Response Code: 404 2025-11-04 21:52:56,224 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-11-04 21:52:56,231 - DEBUG - Requesting: http://10.0.0.130:8082/domain/8b9e7181-8652-4ca8-aa51-033c5d612cfe 2025-11-04 21:52:56,284 - DEBUG - Requesting: http://10.0.0.130:8082/project/185f3e06-cb06-492d-911c-d7dcead8221b 2025-11-04 21:52:56,356 - INFO - Validated that VN ctest-vn-21817083 is not found in API Server 2025-11-04 21:52:56,365 - DEBUG - VN ctest-vn-21817083 is not present in Agent 10.0.0.130 2025-11-04 21:52:56,365 - INFO - Validated that VN ctest-vn-21817083 is not in any agent 2025-11-04 21:52:56,377 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21817083 info 2025-11-04 21:52:56,632 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 21:52:56,632 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27]
2025-11-04 21:52:56,632 - INFO - -------------------------------------------------------------------------------- 2025-11-04 21:52:57,327 - INFO - Deleted project: ctest-TestBasicPolicy-65717456, ID : 185f3e06-cb06-492d-911c-d7dcead8221b