2024-11-10 14:58:27,265 - INFO - Domain Default found not creating 2024-11-10 14:58:27,441 - INFO - Project ctest-TestBasicPolicy-61452364 not found, creating it 2024-11-10 14:58:27,947 - INFO - Created Project:ctest-TestBasicPolicy-61452364, ID : f18b2fc8-da6e-4d91-af17-e219d0497dbf 2024-11-10 14:58:29,513 - INFO - ================================================================================ 2024-11-10 14:58:29,513 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-11-10 14:58:29,513 - 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-10 14:58:29,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.14': '0'}} with 2024-11-10 14:58:29,786 - INFO - Initial checks done. Running the testcase now 2024-11-10 14:58:29,786 - INFO - 2024-11-10 14:58:30,372 - DEBUG - Response for create_network : {'network': {'id': '8b6d0f0e-4e2e-45e2-818b-47f63aa885e3', 'name': 'ctest-vn-95051949', 'tenant_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'project_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-vn-95051949'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 14:58:30,579 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2a7a3bd-128f-46a0-b870-939611588012', 'name': '', 'tenant_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'network_id': '8b6d0f0e-4e2e-45e2-818b-47f63aa885e3', 'ip_version': 4, 'cidr': '191.9.132.128/26', 'allocation_pools': [{'start': '191.9.132.130', 'end': '191.9.132.190'}], 'gateway_ip': '191.9.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.9.132.130', 'tags': [], 'project_id': 'f18b2fc8da6e4d91af17e219d0497dbf'}} 2024-11-10 14:58:30,599 - INFO - Created VN ctest-vn-95051949 2024-11-10 14:58:30,658 - DEBUG - VN ctest-vn-95051949 UUID is 8b6d0f0e-4e2e-45e2-818b-47f63aa885e3 2024-11-10 14:58:30,975 - DEBUG - Response for create_network : {'network': {'id': '403f6288-86a4-4e4c-a5b1-5c555da3dcb0', 'name': 'ctest-vn-53727508', 'tenant_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'project_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-vn-53727508'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 14:58:31,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7712a64-03d0-4d57-be2e-658e63010fef', 'name': '', 'tenant_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'network_id': '403f6288-86a4-4e4c-a5b1-5c555da3dcb0', 'ip_version': 4, 'cidr': '215.245.203.0/26', 'allocation_pools': [{'start': '215.245.203.2', 'end': '215.245.203.62'}], 'gateway_ip': '215.245.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.245.203.2', 'tags': [], 'project_id': 'f18b2fc8da6e4d91af17e219d0497dbf'}} 2024-11-10 14:58:31,207 - INFO - Created VN ctest-vn-53727508 2024-11-10 14:58:31,266 - DEBUG - VN ctest-vn-53727508 UUID is 403f6288-86a4-4e4c-a5b1-5c555da3dcb0 2024-11-10 14:58:31,409 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-95051949, 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-61452364:ctest-vn-53727508, 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-10 14:58:31,767 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b6d0f0e-4e2e-45e2-818b-47f63aa885e3', 'name': 'ctest-vn-95051949', 'tenant_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'project_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b2a7a3bd-128f-46a0-b870-939611588012'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-vn-95051949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-policy-allow-all-77076599']], 'subnet_ipam': [{'subnet_cidr': '191.9.132.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 14:58:32,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '403f6288-86a4-4e4c-a5b1-5c555da3dcb0', 'name': 'ctest-vn-53727508', 'tenant_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'project_id': 'f18b2fc8da6e4d91af17e219d0497dbf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7712a64-03d0-4d57-be2e-658e63010fef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-vn-53727508'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-policy-allow-all-77076599']], 'subnet_ipam': [{'subnet_cidr': '215.245.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-11-10 14:58:32,190 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 14:58:32,493 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 14:58:32,527 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 14:58:32,543 - DEBUG - Requesting: http://10.0.0.24:8082/project/f18b2fc8-da6e-4d91-af17-e219d0497dbf 2024-11-10 14:58:32,627 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/8b6d0f0e-4e2e-45e2-818b-47f63aa885e3 2024-11-10 14:58:32,645 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/8b6d0f0e-4e2e-45e2-818b-47f63aa885e3 2024-11-10 14:58:32,661 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9fe407b3-0265-4603-a36b-1203441f2278 2024-11-10 14:58:32,672 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9fe407b3-0265-4603-a36b-1203441f2278 2024-11-10 14:58:32,684 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/4f688027-c594-4ebe-8f4a-1f4a2fe7acc0 2024-11-10 14:58:32,693 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 14:58:32,693 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/8b6d0f0e-4e2e-45e2-818b-47f63aa885e3 2024-11-10 14:58:32,707 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9fe407b3-0265-4603-a36b-1203441f2278 2024-11-10 14:58:32,729 - INFO - Verified VN network id 8 for VN 8b6d0f0e-4e2e-45e2-818b-47f63aa885e3 2024-11-10 14:58:32,729 - INFO - Verifications in API Server for VN ctest-vn-95051949 passed 2024-11-10 14:58:32,729 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/8b6d0f0e-4e2e-45e2-818b-47f63aa885e3 2024-11-10 14:58:32,743 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9fe407b3-0265-4603-a36b-1203441f2278 2024-11-10 14:58:32,753 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9fe407b3-0265-4603-a36b-1203441f2278 2024-11-10 14:58:32,762 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/4f688027-c594-4ebe-8f4a-1f4a2fe7acc0 2024-11-10 14:58:32,777 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-95051949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61452364', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10046702897849058786', 'uuid-lslong': '9334633775527134691'}, 'enable': 'true', 'created': '2024-11-10T14:58:30', 'last-modified': '2024-11-10T14:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040038'} 2024-11-10 14:58:32,784 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 14:58:32,784 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95051949 passed 2024-11-10 14:58:32,784 - DEBUG - ====Verifying policy data for ctest-vn-95051949 in API_Server ====== 2024-11-10 14:58:32,784 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 14:58:32,791 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 14:58:32,806 - DEBUG - Requesting: http://10.0.0.24:8082/project/f18b2fc8-da6e-4d91-af17-e219d0497dbf 2024-11-10 14:58:32,884 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/8b6d0f0e-4e2e-45e2-818b-47f63aa885e3 2024-11-10 14:58:32,900 - DEBUG - ==>Verifying data for policy with id: 229c2e68-2b55-4991-bdae-200e8624450d, fqn: ['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-policy-allow-all-77076599'] 2024-11-10 14:58:32,900 - INFO - VN ctest-vn-95051949 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 14:58:32,900 - DEBUG - Verifying the vn in opserver 2024-11-10 14:58:32,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-95051949 virtual network link through opserver 10.0.0.24 2024-11-10 14:58:32,901 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-11-10 14:58:33,201 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-11-10 14:58:33,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-95051949', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-95051949?flat'} 2024-11-10 14:58:33,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-95051949 is found in opserver 2024-11-10 14:58:33,276 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 14:58:33,281 - DEBUG - VRF ids for VN ctest-vn-95051949: {} 2024-11-10 14:58:33,282 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 14:58:33,288 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 14:58:33,303 - DEBUG - Requesting: http://10.0.0.24:8082/project/f18b2fc8-da6e-4d91-af17-e219d0497dbf 2024-11-10 14:58:33,382 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/403f6288-86a4-4e4c-a5b1-5c555da3dcb0 2024-11-10 14:58:33,399 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/403f6288-86a4-4e4c-a5b1-5c555da3dcb0 2024-11-10 14:58:33,413 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d59eff43-1fbd-4f5d-853a-a435a1356b94 2024-11-10 14:58:33,422 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d59eff43-1fbd-4f5d-853a-a435a1356b94 2024-11-10 14:58:33,431 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/3d3794c1-8799-472f-9a4e-33d732eb3afd 2024-11-10 14:58:33,440 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 14:58:33,440 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/403f6288-86a4-4e4c-a5b1-5c555da3dcb0 2024-11-10 14:58:33,455 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d59eff43-1fbd-4f5d-853a-a435a1356b94 2024-11-10 14:58:33,478 - INFO - Verified VN network id 9 for VN 403f6288-86a4-4e4c-a5b1-5c555da3dcb0 2024-11-10 14:58:33,478 - INFO - Verifications in API Server for VN ctest-vn-53727508 passed 2024-11-10 14:58:33,479 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/403f6288-86a4-4e4c-a5b1-5c555da3dcb0 2024-11-10 14:58:33,496 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d59eff43-1fbd-4f5d-853a-a435a1356b94 2024-11-10 14:58:33,506 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d59eff43-1fbd-4f5d-853a-a435a1356b94 2024-11-10 14:58:33,518 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/3d3794c1-8799-472f-9a4e-33d732eb3afd 2024-11-10 14:58:33,534 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-53727508', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61452364', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4629527280474148428', 'uuid-lslong': '11939425608848891056'}, 'enable': 'true', 'created': '2024-11-10T14:58:30', 'last-modified': '2024-11-10T14:58:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.535982'} 2024-11-10 14:58:33,541 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-11-10 14:58:33,541 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53727508 passed 2024-11-10 14:58:33,541 - DEBUG - ====Verifying policy data for ctest-vn-53727508 in API_Server ====== 2024-11-10 14:58:33,542 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 14:58:33,549 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 14:58:33,564 - DEBUG - Requesting: http://10.0.0.24:8082/project/f18b2fc8-da6e-4d91-af17-e219d0497dbf 2024-11-10 14:58:33,651 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/403f6288-86a4-4e4c-a5b1-5c555da3dcb0 2024-11-10 14:58:33,668 - DEBUG - ==>Verifying data for policy with id: 229c2e68-2b55-4991-bdae-200e8624450d, fqn: ['default-domain', 'ctest-TestBasicPolicy-61452364', 'ctest-policy-allow-all-77076599'] 2024-11-10 14:58:33,668 - INFO - VN ctest-vn-53727508 Policy verification: verify_vn_policy_in_api_server, status: True 2024-11-10 14:58:33,668 - DEBUG - Verifying the vn in opserver 2024-11-10 14:58:33,668 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-53727508 virtual network link through opserver 10.0.0.24 2024-11-10 14:58:33,668 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-11-10 14:58:33,683 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-53727508', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-53727508?flat'} 2024-11-10 14:58:33,683 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-53727508 is found in opserver 2024-11-10 14:58:33,696 - DEBUG - Do not have enough data to verify VN in agent 2024-11-10 14:58:33,701 - DEBUG - VRF ids for VN ctest-vn-53727508: {} 2024-11-10 14:58:33,761 - DEBUG - Services list from nova: [, , ] 2024-11-10 14:58:34,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 14:58:36,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 14:58:36,247 - INFO - Waiting for VM ctest-TestBasicPolicy-61452364-73249991 to be up.. 2024-11-10 14:58:36,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 14:58:41,432 - DEBUG - VM is in ACTIVE state now 2024-11-10 14:58:41,432 - INFO - VM name : ctest-TestBasicPolicy-61452364-73249991 2024-11-10 14:58:41,513 - DEBUG - VM ctest-TestBasicPolicy-61452364-73249991 ID is 9d00831c-2d51-4f01-84eb-0e38392c58cc 2024-11-10 14:58:41,535 - DEBUG - VM ctest-TestBasicPolicy-61452364-73249991 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 14:58:41,629 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/9d00831c-2d51-4f01-84eb-0e38392c58cc 2024-11-10 14:58:41,641 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/18d1572a-d9b1-4873-9dd5-e1fe8946267c 2024-11-10 14:58:44,918 - 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 1019ms') 2024-11-10 14:58:44,918 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61452364-73249991 failed! 2024-11-10 14:58:44,986 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61452364:ctest-vn-95051949 is 191.9.132.129 and allocation pool is NOT set 2024-11-10 14:58:47,046 - 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=8.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.081/5.121/8.161/3.040 ms') 2024-11-10 14:58:47,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61452364-73249991 passed 2024-11-10 14:58:47,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 14:58:47,210 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61452364-73249991, IP 191.9.132.131, Port 22 2024-11-10 14:58:47,370 - DEBUG - VM ctest-TestBasicPolicy-61452364-73249991 is ready for SSH connections 2024-11-10 14:58:47,370 - INFO - Waiting for VM ctest-TestBasicPolicy-61452364-81687677 to be up.. 2024-11-10 14:58:47,452 - DEBUG - VM is in ACTIVE state now 2024-11-10 14:58:47,453 - INFO - VM name : ctest-TestBasicPolicy-61452364-81687677 2024-11-10 14:58:47,540 - DEBUG - VM ctest-TestBasicPolicy-61452364-81687677 ID is 5601ab6e-0aaa-42f2-83a9-c1639de76d55 2024-11-10 14:58:47,540 - DEBUG - VM ctest-TestBasicPolicy-61452364-81687677 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 14:58:47,630 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/5601ab6e-0aaa-42f2-83a9-c1639de76d55 2024-11-10 14:58:47,642 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/8cb7a44b-c11d-4687-a629-374950b94a03 2024-11-10 14:58:48,897 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.492 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.492/3.531/6.571/3.039 ms') 2024-11-10 14:58:48,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61452364-81687677 passed 2024-11-10 14:58:49,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 14:58:49,058 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61452364-81687677, IP 215.245.203.3, Port 22 2024-11-10 14:58:49,213 - DEBUG - VM ctest-TestBasicPolicy-61452364-81687677 is ready for SSH connections 2024-11-10 14:58:49,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 14:58:49,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.245.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-11-10 14:58:49,213 - DEBUG - ping -s 56 -c 3 -W 1 215.245.203.3 2024-11-10 14:58:53,373 - DEBUG - PING 215.245.203.3 (215.245.203.3): 56 data bytes 64 bytes from 215.245.203.3: seq=0 ttl=63 time=3.178 ms 64 bytes from 215.245.203.3: seq=1 ttl=63 time=0.953 ms 64 bytes from 215.245.203.3: seq=2 ttl=63 time=0.771 ms --- 215.245.203.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/1.634/3.178 ms 2024-11-10 14:58:53,374 - INFO - Ping to IP 215.245.203.3 from VM ctest-TestBasicPolicy-61452364-73249991 passed 2024-11-10 14:58:53,562 - DEBUG - Policy Update Response {"network-policy": {"uuid": "229c2e68-2b55-4991-bdae-200e8624450d", "href": "http://10.0.0.24:8082/network-policy/229c2e68-2b55-4991-bdae-200e8624450d"}} 2024-11-10 14:58:53,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 14:58:53,562 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.245.203.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-11-10 14:58:53,562 - DEBUG - ping -s 56 -c 3 -W 1 215.245.203.3 2024-11-10 14:58:56,771 - DEBUG - PING 215.245.203.3 (215.245.203.3): 56 data bytes --- 215.245.203.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-11-10 14:58:56,771 - WARNING - Ping to IP 215.245.203.3 from VM ctest-TestBasicPolicy-61452364-73249991 failed 2024-11-10 14:58:56,771 - INFO - Deleting VM ctest-TestBasicPolicy-61452364-81687677 2024-11-10 14:58:56,846 - INFO - Deleting VM ctest-TestBasicPolicy-61452364-73249991 2024-11-10 14:58:57,325 - INFO - Deleted policy ctest-policy-allow-all-77076599 2024-11-10 14:58:57,325 - INFO - Deleting VN ctest-vn-53727508 2024-11-10 14:58:57,457 - DEBUG - VN 403f6288-86a4-4e4c-a5b1-5c555da3dcb0 still in use: Unable to complete operation on network 403f6288-86a4-4e4c-a5b1-5c555da3dcb0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f919bad6-8559-43e4-bcd2-b24045c7ef4b'] 2024-11-10 14:58:57,457 - WARNING - Deleting VN ctest-vn-53727508 failed..Will retry 2024-11-10 14:58:59,585 - DEBUG - Response for deleting network () 2024-11-10 14:58:59,585 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/d59eff43-1fbd-4f5d-853a-a435a1356b94 2024-11-10 14:58:59,593 - DEBUG - Response Code: 404 2024-11-10 14:58:59,593 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 14:58:59,600 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 14:58:59,663 - DEBUG - Requesting: http://10.0.0.24:8082/project/f18b2fc8-da6e-4d91-af17-e219d0497dbf 2024-11-10 14:58:59,744 - INFO - Validated that VN ctest-vn-53727508 is not found in API Server 2024-11-10 14:58:59,756 - DEBUG - VN ctest-vn-53727508 is not present in Agent 10.0.0.24 2024-11-10 14:58:59,756 - INFO - Validated that VN ctest-vn-53727508 is not in any agent 2024-11-10 14:58:59,773 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53727508 info 2024-11-10 14:58:59,773 - INFO - Deleting VN ctest-vn-95051949 2024-11-10 14:58:59,895 - DEBUG - Response for deleting network () 2024-11-10 14:58:59,895 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/9fe407b3-0265-4603-a36b-1203441f2278 2024-11-10 14:58:59,901 - DEBUG - Response Code: 404 2024-11-10 14:58:59,901 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 14:58:59,907 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 14:58:59,965 - DEBUG - Requesting: http://10.0.0.24:8082/project/f18b2fc8-da6e-4d91-af17-e219d0497dbf 2024-11-10 14:59:00,053 - INFO - Validated that VN ctest-vn-95051949 is not found in API Server 2024-11-10 14:59:00,065 - DEBUG - VN ctest-vn-95051949 is not present in Agent 10.0.0.24 2024-11-10 14:59:00,065 - INFO - Validated that VN ctest-vn-95051949 is not in any agent 2024-11-10 14:59:00,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95051949 info 2024-11-10 14:59:00,351 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 14:59:00,351 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2024-11-10 14:59:00,351 - INFO - -------------------------------------------------------------------------------- 2024-11-10 14:59:01,144 - INFO - Deleted project: ctest-TestBasicPolicy-61452364, ID : f18b2fc8-da6e-4d91-af17-e219d0497dbf