2025-08-07 19:58:52,872 - INFO - Domain Default found not creating 2025-08-07 19:58:53,011 - INFO - Project ctest-TestBasicPolicy-33531304 not found, creating it 2025-08-07 19:58:53,451 - INFO - Created Project:ctest-TestBasicPolicy-33531304, ID : 13135498-cfb5-4cdc-a98b-e62c6c8929c3 2025-08-07 19:58:54,963 - INFO - ================================================================================ 2025-08-07 19:58:54,963 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-07 19:58:54,963 - 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-08-07 19:58:55,225 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-07 19:58:55,225 - INFO - Initial checks done. Running the testcase now 2025-08-07 19:58:55,226 - INFO - 2025-08-07 19:58:55,818 - DEBUG - Response for create_network : {'network': {'id': '03d42206-35c9-4cd1-8b83-556143ce48d1', 'name': 'ctest-vn-21355890', 'tenant_id': '13135498cfb54cdca98be62c6c8929c3', 'project_id': '13135498cfb54cdca98be62c6c8929c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-vn-21355890'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:58:55,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '49f329b2-9e54-422b-bc73-1779fd861317', 'name': '', 'tenant_id': '13135498cfb54cdca98be62c6c8929c3', 'network_id': '03d42206-35c9-4cd1-8b83-556143ce48d1', 'ip_version': 4, 'cidr': '51.116.95.192/26', 'allocation_pools': [{'start': '51.116.95.194', 'end': '51.116.95.254'}], 'gateway_ip': '51.116.95.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.116.95.194', 'tags': [], 'project_id': '13135498cfb54cdca98be62c6c8929c3'}} 2025-08-07 19:58:56,005 - INFO - Created VN ctest-vn-21355890 2025-08-07 19:58:56,059 - DEBUG - VN ctest-vn-21355890 UUID is 03d42206-35c9-4cd1-8b83-556143ce48d1 2025-08-07 19:58:56,382 - DEBUG - Response for create_network : {'network': {'id': '426058b0-a63d-48e2-b674-cfabf389ed7a', 'name': 'ctest-vn-59422482', 'tenant_id': '13135498cfb54cdca98be62c6c8929c3', 'project_id': '13135498cfb54cdca98be62c6c8929c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-vn-59422482'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:58:56,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '521d86c8-ac14-4efc-ad95-57ffbfe2a958', 'name': '', 'tenant_id': '13135498cfb54cdca98be62c6c8929c3', 'network_id': '426058b0-a63d-48e2-b674-cfabf389ed7a', 'ip_version': 4, 'cidr': '65.193.30.128/26', 'allocation_pools': [{'start': '65.193.30.130', 'end': '65.193.30.190'}], 'gateway_ip': '65.193.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.193.30.130', 'tags': [], 'project_id': '13135498cfb54cdca98be62c6c8929c3'}} 2025-08-07 19:58:56,624 - INFO - Created VN ctest-vn-59422482 2025-08-07 19:58:56,675 - DEBUG - VN ctest-vn-59422482 UUID is 426058b0-a63d-48e2-b674-cfabf389ed7a 2025-08-07 19:58:56,827 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-21355890, 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-33531304:ctest-vn-59422482, 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-08-07 19:58:57,149 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03d42206-35c9-4cd1-8b83-556143ce48d1', 'name': 'ctest-vn-21355890', 'tenant_id': '13135498cfb54cdca98be62c6c8929c3', 'project_id': '13135498cfb54cdca98be62c6c8929c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49f329b2-9e54-422b-bc73-1779fd861317'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-vn-21355890'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-policy-allow-all-62465056']], 'subnet_ipam': [{'subnet_cidr': '51.116.95.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:58:57,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '426058b0-a63d-48e2-b674-cfabf389ed7a', 'name': 'ctest-vn-59422482', 'tenant_id': '13135498cfb54cdca98be62c6c8929c3', 'project_id': '13135498cfb54cdca98be62c6c8929c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['521d86c8-ac14-4efc-ad95-57ffbfe2a958'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-vn-59422482'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-policy-allow-all-62465056']], 'subnet_ipam': [{'subnet_cidr': '65.193.30.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-07 19:58:57,540 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 19:58:57,878 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 19:58:57,906 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30f13e49-abae-4263-a3be-edece9f49f35 2025-08-07 19:58:57,920 - DEBUG - Requesting: http://10.0.0.38:8082/project/13135498-cfb5-4cdc-a98b-e62c6c8929c3 2025-08-07 19:58:57,995 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03d42206-35c9-4cd1-8b83-556143ce48d1 2025-08-07 19:58:58,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03d42206-35c9-4cd1-8b83-556143ce48d1 2025-08-07 19:58:58,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29170084-8757-4d31-9a76-10ddaefacd44 2025-08-07 19:58:58,027 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29170084-8757-4d31-9a76-10ddaefacd44 2025-08-07 19:58:58,034 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/46e5c423-a559-40a4-913c-64cd741fd67c 2025-08-07 19:58:58,040 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 19:58:58,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03d42206-35c9-4cd1-8b83-556143ce48d1 2025-08-07 19:58:58,050 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29170084-8757-4d31-9a76-10ddaefacd44 2025-08-07 19:58:58,064 - INFO - Verified VN network id 12 for VN 03d42206-35c9-4cd1-8b83-556143ce48d1 2025-08-07 19:58:58,065 - INFO - Verifications in API Server for VN ctest-vn-21355890 passed 2025-08-07 19:58:58,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03d42206-35c9-4cd1-8b83-556143ce48d1 2025-08-07 19:58:58,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29170084-8757-4d31-9a76-10ddaefacd44 2025-08-07 19:58:58,081 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29170084-8757-4d31-9a76-10ddaefacd44 2025-08-07 19:58:58,090 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/46e5c423-a559-40a4-913c-64cd741fd67c 2025-08-07 19:58:58,102 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-21355890', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33531304', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '275882887243975889', 'uuid-lslong': '10052972669458860241'}, 'enable': 'true', 'created': '2025-08-07T19:58:55', 'last-modified': '2025-08-07T19:58:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977872'} 2025-08-07 19:58:58,109 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 19:58:58,109 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21355890 passed 2025-08-07 19:58:58,109 - DEBUG - ====Verifying policy data for ctest-vn-21355890 in API_Server ====== 2025-08-07 19:58:58,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 19:58:58,114 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30f13e49-abae-4263-a3be-edece9f49f35 2025-08-07 19:58:58,125 - DEBUG - Requesting: http://10.0.0.38:8082/project/13135498-cfb5-4cdc-a98b-e62c6c8929c3 2025-08-07 19:58:58,195 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/03d42206-35c9-4cd1-8b83-556143ce48d1 2025-08-07 19:58:58,206 - DEBUG - ==>Verifying data for policy with id: 66235c03-ee91-438d-bbb5-c17a2d422390, fqn: ['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-policy-allow-all-62465056'] 2025-08-07 19:58:58,206 - INFO - VN ctest-vn-21355890 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 19:58:58,206 - DEBUG - Verifying the vn in opserver 2025-08-07 19:58:58,206 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-21355890 virtual network link through opserver 10.0.0.38 2025-08-07 19:58:58,206 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 19:58:58,538 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 19:58:58,593 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-21355890', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-21355890?flat'} 2025-08-07 19:58:58,593 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-21355890 is found in opserver 2025-08-07 19:58:58,605 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 19:58:58,610 - DEBUG - VRF ids for VN ctest-vn-21355890: {} 2025-08-07 19:58:58,610 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 19:58:58,616 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30f13e49-abae-4263-a3be-edece9f49f35 2025-08-07 19:58:58,627 - DEBUG - Requesting: http://10.0.0.38:8082/project/13135498-cfb5-4cdc-a98b-e62c6c8929c3 2025-08-07 19:58:58,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/426058b0-a63d-48e2-b674-cfabf389ed7a 2025-08-07 19:58:58,712 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/426058b0-a63d-48e2-b674-cfabf389ed7a 2025-08-07 19:58:58,722 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7da263f4-de14-4749-943f-b4a65661287d 2025-08-07 19:58:58,729 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7da263f4-de14-4749-943f-b4a65661287d 2025-08-07 19:58:58,735 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96f92962-0cb2-4e27-a7b9-efdc3954169c 2025-08-07 19:58:58,742 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 19:58:58,742 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/426058b0-a63d-48e2-b674-cfabf389ed7a 2025-08-07 19:58:58,751 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7da263f4-de14-4749-943f-b4a65661287d 2025-08-07 19:58:58,764 - INFO - Verified VN network id 13 for VN 426058b0-a63d-48e2-b674-cfabf389ed7a 2025-08-07 19:58:58,764 - INFO - Verifications in API Server for VN ctest-vn-59422482 passed 2025-08-07 19:58:58,764 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/426058b0-a63d-48e2-b674-cfabf389ed7a 2025-08-07 19:58:58,774 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7da263f4-de14-4749-943f-b4a65661287d 2025-08-07 19:58:58,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7da263f4-de14-4749-943f-b4a65661287d 2025-08-07 19:58:58,787 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/96f92962-0cb2-4e27-a7b9-efdc3954169c 2025-08-07 19:58:58,800 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-59422482', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33531304', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4782920319993989346', 'uuid-lslong': '13147361549633580410'}, 'enable': 'true', 'created': '2025-08-07T19:58:56', 'last-modified': '2025-08-07T19:58:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437972'} 2025-08-07 19:58:58,807 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-07 19:58:58,807 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59422482 passed 2025-08-07 19:58:58,807 - DEBUG - ====Verifying policy data for ctest-vn-59422482 in API_Server ====== 2025-08-07 19:58:58,807 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 19:58:58,812 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30f13e49-abae-4263-a3be-edece9f49f35 2025-08-07 19:58:58,824 - DEBUG - Requesting: http://10.0.0.38:8082/project/13135498-cfb5-4cdc-a98b-e62c6c8929c3 2025-08-07 19:58:58,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/426058b0-a63d-48e2-b674-cfabf389ed7a 2025-08-07 19:58:58,909 - DEBUG - ==>Verifying data for policy with id: 66235c03-ee91-438d-bbb5-c17a2d422390, fqn: ['default-domain', 'ctest-TestBasicPolicy-33531304', 'ctest-policy-allow-all-62465056'] 2025-08-07 19:58:58,910 - INFO - VN ctest-vn-59422482 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-07 19:58:58,910 - DEBUG - Verifying the vn in opserver 2025-08-07 19:58:58,910 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-59422482 virtual network link through opserver 10.0.0.38 2025-08-07 19:58:58,910 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-07 19:58:58,927 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-59422482', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-59422482?flat'} 2025-08-07 19:58:58,927 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-59422482 is found in opserver 2025-08-07 19:58:58,938 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 19:58:58,943 - DEBUG - VRF ids for VN ctest-vn-59422482: {} 2025-08-07 19:58:59,018 - DEBUG - Services list from nova: [, , ] 2025-08-07 19:59:00,092 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1) 2025-08-07 19:59:01,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3776-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3776-1) 2025-08-07 19:59:01,274 - INFO - Waiting for VM ctest-TestBasicPolicy-33531304-38236253 to be up.. 2025-08-07 19:59:01,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 19:59:06,429 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:59:06,429 - INFO - VM name : ctest-TestBasicPolicy-33531304-38236253 2025-08-07 19:59:06,509 - DEBUG - VM ctest-TestBasicPolicy-33531304-38236253 ID is d04a1fbe-e872-4500-9c1b-7802d3576f24 2025-08-07 19:59:06,536 - DEBUG - VM ctest-TestBasicPolicy-33531304-38236253 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1 2025-08-07 19:59:06,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d04a1fbe-e872-4500-9c1b-7802d3576f24 2025-08-07 19:59:06,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4ac83c48-a0e7-4c58-a608-221277d5a177 2025-08-07 19:59:09,910 - 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 1031ms') 2025-08-07 19:59:09,910 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33531304-38236253 failed! 2025-08-07 19:59:09,964 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33531304:ctest-vn-21355890 is 51.116.95.193 and allocation pool is NOT set 2025-08-07 19:59:12,027 - 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=5.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 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.393/3.002/5.612/2.609 ms') 2025-08-07 19:59:12,027 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33531304-38236253 passed 2025-08-07 19:59:12,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:59:12,180 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33531304-38236253, IP 51.116.95.195, Port 22 2025-08-07 19:59:12,352 - DEBUG - VM ctest-TestBasicPolicy-33531304-38236253 is ready for SSH connections 2025-08-07 19:59:12,352 - INFO - Waiting for VM ctest-TestBasicPolicy-33531304-53308507 to be up.. 2025-08-07 19:59:12,444 - DEBUG - VM is in ACTIVE state now 2025-08-07 19:59:12,444 - INFO - VM name : ctest-TestBasicPolicy-33531304-53308507 2025-08-07 19:59:12,557 - DEBUG - VM ctest-TestBasicPolicy-33531304-53308507 ID is 4fc69796-e0bd-42a0-a5b7-4b56635e3b36 2025-08-07 19:59:12,558 - DEBUG - VM ctest-TestBasicPolicy-33531304-53308507 launched on Node cn-jenkins-deploy-platform-ansible-os-3776-1 2025-08-07 19:59:12,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4fc69796-e0bd-42a0-a5b7-4b56635e3b36 2025-08-07 19:59:12,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/497182a6-228a-41c5-8849-11025ba5514e 2025-08-07 19:59:13,898 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.22 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.221/2.592/3.964/1.371 ms') 2025-08-07 19:59:13,898 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33531304-53308507 passed 2025-08-07 19:59:14,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:59:14,052 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33531304-53308507, IP 65.193.30.131, Port 22 2025-08-07 19:59:14,217 - DEBUG - VM ctest-TestBasicPolicy-33531304-53308507 is ready for SSH connections 2025-08-07 19:59:14,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:59:14,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.193.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:59:14,217 - DEBUG - ping -s 56 -c 3 -W 1 65.193.30.131 2025-08-07 19:59:17,919 - DEBUG - PING 65.193.30.131 (65.193.30.131): 56 data bytes 64 bytes from 65.193.30.131: seq=0 ttl=63 time=4.282 ms 64 bytes from 65.193.30.131: seq=1 ttl=63 time=0.815 ms 64 bytes from 65.193.30.131: seq=2 ttl=63 time=0.865 ms --- 65.193.30.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.987/4.282 ms 2025-08-07 19:59:17,919 - INFO - Ping to IP 65.193.30.131 from VM ctest-TestBasicPolicy-33531304-38236253 passed 2025-08-07 19:59:18,095 - DEBUG - Policy Update Response {"network-policy": {"uuid": "66235c03-ee91-438d-bbb5-c17a2d422390", "href": "http://10.0.0.38:8082/network-policy/66235c03-ee91-438d-bbb5-c17a2d422390"}} 2025-08-07 19:59:18,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 19:59:18,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.193.30.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-07 19:59:18,096 - DEBUG - ping -s 56 -c 3 -W 1 65.193.30.131 2025-08-07 19:59:21,319 - DEBUG - PING 65.193.30.131 (65.193.30.131): 56 data bytes --- 65.193.30.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-07 19:59:21,319 - WARNING - Ping to IP 65.193.30.131 from VM ctest-TestBasicPolicy-33531304-38236253 failed 2025-08-07 19:59:21,319 - INFO - Deleting VM ctest-TestBasicPolicy-33531304-53308507 2025-08-07 19:59:21,397 - INFO - Deleting VM ctest-TestBasicPolicy-33531304-38236253 2025-08-07 19:59:21,842 - INFO - Deleted policy ctest-policy-allow-all-62465056 2025-08-07 19:59:21,842 - INFO - Deleting VN ctest-vn-59422482 2025-08-07 19:59:21,883 - DEBUG - VN 426058b0-a63d-48e2-b674-cfabf389ed7a still in use: Unable to complete operation on network 426058b0-a63d-48e2-b674-cfabf389ed7a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba51a290-4d1e-40da-9a3c-7b367bbe47de'] 2025-08-07 19:59:21,883 - WARNING - Deleting VN ctest-vn-59422482 failed..Will retry 2025-08-07 19:59:23,993 - DEBUG - Response for deleting network () 2025-08-07 19:59:23,993 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7da263f4-de14-4749-943f-b4a65661287d 2025-08-07 19:59:23,999 - DEBUG - Response Code: 404 2025-08-07 19:59:24,000 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 19:59:24,005 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30f13e49-abae-4263-a3be-edece9f49f35 2025-08-07 19:59:24,058 - DEBUG - Requesting: http://10.0.0.38:8082/project/13135498-cfb5-4cdc-a98b-e62c6c8929c3 2025-08-07 19:59:24,130 - INFO - Validated that VN ctest-vn-59422482 is not found in API Server 2025-08-07 19:59:24,143 - DEBUG - VN ctest-vn-59422482 is not present in Agent 10.0.0.38 2025-08-07 19:59:24,143 - INFO - Validated that VN ctest-vn-59422482 is not in any agent 2025-08-07 19:59:24,159 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59422482 info 2025-08-07 19:59:24,159 - INFO - Deleting VN ctest-vn-21355890 2025-08-07 19:59:24,267 - DEBUG - Response for deleting network () 2025-08-07 19:59:24,267 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/29170084-8757-4d31-9a76-10ddaefacd44 2025-08-07 19:59:24,274 - DEBUG - Response Code: 404 2025-08-07 19:59:24,274 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-07 19:59:24,279 - DEBUG - Requesting: http://10.0.0.38:8082/domain/30f13e49-abae-4263-a3be-edece9f49f35 2025-08-07 19:59:24,333 - DEBUG - Requesting: http://10.0.0.38:8082/project/13135498-cfb5-4cdc-a98b-e62c6c8929c3 2025-08-07 19:59:24,412 - INFO - Validated that VN ctest-vn-21355890 is not found in API Server 2025-08-07 19:59:24,423 - DEBUG - VN ctest-vn-21355890 is not present in Agent 10.0.0.38 2025-08-07 19:59:24,424 - INFO - Validated that VN ctest-vn-21355890 is not in any agent 2025-08-07 19:59:24,439 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21355890 info 2025-08-07 19:59:24,694 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 19:59:24,694 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-08-07 19:59:24,694 - INFO - -------------------------------------------------------------------------------- 2025-08-07 19:59:25,399 - INFO - Deleted project: ctest-TestBasicPolicy-33531304, ID : 13135498-cfb5-4cdc-a98b-e62c6c8929c3