2026-04-20 02:09:02,346 - INFO - Domain Default found not creating 2026-04-20 02:09:02,515 - INFO - Project ctest-TestBasicPolicy-09594100 not found, creating it 2026-04-20 02:09:02,961 - INFO - Created Project:ctest-TestBasicPolicy-09594100, ID : 28d24204-224d-4197-a2d2-4fabba87c953 2026-04-20 02:09:04,435 - INFO - ================================================================================ 2026-04-20 02:09:04,435 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-20 02:09:04,435 - 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-04-20 02:09:04,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2026-04-20 02:09:04,690 - INFO - Initial checks done. Running the testcase now 2026-04-20 02:09:04,690 - INFO - 2026-04-20 02:09:05,245 - DEBUG - Response for create_network : {'network': {'id': '0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6', 'name': 'ctest-vn-23892773', 'tenant_id': '28d24204224d4197a2d24fabba87c953', 'project_id': '28d24204224d4197a2d24fabba87c953', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-vn-23892773'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:09:05,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c8f2128-3941-4a07-9703-8afa8ed553c9', 'name': '', 'tenant_id': '28d24204224d4197a2d24fabba87c953', 'network_id': '0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6', 'ip_version': 4, 'cidr': '64.20.109.0/26', 'allocation_pools': [{'start': '64.20.109.2', 'end': '64.20.109.62'}], 'gateway_ip': '64.20.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.20.109.2', 'tags': [], 'project_id': '28d24204224d4197a2d24fabba87c953'}} 2026-04-20 02:09:05,445 - INFO - Created VN ctest-vn-23892773 2026-04-20 02:09:05,496 - DEBUG - VN ctest-vn-23892773 UUID is 0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6 2026-04-20 02:09:05,816 - DEBUG - Response for create_network : {'network': {'id': '6de575c4-8f48-4faa-ad7b-ef4fb9039e4b', 'name': 'ctest-vn-18884568', 'tenant_id': '28d24204224d4197a2d24fabba87c953', 'project_id': '28d24204224d4197a2d24fabba87c953', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-vn-18884568'], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:09:06,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '49546897-0df0-4239-949c-aaef3e2d03d0', 'name': '', 'tenant_id': '28d24204224d4197a2d24fabba87c953', 'network_id': '6de575c4-8f48-4faa-ad7b-ef4fb9039e4b', 'ip_version': 4, 'cidr': '221.226.25.64/26', 'allocation_pools': [{'start': '221.226.25.66', 'end': '221.226.25.126'}], 'gateway_ip': '221.226.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.226.25.66', 'tags': [], 'project_id': '28d24204224d4197a2d24fabba87c953'}} 2026-04-20 02:09:06,024 - INFO - Created VN ctest-vn-18884568 2026-04-20 02:09:06,076 - DEBUG - VN ctest-vn-18884568 UUID is 6de575c4-8f48-4faa-ad7b-ef4fb9039e4b 2026-04-20 02:09:06,228 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-23892773, 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-09594100:ctest-vn-18884568, 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-04-20 02:09:06,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6', 'name': 'ctest-vn-23892773', 'tenant_id': '28d24204224d4197a2d24fabba87c953', 'project_id': '28d24204224d4197a2d24fabba87c953', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c8f2128-3941-4a07-9703-8afa8ed553c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-vn-23892773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-policy-allow-all-75202321']], 'subnet_ipam': [{'subnet_cidr': '64.20.109.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:09:06,740 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6de575c4-8f48-4faa-ad7b-ef4fb9039e4b', 'name': 'ctest-vn-18884568', 'tenant_id': '28d24204224d4197a2d24fabba87c953', 'project_id': '28d24204224d4197a2d24fabba87c953', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49546897-0df0-4239-949c-aaef3e2d03d0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-vn-18884568'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-policy-allow-all-75202321']], 'subnet_ipam': [{'subnet_cidr': '221.226.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-20 02:09:06,916 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-20 02:09:07,218 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-20 02:09:07,248 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8e255323-6bbc-4c0a-9dd3-2082d101b6ba 2026-04-20 02:09:07,260 - DEBUG - Requesting: http://10.0.0.249:8082/project/28d24204-224d-4197-a2d2-4fabba87c953 2026-04-20 02:09:07,329 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6 2026-04-20 02:09:07,340 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6 2026-04-20 02:09:07,348 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f15584be-6a47-4ba0-a56d-2baa15638010 2026-04-20 02:09:07,354 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f15584be-6a47-4ba0-a56d-2baa15638010 2026-04-20 02:09:07,360 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/60e4609d-93e1-4625-a0e2-dda5e35aacb9 2026-04-20 02:09:07,367 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 02:09:07,367 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6 2026-04-20 02:09:07,377 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f15584be-6a47-4ba0-a56d-2baa15638010 2026-04-20 02:09:07,390 - INFO - Verified VN network id 11 for VN 0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6 2026-04-20 02:09:07,390 - INFO - Verifications in API Server for VN ctest-vn-23892773 passed 2026-04-20 02:09:07,390 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6 2026-04-20 02:09:07,399 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f15584be-6a47-4ba0-a56d-2baa15638010 2026-04-20 02:09:07,407 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f15584be-6a47-4ba0-a56d-2baa15638010 2026-04-20 02:09:07,414 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/60e4609d-93e1-4625-a0e2-dda5e35aacb9 2026-04-20 02:09:07,425 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-23892773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09594100', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '842706107471513697', 'uuid-lslong': '13313517760681781990'}, 'enable': 'true', 'created': '2026-04-20T02:09:05', 'last-modified': '2026-04-20T02:09:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922582'} 2026-04-20 02:09:07,431 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-20 02:09:07,431 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23892773 passed 2026-04-20 02:09:07,431 - DEBUG - ====Verifying policy data for ctest-vn-23892773 in API_Server ====== 2026-04-20 02:09:07,431 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-20 02:09:07,436 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8e255323-6bbc-4c0a-9dd3-2082d101b6ba 2026-04-20 02:09:07,446 - DEBUG - Requesting: http://10.0.0.249:8082/project/28d24204-224d-4197-a2d2-4fabba87c953 2026-04-20 02:09:07,521 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0bb1e4bd-69e4-4861-b8c3-1ddd844aaae6 2026-04-20 02:09:07,530 - DEBUG - ==>Verifying data for policy with id: 7a0e7d2c-5ee1-4f03-af2c-690c80ed9294, fqn: ['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-policy-allow-all-75202321'] 2026-04-20 02:09:07,530 - INFO - VN ctest-vn-23892773 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 02:09:07,530 - DEBUG - Verifying the vn in opserver 2026-04-20 02:09:07,530 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-23892773 virtual network link through opserver 10.0.0.249 2026-04-20 02:09:07,530 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-20 02:09:07,827 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-20 02:09:07,894 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-23892773', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-23892773?flat'} 2026-04-20 02:09:07,894 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-23892773 is found in opserver 2026-04-20 02:09:07,902 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 02:09:07,906 - DEBUG - VRF ids for VN ctest-vn-23892773: {} 2026-04-20 02:09:07,906 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-20 02:09:07,911 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8e255323-6bbc-4c0a-9dd3-2082d101b6ba 2026-04-20 02:09:07,920 - DEBUG - Requesting: http://10.0.0.249:8082/project/28d24204-224d-4197-a2d2-4fabba87c953 2026-04-20 02:09:07,990 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6de575c4-8f48-4faa-ad7b-ef4fb9039e4b 2026-04-20 02:09:08,000 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6de575c4-8f48-4faa-ad7b-ef4fb9039e4b 2026-04-20 02:09:08,009 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffca6c5f-d7f6-4e90-b5c3-3456159f60cc 2026-04-20 02:09:08,016 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffca6c5f-d7f6-4e90-b5c3-3456159f60cc 2026-04-20 02:09:08,022 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b23c8ecb-54da-41f4-9b88-ece591988913 2026-04-20 02:09:08,027 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 02:09:08,027 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6de575c4-8f48-4faa-ad7b-ef4fb9039e4b 2026-04-20 02:09:08,035 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffca6c5f-d7f6-4e90-b5c3-3456159f60cc 2026-04-20 02:09:08,048 - INFO - Verified VN network id 12 for VN 6de575c4-8f48-4faa-ad7b-ef4fb9039e4b 2026-04-20 02:09:08,048 - INFO - Verifications in API Server for VN ctest-vn-18884568 passed 2026-04-20 02:09:08,048 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6de575c4-8f48-4faa-ad7b-ef4fb9039e4b 2026-04-20 02:09:08,056 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffca6c5f-d7f6-4e90-b5c3-3456159f60cc 2026-04-20 02:09:08,062 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffca6c5f-d7f6-4e90-b5c3-3456159f60cc 2026-04-20 02:09:08,068 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/b23c8ecb-54da-41f4-9b88-ece591988913 2026-04-20 02:09:08,078 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-18884568', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09594100', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7918865006878805930', 'uuid-lslong': '12500848316382420555'}, 'enable': 'true', 'created': '2026-04-20T02:09:05', 'last-modified': '2026-04-20T02:09:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360046'} 2026-04-20 02:09:08,083 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-20 02:09:08,083 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18884568 passed 2026-04-20 02:09:08,083 - DEBUG - ====Verifying policy data for ctest-vn-18884568 in API_Server ====== 2026-04-20 02:09:08,083 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-20 02:09:08,088 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8e255323-6bbc-4c0a-9dd3-2082d101b6ba 2026-04-20 02:09:08,097 - DEBUG - Requesting: http://10.0.0.249:8082/project/28d24204-224d-4197-a2d2-4fabba87c953 2026-04-20 02:09:08,169 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6de575c4-8f48-4faa-ad7b-ef4fb9039e4b 2026-04-20 02:09:08,177 - DEBUG - ==>Verifying data for policy with id: 7a0e7d2c-5ee1-4f03-af2c-690c80ed9294, fqn: ['default-domain', 'ctest-TestBasicPolicy-09594100', 'ctest-policy-allow-all-75202321'] 2026-04-20 02:09:08,177 - INFO - VN ctest-vn-18884568 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-20 02:09:08,177 - DEBUG - Verifying the vn in opserver 2026-04-20 02:09:08,177 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-18884568 virtual network link through opserver 10.0.0.249 2026-04-20 02:09:08,177 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-04-20 02:09:08,185 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-18884568', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-18884568?flat'} 2026-04-20 02:09:08,185 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-18884568 is found in opserver 2026-04-20 02:09:08,195 - DEBUG - Do not have enough data to verify VN in agent 2026-04-20 02:09:08,199 - DEBUG - VRF ids for VN ctest-vn-18884568: {} 2026-04-20 02:09:08,258 - DEBUG - Services list from nova: [, , ] 2026-04-20 02:09:09,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5647-1) 2026-04-20 02:09:10,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5647-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5647-1) 2026-04-20 02:09:10,422 - INFO - Waiting for VM ctest-TestBasicPolicy-09594100-32092519 to be up.. 2026-04-20 02:09:10,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-20 02:09:15,573 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:09:15,573 - INFO - VM name : ctest-TestBasicPolicy-09594100-32092519 2026-04-20 02:09:15,645 - DEBUG - VM ctest-TestBasicPolicy-09594100-32092519 ID is da140507-48bd-4abe-bbe9-3039e8f3917f 2026-04-20 02:09:15,664 - DEBUG - VM ctest-TestBasicPolicy-09594100-32092519 launched on Node cn-jenkins-deploy-platform-ansible-os-5647-1 2026-04-20 02:09:15,755 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/da140507-48bd-4abe-bbe9-3039e8f3917f 2026-04-20 02:09:15,763 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c437591c-42da-42a2-9b3f-3bc4974c7d60 2026-04-20 02:09:18,980 - 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 1023ms') 2026-04-20 02:09:18,980 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09594100-32092519 failed! 2026-04-20 02:09:19,032 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09594100:ctest-vn-23892773 is 64.20.109.1 and allocation pool is NOT set 2026-04-20 02:09:21,088 - 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=7.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.382 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.382/4.017/7.653/3.635 ms') 2026-04-20 02:09:21,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09594100-32092519 passed 2026-04-20 02:09:21,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:09:21,236 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09594100-32092519, IP 64.20.109.3, Port 22 2026-04-20 02:09:21,392 - DEBUG - VM ctest-TestBasicPolicy-09594100-32092519 is ready for SSH connections 2026-04-20 02:09:21,392 - INFO - Waiting for VM ctest-TestBasicPolicy-09594100-36513568 to be up.. 2026-04-20 02:09:21,464 - DEBUG - VM is in ACTIVE state now 2026-04-20 02:09:21,464 - INFO - VM name : ctest-TestBasicPolicy-09594100-36513568 2026-04-20 02:09:21,534 - DEBUG - VM ctest-TestBasicPolicy-09594100-36513568 ID is 9d9a7fe5-0b2e-4d6b-b7cd-efafc0519d8a 2026-04-20 02:09:21,534 - DEBUG - VM ctest-TestBasicPolicy-09594100-36513568 launched on Node cn-jenkins-deploy-platform-ansible-os-5647-1 2026-04-20 02:09:21,609 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9d9a7fe5-0b2e-4d6b-b7cd-efafc0519d8a 2026-04-20 02:09:21,617 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c1ca5bcb-fd92-4c66-8254-46969836a0bb 2026-04-20 02:09:22,858 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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.016/2.780/4.544/1.764 ms') 2026-04-20 02:09:22,858 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09594100-36513568 passed 2026-04-20 02:09:23,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:09:23,008 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09594100-36513568, IP 221.226.25.67, Port 22 2026-04-20 02:09:23,163 - DEBUG - VM ctest-TestBasicPolicy-09594100-36513568 is ready for SSH connections 2026-04-20 02:09:23,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:09:23,163 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.226.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-20 02:09:23,163 - DEBUG - ping -s 56 -c 3 -W 1 221.226.25.67 2026-04-20 02:09:27,181 - DEBUG - PING 221.226.25.67 (221.226.25.67): 56 data bytes 64 bytes from 221.226.25.67: seq=0 ttl=63 time=4.157 ms 64 bytes from 221.226.25.67: seq=1 ttl=63 time=0.991 ms 64 bytes from 221.226.25.67: seq=2 ttl=63 time=0.742 ms --- 221.226.25.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.963/4.157 ms 2026-04-20 02:09:27,181 - INFO - Ping to IP 221.226.25.67 from VM ctest-TestBasicPolicy-09594100-32092519 passed 2026-04-20 02:09:27,372 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7a0e7d2c-5ee1-4f03-af2c-690c80ed9294", "href": "http://10.0.0.249:8082/network-policy/7a0e7d2c-5ee1-4f03-af2c-690c80ed9294"}} 2026-04-20 02:09:27,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-20 02:09:27,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.226.25.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-04-20 02:09:27,372 - DEBUG - ping -s 56 -c 3 -W 1 221.226.25.67 2026-04-20 02:09:30,587 - DEBUG - PING 221.226.25.67 (221.226.25.67): 56 data bytes --- 221.226.25.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-20 02:09:30,587 - WARNING - Ping to IP 221.226.25.67 from VM ctest-TestBasicPolicy-09594100-32092519 failed 2026-04-20 02:09:30,587 - INFO - Deleting VM ctest-TestBasicPolicy-09594100-36513568 2026-04-20 02:09:30,652 - INFO - Deleting VM ctest-TestBasicPolicy-09594100-32092519 2026-04-20 02:09:31,019 - INFO - Deleted policy ctest-policy-allow-all-75202321 2026-04-20 02:09:31,019 - INFO - Deleting VN ctest-vn-18884568 2026-04-20 02:09:31,047 - DEBUG - VN 6de575c4-8f48-4faa-ad7b-ef4fb9039e4b still in use: Unable to complete operation on network 6de575c4-8f48-4faa-ad7b-ef4fb9039e4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34c2245a-9be8-4253-b094-fc8f333a0e90'] 2026-04-20 02:09:31,047 - WARNING - Deleting VN ctest-vn-18884568 failed..Will retry 2026-04-20 02:09:33,141 - DEBUG - Response for deleting network () 2026-04-20 02:09:33,141 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffca6c5f-d7f6-4e90-b5c3-3456159f60cc 2026-04-20 02:09:33,146 - DEBUG - Response Code: 404 2026-04-20 02:09:33,147 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-20 02:09:33,151 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8e255323-6bbc-4c0a-9dd3-2082d101b6ba 2026-04-20 02:09:33,209 - DEBUG - Requesting: http://10.0.0.249:8082/project/28d24204-224d-4197-a2d2-4fabba87c953 2026-04-20 02:09:33,276 - INFO - Validated that VN ctest-vn-18884568 is not found in API Server 2026-04-20 02:09:33,284 - DEBUG - VN ctest-vn-18884568 is not present in Agent 10.0.0.249 2026-04-20 02:09:33,284 - INFO - Validated that VN ctest-vn-18884568 is not in any agent 2026-04-20 02:09:33,296 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18884568 info 2026-04-20 02:09:33,296 - INFO - Deleting VN ctest-vn-23892773 2026-04-20 02:09:33,380 - DEBUG - Response for deleting network () 2026-04-20 02:09:33,380 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f15584be-6a47-4ba0-a56d-2baa15638010 2026-04-20 02:09:33,384 - DEBUG - Response Code: 404 2026-04-20 02:09:33,384 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-04-20 02:09:33,389 - DEBUG - Requesting: http://10.0.0.249:8082/domain/8e255323-6bbc-4c0a-9dd3-2082d101b6ba 2026-04-20 02:09:33,440 - DEBUG - Requesting: http://10.0.0.249:8082/project/28d24204-224d-4197-a2d2-4fabba87c953 2026-04-20 02:09:33,507 - INFO - Validated that VN ctest-vn-23892773 is not found in API Server 2026-04-20 02:09:33,515 - DEBUG - VN ctest-vn-23892773 is not present in Agent 10.0.0.249 2026-04-20 02:09:33,515 - INFO - Validated that VN ctest-vn-23892773 is not in any agent 2026-04-20 02:09:33,527 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23892773 info 2026-04-20 02:09:33,781 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 02:09:33,781 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-20 02:09:33,782 - INFO - -------------------------------------------------------------------------------- 2026-04-20 02:09:34,444 - INFO - Deleted project: ctest-TestBasicPolicy-09594100, ID : 28d24204-224d-4197-a2d2-4fabba87c953