2026-06-19 20:46:01,787 - INFO - Domain Default found not creating 2026-06-19 20:46:01,962 - INFO - Project ctest-TestBasicPolicy-24053941 not found, creating it 2026-06-19 20:46:02,407 - INFO - Created Project:ctest-TestBasicPolicy-24053941, ID : cf730793-20b5-474e-9dde-42e2aed97338 2026-06-19 20:46:03,877 - INFO - ================================================================================ 2026-06-19 20:46:03,877 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 20:46:03,878 - 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-06-19 20:46:04,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-06-19 20:46:04,129 - INFO - Initial checks done. Running the testcase now 2026-06-19 20:46:04,129 - INFO - 2026-06-19 20:46:04,660 - DEBUG - Response for create_network : {'network': {'id': '8e23318e-56f6-45d9-bdd6-a7cf4eadd025', 'name': 'ctest-vn-53394334', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-53394334'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 20:46:04,835 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fec64193-f183-4d71-b67b-73f77acf9671', 'name': '', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'network_id': '8e23318e-56f6-45d9-bdd6-a7cf4eadd025', 'ip_version': 4, 'cidr': '198.159.181.64/26', 'allocation_pools': [{'start': '198.159.181.66', 'end': '198.159.181.126'}], 'gateway_ip': '198.159.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.159.181.66', 'tags': [], 'project_id': 'cf73079320b5474e9dde42e2aed97338'}} 2026-06-19 20:46:04,849 - INFO - Created VN ctest-vn-53394334 2026-06-19 20:46:04,900 - DEBUG - VN ctest-vn-53394334 UUID is 8e23318e-56f6-45d9-bdd6-a7cf4eadd025 2026-06-19 20:46:05,187 - DEBUG - Response for create_network : {'network': {'id': '17dec5dd-f5fb-410c-b6e9-78e70c0d027c', 'name': 'ctest-vn-99759605', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-99759605'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 20:46:05,348 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f477f7a4-be3f-427e-bff4-f30fd6df7703', 'name': '', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'network_id': '17dec5dd-f5fb-410c-b6e9-78e70c0d027c', 'ip_version': 4, 'cidr': '125.25.186.0/26', 'allocation_pools': [{'start': '125.25.186.2', 'end': '125.25.186.62'}], 'gateway_ip': '125.25.186.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.25.186.2', 'tags': [], 'project_id': 'cf73079320b5474e9dde42e2aed97338'}} 2026-06-19 20:46:05,362 - INFO - Created VN ctest-vn-99759605 2026-06-19 20:46:05,412 - DEBUG - VN ctest-vn-99759605 UUID is 17dec5dd-f5fb-410c-b6e9-78e70c0d027c 2026-06-19 20:46:05,548 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334, 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-24053941:ctest-vn-99759605, 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-06-19 20:46:05,834 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e23318e-56f6-45d9-bdd6-a7cf4eadd025', 'name': 'ctest-vn-53394334', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fec64193-f183-4d71-b67b-73f77acf9671'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-53394334'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018']], 'subnet_ipam': [{'subnet_cidr': '198.159.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 20:46:06,058 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17dec5dd-f5fb-410c-b6e9-78e70c0d027c', 'name': 'ctest-vn-99759605', 'tenant_id': 'cf73079320b5474e9dde42e2aed97338', 'project_id': 'cf73079320b5474e9dde42e2aed97338', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f477f7a4-be3f-427e-bff4-f30fd6df7703'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-vn-99759605'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018']], 'subnet_ipam': [{'subnet_cidr': '125.25.186.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 20:46:06,217 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 20:46:06,548 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 20:46:06,574 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3 2026-06-19 20:46:06,586 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338 2026-06-19 20:46:06,656 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025 2026-06-19 20:46:06,668 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025 2026-06-19 20:46:06,676 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966 2026-06-19 20:46:06,683 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966 2026-06-19 20:46:06,688 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5c483ebf-c99b-444b-a629-00fa72cc956f 2026-06-19 20:46:06,694 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 20:46:06,694 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025 2026-06-19 20:46:06,702 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966 2026-06-19 20:46:06,713 - INFO - Verified VN network id 11 for VN 8e23318e-56f6-45d9-bdd6-a7cf4eadd025 2026-06-19 20:46:06,713 - INFO - Verifications in API Server for VN ctest-vn-53394334 passed 2026-06-19 20:46:06,713 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025 2026-06-19 20:46:06,721 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966 2026-06-19 20:46:06,726 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966 2026-06-19 20:46:06,732 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/5c483ebf-c99b-444b-a629-00fa72cc956f 2026-06-19 20:46:06,743 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24053941', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10242084464984737241', 'uuid-lslong': '13679305427004543013'}, 'enable': 'true', 'created': '2026-06-19T20:46:04', 'last-modified': '2026-06-19T20:46:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931349'} 2026-06-19 20:46:06,748 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 20:46:06,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53394334 passed 2026-06-19 20:46:06,748 - DEBUG - ====Verifying policy data for ctest-vn-53394334 in API_Server ====== 2026-06-19 20:46:06,748 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 20:46:06,753 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3 2026-06-19 20:46:06,764 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338 2026-06-19 20:46:06,832 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/8e23318e-56f6-45d9-bdd6-a7cf4eadd025 2026-06-19 20:46:06,840 - DEBUG - ==>Verifying data for policy with id: d30b6c53-e8b5-4f92-abe3-34d6a10187bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018'] 2026-06-19 20:46:06,840 - INFO - VN ctest-vn-53394334 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 20:46:06,840 - DEBUG - Verifying the vn in opserver 2026-06-19 20:46:06,840 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334 virtual network link through opserver 10.0.0.19 2026-06-19 20:46:06,841 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 20:46:07,160 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 20:46:07,240 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334?flat'} 2026-06-19 20:46:07,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334 is found in opserver 2026-06-19 20:46:07,249 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 20:46:07,254 - DEBUG - VRF ids for VN ctest-vn-53394334: {} 2026-06-19 20:46:07,254 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 20:46:07,272 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3 2026-06-19 20:46:07,336 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338 2026-06-19 20:46:07,410 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c 2026-06-19 20:46:07,428 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c 2026-06-19 20:46:07,435 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af 2026-06-19 20:46:07,446 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af 2026-06-19 20:46:07,452 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/04c4051b-4d82-4b29-91cf-a6223643b480 2026-06-19 20:46:07,458 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 20:46:07,458 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c 2026-06-19 20:46:07,466 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af 2026-06-19 20:46:07,479 - INFO - Verified VN network id 12 for VN 17dec5dd-f5fb-410c-b6e9-78e70c0d027c 2026-06-19 20:46:07,479 - INFO - Verifications in API Server for VN ctest-vn-99759605 passed 2026-06-19 20:46:07,479 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c 2026-06-19 20:46:07,497 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af 2026-06-19 20:46:07,513 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af 2026-06-19 20:46:07,527 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/04c4051b-4d82-4b29-91cf-a6223643b480 2026-06-19 20:46:07,537 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24053941', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1720029664807436556', 'uuid-lslong': '13180198718211424892'}, 'enable': 'true', 'created': '2026-06-19T20:46:05', 'last-modified': '2026-06-19T20:46:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.505894'} 2026-06-19 20:46:07,545 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 20:46:07,545 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99759605 passed 2026-06-19 20:46:07,545 - DEBUG - ====Verifying policy data for ctest-vn-99759605 in API_Server ====== 2026-06-19 20:46:07,545 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 20:46:07,553 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3 2026-06-19 20:46:07,568 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338 2026-06-19 20:46:07,615 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/17dec5dd-f5fb-410c-b6e9-78e70c0d027c 2026-06-19 20:46:07,624 - DEBUG - ==>Verifying data for policy with id: d30b6c53-e8b5-4f92-abe3-34d6a10187bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-24053941', 'ctest-policy-allow-all-30621018'] 2026-06-19 20:46:07,624 - INFO - VN ctest-vn-99759605 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 20:46:07,624 - DEBUG - Verifying the vn in opserver 2026-06-19 20:46:07,624 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605 virtual network link through opserver 10.0.0.19 2026-06-19 20:46:07,624 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 20:46:07,640 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605?flat'} 2026-06-19 20:46:07,640 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-99759605 is found in opserver 2026-06-19 20:46:07,650 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 20:46:07,655 - DEBUG - VRF ids for VN ctest-vn-99759605: {} 2026-06-19 20:46:07,716 - DEBUG - Services list from nova: [, , ] 2026-06-19 20:46:08,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6003-1) 2026-06-19 20:46:09,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6003-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6003-1) 2026-06-19 20:46:09,820 - INFO - Waiting for VM ctest-TestBasicPolicy-24053941-10507122 to be up.. 2026-06-19 20:46:09,863 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 20:46:14,929 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 20:46:20,000 - DEBUG - VM is in ACTIVE state now 2026-06-19 20:46:20,001 - INFO - VM name : ctest-TestBasicPolicy-24053941-10507122 2026-06-19 20:46:20,076 - DEBUG - VM ctest-TestBasicPolicy-24053941-10507122 ID is 63bfbf6a-d782-4058-bdac-5742fd0ebbf8 2026-06-19 20:46:20,097 - DEBUG - VM ctest-TestBasicPolicy-24053941-10507122 launched on Node cn-jenkins-deploy-platform-ansible-os-6003-1 2026-06-19 20:46:20,167 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/63bfbf6a-d782-4058-bdac-5742fd0ebbf8 2026-06-19 20:46:20,175 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/232ace22-35d7-45dc-87c0-79f8e4e8840f 2026-06-19 20:46:23,413 - 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 1006ms') 2026-06-19 20:46:23,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24053941-10507122 failed! 2026-06-19 20:46:23,464 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24053941:ctest-vn-53394334 is 198.159.181.65 and allocation pool is NOT set 2026-06-19 20:46:25,523 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.350 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.350/3.915/7.481/3.565 ms') 2026-06-19 20:46:25,523 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24053941-10507122 passed 2026-06-19 20:46:25,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:46:25,672 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24053941-10507122, IP 198.159.181.67, Port 22 2026-06-19 20:46:25,827 - DEBUG - VM ctest-TestBasicPolicy-24053941-10507122 is ready for SSH connections 2026-06-19 20:46:25,827 - INFO - Waiting for VM ctest-TestBasicPolicy-24053941-88409186 to be up.. 2026-06-19 20:46:25,912 - DEBUG - VM is in ACTIVE state now 2026-06-19 20:46:25,912 - INFO - VM name : ctest-TestBasicPolicy-24053941-88409186 2026-06-19 20:46:25,996 - DEBUG - VM ctest-TestBasicPolicy-24053941-88409186 ID is 237412ec-fae9-4fc8-9ce6-637b5954e6f0 2026-06-19 20:46:25,996 - DEBUG - VM ctest-TestBasicPolicy-24053941-88409186 launched on Node cn-jenkins-deploy-platform-ansible-os-6003-1 2026-06-19 20:46:26,077 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/237412ec-fae9-4fc8-9ce6-637b5954e6f0 2026-06-19 20:46:26,085 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/a49156f3-7fc4-449b-90d1-5e93c54e265a 2026-06-19 20:46:27,321 - 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=6.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.628/4.630/6.633/2.002 ms') 2026-06-19 20:46:27,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24053941-88409186 passed 2026-06-19 20:46:27,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:46:27,468 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24053941-88409186, IP 125.25.186.3, Port 22 2026-06-19 20:46:27,528 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 20:46:27,589 - DEBUG - VM ctest-TestBasicPolicy-24053941-88409186 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 20:46:32,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:46:32,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24053941-88409186, IP 125.25.186.3, Port 22 2026-06-19 20:46:32,752 - DEBUG - VM ctest-TestBasicPolicy-24053941-88409186 is ready for SSH connections 2026-06-19 20:46:32,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:46:32,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.25.186.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 20:46:32,752 - DEBUG - ping -s 56 -c 3 -W 1 125.25.186.3 2026-06-19 20:46:36,607 - DEBUG - PING 125.25.186.3 (125.25.186.3): 56 data bytes 64 bytes from 125.25.186.3: seq=0 ttl=63 time=3.711 ms 64 bytes from 125.25.186.3: seq=1 ttl=63 time=1.168 ms 64 bytes from 125.25.186.3: seq=2 ttl=63 time=1.061 ms --- 125.25.186.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.061/1.980/3.711 ms 2026-06-19 20:46:36,607 - INFO - Ping to IP 125.25.186.3 from VM ctest-TestBasicPolicy-24053941-10507122 passed 2026-06-19 20:46:36,796 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d30b6c53-e8b5-4f92-abe3-34d6a10187bd", "href": "http://10.0.0.19:8082/network-policy/d30b6c53-e8b5-4f92-abe3-34d6a10187bd"}} 2026-06-19 20:46:36,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 20:46:36,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.25.186.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 20:46:36,797 - DEBUG - ping -s 56 -c 3 -W 1 125.25.186.3 2026-06-19 20:46:39,921 - DEBUG - PING 125.25.186.3 (125.25.186.3): 56 data bytes --- 125.25.186.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-19 20:46:39,922 - WARNING - Ping to IP 125.25.186.3 from VM ctest-TestBasicPolicy-24053941-10507122 failed 2026-06-19 20:46:39,922 - INFO - Deleting VM ctest-TestBasicPolicy-24053941-88409186 2026-06-19 20:46:39,987 - INFO - Deleting VM ctest-TestBasicPolicy-24053941-10507122 2026-06-19 20:46:40,294 - INFO - Deleted policy ctest-policy-allow-all-30621018 2026-06-19 20:46:40,294 - INFO - Deleting VN ctest-vn-99759605 2026-06-19 20:46:40,326 - DEBUG - VN 17dec5dd-f5fb-410c-b6e9-78e70c0d027c still in use: Unable to complete operation on network 17dec5dd-f5fb-410c-b6e9-78e70c0d027c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f0dfc28-fe20-4db0-bf4e-9aeccbc39152'] 2026-06-19 20:46:40,326 - WARNING - Deleting VN ctest-vn-99759605 failed..Will retry 2026-06-19 20:46:42,414 - DEBUG - Response for deleting network () 2026-06-19 20:46:42,414 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f1132b13-a894-4d55-a597-bfed1c1228af 2026-06-19 20:46:42,419 - DEBUG - Response Code: 404 2026-06-19 20:46:42,419 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 20:46:42,423 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3 2026-06-19 20:46:42,474 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338 2026-06-19 20:46:42,542 - INFO - Validated that VN ctest-vn-99759605 is not found in API Server 2026-06-19 20:46:42,550 - DEBUG - VN ctest-vn-99759605 is not present in Agent 10.0.0.19 2026-06-19 20:46:42,550 - INFO - Validated that VN ctest-vn-99759605 is not in any agent 2026-06-19 20:46:42,561 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99759605 info 2026-06-19 20:46:42,561 - INFO - Deleting VN ctest-vn-53394334 2026-06-19 20:46:42,653 - DEBUG - Response for deleting network () 2026-06-19 20:46:42,653 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/9c8cb15d-9fe4-45b2-96e8-e195d9655966 2026-06-19 20:46:42,658 - DEBUG - Response Code: 404 2026-06-19 20:46:42,658 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 20:46:42,662 - DEBUG - Requesting: http://10.0.0.19:8082/domain/44e49982-02e6-4058-b701-2ca41fef80a3 2026-06-19 20:46:42,713 - DEBUG - Requesting: http://10.0.0.19:8082/project/cf730793-20b5-474e-9dde-42e2aed97338 2026-06-19 20:46:42,784 - INFO - Validated that VN ctest-vn-53394334 is not found in API Server 2026-06-19 20:46:42,792 - DEBUG - VN ctest-vn-53394334 is not present in Agent 10.0.0.19 2026-06-19 20:46:42,792 - INFO - Validated that VN ctest-vn-53394334 is not in any agent 2026-06-19 20:46:42,804 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53394334 info 2026-06-19 20:46:43,057 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 20:46:43,057 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-06-19 20:46:43,057 - INFO - -------------------------------------------------------------------------------- 2026-06-19 20:46:43,730 - INFO - Deleted project: ctest-TestBasicPolicy-24053941, ID : cf730793-20b5-474e-9dde-42e2aed97338