2025-01-09 11:33:36,469 - INFO - Domain Default found not creating 2025-01-09 11:33:36,622 - INFO - Project ctest-TestBasicPolicy-13527612 not found, creating it 2025-01-09 11:33:37,129 - INFO - Created Project:ctest-TestBasicPolicy-13527612, ID : 5f51ed69-676b-4b8a-883e-1f5a41aafce5 2025-01-09 11:33:38,697 - INFO - ================================================================================ 2025-01-09 11:33:38,697 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 11:33:38,697 - 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 2025-01-09 11:33:38,951 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.8': '0'}} with 2025-01-09 11:33:38,951 - INFO - Initial checks done. Running the testcase now 2025-01-09 11:33:38,951 - INFO - 2025-01-09 11:33:39,502 - DEBUG - Response for create_network : {'network': {'id': '58214034-7206-4bd5-b532-00641ac0290c', 'name': 'ctest-vn-27270059', 'tenant_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'project_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-vn-27270059'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:33:39,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ec11fbe-7d2a-4e18-a618-d2b15c58d2a2', 'name': '', 'tenant_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'network_id': '58214034-7206-4bd5-b532-00641ac0290c', 'ip_version': 4, 'cidr': '75.126.217.64/26', 'allocation_pools': [{'start': '75.126.217.66', 'end': '75.126.217.126'}], 'gateway_ip': '75.126.217.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.126.217.66', 'tags': [], 'project_id': '5f51ed69676b4b8a883e1f5a41aafce5'}} 2025-01-09 11:33:39,673 - INFO - Created VN ctest-vn-27270059 2025-01-09 11:33:39,729 - DEBUG - VN ctest-vn-27270059 UUID is 58214034-7206-4bd5-b532-00641ac0290c 2025-01-09 11:33:40,027 - DEBUG - Response for create_network : {'network': {'id': 'e71dd5ea-a029-40c3-a511-12241ecf4372', 'name': 'ctest-vn-40204821', 'tenant_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'project_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-vn-40204821'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:33:40,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '98bfdf69-564a-4766-a848-688d986ce6b2', 'name': '', 'tenant_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'network_id': 'e71dd5ea-a029-40c3-a511-12241ecf4372', 'ip_version': 4, 'cidr': '17.12.74.64/26', 'allocation_pools': [{'start': '17.12.74.66', 'end': '17.12.74.126'}], 'gateway_ip': '17.12.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.12.74.66', 'tags': [], 'project_id': '5f51ed69676b4b8a883e1f5a41aafce5'}} 2025-01-09 11:33:40,292 - INFO - Created VN ctest-vn-40204821 2025-01-09 11:33:40,345 - DEBUG - VN ctest-vn-40204821 UUID is e71dd5ea-a029-40c3-a511-12241ecf4372 2025-01-09 11:33:40,467 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-27270059, 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-13527612:ctest-vn-40204821, 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] 2025-01-09 11:33:40,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58214034-7206-4bd5-b532-00641ac0290c', 'name': 'ctest-vn-27270059', 'tenant_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'project_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7ec11fbe-7d2a-4e18-a618-d2b15c58d2a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-vn-27270059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-policy-allow-all-55319265']], 'subnet_ipam': [{'subnet_cidr': '75.126.217.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:33:41,073 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e71dd5ea-a029-40c3-a511-12241ecf4372', 'name': 'ctest-vn-40204821', 'tenant_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'project_id': '5f51ed69676b4b8a883e1f5a41aafce5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98bfdf69-564a-4766-a848-688d986ce6b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-vn-40204821'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-policy-allow-all-55319265']], 'subnet_ipam': [{'subnet_cidr': '17.12.74.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 11:33:41,229 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-09 11:33:41,524 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-09 11:33:41,559 - DEBUG - Requesting: http://10.0.0.34:8082/domain/36f995c4-55c9-4223-baf4-f1ef310e9a29 2025-01-09 11:33:41,574 - DEBUG - Requesting: http://10.0.0.34:8082/project/5f51ed69-676b-4b8a-883e-1f5a41aafce5 2025-01-09 11:33:41,655 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/58214034-7206-4bd5-b532-00641ac0290c 2025-01-09 11:33:41,671 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/58214034-7206-4bd5-b532-00641ac0290c 2025-01-09 11:33:41,683 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/a7b1a248-30dc-48c2-8210-ffa60dc7c1e1 2025-01-09 11:33:41,692 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/a7b1a248-30dc-48c2-8210-ffa60dc7c1e1 2025-01-09 11:33:41,703 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/b074f3c6-04e0-4024-8769-e05c985e2455 2025-01-09 11:33:41,712 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 11:33:41,712 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/58214034-7206-4bd5-b532-00641ac0290c 2025-01-09 11:33:41,724 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/a7b1a248-30dc-48c2-8210-ffa60dc7c1e1 2025-01-09 11:33:41,741 - INFO - Verified VN network id 8 for VN 58214034-7206-4bd5-b532-00641ac0290c 2025-01-09 11:33:41,741 - INFO - Verifications in API Server for VN ctest-vn-27270059 passed 2025-01-09 11:33:41,742 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/58214034-7206-4bd5-b532-00641ac0290c 2025-01-09 11:33:41,754 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/a7b1a248-30dc-48c2-8210-ffa60dc7c1e1 2025-01-09 11:33:41,763 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/a7b1a248-30dc-48c2-8210-ffa60dc7c1e1 2025-01-09 11:33:41,772 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/b074f3c6-04e0-4024-8769-e05c985e2455 2025-01-09 11:33:41,787 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-27270059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13527612', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6350427543564602325', 'uuid-lslong': '13056498699646019852'}, 'enable': 'true', 'created': '2025-01-09T11:33:39', 'last-modified': '2025-01-09T11:33:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033362'} 2025-01-09 11:33:41,794 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 11:33:41,794 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27270059 passed 2025-01-09 11:33:41,794 - DEBUG - ====Verifying policy data for ctest-vn-27270059 in API_Server ====== 2025-01-09 11:33:41,794 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-09 11:33:41,801 - DEBUG - Requesting: http://10.0.0.34:8082/domain/36f995c4-55c9-4223-baf4-f1ef310e9a29 2025-01-09 11:33:41,816 - DEBUG - Requesting: http://10.0.0.34:8082/project/5f51ed69-676b-4b8a-883e-1f5a41aafce5 2025-01-09 11:33:41,896 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/58214034-7206-4bd5-b532-00641ac0290c 2025-01-09 11:33:41,909 - DEBUG - ==>Verifying data for policy with id: e7ceb0b0-3ff6-446f-be1d-0af2b1f88df2, fqn: ['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-policy-allow-all-55319265'] 2025-01-09 11:33:41,909 - INFO - VN ctest-vn-27270059 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 11:33:41,909 - DEBUG - Verifying the vn in opserver 2025-01-09 11:33:41,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-27270059 virtual network link through opserver 10.0.0.34 2025-01-09 11:33:41,910 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-09 11:33:42,207 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-09 11:33:42,277 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-27270059', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-27270059?flat'} 2025-01-09 11:33:42,277 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-27270059 is found in opserver 2025-01-09 11:33:42,289 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 11:33:42,295 - DEBUG - VRF ids for VN ctest-vn-27270059: {} 2025-01-09 11:33:42,295 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-09 11:33:42,301 - DEBUG - Requesting: http://10.0.0.34:8082/domain/36f995c4-55c9-4223-baf4-f1ef310e9a29 2025-01-09 11:33:42,314 - DEBUG - Requesting: http://10.0.0.34:8082/project/5f51ed69-676b-4b8a-883e-1f5a41aafce5 2025-01-09 11:33:42,400 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/e71dd5ea-a029-40c3-a511-12241ecf4372 2025-01-09 11:33:42,419 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/e71dd5ea-a029-40c3-a511-12241ecf4372 2025-01-09 11:33:42,431 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/bb5f2884-83e6-4db7-b0dd-bf5b1b22e55d 2025-01-09 11:33:42,440 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/bb5f2884-83e6-4db7-b0dd-bf5b1b22e55d 2025-01-09 11:33:42,448 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/ecb0c206-603e-4f3e-a1dc-2dd1871e99fe 2025-01-09 11:33:42,458 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 11:33:42,458 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/e71dd5ea-a029-40c3-a511-12241ecf4372 2025-01-09 11:33:42,473 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/bb5f2884-83e6-4db7-b0dd-bf5b1b22e55d 2025-01-09 11:33:42,493 - INFO - Verified VN network id 9 for VN e71dd5ea-a029-40c3-a511-12241ecf4372 2025-01-09 11:33:42,493 - INFO - Verifications in API Server for VN ctest-vn-40204821 passed 2025-01-09 11:33:42,493 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/e71dd5ea-a029-40c3-a511-12241ecf4372 2025-01-09 11:33:42,506 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/bb5f2884-83e6-4db7-b0dd-bf5b1b22e55d 2025-01-09 11:33:42,516 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/bb5f2884-83e6-4db7-b0dd-bf5b1b22e55d 2025-01-09 11:33:42,526 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/ecb0c206-603e-4f3e-a1dc-2dd1871e99fe 2025-01-09 11:33:42,540 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-40204821', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13527612', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16653702200772083907', 'uuid-lslong': '11894308037207212914'}, 'enable': 'true', 'created': '2025-01-09T11:33:39', 'last-modified': '2025-01-09T11:33:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.544710'} 2025-01-09 11:33:42,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 11:33:42,547 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40204821 passed 2025-01-09 11:33:42,547 - DEBUG - ====Verifying policy data for ctest-vn-40204821 in API_Server ====== 2025-01-09 11:33:42,547 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-09 11:33:42,555 - DEBUG - Requesting: http://10.0.0.34:8082/domain/36f995c4-55c9-4223-baf4-f1ef310e9a29 2025-01-09 11:33:42,573 - DEBUG - Requesting: http://10.0.0.34:8082/project/5f51ed69-676b-4b8a-883e-1f5a41aafce5 2025-01-09 11:33:42,656 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/e71dd5ea-a029-40c3-a511-12241ecf4372 2025-01-09 11:33:42,671 - DEBUG - ==>Verifying data for policy with id: e7ceb0b0-3ff6-446f-be1d-0af2b1f88df2, fqn: ['default-domain', 'ctest-TestBasicPolicy-13527612', 'ctest-policy-allow-all-55319265'] 2025-01-09 11:33:42,671 - INFO - VN ctest-vn-40204821 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 11:33:42,672 - DEBUG - Verifying the vn in opserver 2025-01-09 11:33:42,672 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-40204821 virtual network link through opserver 10.0.0.34 2025-01-09 11:33:42,672 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-09 11:33:42,684 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-40204821', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-40204821?flat'} 2025-01-09 11:33:42,684 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-40204821 is found in opserver 2025-01-09 11:33:42,695 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 11:33:42,700 - DEBUG - VRF ids for VN ctest-vn-40204821: {} 2025-01-09 11:33:42,758 - DEBUG - Services list from nova: [, , ] 2025-01-09 11:33:43,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2583-1) 2025-01-09 11:33:45,201 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2583-1) 2025-01-09 11:33:45,202 - INFO - Waiting for VM ctest-TestBasicPolicy-13527612-11490759 to be up.. 2025-01-09 11:33:45,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 11:33:50,383 - DEBUG - VM is in ACTIVE state now 2025-01-09 11:33:50,383 - INFO - VM name : ctest-TestBasicPolicy-13527612-11490759 2025-01-09 11:33:50,462 - DEBUG - VM ctest-TestBasicPolicy-13527612-11490759 ID is 67d9efc4-06ef-48a4-b168-28c05b21a7b6 2025-01-09 11:33:50,486 - DEBUG - VM ctest-TestBasicPolicy-13527612-11490759 launched on Node cn-jenkins-deploy-platform-ansible-os-2583-1 2025-01-09 11:33:50,575 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/67d9efc4-06ef-48a4-b168-28c05b21a7b6 2025-01-09 11:33:50,587 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/d5230f59-c02f-4eba-ae54-cfc3d709e11c 2025-01-09 11:33:53,859 - 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 1022ms') 2025-01-09 11:33:53,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13527612-11490759 failed! 2025-01-09 11:33:53,917 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13527612:ctest-vn-27270059 is 75.126.217.65 and allocation pool is NOT set 2025-01-09 11:33:55,983 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.525 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.525/4.398/8.271/3.873 ms') 2025-01-09 11:33:55,983 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13527612-11490759 passed 2025-01-09 11:33:56,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:33:56,145 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13527612-11490759, IP 75.126.217.67, Port 22 2025-01-09 11:33:56,317 - DEBUG - VM ctest-TestBasicPolicy-13527612-11490759 is ready for SSH connections 2025-01-09 11:33:56,318 - INFO - Waiting for VM ctest-TestBasicPolicy-13527612-24511347 to be up.. 2025-01-09 11:33:56,412 - DEBUG - VM is in ACTIVE state now 2025-01-09 11:33:56,412 - INFO - VM name : ctest-TestBasicPolicy-13527612-24511347 2025-01-09 11:33:56,515 - DEBUG - VM ctest-TestBasicPolicy-13527612-24511347 ID is 7e6f35dd-922e-4222-8ada-a7839de800ae 2025-01-09 11:33:56,515 - DEBUG - VM ctest-TestBasicPolicy-13527612-24511347 launched on Node cn-jenkins-deploy-platform-ansible-os-2583-1 2025-01-09 11:33:56,604 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/7e6f35dd-922e-4222-8ada-a7839de800ae 2025-01-09 11:33:56,616 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/803083bb-131f-402a-aa88-59cada4f0bcf 2025-01-09 11:33:57,892 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.587 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.587/1.751/2.916/1.164 ms') 2025-01-09 11:33:57,893 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13527612-24511347 passed 2025-01-09 11:33:58,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:33:58,049 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13527612-24511347, IP 17.12.74.67, Port 22 2025-01-09 11:33:58,215 - DEBUG - VM ctest-TestBasicPolicy-13527612-24511347 is ready for SSH connections 2025-01-09 11:33:58,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:33:58,215 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.12.74.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-09 11:33:58,215 - DEBUG - ping -s 56 -c 3 -W 1 17.12.74.67 2025-01-09 11:34:02,343 - DEBUG - PING 17.12.74.67 (17.12.74.67): 56 data bytes 64 bytes from 17.12.74.67: seq=0 ttl=63 time=3.331 ms 64 bytes from 17.12.74.67: seq=1 ttl=63 time=1.302 ms 64 bytes from 17.12.74.67: seq=2 ttl=63 time=1.178 ms --- 17.12.74.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.178/1.937/3.331 ms 2025-01-09 11:34:02,344 - INFO - Ping to IP 17.12.74.67 from VM ctest-TestBasicPolicy-13527612-11490759 passed 2025-01-09 11:34:02,541 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e7ceb0b0-3ff6-446f-be1d-0af2b1f88df2", "href": "http://10.0.0.34:8082/network-policy/e7ceb0b0-3ff6-446f-be1d-0af2b1f88df2"}} 2025-01-09 11:34:02,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 11:34:02,541 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 17.12.74.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-09 11:34:02,541 - DEBUG - ping -s 56 -c 3 -W 1 17.12.74.67 2025-01-09 11:34:05,749 - DEBUG - PING 17.12.74.67 (17.12.74.67): 56 data bytes --- 17.12.74.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-09 11:34:05,749 - WARNING - Ping to IP 17.12.74.67 from VM ctest-TestBasicPolicy-13527612-11490759 failed 2025-01-09 11:34:05,750 - INFO - Deleting VM ctest-TestBasicPolicy-13527612-24511347 2025-01-09 11:34:05,838 - INFO - Deleting VM ctest-TestBasicPolicy-13527612-11490759 2025-01-09 11:34:06,302 - INFO - Deleted policy ctest-policy-allow-all-55319265 2025-01-09 11:34:06,303 - INFO - Deleting VN ctest-vn-40204821 2025-01-09 11:34:06,344 - DEBUG - VN e71dd5ea-a029-40c3-a511-12241ecf4372 still in use: Unable to complete operation on network e71dd5ea-a029-40c3-a511-12241ecf4372. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b2b2adc-263c-4b70-9fad-7b23a97fb7b3'] 2025-01-09 11:34:06,344 - WARNING - Deleting VN ctest-vn-40204821 failed..Will retry 2025-01-09 11:34:08,458 - DEBUG - Response for deleting network () 2025-01-09 11:34:08,458 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/bb5f2884-83e6-4db7-b0dd-bf5b1b22e55d 2025-01-09 11:34:08,464 - DEBUG - Response Code: 404 2025-01-09 11:34:08,464 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-09 11:34:08,472 - DEBUG - Requesting: http://10.0.0.34:8082/domain/36f995c4-55c9-4223-baf4-f1ef310e9a29 2025-01-09 11:34:08,529 - DEBUG - Requesting: http://10.0.0.34:8082/project/5f51ed69-676b-4b8a-883e-1f5a41aafce5 2025-01-09 11:34:08,606 - INFO - Validated that VN ctest-vn-40204821 is not found in API Server 2025-01-09 11:34:08,619 - DEBUG - VN ctest-vn-40204821 is not present in Agent 10.0.0.34 2025-01-09 11:34:08,620 - INFO - Validated that VN ctest-vn-40204821 is not in any agent 2025-01-09 11:34:08,639 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40204821 info 2025-01-09 11:34:08,639 - INFO - Deleting VN ctest-vn-27270059 2025-01-09 11:34:08,747 - DEBUG - Response for deleting network () 2025-01-09 11:34:08,747 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/a7b1a248-30dc-48c2-8210-ffa60dc7c1e1 2025-01-09 11:34:08,754 - DEBUG - Response Code: 404 2025-01-09 11:34:08,754 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-09 11:34:08,760 - DEBUG - Requesting: http://10.0.0.34:8082/domain/36f995c4-55c9-4223-baf4-f1ef310e9a29 2025-01-09 11:34:08,816 - DEBUG - Requesting: http://10.0.0.34:8082/project/5f51ed69-676b-4b8a-883e-1f5a41aafce5 2025-01-09 11:34:08,891 - INFO - Validated that VN ctest-vn-27270059 is not found in API Server 2025-01-09 11:34:08,903 - DEBUG - VN ctest-vn-27270059 is not present in Agent 10.0.0.34 2025-01-09 11:34:08,903 - INFO - Validated that VN ctest-vn-27270059 is not in any agent 2025-01-09 11:34:08,919 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27270059 info 2025-01-09 11:34:09,176 - DEBUG - No XMPP flaps were noticed during the test 2025-01-09 11:34:09,176 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-01-09 11:34:09,176 - INFO - -------------------------------------------------------------------------------- 2025-01-09 11:34:09,862 - INFO - Deleted project: ctest-TestBasicPolicy-13527612, ID : 5f51ed69-676b-4b8a-883e-1f5a41aafce5