2026-06-16 12:15:12,964 - INFO - Domain Default found not creating 2026-06-16 12:15:13,130 - INFO - Project ctest-TestBasicPolicy-47647286 not found, creating it 2026-06-16 12:15:13,613 - INFO - Created Project:ctest-TestBasicPolicy-47647286, ID : 34d311d8-3325-4c31-82be-445a230bf0f0 2026-06-16 12:15:15,299 - INFO - ================================================================================ 2026-06-16 12:15:15,299 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-16 12:15:15,299 - 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 2026-06-16 12:15:15,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-16 12:15:15,560 - INFO - Initial checks done. Running the testcase now 2026-06-16 12:15:15,560 - INFO - 2026-06-16 12:15:16,174 - DEBUG - Response for create_network : {'network': {'id': '76feac13-6c39-423b-8d81-fa2d86518fea', 'name': 'ctest-vn-80799344', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-80799344'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 12:15:16,371 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5737ffa-81b4-4c48-ac64-f832f026f1de', 'name': '', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'network_id': '76feac13-6c39-423b-8d81-fa2d86518fea', 'ip_version': 4, 'cidr': '31.10.195.192/26', 'allocation_pools': [{'start': '31.10.195.194', 'end': '31.10.195.254'}], 'gateway_ip': '31.10.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.10.195.194', 'tags': [], 'project_id': '34d311d833254c3182be445a230bf0f0'}} 2026-06-16 12:15:16,387 - INFO - Created VN ctest-vn-80799344 2026-06-16 12:15:16,445 - DEBUG - VN ctest-vn-80799344 UUID is 76feac13-6c39-423b-8d81-fa2d86518fea 2026-06-16 12:15:16,752 - DEBUG - Response for create_network : {'network': {'id': 'ec084971-f4a5-4d86-b578-13e53c9f8f52', 'name': 'ctest-vn-82426122', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-82426122'], 'port_security_enabled': True, 'description': ''}} 2026-06-16 12:15:16,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c98a8ea-1312-4662-8102-4525d077d102', 'name': '', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'network_id': 'ec084971-f4a5-4d86-b578-13e53c9f8f52', 'ip_version': 4, 'cidr': '30.243.241.192/26', 'allocation_pools': [{'start': '30.243.241.194', 'end': '30.243.241.254'}], 'gateway_ip': '30.243.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.243.241.194', 'tags': [], 'project_id': '34d311d833254c3182be445a230bf0f0'}} 2026-06-16 12:15:16,963 - INFO - Created VN ctest-vn-82426122 2026-06-16 12:15:17,013 - DEBUG - VN ctest-vn-82426122 UUID is ec084971-f4a5-4d86-b578-13e53c9f8f52 2026-06-16 12:15:17,161 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344, 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-47647286:ctest-vn-82426122, 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] 2026-06-16 12:15:17,465 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76feac13-6c39-423b-8d81-fa2d86518fea', 'name': 'ctest-vn-80799344', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f5737ffa-81b4-4c48-ac64-f832f026f1de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-80799344'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289']], 'subnet_ipam': [{'subnet_cidr': '31.10.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 12:15:17,703 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec084971-f4a5-4d86-b578-13e53c9f8f52', 'name': 'ctest-vn-82426122', 'tenant_id': '34d311d833254c3182be445a230bf0f0', 'project_id': '34d311d833254c3182be445a230bf0f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c98a8ea-1312-4662-8102-4525d077d102'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-vn-82426122'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289']], 'subnet_ipam': [{'subnet_cidr': '30.243.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-16 12:15:17,869 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 12:15:18,234 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 12:15:18,263 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d 2026-06-16 12:15:18,275 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0 2026-06-16 12:15:18,344 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea 2026-06-16 12:15:18,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea 2026-06-16 12:15:18,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861 2026-06-16 12:15:18,370 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861 2026-06-16 12:15:18,376 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/515726bf-d449-457b-8fff-7f267044349f 2026-06-16 12:15:18,382 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 12:15:18,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea 2026-06-16 12:15:18,390 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861 2026-06-16 12:15:18,401 - INFO - Verified VN network id 11 for VN 76feac13-6c39-423b-8d81-fa2d86518fea 2026-06-16 12:15:18,402 - INFO - Verifications in API Server for VN ctest-vn-80799344 passed 2026-06-16 12:15:18,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea 2026-06-16 12:15:18,410 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861 2026-06-16 12:15:18,416 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861 2026-06-16 12:15:18,424 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/515726bf-d449-457b-8fff-7f267044349f 2026-06-16 12:15:18,435 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47647286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8574479939980051003', 'uuid-lslong': '10196706104777478122'}, 'enable': 'true', 'created': '2026-06-16T12:15:16', 'last-modified': '2026-06-16T12:15:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003006'} 2026-06-16 12:15:18,441 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-16 12:15:18,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80799344 passed 2026-06-16 12:15:18,442 - DEBUG - ====Verifying policy data for ctest-vn-80799344 in API_Server ====== 2026-06-16 12:15:18,442 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 12:15:18,447 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d 2026-06-16 12:15:18,456 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0 2026-06-16 12:15:18,525 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/76feac13-6c39-423b-8d81-fa2d86518fea 2026-06-16 12:15:18,536 - DEBUG - ==>Verifying data for policy with id: 9194a060-7da9-446e-b9e0-77f219e20426, fqn: ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289'] 2026-06-16 12:15:18,536 - INFO - VN ctest-vn-80799344 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 12:15:18,536 - DEBUG - Verifying the vn in opserver 2026-06-16 12:15:18,536 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344 virtual network link through opserver 10.0.0.50 2026-06-16 12:15:18,536 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 12:15:19,133 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 12:15:19,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344?flat'} 2026-06-16 12:15:19,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344 is found in opserver 2026-06-16 12:15:19,223 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 12:15:19,228 - DEBUG - VRF ids for VN ctest-vn-80799344: {} 2026-06-16 12:15:19,228 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 12:15:19,233 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d 2026-06-16 12:15:19,242 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0 2026-06-16 12:15:19,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52 2026-06-16 12:15:19,324 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52 2026-06-16 12:15:19,332 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1 2026-06-16 12:15:19,339 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1 2026-06-16 12:15:19,346 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e25b037e-bdf7-413f-8bca-e8e085f3a91a 2026-06-16 12:15:19,352 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 12:15:19,352 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52 2026-06-16 12:15:19,360 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1 2026-06-16 12:15:19,375 - INFO - Verified VN network id 12 for VN ec084971-f4a5-4d86-b578-13e53c9f8f52 2026-06-16 12:15:19,375 - INFO - Verifications in API Server for VN ctest-vn-82426122 passed 2026-06-16 12:15:19,375 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52 2026-06-16 12:15:19,387 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1 2026-06-16 12:15:19,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1 2026-06-16 12:15:19,399 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e25b037e-bdf7-413f-8bca-e8e085f3a91a 2026-06-16 12:15:19,412 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47647286', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17007924746549284230', 'uuid-lslong': '13076223393355763538'}, 'enable': 'true', 'created': '2026-06-16T12:15:16', 'last-modified': '2026-06-16T12:15:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.739471'} 2026-06-16 12:15:19,422 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-16 12:15:19,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82426122 passed 2026-06-16 12:15:19,422 - DEBUG - ====Verifying policy data for ctest-vn-82426122 in API_Server ====== 2026-06-16 12:15:19,422 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 12:15:19,428 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d 2026-06-16 12:15:19,439 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0 2026-06-16 12:15:19,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec084971-f4a5-4d86-b578-13e53c9f8f52 2026-06-16 12:15:19,517 - DEBUG - ==>Verifying data for policy with id: 9194a060-7da9-446e-b9e0-77f219e20426, fqn: ['default-domain', 'ctest-TestBasicPolicy-47647286', 'ctest-policy-allow-all-84226289'] 2026-06-16 12:15:19,517 - INFO - VN ctest-vn-82426122 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-16 12:15:19,517 - DEBUG - Verifying the vn in opserver 2026-06-16 12:15:19,517 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122 virtual network link through opserver 10.0.0.50 2026-06-16 12:15:19,517 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-16 12:15:19,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122?flat'} 2026-06-16 12:15:19,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-82426122 is found in opserver 2026-06-16 12:15:19,534 - DEBUG - Do not have enough data to verify VN in agent 2026-06-16 12:15:19,539 - DEBUG - VRF ids for VN ctest-vn-82426122: {} 2026-06-16 12:15:19,590 - DEBUG - Services list from nova: [, , ] 2026-06-16 12:15:20,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5952-1) 2026-06-16 12:15:22,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5952-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5952-1) 2026-06-16 12:15:22,064 - INFO - Waiting for VM ctest-TestBasicPolicy-47647286-95431472 to be up.. 2026-06-16 12:15:22,135 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-16 12:15:27,209 - DEBUG - VM is in ACTIVE state now 2026-06-16 12:15:27,209 - INFO - VM name : ctest-TestBasicPolicy-47647286-95431472 2026-06-16 12:15:27,280 - DEBUG - VM ctest-TestBasicPolicy-47647286-95431472 ID is 35feade6-b923-48e8-b16b-07cad0915e3b 2026-06-16 12:15:27,301 - DEBUG - VM ctest-TestBasicPolicy-47647286-95431472 launched on Node cn-jenkins-deploy-platform-ansible-os-5952-1 2026-06-16 12:15:27,367 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/35feade6-b923-48e8-b16b-07cad0915e3b 2026-06-16 12:15:27,375 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/db1bbc84-cf99-4abd-98a7-8eec3fd9e097 2026-06-16 12:15:30,612 - 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 1006ms') 2026-06-16 12:15:30,612 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47647286-95431472 failed! 2026-06-16 12:15:30,665 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47647286:ctest-vn-80799344 is 31.10.195.193 and allocation pool is NOT set 2026-06-16 12:15:32,725 - 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=3.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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 = 0.433/2.138/3.843/1.705 ms') 2026-06-16 12:15:32,725 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47647286-95431472 passed 2026-06-16 12:15:32,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 12:15:32,873 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47647286-95431472, IP 31.10.195.195, Port 22 2026-06-16 12:15:33,039 - DEBUG - VM ctest-TestBasicPolicy-47647286-95431472 is ready for SSH connections 2026-06-16 12:15:33,039 - INFO - Waiting for VM ctest-TestBasicPolicy-47647286-84328450 to be up.. 2026-06-16 12:15:33,116 - DEBUG - VM is in ACTIVE state now 2026-06-16 12:15:33,116 - INFO - VM name : ctest-TestBasicPolicy-47647286-84328450 2026-06-16 12:15:33,188 - DEBUG - VM ctest-TestBasicPolicy-47647286-84328450 ID is ccf5a22f-6e87-40d4-846e-bc9716a0bab1 2026-06-16 12:15:33,189 - DEBUG - VM ctest-TestBasicPolicy-47647286-84328450 launched on Node cn-jenkins-deploy-platform-ansible-os-5952-1 2026-06-16 12:15:33,257 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ccf5a22f-6e87-40d4-846e-bc9716a0bab1 2026-06-16 12:15:33,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/64e43fac-dcf6-4700-8ca7-b418a057c1e3 2026-06-16 12:15:34,501 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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 = 0.445/1.974/3.504/1.529 ms') 2026-06-16 12:15:34,501 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47647286-84328450 passed 2026-06-16 12:15:34,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 12:15:34,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47647286-84328450, IP 30.243.241.195, Port 22 2026-06-16 12:15:34,819 - DEBUG - VM ctest-TestBasicPolicy-47647286-84328450 is ready for SSH connections 2026-06-16 12:15:34,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 12:15:34,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.243.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 12:15:34,819 - DEBUG - ping -s 56 -c 3 -W 1 30.243.241.195 2026-06-16 12:15:38,826 - DEBUG - PING 30.243.241.195 (30.243.241.195): 56 data bytes 64 bytes from 30.243.241.195: seq=0 ttl=63 time=4.399 ms 64 bytes from 30.243.241.195: seq=1 ttl=63 time=1.050 ms 64 bytes from 30.243.241.195: seq=2 ttl=63 time=0.993 ms --- 30.243.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/2.147/4.399 ms 2026-06-16 12:15:38,826 - INFO - Ping to IP 30.243.241.195 from VM ctest-TestBasicPolicy-47647286-95431472 passed 2026-06-16 12:15:39,005 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9194a060-7da9-446e-b9e0-77f219e20426", "href": "http://10.0.0.50:8082/network-policy/9194a060-7da9-446e-b9e0-77f219e20426"}} 2026-06-16 12:15:39,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-16 12:15:39,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.243.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-16 12:15:39,005 - DEBUG - ping -s 56 -c 3 -W 1 30.243.241.195 2026-06-16 12:15:42,125 - DEBUG - PING 30.243.241.195 (30.243.241.195): 56 data bytes --- 30.243.241.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-16 12:15:42,125 - WARNING - Ping to IP 30.243.241.195 from VM ctest-TestBasicPolicy-47647286-95431472 failed 2026-06-16 12:15:42,125 - INFO - Deleting VM ctest-TestBasicPolicy-47647286-84328450 2026-06-16 12:15:42,191 - INFO - Deleting VM ctest-TestBasicPolicy-47647286-95431472 2026-06-16 12:15:42,535 - INFO - Deleted policy ctest-policy-allow-all-84226289 2026-06-16 12:15:42,535 - INFO - Deleting VN ctest-vn-82426122 2026-06-16 12:15:42,568 - DEBUG - VN ec084971-f4a5-4d86-b578-13e53c9f8f52 still in use: Unable to complete operation on network ec084971-f4a5-4d86-b578-13e53c9f8f52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5e5ec85-21ad-4724-96d0-09537f0037dc'] 2026-06-16 12:15:42,569 - WARNING - Deleting VN ctest-vn-82426122 failed..Will retry 2026-06-16 12:15:44,670 - DEBUG - Response for deleting network () 2026-06-16 12:15:44,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c043dce3-176e-461a-9a57-89e4ce0fe4b1 2026-06-16 12:15:44,675 - DEBUG - Response Code: 404 2026-06-16 12:15:44,676 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 12:15:44,680 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d 2026-06-16 12:15:44,730 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0 2026-06-16 12:15:44,800 - INFO - Validated that VN ctest-vn-82426122 is not found in API Server 2026-06-16 12:15:44,809 - DEBUG - VN ctest-vn-82426122 is not present in Agent 10.0.0.50 2026-06-16 12:15:44,809 - INFO - Validated that VN ctest-vn-82426122 is not in any agent 2026-06-16 12:15:44,822 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82426122 info 2026-06-16 12:15:44,822 - INFO - Deleting VN ctest-vn-80799344 2026-06-16 12:15:44,913 - DEBUG - Response for deleting network () 2026-06-16 12:15:44,914 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3027700c-7b33-4fb3-aa9c-1e0c0a4e6861 2026-06-16 12:15:44,922 - DEBUG - Response Code: 404 2026-06-16 12:15:44,922 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-16 12:15:44,927 - DEBUG - Requesting: http://10.0.0.50:8082/domain/52200764-1b5e-44c0-bfac-d1cf20bfca4d 2026-06-16 12:15:44,982 - DEBUG - Requesting: http://10.0.0.50:8082/project/34d311d8-3325-4c31-82be-445a230bf0f0 2026-06-16 12:15:45,050 - INFO - Validated that VN ctest-vn-80799344 is not found in API Server 2026-06-16 12:15:45,060 - DEBUG - VN ctest-vn-80799344 is not present in Agent 10.0.0.50 2026-06-16 12:15:45,060 - INFO - Validated that VN ctest-vn-80799344 is not in any agent 2026-06-16 12:15:45,072 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80799344 info 2026-06-16 12:15:45,326 - DEBUG - No XMPP flaps were noticed during the test
2026-06-16 12:15:45,326 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-06-16 12:15:45,326 - INFO - -------------------------------------------------------------------------------- 2026-06-16 12:15:46,079 - INFO - Deleted project: ctest-TestBasicPolicy-47647286, ID : 34d311d8-3325-4c31-82be-445a230bf0f0