2025-11-20 16:58:47,146 - INFO - Domain Default found not creating 2025-11-20 16:58:47,284 - INFO - Project ctest-TestBasicPolicy-35979971 not found, creating it 2025-11-20 16:58:47,724 - INFO - Created Project:ctest-TestBasicPolicy-35979971, ID : 2bbd345a-6cb0-43a8-a483-5b199a1334b5 2025-11-20 16:58:49,102 - INFO - ================================================================================ 2025-11-20 16:58:49,102 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-20 16:58:49,102 - 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-11-20 16:58:49,354 - DEBUG - Nothing to compare xmpp stats {'10.0.0.154': {'10.20.0.252': '0'}} with 2025-11-20 16:58:49,354 - INFO - Initial checks done. Running the testcase now 2025-11-20 16:58:49,354 - INFO - 2025-11-20 16:58:49,900 - DEBUG - Response for create_network : {'network': {'id': '752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf', 'name': 'ctest-vn-55672475', 'tenant_id': '2bbd345a6cb043a8a4835b199a1334b5', 'project_id': '2bbd345a6cb043a8a4835b199a1334b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-vn-55672475'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:58:50,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e59cc26-1685-410e-90e4-757706195398', 'name': '', 'tenant_id': '2bbd345a6cb043a8a4835b199a1334b5', 'network_id': '752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf', 'ip_version': 4, 'cidr': '128.230.241.128/26', 'allocation_pools': [{'start': '128.230.241.130', 'end': '128.230.241.190'}], 'gateway_ip': '128.230.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.230.241.130', 'tags': [], 'project_id': '2bbd345a6cb043a8a4835b199a1334b5'}} 2025-11-20 16:58:50,070 - INFO - Created VN ctest-vn-55672475 2025-11-20 16:58:50,121 - DEBUG - VN ctest-vn-55672475 UUID is 752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf 2025-11-20 16:58:50,419 - DEBUG - Response for create_network : {'network': {'id': '18b31d5e-fec1-4a79-82f5-986fec1dab07', 'name': 'ctest-vn-89368000', 'tenant_id': '2bbd345a6cb043a8a4835b199a1334b5', 'project_id': '2bbd345a6cb043a8a4835b199a1334b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-vn-89368000'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:58:50,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c595ca6-951e-4cff-9413-958e2f974361', 'name': '', 'tenant_id': '2bbd345a6cb043a8a4835b199a1334b5', 'network_id': '18b31d5e-fec1-4a79-82f5-986fec1dab07', 'ip_version': 4, 'cidr': '216.138.57.192/26', 'allocation_pools': [{'start': '216.138.57.194', 'end': '216.138.57.254'}], 'gateway_ip': '216.138.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.138.57.194', 'tags': [], 'project_id': '2bbd345a6cb043a8a4835b199a1334b5'}} 2025-11-20 16:58:50,616 - INFO - Created VN ctest-vn-89368000 2025-11-20 16:58:50,665 - DEBUG - VN ctest-vn-89368000 UUID is 18b31d5e-fec1-4a79-82f5-986fec1dab07 2025-11-20 16:58:50,805 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-55672475, 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-35979971:ctest-vn-89368000, 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-11-20 16:58:51,084 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf', 'name': 'ctest-vn-55672475', 'tenant_id': '2bbd345a6cb043a8a4835b199a1334b5', 'project_id': '2bbd345a6cb043a8a4835b199a1334b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e59cc26-1685-410e-90e4-757706195398'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-vn-55672475'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-policy-allow-all-48903666']], 'subnet_ipam': [{'subnet_cidr': '128.230.241.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:58:51,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '18b31d5e-fec1-4a79-82f5-986fec1dab07', 'name': 'ctest-vn-89368000', 'tenant_id': '2bbd345a6cb043a8a4835b199a1334b5', 'project_id': '2bbd345a6cb043a8a4835b199a1334b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c595ca6-951e-4cff-9413-958e2f974361'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-vn-89368000'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-policy-allow-all-48903666']], 'subnet_ipam': [{'subnet_cidr': '216.138.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 16:58:51,469 - DEBUG - Requesting: http://10.0.0.154:8082/domains 2025-11-20 16:58:51,762 - DEBUG - Requesting: http://10.0.0.154:8082/domains 2025-11-20 16:58:51,802 - DEBUG - Requesting: http://10.0.0.154:8082/domain/53488b3d-1c95-41aa-8d92-27cb3d77be14 2025-11-20 16:58:51,813 - DEBUG - Requesting: http://10.0.0.154:8082/project/2bbd345a-6cb0-43a8-a483-5b199a1334b5 2025-11-20 16:58:51,978 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf 2025-11-20 16:58:51,999 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf 2025-11-20 16:58:52,029 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/2822964f-27c9-415c-b5d4-04180a4fa273 2025-11-20 16:58:52,037 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/2822964f-27c9-415c-b5d4-04180a4fa273 2025-11-20 16:58:52,043 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/2b33e916-e0bb-4991-853e-7bd7606edbed 2025-11-20 16:58:52,052 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 16:58:52,052 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf 2025-11-20 16:58:52,065 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/2822964f-27c9-415c-b5d4-04180a4fa273 2025-11-20 16:58:52,083 - INFO - Verified VN network id 12 for VN 752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf 2025-11-20 16:58:52,083 - INFO - Verifications in API Server for VN ctest-vn-55672475 passed 2025-11-20 16:58:52,083 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf 2025-11-20 16:58:52,093 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/2822964f-27c9-415c-b5d4-04180a4fa273 2025-11-20 16:58:52,114 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/2822964f-27c9-415c-b5d4-04180a4fa273 2025-11-20 16:58:52,133 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/2b33e916-e0bb-4991-853e-7bd7606edbed 2025-11-20 16:58:52,154 - DEBUG - Control-node 10.0.0.154 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-55672475', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35979971', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8443568387573632135', 'uuid-lslong': '13536552521138173631'}, 'enable': 'true', 'created': '2025-11-20T16:58:49', 'last-modified': '2025-11-20T16:58:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.085257'} 2025-11-20 16:58:52,162 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 16:58:52,162 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55672475 passed 2025-11-20 16:58:52,162 - DEBUG - ====Verifying policy data for ctest-vn-55672475 in API_Server ====== 2025-11-20 16:58:52,162 - DEBUG - Requesting: http://10.0.0.154:8082/domains 2025-11-20 16:58:52,181 - DEBUG - Requesting: http://10.0.0.154:8082/domain/53488b3d-1c95-41aa-8d92-27cb3d77be14 2025-11-20 16:58:52,244 - DEBUG - Requesting: http://10.0.0.154:8082/project/2bbd345a-6cb0-43a8-a483-5b199a1334b5 2025-11-20 16:58:52,366 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/752d94b6-6a0b-4c87-bbdb-7ecc59dbf6bf 2025-11-20 16:58:52,380 - DEBUG - ==>Verifying data for policy with id: 8ee8a927-0550-4609-94b9-969848f5a5c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-policy-allow-all-48903666'] 2025-11-20 16:58:52,380 - INFO - VN ctest-vn-55672475 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 16:58:52,380 - DEBUG - Verifying the vn in opserver 2025-11-20 16:58:52,380 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-55672475 virtual network link through opserver 10.0.0.154 2025-11-20 16:58:52,380 - DEBUG - Requesting: http://10.0.0.154:8081/analytics/uves/virtual-networks 2025-11-20 16:58:52,683 - DEBUG - Requesting: http://10.0.0.154:8081/analytics/uves/virtual-networks 2025-11-20 16:58:52,736 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-55672475', 'href': 'http://10.0.0.154:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-55672475?flat'} 2025-11-20 16:58:52,736 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-55672475 is found in opserver 2025-11-20 16:58:52,746 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 16:58:52,750 - DEBUG - VRF ids for VN ctest-vn-55672475: {} 2025-11-20 16:58:52,750 - DEBUG - Requesting: http://10.0.0.154:8082/domains 2025-11-20 16:58:52,754 - DEBUG - Requesting: http://10.0.0.154:8082/domain/53488b3d-1c95-41aa-8d92-27cb3d77be14 2025-11-20 16:58:52,764 - DEBUG - Requesting: http://10.0.0.154:8082/project/2bbd345a-6cb0-43a8-a483-5b199a1334b5 2025-11-20 16:58:52,832 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/18b31d5e-fec1-4a79-82f5-986fec1dab07 2025-11-20 16:58:52,842 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/18b31d5e-fec1-4a79-82f5-986fec1dab07 2025-11-20 16:58:52,850 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/34185454-4ac8-4bf5-bbc5-b4f7b41a2bd8 2025-11-20 16:58:52,856 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/34185454-4ac8-4bf5-bbc5-b4f7b41a2bd8 2025-11-20 16:58:52,861 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/49e1c283-e61f-49eb-8054-e02bc7aba59c 2025-11-20 16:58:52,866 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 16:58:52,866 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/18b31d5e-fec1-4a79-82f5-986fec1dab07 2025-11-20 16:58:52,873 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/34185454-4ac8-4bf5-bbc5-b4f7b41a2bd8 2025-11-20 16:58:52,883 - INFO - Verified VN network id 13 for VN 18b31d5e-fec1-4a79-82f5-986fec1dab07 2025-11-20 16:58:52,883 - INFO - Verifications in API Server for VN ctest-vn-89368000 passed 2025-11-20 16:58:52,883 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/18b31d5e-fec1-4a79-82f5-986fec1dab07 2025-11-20 16:58:52,891 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/34185454-4ac8-4bf5-bbc5-b4f7b41a2bd8 2025-11-20 16:58:52,896 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/34185454-4ac8-4bf5-bbc5-b4f7b41a2bd8 2025-11-20 16:58:52,901 - DEBUG - Requesting: http://10.0.0.154:8082/route-target/49e1c283-e61f-49eb-8054-e02bc7aba59c 2025-11-20 16:58:52,911 - DEBUG - Control-node 10.0.0.154 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-89368000', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35979971', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1779798571579689593', 'uuid-lslong': '9436616200694901511'}, 'enable': 'true', 'created': '2025-11-20T16:58:50', 'last-modified': '2025-11-20T16:58:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.630352'} 2025-11-20 16:58:52,916 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 16:58:52,916 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89368000 passed 2025-11-20 16:58:52,916 - DEBUG - ====Verifying policy data for ctest-vn-89368000 in API_Server ====== 2025-11-20 16:58:52,916 - DEBUG - Requesting: http://10.0.0.154:8082/domains 2025-11-20 16:58:52,920 - DEBUG - Requesting: http://10.0.0.154:8082/domain/53488b3d-1c95-41aa-8d92-27cb3d77be14 2025-11-20 16:58:52,928 - DEBUG - Requesting: http://10.0.0.154:8082/project/2bbd345a-6cb0-43a8-a483-5b199a1334b5 2025-11-20 16:58:52,996 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-network/18b31d5e-fec1-4a79-82f5-986fec1dab07 2025-11-20 16:58:53,004 - DEBUG - ==>Verifying data for policy with id: 8ee8a927-0550-4609-94b9-969848f5a5c7, fqn: ['default-domain', 'ctest-TestBasicPolicy-35979971', 'ctest-policy-allow-all-48903666'] 2025-11-20 16:58:53,004 - INFO - VN ctest-vn-89368000 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 16:58:53,004 - DEBUG - Verifying the vn in opserver 2025-11-20 16:58:53,004 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-89368000 virtual network link through opserver 10.0.0.154 2025-11-20 16:58:53,004 - DEBUG - Requesting: http://10.0.0.154:8081/analytics/uves/virtual-networks 2025-11-20 16:58:53,013 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-89368000', 'href': 'http://10.0.0.154:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-89368000?flat'} 2025-11-20 16:58:53,013 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-89368000 is found in opserver 2025-11-20 16:58:53,023 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 16:58:53,027 - DEBUG - VRF ids for VN ctest-vn-89368000: {} 2025-11-20 16:58:53,075 - DEBUG - Services list from nova: [, , ] 2025-11-20 16:58:54,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1) 2025-11-20 16:58:55,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4780-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4780-1) 2025-11-20 16:58:55,159 - INFO - Waiting for VM ctest-TestBasicPolicy-35979971-16305301 to be up.. 2025-11-20 16:58:55,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 16:59:00,289 - DEBUG - VM is in ACTIVE state now 2025-11-20 16:59:00,289 - INFO - VM name : ctest-TestBasicPolicy-35979971-16305301 2025-11-20 16:59:00,354 - DEBUG - VM ctest-TestBasicPolicy-35979971-16305301 ID is 53abe46c-d1bc-4d69-bc80-0d130cb9c8a8 2025-11-20 16:59:00,370 - DEBUG - VM ctest-TestBasicPolicy-35979971-16305301 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1 2025-11-20 16:59:00,432 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/53abe46c-d1bc-4d69-bc80-0d130cb9c8a8 2025-11-20 16:59:00,439 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/a3039b59-d3c8-4414-96aa-ab34967275b4 2025-11-20 16:59:03,670 - 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 1008ms') 2025-11-20 16:59:03,670 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35979971-16305301 failed! 2025-11-20 16:59:03,721 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35979971:ctest-vn-55672475 is 128.230.241.129 and allocation pool is NOT set 2025-11-20 16:59:05,785 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.537/2.660/1.123 ms') 2025-11-20 16:59:05,785 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35979971-16305301 passed 2025-11-20 16:59:05,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:59:05,937 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35979971-16305301, IP 128.230.241.131, Port 22 2025-11-20 16:59:06,093 - DEBUG - VM ctest-TestBasicPolicy-35979971-16305301 is ready for SSH connections 2025-11-20 16:59:06,093 - INFO - Waiting for VM ctest-TestBasicPolicy-35979971-84049408 to be up.. 2025-11-20 16:59:06,169 - DEBUG - VM is in ACTIVE state now 2025-11-20 16:59:06,169 - INFO - VM name : ctest-TestBasicPolicy-35979971-84049408 2025-11-20 16:59:06,240 - DEBUG - VM ctest-TestBasicPolicy-35979971-84049408 ID is 08a725db-88f1-4181-819a-cfd4b676bf25 2025-11-20 16:59:06,241 - DEBUG - VM ctest-TestBasicPolicy-35979971-84049408 launched on Node cn-jenkins-deploy-platform-ansible-os-4780-1 2025-11-20 16:59:06,319 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine/08a725db-88f1-4181-819a-cfd4b676bf25 2025-11-20 16:59:06,327 - DEBUG - Requesting: http://10.0.0.154:8082/virtual-machine-interface/8e1f43a2-a556-4ea7-a29f-fa98d9ae2b01 2025-11-20 16:59:07,561 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.402/1.642/2.882/1.240 ms') 2025-11-20 16:59:07,561 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35979971-84049408 passed 2025-11-20 16:59:07,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:59:07,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35979971-84049408, IP 216.138.57.195, Port 22 2025-11-20 16:59:07,864 - DEBUG - VM ctest-TestBasicPolicy-35979971-84049408 is ready for SSH connections 2025-11-20 16:59:07,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:59:07,864 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.138.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:59:07,864 - DEBUG - ping -s 56 -c 3 -W 1 216.138.57.195 2025-11-20 16:59:11,615 - DEBUG - PING 216.138.57.195 (216.138.57.195): 56 data bytes 64 bytes from 216.138.57.195: seq=0 ttl=63 time=3.252 ms 64 bytes from 216.138.57.195: seq=1 ttl=63 time=0.796 ms 64 bytes from 216.138.57.195: seq=2 ttl=63 time=0.760 ms --- 216.138.57.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.602/3.252 ms 2025-11-20 16:59:11,615 - INFO - Ping to IP 216.138.57.195 from VM ctest-TestBasicPolicy-35979971-16305301 passed 2025-11-20 16:59:11,785 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8ee8a927-0550-4609-94b9-969848f5a5c7", "href": "http://10.0.0.154:8082/network-policy/8ee8a927-0550-4609-94b9-969848f5a5c7"}} 2025-11-20 16:59:11,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 16:59:11,785 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.138.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.154, gateway password: c0ntrail123 2025-11-20 16:59:11,785 - DEBUG - ping -s 56 -c 3 -W 1 216.138.57.195 2025-11-20 16:59:14,986 - DEBUG - PING 216.138.57.195 (216.138.57.195): 56 data bytes --- 216.138.57.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 16:59:14,986 - WARNING - Ping to IP 216.138.57.195 from VM ctest-TestBasicPolicy-35979971-16305301 failed 2025-11-20 16:59:14,986 - INFO - Deleting VM ctest-TestBasicPolicy-35979971-84049408 2025-11-20 16:59:15,144 - INFO - Deleting VM ctest-TestBasicPolicy-35979971-16305301 2025-11-20 16:59:15,473 - INFO - Deleted policy ctest-policy-allow-all-48903666 2025-11-20 16:59:15,473 - INFO - Deleting VN ctest-vn-89368000 2025-11-20 16:59:15,506 - DEBUG - VN 18b31d5e-fec1-4a79-82f5-986fec1dab07 still in use: Unable to complete operation on network 18b31d5e-fec1-4a79-82f5-986fec1dab07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7142bc28-8dab-4bd0-bb04-a04678035b37'] 2025-11-20 16:59:15,506 - WARNING - Deleting VN ctest-vn-89368000 failed..Will retry 2025-11-20 16:59:17,600 - DEBUG - Response for deleting network () 2025-11-20 16:59:17,600 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/34185454-4ac8-4bf5-bbc5-b4f7b41a2bd8 2025-11-20 16:59:17,605 - DEBUG - Response Code: 404 2025-11-20 16:59:17,605 - DEBUG - Requesting: http://10.0.0.154:8082/domains 2025-11-20 16:59:17,610 - DEBUG - Requesting: http://10.0.0.154:8082/domain/53488b3d-1c95-41aa-8d92-27cb3d77be14 2025-11-20 16:59:17,661 - DEBUG - Requesting: http://10.0.0.154:8082/project/2bbd345a-6cb0-43a8-a483-5b199a1334b5 2025-11-20 16:59:17,729 - INFO - Validated that VN ctest-vn-89368000 is not found in API Server 2025-11-20 16:59:17,738 - DEBUG - VN ctest-vn-89368000 is not present in Agent 10.0.0.154 2025-11-20 16:59:17,738 - INFO - Validated that VN ctest-vn-89368000 is not in any agent 2025-11-20 16:59:17,750 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89368000 info 2025-11-20 16:59:17,750 - INFO - Deleting VN ctest-vn-55672475 2025-11-20 16:59:17,832 - DEBUG - Response for deleting network () 2025-11-20 16:59:17,832 - DEBUG - Requesting: http://10.0.0.154:8082/routing-instance/2822964f-27c9-415c-b5d4-04180a4fa273 2025-11-20 16:59:17,836 - DEBUG - Response Code: 404 2025-11-20 16:59:17,836 - DEBUG - Requesting: http://10.0.0.154:8082/domains 2025-11-20 16:59:17,840 - DEBUG - Requesting: http://10.0.0.154:8082/domain/53488b3d-1c95-41aa-8d92-27cb3d77be14 2025-11-20 16:59:17,893 - DEBUG - Requesting: http://10.0.0.154:8082/project/2bbd345a-6cb0-43a8-a483-5b199a1334b5 2025-11-20 16:59:17,968 - INFO - Validated that VN ctest-vn-55672475 is not found in API Server 2025-11-20 16:59:17,977 - DEBUG - VN ctest-vn-55672475 is not present in Agent 10.0.0.154 2025-11-20 16:59:17,977 - INFO - Validated that VN ctest-vn-55672475 is not in any agent 2025-11-20 16:59:17,988 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55672475 info 2025-11-20 16:59:18,241 - DEBUG - No XMPP flaps were noticed during the test 2025-11-20 16:59:18,241 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-20 16:59:18,241 - INFO - -------------------------------------------------------------------------------- 2025-11-20 16:59:18,899 - INFO - Deleted project: ctest-TestBasicPolicy-35979971, ID : 2bbd345a-6cb0-43a8-a483-5b199a1334b5