2025-02-03 09:08:13,182 - INFO - Domain Default found not creating 2025-02-03 09:08:13,373 - INFO - Project ctest-TestBasicPolicy-18851143 not found, creating it 2025-02-03 09:08:13,855 - INFO - Created Project:ctest-TestBasicPolicy-18851143, ID : 06541c80-f429-4eff-9f29-d32dfe2ef6a9 2025-02-03 09:08:15,314 - INFO - ================================================================================ 2025-02-03 09:08:15,315 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-03 09:08:15,315 - 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-02-03 09:08:15,569 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2025-02-03 09:08:15,569 - INFO - Initial checks done. Running the testcase now 2025-02-03 09:08:15,569 - INFO - 2025-02-03 09:08:16,155 - DEBUG - Response for create_network : {'network': {'id': '1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b', 'name': 'ctest-vn-60772945', 'tenant_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'project_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-vn-60772945'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 09:08:16,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6dd4708-f805-4559-9a44-a36a26381837', 'name': '', 'tenant_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'network_id': '1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b', 'ip_version': 4, 'cidr': '102.208.18.0/26', 'allocation_pools': [{'start': '102.208.18.2', 'end': '102.208.18.62'}], 'gateway_ip': '102.208.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.208.18.2', 'tags': [], 'project_id': '06541c80f4294eff9f29d32dfe2ef6a9'}} 2025-02-03 09:08:16,389 - INFO - Created VN ctest-vn-60772945 2025-02-03 09:08:16,442 - DEBUG - VN ctest-vn-60772945 UUID is 1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b 2025-02-03 09:08:16,746 - DEBUG - Response for create_network : {'network': {'id': '7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76', 'name': 'ctest-vn-26948424', 'tenant_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'project_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-vn-26948424'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 09:08:16,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a63f2ca-7ef6-4dc3-bd17-251a590a5e73', 'name': '', 'tenant_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'network_id': '7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76', 'ip_version': 4, 'cidr': '66.64.111.64/26', 'allocation_pools': [{'start': '66.64.111.66', 'end': '66.64.111.126'}], 'gateway_ip': '66.64.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.64.111.66', 'tags': [], 'project_id': '06541c80f4294eff9f29d32dfe2ef6a9'}} 2025-02-03 09:08:16,969 - INFO - Created VN ctest-vn-26948424 2025-02-03 09:08:17,022 - DEBUG - VN ctest-vn-26948424 UUID is 7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 2025-02-03 09:08:17,139 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-60772945, 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-18851143:ctest-vn-26948424, 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-02-03 09:08:17,456 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b', 'name': 'ctest-vn-60772945', 'tenant_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'project_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6dd4708-f805-4559-9a44-a36a26381837'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-vn-60772945'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-policy-allow-all-89746791']], 'subnet_ipam': [{'subnet_cidr': '102.208.18.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 09:08:17,694 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76', 'name': 'ctest-vn-26948424', 'tenant_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'project_id': '06541c80f4294eff9f29d32dfe2ef6a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a63f2ca-7ef6-4dc3-bd17-251a590a5e73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-vn-26948424'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-policy-allow-all-89746791']], 'subnet_ipam': [{'subnet_cidr': '66.64.111.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-03 09:08:17,879 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-03 09:08:18,184 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-03 09:08:18,214 - DEBUG - Requesting: http://10.0.0.24:8082/domain/65f823cd-ca4d-4201-864a-d4c9241abb61 2025-02-03 09:08:18,229 - DEBUG - Requesting: http://10.0.0.24:8082/project/06541c80-f429-4eff-9f29-d32dfe2ef6a9 2025-02-03 09:08:18,308 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b 2025-02-03 09:08:18,323 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b 2025-02-03 09:08:18,334 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/4f62ab39-f026-41f2-943e-f9c6e985163b 2025-02-03 09:08:18,344 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/4f62ab39-f026-41f2-943e-f9c6e985163b 2025-02-03 09:08:18,352 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/b4b87c62-38af-4dcd-b64e-e90f25ece832 2025-02-03 09:08:18,361 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 09:08:18,361 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b 2025-02-03 09:08:18,374 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/4f62ab39-f026-41f2-943e-f9c6e985163b 2025-02-03 09:08:18,393 - INFO - Verified VN network id 8 for VN 1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b 2025-02-03 09:08:18,394 - INFO - Verifications in API Server for VN ctest-vn-60772945 passed 2025-02-03 09:08:18,394 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b 2025-02-03 09:08:18,407 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/4f62ab39-f026-41f2-943e-f9c6e985163b 2025-02-03 09:08:18,416 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/4f62ab39-f026-41f2-943e-f9c6e985163b 2025-02-03 09:08:18,425 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/b4b87c62-38af-4dcd-b64e-e90f25ece832 2025-02-03 09:08:18,442 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-60772945', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18851143', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2215737868103798443', 'uuid-lslong': '11159231646903855899'}, 'enable': 'true', 'created': '2025-02-03T09:08:16', 'last-modified': '2025-02-03T09:08:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.015880'} 2025-02-03 09:08:18,449 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-03 09:08:18,449 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60772945 passed 2025-02-03 09:08:18,449 - DEBUG - ====Verifying policy data for ctest-vn-60772945 in API_Server ====== 2025-02-03 09:08:18,449 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-03 09:08:18,457 - DEBUG - Requesting: http://10.0.0.24:8082/domain/65f823cd-ca4d-4201-864a-d4c9241abb61 2025-02-03 09:08:18,473 - DEBUG - Requesting: http://10.0.0.24:8082/project/06541c80-f429-4eff-9f29-d32dfe2ef6a9 2025-02-03 09:08:18,555 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/1ebfe1d9-ffb5-4eab-9add-8e0f08006b1b 2025-02-03 09:08:18,569 - DEBUG - ==>Verifying data for policy with id: 1a37336a-2a00-40ad-afaf-e42fcf1cee1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-policy-allow-all-89746791'] 2025-02-03 09:08:18,569 - INFO - VN ctest-vn-60772945 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 09:08:18,569 - DEBUG - Verifying the vn in opserver 2025-02-03 09:08:18,569 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-60772945 virtual network link through opserver 10.0.0.24 2025-02-03 09:08:18,569 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-03 09:08:18,864 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-03 09:08:18,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-60772945', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-60772945?flat'} 2025-02-03 09:08:18,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-60772945 is found in opserver 2025-02-03 09:08:18,932 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 09:08:18,938 - DEBUG - VRF ids for VN ctest-vn-60772945: {} 2025-02-03 09:08:18,938 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-03 09:08:18,944 - DEBUG - Requesting: http://10.0.0.24:8082/domain/65f823cd-ca4d-4201-864a-d4c9241abb61 2025-02-03 09:08:18,955 - DEBUG - Requesting: http://10.0.0.24:8082/project/06541c80-f429-4eff-9f29-d32dfe2ef6a9 2025-02-03 09:08:19,026 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 2025-02-03 09:08:19,042 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 2025-02-03 09:08:19,054 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9160099b-9461-4846-8d4a-cf73d1abb61d 2025-02-03 09:08:19,065 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9160099b-9461-4846-8d4a-cf73d1abb61d 2025-02-03 09:08:19,075 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/6c673c77-783e-4e86-9c2c-c66e1ffa2586 2025-02-03 09:08:19,084 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 09:08:19,084 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 2025-02-03 09:08:19,094 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9160099b-9461-4846-8d4a-cf73d1abb61d 2025-02-03 09:08:19,111 - INFO - Verified VN network id 9 for VN 7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 2025-02-03 09:08:19,111 - INFO - Verifications in API Server for VN ctest-vn-26948424 passed 2025-02-03 09:08:19,111 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 2025-02-03 09:08:19,125 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9160099b-9461-4846-8d4a-cf73d1abb61d 2025-02-03 09:08:19,134 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9160099b-9461-4846-8d4a-cf73d1abb61d 2025-02-03 09:08:19,141 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/6c673c77-783e-4e86-9c2c-c66e1ffa2586 2025-02-03 09:08:19,155 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-26948424', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18851143', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8863677032456735728', 'uuid-lslong': '9963242403671662454'}, 'enable': 'true', 'created': '2025-02-03T09:08:16', 'last-modified': '2025-02-03T09:08:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.485859'} 2025-02-03 09:08:19,164 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-03 09:08:19,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26948424 passed 2025-02-03 09:08:19,164 - DEBUG - ====Verifying policy data for ctest-vn-26948424 in API_Server ====== 2025-02-03 09:08:19,164 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-03 09:08:19,171 - DEBUG - Requesting: http://10.0.0.24:8082/domain/65f823cd-ca4d-4201-864a-d4c9241abb61 2025-02-03 09:08:19,186 - DEBUG - Requesting: http://10.0.0.24:8082/project/06541c80-f429-4eff-9f29-d32dfe2ef6a9 2025-02-03 09:08:19,259 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 2025-02-03 09:08:19,270 - DEBUG - ==>Verifying data for policy with id: 1a37336a-2a00-40ad-afaf-e42fcf1cee1e, fqn: ['default-domain', 'ctest-TestBasicPolicy-18851143', 'ctest-policy-allow-all-89746791'] 2025-02-03 09:08:19,270 - INFO - VN ctest-vn-26948424 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-03 09:08:19,270 - DEBUG - Verifying the vn in opserver 2025-02-03 09:08:19,270 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-26948424 virtual network link through opserver 10.0.0.24 2025-02-03 09:08:19,270 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-03 09:08:19,282 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-26948424', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-26948424?flat'} 2025-02-03 09:08:19,282 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-26948424 is found in opserver 2025-02-03 09:08:19,293 - DEBUG - Do not have enough data to verify VN in agent 2025-02-03 09:08:19,298 - DEBUG - VRF ids for VN ctest-vn-26948424: {} 2025-02-03 09:08:19,359 - DEBUG - Services list from nova: [, , ] 2025-02-03 09:08:20,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2676-1) 2025-02-03 09:08:21,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2676-1) 2025-02-03 09:08:21,705 - INFO - Waiting for VM ctest-TestBasicPolicy-18851143-35779818 to be up.. 2025-02-03 09:08:21,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 09:08:26,899 - DEBUG - VM is in ACTIVE state now 2025-02-03 09:08:26,899 - INFO - VM name : ctest-TestBasicPolicy-18851143-35779818 2025-02-03 09:08:26,986 - DEBUG - VM ctest-TestBasicPolicy-18851143-35779818 ID is dad2ab57-3f53-484c-88a4-52efefd18d2a 2025-02-03 09:08:27,011 - DEBUG - VM ctest-TestBasicPolicy-18851143-35779818 launched on Node cn-jenkins-deploy-platform-ansible-os-2676-1 2025-02-03 09:08:27,108 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/dad2ab57-3f53-484c-88a4-52efefd18d2a 2025-02-03 09:08:27,119 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/9a0291d8-33f9-4a5b-a19c-c1e6c822be7d 2025-02-03 09:08:30,379 - 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 1002ms') 2025-02-03 09:08:30,380 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18851143-35779818 failed! 2025-02-03 09:08:30,439 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18851143:ctest-vn-60772945 is 102.208.18.1 and allocation pool is NOT set 2025-02-03 09:08:32,503 - 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=9.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 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 = 1.169/5.140/9.112/3.971 ms') 2025-02-03 09:08:32,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18851143-35779818 passed 2025-02-03 09:08:32,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:08:32,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18851143-35779818, IP 102.208.18.3, Port 22 2025-02-03 09:08:32,830 - DEBUG - VM ctest-TestBasicPolicy-18851143-35779818 is ready for SSH connections 2025-02-03 09:08:32,830 - INFO - Waiting for VM ctest-TestBasicPolicy-18851143-41774551 to be up.. 2025-02-03 09:08:32,915 - DEBUG - VM is in ACTIVE state now 2025-02-03 09:08:32,915 - INFO - VM name : ctest-TestBasicPolicy-18851143-41774551 2025-02-03 09:08:33,001 - DEBUG - VM ctest-TestBasicPolicy-18851143-41774551 ID is 68861521-5f9b-4f7e-897c-e656381ed65c 2025-02-03 09:08:33,001 - DEBUG - VM ctest-TestBasicPolicy-18851143-41774551 launched on Node cn-jenkins-deploy-platform-ansible-os-2676-1 2025-02-03 09:08:33,105 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/68861521-5f9b-4f7e-897c-e656381ed65c 2025-02-03 09:08:33,116 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/8ccaf301-dc3f-44e0-b31d-05a36489750c 2025-02-03 09:08:34,366 - 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=4.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.20 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 = 2.201/3.179/4.157/0.978 ms') 2025-02-03 09:08:34,366 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18851143-41774551 passed 2025-02-03 09:08:34,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:08:34,514 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18851143-41774551, IP 66.64.111.67, Port 22 2025-02-03 09:08:34,677 - DEBUG - VM ctest-TestBasicPolicy-18851143-41774551 is ready for SSH connections 2025-02-03 09:08:34,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:08:34,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.64.111.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-03 09:08:34,678 - DEBUG - ping -s 56 -c 3 -W 1 66.64.111.67 2025-02-03 09:08:38,418 - DEBUG - PING 66.64.111.67 (66.64.111.67): 56 data bytes 64 bytes from 66.64.111.67: seq=0 ttl=63 time=3.656 ms 64 bytes from 66.64.111.67: seq=1 ttl=63 time=1.102 ms 64 bytes from 66.64.111.67: seq=2 ttl=63 time=1.088 ms --- 66.64.111.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.088/1.948/3.656 ms 2025-02-03 09:08:38,418 - INFO - Ping to IP 66.64.111.67 from VM ctest-TestBasicPolicy-18851143-35779818 passed 2025-02-03 09:08:38,606 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1a37336a-2a00-40ad-afaf-e42fcf1cee1e", "href": "http://10.0.0.24:8082/network-policy/1a37336a-2a00-40ad-afaf-e42fcf1cee1e"}} 2025-02-03 09:08:38,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:08:38,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.64.111.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-03 09:08:38,607 - DEBUG - ping -s 56 -c 3 -W 1 66.64.111.67 2025-02-03 09:08:41,850 - DEBUG - PING 66.64.111.67 (66.64.111.67): 56 data bytes 64 bytes from 66.64.111.67: seq=0 ttl=63 time=1.442 ms --- 66.64.111.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.442/1.442/1.442 ms 2025-02-03 09:08:41,850 - WARNING - Ping to IP 66.64.111.67 from VM ctest-TestBasicPolicy-18851143-35779818 failed 2025-02-03 09:08:41,850 - INFO - Deleting VM ctest-TestBasicPolicy-18851143-41774551 2025-02-03 09:08:41,924 - INFO - Deleting VM ctest-TestBasicPolicy-18851143-35779818 2025-02-03 09:08:42,360 - INFO - Deleted policy ctest-policy-allow-all-89746791 2025-02-03 09:08:42,360 - INFO - Deleting VN ctest-vn-26948424 2025-02-03 09:08:42,413 - DEBUG - VN 7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76 still in use: Unable to complete operation on network 7b021b4c-9b5f-4bf0-8a44-8c2db9f55f76. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1b60b220-5fd6-4786-8bf7-a5efcb0bbf28'] 2025-02-03 09:08:42,413 - WARNING - Deleting VN ctest-vn-26948424 failed..Will retry 2025-02-03 09:08:44,522 - DEBUG - Response for deleting network () 2025-02-03 09:08:44,522 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9160099b-9461-4846-8d4a-cf73d1abb61d 2025-02-03 09:08:44,530 - DEBUG - Response Code: 404 2025-02-03 09:08:44,530 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-03 09:08:44,539 - DEBUG - Requesting: http://10.0.0.24:8082/domain/65f823cd-ca4d-4201-864a-d4c9241abb61 2025-02-03 09:08:44,592 - DEBUG - Requesting: http://10.0.0.24:8082/project/06541c80-f429-4eff-9f29-d32dfe2ef6a9 2025-02-03 09:08:44,667 - INFO - Validated that VN ctest-vn-26948424 is not found in API Server 2025-02-03 09:08:44,680 - DEBUG - VN ctest-vn-26948424 is not present in Agent 10.0.0.24 2025-02-03 09:08:44,680 - INFO - Validated that VN ctest-vn-26948424 is not in any agent 2025-02-03 09:08:44,698 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26948424 info 2025-02-03 09:08:44,698 - INFO - Deleting VN ctest-vn-60772945 2025-02-03 09:08:44,805 - DEBUG - Response for deleting network () 2025-02-03 09:08:44,805 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/4f62ab39-f026-41f2-943e-f9c6e985163b 2025-02-03 09:08:44,811 - DEBUG - Response Code: 404 2025-02-03 09:08:44,812 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-03 09:08:44,818 - DEBUG - Requesting: http://10.0.0.24:8082/domain/65f823cd-ca4d-4201-864a-d4c9241abb61 2025-02-03 09:08:44,872 - DEBUG - Requesting: http://10.0.0.24:8082/project/06541c80-f429-4eff-9f29-d32dfe2ef6a9 2025-02-03 09:08:44,944 - INFO - Validated that VN ctest-vn-60772945 is not found in API Server 2025-02-03 09:08:44,957 - DEBUG - VN ctest-vn-60772945 is not present in Agent 10.0.0.24 2025-02-03 09:08:44,957 - INFO - Validated that VN ctest-vn-60772945 is not in any agent 2025-02-03 09:08:44,979 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60772945 info 2025-02-03 09:08:45,252 - DEBUG - No XMPP flaps were noticed during the test 2025-02-03 09:08:45,252 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-03 09:08:45,252 - INFO - -------------------------------------------------------------------------------- 2025-02-03 09:08:45,957 - INFO - Deleted project: ctest-TestBasicPolicy-18851143, ID : 06541c80-f429-4eff-9f29-d32dfe2ef6a9