2026-01-28 17:48:54,514 - INFO - Domain Default found not creating 2026-01-28 17:48:54,683 - INFO - Project ctest-TestBasicPolicy-90378147 not found, creating it 2026-01-28 17:48:55,134 - INFO - Created Project:ctest-TestBasicPolicy-90378147, ID : b0cfe8f6-4322-4c73-9930-7d896423b07d 2026-01-28 17:48:56,568 - INFO - ================================================================================ 2026-01-28 17:48:56,568 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 17:48:56,568 - 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 2026-01-28 17:48:56,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-28 17:48:56,822 - INFO - Initial checks done. Running the testcase now 2026-01-28 17:48:56,822 - INFO - 2026-01-28 17:48:57,352 - DEBUG - Response for create_network : {'network': {'id': '0cd75a37-5f07-4edb-8b13-94f355915f51', 'name': 'ctest-vn-55501069', 'tenant_id': 'b0cfe8f643224c7399307d896423b07d', 'project_id': 'b0cfe8f643224c7399307d896423b07d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-vn-55501069'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:48:57,537 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea08f383-3f9c-4058-9745-8983276c1a8d', 'name': '', 'tenant_id': 'b0cfe8f643224c7399307d896423b07d', 'network_id': '0cd75a37-5f07-4edb-8b13-94f355915f51', 'ip_version': 4, 'cidr': '214.13.52.128/26', 'allocation_pools': [{'start': '214.13.52.130', 'end': '214.13.52.190'}], 'gateway_ip': '214.13.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.13.52.130', 'tags': [], 'project_id': 'b0cfe8f643224c7399307d896423b07d'}} 2026-01-28 17:48:57,553 - INFO - Created VN ctest-vn-55501069 2026-01-28 17:48:57,605 - DEBUG - VN ctest-vn-55501069 UUID is 0cd75a37-5f07-4edb-8b13-94f355915f51 2026-01-28 17:48:57,922 - DEBUG - Response for create_network : {'network': {'id': 'd04cb5ee-01f1-4019-a5c5-8fe7fbf39771', 'name': 'ctest-vn-03709674', 'tenant_id': 'b0cfe8f643224c7399307d896423b07d', 'project_id': 'b0cfe8f643224c7399307d896423b07d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-vn-03709674'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:48:58,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c11730c3-cb15-47d4-bf8f-cd674f80b858', 'name': '', 'tenant_id': 'b0cfe8f643224c7399307d896423b07d', 'network_id': 'd04cb5ee-01f1-4019-a5c5-8fe7fbf39771', 'ip_version': 4, 'cidr': '166.244.154.64/26', 'allocation_pools': [{'start': '166.244.154.66', 'end': '166.244.154.126'}], 'gateway_ip': '166.244.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.244.154.66', 'tags': [], 'project_id': 'b0cfe8f643224c7399307d896423b07d'}} 2026-01-28 17:48:58,148 - INFO - Created VN ctest-vn-03709674 2026-01-28 17:48:58,201 - DEBUG - VN ctest-vn-03709674 UUID is d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 2026-01-28 17:48:58,349 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-55501069, 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-90378147:ctest-vn-03709674, 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] 2026-01-28 17:48:58,634 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0cd75a37-5f07-4edb-8b13-94f355915f51', 'name': 'ctest-vn-55501069', 'tenant_id': 'b0cfe8f643224c7399307d896423b07d', 'project_id': 'b0cfe8f643224c7399307d896423b07d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ea08f383-3f9c-4058-9745-8983276c1a8d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-vn-55501069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-policy-allow-all-68312316']], 'subnet_ipam': [{'subnet_cidr': '214.13.52.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:48:58,859 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd04cb5ee-01f1-4019-a5c5-8fe7fbf39771', 'name': 'ctest-vn-03709674', 'tenant_id': 'b0cfe8f643224c7399307d896423b07d', 'project_id': 'b0cfe8f643224c7399307d896423b07d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c11730c3-cb15-47d4-bf8f-cd674f80b858'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-vn-03709674'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-policy-allow-all-68312316']], 'subnet_ipam': [{'subnet_cidr': '166.244.154.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 17:48:59,029 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 17:48:59,325 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 17:48:59,353 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9a62bedf-dab5-4bd9-82b0-dcb953c50c09 2026-01-28 17:48:59,364 - DEBUG - Requesting: http://10.0.0.38:8082/project/b0cfe8f6-4322-4c73-9930-7d896423b07d 2026-01-28 17:48:59,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0cd75a37-5f07-4edb-8b13-94f355915f51 2026-01-28 17:48:59,440 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0cd75a37-5f07-4edb-8b13-94f355915f51 2026-01-28 17:48:59,449 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a05fb5b5-45d6-42f2-87f7-61790d4b2dc2 2026-01-28 17:48:59,455 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a05fb5b5-45d6-42f2-87f7-61790d4b2dc2 2026-01-28 17:48:59,461 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2465e99c-1ef0-40c8-b5ca-4d223836748a 2026-01-28 17:48:59,466 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 17:48:59,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0cd75a37-5f07-4edb-8b13-94f355915f51 2026-01-28 17:48:59,475 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a05fb5b5-45d6-42f2-87f7-61790d4b2dc2 2026-01-28 17:48:59,487 - INFO - Verified VN network id 12 for VN 0cd75a37-5f07-4edb-8b13-94f355915f51 2026-01-28 17:48:59,487 - INFO - Verifications in API Server for VN ctest-vn-55501069 passed 2026-01-28 17:48:59,487 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0cd75a37-5f07-4edb-8b13-94f355915f51 2026-01-28 17:48:59,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a05fb5b5-45d6-42f2-87f7-61790d4b2dc2 2026-01-28 17:48:59,500 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a05fb5b5-45d6-42f2-87f7-61790d4b2dc2 2026-01-28 17:48:59,506 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2465e99c-1ef0-40c8-b5ca-4d223836748a 2026-01-28 17:48:59,516 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-55501069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90378147', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '925307442311941851', 'uuid-lslong': '10021517368663039825'}, 'enable': 'true', 'created': '2026-01-28T17:48:57', 'last-modified': '2026-01-28T17:48:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905324'} 2026-01-28 17:48:59,522 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 17:48:59,522 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55501069 passed 2026-01-28 17:48:59,522 - DEBUG - ====Verifying policy data for ctest-vn-55501069 in API_Server ====== 2026-01-28 17:48:59,522 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 17:48:59,527 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9a62bedf-dab5-4bd9-82b0-dcb953c50c09 2026-01-28 17:48:59,537 - DEBUG - Requesting: http://10.0.0.38:8082/project/b0cfe8f6-4322-4c73-9930-7d896423b07d 2026-01-28 17:48:59,606 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0cd75a37-5f07-4edb-8b13-94f355915f51 2026-01-28 17:48:59,614 - DEBUG - ==>Verifying data for policy with id: 525d4db8-bbcd-4ec3-8f58-4c571edfa006, fqn: ['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-policy-allow-all-68312316'] 2026-01-28 17:48:59,614 - INFO - VN ctest-vn-55501069 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 17:48:59,614 - DEBUG - Verifying the vn in opserver 2026-01-28 17:48:59,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-55501069 virtual network link through opserver 10.0.0.38 2026-01-28 17:48:59,614 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-28 17:48:59,904 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-28 17:48:59,964 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-55501069', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-55501069?flat'} 2026-01-28 17:48:59,964 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-55501069 is found in opserver 2026-01-28 17:48:59,973 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 17:48:59,977 - DEBUG - VRF ids for VN ctest-vn-55501069: {} 2026-01-28 17:48:59,977 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 17:48:59,981 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9a62bedf-dab5-4bd9-82b0-dcb953c50c09 2026-01-28 17:48:59,991 - DEBUG - Requesting: http://10.0.0.38:8082/project/b0cfe8f6-4322-4c73-9930-7d896423b07d 2026-01-28 17:49:00,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 2026-01-28 17:49:00,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 2026-01-28 17:49:00,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a68e61c6-bef3-4547-883e-272a2fb1e765 2026-01-28 17:49:00,086 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a68e61c6-bef3-4547-883e-272a2fb1e765 2026-01-28 17:49:00,092 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/358cde09-8c4e-4978-bf37-1f48a8cc4aad 2026-01-28 17:49:00,098 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 17:49:00,098 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 2026-01-28 17:49:00,106 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a68e61c6-bef3-4547-883e-272a2fb1e765 2026-01-28 17:49:00,119 - INFO - Verified VN network id 13 for VN d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 2026-01-28 17:49:00,119 - INFO - Verifications in API Server for VN ctest-vn-03709674 passed 2026-01-28 17:49:00,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 2026-01-28 17:49:00,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a68e61c6-bef3-4547-883e-272a2fb1e765 2026-01-28 17:49:00,134 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a68e61c6-bef3-4547-883e-272a2fb1e765 2026-01-28 17:49:00,141 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/358cde09-8c4e-4978-bf37-1f48a8cc4aad 2026-01-28 17:49:00,151 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-03709674', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90378147', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15009571691958452249', 'uuid-lslong': '11945111813197371249'}, 'enable': 'true', 'created': '2026-01-28T17:48:57', 'last-modified': '2026-01-28T17:48:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312582'} 2026-01-28 17:49:00,157 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 17:49:00,157 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03709674 passed 2026-01-28 17:49:00,157 - DEBUG - ====Verifying policy data for ctest-vn-03709674 in API_Server ====== 2026-01-28 17:49:00,157 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 17:49:00,163 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9a62bedf-dab5-4bd9-82b0-dcb953c50c09 2026-01-28 17:49:00,173 - DEBUG - Requesting: http://10.0.0.38:8082/project/b0cfe8f6-4322-4c73-9930-7d896423b07d 2026-01-28 17:49:00,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 2026-01-28 17:49:00,256 - DEBUG - ==>Verifying data for policy with id: 525d4db8-bbcd-4ec3-8f58-4c571edfa006, fqn: ['default-domain', 'ctest-TestBasicPolicy-90378147', 'ctest-policy-allow-all-68312316'] 2026-01-28 17:49:00,256 - INFO - VN ctest-vn-03709674 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 17:49:00,256 - DEBUG - Verifying the vn in opserver 2026-01-28 17:49:00,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-03709674 virtual network link through opserver 10.0.0.38 2026-01-28 17:49:00,256 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-28 17:49:00,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-03709674', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-03709674?flat'} 2026-01-28 17:49:00,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-03709674 is found in opserver 2026-01-28 17:49:00,274 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 17:49:00,279 - DEBUG - VRF ids for VN ctest-vn-03709674: {} 2026-01-28 17:49:00,334 - DEBUG - Services list from nova: [, , ] 2026-01-28 17:49:01,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5099-1) 2026-01-28 17:49:02,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5099-1) 2026-01-28 17:49:02,486 - INFO - Waiting for VM ctest-TestBasicPolicy-90378147-23528094 to be up.. 2026-01-28 17:49:02,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 17:49:07,660 - DEBUG - VM is in ACTIVE state now 2026-01-28 17:49:07,661 - INFO - VM name : ctest-TestBasicPolicy-90378147-23528094 2026-01-28 17:49:07,740 - DEBUG - VM ctest-TestBasicPolicy-90378147-23528094 ID is 02b9c7fd-f8cd-46b9-b7fd-a087ea3728ae 2026-01-28 17:49:07,766 - DEBUG - VM ctest-TestBasicPolicy-90378147-23528094 launched on Node cn-jenkins-deploy-platform-ansible-os-5099-1 2026-01-28 17:49:07,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/02b9c7fd-f8cd-46b9-b7fd-a087ea3728ae 2026-01-28 17:49:07,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/495bed9a-86cb-4eb5-a304-75e5ea841bc8 2026-01-28 17:49:11,074 - 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') 2026-01-28 17:49:11,074 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90378147-23528094 failed! 2026-01-28 17:49:11,129 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90378147:ctest-vn-55501069 is 214.13.52.129 and allocation pool is NOT set 2026-01-28 17:49:13,190 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.042/2.389/3.736/1.347 ms') 2026-01-28 17:49:13,190 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90378147-23528094 passed 2026-01-28 17:49:13,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:49:13,345 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90378147-23528094, IP 214.13.52.131, Port 22 2026-01-28 17:49:13,505 - DEBUG - VM ctest-TestBasicPolicy-90378147-23528094 is ready for SSH connections 2026-01-28 17:49:13,505 - INFO - Waiting for VM ctest-TestBasicPolicy-90378147-90702250 to be up.. 2026-01-28 17:49:13,585 - DEBUG - VM is in ACTIVE state now 2026-01-28 17:49:13,585 - INFO - VM name : ctest-TestBasicPolicy-90378147-90702250 2026-01-28 17:49:13,661 - DEBUG - VM ctest-TestBasicPolicy-90378147-90702250 ID is 935fcc4f-c7a4-4b1b-ae84-7e5cf0f65372 2026-01-28 17:49:13,661 - DEBUG - VM ctest-TestBasicPolicy-90378147-90702250 launched on Node cn-jenkins-deploy-platform-ansible-os-5099-1 2026-01-28 17:49:13,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/935fcc4f-c7a4-4b1b-ae84-7e5cf0f65372 2026-01-28 17:49:13,745 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a7b0186-5d7d-40b5-bf09-8560bba464b1 2026-01-28 17:49:14,998 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.426 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.426/1.791/3.157/1.365 ms') 2026-01-28 17:49:14,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90378147-90702250 passed 2026-01-28 17:49:15,149 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:49:15,149 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90378147-90702250, IP 166.244.154.67, Port 22 2026-01-28 17:49:15,305 - DEBUG - VM ctest-TestBasicPolicy-90378147-90702250 is ready for SSH connections 2026-01-28 17:49:15,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:49:15,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.244.154.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-28 17:49:15,306 - DEBUG - ping -s 56 -c 3 -W 1 166.244.154.67 2026-01-28 17:49:19,309 - DEBUG - PING 166.244.154.67 (166.244.154.67): 56 data bytes 64 bytes from 166.244.154.67: seq=0 ttl=63 time=3.757 ms 64 bytes from 166.244.154.67: seq=1 ttl=63 time=0.875 ms 64 bytes from 166.244.154.67: seq=2 ttl=63 time=0.723 ms --- 166.244.154.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.723/1.785/3.757 ms 2026-01-28 17:49:19,309 - INFO - Ping to IP 166.244.154.67 from VM ctest-TestBasicPolicy-90378147-23528094 passed 2026-01-28 17:49:19,481 - DEBUG - Policy Update Response {"network-policy": {"uuid": "525d4db8-bbcd-4ec3-8f58-4c571edfa006", "href": "http://10.0.0.38:8082/network-policy/525d4db8-bbcd-4ec3-8f58-4c571edfa006"}} 2026-01-28 17:49:19,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 17:49:19,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.244.154.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-28 17:49:19,481 - DEBUG - ping -s 56 -c 3 -W 1 166.244.154.67 2026-01-28 17:49:22,691 - DEBUG - PING 166.244.154.67 (166.244.154.67): 56 data bytes --- 166.244.154.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 17:49:22,691 - WARNING - Ping to IP 166.244.154.67 from VM ctest-TestBasicPolicy-90378147-23528094 failed 2026-01-28 17:49:22,691 - INFO - Deleting VM ctest-TestBasicPolicy-90378147-90702250 2026-01-28 17:49:22,768 - INFO - Deleting VM ctest-TestBasicPolicy-90378147-23528094 2026-01-28 17:49:23,163 - INFO - Deleted policy ctest-policy-allow-all-68312316 2026-01-28 17:49:23,163 - INFO - Deleting VN ctest-vn-03709674 2026-01-28 17:49:23,200 - DEBUG - VN d04cb5ee-01f1-4019-a5c5-8fe7fbf39771 still in use: Unable to complete operation on network d04cb5ee-01f1-4019-a5c5-8fe7fbf39771. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b645db88-dc2b-49de-a905-3858cbf21df5'] 2026-01-28 17:49:23,201 - WARNING - Deleting VN ctest-vn-03709674 failed..Will retry 2026-01-28 17:49:25,303 - DEBUG - Response for deleting network () 2026-01-28 17:49:25,303 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a68e61c6-bef3-4547-883e-272a2fb1e765 2026-01-28 17:49:25,311 - DEBUG - Response Code: 404 2026-01-28 17:49:25,311 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 17:49:25,316 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9a62bedf-dab5-4bd9-82b0-dcb953c50c09 2026-01-28 17:49:25,371 - DEBUG - Requesting: http://10.0.0.38:8082/project/b0cfe8f6-4322-4c73-9930-7d896423b07d 2026-01-28 17:49:25,435 - INFO - Validated that VN ctest-vn-03709674 is not found in API Server 2026-01-28 17:49:25,443 - DEBUG - VN ctest-vn-03709674 is not present in Agent 10.0.0.38 2026-01-28 17:49:25,443 - INFO - Validated that VN ctest-vn-03709674 is not in any agent 2026-01-28 17:49:25,455 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03709674 info 2026-01-28 17:49:25,456 - INFO - Deleting VN ctest-vn-55501069 2026-01-28 17:49:25,558 - DEBUG - Response for deleting network () 2026-01-28 17:49:25,558 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a05fb5b5-45d6-42f2-87f7-61790d4b2dc2 2026-01-28 17:49:25,565 - DEBUG - Response Code: 404 2026-01-28 17:49:25,566 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 17:49:25,570 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9a62bedf-dab5-4bd9-82b0-dcb953c50c09 2026-01-28 17:49:25,622 - DEBUG - Requesting: http://10.0.0.38:8082/project/b0cfe8f6-4322-4c73-9930-7d896423b07d 2026-01-28 17:49:25,704 - INFO - Validated that VN ctest-vn-55501069 is not found in API Server 2026-01-28 17:49:25,716 - DEBUG - VN ctest-vn-55501069 is not present in Agent 10.0.0.38 2026-01-28 17:49:25,716 - INFO - Validated that VN ctest-vn-55501069 is not in any agent 2026-01-28 17:49:25,729 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55501069 info 2026-01-28 17:49:25,986 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 17:49:25,986 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-28 17:49:25,986 - INFO - -------------------------------------------------------------------------------- 2026-01-28 17:49:26,654 - INFO - Deleted project: ctest-TestBasicPolicy-90378147, ID : b0cfe8f6-4322-4c73-9930-7d896423b07d