2026-03-05 17:17:20,826 - INFO - Domain Default found not creating 2026-03-05 17:17:21,113 - INFO - Project ctest-TestBasicPolicy-27749725 not found, creating it 2026-03-05 17:17:21,587 - INFO - Created Project:ctest-TestBasicPolicy-27749725, ID : 034d213e-e916-4137-b62f-ea97c75021c7 2026-03-05 17:17:23,242 - INFO - ================================================================================ 2026-03-05 17:17:23,242 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 17:17:23,243 - 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-03-05 17:17:23,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-05 17:17:23,504 - INFO - Initial checks done. Running the testcase now 2026-03-05 17:17:23,505 - INFO - 2026-03-05 17:17:24,137 - DEBUG - Response for create_network : {'network': {'id': '74b67611-1180-4a32-a29a-2c06202e739f', 'name': 'ctest-vn-96956490', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-96956490'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 17:17:24,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '64514d48-c786-43a7-b7d5-1e8f883163b2', 'name': '', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'network_id': '74b67611-1180-4a32-a29a-2c06202e739f', 'ip_version': 4, 'cidr': '135.90.101.192/26', 'allocation_pools': [{'start': '135.90.101.194', 'end': '135.90.101.254'}], 'gateway_ip': '135.90.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.90.101.194', 'tags': [], 'project_id': '034d213ee9164137b62fea97c75021c7'}} 2026-03-05 17:17:24,349 - INFO - Created VN ctest-vn-96956490 2026-03-05 17:17:24,402 - DEBUG - VN ctest-vn-96956490 UUID is 74b67611-1180-4a32-a29a-2c06202e739f 2026-03-05 17:17:24,732 - DEBUG - Response for create_network : {'network': {'id': 'f014258a-5558-49e8-ac6e-d3be79eaaab0', 'name': 'ctest-vn-25802789', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-25802789'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 17:17:24,922 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2574e4d-74c2-4774-8a67-acece035300f', 'name': '', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'network_id': 'f014258a-5558-49e8-ac6e-d3be79eaaab0', 'ip_version': 4, 'cidr': '220.102.202.0/26', 'allocation_pools': [{'start': '220.102.202.2', 'end': '220.102.202.62'}], 'gateway_ip': '220.102.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.102.202.2', 'tags': [], 'project_id': '034d213ee9164137b62fea97c75021c7'}} 2026-03-05 17:17:24,943 - INFO - Created VN ctest-vn-25802789 2026-03-05 17:17:24,994 - DEBUG - VN ctest-vn-25802789 UUID is f014258a-5558-49e8-ac6e-d3be79eaaab0 2026-03-05 17:17:25,119 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490, 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-27749725:ctest-vn-25802789, 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-03-05 17:17:25,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74b67611-1180-4a32-a29a-2c06202e739f', 'name': 'ctest-vn-96956490', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64514d48-c786-43a7-b7d5-1e8f883163b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-96956490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629']], 'subnet_ipam': [{'subnet_cidr': '135.90.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 17:17:25,669 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f014258a-5558-49e8-ac6e-d3be79eaaab0', 'name': 'ctest-vn-25802789', 'tenant_id': '034d213ee9164137b62fea97c75021c7', 'project_id': '034d213ee9164137b62fea97c75021c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2574e4d-74c2-4774-8a67-acece035300f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-vn-25802789'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629']], 'subnet_ipam': [{'subnet_cidr': '220.102.202.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 17:17:25,838 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 17:17:26,148 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 17:17:26,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13 2026-03-05 17:17:26,195 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7 2026-03-05 17:17:26,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f 2026-03-05 17:17:26,285 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f 2026-03-05 17:17:26,295 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480 2026-03-05 17:17:26,302 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480 2026-03-05 17:17:26,311 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fe57613a-4ea1-4320-89a2-49f86544807a 2026-03-05 17:17:26,319 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 17:17:26,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f 2026-03-05 17:17:26,329 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480 2026-03-05 17:17:26,345 - INFO - Verified VN network id 11 for VN 74b67611-1180-4a32-a29a-2c06202e739f 2026-03-05 17:17:26,346 - INFO - Verifications in API Server for VN ctest-vn-96956490 passed 2026-03-05 17:17:26,346 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f 2026-03-05 17:17:26,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480 2026-03-05 17:17:26,364 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480 2026-03-05 17:17:26,374 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fe57613a-4ea1-4320-89a2-49f86544807a 2026-03-05 17:17:26,387 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27749725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8410039169841121842', 'uuid-lslong': '11716725785379107743'}, 'enable': 'true', 'created': '2026-03-05T17:17:24', 'last-modified': '2026-03-05T17:17:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983059'} 2026-03-05 17:17:26,393 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 17:17:26,393 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96956490 passed 2026-03-05 17:17:26,393 - DEBUG - ====Verifying policy data for ctest-vn-96956490 in API_Server ====== 2026-03-05 17:17:26,393 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 17:17:26,400 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13 2026-03-05 17:17:26,413 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7 2026-03-05 17:17:26,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/74b67611-1180-4a32-a29a-2c06202e739f 2026-03-05 17:17:26,505 - DEBUG - ==>Verifying data for policy with id: ea2374c0-036b-47ef-a592-80f167bd3e31, fqn: ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629'] 2026-03-05 17:17:26,506 - INFO - VN ctest-vn-96956490 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 17:17:26,506 - DEBUG - Verifying the vn in opserver 2026-03-05 17:17:26,506 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490 virtual network link through opserver 10.0.0.38 2026-03-05 17:17:26,506 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-05 17:17:26,809 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-05 17:17:26,950 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490?flat'} 2026-03-05 17:17:26,950 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490 is found in opserver 2026-03-05 17:17:26,960 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 17:17:26,966 - DEBUG - VRF ids for VN ctest-vn-96956490: {} 2026-03-05 17:17:26,966 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 17:17:26,976 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13 2026-03-05 17:17:27,053 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7 2026-03-05 17:17:27,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0 2026-03-05 17:17:27,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0 2026-03-05 17:17:27,214 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3 2026-03-05 17:17:27,223 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3 2026-03-05 17:17:27,241 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ab79d641-a15d-4443-87a9-6eaa4bce9216 2026-03-05 17:17:27,249 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 17:17:27,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0 2026-03-05 17:17:27,269 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3 2026-03-05 17:17:27,309 - INFO - Verified VN network id 12 for VN f014258a-5558-49e8-ac6e-d3be79eaaab0 2026-03-05 17:17:27,309 - INFO - Verifications in API Server for VN ctest-vn-25802789 passed 2026-03-05 17:17:27,309 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0 2026-03-05 17:17:27,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3 2026-03-05 17:17:27,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3 2026-03-05 17:17:27,370 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ab79d641-a15d-4443-87a9-6eaa4bce9216 2026-03-05 17:17:27,391 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27749725', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17299493344704481768', 'uuid-lslong': '12425101237004446384'}, 'enable': 'true', 'created': '2026-03-05T17:17:24', 'last-modified': '2026-03-05T17:17:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.748098'} 2026-03-05 17:17:27,405 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 17:17:27,405 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25802789 passed 2026-03-05 17:17:27,406 - DEBUG - ====Verifying policy data for ctest-vn-25802789 in API_Server ====== 2026-03-05 17:17:27,406 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 17:17:27,426 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13 2026-03-05 17:17:27,469 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7 2026-03-05 17:17:27,638 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f014258a-5558-49e8-ac6e-d3be79eaaab0 2026-03-05 17:17:27,656 - DEBUG - ==>Verifying data for policy with id: ea2374c0-036b-47ef-a592-80f167bd3e31, fqn: ['default-domain', 'ctest-TestBasicPolicy-27749725', 'ctest-policy-allow-all-35274629'] 2026-03-05 17:17:27,656 - INFO - VN ctest-vn-25802789 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 17:17:27,656 - DEBUG - Verifying the vn in opserver 2026-03-05 17:17:27,656 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789 virtual network link through opserver 10.0.0.38 2026-03-05 17:17:27,656 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-05 17:17:27,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789?flat'} 2026-03-05 17:17:27,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-25802789 is found in opserver 2026-03-05 17:17:27,704 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 17:17:27,719 - DEBUG - VRF ids for VN ctest-vn-25802789: {} 2026-03-05 17:17:27,827 - DEBUG - Services list from nova: [, , ] 2026-03-05 17:17:29,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5443-1) 2026-03-05 17:17:30,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5443-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5443-1) 2026-03-05 17:17:30,336 - INFO - Waiting for VM ctest-TestBasicPolicy-27749725-75996349 to be up.. 2026-03-05 17:17:30,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 17:17:35,525 - DEBUG - VM is in ACTIVE state now 2026-03-05 17:17:35,525 - INFO - VM name : ctest-TestBasicPolicy-27749725-75996349 2026-03-05 17:17:35,622 - DEBUG - VM ctest-TestBasicPolicy-27749725-75996349 ID is 8a1803ba-fb85-420d-817c-5e365889a011 2026-03-05 17:17:35,644 - DEBUG - VM ctest-TestBasicPolicy-27749725-75996349 launched on Node cn-jenkins-deploy-platform-ansible-os-5443-1 2026-03-05 17:17:35,724 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8a1803ba-fb85-420d-817c-5e365889a011 2026-03-05 17:17:35,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ac74a14-96e7-44a6-bf6b-6fc655659926 2026-03-05 17:17:38,984 - 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 1009ms') 2026-03-05 17:17:38,985 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27749725-75996349 failed! 2026-03-05 17:17:39,042 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27749725:ctest-vn-96956490 is 135.90.101.193 and allocation pool is NOT set 2026-03-05 17:17:41,110 - 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=8.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.570 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.570/4.511/8.452/3.941 ms') 2026-03-05 17:17:41,110 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27749725-75996349 passed 2026-03-05 17:17:41,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 17:17:41,270 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27749725-75996349, IP 135.90.101.195, Port 22 2026-03-05 17:17:41,435 - DEBUG - VM ctest-TestBasicPolicy-27749725-75996349 is ready for SSH connections 2026-03-05 17:17:41,436 - INFO - Waiting for VM ctest-TestBasicPolicy-27749725-60851039 to be up.. 2026-03-05 17:17:41,542 - DEBUG - VM is in ACTIVE state now 2026-03-05 17:17:41,542 - INFO - VM name : ctest-TestBasicPolicy-27749725-60851039 2026-03-05 17:17:41,624 - DEBUG - VM ctest-TestBasicPolicy-27749725-60851039 ID is 6ba0a836-0d80-4d00-a470-350245371974 2026-03-05 17:17:41,625 - DEBUG - VM ctest-TestBasicPolicy-27749725-60851039 launched on Node cn-jenkins-deploy-platform-ansible-os-5443-1 2026-03-05 17:17:41,710 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6ba0a836-0d80-4d00-a470-350245371974 2026-03-05 17:17:41,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0b280939-dae5-40f9-b68c-fd9441f9f542 2026-03-05 17:17:42,956 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=5.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.33 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.328/3.395/5.463/2.067 ms') 2026-03-05 17:17:42,957 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27749725-60851039 passed 2026-03-05 17:17:43,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 17:17:43,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27749725-60851039, IP 220.102.202.3, Port 22 2026-03-05 17:17:43,292 - DEBUG - VM ctest-TestBasicPolicy-27749725-60851039 is ready for SSH connections 2026-03-05 17:17:43,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 17:17:43,292 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.102.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-05 17:17:43,292 - DEBUG - ping -s 56 -c 3 -W 1 220.102.202.3 2026-03-05 17:17:47,910 - DEBUG - PING 220.102.202.3 (220.102.202.3): 56 data bytes 64 bytes from 220.102.202.3: seq=0 ttl=63 time=4.860 ms 64 bytes from 220.102.202.3: seq=1 ttl=63 time=1.143 ms 64 bytes from 220.102.202.3: seq=2 ttl=63 time=1.051 ms --- 220.102.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.051/2.351/4.860 ms 2026-03-05 17:17:47,910 - INFO - Ping to IP 220.102.202.3 from VM ctest-TestBasicPolicy-27749725-75996349 passed 2026-03-05 17:17:48,097 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea2374c0-036b-47ef-a592-80f167bd3e31", "href": "http://10.0.0.38:8082/network-policy/ea2374c0-036b-47ef-a592-80f167bd3e31"}} 2026-03-05 17:17:48,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 17:17:48,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.102.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-05 17:17:48,098 - DEBUG - ping -s 56 -c 3 -W 1 220.102.202.3 2026-03-05 17:17:51,326 - DEBUG - PING 220.102.202.3 (220.102.202.3): 56 data bytes --- 220.102.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-05 17:17:51,326 - WARNING - Ping to IP 220.102.202.3 from VM ctest-TestBasicPolicy-27749725-75996349 failed 2026-03-05 17:17:51,326 - INFO - Deleting VM ctest-TestBasicPolicy-27749725-60851039 2026-03-05 17:17:51,418 - INFO - Deleting VM ctest-TestBasicPolicy-27749725-75996349 2026-03-05 17:17:51,852 - INFO - Deleted policy ctest-policy-allow-all-35274629 2026-03-05 17:17:51,853 - INFO - Deleting VN ctest-vn-25802789 2026-03-05 17:17:51,902 - DEBUG - VN f014258a-5558-49e8-ac6e-d3be79eaaab0 still in use: Unable to complete operation on network f014258a-5558-49e8-ac6e-d3be79eaaab0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-40b529f3-b61a-4570-99de-58554376e30c'] 2026-03-05 17:17:51,902 - WARNING - Deleting VN ctest-vn-25802789 failed..Will retry 2026-03-05 17:17:54,024 - DEBUG - Response for deleting network () 2026-03-05 17:17:54,024 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7631aec-7175-493d-a30d-fd19022574a3 2026-03-05 17:17:54,031 - DEBUG - Response Code: 404 2026-03-05 17:17:54,031 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 17:17:54,038 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13 2026-03-05 17:17:54,094 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7 2026-03-05 17:17:54,165 - INFO - Validated that VN ctest-vn-25802789 is not found in API Server 2026-03-05 17:17:54,175 - DEBUG - VN ctest-vn-25802789 is not present in Agent 10.0.0.38 2026-03-05 17:17:54,176 - INFO - Validated that VN ctest-vn-25802789 is not in any agent 2026-03-05 17:17:54,191 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25802789 info 2026-03-05 17:17:54,191 - INFO - Deleting VN ctest-vn-96956490 2026-03-05 17:17:54,309 - DEBUG - Response for deleting network () 2026-03-05 17:17:54,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9d032901-4038-4b40-8a59-317e7294c480 2026-03-05 17:17:54,316 - DEBUG - Response Code: 404 2026-03-05 17:17:54,316 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-05 17:17:54,321 - DEBUG - Requesting: http://10.0.0.38:8082/domain/453f30e1-a17a-4f59-938c-af4084213e13 2026-03-05 17:17:54,376 - DEBUG - Requesting: http://10.0.0.38:8082/project/034d213e-e916-4137-b62f-ea97c75021c7 2026-03-05 17:17:54,451 - INFO - Validated that VN ctest-vn-96956490 is not found in API Server 2026-03-05 17:17:54,461 - DEBUG - VN ctest-vn-96956490 is not present in Agent 10.0.0.38 2026-03-05 17:17:54,461 - INFO - Validated that VN ctest-vn-96956490 is not in any agent 2026-03-05 17:17:54,477 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96956490 info 2026-03-05 17:17:54,737 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 17:17:54,737 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-03-05 17:17:54,737 - INFO - -------------------------------------------------------------------------------- 2026-03-05 17:17:55,467 - INFO - Deleted project: ctest-TestBasicPolicy-27749725, ID : 034d213e-e916-4137-b62f-ea97c75021c7