2025-07-09 11:37:50,109 - INFO - Domain Default found not creating 2025-07-09 11:37:50,326 - INFO - Project ctest-TestBasicPolicy-94168698 not found, creating it 2025-07-09 11:37:50,902 - INFO - Created Project:ctest-TestBasicPolicy-94168698, ID : 4e64e9e0-1abd-4001-82c7-6e4cff6025a6 2025-07-09 11:37:52,758 - INFO - ================================================================================ 2025-07-09 11:37:52,759 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-09 11:37:52,759 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-07-09 11:37:53,035 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-09 11:37:53,035 - INFO - Initial checks done. Running the testcase now 2025-07-09 11:37:53,035 - INFO - 2025-07-09 11:37:53,722 - DEBUG - Response for create_network : {'network': {'id': 'ed99d9c0-dabf-4244-926f-426478458479', 'name': 'ctest-vn-09108017', 'tenant_id': '4e64e9e01abd400182c76e4cff6025a6', 'project_id': '4e64e9e01abd400182c76e4cff6025a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-vn-09108017'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 11:37:53,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c631353c-11ea-40ec-a797-be947ba04752', 'name': '', 'tenant_id': '4e64e9e01abd400182c76e4cff6025a6', 'network_id': 'ed99d9c0-dabf-4244-926f-426478458479', 'ip_version': 4, 'cidr': '183.70.105.128/26', 'allocation_pools': [{'start': '183.70.105.130', 'end': '183.70.105.190'}], 'gateway_ip': '183.70.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.70.105.130', 'tags': [], 'project_id': '4e64e9e01abd400182c76e4cff6025a6'}} 2025-07-09 11:37:54,008 - INFO - Created VN ctest-vn-09108017 2025-07-09 11:37:54,068 - DEBUG - VN ctest-vn-09108017 UUID is ed99d9c0-dabf-4244-926f-426478458479 2025-07-09 11:37:54,448 - DEBUG - Response for create_network : {'network': {'id': 'dd1f7098-f5eb-40dd-b607-842426b0697e', 'name': 'ctest-vn-41698386', 'tenant_id': '4e64e9e01abd400182c76e4cff6025a6', 'project_id': '4e64e9e01abd400182c76e4cff6025a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-vn-41698386'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 11:37:54,634 - DEBUG - Response for create_subnet : {'subnet': {'id': '62493f98-5777-4f92-b9b3-7d8f94c37c91', 'name': '', 'tenant_id': '4e64e9e01abd400182c76e4cff6025a6', 'network_id': 'dd1f7098-f5eb-40dd-b607-842426b0697e', 'ip_version': 4, 'cidr': '90.0.227.128/26', 'allocation_pools': [{'start': '90.0.227.130', 'end': '90.0.227.190'}], 'gateway_ip': '90.0.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.0.227.130', 'tags': [], 'project_id': '4e64e9e01abd400182c76e4cff6025a6'}} 2025-07-09 11:37:54,657 - INFO - Created VN ctest-vn-41698386 2025-07-09 11:37:54,711 - DEBUG - VN ctest-vn-41698386 UUID is dd1f7098-f5eb-40dd-b607-842426b0697e 2025-07-09 11:37:54,842 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-09108017, 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-94168698:ctest-vn-41698386, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-07-09 11:37:55,198 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed99d9c0-dabf-4244-926f-426478458479', 'name': 'ctest-vn-09108017', 'tenant_id': '4e64e9e01abd400182c76e4cff6025a6', 'project_id': '4e64e9e01abd400182c76e4cff6025a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c631353c-11ea-40ec-a797-be947ba04752'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-vn-09108017'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-policy-allow-all-59692918']], 'subnet_ipam': [{'subnet_cidr': '183.70.105.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 11:37:55,447 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dd1f7098-f5eb-40dd-b607-842426b0697e', 'name': 'ctest-vn-41698386', 'tenant_id': '4e64e9e01abd400182c76e4cff6025a6', 'project_id': '4e64e9e01abd400182c76e4cff6025a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['62493f98-5777-4f92-b9b3-7d8f94c37c91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-vn-41698386'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-policy-allow-all-59692918']], 'subnet_ipam': [{'subnet_cidr': '90.0.227.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-09 11:37:55,608 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 11:37:55,974 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 11:37:56,015 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e147c92-30c5-47eb-afb8-aac381ec118e 2025-07-09 11:37:56,032 - DEBUG - Requesting: http://10.0.0.50:8082/project/4e64e9e0-1abd-4001-82c7-6e4cff6025a6 2025-07-09 11:37:56,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed99d9c0-dabf-4244-926f-426478458479 2025-07-09 11:37:56,132 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed99d9c0-dabf-4244-926f-426478458479 2025-07-09 11:37:56,146 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df498ef3-83c5-4603-bd4b-42b1e1327288 2025-07-09 11:37:56,156 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df498ef3-83c5-4603-bd4b-42b1e1327288 2025-07-09 11:37:56,166 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/58e66318-954c-4169-aa21-c16a889420fa 2025-07-09 11:37:56,174 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 11:37:56,174 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed99d9c0-dabf-4244-926f-426478458479 2025-07-09 11:37:56,188 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df498ef3-83c5-4603-bd4b-42b1e1327288 2025-07-09 11:37:56,208 - INFO - Verified VN network id 7 for VN ed99d9c0-dabf-4244-926f-426478458479 2025-07-09 11:37:56,208 - INFO - Verifications in API Server for VN ctest-vn-09108017 passed 2025-07-09 11:37:56,209 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed99d9c0-dabf-4244-926f-426478458479 2025-07-09 11:37:56,221 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df498ef3-83c5-4603-bd4b-42b1e1327288 2025-07-09 11:37:56,232 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df498ef3-83c5-4603-bd4b-42b1e1327288 2025-07-09 11:37:56,243 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/58e66318-954c-4169-aa21-c16a889420fa 2025-07-09 11:37:56,265 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-09108017', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94168698', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17120954880752566852', 'uuid-lslong': '10551725451234346105'}, 'enable': 'true', 'created': '2025-07-09T11:37:53', 'last-modified': '2025-07-09T11:37:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.101187'} 2025-07-09 11:37:56,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-09 11:37:56,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09108017 passed 2025-07-09 11:37:56,275 - DEBUG - ====Verifying policy data for ctest-vn-09108017 in API_Server ====== 2025-07-09 11:37:56,275 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 11:37:56,284 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e147c92-30c5-47eb-afb8-aac381ec118e 2025-07-09 11:37:56,304 - DEBUG - Requesting: http://10.0.0.50:8082/project/4e64e9e0-1abd-4001-82c7-6e4cff6025a6 2025-07-09 11:37:56,392 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed99d9c0-dabf-4244-926f-426478458479 2025-07-09 11:37:56,408 - DEBUG - ==>Verifying data for policy with id: d913b722-a3a6-4c01-b483-8624306ea27b, fqn: ['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-policy-allow-all-59692918'] 2025-07-09 11:37:56,408 - INFO - VN ctest-vn-09108017 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 11:37:56,408 - DEBUG - Verifying the vn in opserver 2025-07-09 11:37:56,408 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-09108017 virtual network link through opserver 10.0.0.50 2025-07-09 11:37:56,408 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-09 11:37:56,766 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-09 11:37:56,858 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-09108017', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-09108017?flat'} 2025-07-09 11:37:56,858 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-09108017 is found in opserver 2025-07-09 11:37:56,877 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 11:37:56,887 - DEBUG - VRF ids for VN ctest-vn-09108017: {} 2025-07-09 11:37:56,887 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 11:37:56,895 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e147c92-30c5-47eb-afb8-aac381ec118e 2025-07-09 11:37:56,910 - DEBUG - Requesting: http://10.0.0.50:8082/project/4e64e9e0-1abd-4001-82c7-6e4cff6025a6 2025-07-09 11:37:56,995 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd1f7098-f5eb-40dd-b607-842426b0697e 2025-07-09 11:37:57,013 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd1f7098-f5eb-40dd-b607-842426b0697e 2025-07-09 11:37:57,027 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fb1f5d1-3fb3-4d17-b2b5-b95212a90cd6 2025-07-09 11:37:57,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fb1f5d1-3fb3-4d17-b2b5-b95212a90cd6 2025-07-09 11:37:57,048 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2443f702-3eae-4eda-a418-850755e987a3 2025-07-09 11:37:57,059 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 11:37:57,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd1f7098-f5eb-40dd-b607-842426b0697e 2025-07-09 11:37:57,072 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fb1f5d1-3fb3-4d17-b2b5-b95212a90cd6 2025-07-09 11:37:57,093 - INFO - Verified VN network id 8 for VN dd1f7098-f5eb-40dd-b607-842426b0697e 2025-07-09 11:37:57,093 - INFO - Verifications in API Server for VN ctest-vn-41698386 passed 2025-07-09 11:37:57,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd1f7098-f5eb-40dd-b607-842426b0697e 2025-07-09 11:37:57,106 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fb1f5d1-3fb3-4d17-b2b5-b95212a90cd6 2025-07-09 11:37:57,116 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fb1f5d1-3fb3-4d17-b2b5-b95212a90cd6 2025-07-09 11:37:57,125 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2443f702-3eae-4eda-a418-850755e987a3 2025-07-09 11:37:57,144 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-41698386', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94168698', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15933577808923279581', 'uuid-lslong': '13116597730542643582'}, 'enable': 'true', 'created': '2025-07-09T11:37:54', 'last-modified': '2025-07-09T11:37:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.720282'} 2025-07-09 11:37:57,153 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-09 11:37:57,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41698386 passed 2025-07-09 11:37:57,153 - DEBUG - ====Verifying policy data for ctest-vn-41698386 in API_Server ====== 2025-07-09 11:37:57,153 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 11:37:57,161 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e147c92-30c5-47eb-afb8-aac381ec118e 2025-07-09 11:37:57,182 - DEBUG - Requesting: http://10.0.0.50:8082/project/4e64e9e0-1abd-4001-82c7-6e4cff6025a6 2025-07-09 11:37:57,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dd1f7098-f5eb-40dd-b607-842426b0697e 2025-07-09 11:37:57,278 - DEBUG - ==>Verifying data for policy with id: d913b722-a3a6-4c01-b483-8624306ea27b, fqn: ['default-domain', 'ctest-TestBasicPolicy-94168698', 'ctest-policy-allow-all-59692918'] 2025-07-09 11:37:57,278 - INFO - VN ctest-vn-41698386 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-09 11:37:57,278 - DEBUG - Verifying the vn in opserver 2025-07-09 11:37:57,280 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-41698386 virtual network link through opserver 10.0.0.50 2025-07-09 11:37:57,280 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-09 11:37:57,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-41698386', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-41698386?flat'} 2025-07-09 11:37:57,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-41698386 is found in opserver 2025-07-09 11:37:57,310 - DEBUG - Do not have enough data to verify VN in agent 2025-07-09 11:37:57,318 - DEBUG - VRF ids for VN ctest-vn-41698386: {} 2025-07-09 11:37:57,396 - DEBUG - Services list from nova: [, , ] 2025-07-09 11:37:58,848 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3617-1) 2025-07-09 11:38:00,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3617-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3617-1) 2025-07-09 11:38:00,412 - INFO - Waiting for VM ctest-TestBasicPolicy-94168698-27345132 to be up.. 2025-07-09 11:38:00,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 11:38:05,667 - DEBUG - VM is in ACTIVE state now 2025-07-09 11:38:05,667 - INFO - VM name : ctest-TestBasicPolicy-94168698-27345132 2025-07-09 11:38:05,772 - DEBUG - VM ctest-TestBasicPolicy-94168698-27345132 ID is d24bcd29-b15b-49b1-8e80-672d2c08dc23 2025-07-09 11:38:05,799 - DEBUG - VM ctest-TestBasicPolicy-94168698-27345132 launched on Node cn-jenkins-deploy-platform-ansible-os-3617-1 2025-07-09 11:38:05,898 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d24bcd29-b15b-49b1-8e80-672d2c08dc23 2025-07-09 11:38:05,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0228afa1-c8cf-4bd4-9c8f-706d196e44b5 2025-07-09 11:38:09,209 - 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 1024ms') 2025-07-09 11:38:09,210 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94168698-27345132 failed! 2025-07-09 11:38:09,276 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94168698:ctest-vn-09108017 is 183.70.105.129 and allocation pool is NOT set 2025-07-09 11:38:13,367 - 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=5.81 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 5.814/5.814/5.814/0.000 ms') 2025-07-09 11:38:13,367 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94168698-27345132 passed 2025-07-09 11:38:13,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 11:38:13,528 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94168698-27345132, IP 183.70.105.131, Port 22 2025-07-09 11:38:13,698 - DEBUG - VM ctest-TestBasicPolicy-94168698-27345132 is ready for SSH connections 2025-07-09 11:38:13,698 - INFO - Waiting for VM ctest-TestBasicPolicy-94168698-27115481 to be up.. 2025-07-09 11:38:13,805 - DEBUG - VM is in ACTIVE state now 2025-07-09 11:38:13,805 - INFO - VM name : ctest-TestBasicPolicy-94168698-27115481 2025-07-09 11:38:13,909 - DEBUG - VM ctest-TestBasicPolicy-94168698-27115481 ID is cb093bda-f64c-42b0-818d-c0f40a8de491 2025-07-09 11:38:13,909 - DEBUG - VM ctest-TestBasicPolicy-94168698-27115481 launched on Node cn-jenkins-deploy-platform-ansible-os-3617-1 2025-07-09 11:38:14,021 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cb093bda-f64c-42b0-818d-c0f40a8de491 2025-07-09 11:38:14,034 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/61f4412b-9bce-4a83-a989-af4cc379cb45 2025-07-09 11:38:15,300 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.46 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.464/2.915/4.367/1.451 ms') 2025-07-09 11:38:15,300 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94168698-27115481 passed 2025-07-09 11:38:15,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 11:38:15,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94168698-27115481, IP 90.0.227.131, Port 22 2025-07-09 11:38:15,637 - DEBUG - VM ctest-TestBasicPolicy-94168698-27115481 is ready for SSH connections 2025-07-09 11:38:15,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 11:38:15,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.0.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-09 11:38:15,638 - DEBUG - ping -s 56 -c 3 -W 1 90.0.227.131 2025-07-09 11:38:19,860 - DEBUG - PING 90.0.227.131 (90.0.227.131): 56 data bytes 64 bytes from 90.0.227.131: seq=0 ttl=63 time=5.679 ms 64 bytes from 90.0.227.131: seq=1 ttl=63 time=1.314 ms 64 bytes from 90.0.227.131: seq=2 ttl=63 time=1.398 ms --- 90.0.227.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.314/2.797/5.679 ms 2025-07-09 11:38:19,860 - INFO - Ping to IP 90.0.227.131 from VM ctest-TestBasicPolicy-94168698-27345132 passed 2025-07-09 11:38:20,055 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d913b722-a3a6-4c01-b483-8624306ea27b", "href": "http://10.0.0.50:8082/network-policy/d913b722-a3a6-4c01-b483-8624306ea27b"}} 2025-07-09 11:38:20,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 11:38:20,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.0.227.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-09 11:38:20,056 - DEBUG - ping -s 56 -c 3 -W 1 90.0.227.131 2025-07-09 11:38:23,308 - DEBUG - PING 90.0.227.131 (90.0.227.131): 56 data bytes --- 90.0.227.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-09 11:38:23,308 - WARNING - Ping to IP 90.0.227.131 from VM ctest-TestBasicPolicy-94168698-27345132 failed 2025-07-09 11:38:23,309 - INFO - Deleting VM ctest-TestBasicPolicy-94168698-27115481 2025-07-09 11:38:23,425 - INFO - Deleting VM ctest-TestBasicPolicy-94168698-27345132 2025-07-09 11:38:24,028 - INFO - Deleted policy ctest-policy-allow-all-59692918 2025-07-09 11:38:24,028 - INFO - Deleting VN ctest-vn-41698386 2025-07-09 11:38:24,078 - DEBUG - VN dd1f7098-f5eb-40dd-b607-842426b0697e still in use: Unable to complete operation on network dd1f7098-f5eb-40dd-b607-842426b0697e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ecef1e2-e0c9-4b04-8d33-8e3f52dde965'] 2025-07-09 11:38:24,079 - WARNING - Deleting VN ctest-vn-41698386 failed..Will retry 2025-07-09 11:38:26,234 - DEBUG - Response for deleting network () 2025-07-09 11:38:26,234 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7fb1f5d1-3fb3-4d17-b2b5-b95212a90cd6 2025-07-09 11:38:26,242 - DEBUG - Response Code: 404 2025-07-09 11:38:26,242 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 11:38:26,250 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e147c92-30c5-47eb-afb8-aac381ec118e 2025-07-09 11:38:26,311 - DEBUG - Requesting: http://10.0.0.50:8082/project/4e64e9e0-1abd-4001-82c7-6e4cff6025a6 2025-07-09 11:38:26,396 - INFO - Validated that VN ctest-vn-41698386 is not found in API Server 2025-07-09 11:38:26,413 - DEBUG - VN ctest-vn-41698386 is not present in Agent 10.0.0.50 2025-07-09 11:38:26,414 - INFO - Validated that VN ctest-vn-41698386 is not in any agent 2025-07-09 11:38:26,438 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41698386 info 2025-07-09 11:38:26,438 - INFO - Deleting VN ctest-vn-09108017 2025-07-09 11:38:26,594 - DEBUG - Response for deleting network () 2025-07-09 11:38:26,594 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/df498ef3-83c5-4603-bd4b-42b1e1327288 2025-07-09 11:38:26,606 - DEBUG - Response Code: 404 2025-07-09 11:38:26,606 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-09 11:38:26,617 - DEBUG - Requesting: http://10.0.0.50:8082/domain/6e147c92-30c5-47eb-afb8-aac381ec118e 2025-07-09 11:38:26,675 - DEBUG - Requesting: http://10.0.0.50:8082/project/4e64e9e0-1abd-4001-82c7-6e4cff6025a6 2025-07-09 11:38:26,763 - INFO - Validated that VN ctest-vn-09108017 is not found in API Server 2025-07-09 11:38:26,777 - DEBUG - VN ctest-vn-09108017 is not present in Agent 10.0.0.50 2025-07-09 11:38:26,777 - INFO - Validated that VN ctest-vn-09108017 is not in any agent 2025-07-09 11:38:26,798 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09108017 info 2025-07-09 11:38:27,064 - DEBUG - No XMPP flaps were noticed during the test
2025-07-09 11:38:27,064 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-07-09 11:38:27,064 - INFO - -------------------------------------------------------------------------------- 2025-07-09 11:38:27,873 - INFO - Deleted project: ctest-TestBasicPolicy-94168698, ID : 4e64e9e0-1abd-4001-82c7-6e4cff6025a6