2024-09-19 16:41:29,672 - INFO - Domain Default found not creating 2024-09-19 16:41:30,059 - INFO - Project ctest-TestBasicPolicy-21549233 not found, creating it 2024-09-19 16:41:30,857 - INFO - Created Project:ctest-TestBasicPolicy-21549233, ID : e74d26af-2118-4491-9cb0-edb7f57c1c7f 2024-09-19 16:41:32,363 - INFO - ================================================================================ 2024-09-19 16:41:32,363 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-19 16:41:32,363 - 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 2024-09-19 16:41:32,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with 2024-09-19 16:41:32,618 - INFO - Initial checks done. Running the testcase now 2024-09-19 16:41:32,619 - INFO - 2024-09-19 16:41:33,199 - DEBUG - Response for create_network : {'network': {'id': '2f791aab-7cac-421f-82c9-c2be8bf3e26a', 'name': 'ctest-vn-61202122', 'tenant_id': 'e74d26af211844919cb0edb7f57c1c7f', 'project_id': 'e74d26af211844919cb0edb7f57c1c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-vn-61202122'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 16:41:33,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '10e3d408-732b-4953-bd4a-5787e4f08673', 'name': '', 'tenant_id': 'e74d26af211844919cb0edb7f57c1c7f', 'network_id': '2f791aab-7cac-421f-82c9-c2be8bf3e26a', 'ip_version': 4, 'cidr': '86.157.27.0/26', 'allocation_pools': [{'start': '86.157.27.2', 'end': '86.157.27.62'}], 'gateway_ip': '86.157.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.157.27.2', 'tags': [], 'project_id': 'e74d26af211844919cb0edb7f57c1c7f'}} 2024-09-19 16:41:33,449 - INFO - Created VN ctest-vn-61202122 2024-09-19 16:41:33,508 - DEBUG - VN ctest-vn-61202122 UUID is 2f791aab-7cac-421f-82c9-c2be8bf3e26a 2024-09-19 16:41:33,835 - DEBUG - Response for create_network : {'network': {'id': '9fdb04b9-75f8-41d7-a37c-61570fd030f2', 'name': 'ctest-vn-72985308', 'tenant_id': 'e74d26af211844919cb0edb7f57c1c7f', 'project_id': 'e74d26af211844919cb0edb7f57c1c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-vn-72985308'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 16:41:34,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a9ef8e3-69e4-4061-b09a-327012b092ef', 'name': '', 'tenant_id': 'e74d26af211844919cb0edb7f57c1c7f', 'network_id': '9fdb04b9-75f8-41d7-a37c-61570fd030f2', 'ip_version': 4, 'cidr': '169.11.174.128/26', 'allocation_pools': [{'start': '169.11.174.130', 'end': '169.11.174.190'}], 'gateway_ip': '169.11.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.11.174.130', 'tags': [], 'project_id': 'e74d26af211844919cb0edb7f57c1c7f'}} 2024-09-19 16:41:34,070 - INFO - Created VN ctest-vn-72985308 2024-09-19 16:41:34,129 - DEBUG - VN ctest-vn-72985308 UUID is 9fdb04b9-75f8-41d7-a37c-61570fd030f2 2024-09-19 16:41:34,256 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-61202122, 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-21549233:ctest-vn-72985308, 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] 2024-09-19 16:41:34,581 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f791aab-7cac-421f-82c9-c2be8bf3e26a', 'name': 'ctest-vn-61202122', 'tenant_id': 'e74d26af211844919cb0edb7f57c1c7f', 'project_id': 'e74d26af211844919cb0edb7f57c1c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['10e3d408-732b-4953-bd4a-5787e4f08673'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-vn-61202122'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-policy-allow-all-28786491']], 'subnet_ipam': [{'subnet_cidr': '86.157.27.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-19 16:41:34,833 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9fdb04b9-75f8-41d7-a37c-61570fd030f2', 'name': 'ctest-vn-72985308', 'tenant_id': 'e74d26af211844919cb0edb7f57c1c7f', 'project_id': 'e74d26af211844919cb0edb7f57c1c7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a9ef8e3-69e4-4061-b09a-327012b092ef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-vn-72985308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-policy-allow-all-28786491']], 'subnet_ipam': [{'subnet_cidr': '169.11.174.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-19 16:41:35,025 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-19 16:41:35,340 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-19 16:41:35,377 - DEBUG - Requesting: http://10.0.0.22:8082/domain/13ce7c80-ea0f-4c1b-9546-2703f2237f44 2024-09-19 16:41:35,393 - DEBUG - Requesting: http://10.0.0.22:8082/project/e74d26af-2118-4491-9cb0-edb7f57c1c7f 2024-09-19 16:41:35,483 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2f791aab-7cac-421f-82c9-c2be8bf3e26a 2024-09-19 16:41:35,504 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2f791aab-7cac-421f-82c9-c2be8bf3e26a 2024-09-19 16:41:35,519 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6a814a37-3a53-4a0a-8532-d1837d557873 2024-09-19 16:41:35,528 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6a814a37-3a53-4a0a-8532-d1837d557873 2024-09-19 16:41:35,536 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/24c9b4a1-44a4-4215-b130-feb98b755b16 2024-09-19 16:41:35,543 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-19 16:41:35,543 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2f791aab-7cac-421f-82c9-c2be8bf3e26a 2024-09-19 16:41:35,556 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6a814a37-3a53-4a0a-8532-d1837d557873 2024-09-19 16:41:35,574 - INFO - Verified VN network id 8 for VN 2f791aab-7cac-421f-82c9-c2be8bf3e26a 2024-09-19 16:41:35,574 - INFO - Verifications in API Server for VN ctest-vn-61202122 passed 2024-09-19 16:41:35,574 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2f791aab-7cac-421f-82c9-c2be8bf3e26a 2024-09-19 16:41:35,588 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6a814a37-3a53-4a0a-8532-d1837d557873 2024-09-19 16:41:35,596 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6a814a37-3a53-4a0a-8532-d1837d557873 2024-09-19 16:41:35,604 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/24c9b4a1-44a4-4215-b130-feb98b755b16 2024-09-19 16:41:35,617 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-61202122', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21549233', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3420794715797996063', 'uuid-lslong': '9424277818897064554'}, 'enable': 'true', 'created': '2024-09-19T16:41:33', 'last-modified': '2024-09-19T16:41:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.066569'} 2024-09-19 16:41:35,623 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-19 16:41:35,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61202122 passed 2024-09-19 16:41:35,624 - DEBUG - ====Verifying policy data for ctest-vn-61202122 in API_Server ====== 2024-09-19 16:41:35,624 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-19 16:41:35,629 - DEBUG - Requesting: http://10.0.0.22:8082/domain/13ce7c80-ea0f-4c1b-9546-2703f2237f44 2024-09-19 16:41:35,641 - DEBUG - Requesting: http://10.0.0.22:8082/project/e74d26af-2118-4491-9cb0-edb7f57c1c7f 2024-09-19 16:41:35,727 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2f791aab-7cac-421f-82c9-c2be8bf3e26a 2024-09-19 16:41:35,741 - DEBUG - ==>Verifying data for policy with id: 5cb4cdb4-65fe-464c-a574-9662a5c1233a, fqn: ['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-policy-allow-all-28786491'] 2024-09-19 16:41:35,741 - INFO - VN ctest-vn-61202122 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-19 16:41:35,742 - DEBUG - Verifying the vn in opserver 2024-09-19 16:41:35,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-61202122 virtual network link through opserver 10.0.0.22 2024-09-19 16:41:35,742 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-09-19 16:41:36,040 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-09-19 16:41:36,399 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-61202122', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-61202122?flat'} 2024-09-19 16:41:36,399 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-61202122 is found in opserver 2024-09-19 16:41:36,411 - DEBUG - Do not have enough data to verify VN in agent 2024-09-19 16:41:36,417 - DEBUG - VRF ids for VN ctest-vn-61202122: {} 2024-09-19 16:41:36,417 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-19 16:41:36,423 - DEBUG - Requesting: http://10.0.0.22:8082/domain/13ce7c80-ea0f-4c1b-9546-2703f2237f44 2024-09-19 16:41:36,435 - DEBUG - Requesting: http://10.0.0.22:8082/project/e74d26af-2118-4491-9cb0-edb7f57c1c7f 2024-09-19 16:41:36,514 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9fdb04b9-75f8-41d7-a37c-61570fd030f2 2024-09-19 16:41:36,530 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9fdb04b9-75f8-41d7-a37c-61570fd030f2 2024-09-19 16:41:36,545 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b3b43075-f4f9-4c74-bc30-cea36fcdc5dc 2024-09-19 16:41:36,554 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b3b43075-f4f9-4c74-bc30-cea36fcdc5dc 2024-09-19 16:41:36,562 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fd620d80-188a-4f26-bb06-f8df138c588c 2024-09-19 16:41:36,568 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-19 16:41:36,568 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9fdb04b9-75f8-41d7-a37c-61570fd030f2 2024-09-19 16:41:36,581 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b3b43075-f4f9-4c74-bc30-cea36fcdc5dc 2024-09-19 16:41:36,601 - INFO - Verified VN network id 9 for VN 9fdb04b9-75f8-41d7-a37c-61570fd030f2 2024-09-19 16:41:36,601 - INFO - Verifications in API Server for VN ctest-vn-72985308 passed 2024-09-19 16:41:36,601 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9fdb04b9-75f8-41d7-a37c-61570fd030f2 2024-09-19 16:41:36,615 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b3b43075-f4f9-4c74-bc30-cea36fcdc5dc 2024-09-19 16:41:36,624 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b3b43075-f4f9-4c74-bc30-cea36fcdc5dc 2024-09-19 16:41:36,634 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fd620d80-188a-4f26-bb06-f8df138c588c 2024-09-19 16:41:36,648 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-72985308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21549233', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11518805666524840407', 'uuid-lslong': '11780397751849726194'}, 'enable': 'true', 'created': '2024-09-19T16:41:33', 'last-modified': '2024-09-19T16:41:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.832566'} 2024-09-19 16:41:36,654 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-19 16:41:36,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72985308 passed 2024-09-19 16:41:36,655 - DEBUG - ====Verifying policy data for ctest-vn-72985308 in API_Server ====== 2024-09-19 16:41:36,655 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-19 16:41:36,660 - DEBUG - Requesting: http://10.0.0.22:8082/domain/13ce7c80-ea0f-4c1b-9546-2703f2237f44 2024-09-19 16:41:36,672 - DEBUG - Requesting: http://10.0.0.22:8082/project/e74d26af-2118-4491-9cb0-edb7f57c1c7f 2024-09-19 16:41:36,752 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9fdb04b9-75f8-41d7-a37c-61570fd030f2 2024-09-19 16:41:36,766 - DEBUG - ==>Verifying data for policy with id: 5cb4cdb4-65fe-464c-a574-9662a5c1233a, fqn: ['default-domain', 'ctest-TestBasicPolicy-21549233', 'ctest-policy-allow-all-28786491'] 2024-09-19 16:41:36,766 - INFO - VN ctest-vn-72985308 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-19 16:41:36,766 - DEBUG - Verifying the vn in opserver 2024-09-19 16:41:36,766 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-72985308 virtual network link through opserver 10.0.0.22 2024-09-19 16:41:36,766 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-09-19 16:41:36,777 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-72985308', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-72985308?flat'} 2024-09-19 16:41:36,777 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-72985308 is found in opserver 2024-09-19 16:41:36,788 - DEBUG - Do not have enough data to verify VN in agent 2024-09-19 16:41:36,793 - DEBUG - VRF ids for VN ctest-vn-72985308: {} 2024-09-19 16:41:36,848 - DEBUG - Services list from nova: [, , ] 2024-09-19 16:41:38,007 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2004-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2004-1) 2024-09-19 16:41:39,199 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2004-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2004-1) 2024-09-19 16:41:39,199 - INFO - Waiting for VM ctest-TestBasicPolicy-21549233-38293681 to be up.. 2024-09-19 16:41:39,286 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 16:41:44,366 - DEBUG - VM is in ACTIVE state now 2024-09-19 16:41:44,366 - INFO - VM name : ctest-TestBasicPolicy-21549233-38293681 2024-09-19 16:41:44,445 - DEBUG - VM ctest-TestBasicPolicy-21549233-38293681 ID is e4d0dfd8-bfdb-4efb-8b07-a403686841db 2024-09-19 16:41:44,463 - DEBUG - VM ctest-TestBasicPolicy-21549233-38293681 launched on Node cn-jenkins-deploy-platform-ansible-os-2004-1 2024-09-19 16:41:44,536 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e4d0dfd8-bfdb-4efb-8b07-a403686841db 2024-09-19 16:41:44,547 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/aa100966-c742-4d07-bcdb-077321ce9b6b 2024-09-19 16:41:47,825 - 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') 2024-09-19 16:41:47,825 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21549233-38293681 failed! 2024-09-19 16:41:47,886 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21549233:ctest-vn-61202122 is 86.157.27.1 and allocation pool is NOT set 2024-09-19 16:41:49,945 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.507 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.507/1.572/2.637/1.065 ms') 2024-09-19 16:41:49,946 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21549233-38293681 passed 2024-09-19 16:41:50,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:41:50,105 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21549233-38293681, IP 86.157.27.3, Port 22 2024-09-19 16:41:50,264 - DEBUG - VM ctest-TestBasicPolicy-21549233-38293681 is ready for SSH connections 2024-09-19 16:41:50,264 - INFO - Waiting for VM ctest-TestBasicPolicy-21549233-15228801 to be up.. 2024-09-19 16:41:50,350 - DEBUG - VM is in ACTIVE state now 2024-09-19 16:41:50,350 - INFO - VM name : ctest-TestBasicPolicy-21549233-15228801 2024-09-19 16:41:50,428 - DEBUG - VM ctest-TestBasicPolicy-21549233-15228801 ID is 943be2a0-5da1-4679-b0f8-3c86328ae3ef 2024-09-19 16:41:50,428 - DEBUG - VM ctest-TestBasicPolicy-21549233-15228801 launched on Node cn-jenkins-deploy-platform-ansible-os-2004-1 2024-09-19 16:41:50,505 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/943be2a0-5da1-4679-b0f8-3c86328ae3ef 2024-09-19 16:41:50,513 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/70e6e4a2-85e6-4c6e-ac26-9fe72a2f522f 2024-09-19 16:41:51,764 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.701/2.922/1.220 ms') 2024-09-19 16:41:51,764 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21549233-15228801 passed 2024-09-19 16:41:51,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:41:51,925 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21549233-15228801, IP 169.11.174.131, Port 22 2024-09-19 16:41:52,080 - DEBUG - VM ctest-TestBasicPolicy-21549233-15228801 is ready for SSH connections 2024-09-19 16:41:52,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:41:52,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.11.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-09-19 16:41:52,080 - DEBUG - ping -s 56 -c 3 -W 1 169.11.174.131 2024-09-19 16:41:56,051 - DEBUG - PING 169.11.174.131 (169.11.174.131): 56 data bytes 64 bytes from 169.11.174.131: seq=0 ttl=63 time=3.305 ms 64 bytes from 169.11.174.131: seq=1 ttl=63 time=0.942 ms 64 bytes from 169.11.174.131: seq=2 ttl=63 time=0.985 ms --- 169.11.174.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.744/3.305 ms 2024-09-19 16:41:56,051 - INFO - Ping to IP 169.11.174.131 from VM ctest-TestBasicPolicy-21549233-38293681 passed 2024-09-19 16:41:56,240 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5cb4cdb4-65fe-464c-a574-9662a5c1233a", "href": "http://10.0.0.22:8082/network-policy/5cb4cdb4-65fe-464c-a574-9662a5c1233a"}} 2024-09-19 16:41:56,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 16:41:56,240 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.11.174.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-09-19 16:41:56,241 - DEBUG - ping -s 56 -c 3 -W 1 169.11.174.131 2024-09-19 16:41:59,438 - DEBUG - PING 169.11.174.131 (169.11.174.131): 56 data bytes 64 bytes from 169.11.174.131: seq=0 ttl=63 time=1.568 ms --- 169.11.174.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.568/1.568/1.568 ms 2024-09-19 16:41:59,438 - WARNING - Ping to IP 169.11.174.131 from VM ctest-TestBasicPolicy-21549233-38293681 failed 2024-09-19 16:41:59,438 - INFO - Deleting VM ctest-TestBasicPolicy-21549233-15228801 2024-09-19 16:41:59,499 - INFO - Deleting VM ctest-TestBasicPolicy-21549233-38293681 2024-09-19 16:41:59,946 - INFO - Deleted policy ctest-policy-allow-all-28786491 2024-09-19 16:41:59,946 - INFO - Deleting VN ctest-vn-72985308 2024-09-19 16:41:59,990 - DEBUG - VN 9fdb04b9-75f8-41d7-a37c-61570fd030f2 still in use: Unable to complete operation on network 9fdb04b9-75f8-41d7-a37c-61570fd030f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-066ca77b-c630-447d-9530-67930e0e9d33'] 2024-09-19 16:41:59,990 - WARNING - Deleting VN ctest-vn-72985308 failed..Will retry 2024-09-19 16:42:02,102 - DEBUG - Response for deleting network () 2024-09-19 16:42:02,102 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/b3b43075-f4f9-4c74-bc30-cea36fcdc5dc 2024-09-19 16:42:02,110 - DEBUG - Response Code: 404 2024-09-19 16:42:02,110 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-19 16:42:02,116 - DEBUG - Requesting: http://10.0.0.22:8082/domain/13ce7c80-ea0f-4c1b-9546-2703f2237f44 2024-09-19 16:42:02,170 - DEBUG - Requesting: http://10.0.0.22:8082/project/e74d26af-2118-4491-9cb0-edb7f57c1c7f 2024-09-19 16:42:02,270 - INFO - Validated that VN ctest-vn-72985308 is not found in API Server 2024-09-19 16:42:02,281 - DEBUG - VN ctest-vn-72985308 is not present in Agent 10.0.0.22 2024-09-19 16:42:02,281 - INFO - Validated that VN ctest-vn-72985308 is not in any agent 2024-09-19 16:42:02,295 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72985308 info 2024-09-19 16:42:02,295 - INFO - Deleting VN ctest-vn-61202122 2024-09-19 16:42:02,411 - DEBUG - Response for deleting network () 2024-09-19 16:42:02,411 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6a814a37-3a53-4a0a-8532-d1837d557873 2024-09-19 16:42:02,416 - DEBUG - Response Code: 404 2024-09-19 16:42:02,416 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-19 16:42:02,425 - DEBUG - Requesting: http://10.0.0.22:8082/domain/13ce7c80-ea0f-4c1b-9546-2703f2237f44 2024-09-19 16:42:02,484 - DEBUG - Requesting: http://10.0.0.22:8082/project/e74d26af-2118-4491-9cb0-edb7f57c1c7f 2024-09-19 16:42:02,570 - INFO - Validated that VN ctest-vn-61202122 is not found in API Server 2024-09-19 16:42:02,581 - DEBUG - VN ctest-vn-61202122 is not present in Agent 10.0.0.22 2024-09-19 16:42:02,581 - INFO - Validated that VN ctest-vn-61202122 is not in any agent 2024-09-19 16:42:02,601 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61202122 info 2024-09-19 16:42:02,859 - DEBUG - No XMPP flaps were noticed during the test 2024-09-19 16:42:02,859 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-09-19 16:42:02,860 - INFO - -------------------------------------------------------------------------------- 2024-09-19 16:42:03,579 - INFO - Deleted project: ctest-TestBasicPolicy-21549233, ID : e74d26af-2118-4491-9cb0-edb7f57c1c7f