2024-08-24 02:30:06,060 - INFO - Domain Default found not creating 2024-08-24 02:30:06,526 - INFO - Project ctest-TestBasicPolicy-94745391 not found, creating it 2024-08-24 02:30:06,995 - INFO - Created Project:ctest-TestBasicPolicy-94745391, ID : 06b4abf8-136d-496c-af0d-87554aa2b24b 2024-08-24 02:30:08,480 - INFO - ================================================================================ 2024-08-24 02:30:08,480 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-24 02:30:08,480 - 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-08-24 02:30:08,735 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.6': '0'}} with 2024-08-24 02:30:08,735 - INFO - Initial checks done. Running the testcase now 2024-08-24 02:30:08,735 - INFO - 2024-08-24 02:30:09,283 - DEBUG - Response for create_network : {'network': {'id': '269ae818-4b08-4b64-b75c-c3beefaac6ac', 'name': 'ctest-vn-86127780', 'tenant_id': '06b4abf8136d496caf0d87554aa2b24b', 'project_id': '06b4abf8136d496caf0d87554aa2b24b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-vn-86127780'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:30:09,462 - DEBUG - Response for create_subnet : {'subnet': {'id': '37f071b7-1303-4646-811f-fea77d483ba1', 'name': '', 'tenant_id': '06b4abf8136d496caf0d87554aa2b24b', 'network_id': '269ae818-4b08-4b64-b75c-c3beefaac6ac', 'ip_version': 4, 'cidr': '65.240.176.192/26', 'allocation_pools': [{'start': '65.240.176.194', 'end': '65.240.176.254'}], 'gateway_ip': '65.240.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.240.176.194', 'tags': [], 'project_id': '06b4abf8136d496caf0d87554aa2b24b'}} 2024-08-24 02:30:09,484 - INFO - Created VN ctest-vn-86127780 2024-08-24 02:30:09,537 - DEBUG - VN ctest-vn-86127780 UUID is 269ae818-4b08-4b64-b75c-c3beefaac6ac 2024-08-24 02:30:09,834 - DEBUG - Response for create_network : {'network': {'id': '2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f', 'name': 'ctest-vn-22304200', 'tenant_id': '06b4abf8136d496caf0d87554aa2b24b', 'project_id': '06b4abf8136d496caf0d87554aa2b24b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-vn-22304200'], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:30:10,013 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd450f9e7-47fa-4859-8fc8-2e5bb1997619', 'name': '', 'tenant_id': '06b4abf8136d496caf0d87554aa2b24b', 'network_id': '2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f', 'ip_version': 4, 'cidr': '146.100.13.0/26', 'allocation_pools': [{'start': '146.100.13.2', 'end': '146.100.13.62'}], 'gateway_ip': '146.100.13.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.100.13.2', 'tags': [], 'project_id': '06b4abf8136d496caf0d87554aa2b24b'}} 2024-08-24 02:30:10,032 - INFO - Created VN ctest-vn-22304200 2024-08-24 02:30:10,085 - DEBUG - VN ctest-vn-22304200 UUID is 2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f 2024-08-24 02:30:10,199 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-86127780, 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-94745391:ctest-vn-22304200, 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-08-24 02:30:10,487 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '269ae818-4b08-4b64-b75c-c3beefaac6ac', 'name': 'ctest-vn-86127780', 'tenant_id': '06b4abf8136d496caf0d87554aa2b24b', 'project_id': '06b4abf8136d496caf0d87554aa2b24b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37f071b7-1303-4646-811f-fea77d483ba1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-vn-86127780'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-policy-allow-all-73319480']], 'subnet_ipam': [{'subnet_cidr': '65.240.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:30:10,727 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f', 'name': 'ctest-vn-22304200', 'tenant_id': '06b4abf8136d496caf0d87554aa2b24b', 'project_id': '06b4abf8136d496caf0d87554aa2b24b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d450f9e7-47fa-4859-8fc8-2e5bb1997619'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-vn-22304200'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-policy-allow-all-73319480']], 'subnet_ipam': [{'subnet_cidr': '146.100.13.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-24 02:30:10,893 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-24 02:30:11,192 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-24 02:30:11,229 - DEBUG - Requesting: http://10.0.0.52:8082/domain/1acddb76-cfec-497d-a36a-862dcf33412a 2024-08-24 02:30:11,248 - DEBUG - Requesting: http://10.0.0.52:8082/project/06b4abf8-136d-496c-af0d-87554aa2b24b 2024-08-24 02:30:11,326 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/269ae818-4b08-4b64-b75c-c3beefaac6ac 2024-08-24 02:30:11,335 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/269ae818-4b08-4b64-b75c-c3beefaac6ac 2024-08-24 02:30:11,342 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3ea48d4e-d893-48de-8a75-dcaf891a04bb 2024-08-24 02:30:11,348 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3ea48d4e-d893-48de-8a75-dcaf891a04bb 2024-08-24 02:30:11,355 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/ceff813e-0ebc-4e1a-8fdb-443f980bc37e 2024-08-24 02:30:11,360 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 02:30:11,361 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/269ae818-4b08-4b64-b75c-c3beefaac6ac 2024-08-24 02:30:11,368 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3ea48d4e-d893-48de-8a75-dcaf891a04bb 2024-08-24 02:30:11,379 - INFO - Verified VN network id 7 for VN 269ae818-4b08-4b64-b75c-c3beefaac6ac 2024-08-24 02:30:11,379 - INFO - Verifications in API Server for VN ctest-vn-86127780 passed 2024-08-24 02:30:11,379 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/269ae818-4b08-4b64-b75c-c3beefaac6ac 2024-08-24 02:30:11,387 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3ea48d4e-d893-48de-8a75-dcaf891a04bb 2024-08-24 02:30:11,393 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3ea48d4e-d893-48de-8a75-dcaf891a04bb 2024-08-24 02:30:11,400 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/ceff813e-0ebc-4e1a-8fdb-443f980bc37e 2024-08-24 02:30:11,413 - DEBUG - Control-node 10.0.0.52 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-86127780', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94745391', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2781790910890396516', 'uuid-lslong': '13212650631630341804'}, 'enable': 'true', 'created': '2024-08-24T02:30:09', 'last-modified': '2024-08-24T02:30:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952438'} 2024-08-24 02:30:11,421 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-24 02:30:11,421 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86127780 passed 2024-08-24 02:30:11,421 - DEBUG - ====Verifying policy data for ctest-vn-86127780 in API_Server ====== 2024-08-24 02:30:11,421 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-24 02:30:11,427 - DEBUG - Requesting: http://10.0.0.52:8082/domain/1acddb76-cfec-497d-a36a-862dcf33412a 2024-08-24 02:30:11,438 - DEBUG - Requesting: http://10.0.0.52:8082/project/06b4abf8-136d-496c-af0d-87554aa2b24b 2024-08-24 02:30:11,509 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/269ae818-4b08-4b64-b75c-c3beefaac6ac 2024-08-24 02:30:11,517 - DEBUG - ==>Verifying data for policy with id: 4b7bdc04-753e-460b-82c7-ae508a35252e, fqn: ['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-policy-allow-all-73319480'] 2024-08-24 02:30:11,517 - INFO - VN ctest-vn-86127780 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-24 02:30:11,517 - DEBUG - Verifying the vn in opserver 2024-08-24 02:30:11,517 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-86127780 virtual network link through opserver 10.0.0.52 2024-08-24 02:30:11,518 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2024-08-24 02:30:11,811 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2024-08-24 02:30:11,867 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-86127780', 'href': 'http://10.0.0.52:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-86127780?flat'} 2024-08-24 02:30:11,867 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-86127780 is found in opserver 2024-08-24 02:30:11,878 - DEBUG - Do not have enough data to verify VN in agent 2024-08-24 02:30:11,883 - DEBUG - VRF ids for VN ctest-vn-86127780: {} 2024-08-24 02:30:11,883 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-24 02:30:11,890 - DEBUG - Requesting: http://10.0.0.52:8082/domain/1acddb76-cfec-497d-a36a-862dcf33412a 2024-08-24 02:30:11,902 - DEBUG - Requesting: http://10.0.0.52:8082/project/06b4abf8-136d-496c-af0d-87554aa2b24b 2024-08-24 02:30:11,970 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f 2024-08-24 02:30:11,981 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f 2024-08-24 02:30:11,989 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/7a370b88-d584-452a-8f8d-b8617a68931d 2024-08-24 02:30:11,996 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/7a370b88-d584-452a-8f8d-b8617a68931d 2024-08-24 02:30:12,003 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/0fc68ec3-3daa-4fec-be73-3ece5c5f0ef7 2024-08-24 02:30:12,010 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-24 02:30:12,010 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f 2024-08-24 02:30:12,018 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/7a370b88-d584-452a-8f8d-b8617a68931d 2024-08-24 02:30:12,030 - INFO - Verified VN network id 8 for VN 2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f 2024-08-24 02:30:12,030 - INFO - Verifications in API Server for VN ctest-vn-22304200 passed 2024-08-24 02:30:12,030 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f 2024-08-24 02:30:12,040 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/7a370b88-d584-452a-8f8d-b8617a68931d 2024-08-24 02:30:12,046 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/7a370b88-d584-452a-8f8d-b8617a68931d 2024-08-24 02:30:12,052 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/0fc68ec3-3daa-4fec-be73-3ece5c5f0ef7 2024-08-24 02:30:12,064 - DEBUG - Control-node 10.0.0.52 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-22304200', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94745391', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3354349307561856502', 'uuid-lslong': '9996654901827730543'}, 'enable': 'true', 'created': '2024-08-24T02:30:09', 'last-modified': '2024-08-24T02:30:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364739'} 2024-08-24 02:30:12,070 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-24 02:30:12,070 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22304200 passed 2024-08-24 02:30:12,070 - DEBUG - ====Verifying policy data for ctest-vn-22304200 in API_Server ====== 2024-08-24 02:30:12,071 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-24 02:30:12,076 - DEBUG - Requesting: http://10.0.0.52:8082/domain/1acddb76-cfec-497d-a36a-862dcf33412a 2024-08-24 02:30:12,088 - DEBUG - Requesting: http://10.0.0.52:8082/project/06b4abf8-136d-496c-af0d-87554aa2b24b 2024-08-24 02:30:12,155 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f 2024-08-24 02:30:12,163 - DEBUG - ==>Verifying data for policy with id: 4b7bdc04-753e-460b-82c7-ae508a35252e, fqn: ['default-domain', 'ctest-TestBasicPolicy-94745391', 'ctest-policy-allow-all-73319480'] 2024-08-24 02:30:12,163 - INFO - VN ctest-vn-22304200 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-24 02:30:12,163 - DEBUG - Verifying the vn in opserver 2024-08-24 02:30:12,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-22304200 virtual network link through opserver 10.0.0.52 2024-08-24 02:30:12,163 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2024-08-24 02:30:12,175 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-22304200', 'href': 'http://10.0.0.52:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-22304200?flat'} 2024-08-24 02:30:12,175 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-22304200 is found in opserver 2024-08-24 02:30:12,189 - DEBUG - Do not have enough data to verify VN in agent 2024-08-24 02:30:12,194 - DEBUG - VRF ids for VN ctest-vn-22304200: {} 2024-08-24 02:30:12,249 - DEBUG - Services list from nova: [, , ] 2024-08-24 02:30:13,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1738-1) 2024-08-24 02:30:14,488 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1738-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1738-1) 2024-08-24 02:30:14,488 - INFO - Waiting for VM ctest-TestBasicPolicy-94745391-67700733 to be up.. 2024-08-24 02:30:14,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-24 02:30:19,672 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:30:19,672 - INFO - VM name : ctest-TestBasicPolicy-94745391-67700733 2024-08-24 02:30:19,760 - DEBUG - VM ctest-TestBasicPolicy-94745391-67700733 ID is 7d46ade8-d6fd-4fda-88e9-1d43f372a35f 2024-08-24 02:30:19,781 - DEBUG - VM ctest-TestBasicPolicy-94745391-67700733 launched on Node cn-jenkins-deploy-platform-ansible-os-1738-1 2024-08-24 02:30:19,859 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/7d46ade8-d6fd-4fda-88e9-1d43f372a35f 2024-08-24 02:30:19,868 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/8f27625b-5082-4f65-8733-d0fad03bd2a9 2024-08-24 02:30:23,131 - 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-08-24 02:30:23,131 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94745391-67700733 failed! 2024-08-24 02:30:23,189 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94745391:ctest-vn-86127780 is 65.240.176.193 and allocation pool is NOT set 2024-08-24 02:30:25,248 - 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=6.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.403 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 = 0.403/3.667/6.931/3.264 ms') 2024-08-24 02:30:25,248 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94745391-67700733 passed 2024-08-24 02:30:25,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:30:25,398 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94745391-67700733, IP 65.240.176.195, Port 22 2024-08-24 02:30:25,549 - DEBUG - VM ctest-TestBasicPolicy-94745391-67700733 is ready for SSH connections 2024-08-24 02:30:25,549 - INFO - Waiting for VM ctest-TestBasicPolicy-94745391-05820423 to be up.. 2024-08-24 02:30:25,637 - DEBUG - VM is in ACTIVE state now 2024-08-24 02:30:25,637 - INFO - VM name : ctest-TestBasicPolicy-94745391-05820423 2024-08-24 02:30:25,719 - DEBUG - VM ctest-TestBasicPolicy-94745391-05820423 ID is 4325d164-9838-4cbf-b571-be430a8eb101 2024-08-24 02:30:25,720 - DEBUG - VM ctest-TestBasicPolicy-94745391-05820423 launched on Node cn-jenkins-deploy-platform-ansible-os-1738-1 2024-08-24 02:30:25,796 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/4325d164-9838-4cbf-b571-be430a8eb101 2024-08-24 02:30:25,806 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/fe7da7cf-7abf-4b47-99c5-29c4e8d9939d 2024-08-24 02:30:27,052 - 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=10.4 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.80 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 = 1.803/6.116/10.430/4.313 ms') 2024-08-24 02:30:27,052 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94745391-05820423 passed 2024-08-24 02:30:27,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:30:27,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94745391-05820423, IP 146.100.13.3, Port 22 2024-08-24 02:30:27,361 - DEBUG - VM ctest-TestBasicPolicy-94745391-05820423 is ready for SSH connections 2024-08-24 02:30:27,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:30:27,361 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.100.13.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-08-24 02:30:27,361 - DEBUG - ping -s 56 -c 3 -W 1 146.100.13.3 2024-08-24 02:30:31,053 - DEBUG - PING 146.100.13.3 (146.100.13.3): 56 data bytes 64 bytes from 146.100.13.3: seq=0 ttl=63 time=3.660 ms 64 bytes from 146.100.13.3: seq=1 ttl=63 time=0.744 ms 64 bytes from 146.100.13.3: seq=2 ttl=63 time=0.920 ms --- 146.100.13.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.774/3.660 ms 2024-08-24 02:30:31,053 - INFO - Ping to IP 146.100.13.3 from VM ctest-TestBasicPolicy-94745391-67700733 passed 2024-08-24 02:30:31,229 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4b7bdc04-753e-460b-82c7-ae508a35252e", "href": "http://10.0.0.52:8082/network-policy/4b7bdc04-753e-460b-82c7-ae508a35252e"}} 2024-08-24 02:30:31,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-24 02:30:31,229 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.100.13.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-08-24 02:30:31,230 - DEBUG - ping -s 56 -c 3 -W 1 146.100.13.3 2024-08-24 02:30:34,432 - DEBUG - PING 146.100.13.3 (146.100.13.3): 56 data bytes --- 146.100.13.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-08-24 02:30:34,432 - WARNING - Ping to IP 146.100.13.3 from VM ctest-TestBasicPolicy-94745391-67700733 failed 2024-08-24 02:30:34,432 - INFO - Deleting VM ctest-TestBasicPolicy-94745391-05820423 2024-08-24 02:30:34,496 - INFO - Deleting VM ctest-TestBasicPolicy-94745391-67700733 2024-08-24 02:30:34,835 - INFO - Deleted policy ctest-policy-allow-all-73319480 2024-08-24 02:30:34,835 - INFO - Deleting VN ctest-vn-22304200 2024-08-24 02:30:34,871 - DEBUG - VN 2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f still in use: Unable to complete operation on network 2e8d0aec-51cd-4df6-8abb-40ab2d9bfc6f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-32d75239-f9f6-4d87-8499-5aba9bb49d0b'] 2024-08-24 02:30:34,871 - WARNING - Deleting VN ctest-vn-22304200 failed..Will retry 2024-08-24 02:30:36,969 - DEBUG - Response for deleting network () 2024-08-24 02:30:36,970 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/7a370b88-d584-452a-8f8d-b8617a68931d 2024-08-24 02:30:36,977 - DEBUG - Response Code: 404 2024-08-24 02:30:36,977 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-24 02:30:36,982 - DEBUG - Requesting: http://10.0.0.52:8082/domain/1acddb76-cfec-497d-a36a-862dcf33412a 2024-08-24 02:30:37,038 - DEBUG - Requesting: http://10.0.0.52:8082/project/06b4abf8-136d-496c-af0d-87554aa2b24b 2024-08-24 02:30:37,107 - INFO - Validated that VN ctest-vn-22304200 is not found in API Server 2024-08-24 02:30:37,118 - DEBUG - VN ctest-vn-22304200 is not present in Agent 10.0.0.52 2024-08-24 02:30:37,118 - INFO - Validated that VN ctest-vn-22304200 is not in any agent 2024-08-24 02:30:37,133 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22304200 info 2024-08-24 02:30:37,133 - INFO - Deleting VN ctest-vn-86127780 2024-08-24 02:30:37,232 - DEBUG - Response for deleting network () 2024-08-24 02:30:37,232 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3ea48d4e-d893-48de-8a75-dcaf891a04bb 2024-08-24 02:30:37,239 - DEBUG - Response Code: 404 2024-08-24 02:30:37,239 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-24 02:30:37,244 - DEBUG - Requesting: http://10.0.0.52:8082/domain/1acddb76-cfec-497d-a36a-862dcf33412a 2024-08-24 02:30:37,298 - DEBUG - Requesting: http://10.0.0.52:8082/project/06b4abf8-136d-496c-af0d-87554aa2b24b 2024-08-24 02:30:37,368 - INFO - Validated that VN ctest-vn-86127780 is not found in API Server 2024-08-24 02:30:37,378 - DEBUG - VN ctest-vn-86127780 is not present in Agent 10.0.0.52 2024-08-24 02:30:37,378 - INFO - Validated that VN ctest-vn-86127780 is not in any agent 2024-08-24 02:30:37,393 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86127780 info 2024-08-24 02:30:37,647 - DEBUG - No XMPP flaps were noticed during the test
2024-08-24 02:30:37,647 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2024-08-24 02:30:37,647 - INFO - -------------------------------------------------------------------------------- 2024-08-24 02:30:41,205 - INFO - Deleted project: ctest-TestBasicPolicy-94745391, ID : 06b4abf8-136d-496c-af0d-87554aa2b24b