2025-10-22 07:47:01,322 - INFO - Domain Default found not creating 2025-10-22 07:47:01,501 - INFO - Project ctest-TestBasicPolicy-97130820 not found, creating it 2025-10-22 07:47:01,984 - INFO - Created Project:ctest-TestBasicPolicy-97130820, ID : 0d500f6b-ffbc-4600-a59d-1c7379f2fd0d 2025-10-22 07:47:03,467 - INFO - ================================================================================ 2025-10-22 07:47:03,467 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 07:47:03,467 - 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-22 07:47:03,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with 2025-10-22 07:47:03,726 - INFO - Initial checks done. Running the testcase now 2025-10-22 07:47:03,727 - INFO - 2025-10-22 07:47:04,344 - DEBUG - Response for create_network : {'network': {'id': '26e3155d-4336-4964-907d-398960921e31', 'name': 'ctest-vn-03678495', 'tenant_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'project_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-vn-03678495'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 07:47:04,517 - DEBUG - Response for create_subnet : {'subnet': {'id': '429f372d-6351-43ac-9e8a-051ccd8a7e4a', 'name': '', 'tenant_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'network_id': '26e3155d-4336-4964-907d-398960921e31', 'ip_version': 4, 'cidr': '49.132.11.0/26', 'allocation_pools': [{'start': '49.132.11.2', 'end': '49.132.11.62'}], 'gateway_ip': '49.132.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.132.11.2', 'tags': [], 'project_id': '0d500f6bffbc4600a59d1c7379f2fd0d'}} 2025-10-22 07:47:04,537 - INFO - Created VN ctest-vn-03678495 2025-10-22 07:47:04,589 - DEBUG - VN ctest-vn-03678495 UUID is 26e3155d-4336-4964-907d-398960921e31 2025-10-22 07:47:04,902 - DEBUG - Response for create_network : {'network': {'id': '07e9eed3-29c0-45b9-8c06-2d963eff0458', 'name': 'ctest-vn-91311060', 'tenant_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'project_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-vn-91311060'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 07:47:05,115 - DEBUG - Response for create_subnet : {'subnet': {'id': '71aa36d1-defa-4a89-b939-a989361b3387', 'name': '', 'tenant_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'network_id': '07e9eed3-29c0-45b9-8c06-2d963eff0458', 'ip_version': 4, 'cidr': '156.129.223.64/26', 'allocation_pools': [{'start': '156.129.223.66', 'end': '156.129.223.126'}], 'gateway_ip': '156.129.223.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.129.223.66', 'tags': [], 'project_id': '0d500f6bffbc4600a59d1c7379f2fd0d'}} 2025-10-22 07:47:05,135 - INFO - Created VN ctest-vn-91311060 2025-10-22 07:47:05,193 - DEBUG - VN ctest-vn-91311060 UUID is 07e9eed3-29c0-45b9-8c06-2d963eff0458 2025-10-22 07:47:05,315 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-03678495, 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-97130820:ctest-vn-91311060, 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-22 07:47:05,623 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '26e3155d-4336-4964-907d-398960921e31', 'name': 'ctest-vn-03678495', 'tenant_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'project_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['429f372d-6351-43ac-9e8a-051ccd8a7e4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-vn-03678495'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-policy-allow-all-63139816']], 'subnet_ipam': [{'subnet_cidr': '49.132.11.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 07:47:05,901 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07e9eed3-29c0-45b9-8c06-2d963eff0458', 'name': 'ctest-vn-91311060', 'tenant_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'project_id': '0d500f6bffbc4600a59d1c7379f2fd0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71aa36d1-defa-4a89-b939-a989361b3387'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-vn-91311060'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-policy-allow-all-63139816']], 'subnet_ipam': [{'subnet_cidr': '156.129.223.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 07:47:06,049 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-22 07:47:06,349 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-22 07:47:06,387 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a8047e00-9ca8-43f8-92c2-61dfce1119ea 2025-10-22 07:47:06,400 - DEBUG - Requesting: http://10.0.0.73:8082/project/0d500f6b-ffbc-4600-a59d-1c7379f2fd0d 2025-10-22 07:47:06,475 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/26e3155d-4336-4964-907d-398960921e31 2025-10-22 07:47:06,488 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/26e3155d-4336-4964-907d-398960921e31 2025-10-22 07:47:06,497 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b51f6db7-ddc6-4982-993a-b76f17689c64 2025-10-22 07:47:06,505 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b51f6db7-ddc6-4982-993a-b76f17689c64 2025-10-22 07:47:06,512 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/4c1ac6a8-5d63-48d6-b91a-5dfe4b8f9b10 2025-10-22 07:47:06,519 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 07:47:06,519 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/26e3155d-4336-4964-907d-398960921e31 2025-10-22 07:47:06,530 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b51f6db7-ddc6-4982-993a-b76f17689c64 2025-10-22 07:47:06,546 - INFO - Verified VN network id 11 for VN 26e3155d-4336-4964-907d-398960921e31 2025-10-22 07:47:06,546 - INFO - Verifications in API Server for VN ctest-vn-03678495 passed 2025-10-22 07:47:06,547 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/26e3155d-4336-4964-907d-398960921e31 2025-10-22 07:47:06,557 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b51f6db7-ddc6-4982-993a-b76f17689c64 2025-10-22 07:47:06,565 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b51f6db7-ddc6-4982-993a-b76f17689c64 2025-10-22 07:47:06,574 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/4c1ac6a8-5d63-48d6-b91a-5dfe4b8f9b10 2025-10-22 07:47:06,586 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-03678495', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97130820', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2802106883458353508', 'uuid-lslong': '10411541175743946289'}, 'enable': 'true', 'created': '2025-10-22T07:47:04', 'last-modified': '2025-10-22T07:47:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989189'} 2025-10-22 07:47:06,592 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 07:47:06,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03678495 passed 2025-10-22 07:47:06,592 - DEBUG - ====Verifying policy data for ctest-vn-03678495 in API_Server ====== 2025-10-22 07:47:06,592 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-22 07:47:06,598 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a8047e00-9ca8-43f8-92c2-61dfce1119ea 2025-10-22 07:47:06,611 - DEBUG - Requesting: http://10.0.0.73:8082/project/0d500f6b-ffbc-4600-a59d-1c7379f2fd0d 2025-10-22 07:47:06,688 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/26e3155d-4336-4964-907d-398960921e31 2025-10-22 07:47:06,699 - DEBUG - ==>Verifying data for policy with id: f9602273-1381-41aa-8ed4-e5b40f656442, fqn: ['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-policy-allow-all-63139816'] 2025-10-22 07:47:06,699 - INFO - VN ctest-vn-03678495 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 07:47:06,699 - DEBUG - Verifying the vn in opserver 2025-10-22 07:47:06,699 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-03678495 virtual network link through opserver 10.0.0.73 2025-10-22 07:47:06,699 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-22 07:47:06,997 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-22 07:47:07,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-03678495', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-03678495?flat'} 2025-10-22 07:47:07,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-03678495 is found in opserver 2025-10-22 07:47:07,069 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 07:47:07,074 - DEBUG - VRF ids for VN ctest-vn-03678495: {} 2025-10-22 07:47:07,074 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-22 07:47:07,080 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a8047e00-9ca8-43f8-92c2-61dfce1119ea 2025-10-22 07:47:07,092 - DEBUG - Requesting: http://10.0.0.73:8082/project/0d500f6b-ffbc-4600-a59d-1c7379f2fd0d 2025-10-22 07:47:07,163 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/07e9eed3-29c0-45b9-8c06-2d963eff0458 2025-10-22 07:47:07,176 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/07e9eed3-29c0-45b9-8c06-2d963eff0458 2025-10-22 07:47:07,186 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/90027946-913c-4698-88a8-6eac79bf2379 2025-10-22 07:47:07,195 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/90027946-913c-4698-88a8-6eac79bf2379 2025-10-22 07:47:07,203 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/93ded131-5389-4b62-b94d-ac95f5524164 2025-10-22 07:47:07,212 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 07:47:07,212 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/07e9eed3-29c0-45b9-8c06-2d963eff0458 2025-10-22 07:47:07,224 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/90027946-913c-4698-88a8-6eac79bf2379 2025-10-22 07:47:07,239 - INFO - Verified VN network id 12 for VN 07e9eed3-29c0-45b9-8c06-2d963eff0458 2025-10-22 07:47:07,239 - INFO - Verifications in API Server for VN ctest-vn-91311060 passed 2025-10-22 07:47:07,239 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/07e9eed3-29c0-45b9-8c06-2d963eff0458 2025-10-22 07:47:07,248 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/90027946-913c-4698-88a8-6eac79bf2379 2025-10-22 07:47:07,255 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/90027946-913c-4698-88a8-6eac79bf2379 2025-10-22 07:47:07,263 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/93ded131-5389-4b62-b94d-ac95f5524164 2025-10-22 07:47:07,275 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-91311060', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97130820', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '570249418545055161', 'uuid-lslong': '10089802138495419480'}, 'enable': 'true', 'created': '2025-10-22T07:47:04', 'last-modified': '2025-10-22T07:47:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.438052'} 2025-10-22 07:47:07,280 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 07:47:07,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91311060 passed 2025-10-22 07:47:07,280 - DEBUG - ====Verifying policy data for ctest-vn-91311060 in API_Server ====== 2025-10-22 07:47:07,280 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-22 07:47:07,286 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a8047e00-9ca8-43f8-92c2-61dfce1119ea 2025-10-22 07:47:07,297 - DEBUG - Requesting: http://10.0.0.73:8082/project/0d500f6b-ffbc-4600-a59d-1c7379f2fd0d 2025-10-22 07:47:07,371 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/07e9eed3-29c0-45b9-8c06-2d963eff0458 2025-10-22 07:47:07,381 - DEBUG - ==>Verifying data for policy with id: f9602273-1381-41aa-8ed4-e5b40f656442, fqn: ['default-domain', 'ctest-TestBasicPolicy-97130820', 'ctest-policy-allow-all-63139816'] 2025-10-22 07:47:07,381 - INFO - VN ctest-vn-91311060 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 07:47:07,381 - DEBUG - Verifying the vn in opserver 2025-10-22 07:47:07,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-91311060 virtual network link through opserver 10.0.0.73 2025-10-22 07:47:07,381 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-22 07:47:07,391 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-91311060', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-91311060?flat'} 2025-10-22 07:47:07,391 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-91311060 is found in opserver 2025-10-22 07:47:07,401 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 07:47:07,405 - DEBUG - VRF ids for VN ctest-vn-91311060: {} 2025-10-22 07:47:07,466 - DEBUG - Services list from nova: [, , ] 2025-10-22 07:47:08,563 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4414-1) 2025-10-22 07:47:09,744 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4414-1) 2025-10-22 07:47:09,745 - INFO - Waiting for VM ctest-TestBasicPolicy-97130820-79096785 to be up.. 2025-10-22 07:47:09,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 07:47:14,928 - DEBUG - VM is in ACTIVE state now 2025-10-22 07:47:14,928 - INFO - VM name : ctest-TestBasicPolicy-97130820-79096785 2025-10-22 07:47:15,032 - DEBUG - VM ctest-TestBasicPolicy-97130820-79096785 ID is 29396781-f83c-4f0a-8663-409c33c7fa0e 2025-10-22 07:47:15,060 - DEBUG - VM ctest-TestBasicPolicy-97130820-79096785 launched on Node cn-jenkins-deploy-platform-ansible-os-4414-1 2025-10-22 07:47:15,157 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/29396781-f83c-4f0a-8663-409c33c7fa0e 2025-10-22 07:47:15,170 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/2c6554ab-3fd7-4028-9e60-312e76e9941a 2025-10-22 07:47:18,455 - 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 1030ms') 2025-10-22 07:47:18,455 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97130820-79096785 failed! 2025-10-22 07:47:18,513 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97130820:ctest-vn-03678495 is 49.132.11.1 and allocation pool is NOT set 2025-10-22 07:47:20,571 - 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=8.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.64 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 = 1.644/5.015/8.386/3.371 ms') 2025-10-22 07:47:20,572 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97130820-79096785 passed 2025-10-22 07:47:20,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:47:20,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97130820-79096785, IP 49.132.11.3, Port 22 2025-10-22 07:47:20,888 - DEBUG - VM ctest-TestBasicPolicy-97130820-79096785 is ready for SSH connections 2025-10-22 07:47:20,889 - INFO - Waiting for VM ctest-TestBasicPolicy-97130820-42377840 to be up.. 2025-10-22 07:47:20,971 - DEBUG - VM is in ACTIVE state now 2025-10-22 07:47:20,971 - INFO - VM name : ctest-TestBasicPolicy-97130820-42377840 2025-10-22 07:47:21,051 - DEBUG - VM ctest-TestBasicPolicy-97130820-42377840 ID is 03d7f8c5-919e-4a32-a1a4-53ad5c5943c2 2025-10-22 07:47:21,052 - DEBUG - VM ctest-TestBasicPolicy-97130820-42377840 launched on Node cn-jenkins-deploy-platform-ansible-os-4414-1 2025-10-22 07:47:21,138 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/03d7f8c5-919e-4a32-a1a4-53ad5c5943c2 2025-10-22 07:47:21,149 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/326d8c46-d7d9-46e8-98ed-986b8fc8b650 2025-10-22 07:47:22,385 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.597 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.597/1.834/3.072/1.237 ms') 2025-10-22 07:47:22,385 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97130820-42377840 passed 2025-10-22 07:47:22,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:47:22,541 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97130820-42377840, IP 156.129.223.67, Port 22 2025-10-22 07:47:22,697 - DEBUG - VM ctest-TestBasicPolicy-97130820-42377840 is ready for SSH connections 2025-10-22 07:47:22,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:47:22,697 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.129.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-22 07:47:22,698 - DEBUG - ping -s 56 -c 3 -W 1 156.129.223.67 2025-10-22 07:47:26,790 - DEBUG - PING 156.129.223.67 (156.129.223.67): 56 data bytes 64 bytes from 156.129.223.67: seq=0 ttl=63 time=3.902 ms 64 bytes from 156.129.223.67: seq=1 ttl=63 time=1.171 ms 64 bytes from 156.129.223.67: seq=2 ttl=63 time=1.221 ms --- 156.129.223.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.171/2.098/3.902 ms 2025-10-22 07:47:26,790 - INFO - Ping to IP 156.129.223.67 from VM ctest-TestBasicPolicy-97130820-79096785 passed 2025-10-22 07:47:26,965 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f9602273-1381-41aa-8ed4-e5b40f656442", "href": "http://10.0.0.73:8082/network-policy/f9602273-1381-41aa-8ed4-e5b40f656442"}} 2025-10-22 07:47:26,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 07:47:26,965 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.129.223.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-22 07:47:26,965 - DEBUG - ping -s 56 -c 3 -W 1 156.129.223.67 2025-10-22 07:47:30,175 - DEBUG - PING 156.129.223.67 (156.129.223.67): 56 data bytes --- 156.129.223.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 07:47:30,175 - WARNING - Ping to IP 156.129.223.67 from VM ctest-TestBasicPolicy-97130820-79096785 failed 2025-10-22 07:47:30,175 - INFO - Deleting VM ctest-TestBasicPolicy-97130820-42377840 2025-10-22 07:47:30,263 - INFO - Deleting VM ctest-TestBasicPolicy-97130820-79096785 2025-10-22 07:47:30,678 - INFO - Deleted policy ctest-policy-allow-all-63139816 2025-10-22 07:47:30,678 - INFO - Deleting VN ctest-vn-91311060 2025-10-22 07:47:30,728 - DEBUG - VN 07e9eed3-29c0-45b9-8c06-2d963eff0458 still in use: Unable to complete operation on network 07e9eed3-29c0-45b9-8c06-2d963eff0458. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34cae47d-8493-4136-9ade-e17860ee2fa1'] 2025-10-22 07:47:30,729 - WARNING - Deleting VN ctest-vn-91311060 failed..Will retry 2025-10-22 07:47:32,828 - DEBUG - Response for deleting network () 2025-10-22 07:47:32,828 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/90027946-913c-4698-88a8-6eac79bf2379 2025-10-22 07:47:32,834 - DEBUG - Response Code: 404 2025-10-22 07:47:32,834 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-22 07:47:32,839 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a8047e00-9ca8-43f8-92c2-61dfce1119ea 2025-10-22 07:47:32,895 - DEBUG - Requesting: http://10.0.0.73:8082/project/0d500f6b-ffbc-4600-a59d-1c7379f2fd0d 2025-10-22 07:47:32,969 - INFO - Validated that VN ctest-vn-91311060 is not found in API Server 2025-10-22 07:47:32,980 - DEBUG - VN ctest-vn-91311060 is not present in Agent 10.0.0.73 2025-10-22 07:47:32,980 - INFO - Validated that VN ctest-vn-91311060 is not in any agent 2025-10-22 07:47:32,997 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91311060 info 2025-10-22 07:47:32,997 - INFO - Deleting VN ctest-vn-03678495 2025-10-22 07:47:33,110 - DEBUG - Response for deleting network () 2025-10-22 07:47:33,110 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/b51f6db7-ddc6-4982-993a-b76f17689c64 2025-10-22 07:47:33,120 - DEBUG - Response Code: 404 2025-10-22 07:47:33,121 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-22 07:47:33,126 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a8047e00-9ca8-43f8-92c2-61dfce1119ea 2025-10-22 07:47:33,178 - DEBUG - Requesting: http://10.0.0.73:8082/project/0d500f6b-ffbc-4600-a59d-1c7379f2fd0d 2025-10-22 07:47:33,252 - INFO - Validated that VN ctest-vn-03678495 is not found in API Server 2025-10-22 07:47:33,263 - DEBUG - VN ctest-vn-03678495 is not present in Agent 10.0.0.73 2025-10-22 07:47:33,263 - INFO - Validated that VN ctest-vn-03678495 is not in any agent 2025-10-22 07:47:33,276 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03678495 info 2025-10-22 07:47:33,531 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 07:47:33,532 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-22 07:47:33,532 - INFO - -------------------------------------------------------------------------------- 2025-10-22 07:47:34,248 - INFO - Deleted project: ctest-TestBasicPolicy-97130820, ID : 0d500f6b-ffbc-4600-a59d-1c7379f2fd0d