2024-11-03 19:57:23,675 - INFO - Domain Default found not creating 2024-11-03 19:57:23,829 - INFO - Project ctest-TestBasicPolicy-61561760 not found, creating it 2024-11-03 19:57:24,310 - INFO - Created Project:ctest-TestBasicPolicy-61561760, ID : 66582e8a-83cb-406e-a85d-32bf40354ad5 2024-11-03 19:57:25,803 - INFO - ================================================================================ 2024-11-03 19:57:25,803 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-03 19:57:25,803 - 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-11-03 19:57:26,058 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.11': '0'}} with 2024-11-03 19:57:26,058 - INFO - Initial checks done. Running the testcase now 2024-11-03 19:57:26,058 - INFO - 2024-11-03 19:57:26,641 - DEBUG - Response for create_network : {'network': {'id': '8e8ce211-19d0-4fea-b52c-ae44f71b49af', 'name': 'ctest-vn-98409876', 'tenant_id': '66582e8a83cb406ea85d32bf40354ad5', 'project_id': '66582e8a83cb406ea85d32bf40354ad5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-vn-98409876'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 19:57:26,876 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8eeea06-5982-4eea-8e57-1c0fd8e6151e', 'name': '', 'tenant_id': '66582e8a83cb406ea85d32bf40354ad5', 'network_id': '8e8ce211-19d0-4fea-b52c-ae44f71b49af', 'ip_version': 4, 'cidr': '27.239.129.128/26', 'allocation_pools': [{'start': '27.239.129.130', 'end': '27.239.129.190'}], 'gateway_ip': '27.239.129.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.239.129.130', 'tags': [], 'project_id': '66582e8a83cb406ea85d32bf40354ad5'}} 2024-11-03 19:57:26,895 - INFO - Created VN ctest-vn-98409876 2024-11-03 19:57:26,952 - DEBUG - VN ctest-vn-98409876 UUID is 8e8ce211-19d0-4fea-b52c-ae44f71b49af 2024-11-03 19:57:27,264 - DEBUG - Response for create_network : {'network': {'id': 'efca095a-91b5-49c1-a2da-35f688a84dc6', 'name': 'ctest-vn-70711056', 'tenant_id': '66582e8a83cb406ea85d32bf40354ad5', 'project_id': '66582e8a83cb406ea85d32bf40354ad5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-vn-70711056'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 19:57:27,502 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e41d1984-7135-49f9-9d8e-75d717de5aff', 'name': '', 'tenant_id': '66582e8a83cb406ea85d32bf40354ad5', 'network_id': 'efca095a-91b5-49c1-a2da-35f688a84dc6', 'ip_version': 4, 'cidr': '147.168.191.0/26', 'allocation_pools': [{'start': '147.168.191.2', 'end': '147.168.191.62'}], 'gateway_ip': '147.168.191.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.168.191.2', 'tags': [], 'project_id': '66582e8a83cb406ea85d32bf40354ad5'}} 2024-11-03 19:57:27,520 - INFO - Created VN ctest-vn-70711056 2024-11-03 19:57:27,580 - DEBUG - VN ctest-vn-70711056 UUID is efca095a-91b5-49c1-a2da-35f688a84dc6 2024-11-03 19:57:27,698 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-98409876, 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-61561760:ctest-vn-70711056, 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-11-03 19:57:28,017 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e8ce211-19d0-4fea-b52c-ae44f71b49af', 'name': 'ctest-vn-98409876', 'tenant_id': '66582e8a83cb406ea85d32bf40354ad5', 'project_id': '66582e8a83cb406ea85d32bf40354ad5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8eeea06-5982-4eea-8e57-1c0fd8e6151e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-vn-98409876'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-policy-allow-all-56571915']], 'subnet_ipam': [{'subnet_cidr': '27.239.129.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-03 19:57:28,297 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efca095a-91b5-49c1-a2da-35f688a84dc6', 'name': 'ctest-vn-70711056', 'tenant_id': '66582e8a83cb406ea85d32bf40354ad5', 'project_id': '66582e8a83cb406ea85d32bf40354ad5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e41d1984-7135-49f9-9d8e-75d717de5aff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-vn-70711056'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-policy-allow-all-56571915']], 'subnet_ipam': [{'subnet_cidr': '147.168.191.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-03 19:57:28,444 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 19:57:28,738 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 19:57:28,769 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 19:57:28,785 - DEBUG - Requesting: http://10.0.0.48:8082/project/66582e8a-83cb-406e-a85d-32bf40354ad5 2024-11-03 19:57:28,866 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8e8ce211-19d0-4fea-b52c-ae44f71b49af 2024-11-03 19:57:28,881 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8e8ce211-19d0-4fea-b52c-ae44f71b49af 2024-11-03 19:57:28,894 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f0c8c7de-35ff-4351-8e59-b39a22b4d9da 2024-11-03 19:57:28,902 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f0c8c7de-35ff-4351-8e59-b39a22b4d9da 2024-11-03 19:57:28,910 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/393e5201-72da-4cdd-83f8-4953b05b5f20 2024-11-03 19:57:28,917 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-03 19:57:28,917 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8e8ce211-19d0-4fea-b52c-ae44f71b49af 2024-11-03 19:57:28,930 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f0c8c7de-35ff-4351-8e59-b39a22b4d9da 2024-11-03 19:57:28,949 - INFO - Verified VN network id 9 for VN 8e8ce211-19d0-4fea-b52c-ae44f71b49af 2024-11-03 19:57:28,949 - INFO - Verifications in API Server for VN ctest-vn-98409876 passed 2024-11-03 19:57:28,949 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8e8ce211-19d0-4fea-b52c-ae44f71b49af 2024-11-03 19:57:28,962 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f0c8c7de-35ff-4351-8e59-b39a22b4d9da 2024-11-03 19:57:28,971 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f0c8c7de-35ff-4351-8e59-b39a22b4d9da 2024-11-03 19:57:28,978 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/393e5201-72da-4cdd-83f8-4953b05b5f20 2024-11-03 19:57:28,991 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-98409876', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61561760', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10271833413200662506', 'uuid-lslong': '13055001031066995119'}, 'enable': 'true', 'created': '2024-11-03T19:57:26', 'last-modified': '2024-11-03T19:57:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001714'} 2024-11-03 19:57:28,997 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-03 19:57:28,997 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98409876 passed 2024-11-03 19:57:28,997 - DEBUG - ====Verifying policy data for ctest-vn-98409876 in API_Server ====== 2024-11-03 19:57:28,997 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 19:57:29,003 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 19:57:29,015 - DEBUG - Requesting: http://10.0.0.48:8082/project/66582e8a-83cb-406e-a85d-32bf40354ad5 2024-11-03 19:57:29,096 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/8e8ce211-19d0-4fea-b52c-ae44f71b49af 2024-11-03 19:57:29,109 - DEBUG - ==>Verifying data for policy with id: 78a54f4a-2623-4cb2-a523-398413ee0787, fqn: ['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-policy-allow-all-56571915'] 2024-11-03 19:57:29,109 - INFO - VN ctest-vn-98409876 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-03 19:57:29,109 - DEBUG - Verifying the vn in opserver 2024-11-03 19:57:29,109 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-98409876 virtual network link through opserver 10.0.0.48 2024-11-03 19:57:29,110 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-03 19:57:29,405 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-03 19:57:29,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-98409876', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-98409876?flat'} 2024-11-03 19:57:29,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-98409876 is found in opserver 2024-11-03 19:57:29,473 - DEBUG - Do not have enough data to verify VN in agent 2024-11-03 19:57:29,478 - DEBUG - VRF ids for VN ctest-vn-98409876: {} 2024-11-03 19:57:29,478 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 19:57:29,484 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 19:57:29,496 - DEBUG - Requesting: http://10.0.0.48:8082/project/66582e8a-83cb-406e-a85d-32bf40354ad5 2024-11-03 19:57:29,572 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/efca095a-91b5-49c1-a2da-35f688a84dc6 2024-11-03 19:57:29,587 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/efca095a-91b5-49c1-a2da-35f688a84dc6 2024-11-03 19:57:29,600 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/230f6619-cafb-482a-80d1-24d98cfc5ff2 2024-11-03 19:57:29,609 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/230f6619-cafb-482a-80d1-24d98cfc5ff2 2024-11-03 19:57:29,617 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fe00c9a4-51d5-4699-8539-c2a9584e6d72 2024-11-03 19:57:29,624 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-03 19:57:29,624 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/efca095a-91b5-49c1-a2da-35f688a84dc6 2024-11-03 19:57:29,637 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/230f6619-cafb-482a-80d1-24d98cfc5ff2 2024-11-03 19:57:29,660 - INFO - Verified VN network id 10 for VN efca095a-91b5-49c1-a2da-35f688a84dc6 2024-11-03 19:57:29,660 - INFO - Verifications in API Server for VN ctest-vn-70711056 passed 2024-11-03 19:57:29,660 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/efca095a-91b5-49c1-a2da-35f688a84dc6 2024-11-03 19:57:29,674 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/230f6619-cafb-482a-80d1-24d98cfc5ff2 2024-11-03 19:57:29,682 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/230f6619-cafb-482a-80d1-24d98cfc5ff2 2024-11-03 19:57:29,689 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/fe00c9a4-51d5-4699-8539-c2a9584e6d72 2024-11-03 19:57:29,702 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-70711056', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61561760', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17278633204956613057', 'uuid-lslong': '11734751112038206918'}, 'enable': 'true', 'created': '2024-11-03T19:57:27', 'last-modified': '2024-11-03T19:57:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.470105'} 2024-11-03 19:57:29,707 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-03 19:57:29,708 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70711056 passed 2024-11-03 19:57:29,708 - DEBUG - ====Verifying policy data for ctest-vn-70711056 in API_Server ====== 2024-11-03 19:57:29,708 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 19:57:29,714 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 19:57:29,726 - DEBUG - Requesting: http://10.0.0.48:8082/project/66582e8a-83cb-406e-a85d-32bf40354ad5 2024-11-03 19:57:29,803 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/efca095a-91b5-49c1-a2da-35f688a84dc6 2024-11-03 19:57:29,817 - DEBUG - ==>Verifying data for policy with id: 78a54f4a-2623-4cb2-a523-398413ee0787, fqn: ['default-domain', 'ctest-TestBasicPolicy-61561760', 'ctest-policy-allow-all-56571915'] 2024-11-03 19:57:29,817 - INFO - VN ctest-vn-70711056 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-03 19:57:29,817 - DEBUG - Verifying the vn in opserver 2024-11-03 19:57:29,817 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-70711056 virtual network link through opserver 10.0.0.48 2024-11-03 19:57:29,817 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-03 19:57:29,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-70711056', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-70711056?flat'} 2024-11-03 19:57:29,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-70711056 is found in opserver 2024-11-03 19:57:29,839 - DEBUG - Do not have enough data to verify VN in agent 2024-11-03 19:57:29,844 - DEBUG - VRF ids for VN ctest-vn-70711056: {} 2024-11-03 19:57:29,920 - DEBUG - Services list from nova: [, , ] 2024-11-03 19:57:31,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1) 2024-11-03 19:57:32,667 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1) 2024-11-03 19:57:32,667 - INFO - Waiting for VM ctest-TestBasicPolicy-61561760-88055082 to be up.. 2024-11-03 19:57:32,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-03 19:57:37,883 - DEBUG - VM is in ACTIVE state now 2024-11-03 19:57:37,883 - INFO - VM name : ctest-TestBasicPolicy-61561760-88055082 2024-11-03 19:57:37,987 - DEBUG - VM ctest-TestBasicPolicy-61561760-88055082 ID is f6534acb-165d-4b48-bd22-1fd7bf672de3 2024-11-03 19:57:38,008 - DEBUG - VM ctest-TestBasicPolicy-61561760-88055082 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1 2024-11-03 19:57:38,096 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f6534acb-165d-4b48-bd22-1fd7bf672de3 2024-11-03 19:57:38,107 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1b6660ee-1d38-4375-b5d2-95183ff84da7 2024-11-03 19:57:41,329 - 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 1012ms') 2024-11-03 19:57:41,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61561760-88055082 failed! 2024-11-03 19:57:41,388 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61561760:ctest-vn-98409876 is 27.239.129.129 and allocation pool is NOT set 2024-11-03 19:57:43,446 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.557/2.733/1.176 ms') 2024-11-03 19:57:43,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61561760-88055082 passed 2024-11-03 19:57:43,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 19:57:43,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61561760-88055082, IP 27.239.129.131, Port 22 2024-11-03 19:57:43,782 - DEBUG - VM ctest-TestBasicPolicy-61561760-88055082 is ready for SSH connections 2024-11-03 19:57:43,782 - INFO - Waiting for VM ctest-TestBasicPolicy-61561760-06812504 to be up.. 2024-11-03 19:57:43,869 - DEBUG - VM is in ACTIVE state now 2024-11-03 19:57:43,870 - INFO - VM name : ctest-TestBasicPolicy-61561760-06812504 2024-11-03 19:57:43,951 - DEBUG - VM ctest-TestBasicPolicy-61561760-06812504 ID is 26697c56-8729-4176-9ad3-7477aea8b442 2024-11-03 19:57:43,951 - DEBUG - VM ctest-TestBasicPolicy-61561760-06812504 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1 2024-11-03 19:57:44,036 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/26697c56-8729-4176-9ad3-7477aea8b442 2024-11-03 19:57:44,049 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/58cb7eb8-cbe0-46fe-966f-7df56eb3a5e7 2024-11-03 19:57:45,295 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.522/2.654/1.132 ms') 2024-11-03 19:57:45,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61561760-06812504 passed 2024-11-03 19:57:45,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 19:57:45,448 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61561760-06812504, IP 147.168.191.3, Port 22 2024-11-03 19:57:45,605 - DEBUG - VM ctest-TestBasicPolicy-61561760-06812504 is ready for SSH connections 2024-11-03 19:57:45,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 19:57:45,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.168.191.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-11-03 19:57:45,605 - DEBUG - ping -s 56 -c 3 -W 1 147.168.191.3 2024-11-03 19:57:49,263 - DEBUG - PING 147.168.191.3 (147.168.191.3): 56 data bytes 64 bytes from 147.168.191.3: seq=0 ttl=63 time=3.650 ms 64 bytes from 147.168.191.3: seq=1 ttl=63 time=0.733 ms 64 bytes from 147.168.191.3: seq=2 ttl=63 time=1.003 ms --- 147.168.191.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.795/3.650 ms 2024-11-03 19:57:49,263 - INFO - Ping to IP 147.168.191.3 from VM ctest-TestBasicPolicy-61561760-88055082 passed 2024-11-03 19:57:49,464 - DEBUG - Policy Update Response {"network-policy": {"uuid": "78a54f4a-2623-4cb2-a523-398413ee0787", "href": "http://10.0.0.48:8082/network-policy/78a54f4a-2623-4cb2-a523-398413ee0787"}} 2024-11-03 19:57:49,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 19:57:49,465 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.168.191.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2024-11-03 19:57:49,465 - DEBUG - ping -s 56 -c 3 -W 1 147.168.191.3 2024-11-03 19:57:52,671 - DEBUG - PING 147.168.191.3 (147.168.191.3): 56 data bytes --- 147.168.191.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-03 19:57:52,671 - WARNING - Ping to IP 147.168.191.3 from VM ctest-TestBasicPolicy-61561760-88055082 failed 2024-11-03 19:57:52,671 - INFO - Deleting VM ctest-TestBasicPolicy-61561760-06812504 2024-11-03 19:57:52,735 - INFO - Deleting VM ctest-TestBasicPolicy-61561760-88055082 2024-11-03 19:57:53,104 - INFO - Deleted policy ctest-policy-allow-all-56571915 2024-11-03 19:57:53,104 - INFO - Deleting VN ctest-vn-70711056 2024-11-03 19:57:53,143 - DEBUG - VN efca095a-91b5-49c1-a2da-35f688a84dc6 still in use: Unable to complete operation on network efca095a-91b5-49c1-a2da-35f688a84dc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-121bffab-f7bb-49aa-8a48-159c756fac9a'] 2024-11-03 19:57:53,143 - WARNING - Deleting VN ctest-vn-70711056 failed..Will retry 2024-11-03 19:57:55,249 - DEBUG - Response for deleting network () 2024-11-03 19:57:55,249 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/230f6619-cafb-482a-80d1-24d98cfc5ff2 2024-11-03 19:57:55,256 - DEBUG - Response Code: 404 2024-11-03 19:57:55,257 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 19:57:55,263 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 19:57:55,323 - DEBUG - Requesting: http://10.0.0.48:8082/project/66582e8a-83cb-406e-a85d-32bf40354ad5 2024-11-03 19:57:55,417 - INFO - Validated that VN ctest-vn-70711056 is not found in API Server 2024-11-03 19:57:55,429 - DEBUG - VN ctest-vn-70711056 is not present in Agent 10.0.0.48 2024-11-03 19:57:55,429 - INFO - Validated that VN ctest-vn-70711056 is not in any agent 2024-11-03 19:57:55,443 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-70711056 info 2024-11-03 19:57:55,443 - INFO - Deleting VN ctest-vn-98409876 2024-11-03 19:57:55,558 - DEBUG - Response for deleting network () 2024-11-03 19:57:55,558 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/f0c8c7de-35ff-4351-8e59-b39a22b4d9da 2024-11-03 19:57:55,569 - DEBUG - Response Code: 404 2024-11-03 19:57:55,569 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 19:57:55,574 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 19:57:55,631 - DEBUG - Requesting: http://10.0.0.48:8082/project/66582e8a-83cb-406e-a85d-32bf40354ad5 2024-11-03 19:57:55,711 - INFO - Validated that VN ctest-vn-98409876 is not found in API Server 2024-11-03 19:57:55,725 - DEBUG - VN ctest-vn-98409876 is not present in Agent 10.0.0.48 2024-11-03 19:57:55,725 - INFO - Validated that VN ctest-vn-98409876 is not in any agent 2024-11-03 19:57:55,740 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98409876 info 2024-11-03 19:57:55,994 - DEBUG - No XMPP flaps were noticed during the test 2024-11-03 19:57:55,994 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2024-11-03 19:57:55,994 - INFO - -------------------------------------------------------------------------------- 2024-11-03 19:57:56,671 - INFO - Deleted project: ctest-TestBasicPolicy-61561760, ID : 66582e8a-83cb-406e-a85d-32bf40354ad5