2025-08-13 20:09:09,135 - INFO - Domain Default found not creating 2025-08-13 20:09:09,253 - INFO - Project ctest-TestBasicPolicy-14315394 not found, creating it 2025-08-13 20:09:09,674 - INFO - Created Project:ctest-TestBasicPolicy-14315394, ID : 67f8e763-7780-4917-910a-9df051998c63 2025-08-13 20:09:11,063 - INFO - ================================================================================ 2025-08-13 20:09:11,064 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-13 20:09:11,064 - 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-13 20:09:11,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-13 20:09:11,317 - INFO - Initial checks done. Running the testcase now 2025-08-13 20:09:11,318 - INFO - 2025-08-13 20:09:11,829 - DEBUG - Response for create_network : {'network': {'id': '2fce03bf-a335-4531-9f48-1846d720cb90', 'name': 'ctest-vn-31415548', 'tenant_id': '67f8e76377804917910a9df051998c63', 'project_id': '67f8e76377804917910a9df051998c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-vn-31415548'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:09:11,996 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0c1c701-5c47-474d-a6a9-a8e75d689a59', 'name': '', 'tenant_id': '67f8e76377804917910a9df051998c63', 'network_id': '2fce03bf-a335-4531-9f48-1846d720cb90', 'ip_version': 4, 'cidr': '122.236.31.128/26', 'allocation_pools': [{'start': '122.236.31.130', 'end': '122.236.31.190'}], 'gateway_ip': '122.236.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.236.31.130', 'tags': [], 'project_id': '67f8e76377804917910a9df051998c63'}} 2025-08-13 20:09:12,011 - INFO - Created VN ctest-vn-31415548 2025-08-13 20:09:12,068 - DEBUG - VN ctest-vn-31415548 UUID is 2fce03bf-a335-4531-9f48-1846d720cb90 2025-08-13 20:09:12,382 - DEBUG - Response for create_network : {'network': {'id': '7e44f297-2912-4c25-afc4-605c4c54bc04', 'name': 'ctest-vn-09862856', 'tenant_id': '67f8e76377804917910a9df051998c63', 'project_id': '67f8e76377804917910a9df051998c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-vn-09862856'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:09:12,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '605efeb3-6509-47be-9299-b553feef939e', 'name': '', 'tenant_id': '67f8e76377804917910a9df051998c63', 'network_id': '7e44f297-2912-4c25-afc4-605c4c54bc04', 'ip_version': 4, 'cidr': '168.127.52.64/26', 'allocation_pools': [{'start': '168.127.52.66', 'end': '168.127.52.126'}], 'gateway_ip': '168.127.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.127.52.66', 'tags': [], 'project_id': '67f8e76377804917910a9df051998c63'}} 2025-08-13 20:09:12,597 - INFO - Created VN ctest-vn-09862856 2025-08-13 20:09:12,648 - DEBUG - VN ctest-vn-09862856 UUID is 7e44f297-2912-4c25-afc4-605c4c54bc04 2025-08-13 20:09:12,795 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-31415548, 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-14315394:ctest-vn-09862856, 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-13 20:09:13,091 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2fce03bf-a335-4531-9f48-1846d720cb90', 'name': 'ctest-vn-31415548', 'tenant_id': '67f8e76377804917910a9df051998c63', 'project_id': '67f8e76377804917910a9df051998c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0c1c701-5c47-474d-a6a9-a8e75d689a59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-vn-31415548'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-policy-allow-all-29670108']], 'subnet_ipam': [{'subnet_cidr': '122.236.31.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:09:13,347 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e44f297-2912-4c25-afc4-605c4c54bc04', 'name': 'ctest-vn-09862856', 'tenant_id': '67f8e76377804917910a9df051998c63', 'project_id': '67f8e76377804917910a9df051998c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['605efeb3-6509-47be-9299-b553feef939e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-vn-09862856'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-policy-allow-all-29670108']], 'subnet_ipam': [{'subnet_cidr': '168.127.52.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-13 20:09:13,500 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 20:09:13,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 20:09:13,816 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1be515c1-fc31-40ee-bdde-556303b86a64 2025-08-13 20:09:13,828 - DEBUG - Requesting: http://10.0.0.38:8082/project/67f8e763-7780-4917-910a-9df051998c63 2025-08-13 20:09:13,897 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2fce03bf-a335-4531-9f48-1846d720cb90 2025-08-13 20:09:13,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2fce03bf-a335-4531-9f48-1846d720cb90 2025-08-13 20:09:13,916 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f5be557-8123-4f72-a3b2-264ad6cdc912 2025-08-13 20:09:13,922 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f5be557-8123-4f72-a3b2-264ad6cdc912 2025-08-13 20:09:13,928 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ced163e-1a93-4374-bf1d-98b0df050566 2025-08-13 20:09:13,934 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 20:09:13,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2fce03bf-a335-4531-9f48-1846d720cb90 2025-08-13 20:09:13,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f5be557-8123-4f72-a3b2-264ad6cdc912 2025-08-13 20:09:13,954 - INFO - Verified VN network id 11 for VN 2fce03bf-a335-4531-9f48-1846d720cb90 2025-08-13 20:09:13,954 - INFO - Verifications in API Server for VN ctest-vn-31415548 passed 2025-08-13 20:09:13,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2fce03bf-a335-4531-9f48-1846d720cb90 2025-08-13 20:09:13,963 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f5be557-8123-4f72-a3b2-264ad6cdc912 2025-08-13 20:09:13,969 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f5be557-8123-4f72-a3b2-264ad6cdc912 2025-08-13 20:09:13,976 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ced163e-1a93-4374-bf1d-98b0df050566 2025-08-13 20:09:13,986 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-31415548', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14315394', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3444694886596822321', 'uuid-lslong': '11477450342889737104'}, 'enable': 'true', 'created': '2025-08-13T20:09:11', 'last-modified': '2025-08-13T20:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920878'} 2025-08-13 20:09:13,992 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-13 20:09:13,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31415548 passed 2025-08-13 20:09:13,992 - DEBUG - ====Verifying policy data for ctest-vn-31415548 in API_Server ====== 2025-08-13 20:09:13,992 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 20:09:13,997 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1be515c1-fc31-40ee-bdde-556303b86a64 2025-08-13 20:09:14,007 - DEBUG - Requesting: http://10.0.0.38:8082/project/67f8e763-7780-4917-910a-9df051998c63 2025-08-13 20:09:14,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2fce03bf-a335-4531-9f48-1846d720cb90 2025-08-13 20:09:14,084 - DEBUG - ==>Verifying data for policy with id: 31ff8ca4-d76b-4ccf-b443-0146ec1ed8ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-policy-allow-all-29670108'] 2025-08-13 20:09:14,084 - INFO - VN ctest-vn-31415548 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 20:09:14,084 - DEBUG - Verifying the vn in opserver 2025-08-13 20:09:14,084 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-31415548 virtual network link through opserver 10.0.0.38 2025-08-13 20:09:14,084 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-13 20:09:14,372 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-13 20:09:14,429 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-31415548', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-31415548?flat'} 2025-08-13 20:09:14,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-31415548 is found in opserver 2025-08-13 20:09:14,439 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 20:09:14,444 - DEBUG - VRF ids for VN ctest-vn-31415548: {} 2025-08-13 20:09:14,444 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 20:09:14,449 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1be515c1-fc31-40ee-bdde-556303b86a64 2025-08-13 20:09:14,459 - DEBUG - Requesting: http://10.0.0.38:8082/project/67f8e763-7780-4917-910a-9df051998c63 2025-08-13 20:09:14,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e44f297-2912-4c25-afc4-605c4c54bc04 2025-08-13 20:09:14,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e44f297-2912-4c25-afc4-605c4c54bc04 2025-08-13 20:09:14,555 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e8cca84c-b56a-44c1-bfee-aaa9688d7166 2025-08-13 20:09:14,563 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e8cca84c-b56a-44c1-bfee-aaa9688d7166 2025-08-13 20:09:14,570 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/197502d8-52e2-478a-9bf7-ba333e6dd6f2 2025-08-13 20:09:14,577 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 20:09:14,577 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e44f297-2912-4c25-afc4-605c4c54bc04 2025-08-13 20:09:14,587 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e8cca84c-b56a-44c1-bfee-aaa9688d7166 2025-08-13 20:09:14,602 - INFO - Verified VN network id 12 for VN 7e44f297-2912-4c25-afc4-605c4c54bc04 2025-08-13 20:09:14,602 - INFO - Verifications in API Server for VN ctest-vn-09862856 passed 2025-08-13 20:09:14,602 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e44f297-2912-4c25-afc4-605c4c54bc04 2025-08-13 20:09:14,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e8cca84c-b56a-44c1-bfee-aaa9688d7166 2025-08-13 20:09:14,618 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e8cca84c-b56a-44c1-bfee-aaa9688d7166 2025-08-13 20:09:14,624 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/197502d8-52e2-478a-9bf7-ba333e6dd6f2 2025-08-13 20:09:14,637 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-09862856', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14315394', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9098663878238293029', 'uuid-lslong': '12665354001606556676'}, 'enable': 'true', 'created': '2025-08-13T20:09:12', 'last-modified': '2025-08-13T20:09:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.355503'} 2025-08-13 20:09:14,644 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-13 20:09:14,644 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09862856 passed 2025-08-13 20:09:14,644 - DEBUG - ====Verifying policy data for ctest-vn-09862856 in API_Server ====== 2025-08-13 20:09:14,644 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 20:09:14,650 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1be515c1-fc31-40ee-bdde-556303b86a64 2025-08-13 20:09:14,663 - DEBUG - Requesting: http://10.0.0.38:8082/project/67f8e763-7780-4917-910a-9df051998c63 2025-08-13 20:09:14,731 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7e44f297-2912-4c25-afc4-605c4c54bc04 2025-08-13 20:09:14,740 - DEBUG - ==>Verifying data for policy with id: 31ff8ca4-d76b-4ccf-b443-0146ec1ed8ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-14315394', 'ctest-policy-allow-all-29670108'] 2025-08-13 20:09:14,740 - INFO - VN ctest-vn-09862856 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-13 20:09:14,740 - DEBUG - Verifying the vn in opserver 2025-08-13 20:09:14,741 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-09862856 virtual network link through opserver 10.0.0.38 2025-08-13 20:09:14,741 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-13 20:09:14,750 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-09862856', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-09862856?flat'} 2025-08-13 20:09:14,750 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-09862856 is found in opserver 2025-08-13 20:09:14,760 - DEBUG - Do not have enough data to verify VN in agent 2025-08-13 20:09:14,764 - DEBUG - VRF ids for VN ctest-vn-09862856: {} 2025-08-13 20:09:14,814 - DEBUG - Services list from nova: [, , ] 2025-08-13 20:09:15,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:09:16,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3847-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3847-1) 2025-08-13 20:09:16,850 - INFO - Waiting for VM ctest-TestBasicPolicy-14315394-90129412 to be up.. 2025-08-13 20:09:16,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 20:09:21,993 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:09:21,993 - INFO - VM name : ctest-TestBasicPolicy-14315394-90129412 2025-08-13 20:09:22,061 - DEBUG - VM ctest-TestBasicPolicy-14315394-90129412 ID is b22395ff-a6f6-4811-a5f9-4e26a258eed5 2025-08-13 20:09:22,079 - DEBUG - VM ctest-TestBasicPolicy-14315394-90129412 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:09:22,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b22395ff-a6f6-4811-a5f9-4e26a258eed5 2025-08-13 20:09:22,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/952a2792-4d0c-4052-bf04-13b7d0f3956b 2025-08-13 20:09:25,410 - 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-08-13 20:09:25,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14315394-90129412 failed! 2025-08-13 20:09:25,464 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14315394:ctest-vn-31415548 is 122.236.31.129 and allocation pool is NOT set 2025-08-13 20:09:27,522 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.598/2.817/1.219 ms') 2025-08-13 20:09:27,522 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14315394-90129412 passed 2025-08-13 20:09:27,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:09:27,680 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14315394-90129412, IP 122.236.31.131, Port 22 2025-08-13 20:09:27,831 - DEBUG - VM ctest-TestBasicPolicy-14315394-90129412 is ready for SSH connections 2025-08-13 20:09:27,831 - INFO - Waiting for VM ctest-TestBasicPolicy-14315394-92506955 to be up.. 2025-08-13 20:09:27,901 - DEBUG - VM is in ACTIVE state now 2025-08-13 20:09:27,902 - INFO - VM name : ctest-TestBasicPolicy-14315394-92506955 2025-08-13 20:09:27,973 - DEBUG - VM ctest-TestBasicPolicy-14315394-92506955 ID is a54199f5-e146-45f9-8168-5e5502790fe8 2025-08-13 20:09:27,973 - DEBUG - VM ctest-TestBasicPolicy-14315394-92506955 launched on Node cn-jenkins-deploy-platform-ansible-os-3847-1 2025-08-13 20:09:28,039 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a54199f5-e146-45f9-8168-5e5502790fe8 2025-08-13 20:09:28,049 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/449ac576-0785-4e96-a999-2b1c0b80275b 2025-08-13 20:09:29,287 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.473/2.563/1.089 ms') 2025-08-13 20:09:29,287 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14315394-92506955 passed 2025-08-13 20:09:29,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:09:29,440 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14315394-92506955, IP 168.127.52.67, Port 22 2025-08-13 20:09:29,599 - DEBUG - VM ctest-TestBasicPolicy-14315394-92506955 is ready for SSH connections 2025-08-13 20:09:29,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:09:29,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.127.52.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:09:29,599 - DEBUG - ping -s 56 -c 3 -W 1 168.127.52.67 2025-08-13 20:09:33,613 - DEBUG - PING 168.127.52.67 (168.127.52.67): 56 data bytes 64 bytes from 168.127.52.67: seq=0 ttl=63 time=3.569 ms 64 bytes from 168.127.52.67: seq=1 ttl=63 time=0.838 ms 64 bytes from 168.127.52.67: seq=2 ttl=63 time=0.849 ms --- 168.127.52.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.752/3.569 ms 2025-08-13 20:09:33,613 - INFO - Ping to IP 168.127.52.67 from VM ctest-TestBasicPolicy-14315394-90129412 passed 2025-08-13 20:09:33,787 - DEBUG - Policy Update Response {"network-policy": {"uuid": "31ff8ca4-d76b-4ccf-b443-0146ec1ed8ea", "href": "http://10.0.0.38:8082/network-policy/31ff8ca4-d76b-4ccf-b443-0146ec1ed8ea"}} 2025-08-13 20:09:33,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 20:09:33,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.127.52.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 20:09:33,788 - DEBUG - ping -s 56 -c 3 -W 1 168.127.52.67 2025-08-13 20:09:36,986 - DEBUG - PING 168.127.52.67 (168.127.52.67): 56 data bytes --- 168.127.52.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 20:09:36,986 - WARNING - Ping to IP 168.127.52.67 from VM ctest-TestBasicPolicy-14315394-90129412 failed 2025-08-13 20:09:36,986 - INFO - Deleting VM ctest-TestBasicPolicy-14315394-92506955 2025-08-13 20:09:37,042 - INFO - Deleting VM ctest-TestBasicPolicy-14315394-90129412 2025-08-13 20:09:37,376 - INFO - Deleted policy ctest-policy-allow-all-29670108 2025-08-13 20:09:37,376 - INFO - Deleting VN ctest-vn-09862856 2025-08-13 20:09:37,410 - DEBUG - VN 7e44f297-2912-4c25-afc4-605c4c54bc04 still in use: Unable to complete operation on network 7e44f297-2912-4c25-afc4-605c4c54bc04. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c23e7b53-37a6-4809-a580-8fa3abb48422'] 2025-08-13 20:09:37,410 - WARNING - Deleting VN ctest-vn-09862856 failed..Will retry 2025-08-13 20:09:39,511 - DEBUG - Response for deleting network () 2025-08-13 20:09:39,511 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e8cca84c-b56a-44c1-bfee-aaa9688d7166 2025-08-13 20:09:39,516 - DEBUG - Response Code: 404 2025-08-13 20:09:39,516 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 20:09:39,520 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1be515c1-fc31-40ee-bdde-556303b86a64 2025-08-13 20:09:39,574 - DEBUG - Requesting: http://10.0.0.38:8082/project/67f8e763-7780-4917-910a-9df051998c63 2025-08-13 20:09:39,646 - INFO - Validated that VN ctest-vn-09862856 is not found in API Server 2025-08-13 20:09:39,656 - DEBUG - VN ctest-vn-09862856 is not present in Agent 10.0.0.38 2025-08-13 20:09:39,656 - INFO - Validated that VN ctest-vn-09862856 is not in any agent 2025-08-13 20:09:39,669 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09862856 info 2025-08-13 20:09:39,670 - INFO - Deleting VN ctest-vn-31415548 2025-08-13 20:09:39,760 - DEBUG - Response for deleting network () 2025-08-13 20:09:39,760 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f5be557-8123-4f72-a3b2-264ad6cdc912 2025-08-13 20:09:39,767 - DEBUG - Response Code: 404 2025-08-13 20:09:39,767 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-13 20:09:39,772 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1be515c1-fc31-40ee-bdde-556303b86a64 2025-08-13 20:09:39,824 - DEBUG - Requesting: http://10.0.0.38:8082/project/67f8e763-7780-4917-910a-9df051998c63 2025-08-13 20:09:39,895 - INFO - Validated that VN ctest-vn-31415548 is not found in API Server 2025-08-13 20:09:39,905 - DEBUG - VN ctest-vn-31415548 is not present in Agent 10.0.0.38 2025-08-13 20:09:39,906 - INFO - Validated that VN ctest-vn-31415548 is not in any agent 2025-08-13 20:09:39,921 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31415548 info 2025-08-13 20:09:40,173 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 20:09:40,174 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-13 20:09:40,174 - INFO - -------------------------------------------------------------------------------- 2025-08-13 20:09:40,838 - INFO - Deleted project: ctest-TestBasicPolicy-14315394, ID : 67f8e763-7780-4917-910a-9df051998c63