2026-09-17 19:40:32,190 - INFO - Domain Default found not creating 2026-09-17 19:40:32,341 - INFO - Project ctest-TestBasicPolicy-74034495 not found, creating it 2026-09-17 19:40:32,811 - INFO - Created Project:ctest-TestBasicPolicy-74034495, ID : e7b27110-9efc-44f3-9709-183899206665 2026-09-17 19:40:34,352 - INFO - ================================================================================ 2026-09-17 19:40:34,352 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-17 19:40:34,352 - 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-09-17 19:40:34,610 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.25': '0'}} with 2026-09-17 19:40:34,610 - INFO - Initial checks done. Running the testcase now 2026-09-17 19:40:34,610 - INFO - 2026-09-17 19:40:35,224 - DEBUG - Response for create_network : {'network': {'id': '85d394ce-8780-4590-ab45-2a4f013a6e03', 'name': 'ctest-vn-35460837', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-35460837'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 19:40:35,410 - DEBUG - Response for create_subnet : {'subnet': {'id': '682c711a-5d21-49cc-b8a3-0c2831e2d114', 'name': '', 'tenant_id': 'e7b271109efc44f39709183899206665', 'network_id': '85d394ce-8780-4590-ab45-2a4f013a6e03', 'ip_version': 4, 'cidr': '188.162.248.128/26', 'allocation_pools': [{'start': '188.162.248.130', 'end': '188.162.248.190'}], 'gateway_ip': '188.162.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.162.248.130', 'tags': [], 'project_id': 'e7b271109efc44f39709183899206665'}} 2026-09-17 19:40:35,428 - INFO - Created VN ctest-vn-35460837 2026-09-17 19:40:35,484 - DEBUG - VN ctest-vn-35460837 UUID is 85d394ce-8780-4590-ab45-2a4f013a6e03 2026-09-17 19:40:35,813 - DEBUG - Response for create_network : {'network': {'id': '6cc33830-a15e-4137-a3da-e16e2a1bd2dd', 'name': 'ctest-vn-87770043', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-87770043'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 19:40:36,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '46058175-bc31-4f22-a0fc-ebf5d3064ad8', 'name': '', 'tenant_id': 'e7b271109efc44f39709183899206665', 'network_id': '6cc33830-a15e-4137-a3da-e16e2a1bd2dd', 'ip_version': 4, 'cidr': '155.66.234.192/26', 'allocation_pools': [{'start': '155.66.234.194', 'end': '155.66.234.254'}], 'gateway_ip': '155.66.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.66.234.194', 'tags': [], 'project_id': 'e7b271109efc44f39709183899206665'}} 2026-09-17 19:40:36,090 - INFO - Created VN ctest-vn-87770043 2026-09-17 19:40:36,155 - DEBUG - VN ctest-vn-87770043 UUID is 6cc33830-a15e-4137-a3da-e16e2a1bd2dd 2026-09-17 19:40:36,268 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837, 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-74034495:ctest-vn-87770043, 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-09-17 19:40:36,584 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85d394ce-8780-4590-ab45-2a4f013a6e03', 'name': 'ctest-vn-35460837', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['682c711a-5d21-49cc-b8a3-0c2831e2d114'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-35460837'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414']], 'subnet_ipam': [{'subnet_cidr': '188.162.248.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 19:40:36,824 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6cc33830-a15e-4137-a3da-e16e2a1bd2dd', 'name': 'ctest-vn-87770043', 'tenant_id': 'e7b271109efc44f39709183899206665', 'project_id': 'e7b271109efc44f39709183899206665', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['46058175-bc31-4f22-a0fc-ebf5d3064ad8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-vn-87770043'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414']], 'subnet_ipam': [{'subnet_cidr': '155.66.234.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 19:40:36,991 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-09-17 19:40:37,341 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-09-17 19:40:37,374 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826 2026-09-17 19:40:37,387 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665 2026-09-17 19:40:37,462 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03 2026-09-17 19:40:37,478 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03 2026-09-17 19:40:37,488 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9 2026-09-17 19:40:37,497 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9 2026-09-17 19:40:37,505 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/855b432f-f883-48cf-9c2a-c2f8379c087f 2026-09-17 19:40:37,514 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 19:40:37,514 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03 2026-09-17 19:40:37,524 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9 2026-09-17 19:40:37,541 - INFO - Verified VN network id 12 for VN 85d394ce-8780-4590-ab45-2a4f013a6e03 2026-09-17 19:40:37,541 - INFO - Verifications in API Server for VN ctest-vn-35460837 passed 2026-09-17 19:40:37,541 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03 2026-09-17 19:40:37,550 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9 2026-09-17 19:40:37,558 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9 2026-09-17 19:40:37,566 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/855b432f-f883-48cf-9c2a-c2f8379c087f 2026-09-17 19:40:37,580 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74034495', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9643214841887868304', 'uuid-lslong': '12341316872690101763'}, 'enable': 'true', 'created': '2026-09-17T19:40:35', 'last-modified': '2026-09-17T19:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017977'} 2026-09-17 19:40:37,587 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 19:40:37,587 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35460837 passed 2026-09-17 19:40:37,587 - DEBUG - ====Verifying policy data for ctest-vn-35460837 in API_Server ====== 2026-09-17 19:40:37,588 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-09-17 19:40:37,595 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826 2026-09-17 19:40:37,606 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665 2026-09-17 19:40:37,681 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/85d394ce-8780-4590-ab45-2a4f013a6e03 2026-09-17 19:40:37,691 - DEBUG - ==>Verifying data for policy with id: 1ce848e6-5330-483a-b701-9203a22df2a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414'] 2026-09-17 19:40:37,691 - INFO - VN ctest-vn-35460837 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 19:40:37,691 - DEBUG - Verifying the vn in opserver 2026-09-17 19:40:37,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837 virtual network link through opserver 10.0.0.241 2026-09-17 19:40:37,691 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-09-17 19:40:38,017 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-09-17 19:40:38,078 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837?flat'} 2026-09-17 19:40:38,078 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837 is found in opserver 2026-09-17 19:40:38,090 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 19:40:38,094 - DEBUG - VRF ids for VN ctest-vn-35460837: {} 2026-09-17 19:40:38,094 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-09-17 19:40:38,101 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826 2026-09-17 19:40:38,114 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665 2026-09-17 19:40:38,194 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd 2026-09-17 19:40:38,209 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd 2026-09-17 19:40:38,219 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5 2026-09-17 19:40:38,227 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5 2026-09-17 19:40:38,234 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/585676cc-efb9-4d2d-a0e6-e85308108394 2026-09-17 19:40:38,241 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 19:40:38,241 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd 2026-09-17 19:40:38,249 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5 2026-09-17 19:40:38,264 - INFO - Verified VN network id 13 for VN 6cc33830-a15e-4137-a3da-e16e2a1bd2dd 2026-09-17 19:40:38,264 - INFO - Verifications in API Server for VN ctest-vn-87770043 passed 2026-09-17 19:40:38,264 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd 2026-09-17 19:40:38,274 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5 2026-09-17 19:40:38,280 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5 2026-09-17 19:40:38,287 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/585676cc-efb9-4d2d-a0e6-e85308108394 2026-09-17 19:40:38,316 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74034495', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7837169558071689527', 'uuid-lslong': '11806997236374295261'}, 'enable': 'true', 'created': '2026-09-17T19:40:35', 'last-modified': '2026-09-17T19:40:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519772'} 2026-09-17 19:40:38,323 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 19:40:38,324 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87770043 passed 2026-09-17 19:40:38,324 - DEBUG - ====Verifying policy data for ctest-vn-87770043 in API_Server ====== 2026-09-17 19:40:38,324 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-09-17 19:40:38,330 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826 2026-09-17 19:40:38,341 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665 2026-09-17 19:40:38,421 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/6cc33830-a15e-4137-a3da-e16e2a1bd2dd 2026-09-17 19:40:38,432 - DEBUG - ==>Verifying data for policy with id: 1ce848e6-5330-483a-b701-9203a22df2a2, fqn: ['default-domain', 'ctest-TestBasicPolicy-74034495', 'ctest-policy-allow-all-79796414'] 2026-09-17 19:40:38,432 - INFO - VN ctest-vn-87770043 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 19:40:38,432 - DEBUG - Verifying the vn in opserver 2026-09-17 19:40:38,432 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043 virtual network link through opserver 10.0.0.241 2026-09-17 19:40:38,433 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-09-17 19:40:38,443 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043?flat'} 2026-09-17 19:40:38,443 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-87770043 is found in opserver 2026-09-17 19:40:38,457 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 19:40:38,463 - DEBUG - VRF ids for VN ctest-vn-87770043: {} 2026-09-17 19:40:38,532 - DEBUG - Services list from nova: [, , ] 2026-09-17 19:40:39,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6305-1) 2026-09-17 19:40:39,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6305-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6305-1) 2026-09-17 19:40:39,428 - INFO - Waiting for VM ctest-TestBasicPolicy-74034495-86631923 to be up.. 2026-09-17 19:40:39,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:40:44,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:40:49,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:40:54,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:40:59,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:41:04,871 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:41:09,950 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:41:15,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 19:41:20,127 - DEBUG - VM is in ACTIVE state now 2026-09-17 19:41:20,128 - INFO - VM name : ctest-TestBasicPolicy-74034495-86631923 2026-09-17 19:41:20,214 - DEBUG - VM ctest-TestBasicPolicy-74034495-86631923 ID is eb92ab74-1684-444d-90c7-5060b74e51f9 2026-09-17 19:41:20,236 - DEBUG - VM ctest-TestBasicPolicy-74034495-86631923 launched on Node cn-jenkins-deploy-platform-ansible-os-6305-1 2026-09-17 19:41:20,311 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/eb92ab74-1684-444d-90c7-5060b74e51f9 2026-09-17 19:41:20,321 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/4c02e575-b32c-4d86-b6b6-90e502994d4c 2026-09-17 19:41:23,586 - 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 1014ms') 2026-09-17 19:41:23,586 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74034495-86631923 failed! 2026-09-17 19:41:23,644 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74034495:ctest-vn-35460837 is 188.162.248.129 and allocation pool is NOT set 2026-09-17 19:41:25,707 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.586 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.586/2.484/4.383/1.898 ms') 2026-09-17 19:41:25,707 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74034495-86631923 passed 2026-09-17 19:41:25,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:41:25,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74034495-86631923, IP 188.162.248.131, Port 22 2026-09-17 19:41:26,026 - DEBUG - VM ctest-TestBasicPolicy-74034495-86631923 is ready for SSH connections 2026-09-17 19:41:26,026 - INFO - Waiting for VM ctest-TestBasicPolicy-74034495-06687072 to be up.. 2026-09-17 19:41:26,104 - DEBUG - VM is in ACTIVE state now 2026-09-17 19:41:26,105 - INFO - VM name : ctest-TestBasicPolicy-74034495-06687072 2026-09-17 19:41:26,186 - DEBUG - VM ctest-TestBasicPolicy-74034495-06687072 ID is d0d65ab7-1396-427e-9f6c-29eacdd6122b 2026-09-17 19:41:26,186 - DEBUG - VM ctest-TestBasicPolicy-74034495-06687072 launched on Node cn-jenkins-deploy-platform-ansible-os-6305-1 2026-09-17 19:41:26,273 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/d0d65ab7-1396-427e-9f6c-29eacdd6122b 2026-09-17 19:41:26,288 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/46253942-8cee-4865-bbeb-e1677ef280a9 2026-09-17 19:41:27,538 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.611 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.611/2.283/3.956/1.672 ms') 2026-09-17 19:41:27,539 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74034495-06687072 passed 2026-09-17 19:41:27,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:41:27,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74034495-06687072, IP 155.66.234.195, Port 22 2026-09-17 19:41:27,858 - DEBUG - VM ctest-TestBasicPolicy-74034495-06687072 is ready for SSH connections 2026-09-17 19:41:27,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:41:27,858 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.66.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-09-17 19:41:27,858 - DEBUG - ping -s 56 -c 3 -W 1 155.66.234.195 2026-09-17 19:41:31,838 - DEBUG - PING 155.66.234.195 (155.66.234.195): 56 data bytes 64 bytes from 155.66.234.195: seq=0 ttl=63 time=4.063 ms 64 bytes from 155.66.234.195: seq=1 ttl=63 time=1.688 ms 64 bytes from 155.66.234.195: seq=2 ttl=63 time=1.046 ms --- 155.66.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/2.265/4.063 ms 2026-09-17 19:41:31,838 - INFO - Ping to IP 155.66.234.195 from VM ctest-TestBasicPolicy-74034495-86631923 passed 2026-09-17 19:41:32,035 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1ce848e6-5330-483a-b701-9203a22df2a2", "href": "http://10.0.0.241:8082/network-policy/1ce848e6-5330-483a-b701-9203a22df2a2"}} 2026-09-17 19:41:32,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 19:41:32,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.66.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-09-17 19:41:32,036 - DEBUG - ping -s 56 -c 3 -W 1 155.66.234.195 2026-09-17 19:41:35,172 - DEBUG - PING 155.66.234.195 (155.66.234.195): 56 data bytes 64 bytes from 155.66.234.195: seq=0 ttl=63 time=2.543 ms --- 155.66.234.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.543/2.543/2.543 ms 2026-09-17 19:41:35,172 - WARNING - Ping to IP 155.66.234.195 from VM ctest-TestBasicPolicy-74034495-86631923 failed 2026-09-17 19:41:35,172 - INFO - Deleting VM ctest-TestBasicPolicy-74034495-06687072 2026-09-17 19:41:35,255 - INFO - Deleting VM ctest-TestBasicPolicy-74034495-86631923 2026-09-17 19:41:35,659 - INFO - Deleted policy ctest-policy-allow-all-79796414 2026-09-17 19:41:35,659 - INFO - Deleting VN ctest-vn-87770043 2026-09-17 19:41:35,694 - DEBUG - VN 6cc33830-a15e-4137-a3da-e16e2a1bd2dd still in use: Unable to complete operation on network 6cc33830-a15e-4137-a3da-e16e2a1bd2dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ba0f6b6-19e8-465e-b192-2a6939db3528'] 2026-09-17 19:41:35,694 - WARNING - Deleting VN ctest-vn-87770043 failed..Will retry 2026-09-17 19:41:37,843 - DEBUG - Response for deleting network () 2026-09-17 19:41:37,844 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/a9dafc46-3fe1-4f38-a1bb-9c91558c4cb5 2026-09-17 19:41:37,853 - DEBUG - Response Code: 404 2026-09-17 19:41:37,853 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-09-17 19:41:37,862 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826 2026-09-17 19:41:37,918 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665 2026-09-17 19:41:38,002 - INFO - Validated that VN ctest-vn-87770043 is not found in API Server 2026-09-17 19:41:38,017 - DEBUG - VN ctest-vn-87770043 is not present in Agent 10.0.0.241 2026-09-17 19:41:38,017 - INFO - Validated that VN ctest-vn-87770043 is not in any agent 2026-09-17 19:41:38,037 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87770043 info 2026-09-17 19:41:38,038 - INFO - Deleting VN ctest-vn-35460837 2026-09-17 19:41:38,167 - DEBUG - Response for deleting network () 2026-09-17 19:41:38,167 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/40a022c8-be04-4ed8-9363-4ccfad8f23c9 2026-09-17 19:41:38,177 - DEBUG - Response Code: 404 2026-09-17 19:41:38,177 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-09-17 19:41:38,183 - DEBUG - Requesting: http://10.0.0.241:8082/domain/26d1e12b-33ce-4f90-b5a3-ff0e22a56826 2026-09-17 19:41:38,237 - DEBUG - Requesting: http://10.0.0.241:8082/project/e7b27110-9efc-44f3-9709-183899206665 2026-09-17 19:41:38,315 - INFO - Validated that VN ctest-vn-35460837 is not found in API Server 2026-09-17 19:41:38,326 - DEBUG - VN ctest-vn-35460837 is not present in Agent 10.0.0.241 2026-09-17 19:41:38,326 - INFO - Validated that VN ctest-vn-35460837 is not in any agent 2026-09-17 19:41:38,341 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35460837 info 2026-09-17 19:41:38,602 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 19:41:38,603 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-09-17 19:41:38,603 - INFO - -------------------------------------------------------------------------------- 2026-09-17 19:41:39,343 - INFO - Deleted project: ctest-TestBasicPolicy-74034495, ID : e7b27110-9efc-44f3-9709-183899206665