2025-10-07 16:51:15,412 - INFO - Domain Default found not creating 2025-10-07 16:51:15,573 - INFO - Project ctest-TestBasicPolicy-39490800 not found, creating it 2025-10-07 16:51:16,078 - INFO - Created Project:ctest-TestBasicPolicy-39490800, ID : 2c867e7d-ce38-486d-8b06-a3a5526d1da7 2025-10-07 16:51:17,688 - INFO - ================================================================================ 2025-10-07 16:51:17,688 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-07 16:51:17,689 - 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 2025-10-07 16:51:17,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 16:51:17,952 - INFO - Initial checks done. Running the testcase now 2025-10-07 16:51:17,952 - INFO - 2025-10-07 16:51:18,502 - DEBUG - Response for create_network : {'network': {'id': 'cd893745-cea1-4864-b54c-89dc4bc5d0f5', 'name': 'ctest-vn-54146838', 'tenant_id': '2c867e7dce38486d8b06a3a5526d1da7', 'project_id': '2c867e7dce38486d8b06a3a5526d1da7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-vn-54146838'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:51:18,671 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1584aca-f8bf-4387-9f09-2cca02400d9d', 'name': '', 'tenant_id': '2c867e7dce38486d8b06a3a5526d1da7', 'network_id': 'cd893745-cea1-4864-b54c-89dc4bc5d0f5', 'ip_version': 4, 'cidr': '148.248.94.192/26', 'allocation_pools': [{'start': '148.248.94.194', 'end': '148.248.94.254'}], 'gateway_ip': '148.248.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.248.94.194', 'tags': [], 'project_id': '2c867e7dce38486d8b06a3a5526d1da7'}} 2025-10-07 16:51:18,693 - INFO - Created VN ctest-vn-54146838 2025-10-07 16:51:18,750 - DEBUG - VN ctest-vn-54146838 UUID is cd893745-cea1-4864-b54c-89dc4bc5d0f5 2025-10-07 16:51:19,054 - DEBUG - Response for create_network : {'network': {'id': '138b3158-afc0-4e3d-8b15-5f3e3ffa92a9', 'name': 'ctest-vn-83638284', 'tenant_id': '2c867e7dce38486d8b06a3a5526d1da7', 'project_id': '2c867e7dce38486d8b06a3a5526d1da7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-vn-83638284'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:51:19,259 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4ea2cbb-6693-4f45-9105-eeb5d21c1f0c', 'name': '', 'tenant_id': '2c867e7dce38486d8b06a3a5526d1da7', 'network_id': '138b3158-afc0-4e3d-8b15-5f3e3ffa92a9', 'ip_version': 4, 'cidr': '33.163.63.192/26', 'allocation_pools': [{'start': '33.163.63.194', 'end': '33.163.63.254'}], 'gateway_ip': '33.163.63.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.163.63.194', 'tags': [], 'project_id': '2c867e7dce38486d8b06a3a5526d1da7'}} 2025-10-07 16:51:19,277 - INFO - Created VN ctest-vn-83638284 2025-10-07 16:51:19,330 - DEBUG - VN ctest-vn-83638284 UUID is 138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 2025-10-07 16:51:19,446 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-54146838, 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-39490800:ctest-vn-83638284, 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] 2025-10-07 16:51:19,738 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cd893745-cea1-4864-b54c-89dc4bc5d0f5', 'name': 'ctest-vn-54146838', 'tenant_id': '2c867e7dce38486d8b06a3a5526d1da7', 'project_id': '2c867e7dce38486d8b06a3a5526d1da7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f1584aca-f8bf-4387-9f09-2cca02400d9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-vn-54146838'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-policy-allow-all-92416060']], 'subnet_ipam': [{'subnet_cidr': '148.248.94.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:51:19,964 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '138b3158-afc0-4e3d-8b15-5f3e3ffa92a9', 'name': 'ctest-vn-83638284', 'tenant_id': '2c867e7dce38486d8b06a3a5526d1da7', 'project_id': '2c867e7dce38486d8b06a3a5526d1da7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4ea2cbb-6693-4f45-9105-eeb5d21c1f0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-vn-83638284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-policy-allow-all-92416060']], 'subnet_ipam': [{'subnet_cidr': '33.163.63.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:51:20,127 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 16:51:20,423 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 16:51:20,451 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c5cc07ef-53b4-4807-908f-62edecbcce18 2025-10-07 16:51:20,462 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c867e7d-ce38-486d-8b06-a3a5526d1da7 2025-10-07 16:51:20,535 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cd893745-cea1-4864-b54c-89dc4bc5d0f5 2025-10-07 16:51:20,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cd893745-cea1-4864-b54c-89dc4bc5d0f5 2025-10-07 16:51:20,553 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1778216e-b06b-4149-b3c3-8303038e7246 2025-10-07 16:51:20,561 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1778216e-b06b-4149-b3c3-8303038e7246 2025-10-07 16:51:20,567 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eb5aeeb4-5490-49e8-b47f-3367738339c0 2025-10-07 16:51:20,573 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-07 16:51:20,573 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cd893745-cea1-4864-b54c-89dc4bc5d0f5 2025-10-07 16:51:20,581 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1778216e-b06b-4149-b3c3-8303038e7246 2025-10-07 16:51:20,594 - INFO - Verified VN network id 11 for VN cd893745-cea1-4864-b54c-89dc4bc5d0f5 2025-10-07 16:51:20,594 - INFO - Verifications in API Server for VN ctest-vn-54146838 passed 2025-10-07 16:51:20,594 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cd893745-cea1-4864-b54c-89dc4bc5d0f5 2025-10-07 16:51:20,601 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1778216e-b06b-4149-b3c3-8303038e7246 2025-10-07 16:51:20,607 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1778216e-b06b-4149-b3c3-8303038e7246 2025-10-07 16:51:20,614 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eb5aeeb4-5490-49e8-b47f-3367738339c0 2025-10-07 16:51:20,625 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-54146838', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39490800', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14810429622543534180', 'uuid-lslong': '13063968198352031989'}, 'enable': 'true', 'created': '2025-10-07T16:51:18', 'last-modified': '2025-10-07T16:51:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907805'} 2025-10-07 16:51:20,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-07 16:51:20,630 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54146838 passed 2025-10-07 16:51:20,631 - DEBUG - ====Verifying policy data for ctest-vn-54146838 in API_Server ====== 2025-10-07 16:51:20,631 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 16:51:20,635 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c5cc07ef-53b4-4807-908f-62edecbcce18 2025-10-07 16:51:20,647 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c867e7d-ce38-486d-8b06-a3a5526d1da7 2025-10-07 16:51:20,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cd893745-cea1-4864-b54c-89dc4bc5d0f5 2025-10-07 16:51:20,729 - DEBUG - ==>Verifying data for policy with id: 5bcb3f3d-116b-458d-a140-196fa9e12d1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-policy-allow-all-92416060'] 2025-10-07 16:51:20,729 - INFO - VN ctest-vn-54146838 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-07 16:51:20,729 - DEBUG - Verifying the vn in opserver 2025-10-07 16:51:20,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-54146838 virtual network link through opserver 10.0.0.254 2025-10-07 16:51:20,729 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-07 16:51:21,025 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-07 16:51:21,081 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-54146838', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-54146838?flat'} 2025-10-07 16:51:21,081 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-54146838 is found in opserver 2025-10-07 16:51:21,089 - DEBUG - Do not have enough data to verify VN in agent 2025-10-07 16:51:21,094 - DEBUG - VRF ids for VN ctest-vn-54146838: {} 2025-10-07 16:51:21,094 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 16:51:21,100 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c5cc07ef-53b4-4807-908f-62edecbcce18 2025-10-07 16:51:21,110 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c867e7d-ce38-486d-8b06-a3a5526d1da7 2025-10-07 16:51:21,179 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 2025-10-07 16:51:21,190 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 2025-10-07 16:51:21,199 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e14527d-8764-413a-8592-1fe3643273ef 2025-10-07 16:51:21,205 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e14527d-8764-413a-8592-1fe3643273ef 2025-10-07 16:51:21,212 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/07f95fa4-d7dc-4ee9-b484-06a13a9bc170 2025-10-07 16:51:21,217 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-07 16:51:21,217 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 2025-10-07 16:51:21,225 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e14527d-8764-413a-8592-1fe3643273ef 2025-10-07 16:51:21,238 - INFO - Verified VN network id 12 for VN 138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 2025-10-07 16:51:21,238 - INFO - Verifications in API Server for VN ctest-vn-83638284 passed 2025-10-07 16:51:21,238 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 2025-10-07 16:51:21,246 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e14527d-8764-413a-8592-1fe3643273ef 2025-10-07 16:51:21,252 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e14527d-8764-413a-8592-1fe3643273ef 2025-10-07 16:51:21,258 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/07f95fa4-d7dc-4ee9-b484-06a13a9bc170 2025-10-07 16:51:21,268 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-83638284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39490800', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1408273565458910781', 'uuid-lslong': '10022021266748904105'}, 'enable': 'true', 'created': '2025-10-07T16:51:19', 'last-modified': '2025-10-07T16:51:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318612'} 2025-10-07 16:51:21,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-07 16:51:21,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83638284 passed 2025-10-07 16:51:21,275 - DEBUG - ====Verifying policy data for ctest-vn-83638284 in API_Server ====== 2025-10-07 16:51:21,275 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 16:51:21,281 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c5cc07ef-53b4-4807-908f-62edecbcce18 2025-10-07 16:51:21,291 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c867e7d-ce38-486d-8b06-a3a5526d1da7 2025-10-07 16:51:21,357 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 2025-10-07 16:51:21,370 - DEBUG - ==>Verifying data for policy with id: 5bcb3f3d-116b-458d-a140-196fa9e12d1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-39490800', 'ctest-policy-allow-all-92416060'] 2025-10-07 16:51:21,370 - INFO - VN ctest-vn-83638284 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-07 16:51:21,370 - DEBUG - Verifying the vn in opserver 2025-10-07 16:51:21,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-83638284 virtual network link through opserver 10.0.0.254 2025-10-07 16:51:21,370 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-07 16:51:21,380 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-83638284', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-83638284?flat'} 2025-10-07 16:51:21,380 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-83638284 is found in opserver 2025-10-07 16:51:21,389 - DEBUG - Do not have enough data to verify VN in agent 2025-10-07 16:51:21,393 - DEBUG - VRF ids for VN ctest-vn-83638284: {} 2025-10-07 16:51:21,448 - DEBUG - Services list from nova: [, , ] 2025-10-07 16:51:22,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4230-1) 2025-10-07 16:51:23,650 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4230-1) 2025-10-07 16:51:23,650 - INFO - Waiting for VM ctest-TestBasicPolicy-39490800-63793173 to be up.. 2025-10-07 16:51:23,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 16:51:28,807 - DEBUG - VM is in ACTIVE state now 2025-10-07 16:51:28,807 - INFO - VM name : ctest-TestBasicPolicy-39490800-63793173 2025-10-07 16:51:28,879 - DEBUG - VM ctest-TestBasicPolicy-39490800-63793173 ID is 02afc375-8316-411c-980d-8d4be97ca1d6 2025-10-07 16:51:28,897 - DEBUG - VM ctest-TestBasicPolicy-39490800-63793173 launched on Node cn-jenkins-deploy-platform-ansible-os-4230-1 2025-10-07 16:51:28,974 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02afc375-8316-411c-980d-8d4be97ca1d6 2025-10-07 16:51:28,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/de944b97-5706-4508-bf94-1518329b6afa 2025-10-07 16:51:32,216 - 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 1003ms') 2025-10-07 16:51:32,216 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39490800-63793173 failed! 2025-10-07 16:51:32,270 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39490800:ctest-vn-54146838 is 148.248.94.193 and allocation pool is NOT set 2025-10-07 16:51:34,338 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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.522/4.293/8.064/3.771 ms') 2025-10-07 16:51:34,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39490800-63793173 passed 2025-10-07 16:51:34,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:51:34,486 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39490800-63793173, IP 148.248.94.195, Port 22 2025-10-07 16:51:34,642 - DEBUG - VM ctest-TestBasicPolicy-39490800-63793173 is ready for SSH connections 2025-10-07 16:51:34,642 - INFO - Waiting for VM ctest-TestBasicPolicy-39490800-72391751 to be up.. 2025-10-07 16:51:34,716 - DEBUG - VM is in ACTIVE state now 2025-10-07 16:51:34,716 - INFO - VM name : ctest-TestBasicPolicy-39490800-72391751 2025-10-07 16:51:34,796 - DEBUG - VM ctest-TestBasicPolicy-39490800-72391751 ID is 1725f90f-5e6a-44a1-9d65-b73f0f26a623 2025-10-07 16:51:34,797 - DEBUG - VM ctest-TestBasicPolicy-39490800-72391751 launched on Node cn-jenkins-deploy-platform-ansible-os-4230-1 2025-10-07 16:51:34,878 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1725f90f-5e6a-44a1-9d65-b73f0f26a623 2025-10-07 16:51:34,887 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cf5e964a-6328-4cb7-88d5-1552b823ed1f 2025-10-07 16:51:36,143 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.478 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.478/1.879/3.280/1.401 ms') 2025-10-07 16:51:36,143 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39490800-72391751 passed 2025-10-07 16:51:36,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:51:36,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39490800-72391751, IP 33.163.63.195, Port 22 2025-10-07 16:51:36,464 - DEBUG - VM ctest-TestBasicPolicy-39490800-72391751 is ready for SSH connections 2025-10-07 16:51:36,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:51:36,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.163.63.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:51:36,465 - DEBUG - ping -s 56 -c 3 -W 1 33.163.63.195 2025-10-07 16:51:40,473 - DEBUG - PING 33.163.63.195 (33.163.63.195): 56 data bytes 64 bytes from 33.163.63.195: seq=0 ttl=63 time=4.154 ms 64 bytes from 33.163.63.195: seq=1 ttl=63 time=0.959 ms 64 bytes from 33.163.63.195: seq=2 ttl=63 time=1.034 ms --- 33.163.63.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.959/2.049/4.154 ms 2025-10-07 16:51:40,473 - INFO - Ping to IP 33.163.63.195 from VM ctest-TestBasicPolicy-39490800-63793173 passed 2025-10-07 16:51:40,646 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5bcb3f3d-116b-458d-a140-196fa9e12d1a", "href": "http://10.0.0.254:8082/network-policy/5bcb3f3d-116b-458d-a140-196fa9e12d1a"}} 2025-10-07 16:51:40,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:51:40,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.163.63.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:51:40,646 - DEBUG - ping -s 56 -c 3 -W 1 33.163.63.195 2025-10-07 16:51:43,868 - DEBUG - PING 33.163.63.195 (33.163.63.195): 56 data bytes --- 33.163.63.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-07 16:51:43,868 - WARNING - Ping to IP 33.163.63.195 from VM ctest-TestBasicPolicy-39490800-63793173 failed 2025-10-07 16:51:43,868 - INFO - Deleting VM ctest-TestBasicPolicy-39490800-72391751 2025-10-07 16:51:43,943 - INFO - Deleting VM ctest-TestBasicPolicy-39490800-63793173 2025-10-07 16:51:44,325 - INFO - Deleted policy ctest-policy-allow-all-92416060 2025-10-07 16:51:44,325 - INFO - Deleting VN ctest-vn-83638284 2025-10-07 16:51:44,364 - DEBUG - VN 138b3158-afc0-4e3d-8b15-5f3e3ffa92a9 still in use: Unable to complete operation on network 138b3158-afc0-4e3d-8b15-5f3e3ffa92a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0723eeb-ec66-4951-8501-e91853e91c77'] 2025-10-07 16:51:44,364 - WARNING - Deleting VN ctest-vn-83638284 failed..Will retry 2025-10-07 16:51:46,478 - DEBUG - Response for deleting network () 2025-10-07 16:51:46,478 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3e14527d-8764-413a-8592-1fe3643273ef 2025-10-07 16:51:46,484 - DEBUG - Response Code: 404 2025-10-07 16:51:46,484 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 16:51:46,490 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c5cc07ef-53b4-4807-908f-62edecbcce18 2025-10-07 16:51:46,543 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c867e7d-ce38-486d-8b06-a3a5526d1da7 2025-10-07 16:51:46,611 - INFO - Validated that VN ctest-vn-83638284 is not found in API Server 2025-10-07 16:51:46,620 - DEBUG - VN ctest-vn-83638284 is not present in Agent 10.0.0.254 2025-10-07 16:51:46,620 - INFO - Validated that VN ctest-vn-83638284 is not in any agent 2025-10-07 16:51:46,632 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83638284 info 2025-10-07 16:51:46,632 - INFO - Deleting VN ctest-vn-54146838 2025-10-07 16:51:46,782 - DEBUG - Response for deleting network () 2025-10-07 16:51:46,782 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/1778216e-b06b-4149-b3c3-8303038e7246 2025-10-07 16:51:46,790 - DEBUG - Response Code: 404 2025-10-07 16:51:46,790 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-07 16:51:46,797 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c5cc07ef-53b4-4807-908f-62edecbcce18 2025-10-07 16:51:46,853 - DEBUG - Requesting: http://10.0.0.254:8082/project/2c867e7d-ce38-486d-8b06-a3a5526d1da7 2025-10-07 16:51:46,922 - INFO - Validated that VN ctest-vn-54146838 is not found in API Server 2025-10-07 16:51:46,931 - DEBUG - VN ctest-vn-54146838 is not present in Agent 10.0.0.254 2025-10-07 16:51:46,931 - INFO - Validated that VN ctest-vn-54146838 is not in any agent 2025-10-07 16:51:46,945 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54146838 info 2025-10-07 16:51:47,199 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 16:51:47,199 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-07 16:51:47,199 - INFO - -------------------------------------------------------------------------------- 2025-10-07 16:51:47,884 - INFO - Deleted project: ctest-TestBasicPolicy-39490800, ID : 2c867e7d-ce38-486d-8b06-a3a5526d1da7