2024-09-09 15:07:06,065 - INFO - Domain Default found not creating 2024-09-09 15:07:06,241 - INFO - Project ctest-TestBasicPolicy-81611884 not found, creating it 2024-09-09 15:07:06,725 - INFO - Created Project:ctest-TestBasicPolicy-81611884, ID : 3d5a574d-44d1-4d79-92c2-8621a9ba3abd 2024-09-09 15:07:08,219 - INFO - ================================================================================ 2024-09-09 15:07:08,219 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-09 15:07:08,219 - 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-09 15:07:08,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.43': {'10.20.0.20': '0'}} with 2024-09-09 15:07:08,474 - INFO - Initial checks done. Running the testcase now 2024-09-09 15:07:08,474 - INFO - 2024-09-09 15:07:09,038 - DEBUG - Response for create_network : {'network': {'id': '8e3eb497-f324-4518-b4d7-c7acdd36055a', 'name': 'ctest-vn-11976388', 'tenant_id': '3d5a574d44d14d7992c28621a9ba3abd', 'project_id': '3d5a574d44d14d7992c28621a9ba3abd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-vn-11976388'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 15:07:09,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '96905aaa-bc72-44e4-915f-4f8ad6313fba', 'name': '', 'tenant_id': '3d5a574d44d14d7992c28621a9ba3abd', 'network_id': '8e3eb497-f324-4518-b4d7-c7acdd36055a', 'ip_version': 4, 'cidr': '86.124.91.64/26', 'allocation_pools': [{'start': '86.124.91.66', 'end': '86.124.91.126'}], 'gateway_ip': '86.124.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.124.91.66', 'tags': [], 'project_id': '3d5a574d44d14d7992c28621a9ba3abd'}} 2024-09-09 15:07:09,226 - INFO - Created VN ctest-vn-11976388 2024-09-09 15:07:09,276 - DEBUG - VN ctest-vn-11976388 UUID is 8e3eb497-f324-4518-b4d7-c7acdd36055a 2024-09-09 15:07:09,578 - DEBUG - Response for create_network : {'network': {'id': 'fdca3337-f623-46b9-a7c7-5feb14dc3f42', 'name': 'ctest-vn-33018250', 'tenant_id': '3d5a574d44d14d7992c28621a9ba3abd', 'project_id': '3d5a574d44d14d7992c28621a9ba3abd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-vn-33018250'], 'port_security_enabled': True, 'description': ''}} 2024-09-09 15:07:09,760 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b60ba5b-d01d-464a-942e-1a17bb5d8877', 'name': '', 'tenant_id': '3d5a574d44d14d7992c28621a9ba3abd', 'network_id': 'fdca3337-f623-46b9-a7c7-5feb14dc3f42', 'ip_version': 4, 'cidr': '67.156.182.192/26', 'allocation_pools': [{'start': '67.156.182.194', 'end': '67.156.182.254'}], 'gateway_ip': '67.156.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.156.182.194', 'tags': [], 'project_id': '3d5a574d44d14d7992c28621a9ba3abd'}} 2024-09-09 15:07:09,781 - INFO - Created VN ctest-vn-33018250 2024-09-09 15:07:09,832 - DEBUG - VN ctest-vn-33018250 UUID is fdca3337-f623-46b9-a7c7-5feb14dc3f42 2024-09-09 15:07:09,953 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388, 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-81611884:ctest-vn-33018250, 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-09 15:07:10,250 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8e3eb497-f324-4518-b4d7-c7acdd36055a', 'name': 'ctest-vn-11976388', 'tenant_id': '3d5a574d44d14d7992c28621a9ba3abd', 'project_id': '3d5a574d44d14d7992c28621a9ba3abd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96905aaa-bc72-44e4-915f-4f8ad6313fba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-vn-11976388'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-policy-allow-all-03693941']], 'subnet_ipam': [{'subnet_cidr': '86.124.91.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-09 15:07:10,487 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fdca3337-f623-46b9-a7c7-5feb14dc3f42', 'name': 'ctest-vn-33018250', 'tenant_id': '3d5a574d44d14d7992c28621a9ba3abd', 'project_id': '3d5a574d44d14d7992c28621a9ba3abd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8b60ba5b-d01d-464a-942e-1a17bb5d8877'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-vn-33018250'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-policy-allow-all-03693941']], 'subnet_ipam': [{'subnet_cidr': '67.156.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-09 15:07:10,640 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2024-09-09 15:07:10,940 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2024-09-09 15:07:10,971 - DEBUG - Requesting: http://10.0.0.43:8082/domain/5d4f4dd8-a93c-4f6d-bb27-bb8c2789b404 2024-09-09 15:07:10,987 - DEBUG - Requesting: http://10.0.0.43:8082/project/3d5a574d-44d1-4d79-92c2-8621a9ba3abd 2024-09-09 15:07:11,061 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/8e3eb497-f324-4518-b4d7-c7acdd36055a 2024-09-09 15:07:11,070 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/8e3eb497-f324-4518-b4d7-c7acdd36055a 2024-09-09 15:07:11,080 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/a631a9fd-49f2-4b26-813c-49f63efb9147 2024-09-09 15:07:11,089 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/a631a9fd-49f2-4b26-813c-49f63efb9147 2024-09-09 15:07:11,097 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/65c6c1df-c9a6-47e6-b6cb-a44ece242d9a 2024-09-09 15:07:11,104 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-09 15:07:11,104 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/8e3eb497-f324-4518-b4d7-c7acdd36055a 2024-09-09 15:07:11,111 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/a631a9fd-49f2-4b26-813c-49f63efb9147 2024-09-09 15:07:11,123 - INFO - Verified VN network id 7 for VN 8e3eb497-f324-4518-b4d7-c7acdd36055a 2024-09-09 15:07:11,123 - INFO - Verifications in API Server for VN ctest-vn-11976388 passed 2024-09-09 15:07:11,123 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/8e3eb497-f324-4518-b4d7-c7acdd36055a 2024-09-09 15:07:11,133 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/a631a9fd-49f2-4b26-813c-49f63efb9147 2024-09-09 15:07:11,140 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/a631a9fd-49f2-4b26-813c-49f63efb9147 2024-09-09 15:07:11,146 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/65c6c1df-c9a6-47e6-b6cb-a44ece242d9a 2024-09-09 15:07:11,159 - DEBUG - Control-node 10.0.0.43 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81611884', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10249828366654129432', 'uuid-lslong': '13031103592079426906'}, 'enable': 'true', 'created': '2024-09-09T15:07:09', 'last-modified': '2024-09-09T15:07:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936938'} 2024-09-09 15:07:11,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-09 15:07:11,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11976388 passed 2024-09-09 15:07:11,166 - DEBUG - ====Verifying policy data for ctest-vn-11976388 in API_Server ====== 2024-09-09 15:07:11,166 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2024-09-09 15:07:11,172 - DEBUG - Requesting: http://10.0.0.43:8082/domain/5d4f4dd8-a93c-4f6d-bb27-bb8c2789b404 2024-09-09 15:07:11,184 - DEBUG - Requesting: http://10.0.0.43:8082/project/3d5a574d-44d1-4d79-92c2-8621a9ba3abd 2024-09-09 15:07:11,252 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/8e3eb497-f324-4518-b4d7-c7acdd36055a 2024-09-09 15:07:11,260 - DEBUG - ==>Verifying data for policy with id: ff70312b-d9c7-4502-bff8-ed9909813d19, fqn: ['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-policy-allow-all-03693941'] 2024-09-09 15:07:11,260 - INFO - VN ctest-vn-11976388 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-09 15:07:11,260 - DEBUG - Verifying the vn in opserver 2024-09-09 15:07:11,260 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388 virtual network link through opserver 10.0.0.43 2024-09-09 15:07:11,260 - DEBUG - Requesting: http://10.0.0.43:8081/analytics/uves/virtual-networks 2024-09-09 15:07:11,553 - DEBUG - Requesting: http://10.0.0.43:8081/analytics/uves/virtual-networks 2024-09-09 15:07:11,614 - DEBUG - Response Code: 500 2024-09-09 15:07:14,615 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388 virtual network link through opserver 10.0.0.43 2024-09-09 15:07:14,615 - DEBUG - Requesting: http://10.0.0.43:8081/analytics/uves/virtual-networks 2024-09-09 15:07:14,629 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388', 'href': 'http://10.0.0.43:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388?flat'} 2024-09-09 15:07:14,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388 is found in opserver 2024-09-09 15:07:14,640 - DEBUG - Do not have enough data to verify VN in agent 2024-09-09 15:07:14,646 - DEBUG - VRF ids for VN ctest-vn-11976388: {} 2024-09-09 15:07:14,646 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2024-09-09 15:07:14,652 - DEBUG - Requesting: http://10.0.0.43:8082/domain/5d4f4dd8-a93c-4f6d-bb27-bb8c2789b404 2024-09-09 15:07:14,665 - DEBUG - Requesting: http://10.0.0.43:8082/project/3d5a574d-44d1-4d79-92c2-8621a9ba3abd 2024-09-09 15:07:14,738 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/fdca3337-f623-46b9-a7c7-5feb14dc3f42 2024-09-09 15:07:14,750 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/fdca3337-f623-46b9-a7c7-5feb14dc3f42 2024-09-09 15:07:14,760 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/4af51ec5-9ee8-4b9b-8c2a-93140bb45ab0 2024-09-09 15:07:14,770 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/4af51ec5-9ee8-4b9b-8c2a-93140bb45ab0 2024-09-09 15:07:14,780 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/feb690ce-b0f8-46d7-815c-7e7ababee978 2024-09-09 15:07:14,793 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-09 15:07:14,794 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/fdca3337-f623-46b9-a7c7-5feb14dc3f42 2024-09-09 15:07:14,806 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/4af51ec5-9ee8-4b9b-8c2a-93140bb45ab0 2024-09-09 15:07:14,824 - INFO - Verified VN network id 8 for VN fdca3337-f623-46b9-a7c7-5feb14dc3f42 2024-09-09 15:07:14,824 - INFO - Verifications in API Server for VN ctest-vn-33018250 passed 2024-09-09 15:07:14,824 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/fdca3337-f623-46b9-a7c7-5feb14dc3f42 2024-09-09 15:07:14,834 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/4af51ec5-9ee8-4b9b-8c2a-93140bb45ab0 2024-09-09 15:07:14,844 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/4af51ec5-9ee8-4b9b-8c2a-93140bb45ab0 2024-09-09 15:07:14,853 - DEBUG - Requesting: http://10.0.0.43:8082/route-target/feb690ce-b0f8-46d7-815c-7e7ababee978 2024-09-09 15:07:14,870 - DEBUG - Control-node 10.0.0.43 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-33018250', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81611884', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18287485552337045177', 'uuid-lslong': '12089737187971317570'}, 'enable': 'true', 'created': '2024-09-09T15:07:09', 'last-modified': '2024-09-09T15:07:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.406928'} 2024-09-09 15:07:14,880 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-09 15:07:14,880 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33018250 passed 2024-09-09 15:07:14,880 - DEBUG - ====Verifying policy data for ctest-vn-33018250 in API_Server ====== 2024-09-09 15:07:14,880 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2024-09-09 15:07:14,888 - DEBUG - Requesting: http://10.0.0.43:8082/domain/5d4f4dd8-a93c-4f6d-bb27-bb8c2789b404 2024-09-09 15:07:14,905 - DEBUG - Requesting: http://10.0.0.43:8082/project/3d5a574d-44d1-4d79-92c2-8621a9ba3abd 2024-09-09 15:07:14,982 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-network/fdca3337-f623-46b9-a7c7-5feb14dc3f42 2024-09-09 15:07:14,993 - DEBUG - ==>Verifying data for policy with id: ff70312b-d9c7-4502-bff8-ed9909813d19, fqn: ['default-domain', 'ctest-TestBasicPolicy-81611884', 'ctest-policy-allow-all-03693941'] 2024-09-09 15:07:14,993 - INFO - VN ctest-vn-33018250 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-09 15:07:14,993 - DEBUG - Verifying the vn in opserver 2024-09-09 15:07:14,993 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-33018250 virtual network link through opserver 10.0.0.43 2024-09-09 15:07:14,993 - DEBUG - Requesting: http://10.0.0.43:8081/analytics/uves/virtual-networks 2024-09-09 15:07:15,008 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-33018250', 'href': 'http://10.0.0.43:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-33018250?flat'} 2024-09-09 15:07:15,008 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-33018250 is found in opserver 2024-09-09 15:07:15,021 - DEBUG - Do not have enough data to verify VN in agent 2024-09-09 15:07:15,027 - DEBUG - VRF ids for VN ctest-vn-33018250: {} 2024-09-09 15:07:15,087 - DEBUG - Services list from nova: [, , ] 2024-09-09 15:07:16,095 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1876-1) 2024-09-09 15:07:17,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1876-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1876-1) 2024-09-09 15:07:17,366 - INFO - Waiting for VM ctest-TestBasicPolicy-81611884-53172227 to be up.. 2024-09-09 15:07:17,453 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-09 15:07:22,556 - DEBUG - VM is in ACTIVE state now 2024-09-09 15:07:22,557 - INFO - VM name : ctest-TestBasicPolicy-81611884-53172227 2024-09-09 15:07:22,635 - DEBUG - VM ctest-TestBasicPolicy-81611884-53172227 ID is 82ddf5ca-066d-4073-be35-1d793a1afe90 2024-09-09 15:07:22,653 - DEBUG - VM ctest-TestBasicPolicy-81611884-53172227 launched on Node cn-jenkins-deploy-platform-ansible-os-1876-1 2024-09-09 15:07:22,731 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/82ddf5ca-066d-4073-be35-1d793a1afe90 2024-09-09 15:07:22,740 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/55f7a7bd-05dd-4a1b-a1c3-60dd0dbe3620 2024-09-09 15:07:25,985 - 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 1013ms') 2024-09-09 15:07:25,985 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81611884-53172227 failed! 2024-09-09 15:07:26,040 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81611884:ctest-vn-11976388 is 86.124.91.65 and allocation pool is NOT set 2024-09-09 15:07:28,100 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.390/1.674/2.958/1.284 ms') 2024-09-09 15:07:28,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81611884-53172227 passed 2024-09-09 15:07:28,256 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:07:28,256 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81611884-53172227, IP 86.124.91.67, Port 22 2024-09-09 15:07:28,412 - DEBUG - VM ctest-TestBasicPolicy-81611884-53172227 is ready for SSH connections 2024-09-09 15:07:28,412 - INFO - Waiting for VM ctest-TestBasicPolicy-81611884-55613364 to be up.. 2024-09-09 15:07:28,506 - DEBUG - VM is in ACTIVE state now 2024-09-09 15:07:28,506 - INFO - VM name : ctest-TestBasicPolicy-81611884-55613364 2024-09-09 15:07:28,595 - DEBUG - VM ctest-TestBasicPolicy-81611884-55613364 ID is 8226bea4-3546-4a3b-923a-f55ee25bdf69 2024-09-09 15:07:28,595 - DEBUG - VM ctest-TestBasicPolicy-81611884-55613364 launched on Node cn-jenkins-deploy-platform-ansible-os-1876-1 2024-09-09 15:07:28,691 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine/8226bea4-3546-4a3b-923a-f55ee25bdf69 2024-09-09 15:07:28,701 - DEBUG - Requesting: http://10.0.0.43:8082/virtual-machine-interface/25c72ae7-cba3-4497-a6d4-adc93ddf1001 2024-09-09 15:07:29,944 - 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=3.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.796/3.113/1.317 ms') 2024-09-09 15:07:29,944 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81611884-55613364 passed 2024-09-09 15:07:30,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:07:30,096 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81611884-55613364, IP 67.156.182.195, Port 22 2024-09-09 15:07:30,252 - DEBUG - VM ctest-TestBasicPolicy-81611884-55613364 is ready for SSH connections 2024-09-09 15:07:30,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:07:30,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2024-09-09 15:07:30,252 - DEBUG - ping -s 56 -c 3 -W 1 67.156.182.195 2024-09-09 15:07:34,244 - DEBUG - PING 67.156.182.195 (67.156.182.195): 56 data bytes 64 bytes from 67.156.182.195: seq=0 ttl=63 time=3.761 ms 64 bytes from 67.156.182.195: seq=1 ttl=63 time=0.919 ms 64 bytes from 67.156.182.195: seq=2 ttl=63 time=0.725 ms --- 67.156.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.801/3.761 ms 2024-09-09 15:07:34,245 - INFO - Ping to IP 67.156.182.195 from VM ctest-TestBasicPolicy-81611884-53172227 passed 2024-09-09 15:07:34,432 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ff70312b-d9c7-4502-bff8-ed9909813d19", "href": "http://10.0.0.43:8082/network-policy/ff70312b-d9c7-4502-bff8-ed9909813d19"}} 2024-09-09 15:07:34,432 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-09 15:07:34,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.156.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.43, gateway password: c0ntrail123 2024-09-09 15:07:34,432 - DEBUG - ping -s 56 -c 3 -W 1 67.156.182.195 2024-09-09 15:07:37,648 - DEBUG - PING 67.156.182.195 (67.156.182.195): 56 data bytes --- 67.156.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-09 15:07:37,648 - WARNING - Ping to IP 67.156.182.195 from VM ctest-TestBasicPolicy-81611884-53172227 failed 2024-09-09 15:07:37,648 - INFO - Deleting VM ctest-TestBasicPolicy-81611884-55613364 2024-09-09 15:07:37,724 - INFO - Deleting VM ctest-TestBasicPolicy-81611884-53172227 2024-09-09 15:07:38,156 - INFO - Deleted policy ctest-policy-allow-all-03693941 2024-09-09 15:07:38,156 - INFO - Deleting VN ctest-vn-33018250 2024-09-09 15:07:38,201 - DEBUG - VN fdca3337-f623-46b9-a7c7-5feb14dc3f42 still in use: Unable to complete operation on network fdca3337-f623-46b9-a7c7-5feb14dc3f42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2b0208c1-c04e-452d-836f-b3cfbc595c8f'] 2024-09-09 15:07:38,201 - WARNING - Deleting VN ctest-vn-33018250 failed..Will retry 2024-09-09 15:07:40,323 - DEBUG - Response for deleting network () 2024-09-09 15:07:40,323 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/4af51ec5-9ee8-4b9b-8c2a-93140bb45ab0 2024-09-09 15:07:40,427 - DEBUG - Response Code: 404 2024-09-09 15:07:40,427 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2024-09-09 15:07:40,437 - DEBUG - Requesting: http://10.0.0.43:8082/domain/5d4f4dd8-a93c-4f6d-bb27-bb8c2789b404 2024-09-09 15:07:40,448 - DEBUG - Requesting: http://10.0.0.43:8082/project/3d5a574d-44d1-4d79-92c2-8621a9ba3abd 2024-09-09 15:07:40,514 - INFO - Validated that VN ctest-vn-33018250 is not found in API Server 2024-09-09 15:07:40,526 - DEBUG - VN ctest-vn-33018250 is not present in Agent 10.0.0.43 2024-09-09 15:07:40,526 - INFO - Validated that VN ctest-vn-33018250 is not in any agent 2024-09-09 15:07:40,544 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33018250 info 2024-09-09 15:07:40,544 - INFO - Deleting VN ctest-vn-11976388 2024-09-09 15:07:40,666 - DEBUG - Response for deleting network () 2024-09-09 15:07:40,666 - DEBUG - Requesting: http://10.0.0.43:8082/routing-instance/a631a9fd-49f2-4b26-813c-49f63efb9147 2024-09-09 15:07:40,676 - DEBUG - Response Code: 404 2024-09-09 15:07:40,676 - DEBUG - Requesting: http://10.0.0.43:8082/domains 2024-09-09 15:07:40,681 - DEBUG - Requesting: http://10.0.0.43:8082/domain/5d4f4dd8-a93c-4f6d-bb27-bb8c2789b404 2024-09-09 15:07:40,738 - DEBUG - Requesting: http://10.0.0.43:8082/project/3d5a574d-44d1-4d79-92c2-8621a9ba3abd 2024-09-09 15:07:40,814 - INFO - Validated that VN ctest-vn-11976388 is not found in API Server 2024-09-09 15:07:40,827 - DEBUG - VN ctest-vn-11976388 is not present in Agent 10.0.0.43 2024-09-09 15:07:40,827 - INFO - Validated that VN ctest-vn-11976388 is not in any agent 2024-09-09 15:07:40,843 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11976388 info 2024-09-09 15:07:41,098 - DEBUG - No XMPP flaps were noticed during the test 2024-09-09 15:07:41,098 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2024-09-09 15:07:41,098 - INFO - -------------------------------------------------------------------------------- 2024-09-09 15:07:41,770 - INFO - Deleted project: ctest-TestBasicPolicy-81611884, ID : 3d5a574d-44d1-4d79-92c2-8621a9ba3abd