2025-06-02 03:59:53,874 - INFO - Domain Default found not creating 2025-06-02 03:59:54,060 - INFO - Project ctest-TestBasicPolicy-89526956 not found, creating it 2025-06-02 03:59:54,542 - INFO - Created Project:ctest-TestBasicPolicy-89526956, ID : 393f4385-4d14-48cc-b267-d113f3d23b8b 2025-06-02 03:59:56,093 - INFO - ================================================================================ 2025-06-02 03:59:56,093 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-02 03:59:56,093 - 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-06-02 03:59:56,352 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-02 03:59:56,352 - INFO - Initial checks done. Running the testcase now 2025-06-02 03:59:56,352 - INFO - 2025-06-02 03:59:56,925 - DEBUG - Response for create_network : {'network': {'id': 'ce94e049-3f3d-4871-9545-440e52f309c0', 'name': 'ctest-vn-06797369', 'tenant_id': '393f43854d1448ccb267d113f3d23b8b', 'project_id': '393f43854d1448ccb267d113f3d23b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-vn-06797369'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 03:59:57,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '84be23da-a9a4-4e15-8a23-127ec703dac0', 'name': '', 'tenant_id': '393f43854d1448ccb267d113f3d23b8b', 'network_id': 'ce94e049-3f3d-4871-9545-440e52f309c0', 'ip_version': 4, 'cidr': '187.178.45.64/26', 'allocation_pools': [{'start': '187.178.45.66', 'end': '187.178.45.126'}], 'gateway_ip': '187.178.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.178.45.66', 'tags': [], 'project_id': '393f43854d1448ccb267d113f3d23b8b'}} 2025-06-02 03:59:57,173 - INFO - Created VN ctest-vn-06797369 2025-06-02 03:59:57,226 - DEBUG - VN ctest-vn-06797369 UUID is ce94e049-3f3d-4871-9545-440e52f309c0 2025-06-02 03:59:57,526 - DEBUG - Response for create_network : {'network': {'id': 'abda496b-c035-4ba4-bf2a-dfc7461da659', 'name': 'ctest-vn-49809225', 'tenant_id': '393f43854d1448ccb267d113f3d23b8b', 'project_id': '393f43854d1448ccb267d113f3d23b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-vn-49809225'], 'port_security_enabled': True, 'description': ''}} 2025-06-02 03:59:57,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '8478ac01-e231-46db-93de-0ae62c0c4bb2', 'name': '', 'tenant_id': '393f43854d1448ccb267d113f3d23b8b', 'network_id': 'abda496b-c035-4ba4-bf2a-dfc7461da659', 'ip_version': 4, 'cidr': '180.181.121.192/26', 'allocation_pools': [{'start': '180.181.121.194', 'end': '180.181.121.254'}], 'gateway_ip': '180.181.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.181.121.194', 'tags': [], 'project_id': '393f43854d1448ccb267d113f3d23b8b'}} 2025-06-02 03:59:57,702 - INFO - Created VN ctest-vn-49809225 2025-06-02 03:59:57,755 - DEBUG - VN ctest-vn-49809225 UUID is abda496b-c035-4ba4-bf2a-dfc7461da659 2025-06-02 03:59:57,874 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-06797369, 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-89526956:ctest-vn-49809225, 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-06-02 03:59:58,196 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce94e049-3f3d-4871-9545-440e52f309c0', 'name': 'ctest-vn-06797369', 'tenant_id': '393f43854d1448ccb267d113f3d23b8b', 'project_id': '393f43854d1448ccb267d113f3d23b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84be23da-a9a4-4e15-8a23-127ec703dac0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-vn-06797369'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-policy-allow-all-00906983']], 'subnet_ipam': [{'subnet_cidr': '187.178.45.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 03:59:58,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'abda496b-c035-4ba4-bf2a-dfc7461da659', 'name': 'ctest-vn-49809225', 'tenant_id': '393f43854d1448ccb267d113f3d23b8b', 'project_id': '393f43854d1448ccb267d113f3d23b8b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8478ac01-e231-46db-93de-0ae62c0c4bb2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-vn-49809225'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-policy-allow-all-00906983']], 'subnet_ipam': [{'subnet_cidr': '180.181.121.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-02 03:59:58,654 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-02 03:59:58,977 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-02 03:59:59,010 - DEBUG - Requesting: http://10.0.0.38:8082/domain/37a09523-bcce-4489-a0c5-033806edb129 2025-06-02 03:59:59,026 - DEBUG - Requesting: http://10.0.0.38:8082/project/393f4385-4d14-48cc-b267-d113f3d23b8b 2025-06-02 03:59:59,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce94e049-3f3d-4871-9545-440e52f309c0 2025-06-02 03:59:59,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce94e049-3f3d-4871-9545-440e52f309c0 2025-06-02 03:59:59,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/897ce2b0-f58a-44b1-b53d-fbf0b968808a 2025-06-02 03:59:59,146 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/897ce2b0-f58a-44b1-b53d-fbf0b968808a 2025-06-02 03:59:59,156 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa60e86c-e219-44cc-98a1-4e4979b666f5 2025-06-02 03:59:59,165 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 03:59:59,165 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce94e049-3f3d-4871-9545-440e52f309c0 2025-06-02 03:59:59,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/897ce2b0-f58a-44b1-b53d-fbf0b968808a 2025-06-02 03:59:59,201 - INFO - Verified VN network id 8 for VN ce94e049-3f3d-4871-9545-440e52f309c0 2025-06-02 03:59:59,201 - INFO - Verifications in API Server for VN ctest-vn-06797369 passed 2025-06-02 03:59:59,201 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce94e049-3f3d-4871-9545-440e52f309c0 2025-06-02 03:59:59,216 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/897ce2b0-f58a-44b1-b53d-fbf0b968808a 2025-06-02 03:59:59,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/897ce2b0-f58a-44b1-b53d-fbf0b968808a 2025-06-02 03:59:59,234 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa60e86c-e219-44cc-98a1-4e4979b666f5 2025-06-02 03:59:59,249 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-06797369', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89526956', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14885769273564547185', 'uuid-lslong': '10756078113356188096'}, 'enable': 'true', 'created': '2025-06-02T03:59:56', 'last-modified': '2025-06-02T03:59:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084736'} 2025-06-02 03:59:59,256 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-02 03:59:59,256 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06797369 passed 2025-06-02 03:59:59,256 - DEBUG - ====Verifying policy data for ctest-vn-06797369 in API_Server ====== 2025-06-02 03:59:59,256 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-02 03:59:59,263 - DEBUG - Requesting: http://10.0.0.38:8082/domain/37a09523-bcce-4489-a0c5-033806edb129 2025-06-02 03:59:59,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/393f4385-4d14-48cc-b267-d113f3d23b8b 2025-06-02 03:59:59,352 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ce94e049-3f3d-4871-9545-440e52f309c0 2025-06-02 03:59:59,363 - DEBUG - ==>Verifying data for policy with id: 24ba60af-27c6-413a-9793-01612e5adcbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-policy-allow-all-00906983'] 2025-06-02 03:59:59,363 - INFO - VN ctest-vn-06797369 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 03:59:59,364 - DEBUG - Verifying the vn in opserver 2025-06-02 03:59:59,364 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-06797369 virtual network link through opserver 10.0.0.38 2025-06-02 03:59:59,364 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-02 03:59:59,664 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-02 03:59:59,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-06797369', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-06797369?flat'} 2025-06-02 03:59:59,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-06797369 is found in opserver 2025-06-02 03:59:59,743 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 03:59:59,749 - DEBUG - VRF ids for VN ctest-vn-06797369: {} 2025-06-02 03:59:59,749 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-02 03:59:59,754 - DEBUG - Requesting: http://10.0.0.38:8082/domain/37a09523-bcce-4489-a0c5-033806edb129 2025-06-02 03:59:59,768 - DEBUG - Requesting: http://10.0.0.38:8082/project/393f4385-4d14-48cc-b267-d113f3d23b8b 2025-06-02 03:59:59,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abda496b-c035-4ba4-bf2a-dfc7461da659 2025-06-02 03:59:59,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abda496b-c035-4ba4-bf2a-dfc7461da659 2025-06-02 03:59:59,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31ff7721-afe2-42a6-b7cd-1232364b8a80 2025-06-02 03:59:59,883 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31ff7721-afe2-42a6-b7cd-1232364b8a80 2025-06-02 03:59:59,891 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bf8d4c01-ac02-4473-9444-ec8620b4d0bc 2025-06-02 03:59:59,900 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 03:59:59,900 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abda496b-c035-4ba4-bf2a-dfc7461da659 2025-06-02 03:59:59,911 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31ff7721-afe2-42a6-b7cd-1232364b8a80 2025-06-02 03:59:59,927 - INFO - Verified VN network id 9 for VN abda496b-c035-4ba4-bf2a-dfc7461da659 2025-06-02 03:59:59,927 - INFO - Verifications in API Server for VN ctest-vn-49809225 passed 2025-06-02 03:59:59,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abda496b-c035-4ba4-bf2a-dfc7461da659 2025-06-02 03:59:59,938 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31ff7721-afe2-42a6-b7cd-1232364b8a80 2025-06-02 03:59:59,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31ff7721-afe2-42a6-b7cd-1232364b8a80 2025-06-02 03:59:59,953 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bf8d4c01-ac02-4473-9444-ec8620b4d0bc 2025-06-02 03:59:59,966 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-49809225', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89526956', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12383290852543646628', 'uuid-lslong': '13775068457233917529'}, 'enable': 'true', 'created': '2025-06-02T03:59:57', 'last-modified': '2025-06-02T03:59:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.545785'} 2025-06-02 03:59:59,973 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-02 03:59:59,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49809225 passed 2025-06-02 03:59:59,973 - DEBUG - ====Verifying policy data for ctest-vn-49809225 in API_Server ====== 2025-06-02 03:59:59,973 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-02 03:59:59,979 - DEBUG - Requesting: http://10.0.0.38:8082/domain/37a09523-bcce-4489-a0c5-033806edb129 2025-06-02 03:59:59,991 - DEBUG - Requesting: http://10.0.0.38:8082/project/393f4385-4d14-48cc-b267-d113f3d23b8b 2025-06-02 04:00:00,071 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/abda496b-c035-4ba4-bf2a-dfc7461da659 2025-06-02 04:00:00,082 - DEBUG - ==>Verifying data for policy with id: 24ba60af-27c6-413a-9793-01612e5adcbe, fqn: ['default-domain', 'ctest-TestBasicPolicy-89526956', 'ctest-policy-allow-all-00906983'] 2025-06-02 04:00:00,082 - INFO - VN ctest-vn-49809225 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-02 04:00:00,082 - DEBUG - Verifying the vn in opserver 2025-06-02 04:00:00,082 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-49809225 virtual network link through opserver 10.0.0.38 2025-06-02 04:00:00,082 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-02 04:00:00,095 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-49809225', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-49809225?flat'} 2025-06-02 04:00:00,095 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-49809225 is found in opserver 2025-06-02 04:00:00,108 - DEBUG - Do not have enough data to verify VN in agent 2025-06-02 04:00:00,113 - DEBUG - VRF ids for VN ctest-vn-49809225: {} 2025-06-02 04:00:00,181 - DEBUG - Services list from nova: [, , ] 2025-06-02 04:00:01,281 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3385-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3385-1) 2025-06-02 04:00:02,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3385-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3385-1) 2025-06-02 04:00:02,591 - INFO - Waiting for VM ctest-TestBasicPolicy-89526956-49716355 to be up.. 2025-06-02 04:00:02,693 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-02 04:00:07,784 - DEBUG - VM is in ACTIVE state now 2025-06-02 04:00:07,784 - INFO - VM name : ctest-TestBasicPolicy-89526956-49716355 2025-06-02 04:00:07,875 - DEBUG - VM ctest-TestBasicPolicy-89526956-49716355 ID is cd4b6788-9194-44fe-8cf0-3261a3175309 2025-06-02 04:00:07,899 - DEBUG - VM ctest-TestBasicPolicy-89526956-49716355 launched on Node cn-jenkins-deploy-platform-ansible-os-3385-1 2025-06-02 04:00:07,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cd4b6788-9194-44fe-8cf0-3261a3175309 2025-06-02 04:00:08,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c317ba33-9d44-4f59-8ed3-a0a6e71374ba 2025-06-02 04:00:11,283 - 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 1027ms') 2025-06-02 04:00:11,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89526956-49716355 failed! 2025-06-02 04:00:11,343 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89526956:ctest-vn-06797369 is 187.178.45.65 and allocation pool is NOT set 2025-06-02 04:00:15,411 - 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=2 ttl=63 time=2.86 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.859/2.859/2.859/0.000 ms') 2025-06-02 04:00:15,411 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89526956-49716355 passed 2025-06-02 04:00:15,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 04:00:15,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89526956-49716355, IP 187.178.45.67, Port 22 2025-06-02 04:00:15,728 - DEBUG - VM ctest-TestBasicPolicy-89526956-49716355 is ready for SSH connections 2025-06-02 04:00:15,728 - INFO - Waiting for VM ctest-TestBasicPolicy-89526956-09071561 to be up.. 2025-06-02 04:00:15,823 - DEBUG - VM is in ACTIVE state now 2025-06-02 04:00:15,823 - INFO - VM name : ctest-TestBasicPolicy-89526956-09071561 2025-06-02 04:00:15,909 - DEBUG - VM ctest-TestBasicPolicy-89526956-09071561 ID is c3d06622-13c2-46ae-8e79-c61312744d63 2025-06-02 04:00:15,909 - DEBUG - VM ctest-TestBasicPolicy-89526956-09071561 launched on Node cn-jenkins-deploy-platform-ansible-os-3385-1 2025-06-02 04:00:15,998 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c3d06622-13c2-46ae-8e79-c61312744d63 2025-06-02 04:00:16,011 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3be4598b-4392-48c6-9fc7-23cc9334c06d 2025-06-02 04:00:17,263 - 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=4.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/2.385/4.276/1.890 ms') 2025-06-02 04:00:17,263 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89526956-09071561 passed 2025-06-02 04:00:17,414 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 04:00:17,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89526956-09071561, IP 180.181.121.195, Port 22 2025-06-02 04:00:17,581 - DEBUG - VM ctest-TestBasicPolicy-89526956-09071561 is ready for SSH connections 2025-06-02 04:00:17,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 04:00:17,581 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.181.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-02 04:00:17,581 - DEBUG - ping -s 56 -c 3 -W 1 180.181.121.195 2025-06-02 04:00:21,369 - DEBUG - PING 180.181.121.195 (180.181.121.195): 56 data bytes 64 bytes from 180.181.121.195: seq=0 ttl=63 time=3.559 ms 64 bytes from 180.181.121.195: seq=1 ttl=63 time=1.053 ms 64 bytes from 180.181.121.195: seq=2 ttl=63 time=0.901 ms --- 180.181.121.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.901/1.837/3.559 ms 2025-06-02 04:00:21,369 - INFO - Ping to IP 180.181.121.195 from VM ctest-TestBasicPolicy-89526956-49716355 passed 2025-06-02 04:00:21,566 - DEBUG - Policy Update Response {"network-policy": {"uuid": "24ba60af-27c6-413a-9793-01612e5adcbe", "href": "http://10.0.0.38:8082/network-policy/24ba60af-27c6-413a-9793-01612e5adcbe"}} 2025-06-02 04:00:21,566 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-02 04:00:21,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.181.121.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-02 04:00:21,567 - DEBUG - ping -s 56 -c 3 -W 1 180.181.121.195 2025-06-02 04:00:24,782 - DEBUG - PING 180.181.121.195 (180.181.121.195): 56 data bytes 64 bytes from 180.181.121.195: seq=0 ttl=63 time=2.384 ms --- 180.181.121.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.384/2.384/2.384 ms 2025-06-02 04:00:24,783 - WARNING - Ping to IP 180.181.121.195 from VM ctest-TestBasicPolicy-89526956-49716355 failed 2025-06-02 04:00:24,783 - INFO - Deleting VM ctest-TestBasicPolicy-89526956-09071561 2025-06-02 04:00:24,862 - INFO - Deleting VM ctest-TestBasicPolicy-89526956-49716355 2025-06-02 04:00:25,346 - INFO - Deleted policy ctest-policy-allow-all-00906983 2025-06-02 04:00:25,346 - INFO - Deleting VN ctest-vn-49809225 2025-06-02 04:00:25,391 - DEBUG - VN abda496b-c035-4ba4-bf2a-dfc7461da659 still in use: Unable to complete operation on network abda496b-c035-4ba4-bf2a-dfc7461da659. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e567630a-c582-491c-9817-d09b60ea9ddb'] 2025-06-02 04:00:25,391 - WARNING - Deleting VN ctest-vn-49809225 failed..Will retry 2025-06-02 04:00:27,524 - DEBUG - Response for deleting network () 2025-06-02 04:00:27,524 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31ff7721-afe2-42a6-b7cd-1232364b8a80 2025-06-02 04:00:27,530 - DEBUG - Response Code: 404 2025-06-02 04:00:27,530 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-02 04:00:27,536 - DEBUG - Requesting: http://10.0.0.38:8082/domain/37a09523-bcce-4489-a0c5-033806edb129 2025-06-02 04:00:27,596 - DEBUG - Requesting: http://10.0.0.38:8082/project/393f4385-4d14-48cc-b267-d113f3d23b8b 2025-06-02 04:00:27,672 - INFO - Validated that VN ctest-vn-49809225 is not found in API Server 2025-06-02 04:00:27,684 - DEBUG - VN ctest-vn-49809225 is not present in Agent 10.0.0.38 2025-06-02 04:00:27,684 - INFO - Validated that VN ctest-vn-49809225 is not in any agent 2025-06-02 04:00:27,703 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49809225 info 2025-06-02 04:00:27,703 - INFO - Deleting VN ctest-vn-06797369 2025-06-02 04:00:27,815 - DEBUG - Response for deleting network () 2025-06-02 04:00:27,815 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/897ce2b0-f58a-44b1-b53d-fbf0b968808a 2025-06-02 04:00:27,822 - DEBUG - Response Code: 404 2025-06-02 04:00:27,822 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-02 04:00:27,832 - DEBUG - Requesting: http://10.0.0.38:8082/domain/37a09523-bcce-4489-a0c5-033806edb129 2025-06-02 04:00:27,889 - DEBUG - Requesting: http://10.0.0.38:8082/project/393f4385-4d14-48cc-b267-d113f3d23b8b 2025-06-02 04:00:27,964 - INFO - Validated that VN ctest-vn-06797369 is not found in API Server 2025-06-02 04:00:27,976 - DEBUG - VN ctest-vn-06797369 is not present in Agent 10.0.0.38 2025-06-02 04:00:27,976 - INFO - Validated that VN ctest-vn-06797369 is not in any agent 2025-06-02 04:00:27,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06797369 info 2025-06-02 04:00:28,255 - DEBUG - No XMPP flaps were noticed during the test
2025-06-02 04:00:28,255 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32]
2025-06-02 04:00:28,255 - INFO - -------------------------------------------------------------------------------- 2025-06-02 04:00:28,968 - INFO - Deleted project: ctest-TestBasicPolicy-89526956, ID : 393f4385-4d14-48cc-b267-d113f3d23b8b