2025-10-06 01:46:51,391 - INFO - Domain Default found not creating 2025-10-06 01:46:51,524 - INFO - Project ctest-TestBasicPolicy-92820665 not found, creating it 2025-10-06 01:46:51,946 - INFO - Created Project:ctest-TestBasicPolicy-92820665, ID : 89f9c756-d88c-4424-ade1-3b6fdee387be 2025-10-06 01:46:53,271 - INFO - ================================================================================ 2025-10-06 01:46:53,271 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-06 01:46:53,271 - 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-06 01:46:53,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with 2025-10-06 01:46:53,522 - INFO - Initial checks done. Running the testcase now 2025-10-06 01:46:53,522 - INFO - 2025-10-06 01:46:54,032 - DEBUG - Response for create_network : {'network': {'id': '46b47d83-47d4-400b-b3d0-ec8b486a9bc4', 'name': 'ctest-vn-54405217', 'tenant_id': '89f9c756d88c4424ade13b6fdee387be', 'project_id': '89f9c756d88c4424ade13b6fdee387be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-vn-54405217'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:46:54,207 - DEBUG - Response for create_subnet : {'subnet': {'id': '43d22228-b416-4d43-b5e8-7b43fcdf4d3b', 'name': '', 'tenant_id': '89f9c756d88c4424ade13b6fdee387be', 'network_id': '46b47d83-47d4-400b-b3d0-ec8b486a9bc4', 'ip_version': 4, 'cidr': '86.240.69.192/26', 'allocation_pools': [{'start': '86.240.69.194', 'end': '86.240.69.254'}], 'gateway_ip': '86.240.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.240.69.194', 'tags': [], 'project_id': '89f9c756d88c4424ade13b6fdee387be'}} 2025-10-06 01:46:54,228 - INFO - Created VN ctest-vn-54405217 2025-10-06 01:46:54,282 - DEBUG - VN ctest-vn-54405217 UUID is 46b47d83-47d4-400b-b3d0-ec8b486a9bc4 2025-10-06 01:46:54,579 - DEBUG - Response for create_network : {'network': {'id': 'c88e041a-6d87-461b-ba19-aa1dd1c4b630', 'name': 'ctest-vn-22673199', 'tenant_id': '89f9c756d88c4424ade13b6fdee387be', 'project_id': '89f9c756d88c4424ade13b6fdee387be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-vn-22673199'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:46:54,795 - DEBUG - Response for create_subnet : {'subnet': {'id': '618e30df-821b-451d-a06e-8cabc98a57ea', 'name': '', 'tenant_id': '89f9c756d88c4424ade13b6fdee387be', 'network_id': 'c88e041a-6d87-461b-ba19-aa1dd1c4b630', 'ip_version': 4, 'cidr': '192.9.157.64/26', 'allocation_pools': [{'start': '192.9.157.66', 'end': '192.9.157.126'}], 'gateway_ip': '192.9.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.9.157.66', 'tags': [], 'project_id': '89f9c756d88c4424ade13b6fdee387be'}} 2025-10-06 01:46:54,809 - INFO - Created VN ctest-vn-22673199 2025-10-06 01:46:54,858 - DEBUG - VN ctest-vn-22673199 UUID is c88e041a-6d87-461b-ba19-aa1dd1c4b630 2025-10-06 01:46:54,998 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-54405217, 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-92820665:ctest-vn-22673199, 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-06 01:46:55,276 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46b47d83-47d4-400b-b3d0-ec8b486a9bc4', 'name': 'ctest-vn-54405217', 'tenant_id': '89f9c756d88c4424ade13b6fdee387be', 'project_id': '89f9c756d88c4424ade13b6fdee387be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43d22228-b416-4d43-b5e8-7b43fcdf4d3b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-vn-54405217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-policy-allow-all-98002482']], 'subnet_ipam': [{'subnet_cidr': '86.240.69.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:46:55,483 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c88e041a-6d87-461b-ba19-aa1dd1c4b630', 'name': 'ctest-vn-22673199', 'tenant_id': '89f9c756d88c4424ade13b6fdee387be', 'project_id': '89f9c756d88c4424ade13b6fdee387be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['618e30df-821b-451d-a06e-8cabc98a57ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-vn-22673199'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-policy-allow-all-98002482']], 'subnet_ipam': [{'subnet_cidr': '192.9.157.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 01:46:55,634 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-06 01:46:55,923 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-06 01:46:55,948 - DEBUG - Requesting: http://10.0.0.130:8082/domain/fbcd0d6b-1b30-465c-a9a4-10e5a1179752 2025-10-06 01:46:55,957 - DEBUG - Requesting: http://10.0.0.130:8082/project/89f9c756-d88c-4424-ade1-3b6fdee387be 2025-10-06 01:46:56,027 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/46b47d83-47d4-400b-b3d0-ec8b486a9bc4 2025-10-06 01:46:56,036 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/46b47d83-47d4-400b-b3d0-ec8b486a9bc4 2025-10-06 01:46:56,043 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/63e8b9b1-24b1-4455-b5e8-caa7c0552cff 2025-10-06 01:46:56,048 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/63e8b9b1-24b1-4455-b5e8-caa7c0552cff 2025-10-06 01:46:56,053 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/bcbffa28-2a67-4543-aeb5-2b2181bfc978 2025-10-06 01:46:56,057 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 01:46:56,057 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/46b47d83-47d4-400b-b3d0-ec8b486a9bc4 2025-10-06 01:46:56,064 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/63e8b9b1-24b1-4455-b5e8-caa7c0552cff 2025-10-06 01:46:56,074 - INFO - Verified VN network id 12 for VN 46b47d83-47d4-400b-b3d0-ec8b486a9bc4 2025-10-06 01:46:56,074 - INFO - Verifications in API Server for VN ctest-vn-54405217 passed 2025-10-06 01:46:56,074 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/46b47d83-47d4-400b-b3d0-ec8b486a9bc4 2025-10-06 01:46:56,081 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/63e8b9b1-24b1-4455-b5e8-caa7c0552cff 2025-10-06 01:46:56,085 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/63e8b9b1-24b1-4455-b5e8-caa7c0552cff 2025-10-06 01:46:56,090 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/bcbffa28-2a67-4543-aeb5-2b2181bfc978 2025-10-06 01:46:56,098 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-54405217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92820665', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5094835081262153739', 'uuid-lslong': '12957116210904472516'}, 'enable': 'true', 'created': '2025-10-06T01:46:54', 'last-modified': '2025-10-06T01:46:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.840134'} 2025-10-06 01:46:56,103 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 01:46:56,103 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54405217 passed 2025-10-06 01:46:56,103 - DEBUG - ====Verifying policy data for ctest-vn-54405217 in API_Server ====== 2025-10-06 01:46:56,103 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-06 01:46:56,107 - DEBUG - Requesting: http://10.0.0.130:8082/domain/fbcd0d6b-1b30-465c-a9a4-10e5a1179752 2025-10-06 01:46:56,115 - DEBUG - Requesting: http://10.0.0.130:8082/project/89f9c756-d88c-4424-ade1-3b6fdee387be 2025-10-06 01:46:56,181 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/46b47d83-47d4-400b-b3d0-ec8b486a9bc4 2025-10-06 01:46:56,188 - DEBUG - ==>Verifying data for policy with id: d254762a-6ce3-4e28-b4fe-26e468245df8, fqn: ['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-policy-allow-all-98002482'] 2025-10-06 01:46:56,189 - INFO - VN ctest-vn-54405217 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 01:46:56,189 - DEBUG - Verifying the vn in opserver 2025-10-06 01:46:56,189 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-54405217 virtual network link through opserver 10.0.0.130 2025-10-06 01:46:56,189 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-06 01:46:56,475 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-06 01:46:56,526 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-54405217', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-54405217?flat'} 2025-10-06 01:46:56,526 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-54405217 is found in opserver 2025-10-06 01:46:56,535 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 01:46:56,539 - DEBUG - VRF ids for VN ctest-vn-54405217: {} 2025-10-06 01:46:56,539 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-06 01:46:56,543 - DEBUG - Requesting: http://10.0.0.130:8082/domain/fbcd0d6b-1b30-465c-a9a4-10e5a1179752 2025-10-06 01:46:56,553 - DEBUG - Requesting: http://10.0.0.130:8082/project/89f9c756-d88c-4424-ade1-3b6fdee387be 2025-10-06 01:46:56,621 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c88e041a-6d87-461b-ba19-aa1dd1c4b630 2025-10-06 01:46:56,630 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c88e041a-6d87-461b-ba19-aa1dd1c4b630 2025-10-06 01:46:56,637 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/74ca9b44-271d-475e-8a87-da5084178e08 2025-10-06 01:46:56,643 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/74ca9b44-271d-475e-8a87-da5084178e08 2025-10-06 01:46:56,648 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/6268ed70-ece9-4468-b4d6-fee684a32314 2025-10-06 01:46:56,653 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 01:46:56,653 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c88e041a-6d87-461b-ba19-aa1dd1c4b630 2025-10-06 01:46:56,660 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/74ca9b44-271d-475e-8a87-da5084178e08 2025-10-06 01:46:56,670 - INFO - Verified VN network id 13 for VN c88e041a-6d87-461b-ba19-aa1dd1c4b630 2025-10-06 01:46:56,670 - INFO - Verifications in API Server for VN ctest-vn-22673199 passed 2025-10-06 01:46:56,670 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c88e041a-6d87-461b-ba19-aa1dd1c4b630 2025-10-06 01:46:56,677 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/74ca9b44-271d-475e-8a87-da5084178e08 2025-10-06 01:46:56,682 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/74ca9b44-271d-475e-8a87-da5084178e08 2025-10-06 01:46:56,686 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/6268ed70-ece9-4468-b4d6-fee684a32314 2025-10-06 01:46:56,695 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-22673199', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92820665', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14451492765831743003', 'uuid-lslong': '13409936410522465840'}, 'enable': 'true', 'created': '2025-10-06T01:46:54', 'last-modified': '2025-10-06T01:46:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.228928'} 2025-10-06 01:46:56,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 01:46:56,699 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22673199 passed 2025-10-06 01:46:56,699 - DEBUG - ====Verifying policy data for ctest-vn-22673199 in API_Server ====== 2025-10-06 01:46:56,699 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-06 01:46:56,703 - DEBUG - Requesting: http://10.0.0.130:8082/domain/fbcd0d6b-1b30-465c-a9a4-10e5a1179752 2025-10-06 01:46:56,711 - DEBUG - Requesting: http://10.0.0.130:8082/project/89f9c756-d88c-4424-ade1-3b6fdee387be 2025-10-06 01:46:56,776 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/c88e041a-6d87-461b-ba19-aa1dd1c4b630 2025-10-06 01:46:56,784 - DEBUG - ==>Verifying data for policy with id: d254762a-6ce3-4e28-b4fe-26e468245df8, fqn: ['default-domain', 'ctest-TestBasicPolicy-92820665', 'ctest-policy-allow-all-98002482'] 2025-10-06 01:46:56,784 - INFO - VN ctest-vn-22673199 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 01:46:56,784 - DEBUG - Verifying the vn in opserver 2025-10-06 01:46:56,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-22673199 virtual network link through opserver 10.0.0.130 2025-10-06 01:46:56,784 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-10-06 01:46:56,792 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-22673199', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-22673199?flat'} 2025-10-06 01:46:56,792 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-22673199 is found in opserver 2025-10-06 01:46:56,801 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 01:46:56,806 - DEBUG - VRF ids for VN ctest-vn-22673199: {} 2025-10-06 01:46:56,855 - DEBUG - Services list from nova: [, , ] 2025-10-06 01:46:57,809 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4218-1) 2025-10-06 01:46:58,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4218-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4218-1) 2025-10-06 01:46:58,838 - INFO - Waiting for VM ctest-TestBasicPolicy-92820665-95978589 to be up.. 2025-10-06 01:46:58,913 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 01:47:03,979 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:47:03,979 - INFO - VM name : ctest-TestBasicPolicy-92820665-95978589 2025-10-06 01:47:04,044 - DEBUG - VM ctest-TestBasicPolicy-92820665-95978589 ID is f2ab06b0-17eb-49cd-9410-6a0db34738a8 2025-10-06 01:47:04,060 - DEBUG - VM ctest-TestBasicPolicy-92820665-95978589 launched on Node cn-jenkins-deploy-platform-ansible-os-4218-1 2025-10-06 01:47:04,123 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f2ab06b0-17eb-49cd-9410-6a0db34738a8 2025-10-06 01:47:04,129 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ffaa8433-8656-43ce-bd4e-18eed66826e4 2025-10-06 01:47:07,380 - 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 1017ms') 2025-10-06 01:47:07,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92820665-95978589 failed! 2025-10-06 01:47:07,434 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92820665:ctest-vn-54405217 is 86.240.69.193 and allocation pool is NOT set 2025-10-06 01:47:09,494 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.584 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.584/1.955/3.326/1.371 ms') 2025-10-06 01:47:09,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92820665-95978589 passed 2025-10-06 01:47:09,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:47:09,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92820665-95978589, IP 86.240.69.195, Port 22 2025-10-06 01:47:09,812 - DEBUG - VM ctest-TestBasicPolicy-92820665-95978589 is ready for SSH connections 2025-10-06 01:47:09,812 - INFO - Waiting for VM ctest-TestBasicPolicy-92820665-29548350 to be up.. 2025-10-06 01:47:09,889 - DEBUG - VM is in ACTIVE state now 2025-10-06 01:47:09,889 - INFO - VM name : ctest-TestBasicPolicy-92820665-29548350 2025-10-06 01:47:09,965 - DEBUG - VM ctest-TestBasicPolicy-92820665-29548350 ID is 19c45792-47c3-437b-9799-f17ff5845bc0 2025-10-06 01:47:09,966 - DEBUG - VM ctest-TestBasicPolicy-92820665-29548350 launched on Node cn-jenkins-deploy-platform-ansible-os-4218-1 2025-10-06 01:47:10,034 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/19c45792-47c3-437b-9799-f17ff5845bc0 2025-10-06 01:47:10,041 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/42697f37-4ede-4256-9a37-ffc196ca9c7f 2025-10-06 01:47:11,271 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.410/1.677/2.945/1.267 ms') 2025-10-06 01:47:11,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92820665-29548350 passed 2025-10-06 01:47:11,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:47:11,418 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92820665-29548350, IP 192.9.157.67, Port 22 2025-10-06 01:47:11,580 - DEBUG - VM ctest-TestBasicPolicy-92820665-29548350 is ready for SSH connections 2025-10-06 01:47:11,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:47:11,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.9.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-06 01:47:11,580 - DEBUG - ping -s 56 -c 3 -W 1 192.9.157.67 2025-10-06 01:47:15,244 - DEBUG - PING 192.9.157.67 (192.9.157.67): 56 data bytes 64 bytes from 192.9.157.67: seq=0 ttl=63 time=3.185 ms 64 bytes from 192.9.157.67: seq=1 ttl=63 time=0.778 ms 64 bytes from 192.9.157.67: seq=2 ttl=63 time=1.001 ms --- 192.9.157.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.654/3.185 ms 2025-10-06 01:47:15,244 - INFO - Ping to IP 192.9.157.67 from VM ctest-TestBasicPolicy-92820665-95978589 passed 2025-10-06 01:47:15,414 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d254762a-6ce3-4e28-b4fe-26e468245df8", "href": "http://10.0.0.130:8082/network-policy/d254762a-6ce3-4e28-b4fe-26e468245df8"}} 2025-10-06 01:47:15,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 01:47:15,414 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 192.9.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-06 01:47:15,414 - DEBUG - ping -s 56 -c 3 -W 1 192.9.157.67 2025-10-06 01:47:18,610 - DEBUG - PING 192.9.157.67 (192.9.157.67): 56 data bytes --- 192.9.157.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 01:47:18,610 - WARNING - Ping to IP 192.9.157.67 from VM ctest-TestBasicPolicy-92820665-95978589 failed 2025-10-06 01:47:18,610 - INFO - Deleting VM ctest-TestBasicPolicy-92820665-29548350 2025-10-06 01:47:18,674 - INFO - Deleting VM ctest-TestBasicPolicy-92820665-95978589 2025-10-06 01:47:18,986 - INFO - Deleted policy ctest-policy-allow-all-98002482 2025-10-06 01:47:18,986 - INFO - Deleting VN ctest-vn-22673199 2025-10-06 01:47:19,021 - DEBUG - VN c88e041a-6d87-461b-ba19-aa1dd1c4b630 still in use: Unable to complete operation on network c88e041a-6d87-461b-ba19-aa1dd1c4b630. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9fcd0efe-8cfb-4f24-8595-9de2edd9ac8d'] 2025-10-06 01:47:19,021 - WARNING - Deleting VN ctest-vn-22673199 failed..Will retry 2025-10-06 01:47:21,120 - DEBUG - Response for deleting network () 2025-10-06 01:47:21,120 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/74ca9b44-271d-475e-8a87-da5084178e08 2025-10-06 01:47:21,128 - DEBUG - Response Code: 404 2025-10-06 01:47:21,128 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-06 01:47:21,136 - DEBUG - Requesting: http://10.0.0.130:8082/domain/fbcd0d6b-1b30-465c-a9a4-10e5a1179752 2025-10-06 01:47:21,192 - DEBUG - Requesting: http://10.0.0.130:8082/project/89f9c756-d88c-4424-ade1-3b6fdee387be 2025-10-06 01:47:21,269 - INFO - Validated that VN ctest-vn-22673199 is not found in API Server 2025-10-06 01:47:21,277 - DEBUG - VN ctest-vn-22673199 is not present in Agent 10.0.0.130 2025-10-06 01:47:21,277 - INFO - Validated that VN ctest-vn-22673199 is not in any agent 2025-10-06 01:47:21,291 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22673199 info 2025-10-06 01:47:21,291 - INFO - Deleting VN ctest-vn-54405217 2025-10-06 01:47:21,394 - DEBUG - Response for deleting network () 2025-10-06 01:47:21,394 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/63e8b9b1-24b1-4455-b5e8-caa7c0552cff 2025-10-06 01:47:21,401 - DEBUG - Response Code: 404 2025-10-06 01:47:21,401 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-10-06 01:47:21,407 - DEBUG - Requesting: http://10.0.0.130:8082/domain/fbcd0d6b-1b30-465c-a9a4-10e5a1179752 2025-10-06 01:47:21,459 - DEBUG - Requesting: http://10.0.0.130:8082/project/89f9c756-d88c-4424-ade1-3b6fdee387be 2025-10-06 01:47:21,528 - INFO - Validated that VN ctest-vn-54405217 is not found in API Server 2025-10-06 01:47:21,537 - DEBUG - VN ctest-vn-54405217 is not present in Agent 10.0.0.130 2025-10-06 01:47:21,537 - INFO - Validated that VN ctest-vn-54405217 is not in any agent 2025-10-06 01:47:21,548 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54405217 info 2025-10-06 01:47:21,803 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 01:47:21,803 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-10-06 01:47:21,803 - INFO - -------------------------------------------------------------------------------- 2025-10-06 01:47:22,448 - INFO - Deleted project: ctest-TestBasicPolicy-92820665, ID : 89f9c756-d88c-4424-ade1-3b6fdee387be