2025-09-04 14:33:37,427 - INFO - Domain Default found not creating 2025-09-04 14:33:37,554 - INFO - Project ctest-TestBasicPolicy-19169808 not found, creating it 2025-09-04 14:33:37,959 - INFO - Created Project:ctest-TestBasicPolicy-19169808, ID : b91e9cef-d548-451e-988c-c956c1fab789 2025-09-04 14:33:39,279 - INFO - ================================================================================ 2025-09-04 14:33:39,279 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-04 14:33:39,279 - 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-09-04 14:33:39,529 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 14:33:39,529 - INFO - Initial checks done. Running the testcase now 2025-09-04 14:33:39,529 - INFO - 2025-09-04 14:33:40,039 - DEBUG - Response for create_network : {'network': {'id': '05da0995-e5e3-449b-8331-4c9e18ffb068', 'name': 'ctest-vn-30549505', 'tenant_id': 'b91e9cefd548451e988cc956c1fab789', 'project_id': 'b91e9cefd548451e988cc956c1fab789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-vn-30549505'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:33:40,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c76f9c2-6507-4603-9e40-24260d79f030', 'name': '', 'tenant_id': 'b91e9cefd548451e988cc956c1fab789', 'network_id': '05da0995-e5e3-449b-8331-4c9e18ffb068', 'ip_version': 4, 'cidr': '79.196.59.64/26', 'allocation_pools': [{'start': '79.196.59.66', 'end': '79.196.59.126'}], 'gateway_ip': '79.196.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.196.59.66', 'tags': [], 'project_id': 'b91e9cefd548451e988cc956c1fab789'}} 2025-09-04 14:33:40,265 - INFO - Created VN ctest-vn-30549505 2025-09-04 14:33:40,317 - DEBUG - VN ctest-vn-30549505 UUID is 05da0995-e5e3-449b-8331-4c9e18ffb068 2025-09-04 14:33:40,616 - DEBUG - Response for create_network : {'network': {'id': '662ec43c-8613-4b42-b639-b9d504b1b870', 'name': 'ctest-vn-66435584', 'tenant_id': 'b91e9cefd548451e988cc956c1fab789', 'project_id': 'b91e9cefd548451e988cc956c1fab789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-vn-66435584'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:33:40,777 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbb05eb5-956a-4294-bdc9-2407006f5b7a', 'name': '', 'tenant_id': 'b91e9cefd548451e988cc956c1fab789', 'network_id': '662ec43c-8613-4b42-b639-b9d504b1b870', 'ip_version': 4, 'cidr': '19.228.221.0/26', 'allocation_pools': [{'start': '19.228.221.2', 'end': '19.228.221.62'}], 'gateway_ip': '19.228.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.228.221.2', 'tags': [], 'project_id': 'b91e9cefd548451e988cc956c1fab789'}} 2025-09-04 14:33:40,794 - INFO - Created VN ctest-vn-66435584 2025-09-04 14:33:40,845 - DEBUG - VN ctest-vn-66435584 UUID is 662ec43c-8613-4b42-b639-b9d504b1b870 2025-09-04 14:33:40,985 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-30549505, 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-19169808:ctest-vn-66435584, 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-09-04 14:33:41,255 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '05da0995-e5e3-449b-8331-4c9e18ffb068', 'name': 'ctest-vn-30549505', 'tenant_id': 'b91e9cefd548451e988cc956c1fab789', 'project_id': 'b91e9cefd548451e988cc956c1fab789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3c76f9c2-6507-4603-9e40-24260d79f030'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-vn-30549505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-policy-allow-all-94862567']], 'subnet_ipam': [{'subnet_cidr': '79.196.59.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:33:41,467 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '662ec43c-8613-4b42-b639-b9d504b1b870', 'name': 'ctest-vn-66435584', 'tenant_id': 'b91e9cefd548451e988cc956c1fab789', 'project_id': 'b91e9cefd548451e988cc956c1fab789', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbb05eb5-956a-4294-bdc9-2407006f5b7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-vn-66435584'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-policy-allow-all-94862567']], 'subnet_ipam': [{'subnet_cidr': '19.228.221.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-04 14:33:41,633 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-04 14:33:41,932 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-04 14:33:41,956 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7252870a-c484-4179-aeef-2d8a0b94dd84 2025-09-04 14:33:41,967 - DEBUG - Requesting: http://10.0.0.22:8082/project/b91e9cef-d548-451e-988c-c956c1fab789 2025-09-04 14:33:42,032 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/05da0995-e5e3-449b-8331-4c9e18ffb068 2025-09-04 14:33:42,040 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/05da0995-e5e3-449b-8331-4c9e18ffb068 2025-09-04 14:33:42,048 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f28a9fdf-6f34-4d84-b851-73050d054f82 2025-09-04 14:33:42,053 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f28a9fdf-6f34-4d84-b851-73050d054f82 2025-09-04 14:33:42,058 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5b175068-0a09-4f7e-88eb-cf2837df583e 2025-09-04 14:33:42,062 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 14:33:42,062 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/05da0995-e5e3-449b-8331-4c9e18ffb068 2025-09-04 14:33:42,069 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f28a9fdf-6f34-4d84-b851-73050d054f82 2025-09-04 14:33:42,080 - INFO - Verified VN network id 12 for VN 05da0995-e5e3-449b-8331-4c9e18ffb068 2025-09-04 14:33:42,080 - INFO - Verifications in API Server for VN ctest-vn-30549505 passed 2025-09-04 14:33:42,080 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/05da0995-e5e3-449b-8331-4c9e18ffb068 2025-09-04 14:33:42,087 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f28a9fdf-6f34-4d84-b851-73050d054f82 2025-09-04 14:33:42,092 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f28a9fdf-6f34-4d84-b851-73050d054f82 2025-09-04 14:33:42,096 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/5b175068-0a09-4f7e-88eb-cf2837df583e 2025-09-04 14:33:42,105 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-30549505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19169808', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '421660054524216475', 'uuid-lslong': '9453421334735335528'}, 'enable': 'true', 'created': '2025-09-04T14:33:40', 'last-modified': '2025-09-04T14:33:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.870377'} 2025-09-04 14:33:42,110 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-04 14:33:42,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30549505 passed 2025-09-04 14:33:42,110 - DEBUG - ====Verifying policy data for ctest-vn-30549505 in API_Server ====== 2025-09-04 14:33:42,110 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-04 14:33:42,114 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7252870a-c484-4179-aeef-2d8a0b94dd84 2025-09-04 14:33:42,123 - DEBUG - Requesting: http://10.0.0.22:8082/project/b91e9cef-d548-451e-988c-c956c1fab789 2025-09-04 14:33:42,185 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/05da0995-e5e3-449b-8331-4c9e18ffb068 2025-09-04 14:33:42,193 - DEBUG - ==>Verifying data for policy with id: 5c08e904-5ac8-4e1a-b036-a4ffe605565b, fqn: ['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-policy-allow-all-94862567'] 2025-09-04 14:33:42,193 - INFO - VN ctest-vn-30549505 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 14:33:42,193 - DEBUG - Verifying the vn in opserver 2025-09-04 14:33:42,193 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-30549505 virtual network link through opserver 10.0.0.22 2025-09-04 14:33:42,193 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-04 14:33:42,480 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-04 14:33:42,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-30549505', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-30549505?flat'} 2025-09-04 14:33:42,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-30549505 is found in opserver 2025-09-04 14:33:42,535 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 14:33:42,539 - DEBUG - VRF ids for VN ctest-vn-30549505: {} 2025-09-04 14:33:42,539 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-04 14:33:42,544 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7252870a-c484-4179-aeef-2d8a0b94dd84 2025-09-04 14:33:42,553 - DEBUG - Requesting: http://10.0.0.22:8082/project/b91e9cef-d548-451e-988c-c956c1fab789 2025-09-04 14:33:42,619 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/662ec43c-8613-4b42-b639-b9d504b1b870 2025-09-04 14:33:42,629 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/662ec43c-8613-4b42-b639-b9d504b1b870 2025-09-04 14:33:42,637 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/40adbd9f-a071-4166-ab34-7530e26ab489 2025-09-04 14:33:42,643 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/40adbd9f-a071-4166-ab34-7530e26ab489 2025-09-04 14:33:42,649 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c60125fe-e694-43cf-a9bf-ff480063f089 2025-09-04 14:33:42,655 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 14:33:42,655 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/662ec43c-8613-4b42-b639-b9d504b1b870 2025-09-04 14:33:42,663 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/40adbd9f-a071-4166-ab34-7530e26ab489 2025-09-04 14:33:42,673 - INFO - Verified VN network id 13 for VN 662ec43c-8613-4b42-b639-b9d504b1b870 2025-09-04 14:33:42,674 - INFO - Verifications in API Server for VN ctest-vn-66435584 passed 2025-09-04 14:33:42,674 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/662ec43c-8613-4b42-b639-b9d504b1b870 2025-09-04 14:33:42,681 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/40adbd9f-a071-4166-ab34-7530e26ab489 2025-09-04 14:33:42,686 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/40adbd9f-a071-4166-ab34-7530e26ab489 2025-09-04 14:33:42,691 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c60125fe-e694-43cf-a9bf-ff480063f089 2025-09-04 14:33:42,699 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-66435584', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19169808', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7363038205023832898', 'uuid-lslong': '13130730513133320304'}, 'enable': 'true', 'created': '2025-09-04T14:33:40', 'last-modified': '2025-09-04T14:33:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.251666'} 2025-09-04 14:33:42,704 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-04 14:33:42,704 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66435584 passed 2025-09-04 14:33:42,704 - DEBUG - ====Verifying policy data for ctest-vn-66435584 in API_Server ====== 2025-09-04 14:33:42,704 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-04 14:33:42,708 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7252870a-c484-4179-aeef-2d8a0b94dd84 2025-09-04 14:33:42,716 - DEBUG - Requesting: http://10.0.0.22:8082/project/b91e9cef-d548-451e-988c-c956c1fab789 2025-09-04 14:33:42,783 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/662ec43c-8613-4b42-b639-b9d504b1b870 2025-09-04 14:33:42,790 - DEBUG - ==>Verifying data for policy with id: 5c08e904-5ac8-4e1a-b036-a4ffe605565b, fqn: ['default-domain', 'ctest-TestBasicPolicy-19169808', 'ctest-policy-allow-all-94862567'] 2025-09-04 14:33:42,790 - INFO - VN ctest-vn-66435584 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-04 14:33:42,790 - DEBUG - Verifying the vn in opserver 2025-09-04 14:33:42,790 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-66435584 virtual network link through opserver 10.0.0.22 2025-09-04 14:33:42,790 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-04 14:33:42,798 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-66435584', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-66435584?flat'} 2025-09-04 14:33:42,798 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-66435584 is found in opserver 2025-09-04 14:33:42,805 - DEBUG - Do not have enough data to verify VN in agent 2025-09-04 14:33:42,809 - DEBUG - VRF ids for VN ctest-vn-66435584: {} 2025-09-04 14:33:42,857 - DEBUG - Services list from nova: [, , ] 2025-09-04 14:33:43,802 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4015-1) 2025-09-04 14:33:44,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4015-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4015-1) 2025-09-04 14:33:44,819 - INFO - Waiting for VM ctest-TestBasicPolicy-19169808-35538233 to be up.. 2025-09-04 14:33:44,885 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 14:33:49,958 - DEBUG - VM is in ACTIVE state now 2025-09-04 14:33:49,958 - INFO - VM name : ctest-TestBasicPolicy-19169808-35538233 2025-09-04 14:33:50,029 - DEBUG - VM ctest-TestBasicPolicy-19169808-35538233 ID is 70b32701-cf46-4aa2-911f-35ed585086f7 2025-09-04 14:33:50,045 - DEBUG - VM ctest-TestBasicPolicy-19169808-35538233 launched on Node cn-jenkins-deploy-platform-ansible-os-4015-1 2025-09-04 14:33:50,107 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/70b32701-cf46-4aa2-911f-35ed585086f7 2025-09-04 14:33:50,113 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/07385c3c-f365-4dcf-ba32-e5b4a5ff8655 2025-09-04 14:33:53,360 - 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 1015ms') 2025-09-04 14:33:53,361 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19169808-35538233 failed! 2025-09-04 14:33:53,413 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19169808:ctest-vn-30549505 is 79.196.59.65 and allocation pool is NOT set 2025-09-04 14:33:55,469 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/1.548/2.708/1.160 ms') 2025-09-04 14:33:55,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19169808-35538233 passed 2025-09-04 14:33:55,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:33:55,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19169808-35538233, IP 79.196.59.67, Port 22 2025-09-04 14:33:55,768 - DEBUG - VM ctest-TestBasicPolicy-19169808-35538233 is ready for SSH connections 2025-09-04 14:33:55,768 - INFO - Waiting for VM ctest-TestBasicPolicy-19169808-53153615 to be up.. 2025-09-04 14:33:55,834 - DEBUG - VM is in ACTIVE state now 2025-09-04 14:33:55,834 - INFO - VM name : ctest-TestBasicPolicy-19169808-53153615 2025-09-04 14:33:55,893 - DEBUG - VM ctest-TestBasicPolicy-19169808-53153615 ID is 253445ce-2445-4805-a7f0-6e34d8216a73 2025-09-04 14:33:55,893 - DEBUG - VM ctest-TestBasicPolicy-19169808-53153615 launched on Node cn-jenkins-deploy-platform-ansible-os-4015-1 2025-09-04 14:33:55,953 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/253445ce-2445-4805-a7f0-6e34d8216a73 2025-09-04 14:33:55,960 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1cb9e0bc-25d9-4d28-8e3e-3633652266ea 2025-09-04 14:33:57,184 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.772 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.772/2.556/4.341/1.784 ms') 2025-09-04 14:33:57,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19169808-53153615 passed 2025-09-04 14:33:57,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:33:57,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19169808-53153615, IP 19.228.221.3, Port 22 2025-09-04 14:33:57,484 - DEBUG - VM ctest-TestBasicPolicy-19169808-53153615 is ready for SSH connections 2025-09-04 14:33:57,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:33:57,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.228.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 14:33:57,484 - DEBUG - ping -s 56 -c 3 -W 1 19.228.221.3 2025-09-04 14:34:01,174 - DEBUG - PING 19.228.221.3 (19.228.221.3): 56 data bytes 64 bytes from 19.228.221.3: seq=0 ttl=63 time=3.076 ms 64 bytes from 19.228.221.3: seq=1 ttl=63 time=0.699 ms 64 bytes from 19.228.221.3: seq=2 ttl=63 time=0.803 ms --- 19.228.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.526/3.076 ms 2025-09-04 14:34:01,174 - INFO - Ping to IP 19.228.221.3 from VM ctest-TestBasicPolicy-19169808-35538233 passed 2025-09-04 14:34:01,348 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5c08e904-5ac8-4e1a-b036-a4ffe605565b", "href": "http://10.0.0.22:8082/network-policy/5c08e904-5ac8-4e1a-b036-a4ffe605565b"}} 2025-09-04 14:34:01,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 14:34:01,349 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.228.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 14:34:01,349 - DEBUG - ping -s 56 -c 3 -W 1 19.228.221.3 2025-09-04 14:34:04,569 - DEBUG - PING 19.228.221.3 (19.228.221.3): 56 data bytes 64 bytes from 19.228.221.3: seq=0 ttl=63 time=1.313 ms --- 19.228.221.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.313/1.313/1.313 ms 2025-09-04 14:34:04,569 - WARNING - Ping to IP 19.228.221.3 from VM ctest-TestBasicPolicy-19169808-35538233 failed 2025-09-04 14:34:04,569 - INFO - Deleting VM ctest-TestBasicPolicy-19169808-53153615 2025-09-04 14:34:04,629 - INFO - Deleting VM ctest-TestBasicPolicy-19169808-35538233 2025-09-04 14:34:05,003 - INFO - Deleted policy ctest-policy-allow-all-94862567 2025-09-04 14:34:05,003 - INFO - Deleting VN ctest-vn-66435584 2025-09-04 14:34:05,045 - DEBUG - VN 662ec43c-8613-4b42-b639-b9d504b1b870 still in use: Unable to complete operation on network 662ec43c-8613-4b42-b639-b9d504b1b870. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eebadf19-06be-4d3b-b7c6-d5bfe43b6183'] 2025-09-04 14:34:05,045 - WARNING - Deleting VN ctest-vn-66435584 failed..Will retry 2025-09-04 14:34:07,135 - DEBUG - Response for deleting network () 2025-09-04 14:34:07,135 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/40adbd9f-a071-4166-ab34-7530e26ab489 2025-09-04 14:34:07,139 - DEBUG - Response Code: 404 2025-09-04 14:34:07,140 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-04 14:34:07,144 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7252870a-c484-4179-aeef-2d8a0b94dd84 2025-09-04 14:34:07,198 - DEBUG - Requesting: http://10.0.0.22:8082/project/b91e9cef-d548-451e-988c-c956c1fab789 2025-09-04 14:34:07,262 - INFO - Validated that VN ctest-vn-66435584 is not found in API Server 2025-09-04 14:34:07,270 - DEBUG - VN ctest-vn-66435584 is not present in Agent 10.0.0.22 2025-09-04 14:34:07,270 - INFO - Validated that VN ctest-vn-66435584 is not in any agent 2025-09-04 14:34:07,282 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66435584 info 2025-09-04 14:34:07,282 - INFO - Deleting VN ctest-vn-30549505 2025-09-04 14:34:07,366 - DEBUG - Response for deleting network () 2025-09-04 14:34:07,367 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f28a9fdf-6f34-4d84-b851-73050d054f82 2025-09-04 14:34:07,370 - DEBUG - Response Code: 404 2025-09-04 14:34:07,371 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-04 14:34:07,374 - DEBUG - Requesting: http://10.0.0.22:8082/domain/7252870a-c484-4179-aeef-2d8a0b94dd84 2025-09-04 14:34:07,424 - DEBUG - Requesting: http://10.0.0.22:8082/project/b91e9cef-d548-451e-988c-c956c1fab789 2025-09-04 14:34:07,490 - INFO - Validated that VN ctest-vn-30549505 is not found in API Server 2025-09-04 14:34:07,498 - DEBUG - VN ctest-vn-30549505 is not present in Agent 10.0.0.22 2025-09-04 14:34:07,498 - INFO - Validated that VN ctest-vn-30549505 is not in any agent 2025-09-04 14:34:07,509 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30549505 info 2025-09-04 14:34:07,760 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 14:34:07,760 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-09-04 14:34:07,760 - INFO - -------------------------------------------------------------------------------- 2025-09-04 14:34:08,386 - INFO - Deleted project: ctest-TestBasicPolicy-19169808, ID : b91e9cef-d548-451e-988c-c956c1fab789