2026-05-29 22:28:27,659 - INFO - Domain Default found not creating 2026-05-29 22:28:27,838 - INFO - Project ctest-TestBasicPolicy-52489800 not found, creating it 2026-05-29 22:28:28,303 - INFO - Created Project:ctest-TestBasicPolicy-52489800, ID : 52295142-815d-42ca-ac86-f883e04cd21b 2026-05-29 22:28:29,798 - INFO - ================================================================================ 2026-05-29 22:28:29,798 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-29 22:28:29,798 - 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-05-29 22:28:30,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-29 22:28:30,053 - INFO - Initial checks done. Running the testcase now 2026-05-29 22:28:30,053 - INFO - 2026-05-29 22:28:30,601 - DEBUG - Response for create_network : {'network': {'id': 'f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7', 'name': 'ctest-vn-33517091', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-33517091'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 22:28:30,825 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1c12ebf-3d64-405c-bf16-05b8635b3860', 'name': '', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'network_id': 'f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7', 'ip_version': 4, 'cidr': '65.90.54.192/26', 'allocation_pools': [{'start': '65.90.54.194', 'end': '65.90.54.254'}], 'gateway_ip': '65.90.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.90.54.194', 'tags': [], 'project_id': '52295142815d42caac86f883e04cd21b'}} 2026-05-29 22:28:30,843 - INFO - Created VN ctest-vn-33517091 2026-05-29 22:28:30,896 - DEBUG - VN ctest-vn-33517091 UUID is f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7 2026-05-29 22:28:31,192 - DEBUG - Response for create_network : {'network': {'id': '9ff1930f-787c-40e4-90ef-cdd2666b2b1e', 'name': 'ctest-vn-02205938', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-02205938'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 22:28:31,407 - DEBUG - Response for create_subnet : {'subnet': {'id': '18a0c34e-27db-44e5-8d94-c603ae9130e8', 'name': '', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'network_id': '9ff1930f-787c-40e4-90ef-cdd2666b2b1e', 'ip_version': 4, 'cidr': '190.159.74.64/26', 'allocation_pools': [{'start': '190.159.74.66', 'end': '190.159.74.126'}], 'gateway_ip': '190.159.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.159.74.66', 'tags': [], 'project_id': '52295142815d42caac86f883e04cd21b'}} 2026-05-29 22:28:31,428 - INFO - Created VN ctest-vn-02205938 2026-05-29 22:28:31,480 - DEBUG - VN ctest-vn-02205938 UUID is 9ff1930f-787c-40e4-90ef-cdd2666b2b1e 2026-05-29 22:28:31,596 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091, 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-52489800:ctest-vn-02205938, 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-05-29 22:28:31,890 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7', 'name': 'ctest-vn-33517091', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1c12ebf-3d64-405c-bf16-05b8635b3860'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-33517091'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139']], 'subnet_ipam': [{'subnet_cidr': '65.90.54.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 22:28:32,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ff1930f-787c-40e4-90ef-cdd2666b2b1e', 'name': 'ctest-vn-02205938', 'tenant_id': '52295142815d42caac86f883e04cd21b', 'project_id': '52295142815d42caac86f883e04cd21b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18a0c34e-27db-44e5-8d94-c603ae9130e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-vn-02205938'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139']], 'subnet_ipam': [{'subnet_cidr': '190.159.74.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 22:28:32,296 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 22:28:32,595 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 22:28:32,626 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba 2026-05-29 22:28:32,638 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b 2026-05-29 22:28:32,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7 2026-05-29 22:28:32,721 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7 2026-05-29 22:28:32,731 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf 2026-05-29 22:28:32,739 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf 2026-05-29 22:28:32,745 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9bdfc859-61ef-456e-9a84-3b32c0301868 2026-05-29 22:28:32,752 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 22:28:32,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7 2026-05-29 22:28:32,763 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf 2026-05-29 22:28:32,781 - INFO - Verified VN network id 11 for VN f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7 2026-05-29 22:28:32,781 - INFO - Verifications in API Server for VN ctest-vn-33517091 passed 2026-05-29 22:28:32,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7 2026-05-29 22:28:32,792 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf 2026-05-29 22:28:32,800 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf 2026-05-29 22:28:32,809 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9bdfc859-61ef-456e-9a84-3b32c0301868 2026-05-29 22:28:32,821 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52489800', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17657913388175412862', 'uuid-lslong': '9794958274257954759'}, 'enable': 'true', 'created': '2026-05-29T22:28:30', 'last-modified': '2026-05-29T22:28:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959252'} 2026-05-29 22:28:32,826 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 22:28:32,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33517091 passed 2026-05-29 22:28:32,826 - DEBUG - ====Verifying policy data for ctest-vn-33517091 in API_Server ====== 2026-05-29 22:28:32,826 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 22:28:32,832 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba 2026-05-29 22:28:32,842 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b 2026-05-29 22:28:32,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f50d82ab-c0cf-4e7e-87ee-aea78eeb27c7 2026-05-29 22:28:32,937 - DEBUG - ==>Verifying data for policy with id: 8b187a10-bdec-44fb-bcdc-3e2e3d593460, fqn: ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139'] 2026-05-29 22:28:32,937 - INFO - VN ctest-vn-33517091 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 22:28:32,937 - DEBUG - Verifying the vn in opserver 2026-05-29 22:28:32,937 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091 virtual network link through opserver 10.0.0.50 2026-05-29 22:28:32,938 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 22:28:33,245 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 22:28:33,323 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091?flat'} 2026-05-29 22:28:33,323 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091 is found in opserver 2026-05-29 22:28:33,334 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 22:28:33,340 - DEBUG - VRF ids for VN ctest-vn-33517091: {} 2026-05-29 22:28:33,340 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 22:28:33,346 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba 2026-05-29 22:28:33,357 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b 2026-05-29 22:28:33,434 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e 2026-05-29 22:28:33,446 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e 2026-05-29 22:28:33,456 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41 2026-05-29 22:28:33,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41 2026-05-29 22:28:33,471 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/307a54a9-664a-4a7f-bcb3-44c895e3a401 2026-05-29 22:28:33,477 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 22:28:33,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e 2026-05-29 22:28:33,487 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41 2026-05-29 22:28:33,506 - INFO - Verified VN network id 12 for VN 9ff1930f-787c-40e4-90ef-cdd2666b2b1e 2026-05-29 22:28:33,506 - INFO - Verifications in API Server for VN ctest-vn-02205938 passed 2026-05-29 22:28:33,507 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e 2026-05-29 22:28:33,517 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41 2026-05-29 22:28:33,529 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41 2026-05-29 22:28:33,538 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/307a54a9-664a-4a7f-bcb3-44c895e3a401 2026-05-29 22:28:33,552 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52489800', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11525154616073011428', 'uuid-lslong': '10443792364440595230'}, 'enable': 'true', 'created': '2026-05-29T22:28:31', 'last-modified': '2026-05-29T22:28:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430782'} 2026-05-29 22:28:33,558 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 22:28:33,558 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02205938 passed 2026-05-29 22:28:33,558 - DEBUG - ====Verifying policy data for ctest-vn-02205938 in API_Server ====== 2026-05-29 22:28:33,558 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 22:28:33,564 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba 2026-05-29 22:28:33,575 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b 2026-05-29 22:28:33,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9ff1930f-787c-40e4-90ef-cdd2666b2b1e 2026-05-29 22:28:33,654 - DEBUG - ==>Verifying data for policy with id: 8b187a10-bdec-44fb-bcdc-3e2e3d593460, fqn: ['default-domain', 'ctest-TestBasicPolicy-52489800', 'ctest-policy-allow-all-70358139'] 2026-05-29 22:28:33,654 - INFO - VN ctest-vn-02205938 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 22:28:33,654 - DEBUG - Verifying the vn in opserver 2026-05-29 22:28:33,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938 virtual network link through opserver 10.0.0.50 2026-05-29 22:28:33,654 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 22:28:33,665 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938?flat'} 2026-05-29 22:28:33,665 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-02205938 is found in opserver 2026-05-29 22:28:33,677 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 22:28:33,682 - DEBUG - VRF ids for VN ctest-vn-02205938: {} 2026-05-29 22:28:33,747 - DEBUG - Services list from nova: [, , ] 2026-05-29 22:28:34,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5853-1) 2026-05-29 22:28:35,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5853-1) 2026-05-29 22:28:35,953 - INFO - Waiting for VM ctest-TestBasicPolicy-52489800-48930743 to be up.. 2026-05-29 22:28:36,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-29 22:28:41,116 - DEBUG - VM is in ACTIVE state now 2026-05-29 22:28:41,116 - INFO - VM name : ctest-TestBasicPolicy-52489800-48930743 2026-05-29 22:28:41,190 - DEBUG - VM ctest-TestBasicPolicy-52489800-48930743 ID is 8c85cba7-5bfb-44a9-b7c8-55ad6ec274ac 2026-05-29 22:28:41,213 - DEBUG - VM ctest-TestBasicPolicy-52489800-48930743 launched on Node cn-jenkins-deploy-platform-ansible-os-5853-1 2026-05-29 22:28:41,288 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8c85cba7-5bfb-44a9-b7c8-55ad6ec274ac 2026-05-29 22:28:41,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1e9093a0-1b2f-4698-bdee-4b1a8625eff3 2026-05-29 22:28:44,551 - 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 1011ms') 2026-05-29 22:28:44,552 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52489800-48930743 failed! 2026-05-29 22:28:44,608 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52489800:ctest-vn-33517091 is 65.90.54.193 and allocation pool is NOT set 2026-05-29 22:28:46,668 - 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=9.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/4.878/9.305/4.426 ms') 2026-05-29 22:28:46,668 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52489800-48930743 passed 2026-05-29 22:28:46,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 22:28:46,820 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52489800-48930743, IP 65.90.54.195, Port 22 2026-05-29 22:28:46,976 - DEBUG - VM ctest-TestBasicPolicy-52489800-48930743 is ready for SSH connections 2026-05-29 22:28:46,976 - INFO - Waiting for VM ctest-TestBasicPolicy-52489800-31643504 to be up.. 2026-05-29 22:28:47,054 - DEBUG - VM is in ACTIVE state now 2026-05-29 22:28:47,054 - INFO - VM name : ctest-TestBasicPolicy-52489800-31643504 2026-05-29 22:28:47,126 - DEBUG - VM ctest-TestBasicPolicy-52489800-31643504 ID is fcd0af04-9757-406c-8a6f-33e29924f5e6 2026-05-29 22:28:47,126 - DEBUG - VM ctest-TestBasicPolicy-52489800-31643504 launched on Node cn-jenkins-deploy-platform-ansible-os-5853-1 2026-05-29 22:28:47,198 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fcd0af04-9757-406c-8a6f-33e29924f5e6 2026-05-29 22:28:47,206 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bee759d3-bc97-48fa-8904-106c598899de 2026-05-29 22:28:48,446 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.691/2.918/1.226 ms') 2026-05-29 22:28:48,446 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52489800-31643504 passed 2026-05-29 22:28:48,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 22:28:48,600 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52489800-31643504, IP 190.159.74.67, Port 22 2026-05-29 22:28:48,755 - DEBUG - VM ctest-TestBasicPolicy-52489800-31643504 is ready for SSH connections 2026-05-29 22:28:48,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 22:28:48,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.159.74.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-29 22:28:48,755 - DEBUG - ping -s 56 -c 3 -W 1 190.159.74.67 2026-05-29 22:28:52,784 - DEBUG - PING 190.159.74.67 (190.159.74.67): 56 data bytes 64 bytes from 190.159.74.67: seq=0 ttl=63 time=3.273 ms 64 bytes from 190.159.74.67: seq=1 ttl=63 time=1.376 ms 64 bytes from 190.159.74.67: seq=2 ttl=63 time=0.808 ms --- 190.159.74.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.819/3.273 ms 2026-05-29 22:28:52,785 - INFO - Ping to IP 190.159.74.67 from VM ctest-TestBasicPolicy-52489800-48930743 passed 2026-05-29 22:28:52,984 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8b187a10-bdec-44fb-bcdc-3e2e3d593460", "href": "http://10.0.0.50:8082/network-policy/8b187a10-bdec-44fb-bcdc-3e2e3d593460"}} 2026-05-29 22:28:52,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 22:28:52,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.159.74.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-29 22:28:52,984 - DEBUG - ping -s 56 -c 3 -W 1 190.159.74.67 2026-05-29 22:28:56,203 - DEBUG - PING 190.159.74.67 (190.159.74.67): 56 data bytes --- 190.159.74.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-29 22:28:56,204 - WARNING - Ping to IP 190.159.74.67 from VM ctest-TestBasicPolicy-52489800-48930743 failed 2026-05-29 22:28:56,204 - INFO - Deleting VM ctest-TestBasicPolicy-52489800-31643504 2026-05-29 22:28:56,276 - INFO - Deleting VM ctest-TestBasicPolicy-52489800-48930743 2026-05-29 22:28:56,634 - INFO - Deleted policy ctest-policy-allow-all-70358139 2026-05-29 22:28:56,635 - INFO - Deleting VN ctest-vn-02205938 2026-05-29 22:28:56,675 - DEBUG - VN 9ff1930f-787c-40e4-90ef-cdd2666b2b1e still in use: Unable to complete operation on network 9ff1930f-787c-40e4-90ef-cdd2666b2b1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be143470-db74-4fa4-a607-975aeb46d124'] 2026-05-29 22:28:56,675 - WARNING - Deleting VN ctest-vn-02205938 failed..Will retry 2026-05-29 22:28:58,780 - DEBUG - Response for deleting network () 2026-05-29 22:28:58,780 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d8b7e300-66c4-4973-8996-df7a9cec5c41 2026-05-29 22:28:58,787 - DEBUG - Response Code: 404 2026-05-29 22:28:58,787 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 22:28:58,793 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba 2026-05-29 22:28:58,847 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b 2026-05-29 22:28:58,925 - INFO - Validated that VN ctest-vn-02205938 is not found in API Server 2026-05-29 22:28:58,936 - DEBUG - VN ctest-vn-02205938 is not present in Agent 10.0.0.50 2026-05-29 22:28:58,936 - INFO - Validated that VN ctest-vn-02205938 is not in any agent 2026-05-29 22:28:58,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02205938 info 2026-05-29 22:28:58,952 - INFO - Deleting VN ctest-vn-33517091 2026-05-29 22:28:59,051 - DEBUG - Response for deleting network () 2026-05-29 22:28:59,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3251a9ca-24a0-403a-aff2-c9e4f7ea2bbf 2026-05-29 22:28:59,061 - DEBUG - Response Code: 404 2026-05-29 22:28:59,061 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 22:28:59,068 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2e4f5992-2f6d-4d9c-9c2c-5465088553ba 2026-05-29 22:28:59,122 - DEBUG - Requesting: http://10.0.0.50:8082/project/52295142-815d-42ca-ac86-f883e04cd21b 2026-05-29 22:28:59,195 - INFO - Validated that VN ctest-vn-33517091 is not found in API Server 2026-05-29 22:28:59,204 - DEBUG - VN ctest-vn-33517091 is not present in Agent 10.0.0.50 2026-05-29 22:28:59,204 - INFO - Validated that VN ctest-vn-33517091 is not in any agent 2026-05-29 22:28:59,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33517091 info 2026-05-29 22:28:59,472 - DEBUG - No XMPP flaps were noticed during the test
2026-05-29 22:28:59,473 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-05-29 22:28:59,473 - INFO - -------------------------------------------------------------------------------- 2026-05-29 22:29:00,181 - INFO - Deleted project: ctest-TestBasicPolicy-52489800, ID : 52295142-815d-42ca-ac86-f883e04cd21b