2025-09-11 08:34:57,901 - INFO - Domain Default found not creating 2025-09-11 08:34:58,024 - INFO - Project ctest-TestBasicPolicy-94637925 not found, creating it 2025-09-11 08:34:58,432 - INFO - Created Project:ctest-TestBasicPolicy-94637925, ID : 544cce99-2f77-4ff4-84b1-16b830498d4a 2025-09-11 08:34:59,768 - INFO - ================================================================================ 2025-09-11 08:34:59,768 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 08:34:59,768 - 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-11 08:35:00,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.25': '0'}} with 2025-09-11 08:35:00,030 - INFO - Initial checks done. Running the testcase now 2025-09-11 08:35:00,030 - INFO - 2025-09-11 08:35:00,550 - DEBUG - Response for create_network : {'network': {'id': '7a44cfda-77d1-4291-9e2b-6c1669b8d4ff', 'name': 'ctest-vn-16866535', 'tenant_id': '544cce992f774ff484b116b830498d4a', 'project_id': '544cce992f774ff484b116b830498d4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-vn-16866535'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:35:00,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '62ff4757-f353-4b1a-b617-9b7fc2f99661', 'name': '', 'tenant_id': '544cce992f774ff484b116b830498d4a', 'network_id': '7a44cfda-77d1-4291-9e2b-6c1669b8d4ff', 'ip_version': 4, 'cidr': '145.118.209.0/26', 'allocation_pools': [{'start': '145.118.209.2', 'end': '145.118.209.62'}], 'gateway_ip': '145.118.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.118.209.2', 'tags': [], 'project_id': '544cce992f774ff484b116b830498d4a'}} 2025-09-11 08:35:00,776 - INFO - Created VN ctest-vn-16866535 2025-09-11 08:35:00,825 - DEBUG - VN ctest-vn-16866535 UUID is 7a44cfda-77d1-4291-9e2b-6c1669b8d4ff 2025-09-11 08:35:01,134 - DEBUG - Response for create_network : {'network': {'id': 'f0852dd1-ecf9-4d93-a809-fdc63b207217', 'name': 'ctest-vn-66955493', 'tenant_id': '544cce992f774ff484b116b830498d4a', 'project_id': '544cce992f774ff484b116b830498d4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-vn-66955493'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:35:01,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '13a13c1b-c568-42f4-bcad-02551eaa2995', 'name': '', 'tenant_id': '544cce992f774ff484b116b830498d4a', 'network_id': 'f0852dd1-ecf9-4d93-a809-fdc63b207217', 'ip_version': 4, 'cidr': '157.182.153.64/26', 'allocation_pools': [{'start': '157.182.153.66', 'end': '157.182.153.126'}], 'gateway_ip': '157.182.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.182.153.66', 'tags': [], 'project_id': '544cce992f774ff484b116b830498d4a'}} 2025-09-11 08:35:01,300 - INFO - Created VN ctest-vn-66955493 2025-09-11 08:35:01,349 - DEBUG - VN ctest-vn-66955493 UUID is f0852dd1-ecf9-4d93-a809-fdc63b207217 2025-09-11 08:35:01,493 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-16866535, 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-94637925:ctest-vn-66955493, 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-11 08:35:01,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a44cfda-77d1-4291-9e2b-6c1669b8d4ff', 'name': 'ctest-vn-16866535', 'tenant_id': '544cce992f774ff484b116b830498d4a', 'project_id': '544cce992f774ff484b116b830498d4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['62ff4757-f353-4b1a-b617-9b7fc2f99661'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-vn-16866535'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-policy-allow-all-98458002']], 'subnet_ipam': [{'subnet_cidr': '145.118.209.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:35:02,040 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0852dd1-ecf9-4d93-a809-fdc63b207217', 'name': 'ctest-vn-66955493', 'tenant_id': '544cce992f774ff484b116b830498d4a', 'project_id': '544cce992f774ff484b116b830498d4a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13a13c1b-c568-42f4-bcad-02551eaa2995'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-vn-66955493'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-policy-allow-all-98458002']], 'subnet_ipam': [{'subnet_cidr': '157.182.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 08:35:02,185 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-09-11 08:35:02,480 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-09-11 08:35:02,505 - DEBUG - Requesting: http://10.0.0.73:8082/domain/6711179a-bbf7-4392-830f-4a51d29b6852 2025-09-11 08:35:02,515 - DEBUG - Requesting: http://10.0.0.73:8082/project/544cce99-2f77-4ff4-84b1-16b830498d4a 2025-09-11 08:35:02,588 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a44cfda-77d1-4291-9e2b-6c1669b8d4ff 2025-09-11 08:35:02,597 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a44cfda-77d1-4291-9e2b-6c1669b8d4ff 2025-09-11 08:35:02,604 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/da0d23ed-bb11-4a5e-8824-7e31f1fd7ea1 2025-09-11 08:35:02,610 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/da0d23ed-bb11-4a5e-8824-7e31f1fd7ea1 2025-09-11 08:35:02,615 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/b817eb0b-f297-4539-b6e0-8e1c2fc45d37 2025-09-11 08:35:02,620 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 08:35:02,620 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a44cfda-77d1-4291-9e2b-6c1669b8d4ff 2025-09-11 08:35:02,628 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/da0d23ed-bb11-4a5e-8824-7e31f1fd7ea1 2025-09-11 08:35:02,639 - INFO - Verified VN network id 11 for VN 7a44cfda-77d1-4291-9e2b-6c1669b8d4ff 2025-09-11 08:35:02,639 - INFO - Verifications in API Server for VN ctest-vn-16866535 passed 2025-09-11 08:35:02,639 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a44cfda-77d1-4291-9e2b-6c1669b8d4ff 2025-09-11 08:35:02,647 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/da0d23ed-bb11-4a5e-8824-7e31f1fd7ea1 2025-09-11 08:35:02,652 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/da0d23ed-bb11-4a5e-8824-7e31f1fd7ea1 2025-09-11 08:35:02,657 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/b817eb0b-f297-4539-b6e0-8e1c2fc45d37 2025-09-11 08:35:02,666 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-16866535', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94637925', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8810395308263555729', 'uuid-lslong': '11397322125509973247'}, 'enable': 'true', 'created': '2025-09-11T08:35:00', 'last-modified': '2025-09-11T08:35:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905886'} 2025-09-11 08:35:02,671 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 08:35:02,671 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16866535 passed 2025-09-11 08:35:02,672 - DEBUG - ====Verifying policy data for ctest-vn-16866535 in API_Server ====== 2025-09-11 08:35:02,672 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-09-11 08:35:02,676 - DEBUG - Requesting: http://10.0.0.73:8082/domain/6711179a-bbf7-4392-830f-4a51d29b6852 2025-09-11 08:35:02,686 - DEBUG - Requesting: http://10.0.0.73:8082/project/544cce99-2f77-4ff4-84b1-16b830498d4a 2025-09-11 08:35:02,759 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/7a44cfda-77d1-4291-9e2b-6c1669b8d4ff 2025-09-11 08:35:02,768 - DEBUG - ==>Verifying data for policy with id: 39d6d88b-f0e7-4561-9a52-19f764a9a1ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-policy-allow-all-98458002'] 2025-09-11 08:35:02,768 - INFO - VN ctest-vn-16866535 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 08:35:02,768 - DEBUG - Verifying the vn in opserver 2025-09-11 08:35:02,768 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-16866535 virtual network link through opserver 10.0.0.73 2025-09-11 08:35:02,768 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-09-11 08:35:03,055 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-09-11 08:35:03,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-16866535', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-16866535?flat'} 2025-09-11 08:35:03,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-16866535 is found in opserver 2025-09-11 08:35:03,112 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 08:35:03,116 - DEBUG - VRF ids for VN ctest-vn-16866535: {} 2025-09-11 08:35:03,116 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-09-11 08:35:03,120 - DEBUG - Requesting: http://10.0.0.73:8082/domain/6711179a-bbf7-4392-830f-4a51d29b6852 2025-09-11 08:35:03,130 - DEBUG - Requesting: http://10.0.0.73:8082/project/544cce99-2f77-4ff4-84b1-16b830498d4a 2025-09-11 08:35:03,196 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f0852dd1-ecf9-4d93-a809-fdc63b207217 2025-09-11 08:35:03,206 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f0852dd1-ecf9-4d93-a809-fdc63b207217 2025-09-11 08:35:03,214 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/bc4a2e2d-790a-46c1-9707-a80b3dbc31a9 2025-09-11 08:35:03,220 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/bc4a2e2d-790a-46c1-9707-a80b3dbc31a9 2025-09-11 08:35:03,225 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7ce6da6c-9e3b-4566-a86a-99a412502b75 2025-09-11 08:35:03,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 08:35:03,231 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f0852dd1-ecf9-4d93-a809-fdc63b207217 2025-09-11 08:35:03,238 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/bc4a2e2d-790a-46c1-9707-a80b3dbc31a9 2025-09-11 08:35:03,250 - INFO - Verified VN network id 12 for VN f0852dd1-ecf9-4d93-a809-fdc63b207217 2025-09-11 08:35:03,250 - INFO - Verifications in API Server for VN ctest-vn-66955493 passed 2025-09-11 08:35:03,250 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f0852dd1-ecf9-4d93-a809-fdc63b207217 2025-09-11 08:35:03,258 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/bc4a2e2d-790a-46c1-9707-a80b3dbc31a9 2025-09-11 08:35:03,264 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/bc4a2e2d-790a-46c1-9707-a80b3dbc31a9 2025-09-11 08:35:03,269 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/7ce6da6c-9e3b-4566-a86a-99a412502b75 2025-09-11 08:35:03,279 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-66955493', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94637925', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17331309120652397971', 'uuid-lslong': '12108488100999623191'}, 'enable': 'true', 'created': '2025-09-11T08:35:01', 'last-modified': '2025-09-11T08:35:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299607'} 2025-09-11 08:35:03,283 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 08:35:03,284 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66955493 passed 2025-09-11 08:35:03,284 - DEBUG - ====Verifying policy data for ctest-vn-66955493 in API_Server ====== 2025-09-11 08:35:03,284 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-09-11 08:35:03,288 - DEBUG - Requesting: http://10.0.0.73:8082/domain/6711179a-bbf7-4392-830f-4a51d29b6852 2025-09-11 08:35:03,298 - DEBUG - Requesting: http://10.0.0.73:8082/project/544cce99-2f77-4ff4-84b1-16b830498d4a 2025-09-11 08:35:03,368 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f0852dd1-ecf9-4d93-a809-fdc63b207217 2025-09-11 08:35:03,376 - DEBUG - ==>Verifying data for policy with id: 39d6d88b-f0e7-4561-9a52-19f764a9a1ad, fqn: ['default-domain', 'ctest-TestBasicPolicy-94637925', 'ctest-policy-allow-all-98458002'] 2025-09-11 08:35:03,376 - INFO - VN ctest-vn-66955493 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 08:35:03,376 - DEBUG - Verifying the vn in opserver 2025-09-11 08:35:03,376 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-66955493 virtual network link through opserver 10.0.0.73 2025-09-11 08:35:03,376 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-09-11 08:35:03,385 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-66955493', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-66955493?flat'} 2025-09-11 08:35:03,385 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-66955493 is found in opserver 2025-09-11 08:35:03,395 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 08:35:03,399 - DEBUG - VRF ids for VN ctest-vn-66955493: {} 2025-09-11 08:35:03,453 - DEBUG - Services list from nova: [, , ] 2025-09-11 08:35:04,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4085-1) 2025-09-11 08:35:05,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4085-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4085-1) 2025-09-11 08:35:05,447 - INFO - Waiting for VM ctest-TestBasicPolicy-94637925-49178199 to be up.. 2025-09-11 08:35:05,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 08:35:10,584 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:35:10,584 - INFO - VM name : ctest-TestBasicPolicy-94637925-49178199 2025-09-11 08:35:10,649 - DEBUG - VM ctest-TestBasicPolicy-94637925-49178199 ID is cb885136-bac6-4717-ba1c-3bcea3769106 2025-09-11 08:35:10,665 - DEBUG - VM ctest-TestBasicPolicy-94637925-49178199 launched on Node cn-jenkins-deploy-platform-ansible-os-4085-1 2025-09-11 08:35:10,728 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/cb885136-bac6-4717-ba1c-3bcea3769106 2025-09-11 08:35:10,735 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/4f3330c6-9f70-4745-99ed-2959f9951106 2025-09-11 08:35:13,983 - 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 1020ms') 2025-09-11 08:35:13,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94637925-49178199 failed! 2025-09-11 08:35:14,037 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94637925:ctest-vn-16866535 is 145.118.209.1 and allocation pool is NOT set 2025-09-11 08:35:16,100 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 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.529/1.798/3.068/1.269 ms') 2025-09-11 08:35:16,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94637925-49178199 passed 2025-09-11 08:35:16,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:35:16,249 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94637925-49178199, IP 145.118.209.3, Port 22 2025-09-11 08:35:16,404 - DEBUG - VM ctest-TestBasicPolicy-94637925-49178199 is ready for SSH connections 2025-09-11 08:35:16,405 - INFO - Waiting for VM ctest-TestBasicPolicy-94637925-24752503 to be up.. 2025-09-11 08:35:16,470 - DEBUG - VM is in ACTIVE state now 2025-09-11 08:35:16,470 - INFO - VM name : ctest-TestBasicPolicy-94637925-24752503 2025-09-11 08:35:16,531 - DEBUG - VM ctest-TestBasicPolicy-94637925-24752503 ID is 50a908f9-19a1-49e4-b2f8-d34e17f3beff 2025-09-11 08:35:16,531 - DEBUG - VM ctest-TestBasicPolicy-94637925-24752503 launched on Node cn-jenkins-deploy-platform-ansible-os-4085-1 2025-09-11 08:35:16,594 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/50a908f9-19a1-49e4-b2f8-d34e17f3beff 2025-09-11 08:35:16,603 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/ca96c7ed-b9a4-45d6-b97e-fd2a076707a6 2025-09-11 08:35:17,835 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/1.639/2.758/1.118 ms') 2025-09-11 08:35:17,836 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94637925-24752503 passed 2025-09-11 08:35:17,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:35:17,986 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94637925-24752503, IP 157.182.153.67, Port 22 2025-09-11 08:35:18,141 - DEBUG - VM ctest-TestBasicPolicy-94637925-24752503 is ready for SSH connections 2025-09-11 08:35:18,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:35:18,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.182.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-09-11 08:35:18,141 - DEBUG - ping -s 56 -c 3 -W 1 157.182.153.67 2025-09-11 08:35:22,104 - DEBUG - PING 157.182.153.67 (157.182.153.67): 56 data bytes 64 bytes from 157.182.153.67: seq=0 ttl=63 time=3.083 ms 64 bytes from 157.182.153.67: seq=1 ttl=63 time=0.936 ms 64 bytes from 157.182.153.67: seq=2 ttl=63 time=0.759 ms --- 157.182.153.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/1.592/3.083 ms 2025-09-11 08:35:22,104 - INFO - Ping to IP 157.182.153.67 from VM ctest-TestBasicPolicy-94637925-49178199 passed 2025-09-11 08:35:22,281 - DEBUG - Policy Update Response {"network-policy": {"uuid": "39d6d88b-f0e7-4561-9a52-19f764a9a1ad", "href": "http://10.0.0.73:8082/network-policy/39d6d88b-f0e7-4561-9a52-19f764a9a1ad"}} 2025-09-11 08:35:22,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 08:35:22,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.182.153.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-09-11 08:35:22,281 - DEBUG - ping -s 56 -c 3 -W 1 157.182.153.67 2025-09-11 08:35:25,485 - DEBUG - PING 157.182.153.67 (157.182.153.67): 56 data bytes 64 bytes from 157.182.153.67: seq=0 ttl=63 time=1.436 ms --- 157.182.153.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.436/1.436/1.436 ms 2025-09-11 08:35:25,485 - WARNING - Ping to IP 157.182.153.67 from VM ctest-TestBasicPolicy-94637925-49178199 failed 2025-09-11 08:35:25,485 - INFO - Deleting VM ctest-TestBasicPolicy-94637925-24752503 2025-09-11 08:35:25,543 - INFO - Deleting VM ctest-TestBasicPolicy-94637925-49178199 2025-09-11 08:35:25,883 - INFO - Deleted policy ctest-policy-allow-all-98458002 2025-09-11 08:35:25,884 - INFO - Deleting VN ctest-vn-66955493 2025-09-11 08:35:25,915 - DEBUG - VN f0852dd1-ecf9-4d93-a809-fdc63b207217 still in use: Unable to complete operation on network f0852dd1-ecf9-4d93-a809-fdc63b207217. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5b66e03-af8e-4745-9320-f4bcd4e73a1e'] 2025-09-11 08:35:25,915 - WARNING - Deleting VN ctest-vn-66955493 failed..Will retry 2025-09-11 08:35:28,012 - DEBUG - Response for deleting network () 2025-09-11 08:35:28,012 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/bc4a2e2d-790a-46c1-9707-a80b3dbc31a9 2025-09-11 08:35:28,018 - DEBUG - Response Code: 404 2025-09-11 08:35:28,018 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-09-11 08:35:28,022 - DEBUG - Requesting: http://10.0.0.73:8082/domain/6711179a-bbf7-4392-830f-4a51d29b6852 2025-09-11 08:35:28,074 - DEBUG - Requesting: http://10.0.0.73:8082/project/544cce99-2f77-4ff4-84b1-16b830498d4a 2025-09-11 08:35:28,153 - INFO - Validated that VN ctest-vn-66955493 is not found in API Server 2025-09-11 08:35:28,163 - DEBUG - VN ctest-vn-66955493 is not present in Agent 10.0.0.73 2025-09-11 08:35:28,163 - INFO - Validated that VN ctest-vn-66955493 is not in any agent 2025-09-11 08:35:28,178 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66955493 info 2025-09-11 08:35:28,179 - INFO - Deleting VN ctest-vn-16866535 2025-09-11 08:35:28,268 - DEBUG - Response for deleting network () 2025-09-11 08:35:28,268 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/da0d23ed-bb11-4a5e-8824-7e31f1fd7ea1 2025-09-11 08:35:28,273 - DEBUG - Response Code: 404 2025-09-11 08:35:28,273 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-09-11 08:35:28,279 - DEBUG - Requesting: http://10.0.0.73:8082/domain/6711179a-bbf7-4392-830f-4a51d29b6852 2025-09-11 08:35:28,330 - DEBUG - Requesting: http://10.0.0.73:8082/project/544cce99-2f77-4ff4-84b1-16b830498d4a 2025-09-11 08:35:28,398 - INFO - Validated that VN ctest-vn-16866535 is not found in API Server 2025-09-11 08:35:28,407 - DEBUG - VN ctest-vn-16866535 is not present in Agent 10.0.0.73 2025-09-11 08:35:28,407 - INFO - Validated that VN ctest-vn-16866535 is not in any agent 2025-09-11 08:35:28,419 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16866535 info 2025-09-11 08:35:28,673 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 08:35:28,673 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-11 08:35:28,673 - INFO - -------------------------------------------------------------------------------- 2025-09-11 08:35:29,300 - INFO - Deleted project: ctest-TestBasicPolicy-94637925, ID : 544cce99-2f77-4ff4-84b1-16b830498d4a