2026-01-28 17:03:27,914 - INFO - Domain Default found not creating 2026-01-28 17:03:28,105 - INFO - Project ctest-TestBasicPolicy-12574230 not found, creating it 2026-01-28 17:03:28,576 - INFO - Created Project:ctest-TestBasicPolicy-12574230, ID : 5256a44b-75d0-401f-982d-f6e0fee9b0fb 2026-01-28 17:03:30,104 - INFO - ================================================================================ 2026-01-28 17:03:30,105 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 17:03:30,105 - 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-01-28 17:03:30,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-01-28 17:03:30,365 - INFO - Initial checks done. Running the testcase now 2026-01-28 17:03:30,366 - INFO - 2026-01-28 17:03:30,943 - DEBUG - Response for create_network : {'network': {'id': 'b42df2ab-9620-4976-a745-0c0e18afff75', 'name': 'ctest-vn-12558246', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-12558246'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:03:31,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c450c9f4-2ea7-4910-b20a-d3c2c5aa2dd0', 'name': '', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'network_id': 'b42df2ab-9620-4976-a745-0c0e18afff75', 'ip_version': 4, 'cidr': '83.138.140.192/26', 'allocation_pools': [{'start': '83.138.140.194', 'end': '83.138.140.254'}], 'gateway_ip': '83.138.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.138.140.194', 'tags': [], 'project_id': '5256a44b75d0401f982df6e0fee9b0fb'}} 2026-01-28 17:03:31,201 - INFO - Created VN ctest-vn-12558246 2026-01-28 17:03:31,253 - DEBUG - VN ctest-vn-12558246 UUID is b42df2ab-9620-4976-a745-0c0e18afff75 2026-01-28 17:03:31,546 - DEBUG - Response for create_network : {'network': {'id': 'e9e64568-9d83-45cc-a5fc-3c56468e0aa7', 'name': 'ctest-vn-98432036', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-98432036'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:03:31,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '52e3f068-1b2d-4da8-87ed-e05e64eaec12', 'name': '', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'network_id': 'e9e64568-9d83-45cc-a5fc-3c56468e0aa7', 'ip_version': 4, 'cidr': '153.242.98.128/26', 'allocation_pools': [{'start': '153.242.98.130', 'end': '153.242.98.190'}], 'gateway_ip': '153.242.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.242.98.130', 'tags': [], 'project_id': '5256a44b75d0401f982df6e0fee9b0fb'}} 2026-01-28 17:03:31,773 - INFO - Created VN ctest-vn-98432036 2026-01-28 17:03:31,824 - DEBUG - VN ctest-vn-98432036 UUID is e9e64568-9d83-45cc-a5fc-3c56468e0aa7 2026-01-28 17:03:31,935 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246, 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-12574230:ctest-vn-98432036, 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-01-28 17:03:32,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b42df2ab-9620-4976-a745-0c0e18afff75', 'name': 'ctest-vn-12558246', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c450c9f4-2ea7-4910-b20a-d3c2c5aa2dd0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-12558246'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794']], 'subnet_ipam': [{'subnet_cidr': '83.138.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:03:32,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9e64568-9d83-45cc-a5fc-3c56468e0aa7', 'name': 'ctest-vn-98432036', 'tenant_id': '5256a44b75d0401f982df6e0fee9b0fb', 'project_id': '5256a44b75d0401f982df6e0fee9b0fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['52e3f068-1b2d-4da8-87ed-e05e64eaec12'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-vn-98432036'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794']], 'subnet_ipam': [{'subnet_cidr': '153.242.98.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:03:32,645 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-28 17:03:32,954 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-28 17:03:32,988 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068 2026-01-28 17:03:33,001 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb 2026-01-28 17:03:33,075 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75 2026-01-28 17:03:33,086 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75 2026-01-28 17:03:33,096 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a 2026-01-28 17:03:33,104 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a 2026-01-28 17:03:33,111 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2868e6e5-3917-4d94-ba90-a6fc5742f2c8 2026-01-28 17:03:33,118 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 17:03:33,118 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75 2026-01-28 17:03:33,127 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a 2026-01-28 17:03:33,142 - INFO - Verified VN network id 11 for VN b42df2ab-9620-4976-a745-0c0e18afff75 2026-01-28 17:03:33,142 - INFO - Verifications in API Server for VN ctest-vn-12558246 passed 2026-01-28 17:03:33,142 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75 2026-01-28 17:03:33,152 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a 2026-01-28 17:03:33,160 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a 2026-01-28 17:03:33,167 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/2868e6e5-3917-4d94-ba90-a6fc5742f2c8 2026-01-28 17:03:33,179 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12574230', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12983300119551035766', 'uuid-lslong': '12053053232410263413'}, 'enable': 'true', 'created': '2026-01-28T17:03:30', 'last-modified': '2026-01-28T17:03:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964091'} 2026-01-28 17:03:33,186 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 17:03:33,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12558246 passed 2026-01-28 17:03:33,187 - DEBUG - ====Verifying policy data for ctest-vn-12558246 in API_Server ====== 2026-01-28 17:03:33,187 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-28 17:03:33,192 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068 2026-01-28 17:03:33,203 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb 2026-01-28 17:03:33,280 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b42df2ab-9620-4976-a745-0c0e18afff75 2026-01-28 17:03:33,289 - DEBUG - ==>Verifying data for policy with id: 26f93613-d9cd-45ca-a49e-60f351f96f62, fqn: ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794'] 2026-01-28 17:03:33,289 - INFO - VN ctest-vn-12558246 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 17:03:33,289 - DEBUG - Verifying the vn in opserver 2026-01-28 17:03:33,289 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246 virtual network link through opserver 10.0.0.27 2026-01-28 17:03:33,289 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-28 17:03:33,597 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-28 17:03:33,657 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246?flat'} 2026-01-28 17:03:33,657 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246 is found in opserver 2026-01-28 17:03:33,666 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 17:03:33,670 - DEBUG - VRF ids for VN ctest-vn-12558246: {} 2026-01-28 17:03:33,671 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-28 17:03:33,676 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068 2026-01-28 17:03:33,686 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb 2026-01-28 17:03:33,755 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7 2026-01-28 17:03:33,766 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7 2026-01-28 17:03:33,774 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727 2026-01-28 17:03:33,781 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727 2026-01-28 17:03:33,788 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3c9cb493-fc3c-4e4f-9f5a-f540d431af24 2026-01-28 17:03:33,795 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 17:03:33,795 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7 2026-01-28 17:03:33,804 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727 2026-01-28 17:03:33,819 - INFO - Verified VN network id 12 for VN e9e64568-9d83-45cc-a5fc-3c56468e0aa7 2026-01-28 17:03:33,819 - INFO - Verifications in API Server for VN ctest-vn-98432036 passed 2026-01-28 17:03:33,819 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7 2026-01-28 17:03:33,828 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727 2026-01-28 17:03:33,835 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727 2026-01-28 17:03:33,843 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/3c9cb493-fc3c-4e4f-9f5a-f540d431af24 2026-01-28 17:03:33,855 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12574230', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16854234971102201292', 'uuid-lslong': '11960501051637762727'}, 'enable': 'true', 'created': '2026-01-28T17:03:31', 'last-modified': '2026-01-28T17:03:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393049'} 2026-01-28 17:03:33,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 17:03:33,861 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98432036 passed 2026-01-28 17:03:33,862 - DEBUG - ====Verifying policy data for ctest-vn-98432036 in API_Server ====== 2026-01-28 17:03:33,862 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-28 17:03:33,867 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068 2026-01-28 17:03:33,881 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb 2026-01-28 17:03:33,951 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/e9e64568-9d83-45cc-a5fc-3c56468e0aa7 2026-01-28 17:03:33,961 - DEBUG - ==>Verifying data for policy with id: 26f93613-d9cd-45ca-a49e-60f351f96f62, fqn: ['default-domain', 'ctest-TestBasicPolicy-12574230', 'ctest-policy-allow-all-37790794'] 2026-01-28 17:03:33,961 - INFO - VN ctest-vn-98432036 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 17:03:33,961 - DEBUG - Verifying the vn in opserver 2026-01-28 17:03:33,961 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036 virtual network link through opserver 10.0.0.27 2026-01-28 17:03:33,961 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2026-01-28 17:03:33,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036?flat'} 2026-01-28 17:03:33,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-98432036 is found in opserver 2026-01-28 17:03:33,978 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 17:03:33,982 - DEBUG - VRF ids for VN ctest-vn-98432036: {} 2026-01-28 17:03:34,037 - DEBUG - Services list from nova: [, , ] 2026-01-28 17:03:35,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5098-1) 2026-01-28 17:03:36,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5098-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5098-1) 2026-01-28 17:03:36,350 - INFO - Waiting for VM ctest-TestBasicPolicy-12574230-07312676 to be up.. 2026-01-28 17:03:36,431 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 17:03:41,512 - DEBUG - VM is in ACTIVE state now 2026-01-28 17:03:41,512 - INFO - VM name : ctest-TestBasicPolicy-12574230-07312676 2026-01-28 17:03:41,592 - DEBUG - VM ctest-TestBasicPolicy-12574230-07312676 ID is 7b7d9bfc-cfff-4495-ba0f-c010f39d1f73 2026-01-28 17:03:41,613 - DEBUG - VM ctest-TestBasicPolicy-12574230-07312676 launched on Node cn-jenkins-deploy-platform-ansible-os-5098-1 2026-01-28 17:03:41,696 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7b7d9bfc-cfff-4495-ba0f-c010f39d1f73 2026-01-28 17:03:41,705 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e5ca44a4-1976-4d3b-891c-60e9b9b07583 2026-01-28 17:03:44,976 - 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 1027ms') 2026-01-28 17:03:44,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12574230-07312676 failed! 2026-01-28 17:03:45,029 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12574230:ctest-vn-12558246 is 83.138.140.193 and allocation pool is NOT set 2026-01-28 17:03:47,100 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 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 = 1.940/6.027/10.115/4.087 ms') 2026-01-28 17:03:47,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12574230-07312676 passed 2026-01-28 17:03:47,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:03:47,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12574230-07312676, IP 83.138.140.195, Port 22 2026-01-28 17:03:47,428 - DEBUG - VM ctest-TestBasicPolicy-12574230-07312676 is ready for SSH connections 2026-01-28 17:03:47,428 - INFO - Waiting for VM ctest-TestBasicPolicy-12574230-61115356 to be up.. 2026-01-28 17:03:47,513 - DEBUG - VM is in ACTIVE state now 2026-01-28 17:03:47,513 - INFO - VM name : ctest-TestBasicPolicy-12574230-61115356 2026-01-28 17:03:47,592 - DEBUG - VM ctest-TestBasicPolicy-12574230-61115356 ID is e1eb3784-2379-48df-b606-95b3ccf82a9f 2026-01-28 17:03:47,592 - DEBUG - VM ctest-TestBasicPolicy-12574230-61115356 launched on Node cn-jenkins-deploy-platform-ansible-os-5098-1 2026-01-28 17:03:47,669 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e1eb3784-2379-48df-b606-95b3ccf82a9f 2026-01-28 17:03:47,676 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/ea1e52c9-9bbd-485c-9f2d-ee5d3dc71fd7 2026-01-28 17:03:48,914 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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.339/3.089/4.839/1.750 ms') 2026-01-28 17:03:48,914 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12574230-61115356 passed 2026-01-28 17:03:49,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:03:49,069 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12574230-61115356, IP 153.242.98.131, Port 22 2026-01-28 17:03:49,224 - DEBUG - VM ctest-TestBasicPolicy-12574230-61115356 is ready for SSH connections 2026-01-28 17:03:49,224 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:03:49,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.242.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-01-28 17:03:49,225 - DEBUG - ping -s 56 -c 3 -W 1 153.242.98.131 2026-01-28 17:03:53,432 - DEBUG - PING 153.242.98.131 (153.242.98.131): 56 data bytes 64 bytes from 153.242.98.131: seq=0 ttl=63 time=4.894 ms 64 bytes from 153.242.98.131: seq=1 ttl=63 time=1.281 ms 64 bytes from 153.242.98.131: seq=2 ttl=63 time=1.199 ms --- 153.242.98.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.199/2.458/4.894 ms 2026-01-28 17:03:53,432 - INFO - Ping to IP 153.242.98.131 from VM ctest-TestBasicPolicy-12574230-07312676 passed 2026-01-28 17:03:53,612 - DEBUG - Policy Update Response {"network-policy": {"uuid": "26f93613-d9cd-45ca-a49e-60f351f96f62", "href": "http://10.0.0.27:8082/network-policy/26f93613-d9cd-45ca-a49e-60f351f96f62"}} 2026-01-28 17:03:53,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:03:53,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.242.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-01-28 17:03:53,613 - DEBUG - ping -s 56 -c 3 -W 1 153.242.98.131 2026-01-28 17:03:56,837 - DEBUG - PING 153.242.98.131 (153.242.98.131): 56 data bytes --- 153.242.98.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 17:03:56,837 - WARNING - Ping to IP 153.242.98.131 from VM ctest-TestBasicPolicy-12574230-07312676 failed 2026-01-28 17:03:56,837 - INFO - Deleting VM ctest-TestBasicPolicy-12574230-61115356 2026-01-28 17:03:56,912 - INFO - Deleting VM ctest-TestBasicPolicy-12574230-07312676 2026-01-28 17:03:57,318 - INFO - Deleted policy ctest-policy-allow-all-37790794 2026-01-28 17:03:57,319 - INFO - Deleting VN ctest-vn-98432036 2026-01-28 17:03:57,353 - DEBUG - VN e9e64568-9d83-45cc-a5fc-3c56468e0aa7 still in use: Unable to complete operation on network e9e64568-9d83-45cc-a5fc-3c56468e0aa7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03885c99-c6cf-43b7-873b-f905594dc4db'] 2026-01-28 17:03:57,354 - WARNING - Deleting VN ctest-vn-98432036 failed..Will retry 2026-01-28 17:03:59,461 - DEBUG - Response for deleting network () 2026-01-28 17:03:59,461 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/821f3a64-0016-4800-9252-ec52fa54c727 2026-01-28 17:03:59,467 - DEBUG - Response Code: 404 2026-01-28 17:03:59,467 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-28 17:03:59,472 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068 2026-01-28 17:03:59,536 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb 2026-01-28 17:03:59,608 - INFO - Validated that VN ctest-vn-98432036 is not found in API Server 2026-01-28 17:03:59,617 - DEBUG - VN ctest-vn-98432036 is not present in Agent 10.0.0.27 2026-01-28 17:03:59,617 - INFO - Validated that VN ctest-vn-98432036 is not in any agent 2026-01-28 17:03:59,630 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98432036 info 2026-01-28 17:03:59,630 - INFO - Deleting VN ctest-vn-12558246 2026-01-28 17:03:59,747 - DEBUG - Response for deleting network () 2026-01-28 17:03:59,747 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/876abfd7-3435-4167-91b6-511311cf0b4a 2026-01-28 17:03:59,753 - DEBUG - Response Code: 404 2026-01-28 17:03:59,753 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2026-01-28 17:03:59,759 - DEBUG - Requesting: http://10.0.0.27:8082/domain/726a90fb-7f4e-4c0e-ae8f-8254d9be9068 2026-01-28 17:03:59,813 - DEBUG - Requesting: http://10.0.0.27:8082/project/5256a44b-75d0-401f-982d-f6e0fee9b0fb 2026-01-28 17:03:59,882 - INFO - Validated that VN ctest-vn-12558246 is not found in API Server 2026-01-28 17:03:59,891 - DEBUG - VN ctest-vn-12558246 is not present in Agent 10.0.0.27 2026-01-28 17:03:59,891 - INFO - Validated that VN ctest-vn-12558246 is not in any agent 2026-01-28 17:03:59,905 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12558246 info 2026-01-28 17:04:00,163 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 17:04:00,163 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-28 17:04:00,163 - INFO - -------------------------------------------------------------------------------- 2026-01-28 17:04:01,214 - INFO - Deleted project: ctest-TestBasicPolicy-12574230, ID : 5256a44b-75d0-401f-982d-f6e0fee9b0fb