2025-09-09 22:53:13,017 - INFO - Domain Default found not creating 2025-09-09 22:53:13,160 - INFO - Project ctest-TestBasicPolicy-82178977 not found, creating it 2025-09-09 22:53:13,611 - INFO - Created Project:ctest-TestBasicPolicy-82178977, ID : 73b6c0ca-17e8-4064-8282-290df35a6df8 2025-09-09 22:53:14,989 - INFO - ================================================================================ 2025-09-09 22:53:14,989 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-09 22:53:14,989 - 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-09 22:53:15,247 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-09 22:53:15,247 - INFO - Initial checks done. Running the testcase now 2025-09-09 22:53:15,247 - INFO - 2025-09-09 22:53:15,786 - DEBUG - Response for create_network : {'network': {'id': 'cf194a65-67a8-41eb-9d39-90cc21b7e5aa', 'name': 'ctest-vn-94439368', 'tenant_id': '73b6c0ca17e840648282290df35a6df8', 'project_id': '73b6c0ca17e840648282290df35a6df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-vn-94439368'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 22:53:15,945 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a32cb386-ec28-4119-83b6-6294955f2963', 'name': '', 'tenant_id': '73b6c0ca17e840648282290df35a6df8', 'network_id': 'cf194a65-67a8-41eb-9d39-90cc21b7e5aa', 'ip_version': 4, 'cidr': '89.95.72.0/26', 'allocation_pools': [{'start': '89.95.72.2', 'end': '89.95.72.62'}], 'gateway_ip': '89.95.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.95.72.2', 'tags': [], 'project_id': '73b6c0ca17e840648282290df35a6df8'}} 2025-09-09 22:53:15,961 - INFO - Created VN ctest-vn-94439368 2025-09-09 22:53:16,011 - DEBUG - VN ctest-vn-94439368 UUID is cf194a65-67a8-41eb-9d39-90cc21b7e5aa 2025-09-09 22:53:16,316 - DEBUG - Response for create_network : {'network': {'id': 'e51263da-3310-49f1-9f32-ce1699b36f14', 'name': 'ctest-vn-19757444', 'tenant_id': '73b6c0ca17e840648282290df35a6df8', 'project_id': '73b6c0ca17e840648282290df35a6df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-vn-19757444'], 'port_security_enabled': True, 'description': ''}} 2025-09-09 22:53:16,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '642515fc-3155-405b-8fc3-c18920e205d3', 'name': '', 'tenant_id': '73b6c0ca17e840648282290df35a6df8', 'network_id': 'e51263da-3310-49f1-9f32-ce1699b36f14', 'ip_version': 4, 'cidr': '153.147.252.128/26', 'allocation_pools': [{'start': '153.147.252.130', 'end': '153.147.252.190'}], 'gateway_ip': '153.147.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.147.252.130', 'tags': [], 'project_id': '73b6c0ca17e840648282290df35a6df8'}} 2025-09-09 22:53:16,468 - INFO - Created VN ctest-vn-19757444 2025-09-09 22:53:16,519 - DEBUG - VN ctest-vn-19757444 UUID is e51263da-3310-49f1-9f32-ce1699b36f14 2025-09-09 22:53:16,659 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-94439368, 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-82178977:ctest-vn-19757444, 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-09 22:53:16,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf194a65-67a8-41eb-9d39-90cc21b7e5aa', 'name': 'ctest-vn-94439368', 'tenant_id': '73b6c0ca17e840648282290df35a6df8', 'project_id': '73b6c0ca17e840648282290df35a6df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a32cb386-ec28-4119-83b6-6294955f2963'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-vn-94439368'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-policy-allow-all-21925508']], 'subnet_ipam': [{'subnet_cidr': '89.95.72.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-09 22:53:17,170 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e51263da-3310-49f1-9f32-ce1699b36f14', 'name': 'ctest-vn-19757444', 'tenant_id': '73b6c0ca17e840648282290df35a6df8', 'project_id': '73b6c0ca17e840648282290df35a6df8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['642515fc-3155-405b-8fc3-c18920e205d3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-vn-19757444'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-policy-allow-all-21925508']], 'subnet_ipam': [{'subnet_cidr': '153.147.252.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-09 22:53:17,339 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 22:53:17,632 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 22:53:17,662 - DEBUG - Requesting: http://10.0.0.22:8082/domain/895af511-6514-4b32-8f26-1df8e0ce6baf 2025-09-09 22:53:17,675 - DEBUG - Requesting: http://10.0.0.22:8082/project/73b6c0ca-17e8-4064-8282-290df35a6df8 2025-09-09 22:53:17,749 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf194a65-67a8-41eb-9d39-90cc21b7e5aa 2025-09-09 22:53:17,759 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf194a65-67a8-41eb-9d39-90cc21b7e5aa 2025-09-09 22:53:17,767 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfbc1239-3065-4e0e-a4e0-fa15b8fbba83 2025-09-09 22:53:17,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfbc1239-3065-4e0e-a4e0-fa15b8fbba83 2025-09-09 22:53:17,780 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/86a890bb-58a2-457a-b433-477f2e750eec 2025-09-09 22:53:17,786 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-09 22:53:17,786 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf194a65-67a8-41eb-9d39-90cc21b7e5aa 2025-09-09 22:53:17,794 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfbc1239-3065-4e0e-a4e0-fa15b8fbba83 2025-09-09 22:53:17,807 - INFO - Verified VN network id 12 for VN cf194a65-67a8-41eb-9d39-90cc21b7e5aa 2025-09-09 22:53:17,807 - INFO - Verifications in API Server for VN ctest-vn-94439368 passed 2025-09-09 22:53:17,808 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf194a65-67a8-41eb-9d39-90cc21b7e5aa 2025-09-09 22:53:17,816 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfbc1239-3065-4e0e-a4e0-fa15b8fbba83 2025-09-09 22:53:17,822 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfbc1239-3065-4e0e-a4e0-fa15b8fbba83 2025-09-09 22:53:17,827 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/86a890bb-58a2-457a-b433-477f2e750eec 2025-09-09 22:53:17,837 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-94439368', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82178977', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14923040639660081643', 'uuid-lslong': '11329245544040621482'}, 'enable': 'true', 'created': '2025-09-09T22:53:15', 'last-modified': '2025-09-09T22:53:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907922'} 2025-09-09 22:53:17,843 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-09 22:53:17,843 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94439368 passed 2025-09-09 22:53:17,843 - DEBUG - ====Verifying policy data for ctest-vn-94439368 in API_Server ====== 2025-09-09 22:53:17,843 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 22:53:17,848 - DEBUG - Requesting: http://10.0.0.22:8082/domain/895af511-6514-4b32-8f26-1df8e0ce6baf 2025-09-09 22:53:17,857 - DEBUG - Requesting: http://10.0.0.22:8082/project/73b6c0ca-17e8-4064-8282-290df35a6df8 2025-09-09 22:53:17,926 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cf194a65-67a8-41eb-9d39-90cc21b7e5aa 2025-09-09 22:53:17,934 - DEBUG - ==>Verifying data for policy with id: 0b420460-151c-4aef-a1ec-0a30b15561f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-policy-allow-all-21925508'] 2025-09-09 22:53:17,934 - INFO - VN ctest-vn-94439368 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-09 22:53:17,934 - DEBUG - Verifying the vn in opserver 2025-09-09 22:53:17,934 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-94439368 virtual network link through opserver 10.0.0.22 2025-09-09 22:53:17,934 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-09 22:53:18,224 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-09 22:53:18,274 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-94439368', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-94439368?flat'} 2025-09-09 22:53:18,274 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-94439368 is found in opserver 2025-09-09 22:53:18,283 - DEBUG - Do not have enough data to verify VN in agent 2025-09-09 22:53:18,287 - DEBUG - VRF ids for VN ctest-vn-94439368: {} 2025-09-09 22:53:18,287 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 22:53:18,292 - DEBUG - Requesting: http://10.0.0.22:8082/domain/895af511-6514-4b32-8f26-1df8e0ce6baf 2025-09-09 22:53:18,303 - DEBUG - Requesting: http://10.0.0.22:8082/project/73b6c0ca-17e8-4064-8282-290df35a6df8 2025-09-09 22:53:18,375 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e51263da-3310-49f1-9f32-ce1699b36f14 2025-09-09 22:53:18,386 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e51263da-3310-49f1-9f32-ce1699b36f14 2025-09-09 22:53:18,394 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53576eb8-1ed7-4e53-be9f-cc7024224148 2025-09-09 22:53:18,401 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53576eb8-1ed7-4e53-be9f-cc7024224148 2025-09-09 22:53:18,408 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c756f6b0-aaf9-4443-bd8e-ace2a74ce1df 2025-09-09 22:53:18,415 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-09 22:53:18,415 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e51263da-3310-49f1-9f32-ce1699b36f14 2025-09-09 22:53:18,424 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53576eb8-1ed7-4e53-be9f-cc7024224148 2025-09-09 22:53:18,437 - INFO - Verified VN network id 13 for VN e51263da-3310-49f1-9f32-ce1699b36f14 2025-09-09 22:53:18,438 - INFO - Verifications in API Server for VN ctest-vn-19757444 passed 2025-09-09 22:53:18,438 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e51263da-3310-49f1-9f32-ce1699b36f14 2025-09-09 22:53:18,446 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53576eb8-1ed7-4e53-be9f-cc7024224148 2025-09-09 22:53:18,452 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53576eb8-1ed7-4e53-be9f-cc7024224148 2025-09-09 22:53:18,459 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c756f6b0-aaf9-4443-bd8e-ace2a74ce1df 2025-09-09 22:53:18,472 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-19757444', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82178977', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16506365373077015025', 'uuid-lslong': '11471457797329350420'}, 'enable': 'true', 'created': '2025-09-09T22:53:16', 'last-modified': '2025-09-09T22:53:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321290'} 2025-09-09 22:53:18,477 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-09 22:53:18,477 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19757444 passed 2025-09-09 22:53:18,477 - DEBUG - ====Verifying policy data for ctest-vn-19757444 in API_Server ====== 2025-09-09 22:53:18,477 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 22:53:18,481 - DEBUG - Requesting: http://10.0.0.22:8082/domain/895af511-6514-4b32-8f26-1df8e0ce6baf 2025-09-09 22:53:18,490 - DEBUG - Requesting: http://10.0.0.22:8082/project/73b6c0ca-17e8-4064-8282-290df35a6df8 2025-09-09 22:53:18,559 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e51263da-3310-49f1-9f32-ce1699b36f14 2025-09-09 22:53:18,568 - DEBUG - ==>Verifying data for policy with id: 0b420460-151c-4aef-a1ec-0a30b15561f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-82178977', 'ctest-policy-allow-all-21925508'] 2025-09-09 22:53:18,568 - INFO - VN ctest-vn-19757444 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-09 22:53:18,568 - DEBUG - Verifying the vn in opserver 2025-09-09 22:53:18,568 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-19757444 virtual network link through opserver 10.0.0.22 2025-09-09 22:53:18,568 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-09 22:53:18,578 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-19757444', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-19757444?flat'} 2025-09-09 22:53:18,578 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-19757444 is found in opserver 2025-09-09 22:53:18,586 - DEBUG - Do not have enough data to verify VN in agent 2025-09-09 22:53:18,590 - DEBUG - VRF ids for VN ctest-vn-19757444: {} 2025-09-09 22:53:18,647 - DEBUG - Services list from nova: [, , ] 2025-09-09 22:53:19,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1) 2025-09-09 22:53:20,722 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4063-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4063-1) 2025-09-09 22:53:20,722 - INFO - Waiting for VM ctest-TestBasicPolicy-82178977-88689036 to be up.. 2025-09-09 22:53:20,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-09 22:53:25,883 - DEBUG - VM is in ACTIVE state now 2025-09-09 22:53:25,883 - INFO - VM name : ctest-TestBasicPolicy-82178977-88689036 2025-09-09 22:53:25,951 - DEBUG - VM ctest-TestBasicPolicy-82178977-88689036 ID is 6c6cdda3-0bd1-4b53-af94-461c1869d2df 2025-09-09 22:53:25,969 - DEBUG - VM ctest-TestBasicPolicy-82178977-88689036 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1 2025-09-09 22:53:26,038 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6c6cdda3-0bd1-4b53-af94-461c1869d2df 2025-09-09 22:53:26,045 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/61994318-ab3e-450a-845f-fea1506d472f 2025-09-09 22:53:29,287 - 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 1003ms') 2025-09-09 22:53:29,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82178977-88689036 failed! 2025-09-09 22:53:29,347 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82178977:ctest-vn-94439368 is 89.95.72.1 and allocation pool is NOT set 2025-09-09 22:53:31,407 - 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.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.405 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.405/1.741/3.077/1.336 ms') 2025-09-09 22:53:31,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82178977-88689036 passed 2025-09-09 22:53:31,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:53:31,559 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82178977-88689036, IP 89.95.72.3, Port 22 2025-09-09 22:53:31,733 - DEBUG - VM ctest-TestBasicPolicy-82178977-88689036 is ready for SSH connections 2025-09-09 22:53:31,733 - INFO - Waiting for VM ctest-TestBasicPolicy-82178977-01685603 to be up.. 2025-09-09 22:53:31,809 - DEBUG - VM is in ACTIVE state now 2025-09-09 22:53:31,809 - INFO - VM name : ctest-TestBasicPolicy-82178977-01685603 2025-09-09 22:53:31,884 - DEBUG - VM ctest-TestBasicPolicy-82178977-01685603 ID is 7b212cbd-3666-4111-9dbf-749b534f0448 2025-09-09 22:53:31,884 - DEBUG - VM ctest-TestBasicPolicy-82178977-01685603 launched on Node cn-jenkins-deploy-platform-ansible-os-4063-1 2025-09-09 22:53:31,966 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7b212cbd-3666-4111-9dbf-749b534f0448 2025-09-09 22:53:31,981 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5a613a1b-6960-4c2e-b362-90de97cf6d01 2025-09-09 22:53:33,221 - 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=5.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.86 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 = 1.863/3.521/5.180/1.658 ms') 2025-09-09 22:53:33,221 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82178977-01685603 passed 2025-09-09 22:53:33,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:53:33,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82178977-01685603, IP 153.147.252.131, Port 22 2025-09-09 22:53:33,523 - DEBUG - VM ctest-TestBasicPolicy-82178977-01685603 is ready for SSH connections 2025-09-09 22:53:33,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:53:33,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.147.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-09 22:53:33,523 - DEBUG - ping -s 56 -c 3 -W 1 153.147.252.131 2025-09-09 22:53:37,186 - DEBUG - PING 153.147.252.131 (153.147.252.131): 56 data bytes 64 bytes from 153.147.252.131: seq=0 ttl=63 time=3.515 ms 64 bytes from 153.147.252.131: seq=1 ttl=63 time=0.789 ms 64 bytes from 153.147.252.131: seq=2 ttl=63 time=0.720 ms --- 153.147.252.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.720/1.674/3.515 ms 2025-09-09 22:53:37,186 - INFO - Ping to IP 153.147.252.131 from VM ctest-TestBasicPolicy-82178977-88689036 passed 2025-09-09 22:53:37,355 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0b420460-151c-4aef-a1ec-0a30b15561f0", "href": "http://10.0.0.22:8082/network-policy/0b420460-151c-4aef-a1ec-0a30b15561f0"}} 2025-09-09 22:53:37,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-09 22:53:37,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.147.252.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-09 22:53:37,356 - DEBUG - ping -s 56 -c 3 -W 1 153.147.252.131 2025-09-09 22:53:40,584 - DEBUG - PING 153.147.252.131 (153.147.252.131): 56 data bytes --- 153.147.252.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-09 22:53:40,584 - WARNING - Ping to IP 153.147.252.131 from VM ctest-TestBasicPolicy-82178977-88689036 failed 2025-09-09 22:53:40,584 - INFO - Deleting VM ctest-TestBasicPolicy-82178977-01685603 2025-09-09 22:53:40,653 - INFO - Deleting VM ctest-TestBasicPolicy-82178977-88689036 2025-09-09 22:53:41,025 - INFO - Deleted policy ctest-policy-allow-all-21925508 2025-09-09 22:53:41,025 - INFO - Deleting VN ctest-vn-19757444 2025-09-09 22:53:41,056 - DEBUG - VN e51263da-3310-49f1-9f32-ce1699b36f14 still in use: Unable to complete operation on network e51263da-3310-49f1-9f32-ce1699b36f14. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8105d152-a09d-48df-b6cf-e399220fc226'] 2025-09-09 22:53:41,056 - WARNING - Deleting VN ctest-vn-19757444 failed..Will retry 2025-09-09 22:53:43,155 - DEBUG - Response for deleting network () 2025-09-09 22:53:43,155 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/53576eb8-1ed7-4e53-be9f-cc7024224148 2025-09-09 22:53:43,161 - DEBUG - Response Code: 404 2025-09-09 22:53:43,161 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 22:53:43,165 - DEBUG - Requesting: http://10.0.0.22:8082/domain/895af511-6514-4b32-8f26-1df8e0ce6baf 2025-09-09 22:53:43,217 - DEBUG - Requesting: http://10.0.0.22:8082/project/73b6c0ca-17e8-4064-8282-290df35a6df8 2025-09-09 22:53:43,283 - INFO - Validated that VN ctest-vn-19757444 is not found in API Server 2025-09-09 22:53:43,291 - DEBUG - VN ctest-vn-19757444 is not present in Agent 10.0.0.22 2025-09-09 22:53:43,291 - INFO - Validated that VN ctest-vn-19757444 is not in any agent 2025-09-09 22:53:43,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19757444 info 2025-09-09 22:53:43,304 - INFO - Deleting VN ctest-vn-94439368 2025-09-09 22:53:43,392 - DEBUG - Response for deleting network () 2025-09-09 22:53:43,392 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfbc1239-3065-4e0e-a4e0-fa15b8fbba83 2025-09-09 22:53:43,397 - DEBUG - Response Code: 404 2025-09-09 22:53:43,397 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-09 22:53:43,405 - DEBUG - Requesting: http://10.0.0.22:8082/domain/895af511-6514-4b32-8f26-1df8e0ce6baf 2025-09-09 22:53:43,460 - DEBUG - Requesting: http://10.0.0.22:8082/project/73b6c0ca-17e8-4064-8282-290df35a6df8 2025-09-09 22:53:43,530 - INFO - Validated that VN ctest-vn-94439368 is not found in API Server 2025-09-09 22:53:43,540 - DEBUG - VN ctest-vn-94439368 is not present in Agent 10.0.0.22 2025-09-09 22:53:43,540 - INFO - Validated that VN ctest-vn-94439368 is not in any agent 2025-09-09 22:53:43,552 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94439368 info 2025-09-09 22:53:43,805 - DEBUG - No XMPP flaps were noticed during the test
2025-09-09 22:53:43,805 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-09 22:53:43,805 - INFO - -------------------------------------------------------------------------------- 2025-09-09 22:53:44,486 - INFO - Deleted project: ctest-TestBasicPolicy-82178977, ID : 73b6c0ca-17e8-4064-8282-290df35a6df8