2024-12-30 02:14:20,012 - INFO - Domain Default found not creating 2024-12-30 02:14:20,152 - INFO - Project ctest-TestBasicPolicy-16422970 not found, creating it 2024-12-30 02:14:20,612 - INFO - Created Project:ctest-TestBasicPolicy-16422970, ID : dd91f80c-e39e-4817-b326-e46e18eab181 2024-12-30 02:14:21,989 - INFO - ================================================================================ 2024-12-30 02:14:21,989 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-12-30 02:14:21,989 - 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-12-30 02:14:22,238 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.24': '0'}} with 2024-12-30 02:14:22,238 - INFO - Initial checks done. Running the testcase now 2024-12-30 02:14:22,238 - INFO - 2024-12-30 02:14:22,757 - DEBUG - Response for create_network : {'network': {'id': '6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae', 'name': 'ctest-vn-92613322', 'tenant_id': 'dd91f80ce39e4817b326e46e18eab181', 'project_id': 'dd91f80ce39e4817b326e46e18eab181', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-vn-92613322'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:14:22,963 - DEBUG - Response for create_subnet : {'subnet': {'id': '70922c56-324d-4523-b403-08ee7593dcfe', 'name': '', 'tenant_id': 'dd91f80ce39e4817b326e46e18eab181', 'network_id': '6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae', 'ip_version': 4, 'cidr': '104.239.203.192/26', 'allocation_pools': [{'start': '104.239.203.194', 'end': '104.239.203.254'}], 'gateway_ip': '104.239.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.239.203.194', 'tags': [], 'project_id': 'dd91f80ce39e4817b326e46e18eab181'}} 2024-12-30 02:14:22,979 - INFO - Created VN ctest-vn-92613322 2024-12-30 02:14:23,028 - DEBUG - VN ctest-vn-92613322 UUID is 6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae 2024-12-30 02:14:23,332 - DEBUG - Response for create_network : {'network': {'id': '2cb699e4-d206-4b1c-8276-eb19b7e3ba89', 'name': 'ctest-vn-84080043', 'tenant_id': 'dd91f80ce39e4817b326e46e18eab181', 'project_id': 'dd91f80ce39e4817b326e46e18eab181', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-vn-84080043'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:14:23,515 - DEBUG - Response for create_subnet : {'subnet': {'id': '0298a8af-9112-41b8-b84e-d8330d782ecb', 'name': '', 'tenant_id': 'dd91f80ce39e4817b326e46e18eab181', 'network_id': '2cb699e4-d206-4b1c-8276-eb19b7e3ba89', 'ip_version': 4, 'cidr': '46.200.241.0/26', 'allocation_pools': [{'start': '46.200.241.2', 'end': '46.200.241.62'}], 'gateway_ip': '46.200.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.200.241.2', 'tags': [], 'project_id': 'dd91f80ce39e4817b326e46e18eab181'}} 2024-12-30 02:14:23,530 - INFO - Created VN ctest-vn-84080043 2024-12-30 02:14:23,580 - DEBUG - VN ctest-vn-84080043 UUID is 2cb699e4-d206-4b1c-8276-eb19b7e3ba89 2024-12-30 02:14:23,688 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-92613322, 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-16422970:ctest-vn-84080043, 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-12-30 02:14:23,969 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae', 'name': 'ctest-vn-92613322', 'tenant_id': 'dd91f80ce39e4817b326e46e18eab181', 'project_id': 'dd91f80ce39e4817b326e46e18eab181', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70922c56-324d-4523-b403-08ee7593dcfe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-vn-92613322'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-policy-allow-all-79924389']], 'subnet_ipam': [{'subnet_cidr': '104.239.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:14:24,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2cb699e4-d206-4b1c-8276-eb19b7e3ba89', 'name': 'ctest-vn-84080043', 'tenant_id': 'dd91f80ce39e4817b326e46e18eab181', 'project_id': 'dd91f80ce39e4817b326e46e18eab181', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0298a8af-9112-41b8-b84e-d8330d782ecb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-vn-84080043'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-policy-allow-all-79924389']], 'subnet_ipam': [{'subnet_cidr': '46.200.241.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:14:24,340 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-12-30 02:14:24,637 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-12-30 02:14:24,662 - DEBUG - Requesting: http://10.0.0.45:8082/domain/9eb6c690-2dfa-4489-b11f-76c7854c1b5d 2024-12-30 02:14:24,674 - DEBUG - Requesting: http://10.0.0.45:8082/project/dd91f80c-e39e-4817-b326-e46e18eab181 2024-12-30 02:14:24,743 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae 2024-12-30 02:14:24,752 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae 2024-12-30 02:14:24,759 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f52a0ad3-91a3-49bb-8087-42413fa92523 2024-12-30 02:14:24,765 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f52a0ad3-91a3-49bb-8087-42413fa92523 2024-12-30 02:14:24,770 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/77fec8f3-c2d0-4797-a587-e14ff469a196 2024-12-30 02:14:24,775 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 02:14:24,776 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae 2024-12-30 02:14:24,782 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f52a0ad3-91a3-49bb-8087-42413fa92523 2024-12-30 02:14:24,791 - INFO - Verified VN network id 9 for VN 6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae 2024-12-30 02:14:24,792 - INFO - Verifications in API Server for VN ctest-vn-92613322 passed 2024-12-30 02:14:24,792 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae 2024-12-30 02:14:24,799 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f52a0ad3-91a3-49bb-8087-42413fa92523 2024-12-30 02:14:24,804 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f52a0ad3-91a3-49bb-8087-42413fa92523 2024-12-30 02:14:24,810 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/77fec8f3-c2d0-4797-a587-e14ff469a196 2024-12-30 02:14:24,820 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-92613322', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16422970', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7685418814891117675', 'uuid-lslong': '11954181345078501806'}, 'enable': 'true', 'created': '2024-12-30T02:14:22', 'last-modified': '2024-12-30T02:14:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.878561'} 2024-12-30 02:14:24,826 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 02:14:24,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92613322 passed 2024-12-30 02:14:24,826 - DEBUG - ====Verifying policy data for ctest-vn-92613322 in API_Server ====== 2024-12-30 02:14:24,826 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-12-30 02:14:24,831 - DEBUG - Requesting: http://10.0.0.45:8082/domain/9eb6c690-2dfa-4489-b11f-76c7854c1b5d 2024-12-30 02:14:24,842 - DEBUG - Requesting: http://10.0.0.45:8082/project/dd91f80c-e39e-4817-b326-e46e18eab181 2024-12-30 02:14:24,904 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/6aa817b1-6bb0-4c6b-a5e5-c898ee0161ae 2024-12-30 02:14:24,912 - DEBUG - ==>Verifying data for policy with id: 0fb47998-cad9-4d98-855a-d39c4ec490de, fqn: ['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-policy-allow-all-79924389'] 2024-12-30 02:14:24,912 - INFO - VN ctest-vn-92613322 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 02:14:24,912 - DEBUG - Verifying the vn in opserver 2024-12-30 02:14:24,912 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-92613322 virtual network link through opserver 10.0.0.45 2024-12-30 02:14:24,912 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2024-12-30 02:14:25,200 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2024-12-30 02:14:25,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-92613322', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-92613322?flat'} 2024-12-30 02:14:25,262 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-92613322 is found in opserver 2024-12-30 02:14:25,275 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 02:14:25,281 - DEBUG - VRF ids for VN ctest-vn-92613322: {} 2024-12-30 02:14:25,281 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-12-30 02:14:25,288 - DEBUG - Requesting: http://10.0.0.45:8082/domain/9eb6c690-2dfa-4489-b11f-76c7854c1b5d 2024-12-30 02:14:25,302 - DEBUG - Requesting: http://10.0.0.45:8082/project/dd91f80c-e39e-4817-b326-e46e18eab181 2024-12-30 02:14:25,371 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2cb699e4-d206-4b1c-8276-eb19b7e3ba89 2024-12-30 02:14:25,382 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2cb699e4-d206-4b1c-8276-eb19b7e3ba89 2024-12-30 02:14:25,390 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/0e5997bc-b8ea-44d0-b9e1-e7517136603d 2024-12-30 02:14:25,396 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/0e5997bc-b8ea-44d0-b9e1-e7517136603d 2024-12-30 02:14:25,402 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/1df51c8b-b948-4506-b45b-2886376eccca 2024-12-30 02:14:25,407 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 02:14:25,407 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2cb699e4-d206-4b1c-8276-eb19b7e3ba89 2024-12-30 02:14:25,414 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/0e5997bc-b8ea-44d0-b9e1-e7517136603d 2024-12-30 02:14:25,425 - INFO - Verified VN network id 10 for VN 2cb699e4-d206-4b1c-8276-eb19b7e3ba89 2024-12-30 02:14:25,425 - INFO - Verifications in API Server for VN ctest-vn-84080043 passed 2024-12-30 02:14:25,425 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2cb699e4-d206-4b1c-8276-eb19b7e3ba89 2024-12-30 02:14:25,432 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/0e5997bc-b8ea-44d0-b9e1-e7517136603d 2024-12-30 02:14:25,438 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/0e5997bc-b8ea-44d0-b9e1-e7517136603d 2024-12-30 02:14:25,443 - DEBUG - Requesting: http://10.0.0.45:8082/route-target/1df51c8b-b948-4506-b45b-2886376eccca 2024-12-30 02:14:25,454 - DEBUG - Control-node 10.0.0.45 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-84080043', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16422970', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3221931791485389596', 'uuid-lslong': '9400959767874353801'}, 'enable': 'true', 'created': '2024-12-30T02:14:23', 'last-modified': '2024-12-30T02:14:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.279880'} 2024-12-30 02:14:25,460 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 02:14:25,460 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84080043 passed 2024-12-30 02:14:25,460 - DEBUG - ====Verifying policy data for ctest-vn-84080043 in API_Server ====== 2024-12-30 02:14:25,460 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-12-30 02:14:25,465 - DEBUG - Requesting: http://10.0.0.45:8082/domain/9eb6c690-2dfa-4489-b11f-76c7854c1b5d 2024-12-30 02:14:25,476 - DEBUG - Requesting: http://10.0.0.45:8082/project/dd91f80c-e39e-4817-b326-e46e18eab181 2024-12-30 02:14:25,541 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-network/2cb699e4-d206-4b1c-8276-eb19b7e3ba89 2024-12-30 02:14:25,549 - DEBUG - ==>Verifying data for policy with id: 0fb47998-cad9-4d98-855a-d39c4ec490de, fqn: ['default-domain', 'ctest-TestBasicPolicy-16422970', 'ctest-policy-allow-all-79924389'] 2024-12-30 02:14:25,549 - INFO - VN ctest-vn-84080043 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 02:14:25,549 - DEBUG - Verifying the vn in opserver 2024-12-30 02:14:25,549 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-84080043 virtual network link through opserver 10.0.0.45 2024-12-30 02:14:25,549 - DEBUG - Requesting: http://10.0.0.45:8081/analytics/uves/virtual-networks 2024-12-30 02:14:25,558 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-84080043', 'href': 'http://10.0.0.45:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-84080043?flat'} 2024-12-30 02:14:25,558 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-84080043 is found in opserver 2024-12-30 02:14:25,568 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 02:14:25,573 - DEBUG - VRF ids for VN ctest-vn-84080043: {} 2024-12-30 02:14:25,624 - DEBUG - Services list from nova: [, , ] 2024-12-30 02:14:26,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2499-1) 2024-12-30 02:14:27,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2499-1) 2024-12-30 02:14:27,735 - INFO - Waiting for VM ctest-TestBasicPolicy-16422970-19477132 to be up.. 2024-12-30 02:14:27,807 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 02:14:32,880 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:14:32,880 - INFO - VM name : ctest-TestBasicPolicy-16422970-19477132 2024-12-30 02:14:32,951 - DEBUG - VM ctest-TestBasicPolicy-16422970-19477132 ID is 916fec99-a350-4bb2-b44c-c68e72fda969 2024-12-30 02:14:32,969 - DEBUG - VM ctest-TestBasicPolicy-16422970-19477132 launched on Node cn-jenkins-deploy-platform-ansible-os-2499-1 2024-12-30 02:14:33,040 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/916fec99-a350-4bb2-b44c-c68e72fda969 2024-12-30 02:14:33,050 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/ab5ca6fc-42e8-4054-803f-14bf7d5d62f7 2024-12-30 02:14:36,303 - 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-12-30 02:14:36,303 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16422970-19477132 failed! 2024-12-30 02:14:36,356 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16422970:ctest-vn-92613322 is 104.239.203.193 and allocation pool is NOT set 2024-12-30 02:14:38,416 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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.474/1.691/2.908/1.217 ms') 2024-12-30 02:14:38,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16422970-19477132 passed 2024-12-30 02:14:38,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:14:38,564 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16422970-19477132, IP 104.239.203.195, Port 22 2024-12-30 02:14:38,724 - DEBUG - VM ctest-TestBasicPolicy-16422970-19477132 is ready for SSH connections 2024-12-30 02:14:38,724 - INFO - Waiting for VM ctest-TestBasicPolicy-16422970-96638526 to be up.. 2024-12-30 02:14:38,798 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:14:38,799 - INFO - VM name : ctest-TestBasicPolicy-16422970-96638526 2024-12-30 02:14:38,872 - DEBUG - VM ctest-TestBasicPolicy-16422970-96638526 ID is 91b94eee-ec32-4ec5-9e97-6c3ccf2ebd3c 2024-12-30 02:14:38,872 - DEBUG - VM ctest-TestBasicPolicy-16422970-96638526 launched on Node cn-jenkins-deploy-platform-ansible-os-2499-1 2024-12-30 02:14:38,951 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/91b94eee-ec32-4ec5-9e97-6c3ccf2ebd3c 2024-12-30 02:14:38,960 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/80153fe7-f2bc-4802-830d-b9368d2100b3 2024-12-30 02:14:40,209 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.676 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.676/1.897/3.118/1.221 ms') 2024-12-30 02:14:40,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16422970-96638526 passed 2024-12-30 02:14:40,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:14:40,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16422970-96638526, IP 46.200.241.3, Port 22 2024-12-30 02:14:40,546 - DEBUG - VM ctest-TestBasicPolicy-16422970-96638526 is ready for SSH connections 2024-12-30 02:14:40,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:14:40,546 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.200.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-12-30 02:14:40,546 - DEBUG - ping -s 56 -c 3 -W 1 46.200.241.3 2024-12-30 02:14:44,270 - DEBUG - PING 46.200.241.3 (46.200.241.3): 56 data bytes 64 bytes from 46.200.241.3: seq=0 ttl=63 time=3.706 ms 64 bytes from 46.200.241.3: seq=1 ttl=63 time=1.014 ms 64 bytes from 46.200.241.3: seq=2 ttl=63 time=0.889 ms --- 46.200.241.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.869/3.706 ms 2024-12-30 02:14:44,270 - INFO - Ping to IP 46.200.241.3 from VM ctest-TestBasicPolicy-16422970-19477132 passed 2024-12-30 02:14:44,444 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0fb47998-cad9-4d98-855a-d39c4ec490de", "href": "http://10.0.0.45:8082/network-policy/0fb47998-cad9-4d98-855a-d39c4ec490de"}} 2024-12-30 02:14:44,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:14:44,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.200.241.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-12-30 02:14:44,445 - DEBUG - ping -s 56 -c 3 -W 1 46.200.241.3 2024-12-30 02:14:47,675 - DEBUG - PING 46.200.241.3 (46.200.241.3): 56 data bytes --- 46.200.241.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-12-30 02:14:47,676 - WARNING - Ping to IP 46.200.241.3 from VM ctest-TestBasicPolicy-16422970-19477132 failed 2024-12-30 02:14:47,676 - INFO - Deleting VM ctest-TestBasicPolicy-16422970-96638526 2024-12-30 02:14:47,741 - INFO - Deleting VM ctest-TestBasicPolicy-16422970-19477132 2024-12-30 02:14:48,071 - INFO - Deleted policy ctest-policy-allow-all-79924389 2024-12-30 02:14:48,071 - INFO - Deleting VN ctest-vn-84080043 2024-12-30 02:14:48,113 - DEBUG - VN 2cb699e4-d206-4b1c-8276-eb19b7e3ba89 still in use: Unable to complete operation on network 2cb699e4-d206-4b1c-8276-eb19b7e3ba89. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-401475a6-bd7c-48f5-bfd7-a44fd4fac785'] 2024-12-30 02:14:48,113 - WARNING - Deleting VN ctest-vn-84080043 failed..Will retry 2024-12-30 02:14:50,211 - DEBUG - Response for deleting network () 2024-12-30 02:14:50,211 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/0e5997bc-b8ea-44d0-b9e1-e7517136603d 2024-12-30 02:14:50,217 - DEBUG - Response Code: 404 2024-12-30 02:14:50,217 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-12-30 02:14:50,222 - DEBUG - Requesting: http://10.0.0.45:8082/domain/9eb6c690-2dfa-4489-b11f-76c7854c1b5d 2024-12-30 02:14:50,278 - DEBUG - Requesting: http://10.0.0.45:8082/project/dd91f80c-e39e-4817-b326-e46e18eab181 2024-12-30 02:14:50,349 - INFO - Validated that VN ctest-vn-84080043 is not found in API Server 2024-12-30 02:14:50,361 - DEBUG - VN ctest-vn-84080043 is not present in Agent 10.0.0.45 2024-12-30 02:14:50,362 - INFO - Validated that VN ctest-vn-84080043 is not in any agent 2024-12-30 02:14:50,378 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84080043 info 2024-12-30 02:14:50,379 - INFO - Deleting VN ctest-vn-92613322 2024-12-30 02:14:50,483 - DEBUG - Response for deleting network () 2024-12-30 02:14:50,483 - DEBUG - Requesting: http://10.0.0.45:8082/routing-instance/f52a0ad3-91a3-49bb-8087-42413fa92523 2024-12-30 02:14:50,490 - DEBUG - Response Code: 404 2024-12-30 02:14:50,491 - DEBUG - Requesting: http://10.0.0.45:8082/domains 2024-12-30 02:14:50,496 - DEBUG - Requesting: http://10.0.0.45:8082/domain/9eb6c690-2dfa-4489-b11f-76c7854c1b5d 2024-12-30 02:14:50,548 - DEBUG - Requesting: http://10.0.0.45:8082/project/dd91f80c-e39e-4817-b326-e46e18eab181 2024-12-30 02:14:50,616 - INFO - Validated that VN ctest-vn-92613322 is not found in API Server 2024-12-30 02:14:50,627 - DEBUG - VN ctest-vn-92613322 is not present in Agent 10.0.0.45 2024-12-30 02:14:50,627 - INFO - Validated that VN ctest-vn-92613322 is not in any agent 2024-12-30 02:14:50,641 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92613322 info 2024-12-30 02:14:50,902 - DEBUG - No XMPP flaps were noticed during the test 2024-12-30 02:14:50,902 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-12-30 02:14:50,902 - INFO - -------------------------------------------------------------------------------- 2024-12-30 02:14:51,561 - INFO - Deleted project: ctest-TestBasicPolicy-16422970, ID : dd91f80c-e39e-4817-b326-e46e18eab181