2025-10-06 16:11:51,796 - INFO - Domain Default found not creating 2025-10-06 16:11:51,958 - INFO - Project ctest-TestBasicPolicy-54531631 not found, creating it 2025-10-06 16:11:52,433 - INFO - Created Project:ctest-TestBasicPolicy-54531631, ID : 5d393cbe-4b07-4cae-920d-bdcdd0ead0cb 2025-10-06 16:11:53,912 - INFO - ================================================================================ 2025-10-06 16:11:53,912 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-06 16:11:53,912 - 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-06 16:11:54,169 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-06 16:11:54,169 - INFO - Initial checks done. Running the testcase now 2025-10-06 16:11:54,169 - INFO - 2025-10-06 16:11:54,708 - DEBUG - Response for create_network : {'network': {'id': '019a2154-dca9-4bbe-955a-78a3b31bfd51', 'name': 'ctest-vn-45084593', 'tenant_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'project_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-vn-45084593'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:11:54,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d6f1f2c-2681-424e-9835-0e537baa0988', 'name': '', 'tenant_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'network_id': '019a2154-dca9-4bbe-955a-78a3b31bfd51', 'ip_version': 4, 'cidr': '106.229.195.128/26', 'allocation_pools': [{'start': '106.229.195.130', 'end': '106.229.195.190'}], 'gateway_ip': '106.229.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.229.195.130', 'tags': [], 'project_id': '5d393cbe4b074cae920dbdcdd0ead0cb'}} 2025-10-06 16:11:54,924 - INFO - Created VN ctest-vn-45084593 2025-10-06 16:11:54,975 - DEBUG - VN ctest-vn-45084593 UUID is 019a2154-dca9-4bbe-955a-78a3b31bfd51 2025-10-06 16:11:55,285 - DEBUG - Response for create_network : {'network': {'id': '57b0846f-f405-491d-8502-e99c536e4109', 'name': 'ctest-vn-07047693', 'tenant_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'project_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-vn-07047693'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:11:55,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '8551451c-e9b2-4c49-8025-f7a4c3d369f8', 'name': '', 'tenant_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'network_id': '57b0846f-f405-491d-8502-e99c536e4109', 'ip_version': 4, 'cidr': '41.54.186.192/26', 'allocation_pools': [{'start': '41.54.186.194', 'end': '41.54.186.254'}], 'gateway_ip': '41.54.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.54.186.194', 'tags': [], 'project_id': '5d393cbe4b074cae920dbdcdd0ead0cb'}} 2025-10-06 16:11:55,456 - INFO - Created VN ctest-vn-07047693 2025-10-06 16:11:55,511 - DEBUG - VN ctest-vn-07047693 UUID is 57b0846f-f405-491d-8502-e99c536e4109 2025-10-06 16:11:55,663 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-45084593, 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-54531631:ctest-vn-07047693, 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-06 16:11:55,953 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '019a2154-dca9-4bbe-955a-78a3b31bfd51', 'name': 'ctest-vn-45084593', 'tenant_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'project_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d6f1f2c-2681-424e-9835-0e537baa0988'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-vn-45084593'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-policy-allow-all-04322226']], 'subnet_ipam': [{'subnet_cidr': '106.229.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:11:56,233 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57b0846f-f405-491d-8502-e99c536e4109', 'name': 'ctest-vn-07047693', 'tenant_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'project_id': '5d393cbe4b074cae920dbdcdd0ead0cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8551451c-e9b2-4c49-8025-f7a4c3d369f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-vn-07047693'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-policy-allow-all-04322226']], 'subnet_ipam': [{'subnet_cidr': '41.54.186.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-06 16:11:56,379 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-06 16:11:56,674 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-06 16:11:56,703 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4d3ba2d9-9eef-4910-a9c2-3a1aafdaccfe 2025-10-06 16:11:56,715 - DEBUG - Requesting: http://10.0.0.50:8082/project/5d393cbe-4b07-4cae-920d-bdcdd0ead0cb 2025-10-06 16:11:56,790 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/019a2154-dca9-4bbe-955a-78a3b31bfd51 2025-10-06 16:11:56,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/019a2154-dca9-4bbe-955a-78a3b31bfd51 2025-10-06 16:11:56,808 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd19bb06-c2b4-48f2-8f4b-5f5d0194adfc 2025-10-06 16:11:56,815 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd19bb06-c2b4-48f2-8f4b-5f5d0194adfc 2025-10-06 16:11:56,821 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ef440483-b02b-45ba-a9db-47b1035e2dda 2025-10-06 16:11:56,827 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 16:11:56,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/019a2154-dca9-4bbe-955a-78a3b31bfd51 2025-10-06 16:11:56,835 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd19bb06-c2b4-48f2-8f4b-5f5d0194adfc 2025-10-06 16:11:56,848 - INFO - Verified VN network id 11 for VN 019a2154-dca9-4bbe-955a-78a3b31bfd51 2025-10-06 16:11:56,848 - INFO - Verifications in API Server for VN ctest-vn-45084593 passed 2025-10-06 16:11:56,848 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/019a2154-dca9-4bbe-955a-78a3b31bfd51 2025-10-06 16:11:56,857 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd19bb06-c2b4-48f2-8f4b-5f5d0194adfc 2025-10-06 16:11:56,864 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd19bb06-c2b4-48f2-8f4b-5f5d0194adfc 2025-10-06 16:11:56,871 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ef440483-b02b-45ba-a9db-47b1035e2dda 2025-10-06 16:11:56,884 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-45084593', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54531631', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '115441388814420926', 'uuid-lslong': '10762046904035179857'}, 'enable': 'true', 'created': '2025-10-06T16:11:54', 'last-modified': '2025-10-06T16:11:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.951309'} 2025-10-06 16:11:56,891 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-06 16:11:56,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45084593 passed 2025-10-06 16:11:56,891 - DEBUG - ====Verifying policy data for ctest-vn-45084593 in API_Server ====== 2025-10-06 16:11:56,891 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-06 16:11:56,897 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4d3ba2d9-9eef-4910-a9c2-3a1aafdaccfe 2025-10-06 16:11:56,908 - DEBUG - Requesting: http://10.0.0.50:8082/project/5d393cbe-4b07-4cae-920d-bdcdd0ead0cb 2025-10-06 16:11:56,977 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/019a2154-dca9-4bbe-955a-78a3b31bfd51 2025-10-06 16:11:56,985 - DEBUG - ==>Verifying data for policy with id: 093a4afa-0b22-4e56-a2cb-e632b2158fa3, fqn: ['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-policy-allow-all-04322226'] 2025-10-06 16:11:56,985 - INFO - VN ctest-vn-45084593 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 16:11:56,985 - DEBUG - Verifying the vn in opserver 2025-10-06 16:11:56,985 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-45084593 virtual network link through opserver 10.0.0.50 2025-10-06 16:11:56,985 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-06 16:11:57,281 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-06 16:11:57,341 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-45084593', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-45084593?flat'} 2025-10-06 16:11:57,341 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-45084593 is found in opserver 2025-10-06 16:11:57,350 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 16:11:57,354 - DEBUG - VRF ids for VN ctest-vn-45084593: {} 2025-10-06 16:11:57,354 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-06 16:11:57,360 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4d3ba2d9-9eef-4910-a9c2-3a1aafdaccfe 2025-10-06 16:11:57,371 - DEBUG - Requesting: http://10.0.0.50:8082/project/5d393cbe-4b07-4cae-920d-bdcdd0ead0cb 2025-10-06 16:11:57,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57b0846f-f405-491d-8502-e99c536e4109 2025-10-06 16:11:57,450 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57b0846f-f405-491d-8502-e99c536e4109 2025-10-06 16:11:57,459 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/481f6c97-f2dc-41e6-b0b5-1917a069669f 2025-10-06 16:11:57,467 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/481f6c97-f2dc-41e6-b0b5-1917a069669f 2025-10-06 16:11:57,474 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a7e2d9bc-ee40-4e1d-83bf-83a18b729e5d 2025-10-06 16:11:57,481 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 16:11:57,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57b0846f-f405-491d-8502-e99c536e4109 2025-10-06 16:11:57,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/481f6c97-f2dc-41e6-b0b5-1917a069669f 2025-10-06 16:11:57,504 - INFO - Verified VN network id 12 for VN 57b0846f-f405-491d-8502-e99c536e4109 2025-10-06 16:11:57,504 - INFO - Verifications in API Server for VN ctest-vn-07047693 passed 2025-10-06 16:11:57,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57b0846f-f405-491d-8502-e99c536e4109 2025-10-06 16:11:57,512 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/481f6c97-f2dc-41e6-b0b5-1917a069669f 2025-10-06 16:11:57,518 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/481f6c97-f2dc-41e6-b0b5-1917a069669f 2025-10-06 16:11:57,525 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a7e2d9bc-ee40-4e1d-83bf-83a18b729e5d 2025-10-06 16:11:57,536 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-07047693', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54531631', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6318695893571029277', 'uuid-lslong': '9584479814621741321'}, 'enable': 'true', 'created': '2025-10-06T16:11:55', 'last-modified': '2025-10-06T16:11:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.374242'} 2025-10-06 16:11:57,542 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-06 16:11:57,542 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07047693 passed 2025-10-06 16:11:57,542 - DEBUG - ====Verifying policy data for ctest-vn-07047693 in API_Server ====== 2025-10-06 16:11:57,542 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-06 16:11:57,547 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4d3ba2d9-9eef-4910-a9c2-3a1aafdaccfe 2025-10-06 16:11:57,557 - DEBUG - Requesting: http://10.0.0.50:8082/project/5d393cbe-4b07-4cae-920d-bdcdd0ead0cb 2025-10-06 16:11:57,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/57b0846f-f405-491d-8502-e99c536e4109 2025-10-06 16:11:57,636 - DEBUG - ==>Verifying data for policy with id: 093a4afa-0b22-4e56-a2cb-e632b2158fa3, fqn: ['default-domain', 'ctest-TestBasicPolicy-54531631', 'ctest-policy-allow-all-04322226'] 2025-10-06 16:11:57,636 - INFO - VN ctest-vn-07047693 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-06 16:11:57,636 - DEBUG - Verifying the vn in opserver 2025-10-06 16:11:57,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-07047693 virtual network link through opserver 10.0.0.50 2025-10-06 16:11:57,636 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-10-06 16:11:57,645 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-07047693', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-07047693?flat'} 2025-10-06 16:11:57,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-07047693 is found in opserver 2025-10-06 16:11:57,656 - DEBUG - Do not have enough data to verify VN in agent 2025-10-06 16:11:57,661 - DEBUG - VRF ids for VN ctest-vn-07047693: {} 2025-10-06 16:11:57,725 - DEBUG - Services list from nova: [, , ] 2025-10-06 16:11:58,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1) 2025-10-06 16:11:59,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4225-1) 2025-10-06 16:11:59,900 - INFO - Waiting for VM ctest-TestBasicPolicy-54531631-63255268 to be up.. 2025-10-06 16:11:59,976 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 16:12:05,055 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:12:05,055 - INFO - VM name : ctest-TestBasicPolicy-54531631-63255268 2025-10-06 16:12:05,131 - DEBUG - VM ctest-TestBasicPolicy-54531631-63255268 ID is 9bc92ca9-23f8-4aed-a8e4-e2c25692749a 2025-10-06 16:12:05,152 - DEBUG - VM ctest-TestBasicPolicy-54531631-63255268 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1 2025-10-06 16:12:05,229 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9bc92ca9-23f8-4aed-a8e4-e2c25692749a 2025-10-06 16:12:05,238 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ca54e4d2-40af-4975-8d1d-acd351caf743 2025-10-06 16:12:08,505 - 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 1022ms') 2025-10-06 16:12:08,505 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54531631-63255268 failed! 2025-10-06 16:12:08,559 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54531631:ctest-vn-45084593 is 106.229.195.129 and allocation pool is NOT set 2025-10-06 16:12:10,621 - 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=7.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.771 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.771/4.277/7.784/3.506 ms') 2025-10-06 16:12:10,621 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54531631-63255268 passed 2025-10-06 16:12:10,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:12:10,775 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54531631-63255268, IP 106.229.195.131, Port 22 2025-10-06 16:12:10,935 - DEBUG - VM ctest-TestBasicPolicy-54531631-63255268 is ready for SSH connections 2025-10-06 16:12:10,935 - INFO - Waiting for VM ctest-TestBasicPolicy-54531631-98576324 to be up.. 2025-10-06 16:12:11,012 - DEBUG - VM is in ACTIVE state now 2025-10-06 16:12:11,012 - INFO - VM name : ctest-TestBasicPolicy-54531631-98576324 2025-10-06 16:12:11,093 - DEBUG - VM ctest-TestBasicPolicy-54531631-98576324 ID is a37d6b01-3674-4b02-9001-fe487f46deea 2025-10-06 16:12:11,093 - DEBUG - VM ctest-TestBasicPolicy-54531631-98576324 launched on Node cn-jenkins-deploy-platform-ansible-os-4225-1 2025-10-06 16:12:11,178 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a37d6b01-3674-4b02-9001-fe487f46deea 2025-10-06 16:12:11,186 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7f4a8c11-5fe7-40af-96ae-8dad5831e54c 2025-10-06 16:12:12,425 - 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=4.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.49 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 = 1.485/3.117/4.750/1.632 ms') 2025-10-06 16:12:12,426 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54531631-98576324 passed 2025-10-06 16:12:12,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:12:12,575 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54531631-98576324, IP 41.54.186.195, Port 22 2025-10-06 16:12:12,743 - DEBUG - VM ctest-TestBasicPolicy-54531631-98576324 is ready for SSH connections 2025-10-06 16:12:12,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:12:12,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.54.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-06 16:12:12,743 - DEBUG - ping -s 56 -c 3 -W 1 41.54.186.195 2025-10-06 16:12:16,819 - DEBUG - PING 41.54.186.195 (41.54.186.195): 56 data bytes 64 bytes from 41.54.186.195: seq=0 ttl=63 time=3.558 ms 64 bytes from 41.54.186.195: seq=1 ttl=63 time=1.064 ms 64 bytes from 41.54.186.195: seq=2 ttl=63 time=0.881 ms --- 41.54.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/1.834/3.558 ms 2025-10-06 16:12:16,819 - INFO - Ping to IP 41.54.186.195 from VM ctest-TestBasicPolicy-54531631-63255268 passed 2025-10-06 16:12:17,003 - DEBUG - Policy Update Response {"network-policy": {"uuid": "093a4afa-0b22-4e56-a2cb-e632b2158fa3", "href": "http://10.0.0.50:8082/network-policy/093a4afa-0b22-4e56-a2cb-e632b2158fa3"}} 2025-10-06 16:12:17,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 16:12:17,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.54.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-06 16:12:17,003 - DEBUG - ping -s 56 -c 3 -W 1 41.54.186.195 2025-10-06 16:12:20,217 - DEBUG - PING 41.54.186.195 (41.54.186.195): 56 data bytes --- 41.54.186.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 16:12:20,218 - WARNING - Ping to IP 41.54.186.195 from VM ctest-TestBasicPolicy-54531631-63255268 failed 2025-10-06 16:12:20,218 - INFO - Deleting VM ctest-TestBasicPolicy-54531631-98576324 2025-10-06 16:12:20,312 - INFO - Deleting VM ctest-TestBasicPolicy-54531631-63255268 2025-10-06 16:12:20,709 - INFO - Deleted policy ctest-policy-allow-all-04322226 2025-10-06 16:12:20,709 - INFO - Deleting VN ctest-vn-07047693 2025-10-06 16:12:20,747 - DEBUG - VN 57b0846f-f405-491d-8502-e99c536e4109 still in use: Unable to complete operation on network 57b0846f-f405-491d-8502-e99c536e4109. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27431057-0179-49da-b774-0a8d25e86ae3'] 2025-10-06 16:12:20,747 - WARNING - Deleting VN ctest-vn-07047693 failed..Will retry 2025-10-06 16:12:22,855 - DEBUG - Response for deleting network () 2025-10-06 16:12:22,855 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/481f6c97-f2dc-41e6-b0b5-1917a069669f 2025-10-06 16:12:22,866 - DEBUG - Response Code: 404 2025-10-06 16:12:22,866 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-06 16:12:22,873 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4d3ba2d9-9eef-4910-a9c2-3a1aafdaccfe 2025-10-06 16:12:22,930 - DEBUG - Requesting: http://10.0.0.50:8082/project/5d393cbe-4b07-4cae-920d-bdcdd0ead0cb 2025-10-06 16:12:23,003 - INFO - Validated that VN ctest-vn-07047693 is not found in API Server 2025-10-06 16:12:23,014 - DEBUG - VN ctest-vn-07047693 is not present in Agent 10.0.0.50 2025-10-06 16:12:23,014 - INFO - Validated that VN ctest-vn-07047693 is not in any agent 2025-10-06 16:12:23,030 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07047693 info 2025-10-06 16:12:23,030 - INFO - Deleting VN ctest-vn-45084593 2025-10-06 16:12:23,136 - DEBUG - Response for deleting network () 2025-10-06 16:12:23,136 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd19bb06-c2b4-48f2-8f4b-5f5d0194adfc 2025-10-06 16:12:23,142 - DEBUG - Response Code: 404 2025-10-06 16:12:23,143 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-10-06 16:12:23,148 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4d3ba2d9-9eef-4910-a9c2-3a1aafdaccfe 2025-10-06 16:12:23,200 - DEBUG - Requesting: http://10.0.0.50:8082/project/5d393cbe-4b07-4cae-920d-bdcdd0ead0cb 2025-10-06 16:12:23,268 - INFO - Validated that VN ctest-vn-45084593 is not found in API Server 2025-10-06 16:12:23,279 - DEBUG - VN ctest-vn-45084593 is not present in Agent 10.0.0.50 2025-10-06 16:12:23,280 - INFO - Validated that VN ctest-vn-45084593 is not in any agent 2025-10-06 16:12:23,293 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45084593 info 2025-10-06 16:12:23,548 - DEBUG - No XMPP flaps were noticed during the test 2025-10-06 16:12:23,548 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-06 16:12:23,548 - INFO - -------------------------------------------------------------------------------- 2025-10-06 16:12:24,261 - INFO - Deleted project: ctest-TestBasicPolicy-54531631, ID : 5d393cbe-4b07-4cae-920d-bdcdd0ead0cb