2025-05-05 02:10:31,114 - INFO - Domain Default found not creating 2025-05-05 02:10:31,262 - INFO - Project ctest-TestBasicPolicy-25245955 not found, creating it 2025-05-05 02:10:31,744 - INFO - Created Project:ctest-TestBasicPolicy-25245955, ID : ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f 2025-05-05 02:10:33,370 - INFO - ================================================================================ 2025-05-05 02:10:33,370 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-05 02:10:33,371 - 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-05-05 02:10:33,626 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-05-05 02:10:33,626 - INFO - Initial checks done. Running the testcase now 2025-05-05 02:10:33,626 - INFO - 2025-05-05 02:10:34,231 - DEBUG - Response for create_network : {'network': {'id': '773a005e-618c-494e-b4c9-241939a44355', 'name': 'ctest-vn-71855065', 'tenant_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'project_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-vn-71855065'], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:10:34,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '296faaea-2f4e-4ce3-80c0-40b00c6e00d4', 'name': '', 'tenant_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'network_id': '773a005e-618c-494e-b4c9-241939a44355', 'ip_version': 4, 'cidr': '110.30.72.0/26', 'allocation_pools': [{'start': '110.30.72.2', 'end': '110.30.72.62'}], 'gateway_ip': '110.30.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.30.72.2', 'tags': [], 'project_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f'}} 2025-05-05 02:10:34,477 - INFO - Created VN ctest-vn-71855065 2025-05-05 02:10:34,530 - DEBUG - VN ctest-vn-71855065 UUID is 773a005e-618c-494e-b4c9-241939a44355 2025-05-05 02:10:34,852 - DEBUG - Response for create_network : {'network': {'id': '0d2952ef-5852-4bb9-b776-c546ec2a1d6e', 'name': 'ctest-vn-62739140', 'tenant_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'project_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-vn-62739140'], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:10:35,003 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6d0fd88-1413-4395-ae94-c9b9f192f049', 'name': '', 'tenant_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'network_id': '0d2952ef-5852-4bb9-b776-c546ec2a1d6e', 'ip_version': 4, 'cidr': '169.188.166.192/26', 'allocation_pools': [{'start': '169.188.166.194', 'end': '169.188.166.254'}], 'gateway_ip': '169.188.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.188.166.194', 'tags': [], 'project_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f'}} 2025-05-05 02:10:35,022 - INFO - Created VN ctest-vn-62739140 2025-05-05 02:10:35,078 - DEBUG - VN ctest-vn-62739140 UUID is 0d2952ef-5852-4bb9-b776-c546ec2a1d6e 2025-05-05 02:10:35,199 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-71855065, 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-25245955:ctest-vn-62739140, 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-05-05 02:10:35,530 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '773a005e-618c-494e-b4c9-241939a44355', 'name': 'ctest-vn-71855065', 'tenant_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'project_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['296faaea-2f4e-4ce3-80c0-40b00c6e00d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-vn-71855065'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-policy-allow-all-73012553']], 'subnet_ipam': [{'subnet_cidr': '110.30.72.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:10:35,775 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d2952ef-5852-4bb9-b776-c546ec2a1d6e', 'name': 'ctest-vn-62739140', 'tenant_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'project_id': 'ff5bbcf36e3b4f39a2d4d56681f69b3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e6d0fd88-1413-4395-ae94-c9b9f192f049'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-vn-62739140'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-policy-allow-all-73012553']], 'subnet_ipam': [{'subnet_cidr': '169.188.166.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-05 02:10:35,958 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-05 02:10:36,293 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-05 02:10:36,325 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0a135b46-1d65-4671-af1b-c572fb0dcddc 2025-05-05 02:10:36,340 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f 2025-05-05 02:10:36,416 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/773a005e-618c-494e-b4c9-241939a44355 2025-05-05 02:10:36,429 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/773a005e-618c-494e-b4c9-241939a44355 2025-05-05 02:10:36,440 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9bd87be1-6ccc-4118-8279-4d73f2cece91 2025-05-05 02:10:36,448 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9bd87be1-6ccc-4118-8279-4d73f2cece91 2025-05-05 02:10:36,456 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a1d3665c-fa1c-4417-ac99-a04798584892 2025-05-05 02:10:36,464 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-05 02:10:36,464 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/773a005e-618c-494e-b4c9-241939a44355 2025-05-05 02:10:36,474 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9bd87be1-6ccc-4118-8279-4d73f2cece91 2025-05-05 02:10:36,489 - INFO - Verified VN network id 8 for VN 773a005e-618c-494e-b4c9-241939a44355 2025-05-05 02:10:36,490 - INFO - Verifications in API Server for VN ctest-vn-71855065 passed 2025-05-05 02:10:36,490 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/773a005e-618c-494e-b4c9-241939a44355 2025-05-05 02:10:36,502 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9bd87be1-6ccc-4118-8279-4d73f2cece91 2025-05-05 02:10:36,511 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9bd87be1-6ccc-4118-8279-4d73f2cece91 2025-05-05 02:10:36,522 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a1d3665c-fa1c-4417-ac99-a04798584892 2025-05-05 02:10:36,536 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-71855065', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25245955', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8591179644526152014', 'uuid-lslong': '13026983087905719125'}, 'enable': 'true', 'created': '2025-05-05T02:10:34', 'last-modified': '2025-05-05T02:10:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.043631'} 2025-05-05 02:10:36,544 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-05 02:10:36,544 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71855065 passed 2025-05-05 02:10:36,544 - DEBUG - ====Verifying policy data for ctest-vn-71855065 in API_Server ====== 2025-05-05 02:10:36,544 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-05 02:10:36,550 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0a135b46-1d65-4671-af1b-c572fb0dcddc 2025-05-05 02:10:36,565 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f 2025-05-05 02:10:36,644 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/773a005e-618c-494e-b4c9-241939a44355 2025-05-05 02:10:36,656 - DEBUG - ==>Verifying data for policy with id: cf984280-6efb-4eac-9fce-641f5a915508, fqn: ['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-policy-allow-all-73012553'] 2025-05-05 02:10:36,656 - INFO - VN ctest-vn-71855065 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-05 02:10:36,657 - DEBUG - Verifying the vn in opserver 2025-05-05 02:10:36,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-71855065 virtual network link through opserver 10.0.0.254 2025-05-05 02:10:36,657 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-05 02:10:36,995 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-05 02:10:37,055 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-71855065', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-71855065?flat'} 2025-05-05 02:10:37,055 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-71855065 is found in opserver 2025-05-05 02:10:37,069 - DEBUG - Do not have enough data to verify VN in agent 2025-05-05 02:10:37,076 - DEBUG - VRF ids for VN ctest-vn-71855065: {} 2025-05-05 02:10:37,076 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-05 02:10:37,083 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0a135b46-1d65-4671-af1b-c572fb0dcddc 2025-05-05 02:10:37,099 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f 2025-05-05 02:10:37,186 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d2952ef-5852-4bb9-b776-c546ec2a1d6e 2025-05-05 02:10:37,201 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d2952ef-5852-4bb9-b776-c546ec2a1d6e 2025-05-05 02:10:37,214 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4399cf04-8cb5-4aa3-839e-079f03ddcdb1 2025-05-05 02:10:37,225 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4399cf04-8cb5-4aa3-839e-079f03ddcdb1 2025-05-05 02:10:37,234 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8cb1a1ab-85e1-40fe-bce3-35f89a74eca9 2025-05-05 02:10:37,249 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-05 02:10:37,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d2952ef-5852-4bb9-b776-c546ec2a1d6e 2025-05-05 02:10:37,262 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4399cf04-8cb5-4aa3-839e-079f03ddcdb1 2025-05-05 02:10:37,282 - INFO - Verified VN network id 9 for VN 0d2952ef-5852-4bb9-b776-c546ec2a1d6e 2025-05-05 02:10:37,282 - INFO - Verifications in API Server for VN ctest-vn-62739140 passed 2025-05-05 02:10:37,282 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d2952ef-5852-4bb9-b776-c546ec2a1d6e 2025-05-05 02:10:37,296 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4399cf04-8cb5-4aa3-839e-079f03ddcdb1 2025-05-05 02:10:37,305 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4399cf04-8cb5-4aa3-839e-079f03ddcdb1 2025-05-05 02:10:37,313 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/8cb1a1ab-85e1-40fe-bce3-35f89a74eca9 2025-05-05 02:10:37,330 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-62739140', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25245955', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '948380384470649785', 'uuid-lslong': '13219970664593235310'}, 'enable': 'true', 'created': '2025-05-05T02:10:34', 'last-modified': '2025-05-05T02:10:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.576516'} 2025-05-05 02:10:37,338 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-05 02:10:37,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62739140 passed 2025-05-05 02:10:37,339 - DEBUG - ====Verifying policy data for ctest-vn-62739140 in API_Server ====== 2025-05-05 02:10:37,339 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-05 02:10:37,347 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0a135b46-1d65-4671-af1b-c572fb0dcddc 2025-05-05 02:10:37,363 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f 2025-05-05 02:10:37,442 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d2952ef-5852-4bb9-b776-c546ec2a1d6e 2025-05-05 02:10:37,458 - DEBUG - ==>Verifying data for policy with id: cf984280-6efb-4eac-9fce-641f5a915508, fqn: ['default-domain', 'ctest-TestBasicPolicy-25245955', 'ctest-policy-allow-all-73012553'] 2025-05-05 02:10:37,458 - INFO - VN ctest-vn-62739140 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-05 02:10:37,458 - DEBUG - Verifying the vn in opserver 2025-05-05 02:10:37,459 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-62739140 virtual network link through opserver 10.0.0.254 2025-05-05 02:10:37,459 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-05-05 02:10:37,470 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-62739140', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-62739140?flat'} 2025-05-05 02:10:37,470 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-62739140 is found in opserver 2025-05-05 02:10:37,482 - DEBUG - Do not have enough data to verify VN in agent 2025-05-05 02:10:37,487 - DEBUG - VRF ids for VN ctest-vn-62739140: {} 2025-05-05 02:10:37,545 - DEBUG - Services list from nova: [, , ] 2025-05-05 02:10:38,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3263-1) 2025-05-05 02:10:40,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3263-1) 2025-05-05 02:10:40,050 - INFO - Waiting for VM ctest-TestBasicPolicy-25245955-64373873 to be up.. 2025-05-05 02:10:40,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-05 02:10:45,224 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:10:45,224 - INFO - VM name : ctest-TestBasicPolicy-25245955-64373873 2025-05-05 02:10:45,314 - DEBUG - VM ctest-TestBasicPolicy-25245955-64373873 ID is 016ecaae-2288-4207-9311-4537ec4960ad 2025-05-05 02:10:45,345 - DEBUG - VM ctest-TestBasicPolicy-25245955-64373873 launched on Node cn-jenkins-deploy-platform-ansible-os-3263-1 2025-05-05 02:10:45,427 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/016ecaae-2288-4207-9311-4537ec4960ad 2025-05-05 02:10:45,437 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ecd82a88-e368-4d5f-af26-5afd5eb05a1d 2025-05-05 02:10:48,719 - 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 1035ms') 2025-05-05 02:10:48,719 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25245955-64373873 failed! 2025-05-05 02:10:48,774 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25245955:ctest-vn-71855065 is 110.30.72.1 and allocation pool is NOT set 2025-05-05 02:10:50,837 - 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=6.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.588 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.588/3.788/6.988/3.200 ms') 2025-05-05 02:10:50,837 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25245955-64373873 passed 2025-05-05 02:10:50,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:10:50,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25245955-64373873, IP 110.30.72.3, Port 22 2025-05-05 02:10:51,149 - DEBUG - VM ctest-TestBasicPolicy-25245955-64373873 is ready for SSH connections 2025-05-05 02:10:51,149 - INFO - Waiting for VM ctest-TestBasicPolicy-25245955-72185907 to be up.. 2025-05-05 02:10:51,230 - DEBUG - VM is in ACTIVE state now 2025-05-05 02:10:51,230 - INFO - VM name : ctest-TestBasicPolicy-25245955-72185907 2025-05-05 02:10:51,307 - DEBUG - VM ctest-TestBasicPolicy-25245955-72185907 ID is 689cc72d-d68a-42b3-8164-bee42695ffed 2025-05-05 02:10:51,308 - DEBUG - VM ctest-TestBasicPolicy-25245955-72185907 launched on Node cn-jenkins-deploy-platform-ansible-os-3263-1 2025-05-05 02:10:51,386 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/689cc72d-d68a-42b3-8164-bee42695ffed 2025-05-05 02:10:51,395 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e4e2ceef-17c3-4f20-bd01-5be488bf1e71 2025-05-05 02:10:52,643 - 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=5.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.912 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.912/2.962/5.013/2.050 ms') 2025-05-05 02:10:52,643 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25245955-72185907 passed 2025-05-05 02:10:52,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:10:52,798 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25245955-72185907, IP 169.188.166.195, Port 22 2025-05-05 02:10:52,953 - DEBUG - VM ctest-TestBasicPolicy-25245955-72185907 is ready for SSH connections 2025-05-05 02:10:52,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:10:52,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.188.166.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-05 02:10:52,954 - DEBUG - ping -s 56 -c 3 -W 1 169.188.166.195 2025-05-05 02:10:56,697 - DEBUG - PING 169.188.166.195 (169.188.166.195): 56 data bytes 64 bytes from 169.188.166.195: seq=0 ttl=63 time=4.329 ms 64 bytes from 169.188.166.195: seq=1 ttl=63 time=0.793 ms 64 bytes from 169.188.166.195: seq=2 ttl=63 time=0.903 ms --- 169.188.166.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.793/2.008/4.329 ms 2025-05-05 02:10:56,698 - INFO - Ping to IP 169.188.166.195 from VM ctest-TestBasicPolicy-25245955-64373873 passed 2025-05-05 02:10:56,914 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cf984280-6efb-4eac-9fce-641f5a915508", "href": "http://10.0.0.254:8082/network-policy/cf984280-6efb-4eac-9fce-641f5a915508"}} 2025-05-05 02:10:56,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-05 02:10:56,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.188.166.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-05-05 02:10:56,914 - DEBUG - ping -s 56 -c 3 -W 1 169.188.166.195 2025-05-05 02:11:00,162 - DEBUG - PING 169.188.166.195 (169.188.166.195): 56 data bytes 64 bytes from 169.188.166.195: seq=0 ttl=63 time=1.503 ms --- 169.188.166.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.503/1.503/1.503 ms 2025-05-05 02:11:00,162 - WARNING - Ping to IP 169.188.166.195 from VM ctest-TestBasicPolicy-25245955-64373873 failed 2025-05-05 02:11:00,162 - INFO - Deleting VM ctest-TestBasicPolicy-25245955-72185907 2025-05-05 02:11:00,238 - INFO - Deleting VM ctest-TestBasicPolicy-25245955-64373873 2025-05-05 02:11:00,711 - INFO - Deleted policy ctest-policy-allow-all-73012553 2025-05-05 02:11:00,711 - INFO - Deleting VN ctest-vn-62739140 2025-05-05 02:11:00,749 - DEBUG - VN 0d2952ef-5852-4bb9-b776-c546ec2a1d6e still in use: Unable to complete operation on network 0d2952ef-5852-4bb9-b776-c546ec2a1d6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-faca5cf5-ac41-418f-8a52-4356a2ddf055'] 2025-05-05 02:11:00,749 - WARNING - Deleting VN ctest-vn-62739140 failed..Will retry 2025-05-05 02:11:02,876 - DEBUG - Response for deleting network () 2025-05-05 02:11:02,876 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4399cf04-8cb5-4aa3-839e-079f03ddcdb1 2025-05-05 02:11:02,887 - DEBUG - Response Code: 404 2025-05-05 02:11:02,887 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-05 02:11:02,894 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0a135b46-1d65-4671-af1b-c572fb0dcddc 2025-05-05 02:11:02,953 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f 2025-05-05 02:11:03,033 - INFO - Validated that VN ctest-vn-62739140 is not found in API Server 2025-05-05 02:11:03,046 - DEBUG - VN ctest-vn-62739140 is not present in Agent 10.0.0.254 2025-05-05 02:11:03,046 - INFO - Validated that VN ctest-vn-62739140 is not in any agent 2025-05-05 02:11:03,065 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62739140 info 2025-05-05 02:11:03,066 - INFO - Deleting VN ctest-vn-71855065 2025-05-05 02:11:03,193 - DEBUG - Response for deleting network () 2025-05-05 02:11:03,193 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9bd87be1-6ccc-4118-8279-4d73f2cece91 2025-05-05 02:11:03,202 - DEBUG - Response Code: 404 2025-05-05 02:11:03,202 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-05-05 02:11:03,210 - DEBUG - Requesting: http://10.0.0.254:8082/domain/0a135b46-1d65-4671-af1b-c572fb0dcddc 2025-05-05 02:11:03,268 - DEBUG - Requesting: http://10.0.0.254:8082/project/ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f 2025-05-05 02:11:03,343 - INFO - Validated that VN ctest-vn-71855065 is not found in API Server 2025-05-05 02:11:03,356 - DEBUG - VN ctest-vn-71855065 is not present in Agent 10.0.0.254 2025-05-05 02:11:03,356 - INFO - Validated that VN ctest-vn-71855065 is not in any agent 2025-05-05 02:11:03,373 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71855065 info 2025-05-05 02:11:03,627 - DEBUG - No XMPP flaps were noticed during the test 2025-05-05 02:11:03,628 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-05 02:11:03,628 - INFO - -------------------------------------------------------------------------------- 2025-05-05 02:11:04,396 - INFO - Deleted project: ctest-TestBasicPolicy-25245955, ID : ff5bbcf3-6e3b-4f39-a2d4-d56681f69b3f