2025-12-10 17:06:32,338 - INFO - Domain Default found not creating 2025-12-10 17:06:32,489 - INFO - Project ctest-TestBasicPolicy-96329241 not found, creating it 2025-12-10 17:06:32,931 - INFO - Created Project:ctest-TestBasicPolicy-96329241, ID : 3af79930-33ae-40de-bb82-92b1e229f19e 2025-12-10 17:06:34,392 - INFO - ================================================================================ 2025-12-10 17:06:34,392 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-10 17:06:34,392 - 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-12-10 17:06:34,650 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with 2025-12-10 17:06:34,650 - INFO - Initial checks done. Running the testcase now 2025-12-10 17:06:34,650 - INFO - 2025-12-10 17:06:35,216 - DEBUG - Response for create_network : {'network': {'id': '829c4eaa-8a5b-4664-bd03-e11b057f43e8', 'name': 'ctest-vn-62416418', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-62416418'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:06:35,403 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e95fb8e4-a723-434f-9d93-5bcdbb138a3c', 'name': '', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'network_id': '829c4eaa-8a5b-4664-bd03-e11b057f43e8', 'ip_version': 4, 'cidr': '97.217.61.0/26', 'allocation_pools': [{'start': '97.217.61.2', 'end': '97.217.61.62'}], 'gateway_ip': '97.217.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.217.61.2', 'tags': [], 'project_id': '3af7993033ae40debb8292b1e229f19e'}} 2025-12-10 17:06:35,422 - INFO - Created VN ctest-vn-62416418 2025-12-10 17:06:35,476 - DEBUG - VN ctest-vn-62416418 UUID is 829c4eaa-8a5b-4664-bd03-e11b057f43e8 2025-12-10 17:06:35,759 - DEBUG - Response for create_network : {'network': {'id': '327c9148-abce-4674-9cad-8d548ea074c4', 'name': 'ctest-vn-81349130', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-81349130'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:06:35,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b99f7a0b-27a3-4711-b02e-246ee443f6ef', 'name': '', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'network_id': '327c9148-abce-4674-9cad-8d548ea074c4', 'ip_version': 4, 'cidr': '132.79.191.64/26', 'allocation_pools': [{'start': '132.79.191.66', 'end': '132.79.191.126'}], 'gateway_ip': '132.79.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.79.191.66', 'tags': [], 'project_id': '3af7993033ae40debb8292b1e229f19e'}} 2025-12-10 17:06:35,959 - INFO - Created VN ctest-vn-81349130 2025-12-10 17:06:36,012 - DEBUG - VN ctest-vn-81349130 UUID is 327c9148-abce-4674-9cad-8d548ea074c4 2025-12-10 17:06:36,124 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418, 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-96329241:ctest-vn-81349130, 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-12-10 17:06:36,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '829c4eaa-8a5b-4664-bd03-e11b057f43e8', 'name': 'ctest-vn-62416418', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e95fb8e4-a723-434f-9d93-5bcdbb138a3c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-62416418'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097']], 'subnet_ipam': [{'subnet_cidr': '97.217.61.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:06:36,644 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '327c9148-abce-4674-9cad-8d548ea074c4', 'name': 'ctest-vn-81349130', 'tenant_id': '3af7993033ae40debb8292b1e229f19e', 'project_id': '3af7993033ae40debb8292b1e229f19e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b99f7a0b-27a3-4711-b02e-246ee443f6ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-vn-81349130'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097']], 'subnet_ipam': [{'subnet_cidr': '132.79.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 17:06:36,780 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-10 17:06:37,078 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-10 17:06:37,107 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9 2025-12-10 17:06:37,118 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e 2025-12-10 17:06:37,187 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8 2025-12-10 17:06:37,197 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8 2025-12-10 17:06:37,206 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b 2025-12-10 17:06:37,212 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b 2025-12-10 17:06:37,219 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c39d0ca6-3871-4a1c-805d-f3800e3a6a62 2025-12-10 17:06:37,225 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 17:06:37,225 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8 2025-12-10 17:06:37,234 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b 2025-12-10 17:06:37,246 - INFO - Verified VN network id 11 for VN 829c4eaa-8a5b-4664-bd03-e11b057f43e8 2025-12-10 17:06:37,246 - INFO - Verifications in API Server for VN ctest-vn-62416418 passed 2025-12-10 17:06:37,246 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8 2025-12-10 17:06:37,255 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b 2025-12-10 17:06:37,262 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b 2025-12-10 17:06:37,269 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c39d0ca6-3871-4a1c-805d-f3800e3a6a62 2025-12-10 17:06:37,281 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96329241', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9411483815670138468', 'uuid-lslong': '13619977204271105000'}, 'enable': 'true', 'created': '2025-12-10T17:06:35', 'last-modified': '2025-12-10T17:06:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887212'} 2025-12-10 17:06:37,289 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 17:06:37,289 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62416418 passed 2025-12-10 17:06:37,289 - DEBUG - ====Verifying policy data for ctest-vn-62416418 in API_Server ====== 2025-12-10 17:06:37,289 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-10 17:06:37,295 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9 2025-12-10 17:06:37,305 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e 2025-12-10 17:06:37,370 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/829c4eaa-8a5b-4664-bd03-e11b057f43e8 2025-12-10 17:06:37,380 - DEBUG - ==>Verifying data for policy with id: db2b0013-1bea-4e01-ba72-b566275a4fe8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097'] 2025-12-10 17:06:37,380 - INFO - VN ctest-vn-62416418 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 17:06:37,380 - DEBUG - Verifying the vn in opserver 2025-12-10 17:06:37,380 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418 virtual network link through opserver 10.0.0.41 2025-12-10 17:06:37,380 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-12-10 17:06:37,673 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-12-10 17:06:37,727 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418?flat'} 2025-12-10 17:06:37,727 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418 is found in opserver 2025-12-10 17:06:37,736 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 17:06:37,741 - DEBUG - VRF ids for VN ctest-vn-62416418: {} 2025-12-10 17:06:37,741 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-10 17:06:37,745 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9 2025-12-10 17:06:37,755 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e 2025-12-10 17:06:37,825 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4 2025-12-10 17:06:37,835 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4 2025-12-10 17:06:37,843 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98 2025-12-10 17:06:37,850 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98 2025-12-10 17:06:37,856 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/cf520090-c7da-4f88-8cc2-7064ae2bcc21 2025-12-10 17:06:37,861 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 17:06:37,861 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4 2025-12-10 17:06:37,869 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98 2025-12-10 17:06:37,880 - INFO - Verified VN network id 12 for VN 327c9148-abce-4674-9cad-8d548ea074c4 2025-12-10 17:06:37,880 - INFO - Verifications in API Server for VN ctest-vn-81349130 passed 2025-12-10 17:06:37,881 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4 2025-12-10 17:06:37,889 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98 2025-12-10 17:06:37,895 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98 2025-12-10 17:06:37,902 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/cf520090-c7da-4f88-8cc2-7064ae2bcc21 2025-12-10 17:06:37,913 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96329241', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3637942340314613364', 'uuid-lslong': '11289835235197351108'}, 'enable': 'true', 'created': '2025-12-10T17:06:35', 'last-modified': '2025-12-10T17:06:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297611'} 2025-12-10 17:06:37,919 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 17:06:37,919 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81349130 passed 2025-12-10 17:06:37,919 - DEBUG - ====Verifying policy data for ctest-vn-81349130 in API_Server ====== 2025-12-10 17:06:37,919 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-10 17:06:37,925 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9 2025-12-10 17:06:37,935 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e 2025-12-10 17:06:38,008 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/327c9148-abce-4674-9cad-8d548ea074c4 2025-12-10 17:06:38,018 - DEBUG - ==>Verifying data for policy with id: db2b0013-1bea-4e01-ba72-b566275a4fe8, fqn: ['default-domain', 'ctest-TestBasicPolicy-96329241', 'ctest-policy-allow-all-63182097'] 2025-12-10 17:06:38,018 - INFO - VN ctest-vn-81349130 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 17:06:38,018 - DEBUG - Verifying the vn in opserver 2025-12-10 17:06:38,018 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130 virtual network link through opserver 10.0.0.41 2025-12-10 17:06:38,019 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-12-10 17:06:38,030 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130?flat'} 2025-12-10 17:06:38,030 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-81349130 is found in opserver 2025-12-10 17:06:38,040 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 17:06:38,044 - DEBUG - VRF ids for VN ctest-vn-81349130: {} 2025-12-10 17:06:38,098 - DEBUG - Services list from nova: [, , ] 2025-12-10 17:06:39,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4877-1) 2025-12-10 17:06:40,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4877-1) 2025-12-10 17:06:40,261 - INFO - Waiting for VM ctest-TestBasicPolicy-96329241-96441823 to be up.. 2025-12-10 17:06:40,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 17:06:45,420 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:06:45,421 - INFO - VM name : ctest-TestBasicPolicy-96329241-96441823 2025-12-10 17:06:45,497 - DEBUG - VM ctest-TestBasicPolicy-96329241-96441823 ID is eb621800-a56c-4935-92a0-e890dbc826bf 2025-12-10 17:06:45,517 - DEBUG - VM ctest-TestBasicPolicy-96329241-96441823 launched on Node cn-jenkins-deploy-platform-ansible-os-4877-1 2025-12-10 17:06:45,588 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/eb621800-a56c-4935-92a0-e890dbc826bf 2025-12-10 17:06:45,596 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/03488d91-8984-4df2-afe6-9593b32086a6 2025-12-10 17:06:48,862 - 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 1019ms') 2025-12-10 17:06:48,862 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96329241-96441823 failed! 2025-12-10 17:06:48,920 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96329241:ctest-vn-62416418 is 97.217.61.1 and allocation pool is NOT set 2025-12-10 17:06:50,989 - 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=15.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.530 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.530/8.019/15.509/7.489 ms') 2025-12-10 17:06:50,989 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96329241-96441823 passed 2025-12-10 17:06:51,136 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:51,136 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96329241-96441823, IP 97.217.61.3, Port 22 2025-12-10 17:06:51,291 - DEBUG - VM ctest-TestBasicPolicy-96329241-96441823 is ready for SSH connections 2025-12-10 17:06:51,291 - INFO - Waiting for VM ctest-TestBasicPolicy-96329241-38329545 to be up.. 2025-12-10 17:06:51,372 - DEBUG - VM is in ACTIVE state now 2025-12-10 17:06:51,372 - INFO - VM name : ctest-TestBasicPolicy-96329241-38329545 2025-12-10 17:06:51,445 - DEBUG - VM ctest-TestBasicPolicy-96329241-38329545 ID is 34a7eaf0-8858-4c81-ae38-5970885289a8 2025-12-10 17:06:51,445 - DEBUG - VM ctest-TestBasicPolicy-96329241-38329545 launched on Node cn-jenkins-deploy-platform-ansible-os-4877-1 2025-12-10 17:06:51,514 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/34a7eaf0-8858-4c81-ae38-5970885289a8 2025-12-10 17:06:51,522 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/bcbee688-a521-4de4-bad7-12d40dc66ab6 2025-12-10 17:06:52,760 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.898 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.898/2.272/3.646/1.374 ms') 2025-12-10 17:06:52,761 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96329241-38329545 passed 2025-12-10 17:06:52,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:52,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96329241-38329545, IP 132.79.191.67, Port 22 2025-12-10 17:06:53,067 - DEBUG - VM ctest-TestBasicPolicy-96329241-38329545 is ready for SSH connections 2025-12-10 17:06:53,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:53,067 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.79.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-12-10 17:06:53,067 - DEBUG - ping -s 56 -c 3 -W 1 132.79.191.67 2025-12-10 17:06:57,113 - DEBUG - PING 132.79.191.67 (132.79.191.67): 56 data bytes 64 bytes from 132.79.191.67: seq=0 ttl=63 time=3.852 ms 64 bytes from 132.79.191.67: seq=1 ttl=63 time=0.886 ms 64 bytes from 132.79.191.67: seq=2 ttl=63 time=0.911 ms --- 132.79.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.886/1.883/3.852 ms 2025-12-10 17:06:57,114 - INFO - Ping to IP 132.79.191.67 from VM ctest-TestBasicPolicy-96329241-96441823 passed 2025-12-10 17:06:57,284 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db2b0013-1bea-4e01-ba72-b566275a4fe8", "href": "http://10.0.0.41:8082/network-policy/db2b0013-1bea-4e01-ba72-b566275a4fe8"}} 2025-12-10 17:06:57,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 17:06:57,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.79.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-12-10 17:06:57,284 - DEBUG - ping -s 56 -c 3 -W 1 132.79.191.67 2025-12-10 17:07:00,488 - DEBUG - PING 132.79.191.67 (132.79.191.67): 56 data bytes --- 132.79.191.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-10 17:07:00,488 - WARNING - Ping to IP 132.79.191.67 from VM ctest-TestBasicPolicy-96329241-96441823 failed 2025-12-10 17:07:00,488 - INFO - Deleting VM ctest-TestBasicPolicy-96329241-38329545 2025-12-10 17:07:00,553 - INFO - Deleting VM ctest-TestBasicPolicy-96329241-96441823 2025-12-10 17:07:00,908 - INFO - Deleted policy ctest-policy-allow-all-63182097 2025-12-10 17:07:00,908 - INFO - Deleting VN ctest-vn-81349130 2025-12-10 17:07:00,941 - DEBUG - VN 327c9148-abce-4674-9cad-8d548ea074c4 still in use: Unable to complete operation on network 327c9148-abce-4674-9cad-8d548ea074c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb1c676c-49c6-4400-a111-30c5ed76ed9e'] 2025-12-10 17:07:00,941 - WARNING - Deleting VN ctest-vn-81349130 failed..Will retry 2025-12-10 17:07:03,037 - DEBUG - Response for deleting network () 2025-12-10 17:07:03,038 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/893442e2-d220-498c-88a6-5146b3d5da98 2025-12-10 17:07:03,042 - DEBUG - Response Code: 404 2025-12-10 17:07:03,043 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-10 17:07:03,047 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9 2025-12-10 17:07:03,101 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e 2025-12-10 17:07:03,170 - INFO - Validated that VN ctest-vn-81349130 is not found in API Server 2025-12-10 17:07:03,180 - DEBUG - VN ctest-vn-81349130 is not present in Agent 10.0.0.41 2025-12-10 17:07:03,180 - INFO - Validated that VN ctest-vn-81349130 is not in any agent 2025-12-10 17:07:03,193 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81349130 info 2025-12-10 17:07:03,193 - INFO - Deleting VN ctest-vn-62416418 2025-12-10 17:07:03,292 - DEBUG - Response for deleting network () 2025-12-10 17:07:03,292 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/1ec533f3-84a5-41cf-bb34-53530324d36b 2025-12-10 17:07:03,297 - DEBUG - Response Code: 404 2025-12-10 17:07:03,297 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-12-10 17:07:03,303 - DEBUG - Requesting: http://10.0.0.41:8082/domain/3442661e-287c-4b37-bca3-67be7280b8c9 2025-12-10 17:07:03,357 - DEBUG - Requesting: http://10.0.0.41:8082/project/3af79930-33ae-40de-bb82-92b1e229f19e 2025-12-10 17:07:03,433 - INFO - Validated that VN ctest-vn-62416418 is not found in API Server 2025-12-10 17:07:03,442 - DEBUG - VN ctest-vn-62416418 is not present in Agent 10.0.0.41 2025-12-10 17:07:03,442 - INFO - Validated that VN ctest-vn-62416418 is not in any agent 2025-12-10 17:07:03,457 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62416418 info 2025-12-10 17:07:03,713 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:07:03,713 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-12-10 17:07:03,713 - INFO - -------------------------------------------------------------------------------- 2025-12-10 17:07:04,393 - INFO - Deleted project: ctest-TestBasicPolicy-96329241, ID : 3af79930-33ae-40de-bb82-92b1e229f19e