2026-03-12 02:10:41,969 - INFO - Domain Default found not creating 2026-03-12 02:10:42,149 - INFO - Project ctest-TestBasicPolicy-84288803 not found, creating it 2026-03-12 02:10:42,622 - INFO - Created Project:ctest-TestBasicPolicy-84288803, ID : 1e35ac15-d13c-4d1e-92b7-a31e75c173fa 2026-03-12 02:10:44,186 - INFO - ================================================================================ 2026-03-12 02:10:44,186 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-12 02:10:44,187 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-03-12 02:10:44,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2026-03-12 02:10:44,441 - INFO - Initial checks done. Running the testcase now 2026-03-12 02:10:44,441 - INFO - 2026-03-12 02:10:45,027 - DEBUG - Response for create_network : {'network': {'id': 'cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0', 'name': 'ctest-vn-82669524', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-82669524'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:45,182 - DEBUG - Response for create_subnet : {'subnet': {'id': '052cd4f7-099b-4745-84cf-8e5818f21148', 'name': '', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'network_id': 'cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0', 'ip_version': 4, 'cidr': '131.144.76.0/26', 'allocation_pools': [{'start': '131.144.76.2', 'end': '131.144.76.62'}], 'gateway_ip': '131.144.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.144.76.2', 'tags': [], 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa'}} 2026-03-12 02:10:45,203 - INFO - Created VN ctest-vn-82669524 2026-03-12 02:10:45,255 - DEBUG - VN ctest-vn-82669524 UUID is cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0 2026-03-12 02:10:45,543 - DEBUG - Response for create_network : {'network': {'id': '5ff4d840-40c0-47b1-8152-ec56e4e05153', 'name': 'ctest-vn-83830835', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-83830835'], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:45,721 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a936d38a-80d8-4826-b9d9-65bbbef3f1b3', 'name': '', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'network_id': '5ff4d840-40c0-47b1-8152-ec56e4e05153', 'ip_version': 4, 'cidr': '118.184.84.192/26', 'allocation_pools': [{'start': '118.184.84.194', 'end': '118.184.84.254'}], 'gateway_ip': '118.184.84.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.184.84.194', 'tags': [], 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa'}} 2026-03-12 02:10:45,743 - INFO - Created VN ctest-vn-83830835 2026-03-12 02:10:45,795 - DEBUG - VN ctest-vn-83830835 UUID is 5ff4d840-40c0-47b1-8152-ec56e4e05153 2026-03-12 02:10:45,919 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524, 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-84288803:ctest-vn-83830835, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-03-12 02:10:46,221 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0', 'name': 'ctest-vn-82669524', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['052cd4f7-099b-4745-84cf-8e5818f21148'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-82669524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063']], 'subnet_ipam': [{'subnet_cidr': '131.144.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:46,438 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ff4d840-40c0-47b1-8152-ec56e4e05153', 'name': 'ctest-vn-83830835', 'tenant_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'project_id': '1e35ac15d13c4d1e92b7a31e75c173fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a936d38a-80d8-4826-b9d9-65bbbef3f1b3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-vn-83830835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063']], 'subnet_ipam': [{'subnet_cidr': '118.184.84.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-12 02:10:46,583 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-03-12 02:10:46,878 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-03-12 02:10:46,912 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49 2026-03-12 02:10:46,925 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa 2026-03-12 02:10:46,994 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0 2026-03-12 02:10:47,003 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0 2026-03-12 02:10:47,011 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf 2026-03-12 02:10:47,018 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf 2026-03-12 02:10:47,024 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d7202388-f5e4-4740-9cf9-d02e56396a36 2026-03-12 02:10:47,030 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 02:10:47,030 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0 2026-03-12 02:10:47,039 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf 2026-03-12 02:10:47,052 - INFO - Verified VN network id 11 for VN cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0 2026-03-12 02:10:47,052 - INFO - Verifications in API Server for VN ctest-vn-82669524 passed 2026-03-12 02:10:47,053 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0 2026-03-12 02:10:47,062 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf 2026-03-12 02:10:47,068 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf 2026-03-12 02:10:47,076 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d7202388-f5e4-4740-9cf9-d02e56396a36 2026-03-12 02:10:47,087 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84288803', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14918995296988057029', 'uuid-lslong': '9995611998120265920'}, 'enable': 'true', 'created': '2026-03-12T02:10:44', 'last-modified': '2026-03-12T02:10:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.892018'} 2026-03-12 02:10:47,095 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-12 02:10:47,095 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82669524 passed 2026-03-12 02:10:47,095 - DEBUG - ====Verifying policy data for ctest-vn-82669524 in API_Server ====== 2026-03-12 02:10:47,095 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-03-12 02:10:47,101 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49 2026-03-12 02:10:47,112 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa 2026-03-12 02:10:47,179 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/cf0aeb2d-aab2-4dc5-8ab7-8c273c9748c0 2026-03-12 02:10:47,187 - DEBUG - ==>Verifying data for policy with id: 702ecb48-4899-478a-8e3a-a21ce2d33c6c, fqn: ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063'] 2026-03-12 02:10:47,187 - INFO - VN ctest-vn-82669524 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 02:10:47,187 - DEBUG - Verifying the vn in opserver 2026-03-12 02:10:47,187 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524 virtual network link through opserver 10.0.0.130 2026-03-12 02:10:47,187 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-03-12 02:10:47,477 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-03-12 02:10:47,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524?flat'} 2026-03-12 02:10:47,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524 is found in opserver 2026-03-12 02:10:47,551 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 02:10:47,555 - DEBUG - VRF ids for VN ctest-vn-82669524: {} 2026-03-12 02:10:47,555 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-03-12 02:10:47,560 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49 2026-03-12 02:10:47,570 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa 2026-03-12 02:10:47,640 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153 2026-03-12 02:10:47,653 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153 2026-03-12 02:10:47,664 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8 2026-03-12 02:10:47,671 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8 2026-03-12 02:10:47,678 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fcdc71b9-8538-43fa-b163-e08b7e36afc9 2026-03-12 02:10:47,687 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 02:10:47,687 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153 2026-03-12 02:10:47,697 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8 2026-03-12 02:10:47,711 - INFO - Verified VN network id 12 for VN 5ff4d840-40c0-47b1-8152-ec56e4e05153 2026-03-12 02:10:47,711 - INFO - Verifications in API Server for VN ctest-vn-83830835 passed 2026-03-12 02:10:47,711 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153 2026-03-12 02:10:47,720 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8 2026-03-12 02:10:47,728 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8 2026-03-12 02:10:47,735 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/fcdc71b9-8538-43fa-b163-e08b7e36afc9 2026-03-12 02:10:47,747 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84288803', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6914389098396403633', 'uuid-lslong': '9318770436934226259'}, 'enable': 'true', 'created': '2026-03-12T02:10:45', 'last-modified': '2026-03-12T02:10:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325708'} 2026-03-12 02:10:47,753 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-12 02:10:47,753 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83830835 passed 2026-03-12 02:10:47,753 - DEBUG - ====Verifying policy data for ctest-vn-83830835 in API_Server ====== 2026-03-12 02:10:47,753 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-03-12 02:10:47,759 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49 2026-03-12 02:10:47,769 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa 2026-03-12 02:10:47,837 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/5ff4d840-40c0-47b1-8152-ec56e4e05153 2026-03-12 02:10:47,849 - DEBUG - ==>Verifying data for policy with id: 702ecb48-4899-478a-8e3a-a21ce2d33c6c, fqn: ['default-domain', 'ctest-TestBasicPolicy-84288803', 'ctest-policy-allow-all-92703063'] 2026-03-12 02:10:47,849 - INFO - VN ctest-vn-83830835 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-12 02:10:47,849 - DEBUG - Verifying the vn in opserver 2026-03-12 02:10:47,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835 virtual network link through opserver 10.0.0.130 2026-03-12 02:10:47,849 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2026-03-12 02:10:47,860 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835?flat'} 2026-03-12 02:10:47,861 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-83830835 is found in opserver 2026-03-12 02:10:47,871 - DEBUG - Do not have enough data to verify VN in agent 2026-03-12 02:10:47,876 - DEBUG - VRF ids for VN ctest-vn-83830835: {} 2026-03-12 02:10:47,936 - DEBUG - Services list from nova: [, , ] 2026-03-12 02:10:48,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5459-1) 2026-03-12 02:10:50,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5459-1) 2026-03-12 02:10:50,114 - INFO - Waiting for VM ctest-TestBasicPolicy-84288803-67440283 to be up.. 2026-03-12 02:10:50,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-12 02:10:55,290 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:10:55,291 - INFO - VM name : ctest-TestBasicPolicy-84288803-67440283 2026-03-12 02:10:55,387 - DEBUG - VM ctest-TestBasicPolicy-84288803-67440283 ID is 9d6499bf-e87d-4341-8741-ec2fa05c40db 2026-03-12 02:10:55,413 - DEBUG - VM ctest-TestBasicPolicy-84288803-67440283 launched on Node cn-jenkins-deploy-platform-ansible-os-5459-1 2026-03-12 02:10:55,505 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/9d6499bf-e87d-4341-8741-ec2fa05c40db 2026-03-12 02:10:55,513 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/35a23188-7dea-4550-823c-8f506ebed888 2026-03-12 02:10:58,769 - 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 1010ms') 2026-03-12 02:10:58,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84288803-67440283 failed! 2026-03-12 02:10:58,823 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84288803:ctest-vn-82669524 is 131.144.76.1 and allocation pool is NOT set 2026-03-12 02:11:00,886 - 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=3.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.468 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.468/1.851/3.234/1.383 ms') 2026-03-12 02:11:00,886 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84288803-67440283 passed 2026-03-12 02:11:01,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:01,035 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84288803-67440283, IP 131.144.76.3, Port 22 2026-03-12 02:11:01,190 - DEBUG - VM ctest-TestBasicPolicy-84288803-67440283 is ready for SSH connections 2026-03-12 02:11:01,190 - INFO - Waiting for VM ctest-TestBasicPolicy-84288803-45668450 to be up.. 2026-03-12 02:11:01,282 - DEBUG - VM is in ACTIVE state now 2026-03-12 02:11:01,282 - INFO - VM name : ctest-TestBasicPolicy-84288803-45668450 2026-03-12 02:11:01,385 - DEBUG - VM ctest-TestBasicPolicy-84288803-45668450 ID is d3074ab7-da21-4e0e-8979-3d154e13b0f7 2026-03-12 02:11:01,385 - DEBUG - VM ctest-TestBasicPolicy-84288803-45668450 launched on Node cn-jenkins-deploy-platform-ansible-os-5459-1 2026-03-12 02:11:01,507 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/d3074ab7-da21-4e0e-8979-3d154e13b0f7 2026-03-12 02:11:01,516 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/d5568ba3-1474-466c-9342-41a3e424a12f 2026-03-12 02:11:02,761 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/2.257/4.047/1.790 ms') 2026-03-12 02:11:02,762 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84288803-45668450 passed 2026-03-12 02:11:02,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:02,911 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84288803-45668450, IP 118.184.84.195, Port 22 2026-03-12 02:11:03,067 - DEBUG - VM ctest-TestBasicPolicy-84288803-45668450 is ready for SSH connections 2026-03-12 02:11:03,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:03,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.184.84.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-03-12 02:11:03,067 - DEBUG - ping -s 56 -c 3 -W 1 118.184.84.195 2026-03-12 02:11:07,154 - DEBUG - PING 118.184.84.195 (118.184.84.195): 56 data bytes 64 bytes from 118.184.84.195: seq=0 ttl=63 time=4.921 ms 64 bytes from 118.184.84.195: seq=1 ttl=63 time=0.855 ms 64 bytes from 118.184.84.195: seq=2 ttl=63 time=0.995 ms --- 118.184.84.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/2.257/4.921 ms 2026-03-12 02:11:07,155 - INFO - Ping to IP 118.184.84.195 from VM ctest-TestBasicPolicy-84288803-67440283 passed 2026-03-12 02:11:07,335 - DEBUG - Policy Update Response {"network-policy": {"uuid": "702ecb48-4899-478a-8e3a-a21ce2d33c6c", "href": "http://10.0.0.130:8082/network-policy/702ecb48-4899-478a-8e3a-a21ce2d33c6c"}} 2026-03-12 02:11:07,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-12 02:11:07,335 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.184.84.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2026-03-12 02:11:07,335 - DEBUG - ping -s 56 -c 3 -W 1 118.184.84.195 2026-03-12 02:11:10,575 - DEBUG - PING 118.184.84.195 (118.184.84.195): 56 data bytes --- 118.184.84.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-12 02:11:10,575 - WARNING - Ping to IP 118.184.84.195 from VM ctest-TestBasicPolicy-84288803-67440283 failed 2026-03-12 02:11:10,575 - INFO - Deleting VM ctest-TestBasicPolicy-84288803-45668450 2026-03-12 02:11:10,645 - INFO - Deleting VM ctest-TestBasicPolicy-84288803-67440283 2026-03-12 02:11:11,018 - INFO - Deleted policy ctest-policy-allow-all-92703063 2026-03-12 02:11:11,019 - INFO - Deleting VN ctest-vn-83830835 2026-03-12 02:11:11,053 - DEBUG - VN 5ff4d840-40c0-47b1-8152-ec56e4e05153 still in use: Unable to complete operation on network 5ff4d840-40c0-47b1-8152-ec56e4e05153. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2912fc2c-7615-4316-ac2f-7fd6ca4a4c2b'] 2026-03-12 02:11:11,053 - WARNING - Deleting VN ctest-vn-83830835 failed..Will retry 2026-03-12 02:11:13,156 - DEBUG - Response for deleting network () 2026-03-12 02:11:13,157 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/1caea8e7-c7d6-4134-bb72-5480b69e14e8 2026-03-12 02:11:13,164 - DEBUG - Response Code: 404 2026-03-12 02:11:13,164 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-03-12 02:11:13,171 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49 2026-03-12 02:11:13,226 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa 2026-03-12 02:11:13,300 - INFO - Validated that VN ctest-vn-83830835 is not found in API Server 2026-03-12 02:11:13,310 - DEBUG - VN ctest-vn-83830835 is not present in Agent 10.0.0.130 2026-03-12 02:11:13,310 - INFO - Validated that VN ctest-vn-83830835 is not in any agent 2026-03-12 02:11:13,325 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83830835 info 2026-03-12 02:11:13,325 - INFO - Deleting VN ctest-vn-82669524 2026-03-12 02:11:13,450 - DEBUG - Response for deleting network () 2026-03-12 02:11:13,450 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/2546f632-f400-40b1-9f01-66d23933ffdf 2026-03-12 02:11:13,457 - DEBUG - Response Code: 404 2026-03-12 02:11:13,457 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2026-03-12 02:11:13,464 - DEBUG - Requesting: http://10.0.0.130:8082/domain/787fd62d-62b9-4211-873b-9aee834b5b49 2026-03-12 02:11:13,517 - DEBUG - Requesting: http://10.0.0.130:8082/project/1e35ac15-d13c-4d1e-92b7-a31e75c173fa 2026-03-12 02:11:13,590 - INFO - Validated that VN ctest-vn-82669524 is not found in API Server 2026-03-12 02:11:13,601 - DEBUG - VN ctest-vn-82669524 is not present in Agent 10.0.0.130 2026-03-12 02:11:13,601 - INFO - Validated that VN ctest-vn-82669524 is not in any agent 2026-03-12 02:11:13,615 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82669524 info 2026-03-12 02:11:13,871 - DEBUG - No XMPP flaps were noticed during the test
2026-03-12 02:11:13,871 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-03-12 02:11:13,871 - INFO - -------------------------------------------------------------------------------- 2026-03-12 02:11:14,557 - INFO - Deleted project: ctest-TestBasicPolicy-84288803, ID : 1e35ac15-d13c-4d1e-92b7-a31e75c173fa