2026-03-03 16:33:05,196 - INFO - Domain Default found not creating 2026-03-03 16:33:05,402 - INFO - Project ctest-TestBasicPolicy-30499031 not found, creating it 2026-03-03 16:33:05,909 - INFO - Created Project:ctest-TestBasicPolicy-30499031, ID : 1a684bee-b613-40d9-9b15-3e0caddb690c 2026-03-03 16:33:07,457 - INFO - ================================================================================ 2026-03-03 16:33:07,457 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-03 16:33:07,457 - 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-03-03 16:33:07,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-03-03 16:33:07,713 - INFO - Initial checks done. Running the testcase now 2026-03-03 16:33:07,713 - INFO - 2026-03-03 16:33:08,357 - DEBUG - Response for create_network : {'network': {'id': 'd4fb2723-18b0-47e7-af8e-d421d58a9874', 'name': 'ctest-vn-14483808', 'tenant_id': '1a684beeb61340d99b153e0caddb690c', 'project_id': '1a684beeb61340d99b153e0caddb690c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-vn-14483808'], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:33:08,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0af3fd0-4cc0-4faf-9399-5ae610e48dc8', 'name': '', 'tenant_id': '1a684beeb61340d99b153e0caddb690c', 'network_id': 'd4fb2723-18b0-47e7-af8e-d421d58a9874', 'ip_version': 4, 'cidr': '96.1.138.128/26', 'allocation_pools': [{'start': '96.1.138.130', 'end': '96.1.138.190'}], 'gateway_ip': '96.1.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.1.138.130', 'tags': [], 'project_id': '1a684beeb61340d99b153e0caddb690c'}} 2026-03-03 16:33:08,609 - INFO - Created VN ctest-vn-14483808 2026-03-03 16:33:08,663 - DEBUG - VN ctest-vn-14483808 UUID is d4fb2723-18b0-47e7-af8e-d421d58a9874 2026-03-03 16:33:08,969 - DEBUG - Response for create_network : {'network': {'id': 'ca3bb45b-cfc7-4777-acfd-03dafd56fdb5', 'name': 'ctest-vn-37318132', 'tenant_id': '1a684beeb61340d99b153e0caddb690c', 'project_id': '1a684beeb61340d99b153e0caddb690c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-vn-37318132'], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:33:09,173 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0caa5c8-cb53-4bdf-b917-7596ca07495f', 'name': '', 'tenant_id': '1a684beeb61340d99b153e0caddb690c', 'network_id': 'ca3bb45b-cfc7-4777-acfd-03dafd56fdb5', 'ip_version': 4, 'cidr': '97.64.146.192/26', 'allocation_pools': [{'start': '97.64.146.194', 'end': '97.64.146.254'}], 'gateway_ip': '97.64.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.64.146.194', 'tags': [], 'project_id': '1a684beeb61340d99b153e0caddb690c'}} 2026-03-03 16:33:09,195 - INFO - Created VN ctest-vn-37318132 2026-03-03 16:33:09,251 - DEBUG - VN ctest-vn-37318132 UUID is ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 2026-03-03 16:33:09,370 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-14483808, 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-30499031:ctest-vn-37318132, 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-03-03 16:33:09,668 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4fb2723-18b0-47e7-af8e-d421d58a9874', 'name': 'ctest-vn-14483808', 'tenant_id': '1a684beeb61340d99b153e0caddb690c', 'project_id': '1a684beeb61340d99b153e0caddb690c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0af3fd0-4cc0-4faf-9399-5ae610e48dc8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-vn-14483808'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-policy-allow-all-69046155']], 'subnet_ipam': [{'subnet_cidr': '96.1.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:33:09,907 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca3bb45b-cfc7-4777-acfd-03dafd56fdb5', 'name': 'ctest-vn-37318132', 'tenant_id': '1a684beeb61340d99b153e0caddb690c', 'project_id': '1a684beeb61340d99b153e0caddb690c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0caa5c8-cb53-4bdf-b917-7596ca07495f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-vn-37318132'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-policy-allow-all-69046155']], 'subnet_ipam': [{'subnet_cidr': '97.64.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-03 16:33:10,059 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-03 16:33:10,363 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-03 16:33:10,398 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6ee9112-c7ec-4ca0-a0a0-fe1304e94b09 2026-03-03 16:33:10,413 - DEBUG - Requesting: http://10.0.0.38:8082/project/1a684bee-b613-40d9-9b15-3e0caddb690c 2026-03-03 16:33:10,494 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4fb2723-18b0-47e7-af8e-d421d58a9874 2026-03-03 16:33:10,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4fb2723-18b0-47e7-af8e-d421d58a9874 2026-03-03 16:33:10,517 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/663e7934-e504-473d-8289-42a42b022e6d 2026-03-03 16:33:10,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/663e7934-e504-473d-8289-42a42b022e6d 2026-03-03 16:33:10,532 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/48a20d97-cdbc-4eb5-9bd5-e9853a703bc7 2026-03-03 16:33:10,539 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-03 16:33:10,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4fb2723-18b0-47e7-af8e-d421d58a9874 2026-03-03 16:33:10,551 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/663e7934-e504-473d-8289-42a42b022e6d 2026-03-03 16:33:10,571 - INFO - Verified VN network id 11 for VN d4fb2723-18b0-47e7-af8e-d421d58a9874 2026-03-03 16:33:10,571 - INFO - Verifications in API Server for VN ctest-vn-14483808 passed 2026-03-03 16:33:10,571 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4fb2723-18b0-47e7-af8e-d421d58a9874 2026-03-03 16:33:10,582 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/663e7934-e504-473d-8289-42a42b022e6d 2026-03-03 16:33:10,589 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/663e7934-e504-473d-8289-42a42b022e6d 2026-03-03 16:33:10,599 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/48a20d97-cdbc-4eb5-9bd5-e9853a703bc7 2026-03-03 16:33:10,611 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-14483808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30499031', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15346903186886641639', 'uuid-lslong': '12650281645111941236'}, 'enable': 'true', 'created': '2026-03-03T16:33:08', 'last-modified': '2026-03-03T16:33:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965136'} 2026-03-03 16:33:10,617 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-03 16:33:10,618 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14483808 passed 2026-03-03 16:33:10,618 - DEBUG - ====Verifying policy data for ctest-vn-14483808 in API_Server ====== 2026-03-03 16:33:10,618 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-03 16:33:10,624 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6ee9112-c7ec-4ca0-a0a0-fe1304e94b09 2026-03-03 16:33:10,637 - DEBUG - Requesting: http://10.0.0.38:8082/project/1a684bee-b613-40d9-9b15-3e0caddb690c 2026-03-03 16:33:10,709 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4fb2723-18b0-47e7-af8e-d421d58a9874 2026-03-03 16:33:10,717 - DEBUG - ==>Verifying data for policy with id: 0e300e40-10a0-4895-911b-928325676451, fqn: ['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-policy-allow-all-69046155'] 2026-03-03 16:33:10,718 - INFO - VN ctest-vn-14483808 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-03 16:33:10,718 - DEBUG - Verifying the vn in opserver 2026-03-03 16:33:10,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-14483808 virtual network link through opserver 10.0.0.38 2026-03-03 16:33:10,718 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-03 16:33:11,028 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-03 16:33:11,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-14483808', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-14483808?flat'} 2026-03-03 16:33:11,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-14483808 is found in opserver 2026-03-03 16:33:11,121 - DEBUG - Do not have enough data to verify VN in agent 2026-03-03 16:33:11,127 - DEBUG - VRF ids for VN ctest-vn-14483808: {} 2026-03-03 16:33:11,128 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-03 16:33:11,134 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6ee9112-c7ec-4ca0-a0a0-fe1304e94b09 2026-03-03 16:33:11,150 - DEBUG - Requesting: http://10.0.0.38:8082/project/1a684bee-b613-40d9-9b15-3e0caddb690c 2026-03-03 16:33:11,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 2026-03-03 16:33:11,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 2026-03-03 16:33:11,248 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a8610b1a-5fca-4cb9-a7cc-eed201f3b4a5 2026-03-03 16:33:11,255 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a8610b1a-5fca-4cb9-a7cc-eed201f3b4a5 2026-03-03 16:33:11,263 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fe6499b8-a3d0-4f31-b928-ccca5cdf0d5f 2026-03-03 16:33:11,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-03 16:33:11,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 2026-03-03 16:33:11,283 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a8610b1a-5fca-4cb9-a7cc-eed201f3b4a5 2026-03-03 16:33:11,302 - INFO - Verified VN network id 12 for VN ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 2026-03-03 16:33:11,303 - INFO - Verifications in API Server for VN ctest-vn-37318132 passed 2026-03-03 16:33:11,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 2026-03-03 16:33:11,316 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a8610b1a-5fca-4cb9-a7cc-eed201f3b4a5 2026-03-03 16:33:11,325 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a8610b1a-5fca-4cb9-a7cc-eed201f3b4a5 2026-03-03 16:33:11,334 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fe6499b8-a3d0-4f31-b928-ccca5cdf0d5f 2026-03-03 16:33:11,348 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-37318132', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30499031', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14572439325708339063', 'uuid-lslong': '12465123582719491509'}, 'enable': 'true', 'created': '2026-03-03T16:33:08', 'last-modified': '2026-03-03T16:33:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462747'} 2026-03-03 16:33:11,354 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-03 16:33:11,354 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37318132 passed 2026-03-03 16:33:11,354 - DEBUG - ====Verifying policy data for ctest-vn-37318132 in API_Server ====== 2026-03-03 16:33:11,354 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-03 16:33:11,361 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6ee9112-c7ec-4ca0-a0a0-fe1304e94b09 2026-03-03 16:33:11,376 - DEBUG - Requesting: http://10.0.0.38:8082/project/1a684bee-b613-40d9-9b15-3e0caddb690c 2026-03-03 16:33:11,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 2026-03-03 16:33:11,462 - DEBUG - ==>Verifying data for policy with id: 0e300e40-10a0-4895-911b-928325676451, fqn: ['default-domain', 'ctest-TestBasicPolicy-30499031', 'ctest-policy-allow-all-69046155'] 2026-03-03 16:33:11,462 - INFO - VN ctest-vn-37318132 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-03 16:33:11,462 - DEBUG - Verifying the vn in opserver 2026-03-03 16:33:11,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-37318132 virtual network link through opserver 10.0.0.38 2026-03-03 16:33:11,462 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-03 16:33:11,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-37318132', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-37318132?flat'} 2026-03-03 16:33:11,475 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-37318132 is found in opserver 2026-03-03 16:33:11,486 - DEBUG - Do not have enough data to verify VN in agent 2026-03-03 16:33:11,491 - DEBUG - VRF ids for VN ctest-vn-37318132: {} 2026-03-03 16:33:11,558 - DEBUG - Services list from nova: [, , ] 2026-03-03 16:33:12,637 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5427-1) 2026-03-03 16:33:13,869 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5427-1) 2026-03-03 16:33:13,869 - INFO - Waiting for VM ctest-TestBasicPolicy-30499031-61237219 to be up.. 2026-03-03 16:33:13,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-03 16:33:19,054 - DEBUG - VM is in ACTIVE state now 2026-03-03 16:33:19,055 - INFO - VM name : ctest-TestBasicPolicy-30499031-61237219 2026-03-03 16:33:19,156 - DEBUG - VM ctest-TestBasicPolicy-30499031-61237219 ID is 6baaf252-0f9d-4b03-bcc2-4060e5dba4c1 2026-03-03 16:33:19,187 - DEBUG - VM ctest-TestBasicPolicy-30499031-61237219 launched on Node cn-jenkins-deploy-platform-ansible-os-5427-1 2026-03-03 16:33:19,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6baaf252-0f9d-4b03-bcc2-4060e5dba4c1 2026-03-03 16:33:19,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/69e29cd4-ed8c-4c0f-89d6-26fe16ebbd7a 2026-03-03 16:33:22,578 - 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 1026ms') 2026-03-03 16:33:22,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30499031-61237219 failed! 2026-03-03 16:33:22,635 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30499031:ctest-vn-14483808 is 96.1.138.129 and allocation pool is NOT set 2026-03-03 16:33:24,699 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.482/5.589/10.697/5.107 ms') 2026-03-03 16:33:24,699 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30499031-61237219 passed 2026-03-03 16:33:24,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:33:24,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30499031-61237219, IP 96.1.138.131, Port 22 2026-03-03 16:33:25,017 - DEBUG - VM ctest-TestBasicPolicy-30499031-61237219 is ready for SSH connections 2026-03-03 16:33:25,017 - INFO - Waiting for VM ctest-TestBasicPolicy-30499031-24122247 to be up.. 2026-03-03 16:33:25,105 - DEBUG - VM is in ACTIVE state now 2026-03-03 16:33:25,105 - INFO - VM name : ctest-TestBasicPolicy-30499031-24122247 2026-03-03 16:33:25,190 - DEBUG - VM ctest-TestBasicPolicy-30499031-24122247 ID is 9a3a77a6-e4f1-43cb-81cc-851137bcb8fd 2026-03-03 16:33:25,190 - DEBUG - VM ctest-TestBasicPolicy-30499031-24122247 launched on Node cn-jenkins-deploy-platform-ansible-os-5427-1 2026-03-03 16:33:25,281 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9a3a77a6-e4f1-43cb-81cc-851137bcb8fd 2026-03-03 16:33:25,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/510ab3d1-263b-4921-ae52-b64707bc2886 2026-03-03 16:33:26,545 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.760 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.760/1.907/3.055/1.147 ms') 2026-03-03 16:33:26,545 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30499031-24122247 passed 2026-03-03 16:33:26,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:33:26,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30499031-24122247, IP 97.64.146.195, Port 22 2026-03-03 16:33:26,888 - DEBUG - VM ctest-TestBasicPolicy-30499031-24122247 is ready for SSH connections 2026-03-03 16:33:26,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:33:26,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.64.146.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-03 16:33:26,888 - DEBUG - ping -s 56 -c 3 -W 1 97.64.146.195 2026-03-03 16:33:30,989 - DEBUG - PING 97.64.146.195 (97.64.146.195): 56 data bytes 64 bytes from 97.64.146.195: seq=0 ttl=63 time=4.044 ms 64 bytes from 97.64.146.195: seq=1 ttl=63 time=1.128 ms 64 bytes from 97.64.146.195: seq=2 ttl=63 time=1.134 ms --- 97.64.146.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.128/2.102/4.044 ms 2026-03-03 16:33:30,989 - INFO - Ping to IP 97.64.146.195 from VM ctest-TestBasicPolicy-30499031-61237219 passed 2026-03-03 16:33:31,179 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0e300e40-10a0-4895-911b-928325676451", "href": "http://10.0.0.38:8082/network-policy/0e300e40-10a0-4895-911b-928325676451"}} 2026-03-03 16:33:31,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-03 16:33:31,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.64.146.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-03 16:33:31,179 - DEBUG - ping -s 56 -c 3 -W 1 97.64.146.195 2026-03-03 16:33:34,414 - DEBUG - PING 97.64.146.195 (97.64.146.195): 56 data bytes --- 97.64.146.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-03 16:33:34,414 - WARNING - Ping to IP 97.64.146.195 from VM ctest-TestBasicPolicy-30499031-61237219 failed 2026-03-03 16:33:34,414 - INFO - Deleting VM ctest-TestBasicPolicy-30499031-24122247 2026-03-03 16:33:34,498 - INFO - Deleting VM ctest-TestBasicPolicy-30499031-61237219 2026-03-03 16:33:35,076 - INFO - Deleted policy ctest-policy-allow-all-69046155 2026-03-03 16:33:35,076 - INFO - Deleting VN ctest-vn-37318132 2026-03-03 16:33:35,126 - DEBUG - VN ca3bb45b-cfc7-4777-acfd-03dafd56fdb5 still in use: Unable to complete operation on network ca3bb45b-cfc7-4777-acfd-03dafd56fdb5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-672dcd22-7156-45eb-9d89-568c0dcc9d6b'] 2026-03-03 16:33:35,126 - WARNING - Deleting VN ctest-vn-37318132 failed..Will retry 2026-03-03 16:33:37,243 - DEBUG - Response for deleting network () 2026-03-03 16:33:37,243 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a8610b1a-5fca-4cb9-a7cc-eed201f3b4a5 2026-03-03 16:33:37,251 - DEBUG - Response Code: 404 2026-03-03 16:33:37,251 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-03 16:33:37,257 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6ee9112-c7ec-4ca0-a0a0-fe1304e94b09 2026-03-03 16:33:37,313 - DEBUG - Requesting: http://10.0.0.38:8082/project/1a684bee-b613-40d9-9b15-3e0caddb690c 2026-03-03 16:33:37,393 - INFO - Validated that VN ctest-vn-37318132 is not found in API Server 2026-03-03 16:33:37,402 - DEBUG - VN ctest-vn-37318132 is not present in Agent 10.0.0.38 2026-03-03 16:33:37,402 - INFO - Validated that VN ctest-vn-37318132 is not in any agent 2026-03-03 16:33:37,417 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37318132 info 2026-03-03 16:33:37,417 - INFO - Deleting VN ctest-vn-14483808 2026-03-03 16:33:37,523 - DEBUG - Response for deleting network () 2026-03-03 16:33:37,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/663e7934-e504-473d-8289-42a42b022e6d 2026-03-03 16:33:37,533 - DEBUG - Response Code: 404 2026-03-03 16:33:37,533 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-03 16:33:37,539 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b6ee9112-c7ec-4ca0-a0a0-fe1304e94b09 2026-03-03 16:33:37,593 - DEBUG - Requesting: http://10.0.0.38:8082/project/1a684bee-b613-40d9-9b15-3e0caddb690c 2026-03-03 16:33:37,669 - INFO - Validated that VN ctest-vn-14483808 is not found in API Server 2026-03-03 16:33:37,680 - DEBUG - VN ctest-vn-14483808 is not present in Agent 10.0.0.38 2026-03-03 16:33:37,680 - INFO - Validated that VN ctest-vn-14483808 is not in any agent 2026-03-03 16:33:37,695 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14483808 info 2026-03-03 16:33:37,959 - DEBUG - No XMPP flaps were noticed during the test
2026-03-03 16:33:37,959 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-03 16:33:37,959 - INFO - -------------------------------------------------------------------------------- 2026-03-03 16:33:38,682 - INFO - Deleted project: ctest-TestBasicPolicy-30499031, ID : 1a684bee-b613-40d9-9b15-3e0caddb690c