2026-05-09 05:26:05,722 - INFO - Domain Default found not creating 2026-05-09 05:26:05,904 - INFO - Project ctest-TestBasicPolicy-86300886 not found, creating it 2026-05-09 05:26:06,345 - INFO - Created Project:ctest-TestBasicPolicy-86300886, ID : 03ef36c4-e948-4e2a-9e10-650cd2f33f4d 2026-05-09 05:26:08,139 - INFO - ================================================================================ 2026-05-09 05:26:08,140 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-09 05:26:08,140 - 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-09 05:26:08,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-09 05:26:08,394 - INFO - Initial checks done. Running the testcase now 2026-05-09 05:26:08,395 - INFO - 2026-05-09 05:26:08,976 - DEBUG - Response for create_network : {'network': {'id': '5b7ae16d-1838-4946-8d84-102828cd56df', 'name': 'ctest-vn-21324372', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-21324372'], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:26:09,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '843b4f5b-5c5d-4861-aeca-d99c7c10c8e4', 'name': '', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'network_id': '5b7ae16d-1838-4946-8d84-102828cd56df', 'ip_version': 4, 'cidr': '188.29.156.192/26', 'allocation_pools': [{'start': '188.29.156.194', 'end': '188.29.156.254'}], 'gateway_ip': '188.29.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.29.156.194', 'tags': [], 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d'}} 2026-05-09 05:26:09,151 - INFO - Created VN ctest-vn-21324372 2026-05-09 05:26:09,203 - DEBUG - VN ctest-vn-21324372 UUID is 5b7ae16d-1838-4946-8d84-102828cd56df 2026-05-09 05:26:09,484 - DEBUG - Response for create_network : {'network': {'id': '31f88f2d-2cca-404c-b417-2871d81ce651', 'name': 'ctest-vn-92983629', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-92983629'], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:26:09,659 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc5e1519-ca18-40a7-9885-a5c15da38721', 'name': '', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'network_id': '31f88f2d-2cca-404c-b417-2871d81ce651', 'ip_version': 4, 'cidr': '9.31.242.64/26', 'allocation_pools': [{'start': '9.31.242.66', 'end': '9.31.242.126'}], 'gateway_ip': '9.31.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.31.242.66', 'tags': [], 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d'}} 2026-05-09 05:26:09,676 - INFO - Created VN ctest-vn-92983629 2026-05-09 05:26:09,727 - DEBUG - VN ctest-vn-92983629 UUID is 31f88f2d-2cca-404c-b417-2871d81ce651 2026-05-09 05:26:09,879 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372, 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-86300886:ctest-vn-92983629, 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-09 05:26:10,162 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b7ae16d-1838-4946-8d84-102828cd56df', 'name': 'ctest-vn-21324372', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['843b4f5b-5c5d-4861-aeca-d99c7c10c8e4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-21324372'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231']], 'subnet_ipam': [{'subnet_cidr': '188.29.156.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:26:10,394 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31f88f2d-2cca-404c-b417-2871d81ce651', 'name': 'ctest-vn-92983629', 'tenant_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'project_id': '03ef36c4e9484e2a9e10650cd2f33f4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc5e1519-ca18-40a7-9885-a5c15da38721'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-vn-92983629'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231']], 'subnet_ipam': [{'subnet_cidr': '9.31.242.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-09 05:26:10,555 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-09 05:26:10,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-09 05:26:10,882 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403 2026-05-09 05:26:10,894 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d 2026-05-09 05:26:10,980 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df 2026-05-09 05:26:10,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df 2026-05-09 05:26:11,000 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a 2026-05-09 05:26:11,007 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a 2026-05-09 05:26:11,013 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d4986399-d26e-4d20-83a0-870d0cdc3c7f 2026-05-09 05:26:11,019 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-09 05:26:11,020 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df 2026-05-09 05:26:11,028 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a 2026-05-09 05:26:11,042 - INFO - Verified VN network id 10 for VN 5b7ae16d-1838-4946-8d84-102828cd56df 2026-05-09 05:26:11,042 - INFO - Verifications in API Server for VN ctest-vn-21324372 passed 2026-05-09 05:26:11,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df 2026-05-09 05:26:11,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a 2026-05-09 05:26:11,059 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a 2026-05-09 05:26:11,066 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d4986399-d26e-4d20-83a0-870d0cdc3c7f 2026-05-09 05:26:11,076 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86300886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6591828863284169030', 'uuid-lslong': '10197293220942927583'}, 'enable': 'true', 'created': '2026-05-09T05:26:08', 'last-modified': '2026-05-09T05:26:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935841'} 2026-05-09 05:26:11,082 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-09 05:26:11,082 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21324372 passed 2026-05-09 05:26:11,083 - DEBUG - ====Verifying policy data for ctest-vn-21324372 in API_Server ====== 2026-05-09 05:26:11,083 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-09 05:26:11,088 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403 2026-05-09 05:26:11,097 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d 2026-05-09 05:26:11,179 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7ae16d-1838-4946-8d84-102828cd56df 2026-05-09 05:26:11,190 - DEBUG - ==>Verifying data for policy with id: 02411ca6-c10d-4e3c-8867-d07259fb2d77, fqn: ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231'] 2026-05-09 05:26:11,190 - INFO - VN ctest-vn-21324372 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-09 05:26:11,191 - DEBUG - Verifying the vn in opserver 2026-05-09 05:26:11,191 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372 virtual network link through opserver 10.0.0.50 2026-05-09 05:26:11,191 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-09 05:26:11,485 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-09 05:26:11,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372?flat'} 2026-05-09 05:26:11,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372 is found in opserver 2026-05-09 05:26:11,552 - DEBUG - Do not have enough data to verify VN in agent 2026-05-09 05:26:11,556 - DEBUG - VRF ids for VN ctest-vn-21324372: {} 2026-05-09 05:26:11,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-09 05:26:11,561 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403 2026-05-09 05:26:11,571 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d 2026-05-09 05:26:11,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651 2026-05-09 05:26:11,653 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651 2026-05-09 05:26:11,662 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa 2026-05-09 05:26:11,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa 2026-05-09 05:26:11,675 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/806e7375-80ec-4d1e-ba4a-43568da93600 2026-05-09 05:26:11,681 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-09 05:26:11,681 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651 2026-05-09 05:26:11,689 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa 2026-05-09 05:26:11,700 - INFO - Verified VN network id 11 for VN 31f88f2d-2cca-404c-b417-2871d81ce651 2026-05-09 05:26:11,700 - INFO - Verifications in API Server for VN ctest-vn-92983629 passed 2026-05-09 05:26:11,700 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651 2026-05-09 05:26:11,708 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa 2026-05-09 05:26:11,714 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa 2026-05-09 05:26:11,720 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/806e7375-80ec-4d1e-ba4a-43568da93600 2026-05-09 05:26:11,731 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86300886', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3600785326270464076', 'uuid-lslong': '12976885320713561681'}, 'enable': 'true', 'created': '2026-05-09T05:26:09', 'last-modified': '2026-05-09T05:26:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.359784'} 2026-05-09 05:26:11,738 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-09 05:26:11,738 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92983629 passed 2026-05-09 05:26:11,738 - DEBUG - ====Verifying policy data for ctest-vn-92983629 in API_Server ====== 2026-05-09 05:26:11,738 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-09 05:26:11,745 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403 2026-05-09 05:26:11,756 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d 2026-05-09 05:26:11,824 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/31f88f2d-2cca-404c-b417-2871d81ce651 2026-05-09 05:26:11,834 - DEBUG - ==>Verifying data for policy with id: 02411ca6-c10d-4e3c-8867-d07259fb2d77, fqn: ['default-domain', 'ctest-TestBasicPolicy-86300886', 'ctest-policy-allow-all-80181231'] 2026-05-09 05:26:11,834 - INFO - VN ctest-vn-92983629 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-09 05:26:11,834 - DEBUG - Verifying the vn in opserver 2026-05-09 05:26:11,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629 virtual network link through opserver 10.0.0.50 2026-05-09 05:26:11,834 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-09 05:26:11,844 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629?flat'} 2026-05-09 05:26:11,844 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-92983629 is found in opserver 2026-05-09 05:26:11,855 - DEBUG - Do not have enough data to verify VN in agent 2026-05-09 05:26:11,859 - DEBUG - VRF ids for VN ctest-vn-92983629: {} 2026-05-09 05:26:11,913 - DEBUG - Services list from nova: [, , ] 2026-05-09 05:26:12,922 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5761-1) 2026-05-09 05:26:14,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5761-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5761-1) 2026-05-09 05:26:14,108 - INFO - Waiting for VM ctest-TestBasicPolicy-86300886-06715324 to be up.. 2026-05-09 05:26:14,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-09 05:26:19,295 - DEBUG - VM is in ACTIVE state now 2026-05-09 05:26:19,295 - INFO - VM name : ctest-TestBasicPolicy-86300886-06715324 2026-05-09 05:26:19,384 - DEBUG - VM ctest-TestBasicPolicy-86300886-06715324 ID is 3e46bb8b-6469-4db8-88a5-62e324296564 2026-05-09 05:26:19,405 - DEBUG - VM ctest-TestBasicPolicy-86300886-06715324 launched on Node cn-jenkins-deploy-platform-ansible-os-5761-1 2026-05-09 05:26:19,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3e46bb8b-6469-4db8-88a5-62e324296564 2026-05-09 05:26:19,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7b19bb7c-7c4b-4d97-a131-82cbc28fd6fa 2026-05-09 05:26:22,742 - 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-05-09 05:26:22,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86300886-06715324 failed! 2026-05-09 05:26:22,795 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86300886:ctest-vn-21324372 is 188.29.156.193 and allocation pool is NOT set 2026-05-09 05:26:24,854 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 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 = 1.717/5.185/8.653/3.468 ms') 2026-05-09 05:26:24,854 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86300886-06715324 passed 2026-05-09 05:26:25,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:26:25,007 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86300886-06715324, IP 188.29.156.195, Port 22 2026-05-09 05:26:25,167 - DEBUG - VM ctest-TestBasicPolicy-86300886-06715324 is ready for SSH connections 2026-05-09 05:26:25,167 - INFO - Waiting for VM ctest-TestBasicPolicy-86300886-05379470 to be up.. 2026-05-09 05:26:25,238 - DEBUG - VM is in ACTIVE state now 2026-05-09 05:26:25,238 - INFO - VM name : ctest-TestBasicPolicy-86300886-05379470 2026-05-09 05:26:25,308 - DEBUG - VM ctest-TestBasicPolicy-86300886-05379470 ID is 74e62a2e-777a-4a6c-af10-9870037eafda 2026-05-09 05:26:25,308 - DEBUG - VM ctest-TestBasicPolicy-86300886-05379470 launched on Node cn-jenkins-deploy-platform-ansible-os-5761-1 2026-05-09 05:26:25,376 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/74e62a2e-777a-4a6c-af10-9870037eafda 2026-05-09 05:26:25,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9cc406ad-7fc3-4214-a5f6-37b110efc69b 2026-05-09 05:26:26,615 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.807/3.129/1.321 ms') 2026-05-09 05:26:26,615 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86300886-05379470 passed 2026-05-09 05:26:26,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:26:26,763 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86300886-05379470, IP 9.31.242.67, Port 22 2026-05-09 05:26:26,927 - DEBUG - VM ctest-TestBasicPolicy-86300886-05379470 is ready for SSH connections 2026-05-09 05:26:26,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:26:26,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.31.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-09 05:26:26,927 - DEBUG - ping -s 56 -c 3 -W 1 9.31.242.67 2026-05-09 05:26:30,983 - DEBUG - PING 9.31.242.67 (9.31.242.67): 56 data bytes 64 bytes from 9.31.242.67: seq=0 ttl=63 time=3.475 ms 64 bytes from 9.31.242.67: seq=1 ttl=63 time=0.883 ms 64 bytes from 9.31.242.67: seq=2 ttl=63 time=0.786 ms --- 9.31.242.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.786/1.714/3.475 ms 2026-05-09 05:26:30,983 - INFO - Ping to IP 9.31.242.67 from VM ctest-TestBasicPolicy-86300886-06715324 passed 2026-05-09 05:26:31,159 - DEBUG - Policy Update Response {"network-policy": {"uuid": "02411ca6-c10d-4e3c-8867-d07259fb2d77", "href": "http://10.0.0.50:8082/network-policy/02411ca6-c10d-4e3c-8867-d07259fb2d77"}} 2026-05-09 05:26:31,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-09 05:26:31,159 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.31.242.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-09 05:26:31,159 - DEBUG - ping -s 56 -c 3 -W 1 9.31.242.67 2026-05-09 05:26:34,382 - DEBUG - PING 9.31.242.67 (9.31.242.67): 56 data bytes --- 9.31.242.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-09 05:26:34,382 - WARNING - Ping to IP 9.31.242.67 from VM ctest-TestBasicPolicy-86300886-06715324 failed 2026-05-09 05:26:34,382 - INFO - Deleting VM ctest-TestBasicPolicy-86300886-05379470 2026-05-09 05:26:34,455 - INFO - Deleting VM ctest-TestBasicPolicy-86300886-06715324 2026-05-09 05:26:34,834 - INFO - Deleted policy ctest-policy-allow-all-80181231 2026-05-09 05:26:34,834 - INFO - Deleting VN ctest-vn-92983629 2026-05-09 05:26:34,870 - DEBUG - VN 31f88f2d-2cca-404c-b417-2871d81ce651 still in use: Unable to complete operation on network 31f88f2d-2cca-404c-b417-2871d81ce651. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cba2205f-9019-49d3-bfc6-e4fffb96713e'] 2026-05-09 05:26:34,870 - WARNING - Deleting VN ctest-vn-92983629 failed..Will retry 2026-05-09 05:26:36,968 - DEBUG - Response for deleting network () 2026-05-09 05:26:36,968 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/900fe649-bdf0-4bfe-9b86-db73ad327aaa 2026-05-09 05:26:36,976 - DEBUG - Response Code: 404 2026-05-09 05:26:36,977 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-09 05:26:36,982 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403 2026-05-09 05:26:37,036 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d 2026-05-09 05:26:37,104 - INFO - Validated that VN ctest-vn-92983629 is not found in API Server 2026-05-09 05:26:37,113 - DEBUG - VN ctest-vn-92983629 is not present in Agent 10.0.0.50 2026-05-09 05:26:37,113 - INFO - Validated that VN ctest-vn-92983629 is not in any agent 2026-05-09 05:26:37,124 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92983629 info 2026-05-09 05:26:37,124 - INFO - Deleting VN ctest-vn-21324372 2026-05-09 05:26:37,212 - DEBUG - Response for deleting network () 2026-05-09 05:26:37,212 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e1abf3b0-a5dc-4614-9603-7f2d38320f6a 2026-05-09 05:26:37,218 - DEBUG - Response Code: 404 2026-05-09 05:26:37,218 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-09 05:26:37,223 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0f4cc49b-caa0-4380-9fe0-f297e809b403 2026-05-09 05:26:37,276 - DEBUG - Requesting: http://10.0.0.50:8082/project/03ef36c4-e948-4e2a-9e10-650cd2f33f4d 2026-05-09 05:26:37,343 - INFO - Validated that VN ctest-vn-21324372 is not found in API Server 2026-05-09 05:26:37,352 - DEBUG - VN ctest-vn-21324372 is not present in Agent 10.0.0.50 2026-05-09 05:26:37,352 - INFO - Validated that VN ctest-vn-21324372 is not in any agent 2026-05-09 05:26:37,366 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21324372 info 2026-05-09 05:26:37,624 - DEBUG - No XMPP flaps were noticed during the test
2026-05-09 05:26:37,624 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-05-09 05:26:37,624 - INFO - -------------------------------------------------------------------------------- 2026-05-09 05:26:38,322 - INFO - Deleted project: ctest-TestBasicPolicy-86300886, ID : 03ef36c4-e948-4e2a-9e10-650cd2f33f4d