2025-11-04 08:58:27,120 - INFO - Domain Default found not creating 2025-11-04 08:58:27,271 - INFO - Project ctest-TestBasicPolicy-35905322 not found, creating it 2025-11-04 08:58:27,707 - INFO - Created Project:ctest-TestBasicPolicy-35905322, ID : 8b385b97-64ed-4ca4-a2fa-873efc3ba414 2025-11-04 08:58:29,266 - INFO - ================================================================================ 2025-11-04 08:58:29,266 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 08:58:29,266 - 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-11-04 08:58:29,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-04 08:58:29,521 - INFO - Initial checks done. Running the testcase now 2025-11-04 08:58:29,521 - INFO - 2025-11-04 08:58:30,108 - DEBUG - Response for create_network : {'network': {'id': 'bdce8961-27ef-42ef-a4d4-a10def1747ef', 'name': 'ctest-vn-11995220', 'tenant_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'project_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-vn-11995220'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 08:58:30,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a4aaea4-a69d-44db-a99b-c289d51db820', 'name': '', 'tenant_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'network_id': 'bdce8961-27ef-42ef-a4d4-a10def1747ef', 'ip_version': 4, 'cidr': '7.158.142.192/26', 'allocation_pools': [{'start': '7.158.142.194', 'end': '7.158.142.254'}], 'gateway_ip': '7.158.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.158.142.194', 'tags': [], 'project_id': '8b385b9764ed4ca4a2fa873efc3ba414'}} 2025-11-04 08:58:30,355 - INFO - Created VN ctest-vn-11995220 2025-11-04 08:58:30,407 - DEBUG - VN ctest-vn-11995220 UUID is bdce8961-27ef-42ef-a4d4-a10def1747ef 2025-11-04 08:58:30,684 - DEBUG - Response for create_network : {'network': {'id': '22741d30-98d8-40e9-a1d5-70e45d53ca34', 'name': 'ctest-vn-97496766', 'tenant_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'project_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-vn-97496766'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 08:58:30,905 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d47e093-ba5b-4c8b-b590-3c7b65f9dfaa', 'name': '', 'tenant_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'network_id': '22741d30-98d8-40e9-a1d5-70e45d53ca34', 'ip_version': 4, 'cidr': '149.38.64.192/26', 'allocation_pools': [{'start': '149.38.64.194', 'end': '149.38.64.254'}], 'gateway_ip': '149.38.64.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.38.64.194', 'tags': [], 'project_id': '8b385b9764ed4ca4a2fa873efc3ba414'}} 2025-11-04 08:58:30,924 - INFO - Created VN ctest-vn-97496766 2025-11-04 08:58:30,979 - DEBUG - VN ctest-vn-97496766 UUID is 22741d30-98d8-40e9-a1d5-70e45d53ca34 2025-11-04 08:58:31,099 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-11995220, 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-35905322:ctest-vn-97496766, 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-11-04 08:58:31,400 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdce8961-27ef-42ef-a4d4-a10def1747ef', 'name': 'ctest-vn-11995220', 'tenant_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'project_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2a4aaea4-a69d-44db-a99b-c289d51db820'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-vn-11995220'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-policy-allow-all-78284291']], 'subnet_ipam': [{'subnet_cidr': '7.158.142.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 08:58:31,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22741d30-98d8-40e9-a1d5-70e45d53ca34', 'name': 'ctest-vn-97496766', 'tenant_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'project_id': '8b385b9764ed4ca4a2fa873efc3ba414', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3d47e093-ba5b-4c8b-b590-3c7b65f9dfaa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-vn-97496766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-policy-allow-all-78284291']], 'subnet_ipam': [{'subnet_cidr': '149.38.64.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 08:58:31,803 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-04 08:58:32,142 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-04 08:58:32,173 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6f075c9-7c74-4650-9969-b3f1bf15d236 2025-11-04 08:58:32,186 - DEBUG - Requesting: http://10.0.0.48:8082/project/8b385b97-64ed-4ca4-a2fa-873efc3ba414 2025-11-04 08:58:32,258 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/bdce8961-27ef-42ef-a4d4-a10def1747ef 2025-11-04 08:58:32,272 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/bdce8961-27ef-42ef-a4d4-a10def1747ef 2025-11-04 08:58:32,283 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f26cb9b7-87d9-42c0-9542-84bb16eeabfd 2025-11-04 08:58:32,291 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f26cb9b7-87d9-42c0-9542-84bb16eeabfd 2025-11-04 08:58:32,298 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a5167fef-f7b1-4354-89f6-31a629abb4b2 2025-11-04 08:58:32,304 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 08:58:32,304 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/bdce8961-27ef-42ef-a4d4-a10def1747ef 2025-11-04 08:58:32,313 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f26cb9b7-87d9-42c0-9542-84bb16eeabfd 2025-11-04 08:58:32,327 - INFO - Verified VN network id 11 for VN bdce8961-27ef-42ef-a4d4-a10def1747ef 2025-11-04 08:58:32,327 - INFO - Verifications in API Server for VN ctest-vn-11995220 passed 2025-11-04 08:58:32,328 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/bdce8961-27ef-42ef-a4d4-a10def1747ef 2025-11-04 08:58:32,337 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f26cb9b7-87d9-42c0-9542-84bb16eeabfd 2025-11-04 08:58:32,343 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f26cb9b7-87d9-42c0-9542-84bb16eeabfd 2025-11-04 08:58:32,349 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a5167fef-f7b1-4354-89f6-31a629abb4b2 2025-11-04 08:58:32,361 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-11995220', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35905322', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13677020168745599727', 'uuid-lslong': '11877295198500767727'}, 'enable': 'true', 'created': '2025-11-04T08:58:30', 'last-modified': '2025-11-04T08:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986037'} 2025-11-04 08:58:32,367 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 08:58:32,368 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11995220 passed 2025-11-04 08:58:32,368 - DEBUG - ====Verifying policy data for ctest-vn-11995220 in API_Server ====== 2025-11-04 08:58:32,368 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-04 08:58:32,373 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6f075c9-7c74-4650-9969-b3f1bf15d236 2025-11-04 08:58:32,383 - DEBUG - Requesting: http://10.0.0.48:8082/project/8b385b97-64ed-4ca4-a2fa-873efc3ba414 2025-11-04 08:58:32,456 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/bdce8961-27ef-42ef-a4d4-a10def1747ef 2025-11-04 08:58:32,466 - DEBUG - ==>Verifying data for policy with id: b0c3ac48-6bee-417b-b6c5-0834f28285cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-policy-allow-all-78284291'] 2025-11-04 08:58:32,466 - INFO - VN ctest-vn-11995220 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 08:58:32,466 - DEBUG - Verifying the vn in opserver 2025-11-04 08:58:32,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-11995220 virtual network link through opserver 10.0.0.48 2025-11-04 08:58:32,466 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-04 08:58:32,797 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-04 08:58:32,848 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-11995220', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-11995220?flat'} 2025-11-04 08:58:32,848 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-11995220 is found in opserver 2025-11-04 08:58:32,858 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 08:58:32,862 - DEBUG - VRF ids for VN ctest-vn-11995220: {} 2025-11-04 08:58:32,862 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-04 08:58:32,867 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6f075c9-7c74-4650-9969-b3f1bf15d236 2025-11-04 08:58:32,877 - DEBUG - Requesting: http://10.0.0.48:8082/project/8b385b97-64ed-4ca4-a2fa-873efc3ba414 2025-11-04 08:58:32,945 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/22741d30-98d8-40e9-a1d5-70e45d53ca34 2025-11-04 08:58:32,957 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/22741d30-98d8-40e9-a1d5-70e45d53ca34 2025-11-04 08:58:32,968 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ba366c0f-7022-4592-8f15-5cc46bcce6f2 2025-11-04 08:58:32,976 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ba366c0f-7022-4592-8f15-5cc46bcce6f2 2025-11-04 08:58:32,982 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/e44fb000-3f64-4d30-a22d-5283d58c754d 2025-11-04 08:58:32,988 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 08:58:32,988 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/22741d30-98d8-40e9-a1d5-70e45d53ca34 2025-11-04 08:58:32,995 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ba366c0f-7022-4592-8f15-5cc46bcce6f2 2025-11-04 08:58:33,008 - INFO - Verified VN network id 12 for VN 22741d30-98d8-40e9-a1d5-70e45d53ca34 2025-11-04 08:58:33,009 - INFO - Verifications in API Server for VN ctest-vn-97496766 passed 2025-11-04 08:58:33,009 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/22741d30-98d8-40e9-a1d5-70e45d53ca34 2025-11-04 08:58:33,017 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ba366c0f-7022-4592-8f15-5cc46bcce6f2 2025-11-04 08:58:33,023 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ba366c0f-7022-4592-8f15-5cc46bcce6f2 2025-11-04 08:58:33,028 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/e44fb000-3f64-4d30-a22d-5283d58c754d 2025-11-04 08:58:33,039 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-97496766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35905322', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2482641389147930857', 'uuid-lslong': '11661350936266394164'}, 'enable': 'true', 'created': '2025-11-04T08:58:30', 'last-modified': '2025-11-04T08:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432553'} 2025-11-04 08:58:33,044 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 08:58:33,044 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97496766 passed 2025-11-04 08:58:33,044 - DEBUG - ====Verifying policy data for ctest-vn-97496766 in API_Server ====== 2025-11-04 08:58:33,044 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-04 08:58:33,049 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6f075c9-7c74-4650-9969-b3f1bf15d236 2025-11-04 08:58:33,060 - DEBUG - Requesting: http://10.0.0.48:8082/project/8b385b97-64ed-4ca4-a2fa-873efc3ba414 2025-11-04 08:58:33,128 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/22741d30-98d8-40e9-a1d5-70e45d53ca34 2025-11-04 08:58:33,137 - DEBUG - ==>Verifying data for policy with id: b0c3ac48-6bee-417b-b6c5-0834f28285cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-35905322', 'ctest-policy-allow-all-78284291'] 2025-11-04 08:58:33,137 - INFO - VN ctest-vn-97496766 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 08:58:33,137 - DEBUG - Verifying the vn in opserver 2025-11-04 08:58:33,137 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-97496766 virtual network link through opserver 10.0.0.48 2025-11-04 08:58:33,137 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-11-04 08:58:33,146 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-97496766', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-97496766?flat'} 2025-11-04 08:58:33,146 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-97496766 is found in opserver 2025-11-04 08:58:33,155 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 08:58:33,159 - DEBUG - VRF ids for VN ctest-vn-97496766: {} 2025-11-04 08:58:33,213 - DEBUG - Services list from nova: [, , ] 2025-11-04 08:58:34,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4615-1) 2025-11-04 08:58:35,588 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4615-1) 2025-11-04 08:58:35,588 - INFO - Waiting for VM ctest-TestBasicPolicy-35905322-67814447 to be up.. 2025-11-04 08:58:35,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 08:58:40,751 - DEBUG - VM is in ACTIVE state now 2025-11-04 08:58:40,751 - INFO - VM name : ctest-TestBasicPolicy-35905322-67814447 2025-11-04 08:58:40,823 - DEBUG - VM ctest-TestBasicPolicy-35905322-67814447 ID is 9ce2614a-fbad-451c-976d-3c41118b4d61 2025-11-04 08:58:40,842 - DEBUG - VM ctest-TestBasicPolicy-35905322-67814447 launched on Node cn-jenkins-deploy-platform-ansible-os-4615-1 2025-11-04 08:58:40,912 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9ce2614a-fbad-451c-976d-3c41118b4d61 2025-11-04 08:58:40,920 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/009d9994-c1e9-439d-8e99-035899d3402f 2025-11-04 08:58:44,156 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-11-04 08:58:44,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35905322-67814447 failed! 2025-11-04 08:58:44,211 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35905322:ctest-vn-11995220 is 7.158.142.193 and allocation pool is NOT set 2025-11-04 08:58:46,267 - 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=7.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/3.747/7.066/3.318 ms') 2025-11-04 08:58:46,267 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35905322-67814447 passed 2025-11-04 08:58:46,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 08:58:46,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35905322-67814447, IP 7.158.142.195, Port 22 2025-11-04 08:58:46,587 - DEBUG - VM ctest-TestBasicPolicy-35905322-67814447 is ready for SSH connections 2025-11-04 08:58:46,587 - INFO - Waiting for VM ctest-TestBasicPolicy-35905322-04117086 to be up.. 2025-11-04 08:58:46,673 - DEBUG - VM is in ACTIVE state now 2025-11-04 08:58:46,674 - INFO - VM name : ctest-TestBasicPolicy-35905322-04117086 2025-11-04 08:58:46,762 - DEBUG - VM ctest-TestBasicPolicy-35905322-04117086 ID is 8d39d909-659c-453d-a57e-9472b5e3fe9c 2025-11-04 08:58:46,762 - DEBUG - VM ctest-TestBasicPolicy-35905322-04117086 launched on Node cn-jenkins-deploy-platform-ansible-os-4615-1 2025-11-04 08:58:46,839 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/8d39d909-659c-453d-a57e-9472b5e3fe9c 2025-11-04 08:58:46,849 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/b6110388-205a-403f-b36e-b26de10de9fe 2025-11-04 08:58:48,093 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.959 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 = 0.959/2.781/4.603/1.822 ms') 2025-11-04 08:58:48,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35905322-04117086 passed 2025-11-04 08:58:48,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 08:58:48,243 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35905322-04117086, IP 149.38.64.195, Port 22 2025-11-04 08:58:48,398 - DEBUG - VM ctest-TestBasicPolicy-35905322-04117086 is ready for SSH connections 2025-11-04 08:58:48,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 08:58:48,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.38.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-04 08:58:48,399 - DEBUG - ping -s 56 -c 3 -W 1 149.38.64.195 2025-11-04 08:58:52,521 - DEBUG - PING 149.38.64.195 (149.38.64.195): 56 data bytes 64 bytes from 149.38.64.195: seq=0 ttl=63 time=4.723 ms 64 bytes from 149.38.64.195: seq=1 ttl=63 time=0.954 ms 64 bytes from 149.38.64.195: seq=2 ttl=63 time=0.943 ms --- 149.38.64.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.943/2.206/4.723 ms 2025-11-04 08:58:52,522 - INFO - Ping to IP 149.38.64.195 from VM ctest-TestBasicPolicy-35905322-67814447 passed 2025-11-04 08:58:52,702 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b0c3ac48-6bee-417b-b6c5-0834f28285cf", "href": "http://10.0.0.48:8082/network-policy/b0c3ac48-6bee-417b-b6c5-0834f28285cf"}} 2025-11-04 08:58:52,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 08:58:52,703 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.38.64.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-04 08:58:52,703 - DEBUG - ping -s 56 -c 3 -W 1 149.38.64.195 2025-11-04 08:58:55,942 - DEBUG - PING 149.38.64.195 (149.38.64.195): 56 data bytes --- 149.38.64.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-04 08:58:55,942 - WARNING - Ping to IP 149.38.64.195 from VM ctest-TestBasicPolicy-35905322-67814447 failed 2025-11-04 08:58:55,942 - INFO - Deleting VM ctest-TestBasicPolicy-35905322-04117086 2025-11-04 08:58:56,014 - INFO - Deleting VM ctest-TestBasicPolicy-35905322-67814447 2025-11-04 08:58:56,382 - INFO - Deleted policy ctest-policy-allow-all-78284291 2025-11-04 08:58:56,382 - INFO - Deleting VN ctest-vn-97496766 2025-11-04 08:58:56,414 - DEBUG - VN 22741d30-98d8-40e9-a1d5-70e45d53ca34 still in use: Unable to complete operation on network 22741d30-98d8-40e9-a1d5-70e45d53ca34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e45a8b1d-dee0-427b-a85d-71d89f1ce2f2'] 2025-11-04 08:58:56,414 - WARNING - Deleting VN ctest-vn-97496766 failed..Will retry 2025-11-04 08:58:58,528 - DEBUG - Response for deleting network () 2025-11-04 08:58:58,528 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ba366c0f-7022-4592-8f15-5cc46bcce6f2 2025-11-04 08:58:58,535 - DEBUG - Response Code: 404 2025-11-04 08:58:58,536 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-04 08:58:58,542 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6f075c9-7c74-4650-9969-b3f1bf15d236 2025-11-04 08:58:58,597 - DEBUG - Requesting: http://10.0.0.48:8082/project/8b385b97-64ed-4ca4-a2fa-873efc3ba414 2025-11-04 08:58:58,672 - INFO - Validated that VN ctest-vn-97496766 is not found in API Server 2025-11-04 08:58:58,682 - DEBUG - VN ctest-vn-97496766 is not present in Agent 10.0.0.48 2025-11-04 08:58:58,682 - INFO - Validated that VN ctest-vn-97496766 is not in any agent 2025-11-04 08:58:58,695 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97496766 info 2025-11-04 08:58:58,696 - INFO - Deleting VN ctest-vn-11995220 2025-11-04 08:58:58,793 - DEBUG - Response for deleting network () 2025-11-04 08:58:58,794 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f26cb9b7-87d9-42c0-9542-84bb16eeabfd 2025-11-04 08:58:58,802 - DEBUG - Response Code: 404 2025-11-04 08:58:58,803 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-11-04 08:58:58,808 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d6f075c9-7c74-4650-9969-b3f1bf15d236 2025-11-04 08:58:58,860 - DEBUG - Requesting: http://10.0.0.48:8082/project/8b385b97-64ed-4ca4-a2fa-873efc3ba414 2025-11-04 08:58:58,934 - INFO - Validated that VN ctest-vn-11995220 is not found in API Server 2025-11-04 08:58:58,945 - DEBUG - VN ctest-vn-11995220 is not present in Agent 10.0.0.48 2025-11-04 08:58:58,945 - INFO - Validated that VN ctest-vn-11995220 is not in any agent 2025-11-04 08:58:58,958 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11995220 info 2025-11-04 08:58:59,217 - DEBUG - No XMPP flaps were noticed during the test 2025-11-04 08:58:59,217 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-04 08:58:59,217 - INFO - -------------------------------------------------------------------------------- 2025-11-04 08:58:59,962 - INFO - Deleted project: ctest-TestBasicPolicy-35905322, ID : 8b385b97-64ed-4ca4-a2fa-873efc3ba414