2025-10-28 21:30:08,506 - INFO - Domain Default found not creating 2025-10-28 21:30:08,651 - INFO - Project ctest-TestBasicPolicy-31173266 not found, creating it 2025-10-28 21:30:09,084 - INFO - Created Project:ctest-TestBasicPolicy-31173266, ID : 801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 2025-10-28 21:30:10,467 - INFO - ================================================================================ 2025-10-28 21:30:10,467 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-28 21:30:10,467 - 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-10-28 21:30:10,722 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-28 21:30:10,722 - INFO - Initial checks done. Running the testcase now 2025-10-28 21:30:10,722 - INFO - 2025-10-28 21:30:11,250 - DEBUG - Response for create_network : {'network': {'id': '90665ad4-8400-436c-809b-3109349190fa', 'name': 'ctest-vn-44357318', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-44357318'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:30:11,435 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c089277d-5864-4879-adc0-84427985de05', 'name': '', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'network_id': '90665ad4-8400-436c-809b-3109349190fa', 'ip_version': 4, 'cidr': '136.192.192.128/26', 'allocation_pools': [{'start': '136.192.192.130', 'end': '136.192.192.190'}], 'gateway_ip': '136.192.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.192.192.130', 'tags': [], 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8'}} 2025-10-28 21:30:11,452 - INFO - Created VN ctest-vn-44357318 2025-10-28 21:30:11,504 - DEBUG - VN ctest-vn-44357318 UUID is 90665ad4-8400-436c-809b-3109349190fa 2025-10-28 21:30:11,817 - DEBUG - Response for create_network : {'network': {'id': '7077ddcd-c236-473f-9da1-457f29fe3113', 'name': 'ctest-vn-40182584', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-40182584'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:30:12,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3c2b62d-fe46-496f-85b3-f22bc5a1f284', 'name': '', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'network_id': '7077ddcd-c236-473f-9da1-457f29fe3113', 'ip_version': 4, 'cidr': '58.0.118.192/26', 'allocation_pools': [{'start': '58.0.118.194', 'end': '58.0.118.254'}], 'gateway_ip': '58.0.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.0.118.194', 'tags': [], 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8'}} 2025-10-28 21:30:12,027 - INFO - Created VN ctest-vn-40182584 2025-10-28 21:30:12,080 - DEBUG - VN ctest-vn-40182584 UUID is 7077ddcd-c236-473f-9da1-457f29fe3113 2025-10-28 21:30:12,193 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318, 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-31173266:ctest-vn-40182584, 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-10-28 21:30:12,482 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90665ad4-8400-436c-809b-3109349190fa', 'name': 'ctest-vn-44357318', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c089277d-5864-4879-adc0-84427985de05'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-44357318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372']], 'subnet_ipam': [{'subnet_cidr': '136.192.192.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:30:12,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7077ddcd-c236-473f-9da1-457f29fe3113', 'name': 'ctest-vn-40182584', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3c2b62d-fe46-496f-85b3-f22bc5a1f284'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-40182584'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372']], 'subnet_ipam': [{'subnet_cidr': '58.0.118.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 21:30:12,868 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-28 21:30:13,159 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-28 21:30:13,196 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26 2025-10-28 21:30:13,206 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 2025-10-28 21:30:13,275 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa 2025-10-28 21:30:13,285 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa 2025-10-28 21:30:13,294 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73 2025-10-28 21:30:13,301 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73 2025-10-28 21:30:13,309 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96c6d5f3-e78f-42ef-8fce-fcdb35cddd9a 2025-10-28 21:30:13,315 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:30:13,315 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa 2025-10-28 21:30:13,323 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73 2025-10-28 21:30:13,336 - INFO - Verified VN network id 11 for VN 90665ad4-8400-436c-809b-3109349190fa 2025-10-28 21:30:13,337 - INFO - Verifications in API Server for VN ctest-vn-44357318 passed 2025-10-28 21:30:13,337 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa 2025-10-28 21:30:13,344 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73 2025-10-28 21:30:13,351 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73 2025-10-28 21:30:13,357 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96c6d5f3-e78f-42ef-8fce-fcdb35cddd9a 2025-10-28 21:30:13,368 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31173266', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10405103857880286060', 'uuid-lslong': '9267054573851349242'}, 'enable': 'true', 'created': '2025-10-28T21:30:11', 'last-modified': '2025-10-28T21:30:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905196'} 2025-10-28 21:30:13,374 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 21:30:13,374 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44357318 passed 2025-10-28 21:30:13,375 - DEBUG - ====Verifying policy data for ctest-vn-44357318 in API_Server ====== 2025-10-28 21:30:13,375 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-28 21:30:13,380 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26 2025-10-28 21:30:13,390 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 2025-10-28 21:30:13,459 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa 2025-10-28 21:30:13,467 - DEBUG - ==>Verifying data for policy with id: d8a39bad-71bb-4776-a78d-eb0fcbb2e47f, fqn: ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372'] 2025-10-28 21:30:13,467 - INFO - VN ctest-vn-44357318 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:30:13,468 - DEBUG - Verifying the vn in opserver 2025-10-28 21:30:13,468 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318 virtual network link through opserver 10.0.0.249 2025-10-28 21:30:13,468 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-28 21:30:13,757 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-28 21:30:13,812 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318?flat'} 2025-10-28 21:30:13,812 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318 is found in opserver 2025-10-28 21:30:13,821 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:30:13,825 - DEBUG - VRF ids for VN ctest-vn-44357318: {} 2025-10-28 21:30:13,825 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-28 21:30:13,830 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26 2025-10-28 21:30:13,840 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 2025-10-28 21:30:13,908 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113 2025-10-28 21:30:13,919 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113 2025-10-28 21:30:13,927 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec 2025-10-28 21:30:13,934 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec 2025-10-28 21:30:13,940 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/033f275c-7f41-4f17-b4fa-0cef65302fe7 2025-10-28 21:30:13,946 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:30:13,946 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113 2025-10-28 21:30:13,966 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec 2025-10-28 21:30:13,982 - INFO - Verified VN network id 12 for VN 7077ddcd-c236-473f-9da1-457f29fe3113 2025-10-28 21:30:13,982 - INFO - Verifications in API Server for VN ctest-vn-40182584 passed 2025-10-28 21:30:13,982 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113 2025-10-28 21:30:13,991 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec 2025-10-28 21:30:13,997 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec 2025-10-28 21:30:14,003 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/033f275c-7f41-4f17-b4fa-0cef65302fe7 2025-10-28 21:30:14,015 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31173266', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8104189930272868159', 'uuid-lslong': '11358436147672789267'}, 'enable': 'true', 'created': '2025-10-28T21:30:11', 'last-modified': '2025-10-28T21:30:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.330705'} 2025-10-28 21:30:14,021 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 21:30:14,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40182584 passed 2025-10-28 21:30:14,022 - DEBUG - ====Verifying policy data for ctest-vn-40182584 in API_Server ====== 2025-10-28 21:30:14,022 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-28 21:30:14,027 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26 2025-10-28 21:30:14,037 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 2025-10-28 21:30:14,106 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113 2025-10-28 21:30:14,114 - DEBUG - ==>Verifying data for policy with id: d8a39bad-71bb-4776-a78d-eb0fcbb2e47f, fqn: ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372'] 2025-10-28 21:30:14,114 - INFO - VN ctest-vn-40182584 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 21:30:14,114 - DEBUG - Verifying the vn in opserver 2025-10-28 21:30:14,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584 virtual network link through opserver 10.0.0.249 2025-10-28 21:30:14,115 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-28 21:30:14,124 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584?flat'} 2025-10-28 21:30:14,124 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584 is found in opserver 2025-10-28 21:30:14,132 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 21:30:14,137 - DEBUG - VRF ids for VN ctest-vn-40182584: {} 2025-10-28 21:30:14,192 - DEBUG - Services list from nova: [, , ] 2025-10-28 21:30:15,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:30:16,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4517-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4517-1) 2025-10-28 21:30:16,408 - INFO - Waiting for VM ctest-TestBasicPolicy-31173266-92740886 to be up.. 2025-10-28 21:30:16,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 21:30:21,581 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:30:21,581 - INFO - VM name : ctest-TestBasicPolicy-31173266-92740886 2025-10-28 21:30:21,667 - DEBUG - VM ctest-TestBasicPolicy-31173266-92740886 ID is 21d40120-c6c9-4a1a-9f89-7a5401436246 2025-10-28 21:30:21,688 - DEBUG - VM ctest-TestBasicPolicy-31173266-92740886 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:30:21,766 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/21d40120-c6c9-4a1a-9f89-7a5401436246 2025-10-28 21:30:21,774 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d8aadaf0-1e4b-45f0-9419-8e1576cae39b 2025-10-28 21:30:25,016 - 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 1002ms') 2025-10-28 21:30:25,016 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31173266-92740886 failed! 2025-10-28 21:30:25,068 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318 is 136.192.192.129 and allocation pool is NOT set 2025-10-28 21:30:27,125 - 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=3.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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.605/1.836/3.067/1.231 ms') 2025-10-28 21:30:27,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-31173266-92740886 passed 2025-10-28 21:30:27,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:30:27,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31173266-92740886, IP 136.192.192.131, Port 22 2025-10-28 21:30:27,432 - DEBUG - VM ctest-TestBasicPolicy-31173266-92740886 is ready for SSH connections 2025-10-28 21:30:27,432 - INFO - Waiting for VM ctest-TestBasicPolicy-31173266-69353128 to be up.. 2025-10-28 21:30:27,508 - DEBUG - VM is in ACTIVE state now 2025-10-28 21:30:27,508 - INFO - VM name : ctest-TestBasicPolicy-31173266-69353128 2025-10-28 21:30:27,588 - DEBUG - VM ctest-TestBasicPolicy-31173266-69353128 ID is b93ceb72-6f91-4c7e-9e98-623da75de7cc 2025-10-28 21:30:27,588 - DEBUG - VM ctest-TestBasicPolicy-31173266-69353128 launched on Node cn-jenkins-deploy-platform-ansible-os-4517-1 2025-10-28 21:30:27,663 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/b93ceb72-6f91-4c7e-9e98-623da75de7cc 2025-10-28 21:30:27,672 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f466e778-76a1-4beb-acb8-f4ba6a3d0880 2025-10-28 21:30:28,905 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.619 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.619/1.716/2.814/1.097 ms') 2025-10-28 21:30:28,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-31173266-69353128 passed 2025-10-28 21:30:29,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:30:29,057 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-31173266-69353128, IP 58.0.118.195, Port 22 2025-10-28 21:30:29,212 - DEBUG - VM ctest-TestBasicPolicy-31173266-69353128 is ready for SSH connections 2025-10-28 21:30:29,213 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:30:29,213 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.0.118.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:30:29,213 - DEBUG - ping -s 56 -c 3 -W 1 58.0.118.195 2025-10-28 21:30:33,227 - DEBUG - PING 58.0.118.195 (58.0.118.195): 56 data bytes 64 bytes from 58.0.118.195: seq=0 ttl=63 time=3.472 ms 64 bytes from 58.0.118.195: seq=1 ttl=63 time=0.978 ms 64 bytes from 58.0.118.195: seq=2 ttl=63 time=0.823 ms --- 58.0.118.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.757/3.472 ms 2025-10-28 21:30:33,227 - INFO - Ping to IP 58.0.118.195 from VM ctest-TestBasicPolicy-31173266-92740886 passed 2025-10-28 21:30:33,400 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d8a39bad-71bb-4776-a78d-eb0fcbb2e47f", "href": "http://10.0.0.249:8082/network-policy/d8a39bad-71bb-4776-a78d-eb0fcbb2e47f"}} 2025-10-28 21:30:33,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 21:30:33,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.0.118.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-28 21:30:33,401 - DEBUG - ping -s 56 -c 3 -W 1 58.0.118.195 2025-10-28 21:30:36,606 - DEBUG - PING 58.0.118.195 (58.0.118.195): 56 data bytes --- 58.0.118.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 21:30:36,606 - WARNING - Ping to IP 58.0.118.195 from VM ctest-TestBasicPolicy-31173266-92740886 failed 2025-10-28 21:30:36,606 - INFO - Deleting VM ctest-TestBasicPolicy-31173266-69353128 2025-10-28 21:30:36,681 - INFO - Deleting VM ctest-TestBasicPolicy-31173266-92740886 2025-10-28 21:30:37,045 - INFO - Deleted policy ctest-policy-allow-all-53448372 2025-10-28 21:30:37,046 - INFO - Deleting VN ctest-vn-40182584 2025-10-28 21:30:37,088 - DEBUG - VN 7077ddcd-c236-473f-9da1-457f29fe3113 still in use: Unable to complete operation on network 7077ddcd-c236-473f-9da1-457f29fe3113. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ac4a493-5789-456c-bc21-ba52ef9c59a1'] 2025-10-28 21:30:37,088 - WARNING - Deleting VN ctest-vn-40182584 failed..Will retry 2025-10-28 21:30:39,191 - DEBUG - Response for deleting network () 2025-10-28 21:30:39,191 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec 2025-10-28 21:30:39,197 - DEBUG - Response Code: 404 2025-10-28 21:30:39,197 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-28 21:30:39,206 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26 2025-10-28 21:30:39,261 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 2025-10-28 21:30:39,326 - INFO - Validated that VN ctest-vn-40182584 is not found in API Server 2025-10-28 21:30:39,336 - DEBUG - VN ctest-vn-40182584 is not present in Agent 10.0.0.249 2025-10-28 21:30:39,336 - INFO - Validated that VN ctest-vn-40182584 is not in any agent 2025-10-28 21:30:39,350 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40182584 info 2025-10-28 21:30:39,351 - INFO - Deleting VN ctest-vn-44357318 2025-10-28 21:30:39,446 - DEBUG - Response for deleting network () 2025-10-28 21:30:39,446 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73 2025-10-28 21:30:39,451 - DEBUG - Response Code: 404 2025-10-28 21:30:39,451 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-28 21:30:39,459 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26 2025-10-28 21:30:39,514 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 2025-10-28 21:30:39,589 - INFO - Validated that VN ctest-vn-44357318 is not found in API Server 2025-10-28 21:30:39,597 - DEBUG - VN ctest-vn-44357318 is not present in Agent 10.0.0.249 2025-10-28 21:30:39,597 - INFO - Validated that VN ctest-vn-44357318 is not in any agent 2025-10-28 21:30:39,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44357318 info 2025-10-28 21:30:39,865 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 21:30:39,865 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-28 21:30:39,865 - INFO - -------------------------------------------------------------------------------- 2025-10-28 21:30:40,548 - INFO - Deleted project: ctest-TestBasicPolicy-31173266, ID : 801265e4-d177-4e8e-bfa6-ecfa70dc1cf8