2025-07-28 02:23:50,571 - INFO - Domain Default found not creating 2025-07-28 02:23:50,726 - INFO - Project ctest-TestBasicPolicy-88346951 not found, creating it 2025-07-28 02:23:51,181 - INFO - Created Project:ctest-TestBasicPolicy-88346951, ID : 46e4f88c-5308-4cfc-acd2-75fc1c3a7a52 2025-07-28 02:23:52,621 - INFO - ================================================================================ 2025-07-28 02:23:52,622 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-28 02:23:52,622 - 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-07-28 02:23:52,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.14': '0'}} with 2025-07-28 02:23:52,888 - INFO - Initial checks done. Running the testcase now 2025-07-28 02:23:52,888 - INFO - 2025-07-28 02:23:53,438 - DEBUG - Response for create_network : {'network': {'id': 'd5aaf57f-c36c-4333-b770-c4e8a4968e49', 'name': 'ctest-vn-67011054', 'tenant_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'project_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-vn-67011054'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:53,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '4bb9540c-4200-4e7d-8c05-9ce07b80b71d', 'name': '', 'tenant_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'network_id': 'd5aaf57f-c36c-4333-b770-c4e8a4968e49', 'ip_version': 4, 'cidr': '5.164.18.64/26', 'allocation_pools': [{'start': '5.164.18.66', 'end': '5.164.18.126'}], 'gateway_ip': '5.164.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.164.18.66', 'tags': [], 'project_id': '46e4f88c53084cfcacd275fc1c3a7a52'}} 2025-07-28 02:23:53,686 - INFO - Created VN ctest-vn-67011054 2025-07-28 02:23:53,740 - DEBUG - VN ctest-vn-67011054 UUID is d5aaf57f-c36c-4333-b770-c4e8a4968e49 2025-07-28 02:23:54,054 - DEBUG - Response for create_network : {'network': {'id': '371d28e1-1fc0-41cb-a293-bcdd5bd6754d', 'name': 'ctest-vn-03620113', 'tenant_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'project_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-vn-03620113'], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:54,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa7531b1-f304-4078-b6aa-1514c096dca7', 'name': '', 'tenant_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'network_id': '371d28e1-1fc0-41cb-a293-bcdd5bd6754d', 'ip_version': 4, 'cidr': '196.115.228.64/26', 'allocation_pools': [{'start': '196.115.228.66', 'end': '196.115.228.126'}], 'gateway_ip': '196.115.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.115.228.66', 'tags': [], 'project_id': '46e4f88c53084cfcacd275fc1c3a7a52'}} 2025-07-28 02:23:54,282 - INFO - Created VN ctest-vn-03620113 2025-07-28 02:23:54,336 - DEBUG - VN ctest-vn-03620113 UUID is 371d28e1-1fc0-41cb-a293-bcdd5bd6754d 2025-07-28 02:23:54,457 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-67011054, 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-88346951:ctest-vn-03620113, 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-07-28 02:23:54,774 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd5aaf57f-c36c-4333-b770-c4e8a4968e49', 'name': 'ctest-vn-67011054', 'tenant_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'project_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4bb9540c-4200-4e7d-8c05-9ce07b80b71d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-vn-67011054'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-policy-allow-all-10822009']], 'subnet_ipam': [{'subnet_cidr': '5.164.18.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:55,038 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '371d28e1-1fc0-41cb-a293-bcdd5bd6754d', 'name': 'ctest-vn-03620113', 'tenant_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'project_id': '46e4f88c53084cfcacd275fc1c3a7a52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa7531b1-f304-4078-b6aa-1514c096dca7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-vn-03620113'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-policy-allow-all-10822009']], 'subnet_ipam': [{'subnet_cidr': '196.115.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-28 02:23:55,200 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-28 02:23:55,508 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-28 02:23:55,538 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d06f6505-035f-4bb2-97be-dfdf8405bca5 2025-07-28 02:23:55,552 - DEBUG - Requesting: http://10.0.0.41:8082/project/46e4f88c-5308-4cfc-acd2-75fc1c3a7a52 2025-07-28 02:23:55,623 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d5aaf57f-c36c-4333-b770-c4e8a4968e49 2025-07-28 02:23:55,636 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d5aaf57f-c36c-4333-b770-c4e8a4968e49 2025-07-28 02:23:55,647 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07d041bb-7a76-4a7a-b9ac-20f949f571c1 2025-07-28 02:23:55,656 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07d041bb-7a76-4a7a-b9ac-20f949f571c1 2025-07-28 02:23:55,665 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/45115fd3-825b-49f4-8f1f-1f11d03cee1f 2025-07-28 02:23:55,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-28 02:23:55,674 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d5aaf57f-c36c-4333-b770-c4e8a4968e49 2025-07-28 02:23:55,686 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07d041bb-7a76-4a7a-b9ac-20f949f571c1 2025-07-28 02:23:55,703 - INFO - Verified VN network id 11 for VN d5aaf57f-c36c-4333-b770-c4e8a4968e49 2025-07-28 02:23:55,703 - INFO - Verifications in API Server for VN ctest-vn-67011054 passed 2025-07-28 02:23:55,703 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d5aaf57f-c36c-4333-b770-c4e8a4968e49 2025-07-28 02:23:55,715 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07d041bb-7a76-4a7a-b9ac-20f949f571c1 2025-07-28 02:23:55,724 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07d041bb-7a76-4a7a-b9ac-20f949f571c1 2025-07-28 02:23:55,732 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/45115fd3-825b-49f4-8f1f-1f11d03cee1f 2025-07-28 02:23:55,748 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-67011054', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88346951', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15396388205207765811', 'uuid-lslong': '13218281409805192777'}, 'enable': 'true', 'created': '2025-07-28T02:23:53', 'last-modified': '2025-07-28T02:23:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997839'} 2025-07-28 02:23:55,755 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-28 02:23:55,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67011054 passed 2025-07-28 02:23:55,756 - DEBUG - ====Verifying policy data for ctest-vn-67011054 in API_Server ====== 2025-07-28 02:23:55,756 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-28 02:23:55,763 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d06f6505-035f-4bb2-97be-dfdf8405bca5 2025-07-28 02:23:55,776 - DEBUG - Requesting: http://10.0.0.41:8082/project/46e4f88c-5308-4cfc-acd2-75fc1c3a7a52 2025-07-28 02:23:55,849 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/d5aaf57f-c36c-4333-b770-c4e8a4968e49 2025-07-28 02:23:55,860 - DEBUG - ==>Verifying data for policy with id: 1b40b249-8ab1-4fa4-a8ff-5b44f45cb33a, fqn: ['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-policy-allow-all-10822009'] 2025-07-28 02:23:55,860 - INFO - VN ctest-vn-67011054 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-28 02:23:55,861 - DEBUG - Verifying the vn in opserver 2025-07-28 02:23:55,861 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-67011054 virtual network link through opserver 10.0.0.41 2025-07-28 02:23:55,861 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-07-28 02:23:56,164 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-07-28 02:23:56,229 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-67011054', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-67011054?flat'} 2025-07-28 02:23:56,229 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-67011054 is found in opserver 2025-07-28 02:23:56,242 - DEBUG - Do not have enough data to verify VN in agent 2025-07-28 02:23:56,247 - DEBUG - VRF ids for VN ctest-vn-67011054: {} 2025-07-28 02:23:56,247 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-28 02:23:56,256 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d06f6505-035f-4bb2-97be-dfdf8405bca5 2025-07-28 02:23:56,271 - DEBUG - Requesting: http://10.0.0.41:8082/project/46e4f88c-5308-4cfc-acd2-75fc1c3a7a52 2025-07-28 02:23:56,346 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/371d28e1-1fc0-41cb-a293-bcdd5bd6754d 2025-07-28 02:23:56,362 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/371d28e1-1fc0-41cb-a293-bcdd5bd6754d 2025-07-28 02:23:56,373 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a13d962d-798d-45b2-8d96-490c66ec402c 2025-07-28 02:23:56,382 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a13d962d-798d-45b2-8d96-490c66ec402c 2025-07-28 02:23:56,390 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/98a1dd6c-5b5e-469d-9769-20e83055b758 2025-07-28 02:23:56,399 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-28 02:23:56,399 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/371d28e1-1fc0-41cb-a293-bcdd5bd6754d 2025-07-28 02:23:56,410 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a13d962d-798d-45b2-8d96-490c66ec402c 2025-07-28 02:23:56,426 - INFO - Verified VN network id 12 for VN 371d28e1-1fc0-41cb-a293-bcdd5bd6754d 2025-07-28 02:23:56,426 - INFO - Verifications in API Server for VN ctest-vn-03620113 passed 2025-07-28 02:23:56,427 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/371d28e1-1fc0-41cb-a293-bcdd5bd6754d 2025-07-28 02:23:56,438 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a13d962d-798d-45b2-8d96-490c66ec402c 2025-07-28 02:23:56,447 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a13d962d-798d-45b2-8d96-490c66ec402c 2025-07-28 02:23:56,455 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/98a1dd6c-5b5e-469d-9769-20e83055b758 2025-07-28 02:23:56,469 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-03620113', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88346951', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3971375393776091595', 'uuid-lslong': '11714914714635367757'}, 'enable': 'true', 'created': '2025-07-28T02:23:54', 'last-modified': '2025-07-28T02:23:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.454312'} 2025-07-28 02:23:56,476 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-28 02:23:56,476 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03620113 passed 2025-07-28 02:23:56,476 - DEBUG - ====Verifying policy data for ctest-vn-03620113 in API_Server ====== 2025-07-28 02:23:56,477 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-28 02:23:56,484 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d06f6505-035f-4bb2-97be-dfdf8405bca5 2025-07-28 02:23:56,497 - DEBUG - Requesting: http://10.0.0.41:8082/project/46e4f88c-5308-4cfc-acd2-75fc1c3a7a52 2025-07-28 02:23:56,578 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/371d28e1-1fc0-41cb-a293-bcdd5bd6754d 2025-07-28 02:23:56,590 - DEBUG - ==>Verifying data for policy with id: 1b40b249-8ab1-4fa4-a8ff-5b44f45cb33a, fqn: ['default-domain', 'ctest-TestBasicPolicy-88346951', 'ctest-policy-allow-all-10822009'] 2025-07-28 02:23:56,590 - INFO - VN ctest-vn-03620113 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-28 02:23:56,590 - DEBUG - Verifying the vn in opserver 2025-07-28 02:23:56,590 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-03620113 virtual network link through opserver 10.0.0.41 2025-07-28 02:23:56,590 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-07-28 02:23:56,602 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-03620113', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-03620113?flat'} 2025-07-28 02:23:56,602 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-03620113 is found in opserver 2025-07-28 02:23:56,613 - DEBUG - Do not have enough data to verify VN in agent 2025-07-28 02:23:56,620 - DEBUG - VRF ids for VN ctest-vn-03620113: {} 2025-07-28 02:23:56,681 - DEBUG - Services list from nova: [, , ] 2025-07-28 02:23:57,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1) 2025-07-28 02:23:58,872 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3718-1) 2025-07-28 02:23:58,872 - INFO - Waiting for VM ctest-TestBasicPolicy-88346951-63084034 to be up.. 2025-07-28 02:23:58,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-28 02:24:04,056 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:24:04,057 - INFO - VM name : ctest-TestBasicPolicy-88346951-63084034 2025-07-28 02:24:04,145 - DEBUG - VM ctest-TestBasicPolicy-88346951-63084034 ID is 72df8313-805a-4dd1-8618-56075ef5891d 2025-07-28 02:24:04,169 - DEBUG - VM ctest-TestBasicPolicy-88346951-63084034 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1 2025-07-28 02:24:04,255 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/72df8313-805a-4dd1-8618-56075ef5891d 2025-07-28 02:24:04,266 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/00dba323-b4a0-4596-99c9-11ee9a498488 2025-07-28 02:24:07,524 - 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 1011ms') 2025-07-28 02:24:07,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88346951-63084034 failed! 2025-07-28 02:24:07,580 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88346951:ctest-vn-67011054 is 5.164.18.65 and allocation pool is NOT set 2025-07-28 02:24:09,639 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.364 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.364/5.190/10.017/4.826 ms') 2025-07-28 02:24:09,639 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88346951-63084034 passed 2025-07-28 02:24:09,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:24:09,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88346951-63084034, IP 5.164.18.67, Port 22 2025-07-28 02:24:09,956 - DEBUG - VM ctest-TestBasicPolicy-88346951-63084034 is ready for SSH connections 2025-07-28 02:24:09,956 - INFO - Waiting for VM ctest-TestBasicPolicy-88346951-68021523 to be up.. 2025-07-28 02:24:10,038 - DEBUG - VM is in ACTIVE state now 2025-07-28 02:24:10,039 - INFO - VM name : ctest-TestBasicPolicy-88346951-68021523 2025-07-28 02:24:10,119 - DEBUG - VM ctest-TestBasicPolicy-88346951-68021523 ID is 74ae17db-491a-4006-a4fe-88611fde1876 2025-07-28 02:24:10,119 - DEBUG - VM ctest-TestBasicPolicy-88346951-68021523 launched on Node cn-jenkins-deploy-platform-ansible-os-3718-1 2025-07-28 02:24:10,196 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/74ae17db-491a-4006-a4fe-88611fde1876 2025-07-28 02:24:10,206 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/7f0898f7-5ebf-4f3d-b00c-43f00112c244 2025-07-28 02:24:11,446 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.810/3.135/1.324 ms') 2025-07-28 02:24:11,446 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88346951-68021523 passed 2025-07-28 02:24:11,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:24:11,596 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88346951-68021523, IP 196.115.228.67, Port 22 2025-07-28 02:24:11,763 - DEBUG - VM ctest-TestBasicPolicy-88346951-68021523 is ready for SSH connections 2025-07-28 02:24:11,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:24:11,764 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.115.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:24:11,764 - DEBUG - ping -s 56 -c 3 -W 1 196.115.228.67 2025-07-28 02:24:15,804 - DEBUG - PING 196.115.228.67 (196.115.228.67): 56 data bytes 64 bytes from 196.115.228.67: seq=0 ttl=63 time=3.714 ms 64 bytes from 196.115.228.67: seq=1 ttl=63 time=1.351 ms 64 bytes from 196.115.228.67: seq=2 ttl=63 time=0.995 ms --- 196.115.228.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.995/2.020/3.714 ms 2025-07-28 02:24:15,804 - INFO - Ping to IP 196.115.228.67 from VM ctest-TestBasicPolicy-88346951-63084034 passed 2025-07-28 02:24:15,984 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1b40b249-8ab1-4fa4-a8ff-5b44f45cb33a", "href": "http://10.0.0.41:8082/network-policy/1b40b249-8ab1-4fa4-a8ff-5b44f45cb33a"}} 2025-07-28 02:24:15,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-28 02:24:15,984 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.115.228.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-07-28 02:24:15,984 - DEBUG - ping -s 56 -c 3 -W 1 196.115.228.67 2025-07-28 02:24:19,202 - DEBUG - PING 196.115.228.67 (196.115.228.67): 56 data bytes --- 196.115.228.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-28 02:24:19,202 - WARNING - Ping to IP 196.115.228.67 from VM ctest-TestBasicPolicy-88346951-63084034 failed 2025-07-28 02:24:19,202 - INFO - Deleting VM ctest-TestBasicPolicy-88346951-68021523 2025-07-28 02:24:19,274 - INFO - Deleting VM ctest-TestBasicPolicy-88346951-63084034 2025-07-28 02:24:19,690 - INFO - Deleted policy ctest-policy-allow-all-10822009 2025-07-28 02:24:19,691 - INFO - Deleting VN ctest-vn-03620113 2025-07-28 02:24:19,730 - DEBUG - VN 371d28e1-1fc0-41cb-a293-bcdd5bd6754d still in use: Unable to complete operation on network 371d28e1-1fc0-41cb-a293-bcdd5bd6754d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-398a9cc8-ec37-4e98-9f08-c4f9812767ce'] 2025-07-28 02:24:19,731 - WARNING - Deleting VN ctest-vn-03620113 failed..Will retry 2025-07-28 02:24:21,850 - DEBUG - Response for deleting network () 2025-07-28 02:24:21,850 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a13d962d-798d-45b2-8d96-490c66ec402c 2025-07-28 02:24:21,856 - DEBUG - Response Code: 404 2025-07-28 02:24:21,856 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-28 02:24:21,864 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d06f6505-035f-4bb2-97be-dfdf8405bca5 2025-07-28 02:24:21,919 - DEBUG - Requesting: http://10.0.0.41:8082/project/46e4f88c-5308-4cfc-acd2-75fc1c3a7a52 2025-07-28 02:24:21,997 - INFO - Validated that VN ctest-vn-03620113 is not found in API Server 2025-07-28 02:24:22,010 - DEBUG - VN ctest-vn-03620113 is not present in Agent 10.0.0.41 2025-07-28 02:24:22,010 - INFO - Validated that VN ctest-vn-03620113 is not in any agent 2025-07-28 02:24:22,029 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03620113 info 2025-07-28 02:24:22,029 - INFO - Deleting VN ctest-vn-67011054 2025-07-28 02:24:22,145 - DEBUG - Response for deleting network () 2025-07-28 02:24:22,145 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/07d041bb-7a76-4a7a-b9ac-20f949f571c1 2025-07-28 02:24:22,152 - DEBUG - Response Code: 404 2025-07-28 02:24:22,152 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-07-28 02:24:22,159 - DEBUG - Requesting: http://10.0.0.41:8082/domain/d06f6505-035f-4bb2-97be-dfdf8405bca5 2025-07-28 02:24:22,214 - DEBUG - Requesting: http://10.0.0.41:8082/project/46e4f88c-5308-4cfc-acd2-75fc1c3a7a52 2025-07-28 02:24:22,294 - INFO - Validated that VN ctest-vn-67011054 is not found in API Server 2025-07-28 02:24:22,307 - DEBUG - VN ctest-vn-67011054 is not present in Agent 10.0.0.41 2025-07-28 02:24:22,307 - INFO - Validated that VN ctest-vn-67011054 is not in any agent 2025-07-28 02:24:22,325 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67011054 info 2025-07-28 02:24:22,584 - DEBUG - No XMPP flaps were noticed during the test 2025-07-28 02:24:22,584 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-28 02:24:22,584 - INFO - -------------------------------------------------------------------------------- 2025-07-28 02:24:23,294 - INFO - Deleted project: ctest-TestBasicPolicy-88346951, ID : 46e4f88c-5308-4cfc-acd2-75fc1c3a7a52