2025-10-24 09:53:42,089 - INFO - Domain Default found not creating 2025-10-24 09:53:42,222 - INFO - Project ctest-TestBasicPolicy-19772992 not found, creating it 2025-10-24 09:53:42,667 - INFO - Created Project:ctest-TestBasicPolicy-19772992, ID : b61de723-219d-4806-9698-1d33cc5215ef 2025-10-24 09:53:44,066 - INFO - ================================================================================ 2025-10-24 09:53:44,066 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-24 09:53:44,066 - 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-24 09:53:44,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-24 09:53:44,327 - INFO - Initial checks done. Running the testcase now 2025-10-24 09:53:44,327 - INFO - 2025-10-24 09:53:44,854 - DEBUG - Response for create_network : {'network': {'id': '995450e1-18d7-4fa0-a13c-a29d10631fb0', 'name': 'ctest-vn-82558955', 'tenant_id': 'b61de723219d480696981d33cc5215ef', 'project_id': 'b61de723219d480696981d33cc5215ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-vn-82558955'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 09:53:45,062 - DEBUG - Response for create_subnet : {'subnet': {'id': '92d6ba7e-70d8-499b-8834-86b2c322d288', 'name': '', 'tenant_id': 'b61de723219d480696981d33cc5215ef', 'network_id': '995450e1-18d7-4fa0-a13c-a29d10631fb0', 'ip_version': 4, 'cidr': '222.193.173.192/26', 'allocation_pools': [{'start': '222.193.173.194', 'end': '222.193.173.254'}], 'gateway_ip': '222.193.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.193.173.194', 'tags': [], 'project_id': 'b61de723219d480696981d33cc5215ef'}} 2025-10-24 09:53:45,079 - INFO - Created VN ctest-vn-82558955 2025-10-24 09:53:45,130 - DEBUG - VN ctest-vn-82558955 UUID is 995450e1-18d7-4fa0-a13c-a29d10631fb0 2025-10-24 09:53:45,430 - DEBUG - Response for create_network : {'network': {'id': '8103bb4e-dbfa-4713-9e5b-688c04d8f71f', 'name': 'ctest-vn-72206237', 'tenant_id': 'b61de723219d480696981d33cc5215ef', 'project_id': 'b61de723219d480696981d33cc5215ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-vn-72206237'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 09:53:45,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '4aa4eb4c-645a-4cb2-82ae-a71e85d89d00', 'name': '', 'tenant_id': 'b61de723219d480696981d33cc5215ef', 'network_id': '8103bb4e-dbfa-4713-9e5b-688c04d8f71f', 'ip_version': 4, 'cidr': '44.111.87.128/26', 'allocation_pools': [{'start': '44.111.87.130', 'end': '44.111.87.190'}], 'gateway_ip': '44.111.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.111.87.130', 'tags': [], 'project_id': 'b61de723219d480696981d33cc5215ef'}} 2025-10-24 09:53:45,621 - INFO - Created VN ctest-vn-72206237 2025-10-24 09:53:45,670 - DEBUG - VN ctest-vn-72206237 UUID is 8103bb4e-dbfa-4713-9e5b-688c04d8f71f 2025-10-24 09:53:45,814 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-82558955, 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-19772992:ctest-vn-72206237, 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-24 09:53:46,169 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '995450e1-18d7-4fa0-a13c-a29d10631fb0', 'name': 'ctest-vn-82558955', 'tenant_id': 'b61de723219d480696981d33cc5215ef', 'project_id': 'b61de723219d480696981d33cc5215ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['92d6ba7e-70d8-499b-8834-86b2c322d288'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-vn-82558955'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-policy-allow-all-84498206']], 'subnet_ipam': [{'subnet_cidr': '222.193.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 09:53:46,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8103bb4e-dbfa-4713-9e5b-688c04d8f71f', 'name': 'ctest-vn-72206237', 'tenant_id': 'b61de723219d480696981d33cc5215ef', 'project_id': 'b61de723219d480696981d33cc5215ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4aa4eb4c-645a-4cb2-82ae-a71e85d89d00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-vn-72206237'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-policy-allow-all-84498206']], 'subnet_ipam': [{'subnet_cidr': '44.111.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-24 09:53:46,566 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-24 09:53:46,856 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-24 09:53:46,890 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d5a3a1f4-6255-4557-809e-1505926c114f 2025-10-24 09:53:46,903 - DEBUG - Requesting: http://10.0.0.33:8082/project/b61de723-219d-4806-9698-1d33cc5215ef 2025-10-24 09:53:46,970 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/995450e1-18d7-4fa0-a13c-a29d10631fb0 2025-10-24 09:53:46,989 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/995450e1-18d7-4fa0-a13c-a29d10631fb0 2025-10-24 09:53:46,997 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d800716f-6105-4d10-9e69-8ccf24747c93 2025-10-24 09:53:47,003 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d800716f-6105-4d10-9e69-8ccf24747c93 2025-10-24 09:53:47,009 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e5be3998-6e1e-40b8-975c-6ebdb519a377 2025-10-24 09:53:47,014 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 09:53:47,014 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/995450e1-18d7-4fa0-a13c-a29d10631fb0 2025-10-24 09:53:47,021 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d800716f-6105-4d10-9e69-8ccf24747c93 2025-10-24 09:53:47,033 - INFO - Verified VN network id 10 for VN 995450e1-18d7-4fa0-a13c-a29d10631fb0 2025-10-24 09:53:47,033 - INFO - Verifications in API Server for VN ctest-vn-82558955 passed 2025-10-24 09:53:47,034 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/995450e1-18d7-4fa0-a13c-a29d10631fb0 2025-10-24 09:53:47,042 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d800716f-6105-4d10-9e69-8ccf24747c93 2025-10-24 09:53:47,048 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d800716f-6105-4d10-9e69-8ccf24747c93 2025-10-24 09:53:47,053 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e5be3998-6e1e-40b8-975c-6ebdb519a377 2025-10-24 09:53:47,063 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-82558955', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19772992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11048544713561296800', 'uuid-lslong': '11618339934177533872'}, 'enable': 'true', 'created': '2025-10-24T09:53:44', 'last-modified': '2025-10-24T09:53:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912067'} 2025-10-24 09:53:47,069 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-24 09:53:47,069 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82558955 passed 2025-10-24 09:53:47,069 - DEBUG - ====Verifying policy data for ctest-vn-82558955 in API_Server ====== 2025-10-24 09:53:47,069 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-24 09:53:47,075 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d5a3a1f4-6255-4557-809e-1505926c114f 2025-10-24 09:53:47,084 - DEBUG - Requesting: http://10.0.0.33:8082/project/b61de723-219d-4806-9698-1d33cc5215ef 2025-10-24 09:53:47,155 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/995450e1-18d7-4fa0-a13c-a29d10631fb0 2025-10-24 09:53:47,163 - DEBUG - ==>Verifying data for policy with id: 4addc569-3bcc-47e8-980e-0526d4d1d2c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-policy-allow-all-84498206'] 2025-10-24 09:53:47,163 - INFO - VN ctest-vn-82558955 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 09:53:47,163 - DEBUG - Verifying the vn in opserver 2025-10-24 09:53:47,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-82558955 virtual network link through opserver 10.0.0.33 2025-10-24 09:53:47,163 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-24 09:53:47,451 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-24 09:53:47,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-82558955', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-82558955?flat'} 2025-10-24 09:53:47,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-82558955 is found in opserver 2025-10-24 09:53:47,527 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 09:53:47,538 - DEBUG - VRF ids for VN ctest-vn-82558955: {} 2025-10-24 09:53:47,538 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-24 09:53:47,565 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d5a3a1f4-6255-4557-809e-1505926c114f 2025-10-24 09:53:47,641 - DEBUG - Requesting: http://10.0.0.33:8082/project/b61de723-219d-4806-9698-1d33cc5215ef 2025-10-24 09:53:47,725 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8103bb4e-dbfa-4713-9e5b-688c04d8f71f 2025-10-24 09:53:47,738 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8103bb4e-dbfa-4713-9e5b-688c04d8f71f 2025-10-24 09:53:47,749 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee42e84d-c7a5-45d0-a211-f6b0e32b9e26 2025-10-24 09:53:47,756 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee42e84d-c7a5-45d0-a211-f6b0e32b9e26 2025-10-24 09:53:47,764 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d252fbc3-861d-4f5b-9944-6d9255db92dd 2025-10-24 09:53:47,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 09:53:47,775 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8103bb4e-dbfa-4713-9e5b-688c04d8f71f 2025-10-24 09:53:47,790 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee42e84d-c7a5-45d0-a211-f6b0e32b9e26 2025-10-24 09:53:47,814 - INFO - Verified VN network id 11 for VN 8103bb4e-dbfa-4713-9e5b-688c04d8f71f 2025-10-24 09:53:47,814 - INFO - Verifications in API Server for VN ctest-vn-72206237 passed 2025-10-24 09:53:47,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8103bb4e-dbfa-4713-9e5b-688c04d8f71f 2025-10-24 09:53:47,828 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee42e84d-c7a5-45d0-a211-f6b0e32b9e26 2025-10-24 09:53:47,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee42e84d-c7a5-45d0-a211-f6b0e32b9e26 2025-10-24 09:53:47,854 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d252fbc3-861d-4f5b-9944-6d9255db92dd 2025-10-24 09:53:47,871 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-72206237', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19772992', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9296480003195291411', 'uuid-lslong': '11410829031459321631'}, 'enable': 'true', 'created': '2025-10-24T09:53:45', 'last-modified': '2025-10-24T09:53:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.490749'} 2025-10-24 09:53:47,878 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-24 09:53:47,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72206237 passed 2025-10-24 09:53:47,879 - DEBUG - ====Verifying policy data for ctest-vn-72206237 in API_Server ====== 2025-10-24 09:53:47,879 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-24 09:53:47,891 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d5a3a1f4-6255-4557-809e-1505926c114f 2025-10-24 09:53:47,947 - DEBUG - Requesting: http://10.0.0.33:8082/project/b61de723-219d-4806-9698-1d33cc5215ef 2025-10-24 09:53:48,075 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8103bb4e-dbfa-4713-9e5b-688c04d8f71f 2025-10-24 09:53:48,087 - DEBUG - ==>Verifying data for policy with id: 4addc569-3bcc-47e8-980e-0526d4d1d2c8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19772992', 'ctest-policy-allow-all-84498206'] 2025-10-24 09:53:48,087 - INFO - VN ctest-vn-72206237 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-24 09:53:48,087 - DEBUG - Verifying the vn in opserver 2025-10-24 09:53:48,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-72206237 virtual network link through opserver 10.0.0.33 2025-10-24 09:53:48,087 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-24 09:53:48,100 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-72206237', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-72206237?flat'} 2025-10-24 09:53:48,101 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-72206237 is found in opserver 2025-10-24 09:53:48,116 - DEBUG - Do not have enough data to verify VN in agent 2025-10-24 09:53:48,121 - DEBUG - VRF ids for VN ctest-vn-72206237: {} 2025-10-24 09:53:48,194 - DEBUG - Services list from nova: [, , ] 2025-10-24 09:53:49,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4474-1) 2025-10-24 09:53:50,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4474-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4474-1) 2025-10-24 09:53:50,206 - INFO - Waiting for VM ctest-TestBasicPolicy-19772992-48891722 to be up.. 2025-10-24 09:53:50,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 09:53:55,351 - DEBUG - VM is in ACTIVE state now 2025-10-24 09:53:55,351 - INFO - VM name : ctest-TestBasicPolicy-19772992-48891722 2025-10-24 09:53:55,428 - DEBUG - VM ctest-TestBasicPolicy-19772992-48891722 ID is bc200fe1-0635-481a-afbc-5abbb6fc1bc7 2025-10-24 09:53:55,446 - DEBUG - VM ctest-TestBasicPolicy-19772992-48891722 launched on Node cn-jenkins-deploy-platform-ansible-os-4474-1 2025-10-24 09:53:55,516 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/bc200fe1-0635-481a-afbc-5abbb6fc1bc7 2025-10-24 09:53:55,525 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cf946ded-ba7f-4ff3-acb1-0f9b84d18161 2025-10-24 09:53:58,771 - 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 1015ms') 2025-10-24 09:53:58,771 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19772992-48891722 failed! 2025-10-24 09:53:58,826 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19772992:ctest-vn-82558955 is 222.193.173.193 and allocation pool is NOT set 2025-10-24 09:54:00,888 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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.503/1.882/3.262/1.379 ms') 2025-10-24 09:54:00,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19772992-48891722 passed 2025-10-24 09:54:01,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:54:01,039 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19772992-48891722, IP 222.193.173.195, Port 22 2025-10-24 09:54:01,194 - DEBUG - VM ctest-TestBasicPolicy-19772992-48891722 is ready for SSH connections 2025-10-24 09:54:01,194 - INFO - Waiting for VM ctest-TestBasicPolicy-19772992-63231026 to be up.. 2025-10-24 09:54:01,268 - DEBUG - VM is in ACTIVE state now 2025-10-24 09:54:01,268 - INFO - VM name : ctest-TestBasicPolicy-19772992-63231026 2025-10-24 09:54:01,346 - DEBUG - VM ctest-TestBasicPolicy-19772992-63231026 ID is 9a94988b-05b0-49f7-884b-4b4f7cf3f59f 2025-10-24 09:54:01,346 - DEBUG - VM ctest-TestBasicPolicy-19772992-63231026 launched on Node cn-jenkins-deploy-platform-ansible-os-4474-1 2025-10-24 09:54:01,412 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9a94988b-05b0-49f7-884b-4b4f7cf3f59f 2025-10-24 09:54:01,419 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0ecdeea8-f80d-47d9-9912-1dabd02bf4f1 2025-10-24 09:54:02,648 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.736/2.970/1.234 ms') 2025-10-24 09:54:02,648 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19772992-63231026 passed 2025-10-24 09:54:02,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:54:02,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19772992-63231026, IP 44.111.87.131, Port 22 2025-10-24 09:54:02,950 - DEBUG - VM ctest-TestBasicPolicy-19772992-63231026 is ready for SSH connections 2025-10-24 09:54:02,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:54:02,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.111.87.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-24 09:54:02,951 - DEBUG - ping -s 56 -c 3 -W 1 44.111.87.131 2025-10-24 09:54:06,642 - DEBUG - PING 44.111.87.131 (44.111.87.131): 56 data bytes 64 bytes from 44.111.87.131: seq=0 ttl=63 time=3.693 ms 64 bytes from 44.111.87.131: seq=1 ttl=63 time=0.921 ms 64 bytes from 44.111.87.131: seq=2 ttl=63 time=0.958 ms --- 44.111.87.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.921/1.857/3.693 ms 2025-10-24 09:54:06,642 - INFO - Ping to IP 44.111.87.131 from VM ctest-TestBasicPolicy-19772992-48891722 passed 2025-10-24 09:54:06,818 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4addc569-3bcc-47e8-980e-0526d4d1d2c8", "href": "http://10.0.0.33:8082/network-policy/4addc569-3bcc-47e8-980e-0526d4d1d2c8"}} 2025-10-24 09:54:06,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 09:54:06,819 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.111.87.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-24 09:54:06,819 - DEBUG - ping -s 56 -c 3 -W 1 44.111.87.131 2025-10-24 09:54:10,033 - DEBUG - PING 44.111.87.131 (44.111.87.131): 56 data bytes --- 44.111.87.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-24 09:54:10,033 - WARNING - Ping to IP 44.111.87.131 from VM ctest-TestBasicPolicy-19772992-48891722 failed 2025-10-24 09:54:10,033 - INFO - Deleting VM ctest-TestBasicPolicy-19772992-63231026 2025-10-24 09:54:10,101 - INFO - Deleting VM ctest-TestBasicPolicy-19772992-48891722 2025-10-24 09:54:10,494 - INFO - Deleted policy ctest-policy-allow-all-84498206 2025-10-24 09:54:10,495 - INFO - Deleting VN ctest-vn-72206237 2025-10-24 09:54:10,529 - DEBUG - VN 8103bb4e-dbfa-4713-9e5b-688c04d8f71f still in use: Unable to complete operation on network 8103bb4e-dbfa-4713-9e5b-688c04d8f71f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-95b9bafd-ddb1-446c-a9f6-88a992690b80'] 2025-10-24 09:54:10,529 - WARNING - Deleting VN ctest-vn-72206237 failed..Will retry 2025-10-24 09:54:12,616 - DEBUG - Response for deleting network () 2025-10-24 09:54:12,617 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ee42e84d-c7a5-45d0-a211-f6b0e32b9e26 2025-10-24 09:54:12,621 - DEBUG - Response Code: 404 2025-10-24 09:54:12,621 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-24 09:54:12,626 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d5a3a1f4-6255-4557-809e-1505926c114f 2025-10-24 09:54:12,680 - DEBUG - Requesting: http://10.0.0.33:8082/project/b61de723-219d-4806-9698-1d33cc5215ef 2025-10-24 09:54:12,745 - INFO - Validated that VN ctest-vn-72206237 is not found in API Server 2025-10-24 09:54:12,756 - DEBUG - VN ctest-vn-72206237 is not present in Agent 10.0.0.33 2025-10-24 09:54:12,756 - INFO - Validated that VN ctest-vn-72206237 is not in any agent 2025-10-24 09:54:12,769 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72206237 info 2025-10-24 09:54:12,769 - INFO - Deleting VN ctest-vn-82558955 2025-10-24 09:54:12,857 - DEBUG - Response for deleting network () 2025-10-24 09:54:12,857 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d800716f-6105-4d10-9e69-8ccf24747c93 2025-10-24 09:54:12,863 - DEBUG - Response Code: 404 2025-10-24 09:54:12,863 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-24 09:54:12,869 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d5a3a1f4-6255-4557-809e-1505926c114f 2025-10-24 09:54:12,919 - DEBUG - Requesting: http://10.0.0.33:8082/project/b61de723-219d-4806-9698-1d33cc5215ef 2025-10-24 09:54:12,986 - INFO - Validated that VN ctest-vn-82558955 is not found in API Server 2025-10-24 09:54:12,995 - DEBUG - VN ctest-vn-82558955 is not present in Agent 10.0.0.33 2025-10-24 09:54:12,995 - INFO - Validated that VN ctest-vn-82558955 is not in any agent 2025-10-24 09:54:13,008 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82558955 info 2025-10-24 09:54:13,263 - DEBUG - No XMPP flaps were noticed during the test 2025-10-24 09:54:13,263 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-24 09:54:13,263 - INFO - -------------------------------------------------------------------------------- 2025-10-24 09:54:13,923 - INFO - Deleted project: ctest-TestBasicPolicy-19772992, ID : b61de723-219d-4806-9698-1d33cc5215ef