2025-09-23 05:57:53,879 - INFO - Domain Default found not creating 2025-09-23 05:57:54,009 - INFO - Project ctest-TestBasicPolicy-10619834 not found, creating it 2025-09-23 05:57:54,420 - INFO - Created Project:ctest-TestBasicPolicy-10619834, ID : 0c9924a9-a2a8-4e79-8548-67d197b30094 2025-09-23 05:57:55,763 - INFO - ================================================================================ 2025-09-23 05:57:55,763 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-23 05:57:55,764 - 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-23 05:57:56,018 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-09-23 05:57:56,018 - INFO - Initial checks done. Running the testcase now 2025-09-23 05:57:56,018 - INFO - 2025-09-23 05:57:56,537 - DEBUG - Response for create_network : {'network': {'id': '9d3fcd92-7d60-4757-ab07-869c8dc0f35a', 'name': 'ctest-vn-85282037', 'tenant_id': '0c9924a9a2a84e79854867d197b30094', 'project_id': '0c9924a9a2a84e79854867d197b30094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-vn-85282037'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 05:57:56,700 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d512186-0d11-440d-ac20-5c7ed5bd6026', 'name': '', 'tenant_id': '0c9924a9a2a84e79854867d197b30094', 'network_id': '9d3fcd92-7d60-4757-ab07-869c8dc0f35a', 'ip_version': 4, 'cidr': '73.13.110.64/26', 'allocation_pools': [{'start': '73.13.110.66', 'end': '73.13.110.126'}], 'gateway_ip': '73.13.110.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.13.110.66', 'tags': [], 'project_id': '0c9924a9a2a84e79854867d197b30094'}} 2025-09-23 05:57:56,720 - INFO - Created VN ctest-vn-85282037 2025-09-23 05:57:56,773 - DEBUG - VN ctest-vn-85282037 UUID is 9d3fcd92-7d60-4757-ab07-869c8dc0f35a 2025-09-23 05:57:57,100 - DEBUG - Response for create_network : {'network': {'id': 'de719831-cb6b-437b-9479-b92b9ad92f9d', 'name': 'ctest-vn-55459266', 'tenant_id': '0c9924a9a2a84e79854867d197b30094', 'project_id': '0c9924a9a2a84e79854867d197b30094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-vn-55459266'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 05:57:57,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b11c7a9-dd4f-4bff-b384-e4768799473f', 'name': '', 'tenant_id': '0c9924a9a2a84e79854867d197b30094', 'network_id': 'de719831-cb6b-437b-9479-b92b9ad92f9d', 'ip_version': 4, 'cidr': '112.59.157.64/26', 'allocation_pools': [{'start': '112.59.157.66', 'end': '112.59.157.126'}], 'gateway_ip': '112.59.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.59.157.66', 'tags': [], 'project_id': '0c9924a9a2a84e79854867d197b30094'}} 2025-09-23 05:57:57,315 - INFO - Created VN ctest-vn-55459266 2025-09-23 05:57:57,365 - DEBUG - VN ctest-vn-55459266 UUID is de719831-cb6b-437b-9479-b92b9ad92f9d 2025-09-23 05:57:57,509 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-85282037, 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-10619834:ctest-vn-55459266, 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-23 05:57:57,787 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d3fcd92-7d60-4757-ab07-869c8dc0f35a', 'name': 'ctest-vn-85282037', 'tenant_id': '0c9924a9a2a84e79854867d197b30094', 'project_id': '0c9924a9a2a84e79854867d197b30094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d512186-0d11-440d-ac20-5c7ed5bd6026'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-vn-85282037'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-policy-allow-all-41630768']], 'subnet_ipam': [{'subnet_cidr': '73.13.110.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 05:57:58,047 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de719831-cb6b-437b-9479-b92b9ad92f9d', 'name': 'ctest-vn-55459266', 'tenant_id': '0c9924a9a2a84e79854867d197b30094', 'project_id': '0c9924a9a2a84e79854867d197b30094', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b11c7a9-dd4f-4bff-b384-e4768799473f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-vn-55459266'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-policy-allow-all-41630768']], 'subnet_ipam': [{'subnet_cidr': '112.59.157.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 05:57:58,193 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-23 05:57:58,500 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-23 05:57:58,525 - DEBUG - Requesting: http://10.0.0.49:8082/domain/f691a285-fd0a-404c-a64a-98dbb009cbe3 2025-09-23 05:57:58,537 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c9924a9-a2a8-4e79-8548-67d197b30094 2025-09-23 05:57:58,610 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9d3fcd92-7d60-4757-ab07-869c8dc0f35a 2025-09-23 05:57:58,621 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9d3fcd92-7d60-4757-ab07-869c8dc0f35a 2025-09-23 05:57:58,629 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1a86a360-4fb8-4698-82c7-472d5f1d791a 2025-09-23 05:57:58,636 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1a86a360-4fb8-4698-82c7-472d5f1d791a 2025-09-23 05:57:58,644 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/281c51a6-0c61-4390-a456-d13a82e1f443 2025-09-23 05:57:58,649 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 05:57:58,649 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9d3fcd92-7d60-4757-ab07-869c8dc0f35a 2025-09-23 05:57:58,658 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1a86a360-4fb8-4698-82c7-472d5f1d791a 2025-09-23 05:57:58,671 - INFO - Verified VN network id 9 for VN 9d3fcd92-7d60-4757-ab07-869c8dc0f35a 2025-09-23 05:57:58,671 - INFO - Verifications in API Server for VN ctest-vn-85282037 passed 2025-09-23 05:57:58,672 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9d3fcd92-7d60-4757-ab07-869c8dc0f35a 2025-09-23 05:57:58,681 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1a86a360-4fb8-4698-82c7-472d5f1d791a 2025-09-23 05:57:58,689 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1a86a360-4fb8-4698-82c7-472d5f1d791a 2025-09-23 05:57:58,697 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/281c51a6-0c61-4390-a456-d13a82e1f443 2025-09-23 05:57:58,710 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-85282037', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10619834', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11331001216539838295', 'uuid-lslong': '12323966912273904474'}, 'enable': 'true', 'created': '2025-09-23T05:57:56', 'last-modified': '2025-09-23T05:57:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944840'} 2025-09-23 05:57:58,715 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 05:57:58,715 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85282037 passed 2025-09-23 05:57:58,715 - DEBUG - ====Verifying policy data for ctest-vn-85282037 in API_Server ====== 2025-09-23 05:57:58,715 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-23 05:57:58,720 - DEBUG - Requesting: http://10.0.0.49:8082/domain/f691a285-fd0a-404c-a64a-98dbb009cbe3 2025-09-23 05:57:58,731 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c9924a9-a2a8-4e79-8548-67d197b30094 2025-09-23 05:57:58,797 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/9d3fcd92-7d60-4757-ab07-869c8dc0f35a 2025-09-23 05:57:58,806 - DEBUG - ==>Verifying data for policy with id: 8b17bee4-bba9-4d98-a9ec-7614e60cd722, fqn: ['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-policy-allow-all-41630768'] 2025-09-23 05:57:58,806 - INFO - VN ctest-vn-85282037 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 05:57:58,806 - DEBUG - Verifying the vn in opserver 2025-09-23 05:57:58,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-85282037 virtual network link through opserver 10.0.0.49 2025-09-23 05:57:58,806 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-23 05:57:59,101 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-23 05:57:59,152 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-85282037', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-85282037?flat'} 2025-09-23 05:57:59,152 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-85282037 is found in opserver 2025-09-23 05:57:59,160 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 05:57:59,165 - DEBUG - VRF ids for VN ctest-vn-85282037: {} 2025-09-23 05:57:59,165 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-23 05:57:59,170 - DEBUG - Requesting: http://10.0.0.49:8082/domain/f691a285-fd0a-404c-a64a-98dbb009cbe3 2025-09-23 05:57:59,181 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c9924a9-a2a8-4e79-8548-67d197b30094 2025-09-23 05:57:59,250 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/de719831-cb6b-437b-9479-b92b9ad92f9d 2025-09-23 05:57:59,260 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/de719831-cb6b-437b-9479-b92b9ad92f9d 2025-09-23 05:57:59,269 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7a8288df-21ad-45ca-90a5-08213e3f6e29 2025-09-23 05:57:59,275 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7a8288df-21ad-45ca-90a5-08213e3f6e29 2025-09-23 05:57:59,281 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/625b8952-0bf5-44aa-83ec-62f571777dc4 2025-09-23 05:57:59,287 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 05:57:59,287 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/de719831-cb6b-437b-9479-b92b9ad92f9d 2025-09-23 05:57:59,295 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7a8288df-21ad-45ca-90a5-08213e3f6e29 2025-09-23 05:57:59,307 - INFO - Verified VN network id 10 for VN de719831-cb6b-437b-9479-b92b9ad92f9d 2025-09-23 05:57:59,307 - INFO - Verifications in API Server for VN ctest-vn-55459266 passed 2025-09-23 05:57:59,307 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/de719831-cb6b-437b-9479-b92b9ad92f9d 2025-09-23 05:57:59,316 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7a8288df-21ad-45ca-90a5-08213e3f6e29 2025-09-23 05:57:59,323 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7a8288df-21ad-45ca-90a5-08213e3f6e29 2025-09-23 05:57:59,329 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/625b8952-0bf5-44aa-83ec-62f571777dc4 2025-09-23 05:57:59,340 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-55459266', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10619834', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16028759888421929851', 'uuid-lslong': '10698785986727980957'}, 'enable': 'true', 'created': '2025-09-23T05:57:57', 'last-modified': '2025-09-23T05:57:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355808'} 2025-09-23 05:57:59,345 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 05:57:59,345 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55459266 passed 2025-09-23 05:57:59,346 - DEBUG - ====Verifying policy data for ctest-vn-55459266 in API_Server ====== 2025-09-23 05:57:59,346 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-23 05:57:59,351 - DEBUG - Requesting: http://10.0.0.49:8082/domain/f691a285-fd0a-404c-a64a-98dbb009cbe3 2025-09-23 05:57:59,361 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c9924a9-a2a8-4e79-8548-67d197b30094 2025-09-23 05:57:59,428 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/de719831-cb6b-437b-9479-b92b9ad92f9d 2025-09-23 05:57:59,436 - DEBUG - ==>Verifying data for policy with id: 8b17bee4-bba9-4d98-a9ec-7614e60cd722, fqn: ['default-domain', 'ctest-TestBasicPolicy-10619834', 'ctest-policy-allow-all-41630768'] 2025-09-23 05:57:59,436 - INFO - VN ctest-vn-55459266 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 05:57:59,436 - DEBUG - Verifying the vn in opserver 2025-09-23 05:57:59,436 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-55459266 virtual network link through opserver 10.0.0.49 2025-09-23 05:57:59,436 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-09-23 05:57:59,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-55459266', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-55459266?flat'} 2025-09-23 05:57:59,444 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-55459266 is found in opserver 2025-09-23 05:57:59,454 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 05:57:59,458 - DEBUG - VRF ids for VN ctest-vn-55459266: {} 2025-09-23 05:57:59,513 - DEBUG - Services list from nova: [, , ] 2025-09-23 05:58:00,509 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4173-1) 2025-09-23 05:58:01,747 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4173-1) 2025-09-23 05:58:01,747 - INFO - Waiting for VM ctest-TestBasicPolicy-10619834-32468182 to be up.. 2025-09-23 05:58:01,886 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 05:58:06,965 - DEBUG - VM is in ACTIVE state now 2025-09-23 05:58:06,965 - INFO - VM name : ctest-TestBasicPolicy-10619834-32468182 2025-09-23 05:58:07,036 - DEBUG - VM ctest-TestBasicPolicy-10619834-32468182 ID is b84aa0f4-9984-4c43-8dce-f58cfd447320 2025-09-23 05:58:07,055 - DEBUG - VM ctest-TestBasicPolicy-10619834-32468182 launched on Node cn-jenkins-deploy-platform-ansible-os-4173-1 2025-09-23 05:58:07,142 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/b84aa0f4-9984-4c43-8dce-f58cfd447320 2025-09-23 05:58:07,151 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/bc0af837-021b-4ed2-86c5-6b2961356f4a 2025-09-23 05:58:10,384 - 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 1007ms') 2025-09-23 05:58:10,384 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10619834-32468182 failed! 2025-09-23 05:58:10,437 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10619834:ctest-vn-85282037 is 73.13.110.65 and allocation pool is NOT set 2025-09-23 05:58:12,497 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.598/2.789/1.190 ms') 2025-09-23 05:58:12,497 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10619834-32468182 passed 2025-09-23 05:58:12,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 05:58:12,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10619834-32468182, IP 73.13.110.67, Port 22 2025-09-23 05:58:12,804 - DEBUG - VM ctest-TestBasicPolicy-10619834-32468182 is ready for SSH connections 2025-09-23 05:58:12,805 - INFO - Waiting for VM ctest-TestBasicPolicy-10619834-73547856 to be up.. 2025-09-23 05:58:12,875 - DEBUG - VM is in ACTIVE state now 2025-09-23 05:58:12,875 - INFO - VM name : ctest-TestBasicPolicy-10619834-73547856 2025-09-23 05:58:12,944 - DEBUG - VM ctest-TestBasicPolicy-10619834-73547856 ID is 740f9c9e-a6fc-444b-85b8-708ac436b87b 2025-09-23 05:58:12,944 - DEBUG - VM ctest-TestBasicPolicy-10619834-73547856 launched on Node cn-jenkins-deploy-platform-ansible-os-4173-1 2025-09-23 05:58:13,009 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/740f9c9e-a6fc-444b-85b8-708ac436b87b 2025-09-23 05:58:13,017 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/5b83d269-3a84-47dc-ba41-f13b9d53f71f 2025-09-23 05:58:14,251 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 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.895/2.064/3.233/1.169 ms') 2025-09-23 05:58:14,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10619834-73547856 passed 2025-09-23 05:58:14,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 05:58:14,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10619834-73547856, IP 112.59.157.67, Port 22 2025-09-23 05:58:14,553 - DEBUG - VM ctest-TestBasicPolicy-10619834-73547856 is ready for SSH connections 2025-09-23 05:58:14,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 05:58:14,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.59.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-23 05:58:14,553 - DEBUG - ping -s 56 -c 3 -W 1 112.59.157.67 2025-09-23 05:58:18,276 - DEBUG - PING 112.59.157.67 (112.59.157.67): 56 data bytes 64 bytes from 112.59.157.67: seq=0 ttl=63 time=4.020 ms 64 bytes from 112.59.157.67: seq=1 ttl=63 time=0.825 ms 64 bytes from 112.59.157.67: seq=2 ttl=63 time=0.777 ms --- 112.59.157.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.874/4.020 ms 2025-09-23 05:58:18,276 - INFO - Ping to IP 112.59.157.67 from VM ctest-TestBasicPolicy-10619834-32468182 passed 2025-09-23 05:58:18,449 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8b17bee4-bba9-4d98-a9ec-7614e60cd722", "href": "http://10.0.0.49:8082/network-policy/8b17bee4-bba9-4d98-a9ec-7614e60cd722"}} 2025-09-23 05:58:18,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 05:58:18,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.59.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-09-23 05:58:18,449 - DEBUG - ping -s 56 -c 3 -W 1 112.59.157.67 2025-09-23 05:58:21,670 - DEBUG - PING 112.59.157.67 (112.59.157.67): 56 data bytes --- 112.59.157.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 05:58:21,670 - WARNING - Ping to IP 112.59.157.67 from VM ctest-TestBasicPolicy-10619834-32468182 failed 2025-09-23 05:58:21,670 - INFO - Deleting VM ctest-TestBasicPolicy-10619834-73547856 2025-09-23 05:58:21,737 - INFO - Deleting VM ctest-TestBasicPolicy-10619834-32468182 2025-09-23 05:58:22,108 - INFO - Deleted policy ctest-policy-allow-all-41630768 2025-09-23 05:58:22,109 - INFO - Deleting VN ctest-vn-55459266 2025-09-23 05:58:22,145 - DEBUG - VN de719831-cb6b-437b-9479-b92b9ad92f9d still in use: Unable to complete operation on network de719831-cb6b-437b-9479-b92b9ad92f9d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93cbd557-7e6e-41d8-bd9d-5d7af588a2d3'] 2025-09-23 05:58:22,145 - WARNING - Deleting VN ctest-vn-55459266 failed..Will retry 2025-09-23 05:58:24,244 - DEBUG - Response for deleting network () 2025-09-23 05:58:24,244 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/7a8288df-21ad-45ca-90a5-08213e3f6e29 2025-09-23 05:58:24,248 - DEBUG - Response Code: 404 2025-09-23 05:58:24,249 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-23 05:58:24,255 - DEBUG - Requesting: http://10.0.0.49:8082/domain/f691a285-fd0a-404c-a64a-98dbb009cbe3 2025-09-23 05:58:24,306 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c9924a9-a2a8-4e79-8548-67d197b30094 2025-09-23 05:58:24,373 - INFO - Validated that VN ctest-vn-55459266 is not found in API Server 2025-09-23 05:58:24,382 - DEBUG - VN ctest-vn-55459266 is not present in Agent 10.0.0.49 2025-09-23 05:58:24,383 - INFO - Validated that VN ctest-vn-55459266 is not in any agent 2025-09-23 05:58:24,395 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55459266 info 2025-09-23 05:58:24,396 - INFO - Deleting VN ctest-vn-85282037 2025-09-23 05:58:24,480 - DEBUG - Response for deleting network () 2025-09-23 05:58:24,481 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/1a86a360-4fb8-4698-82c7-472d5f1d791a 2025-09-23 05:58:24,485 - DEBUG - Response Code: 404 2025-09-23 05:58:24,485 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-09-23 05:58:24,490 - DEBUG - Requesting: http://10.0.0.49:8082/domain/f691a285-fd0a-404c-a64a-98dbb009cbe3 2025-09-23 05:58:24,542 - DEBUG - Requesting: http://10.0.0.49:8082/project/0c9924a9-a2a8-4e79-8548-67d197b30094 2025-09-23 05:58:24,610 - INFO - Validated that VN ctest-vn-85282037 is not found in API Server 2025-09-23 05:58:24,619 - DEBUG - VN ctest-vn-85282037 is not present in Agent 10.0.0.49 2025-09-23 05:58:24,619 - INFO - Validated that VN ctest-vn-85282037 is not in any agent 2025-09-23 05:58:24,630 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85282037 info 2025-09-23 05:58:24,890 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 05:58:24,890 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-23 05:58:24,890 - INFO - -------------------------------------------------------------------------------- 2025-09-23 05:58:25,543 - INFO - Deleted project: ctest-TestBasicPolicy-10619834, ID : 0c9924a9-a2a8-4e79-8548-67d197b30094