2025-04-04 16:02:32,306 - INFO - Domain Default found not creating 2025-04-04 16:02:32,529 - INFO - Project ctest-TestBasicPolicy-73418384 not found, creating it 2025-04-04 16:02:33,120 - INFO - Created Project:ctest-TestBasicPolicy-73418384, ID : 10c444f3-426c-40b7-8fc6-f26670395e6a 2025-04-04 16:02:35,090 - INFO - ================================================================================ 2025-04-04 16:02:35,090 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-04 16:02:35,090 - 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-04-04 16:02:35,368 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.22': '0'}} with 2025-04-04 16:02:35,368 - INFO - Initial checks done. Running the testcase now 2025-04-04 16:02:35,369 - INFO - 2025-04-04 16:02:36,087 - DEBUG - Response for create_network : {'network': {'id': '2b458880-9e37-4284-9df4-eb0844c0b8ba', 'name': 'ctest-vn-44132407', 'tenant_id': '10c444f3426c40b78fc6f26670395e6a', 'project_id': '10c444f3426c40b78fc6f26670395e6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-vn-44132407'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 16:02:36,344 - DEBUG - Response for create_subnet : {'subnet': {'id': '1404073e-99d8-421e-a82d-c92bbbe9f6f1', 'name': '', 'tenant_id': '10c444f3426c40b78fc6f26670395e6a', 'network_id': '2b458880-9e37-4284-9df4-eb0844c0b8ba', 'ip_version': 4, 'cidr': '64.53.97.192/26', 'allocation_pools': [{'start': '64.53.97.194', 'end': '64.53.97.254'}], 'gateway_ip': '64.53.97.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.53.97.194', 'tags': [], 'project_id': '10c444f3426c40b78fc6f26670395e6a'}} 2025-04-04 16:02:36,370 - INFO - Created VN ctest-vn-44132407 2025-04-04 16:02:36,432 - DEBUG - VN ctest-vn-44132407 UUID is 2b458880-9e37-4284-9df4-eb0844c0b8ba 2025-04-04 16:02:36,831 - DEBUG - Response for create_network : {'network': {'id': '165dd2c1-1624-4762-a76e-c9dc416d56ab', 'name': 'ctest-vn-51629482', 'tenant_id': '10c444f3426c40b78fc6f26670395e6a', 'project_id': '10c444f3426c40b78fc6f26670395e6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-vn-51629482'], 'port_security_enabled': True, 'description': ''}} 2025-04-04 16:02:37,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be41f0c4-f6df-4cf6-8175-c9ac5a1e9636', 'name': '', 'tenant_id': '10c444f3426c40b78fc6f26670395e6a', 'network_id': '165dd2c1-1624-4762-a76e-c9dc416d56ab', 'ip_version': 4, 'cidr': '200.216.239.128/26', 'allocation_pools': [{'start': '200.216.239.130', 'end': '200.216.239.190'}], 'gateway_ip': '200.216.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.216.239.130', 'tags': [], 'project_id': '10c444f3426c40b78fc6f26670395e6a'}} 2025-04-04 16:02:37,120 - INFO - Created VN ctest-vn-51629482 2025-04-04 16:02:37,180 - DEBUG - VN ctest-vn-51629482 UUID is 165dd2c1-1624-4762-a76e-c9dc416d56ab 2025-04-04 16:02:37,332 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407, 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-73418384:ctest-vn-51629482, 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-04-04 16:02:37,716 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b458880-9e37-4284-9df4-eb0844c0b8ba', 'name': 'ctest-vn-44132407', 'tenant_id': '10c444f3426c40b78fc6f26670395e6a', 'project_id': '10c444f3426c40b78fc6f26670395e6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1404073e-99d8-421e-a82d-c92bbbe9f6f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-vn-44132407'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-policy-allow-all-71773942']], 'subnet_ipam': [{'subnet_cidr': '64.53.97.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-04 16:02:38,076 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '165dd2c1-1624-4762-a76e-c9dc416d56ab', 'name': 'ctest-vn-51629482', 'tenant_id': '10c444f3426c40b78fc6f26670395e6a', 'project_id': '10c444f3426c40b78fc6f26670395e6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['be41f0c4-f6df-4cf6-8175-c9ac5a1e9636'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-vn-51629482'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-policy-allow-all-71773942']], 'subnet_ipam': [{'subnet_cidr': '200.216.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-04 16:02:38,232 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-04 16:02:38,612 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-04 16:02:38,650 - DEBUG - Requesting: http://10.0.0.23:8082/domain/f784d047-3894-44a0-961b-085879a20793 2025-04-04 16:02:38,672 - DEBUG - Requesting: http://10.0.0.23:8082/project/10c444f3-426c-40b7-8fc6-f26670395e6a 2025-04-04 16:02:38,770 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2b458880-9e37-4284-9df4-eb0844c0b8ba 2025-04-04 16:02:38,786 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2b458880-9e37-4284-9df4-eb0844c0b8ba 2025-04-04 16:02:38,807 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1259ffec-6d51-47f6-beac-a8b8db733b97 2025-04-04 16:02:38,819 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1259ffec-6d51-47f6-beac-a8b8db733b97 2025-04-04 16:02:38,829 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/62b3c9be-1a6c-4f41-aa07-a958edfcff7a 2025-04-04 16:02:38,838 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-04 16:02:38,839 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2b458880-9e37-4284-9df4-eb0844c0b8ba 2025-04-04 16:02:38,854 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1259ffec-6d51-47f6-beac-a8b8db733b97 2025-04-04 16:02:38,887 - INFO - Verified VN network id 8 for VN 2b458880-9e37-4284-9df4-eb0844c0b8ba 2025-04-04 16:02:38,887 - INFO - Verifications in API Server for VN ctest-vn-44132407 passed 2025-04-04 16:02:38,888 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2b458880-9e37-4284-9df4-eb0844c0b8ba 2025-04-04 16:02:38,906 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1259ffec-6d51-47f6-beac-a8b8db733b97 2025-04-04 16:02:38,916 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1259ffec-6d51-47f6-beac-a8b8db733b97 2025-04-04 16:02:38,929 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/62b3c9be-1a6c-4f41-aa07-a958edfcff7a 2025-04-04 16:02:38,951 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73418384', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3118048403015549572', 'uuid-lslong': '11381980579017832634'}, 'enable': 'true', 'created': '2025-04-04T16:02:36', 'last-modified': '2025-04-04T16:02:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.278992'} 2025-04-04 16:02:38,961 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-04 16:02:38,961 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44132407 passed 2025-04-04 16:02:38,961 - DEBUG - ====Verifying policy data for ctest-vn-44132407 in API_Server ====== 2025-04-04 16:02:38,962 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-04 16:02:38,971 - DEBUG - Requesting: http://10.0.0.23:8082/domain/f784d047-3894-44a0-961b-085879a20793 2025-04-04 16:02:38,988 - DEBUG - Requesting: http://10.0.0.23:8082/project/10c444f3-426c-40b7-8fc6-f26670395e6a 2025-04-04 16:02:39,081 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/2b458880-9e37-4284-9df4-eb0844c0b8ba 2025-04-04 16:02:39,097 - DEBUG - ==>Verifying data for policy with id: 2483ca69-1208-4c7e-88e0-85d91d4ace84, fqn: ['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-policy-allow-all-71773942'] 2025-04-04 16:02:39,097 - INFO - VN ctest-vn-44132407 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-04 16:02:39,097 - DEBUG - Verifying the vn in opserver 2025-04-04 16:02:39,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407 virtual network link through opserver 10.0.0.23 2025-04-04 16:02:39,097 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-04 16:02:39,466 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-04 16:02:39,558 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407?flat'} 2025-04-04 16:02:39,558 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407 is found in opserver 2025-04-04 16:02:39,576 - DEBUG - Do not have enough data to verify VN in agent 2025-04-04 16:02:39,583 - DEBUG - VRF ids for VN ctest-vn-44132407: {} 2025-04-04 16:02:39,583 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-04 16:02:39,592 - DEBUG - Requesting: http://10.0.0.23:8082/domain/f784d047-3894-44a0-961b-085879a20793 2025-04-04 16:02:39,618 - DEBUG - Requesting: http://10.0.0.23:8082/project/10c444f3-426c-40b7-8fc6-f26670395e6a 2025-04-04 16:02:39,710 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/165dd2c1-1624-4762-a76e-c9dc416d56ab 2025-04-04 16:02:39,738 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/165dd2c1-1624-4762-a76e-c9dc416d56ab 2025-04-04 16:02:39,755 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1895c1a5-b426-4e35-af43-8ef1a05ec230 2025-04-04 16:02:39,766 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1895c1a5-b426-4e35-af43-8ef1a05ec230 2025-04-04 16:02:39,777 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/fcae1465-48c6-4bb3-8fbc-c5ca2affec60 2025-04-04 16:02:39,792 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-04 16:02:39,792 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/165dd2c1-1624-4762-a76e-c9dc416d56ab 2025-04-04 16:02:39,806 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1895c1a5-b426-4e35-af43-8ef1a05ec230 2025-04-04 16:02:39,828 - INFO - Verified VN network id 9 for VN 165dd2c1-1624-4762-a76e-c9dc416d56ab 2025-04-04 16:02:39,829 - INFO - Verifications in API Server for VN ctest-vn-51629482 passed 2025-04-04 16:02:39,829 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/165dd2c1-1624-4762-a76e-c9dc416d56ab 2025-04-04 16:02:39,843 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1895c1a5-b426-4e35-af43-8ef1a05ec230 2025-04-04 16:02:39,855 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1895c1a5-b426-4e35-af43-8ef1a05ec230 2025-04-04 16:02:39,867 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/fcae1465-48c6-4bb3-8fbc-c5ca2affec60 2025-04-04 16:02:39,886 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-51629482', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73418384', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1611675968410503010', 'uuid-lslong': '12064802399599810219'}, 'enable': 'true', 'created': '2025-04-04T16:02:36', 'last-modified': '2025-04-04T16:02:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.910545'} 2025-04-04 16:02:39,898 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-04 16:02:39,898 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51629482 passed 2025-04-04 16:02:39,898 - DEBUG - ====Verifying policy data for ctest-vn-51629482 in API_Server ====== 2025-04-04 16:02:39,899 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-04 16:02:39,907 - DEBUG - Requesting: http://10.0.0.23:8082/domain/f784d047-3894-44a0-961b-085879a20793 2025-04-04 16:02:39,922 - DEBUG - Requesting: http://10.0.0.23:8082/project/10c444f3-426c-40b7-8fc6-f26670395e6a 2025-04-04 16:02:40,013 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/165dd2c1-1624-4762-a76e-c9dc416d56ab 2025-04-04 16:02:40,029 - DEBUG - ==>Verifying data for policy with id: 2483ca69-1208-4c7e-88e0-85d91d4ace84, fqn: ['default-domain', 'ctest-TestBasicPolicy-73418384', 'ctest-policy-allow-all-71773942'] 2025-04-04 16:02:40,029 - INFO - VN ctest-vn-51629482 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-04 16:02:40,029 - DEBUG - Verifying the vn in opserver 2025-04-04 16:02:40,029 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-51629482 virtual network link through opserver 10.0.0.23 2025-04-04 16:02:40,029 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-04 16:02:40,049 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-51629482', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-51629482?flat'} 2025-04-04 16:02:40,049 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-51629482 is found in opserver 2025-04-04 16:02:40,067 - DEBUG - Do not have enough data to verify VN in agent 2025-04-04 16:02:40,078 - DEBUG - VRF ids for VN ctest-vn-51629482: {} 2025-04-04 16:02:40,157 - DEBUG - Services list from nova: [, , ] 2025-04-04 16:02:41,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3036-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3036-1) 2025-04-04 16:02:43,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3036-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3036-1) 2025-04-04 16:02:43,214 - INFO - Waiting for VM ctest-TestBasicPolicy-73418384-93307213 to be up.. 2025-04-04 16:02:43,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-04 16:02:48,515 - DEBUG - VM is in ACTIVE state now 2025-04-04 16:02:48,515 - INFO - VM name : ctest-TestBasicPolicy-73418384-93307213 2025-04-04 16:02:48,651 - DEBUG - VM ctest-TestBasicPolicy-73418384-93307213 ID is c3131077-ad7c-4c9d-bd54-53e77ae03f5a 2025-04-04 16:02:48,687 - DEBUG - VM ctest-TestBasicPolicy-73418384-93307213 launched on Node cn-jenkins-deploy-platform-ansible-os-3036-1 2025-04-04 16:02:48,829 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/c3131077-ad7c-4c9d-bd54-53e77ae03f5a 2025-04-04 16:02:48,848 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a3cac3c2-abbd-4c30-b4df-62f13b93d7a2 2025-04-04 16:02:52,169 - 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 1022ms') 2025-04-04 16:02:52,169 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73418384-93307213 failed! 2025-04-04 16:02:52,232 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407 is 64.53.97.193 and allocation pool is NOT set 2025-04-04 16:02:56,333 - 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 1029ms') 2025-04-04 16:02:56,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73418384-93307213 failed! 2025-04-04 16:02:56,400 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73418384:ctest-vn-44132407 is 64.53.97.193 and allocation pool is NOT set 2025-04-04 16:02:58,476 - 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=6.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.547 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.547/3.305/6.063/2.758 ms') 2025-04-04 16:02:58,476 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73418384-93307213 passed 2025-04-04 16:02:58,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 16:02:58,648 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73418384-93307213, IP 64.53.97.195, Port 22 2025-04-04 16:02:58,822 - DEBUG - VM ctest-TestBasicPolicy-73418384-93307213 is ready for SSH connections 2025-04-04 16:02:58,822 - INFO - Waiting for VM ctest-TestBasicPolicy-73418384-59679969 to be up.. 2025-04-04 16:02:58,938 - DEBUG - VM is in ACTIVE state now 2025-04-04 16:02:58,938 - INFO - VM name : ctest-TestBasicPolicy-73418384-59679969 2025-04-04 16:02:59,047 - DEBUG - VM ctest-TestBasicPolicy-73418384-59679969 ID is 378621b6-aed9-4db5-a244-abf9f8f18c2d 2025-04-04 16:02:59,047 - DEBUG - VM ctest-TestBasicPolicy-73418384-59679969 launched on Node cn-jenkins-deploy-platform-ansible-os-3036-1 2025-04-04 16:02:59,165 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/378621b6-aed9-4db5-a244-abf9f8f18c2d 2025-04-04 16:02:59,177 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/59a53d5f-aaff-4928-97c1-debddf5c7c90 2025-04-04 16:03:00,441 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.840 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.840/2.567/4.295/1.727 ms') 2025-04-04 16:03:00,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73418384-59679969 passed 2025-04-04 16:03:00,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 16:03:00,604 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73418384-59679969, IP 200.216.239.131, Port 22 2025-04-04 16:03:00,778 - DEBUG - VM ctest-TestBasicPolicy-73418384-59679969 is ready for SSH connections 2025-04-04 16:03:00,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 16:03:00,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.216.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-04 16:03:00,779 - DEBUG - ping -s 56 -c 3 -W 1 200.216.239.131 2025-04-04 16:03:05,131 - DEBUG - PING 200.216.239.131 (200.216.239.131): 56 data bytes 64 bytes from 200.216.239.131: seq=0 ttl=63 time=5.728 ms 64 bytes from 200.216.239.131: seq=1 ttl=63 time=1.323 ms 64 bytes from 200.216.239.131: seq=2 ttl=63 time=1.469 ms --- 200.216.239.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.323/2.840/5.728 ms 2025-04-04 16:03:05,132 - INFO - Ping to IP 200.216.239.131 from VM ctest-TestBasicPolicy-73418384-93307213 passed 2025-04-04 16:03:05,340 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2483ca69-1208-4c7e-88e0-85d91d4ace84", "href": "http://10.0.0.23:8082/network-policy/2483ca69-1208-4c7e-88e0-85d91d4ace84"}} 2025-04-04 16:03:05,340 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-04 16:03:05,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.216.239.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-04 16:03:05,340 - DEBUG - ping -s 56 -c 3 -W 1 200.216.239.131 2025-04-04 16:03:08,599 - DEBUG - PING 200.216.239.131 (200.216.239.131): 56 data bytes --- 200.216.239.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-04 16:03:08,599 - WARNING - Ping to IP 200.216.239.131 from VM ctest-TestBasicPolicy-73418384-93307213 failed 2025-04-04 16:03:08,599 - INFO - Deleting VM ctest-TestBasicPolicy-73418384-59679969 2025-04-04 16:03:08,708 - INFO - Deleting VM ctest-TestBasicPolicy-73418384-93307213 2025-04-04 16:03:09,370 - INFO - Deleted policy ctest-policy-allow-all-71773942 2025-04-04 16:03:09,370 - INFO - Deleting VN ctest-vn-51629482 2025-04-04 16:03:09,431 - DEBUG - VN 165dd2c1-1624-4762-a76e-c9dc416d56ab still in use: Unable to complete operation on network 165dd2c1-1624-4762-a76e-c9dc416d56ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46afc52e-a0ba-4065-8372-3bc1f746b971'] 2025-04-04 16:03:09,431 - WARNING - Deleting VN ctest-vn-51629482 failed..Will retry 2025-04-04 16:03:11,594 - DEBUG - Response for deleting network () 2025-04-04 16:03:11,594 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1895c1a5-b426-4e35-af43-8ef1a05ec230 2025-04-04 16:03:11,606 - DEBUG - Response Code: 404 2025-04-04 16:03:11,606 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-04 16:03:11,617 - DEBUG - Requesting: http://10.0.0.23:8082/domain/f784d047-3894-44a0-961b-085879a20793 2025-04-04 16:03:11,680 - DEBUG - Requesting: http://10.0.0.23:8082/project/10c444f3-426c-40b7-8fc6-f26670395e6a 2025-04-04 16:03:11,800 - INFO - Validated that VN ctest-vn-51629482 is not found in API Server 2025-04-04 16:03:11,820 - DEBUG - VN ctest-vn-51629482 is not present in Agent 10.0.0.23 2025-04-04 16:03:11,820 - INFO - Validated that VN ctest-vn-51629482 is not in any agent 2025-04-04 16:03:11,846 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51629482 info 2025-04-04 16:03:11,846 - INFO - Deleting VN ctest-vn-44132407 2025-04-04 16:03:12,011 - DEBUG - Response for deleting network () 2025-04-04 16:03:12,011 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/1259ffec-6d51-47f6-beac-a8b8db733b97 2025-04-04 16:03:12,025 - DEBUG - Response Code: 404 2025-04-04 16:03:12,026 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-04 16:03:12,035 - DEBUG - Requesting: http://10.0.0.23:8082/domain/f784d047-3894-44a0-961b-085879a20793 2025-04-04 16:03:12,055 - DEBUG - Requesting: http://10.0.0.23:8082/project/10c444f3-426c-40b7-8fc6-f26670395e6a 2025-04-04 16:03:12,150 - INFO - Validated that VN ctest-vn-44132407 is not found in API Server 2025-04-04 16:03:12,167 - DEBUG - VN ctest-vn-44132407 is not present in Agent 10.0.0.23 2025-04-04 16:03:12,167 - INFO - Validated that VN ctest-vn-44132407 is not in any agent 2025-04-04 16:03:12,205 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44132407 info 2025-04-04 16:03:12,493 - DEBUG - No XMPP flaps were noticed during the test 2025-04-04 16:03:12,493 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-04-04 16:03:12,493 - INFO - -------------------------------------------------------------------------------- 2025-04-04 16:03:13,331 - INFO - Deleted project: ctest-TestBasicPolicy-73418384, ID : 10c444f3-426c-40b7-8fc6-f26670395e6a