2025-01-02 13:01:15,470 - INFO - Domain Default found not creating 2025-01-02 13:01:15,618 - INFO - Project ctest-TestBasicPolicy-21438400 not found, creating it 2025-01-02 13:01:16,064 - INFO - Created Project:ctest-TestBasicPolicy-21438400, ID : 8eab47e9-644a-468c-bd09-fdc4cc252386 2025-01-02 13:01:17,493 - INFO - ================================================================================ 2025-01-02 13:01:17,493 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-02 13:01:17,493 - 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-01-02 13:01:17,747 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.17': '0'}} with 2025-01-02 13:01:17,747 - INFO - Initial checks done. Running the testcase now 2025-01-02 13:01:17,747 - INFO - 2025-01-02 13:01:18,287 - DEBUG - Response for create_network : {'network': {'id': '1901310f-44c7-46c5-8d9f-4098c8f164f1', 'name': 'ctest-vn-18035235', 'tenant_id': '8eab47e9644a468cbd09fdc4cc252386', 'project_id': '8eab47e9644a468cbd09fdc4cc252386', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-vn-18035235'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 13:01:18,500 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd020edb4-3ae4-4d6c-a916-828b53d074a5', 'name': '', 'tenant_id': '8eab47e9644a468cbd09fdc4cc252386', 'network_id': '1901310f-44c7-46c5-8d9f-4098c8f164f1', 'ip_version': 4, 'cidr': '11.249.5.64/26', 'allocation_pools': [{'start': '11.249.5.66', 'end': '11.249.5.126'}], 'gateway_ip': '11.249.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.249.5.66', 'tags': [], 'project_id': '8eab47e9644a468cbd09fdc4cc252386'}} 2025-01-02 13:01:18,520 - INFO - Created VN ctest-vn-18035235 2025-01-02 13:01:18,576 - DEBUG - VN ctest-vn-18035235 UUID is 1901310f-44c7-46c5-8d9f-4098c8f164f1 2025-01-02 13:01:18,886 - DEBUG - Response for create_network : {'network': {'id': '922efce9-f30f-4e12-a39a-fef0980972de', 'name': 'ctest-vn-10178620', 'tenant_id': '8eab47e9644a468cbd09fdc4cc252386', 'project_id': '8eab47e9644a468cbd09fdc4cc252386', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-vn-10178620'], 'port_security_enabled': True, 'description': ''}} 2025-01-02 13:01:19,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '99c0e20a-45a3-4b72-ba8a-a1a2ce242b2d', 'name': '', 'tenant_id': '8eab47e9644a468cbd09fdc4cc252386', 'network_id': '922efce9-f30f-4e12-a39a-fef0980972de', 'ip_version': 4, 'cidr': '110.0.151.64/26', 'allocation_pools': [{'start': '110.0.151.66', 'end': '110.0.151.126'}], 'gateway_ip': '110.0.151.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.0.151.66', 'tags': [], 'project_id': '8eab47e9644a468cbd09fdc4cc252386'}} 2025-01-02 13:01:19,119 - INFO - Created VN ctest-vn-10178620 2025-01-02 13:01:19,172 - DEBUG - VN ctest-vn-10178620 UUID is 922efce9-f30f-4e12-a39a-fef0980972de 2025-01-02 13:01:19,324 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-18035235, 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-21438400:ctest-vn-10178620, 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-01-02 13:01:19,628 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1901310f-44c7-46c5-8d9f-4098c8f164f1', 'name': 'ctest-vn-18035235', 'tenant_id': '8eab47e9644a468cbd09fdc4cc252386', 'project_id': '8eab47e9644a468cbd09fdc4cc252386', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d020edb4-3ae4-4d6c-a916-828b53d074a5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-vn-18035235'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-policy-allow-all-77555993']], 'subnet_ipam': [{'subnet_cidr': '11.249.5.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 13:01:19,856 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '922efce9-f30f-4e12-a39a-fef0980972de', 'name': 'ctest-vn-10178620', 'tenant_id': '8eab47e9644a468cbd09fdc4cc252386', 'project_id': '8eab47e9644a468cbd09fdc4cc252386', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['99c0e20a-45a3-4b72-ba8a-a1a2ce242b2d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-vn-10178620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-policy-allow-all-77555993']], 'subnet_ipam': [{'subnet_cidr': '110.0.151.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-02 13:01:20,004 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-01-02 13:01:20,302 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-01-02 13:01:20,328 - DEBUG - Requesting: http://10.0.0.47:8082/domain/42b33a92-20ba-4c68-b788-cdc81c397814 2025-01-02 13:01:20,342 - DEBUG - Requesting: http://10.0.0.47:8082/project/8eab47e9-644a-468c-bd09-fdc4cc252386 2025-01-02 13:01:20,418 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/1901310f-44c7-46c5-8d9f-4098c8f164f1 2025-01-02 13:01:20,428 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/1901310f-44c7-46c5-8d9f-4098c8f164f1 2025-01-02 13:01:20,438 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/7c8e72a0-0e9c-4b39-8b7d-1e8d3b266db1 2025-01-02 13:01:20,446 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/7c8e72a0-0e9c-4b39-8b7d-1e8d3b266db1 2025-01-02 13:01:20,453 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/75eaccd0-c20c-4670-9c94-6b374c227175 2025-01-02 13:01:20,461 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 13:01:20,461 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/1901310f-44c7-46c5-8d9f-4098c8f164f1 2025-01-02 13:01:20,470 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/7c8e72a0-0e9c-4b39-8b7d-1e8d3b266db1 2025-01-02 13:01:20,485 - INFO - Verified VN network id 9 for VN 1901310f-44c7-46c5-8d9f-4098c8f164f1 2025-01-02 13:01:20,485 - INFO - Verifications in API Server for VN ctest-vn-18035235 passed 2025-01-02 13:01:20,485 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/1901310f-44c7-46c5-8d9f-4098c8f164f1 2025-01-02 13:01:20,498 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/7c8e72a0-0e9c-4b39-8b7d-1e8d3b266db1 2025-01-02 13:01:20,506 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/7c8e72a0-0e9c-4b39-8b7d-1e8d3b266db1 2025-01-02 13:01:20,515 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/75eaccd0-c20c-4670-9c94-6b374c227175 2025-01-02 13:01:20,528 - DEBUG - Control-node 10.0.0.47 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-18035235', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21438400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1801775267573089989', 'uuid-lslong': '10204946305595303153'}, 'enable': 'true', 'created': '2025-01-02T13:01:18', 'last-modified': '2025-01-02T13:01:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923973'} 2025-01-02 13:01:20,534 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-02 13:01:20,534 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18035235 passed 2025-01-02 13:01:20,535 - DEBUG - ====Verifying policy data for ctest-vn-18035235 in API_Server ====== 2025-01-02 13:01:20,535 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-01-02 13:01:20,540 - DEBUG - Requesting: http://10.0.0.47:8082/domain/42b33a92-20ba-4c68-b788-cdc81c397814 2025-01-02 13:01:20,552 - DEBUG - Requesting: http://10.0.0.47:8082/project/8eab47e9-644a-468c-bd09-fdc4cc252386 2025-01-02 13:01:20,627 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/1901310f-44c7-46c5-8d9f-4098c8f164f1 2025-01-02 13:01:20,637 - DEBUG - ==>Verifying data for policy with id: 68a1f3ef-4b84-48f2-8d64-2919faf1198d, fqn: ['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-policy-allow-all-77555993'] 2025-01-02 13:01:20,637 - INFO - VN ctest-vn-18035235 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 13:01:20,637 - DEBUG - Verifying the vn in opserver 2025-01-02 13:01:20,637 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-18035235 virtual network link through opserver 10.0.0.47 2025-01-02 13:01:20,637 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-01-02 13:01:20,929 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-01-02 13:01:20,985 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-18035235', 'href': 'http://10.0.0.47:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-18035235?flat'} 2025-01-02 13:01:20,985 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-18035235 is found in opserver 2025-01-02 13:01:20,996 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 13:01:21,002 - DEBUG - VRF ids for VN ctest-vn-18035235: {} 2025-01-02 13:01:21,002 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-01-02 13:01:21,011 - DEBUG - Requesting: http://10.0.0.47:8082/domain/42b33a92-20ba-4c68-b788-cdc81c397814 2025-01-02 13:01:21,024 - DEBUG - Requesting: http://10.0.0.47:8082/project/8eab47e9-644a-468c-bd09-fdc4cc252386 2025-01-02 13:01:21,091 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/922efce9-f30f-4e12-a39a-fef0980972de 2025-01-02 13:01:21,105 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/922efce9-f30f-4e12-a39a-fef0980972de 2025-01-02 13:01:21,114 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/3eb84401-78a4-4248-b80e-8e801e5acbbd 2025-01-02 13:01:21,121 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/3eb84401-78a4-4248-b80e-8e801e5acbbd 2025-01-02 13:01:21,129 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/f3ef7627-a972-496c-a53e-c6f42f45936c 2025-01-02 13:01:21,135 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 13:01:21,135 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/922efce9-f30f-4e12-a39a-fef0980972de 2025-01-02 13:01:21,144 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/3eb84401-78a4-4248-b80e-8e801e5acbbd 2025-01-02 13:01:21,159 - INFO - Verified VN network id 10 for VN 922efce9-f30f-4e12-a39a-fef0980972de 2025-01-02 13:01:21,159 - INFO - Verifications in API Server for VN ctest-vn-10178620 passed 2025-01-02 13:01:21,159 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/922efce9-f30f-4e12-a39a-fef0980972de 2025-01-02 13:01:21,167 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/3eb84401-78a4-4248-b80e-8e801e5acbbd 2025-01-02 13:01:21,174 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/3eb84401-78a4-4248-b80e-8e801e5acbbd 2025-01-02 13:01:21,180 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/f3ef7627-a972-496c-a53e-c6f42f45936c 2025-01-02 13:01:21,191 - DEBUG - Control-node 10.0.0.47 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-10178620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21438400', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10533634660201614866', 'uuid-lslong': '11789015283892056798'}, 'enable': 'true', 'created': '2025-01-02T13:01:18', 'last-modified': '2025-01-02T13:01:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352041'} 2025-01-02 13:01:21,198 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-01-02 13:01:21,198 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10178620 passed 2025-01-02 13:01:21,198 - DEBUG - ====Verifying policy data for ctest-vn-10178620 in API_Server ====== 2025-01-02 13:01:21,198 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-01-02 13:01:21,204 - DEBUG - Requesting: http://10.0.0.47:8082/domain/42b33a92-20ba-4c68-b788-cdc81c397814 2025-01-02 13:01:21,215 - DEBUG - Requesting: http://10.0.0.47:8082/project/8eab47e9-644a-468c-bd09-fdc4cc252386 2025-01-02 13:01:21,293 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/922efce9-f30f-4e12-a39a-fef0980972de 2025-01-02 13:01:21,304 - DEBUG - ==>Verifying data for policy with id: 68a1f3ef-4b84-48f2-8d64-2919faf1198d, fqn: ['default-domain', 'ctest-TestBasicPolicy-21438400', 'ctest-policy-allow-all-77555993'] 2025-01-02 13:01:21,304 - INFO - VN ctest-vn-10178620 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-02 13:01:21,304 - DEBUG - Verifying the vn in opserver 2025-01-02 13:01:21,305 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-10178620 virtual network link through opserver 10.0.0.47 2025-01-02 13:01:21,305 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-01-02 13:01:21,316 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-10178620', 'href': 'http://10.0.0.47:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-10178620?flat'} 2025-01-02 13:01:21,316 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-10178620 is found in opserver 2025-01-02 13:01:21,327 - DEBUG - Do not have enough data to verify VN in agent 2025-01-02 13:01:21,332 - DEBUG - VRF ids for VN ctest-vn-10178620: {} 2025-01-02 13:01:21,387 - DEBUG - Services list from nova: [, , ] 2025-01-02 13:01:22,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2510-1) 2025-01-02 13:01:23,643 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2510-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2510-1) 2025-01-02 13:01:23,643 - INFO - Waiting for VM ctest-TestBasicPolicy-21438400-94543554 to be up.. 2025-01-02 13:01:23,734 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-02 13:01:28,803 - DEBUG - VM is in ACTIVE state now 2025-01-02 13:01:28,804 - INFO - VM name : ctest-TestBasicPolicy-21438400-94543554 2025-01-02 13:01:28,875 - DEBUG - VM ctest-TestBasicPolicy-21438400-94543554 ID is cbe68c4e-0906-4cef-8fcb-06a8cbc7cc9b 2025-01-02 13:01:28,892 - DEBUG - VM ctest-TestBasicPolicy-21438400-94543554 launched on Node cn-jenkins-deploy-platform-ansible-os-2510-1 2025-01-02 13:01:28,967 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/cbe68c4e-0906-4cef-8fcb-06a8cbc7cc9b 2025-01-02 13:01:28,976 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/d8215c2e-a5ba-4c7e-8c10-35d642d66202 2025-01-02 13:01:32,227 - 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 1011ms') 2025-01-02 13:01:32,227 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21438400-94543554 failed! 2025-01-02 13:01:32,280 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21438400:ctest-vn-18035235 is 11.249.5.65 and allocation pool is NOT set 2025-01-02 13:01:34,345 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.440 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.440/1.650/2.860/1.210 ms') 2025-01-02 13:01:34,345 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21438400-94543554 passed 2025-01-02 13:01:34,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:01:34,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21438400-94543554, IP 11.249.5.67, Port 22 2025-01-02 13:01:34,660 - DEBUG - VM ctest-TestBasicPolicy-21438400-94543554 is ready for SSH connections 2025-01-02 13:01:34,660 - INFO - Waiting for VM ctest-TestBasicPolicy-21438400-91681248 to be up.. 2025-01-02 13:01:34,747 - DEBUG - VM is in ACTIVE state now 2025-01-02 13:01:34,747 - INFO - VM name : ctest-TestBasicPolicy-21438400-91681248 2025-01-02 13:01:34,828 - DEBUG - VM ctest-TestBasicPolicy-21438400-91681248 ID is 580da989-c2fe-4a18-9216-71084e0c3da1 2025-01-02 13:01:34,829 - DEBUG - VM ctest-TestBasicPolicy-21438400-91681248 launched on Node cn-jenkins-deploy-platform-ansible-os-2510-1 2025-01-02 13:01:34,920 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/580da989-c2fe-4a18-9216-71084e0c3da1 2025-01-02 13:01:34,931 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/d8a3111c-99da-4873-a5f2-477bfd3a2bae 2025-01-02 13:01:36,175 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.367 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 = 0.367/3.461/6.556/3.094 ms') 2025-01-02 13:01:36,176 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21438400-91681248 passed 2025-01-02 13:01:36,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:01:36,324 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21438400-91681248, IP 110.0.151.67, Port 22 2025-01-02 13:01:36,476 - DEBUG - VM ctest-TestBasicPolicy-21438400-91681248 is ready for SSH connections 2025-01-02 13:01:36,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:01:36,476 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.0.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-01-02 13:01:36,476 - DEBUG - ping -s 56 -c 3 -W 1 110.0.151.67 2025-01-02 13:01:40,450 - DEBUG - PING 110.0.151.67 (110.0.151.67): 56 data bytes 64 bytes from 110.0.151.67: seq=0 ttl=63 time=3.770 ms 64 bytes from 110.0.151.67: seq=1 ttl=63 time=0.856 ms 64 bytes from 110.0.151.67: seq=2 ttl=63 time=0.841 ms --- 110.0.151.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/1.822/3.770 ms 2025-01-02 13:01:40,450 - INFO - Ping to IP 110.0.151.67 from VM ctest-TestBasicPolicy-21438400-94543554 passed 2025-01-02 13:01:40,628 - DEBUG - Policy Update Response {"network-policy": {"uuid": "68a1f3ef-4b84-48f2-8d64-2919faf1198d", "href": "http://10.0.0.47:8082/network-policy/68a1f3ef-4b84-48f2-8d64-2919faf1198d"}} 2025-01-02 13:01:40,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-02 13:01:40,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.0.151.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-01-02 13:01:40,628 - DEBUG - ping -s 56 -c 3 -W 1 110.0.151.67 2025-01-02 13:01:43,829 - DEBUG - PING 110.0.151.67 (110.0.151.67): 56 data bytes --- 110.0.151.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-02 13:01:43,829 - WARNING - Ping to IP 110.0.151.67 from VM ctest-TestBasicPolicy-21438400-94543554 failed 2025-01-02 13:01:43,830 - INFO - Deleting VM ctest-TestBasicPolicy-21438400-91681248 2025-01-02 13:01:43,892 - INFO - Deleting VM ctest-TestBasicPolicy-21438400-94543554 2025-01-02 13:01:44,225 - INFO - Deleted policy ctest-policy-allow-all-77555993 2025-01-02 13:01:44,225 - INFO - Deleting VN ctest-vn-10178620 2025-01-02 13:01:44,260 - DEBUG - VN 922efce9-f30f-4e12-a39a-fef0980972de still in use: Unable to complete operation on network 922efce9-f30f-4e12-a39a-fef0980972de. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-424f7756-243b-4292-aa34-68f45849ec34'] 2025-01-02 13:01:44,260 - WARNING - Deleting VN ctest-vn-10178620 failed..Will retry 2025-01-02 13:01:46,365 - DEBUG - Response for deleting network () 2025-01-02 13:01:46,365 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/3eb84401-78a4-4248-b80e-8e801e5acbbd 2025-01-02 13:01:46,373 - DEBUG - Response Code: 404 2025-01-02 13:01:46,373 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-01-02 13:01:46,379 - DEBUG - Requesting: http://10.0.0.47:8082/domain/42b33a92-20ba-4c68-b788-cdc81c397814 2025-01-02 13:01:46,436 - DEBUG - Requesting: http://10.0.0.47:8082/project/8eab47e9-644a-468c-bd09-fdc4cc252386 2025-01-02 13:01:46,514 - INFO - Validated that VN ctest-vn-10178620 is not found in API Server 2025-01-02 13:01:46,525 - DEBUG - VN ctest-vn-10178620 is not present in Agent 10.0.0.47 2025-01-02 13:01:46,525 - INFO - Validated that VN ctest-vn-10178620 is not in any agent 2025-01-02 13:01:46,543 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10178620 info 2025-01-02 13:01:46,543 - INFO - Deleting VN ctest-vn-18035235 2025-01-02 13:01:46,651 - DEBUG - Response for deleting network () 2025-01-02 13:01:46,651 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/7c8e72a0-0e9c-4b39-8b7d-1e8d3b266db1 2025-01-02 13:01:46,662 - DEBUG - Response Code: 404 2025-01-02 13:01:46,662 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-01-02 13:01:46,668 - DEBUG - Requesting: http://10.0.0.47:8082/domain/42b33a92-20ba-4c68-b788-cdc81c397814 2025-01-02 13:01:46,722 - DEBUG - Requesting: http://10.0.0.47:8082/project/8eab47e9-644a-468c-bd09-fdc4cc252386 2025-01-02 13:01:46,804 - INFO - Validated that VN ctest-vn-18035235 is not found in API Server 2025-01-02 13:01:46,815 - DEBUG - VN ctest-vn-18035235 is not present in Agent 10.0.0.47 2025-01-02 13:01:46,815 - INFO - Validated that VN ctest-vn-18035235 is not in any agent 2025-01-02 13:01:46,833 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18035235 info 2025-01-02 13:01:47,086 - DEBUG - No XMPP flaps were noticed during the test 2025-01-02 13:01:47,086 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-02 13:01:47,086 - INFO - -------------------------------------------------------------------------------- 2025-01-02 13:01:47,780 - INFO - Deleted project: ctest-TestBasicPolicy-21438400, ID : 8eab47e9-644a-468c-bd09-fdc4cc252386