2025-12-26 21:46:31,679 - INFO - Domain Default found not creating 2025-12-26 21:46:31,838 - INFO - Project ctest-TestBasicPolicy-58930367 not found, creating it 2025-12-26 21:46:32,292 - INFO - Created Project:ctest-TestBasicPolicy-58930367, ID : 711b9cd2-68c3-4c9f-a0aa-aa41be2d2702 2025-12-26 21:46:33,718 - INFO - ================================================================================ 2025-12-26 21:46:33,719 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-26 21:46:33,719 - 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-12-26 21:46:33,975 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-26 21:46:33,975 - INFO - Initial checks done. Running the testcase now 2025-12-26 21:46:33,975 - INFO - 2025-12-26 21:46:34,504 - DEBUG - Response for create_network : {'network': {'id': '1e49fed6-c4de-413d-b407-eb0fafdb1d35', 'name': 'ctest-vn-57284571', 'tenant_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'project_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-vn-57284571'], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:46:34,650 - DEBUG - Response for create_subnet : {'subnet': {'id': '45a87b62-05ba-417d-8c92-49272612ff52', 'name': '', 'tenant_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'network_id': '1e49fed6-c4de-413d-b407-eb0fafdb1d35', 'ip_version': 4, 'cidr': '45.190.218.64/26', 'allocation_pools': [{'start': '45.190.218.66', 'end': '45.190.218.126'}], 'gateway_ip': '45.190.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.190.218.66', 'tags': [], 'project_id': '711b9cd268c34c9fa0aaaa41be2d2702'}} 2025-12-26 21:46:34,666 - INFO - Created VN ctest-vn-57284571 2025-12-26 21:46:34,718 - DEBUG - VN ctest-vn-57284571 UUID is 1e49fed6-c4de-413d-b407-eb0fafdb1d35 2025-12-26 21:46:35,030 - DEBUG - Response for create_network : {'network': {'id': 'c913da7d-a991-4a14-a2f5-193e000eedbf', 'name': 'ctest-vn-25199420', 'tenant_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'project_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-vn-25199420'], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:46:35,208 - DEBUG - Response for create_subnet : {'subnet': {'id': '75f27b4b-910a-4f1a-a505-83b574d56ab7', 'name': '', 'tenant_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'network_id': 'c913da7d-a991-4a14-a2f5-193e000eedbf', 'ip_version': 4, 'cidr': '58.50.245.128/26', 'allocation_pools': [{'start': '58.50.245.130', 'end': '58.50.245.190'}], 'gateway_ip': '58.50.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.50.245.130', 'tags': [], 'project_id': '711b9cd268c34c9fa0aaaa41be2d2702'}} 2025-12-26 21:46:35,227 - INFO - Created VN ctest-vn-25199420 2025-12-26 21:46:35,278 - DEBUG - VN ctest-vn-25199420 UUID is c913da7d-a991-4a14-a2f5-193e000eedbf 2025-12-26 21:46:35,421 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-57284571, 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-58930367:ctest-vn-25199420, 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-12-26 21:46:35,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e49fed6-c4de-413d-b407-eb0fafdb1d35', 'name': 'ctest-vn-57284571', 'tenant_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'project_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45a87b62-05ba-417d-8c92-49272612ff52'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-vn-57284571'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-policy-allow-all-22838712']], 'subnet_ipam': [{'subnet_cidr': '45.190.218.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:46:35,920 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c913da7d-a991-4a14-a2f5-193e000eedbf', 'name': 'ctest-vn-25199420', 'tenant_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'project_id': '711b9cd268c34c9fa0aaaa41be2d2702', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75f27b4b-910a-4f1a-a505-83b574d56ab7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-vn-25199420'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-policy-allow-all-22838712']], 'subnet_ipam': [{'subnet_cidr': '58.50.245.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:46:36,074 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-26 21:46:36,373 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-26 21:46:36,402 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f463c1f4-6ed2-4036-9a7e-cf74c999a050 2025-12-26 21:46:36,413 - DEBUG - Requesting: http://10.0.0.33:8082/project/711b9cd2-68c3-4c9f-a0aa-aa41be2d2702 2025-12-26 21:46:36,484 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1e49fed6-c4de-413d-b407-eb0fafdb1d35 2025-12-26 21:46:36,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1e49fed6-c4de-413d-b407-eb0fafdb1d35 2025-12-26 21:46:36,504 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/65e14070-1109-408a-ad8d-3a1ce762c056 2025-12-26 21:46:36,510 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/65e14070-1109-408a-ad8d-3a1ce762c056 2025-12-26 21:46:36,517 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/221e89fb-0f37-4a64-bd4c-3049d3ec1a2c 2025-12-26 21:46:36,523 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-26 21:46:36,523 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1e49fed6-c4de-413d-b407-eb0fafdb1d35 2025-12-26 21:46:36,532 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/65e14070-1109-408a-ad8d-3a1ce762c056 2025-12-26 21:46:36,545 - INFO - Verified VN network id 12 for VN 1e49fed6-c4de-413d-b407-eb0fafdb1d35 2025-12-26 21:46:36,545 - INFO - Verifications in API Server for VN ctest-vn-57284571 passed 2025-12-26 21:46:36,545 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1e49fed6-c4de-413d-b407-eb0fafdb1d35 2025-12-26 21:46:36,553 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/65e14070-1109-408a-ad8d-3a1ce762c056 2025-12-26 21:46:36,560 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/65e14070-1109-408a-ad8d-3a1ce762c056 2025-12-26 21:46:36,566 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/221e89fb-0f37-4a64-bd4c-3049d3ec1a2c 2025-12-26 21:46:36,577 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-57284571', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58930367', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2182555692817072445', 'uuid-lslong': '12972595704271412533'}, 'enable': 'true', 'created': '2025-12-26T21:46:34', 'last-modified': '2025-12-26T21:46:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893923'} 2025-12-26 21:46:36,583 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-26 21:46:36,583 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57284571 passed 2025-12-26 21:46:36,583 - DEBUG - ====Verifying policy data for ctest-vn-57284571 in API_Server ====== 2025-12-26 21:46:36,583 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-26 21:46:36,588 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f463c1f4-6ed2-4036-9a7e-cf74c999a050 2025-12-26 21:46:36,598 - DEBUG - Requesting: http://10.0.0.33:8082/project/711b9cd2-68c3-4c9f-a0aa-aa41be2d2702 2025-12-26 21:46:36,668 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1e49fed6-c4de-413d-b407-eb0fafdb1d35 2025-12-26 21:46:36,677 - DEBUG - ==>Verifying data for policy with id: 2548ef1f-28df-40d0-a241-65f69e0100a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-policy-allow-all-22838712'] 2025-12-26 21:46:36,677 - INFO - VN ctest-vn-57284571 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-26 21:46:36,677 - DEBUG - Verifying the vn in opserver 2025-12-26 21:46:36,677 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-57284571 virtual network link through opserver 10.0.0.33 2025-12-26 21:46:36,678 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-26 21:46:36,971 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-26 21:46:37,041 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-57284571', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-57284571?flat'} 2025-12-26 21:46:37,041 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-57284571 is found in opserver 2025-12-26 21:46:37,049 - DEBUG - Do not have enough data to verify VN in agent 2025-12-26 21:46:37,053 - DEBUG - VRF ids for VN ctest-vn-57284571: {} 2025-12-26 21:46:37,053 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-26 21:46:37,081 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f463c1f4-6ed2-4036-9a7e-cf74c999a050 2025-12-26 21:46:37,113 - DEBUG - Requesting: http://10.0.0.33:8082/project/711b9cd2-68c3-4c9f-a0aa-aa41be2d2702 2025-12-26 21:46:37,263 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c913da7d-a991-4a14-a2f5-193e000eedbf 2025-12-26 21:46:37,278 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c913da7d-a991-4a14-a2f5-193e000eedbf 2025-12-26 21:46:37,290 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/45a8d762-9c79-4ff5-87c9-8e93b253dc7e 2025-12-26 21:46:37,298 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/45a8d762-9c79-4ff5-87c9-8e93b253dc7e 2025-12-26 21:46:37,311 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a445506e-cae5-4010-b600-2d08f9093924 2025-12-26 21:46:37,329 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-26 21:46:37,329 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c913da7d-a991-4a14-a2f5-193e000eedbf 2025-12-26 21:46:37,343 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/45a8d762-9c79-4ff5-87c9-8e93b253dc7e 2025-12-26 21:46:37,364 - INFO - Verified VN network id 13 for VN c913da7d-a991-4a14-a2f5-193e000eedbf 2025-12-26 21:46:37,364 - INFO - Verifications in API Server for VN ctest-vn-25199420 passed 2025-12-26 21:46:37,364 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c913da7d-a991-4a14-a2f5-193e000eedbf 2025-12-26 21:46:37,380 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/45a8d762-9c79-4ff5-87c9-8e93b253dc7e 2025-12-26 21:46:37,387 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/45a8d762-9c79-4ff5-87c9-8e93b253dc7e 2025-12-26 21:46:37,396 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a445506e-cae5-4010-b600-2d08f9093924 2025-12-26 21:46:37,417 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-25199420', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58930367', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14489164659431655956', 'uuid-lslong': '11742319357518081471'}, 'enable': 'true', 'created': '2025-12-26T21:46:34', 'last-modified': '2025-12-26T21:46:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.512433'} 2025-12-26 21:46:37,424 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-26 21:46:37,424 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25199420 passed 2025-12-26 21:46:37,424 - DEBUG - ====Verifying policy data for ctest-vn-25199420 in API_Server ====== 2025-12-26 21:46:37,424 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-26 21:46:37,442 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f463c1f4-6ed2-4036-9a7e-cf74c999a050 2025-12-26 21:46:37,453 - DEBUG - Requesting: http://10.0.0.33:8082/project/711b9cd2-68c3-4c9f-a0aa-aa41be2d2702 2025-12-26 21:46:37,556 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c913da7d-a991-4a14-a2f5-193e000eedbf 2025-12-26 21:46:37,570 - DEBUG - ==>Verifying data for policy with id: 2548ef1f-28df-40d0-a241-65f69e0100a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-58930367', 'ctest-policy-allow-all-22838712'] 2025-12-26 21:46:37,570 - INFO - VN ctest-vn-25199420 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-26 21:46:37,570 - DEBUG - Verifying the vn in opserver 2025-12-26 21:46:37,570 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-25199420 virtual network link through opserver 10.0.0.33 2025-12-26 21:46:37,570 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-26 21:46:37,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-25199420', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-25199420?flat'} 2025-12-26 21:46:37,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-25199420 is found in opserver 2025-12-26 21:46:37,600 - DEBUG - Do not have enough data to verify VN in agent 2025-12-26 21:46:37,608 - DEBUG - VRF ids for VN ctest-vn-25199420: {} 2025-12-26 21:46:37,675 - DEBUG - Services list from nova: [, , ] 2025-12-26 21:46:38,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4929-1) 2025-12-26 21:46:39,804 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4929-1) 2025-12-26 21:46:39,804 - INFO - Waiting for VM ctest-TestBasicPolicy-58930367-64422655 to be up.. 2025-12-26 21:46:39,882 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-26 21:46:44,964 - DEBUG - VM is in ACTIVE state now 2025-12-26 21:46:44,964 - INFO - VM name : ctest-TestBasicPolicy-58930367-64422655 2025-12-26 21:46:45,046 - DEBUG - VM ctest-TestBasicPolicy-58930367-64422655 ID is 78582f9a-6c8c-45c3-a231-b283df1a51be 2025-12-26 21:46:45,064 - DEBUG - VM ctest-TestBasicPolicy-58930367-64422655 launched on Node cn-jenkins-deploy-platform-ansible-os-4929-1 2025-12-26 21:46:45,142 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/78582f9a-6c8c-45c3-a231-b283df1a51be 2025-12-26 21:46:45,151 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fa9d588e-af0d-452e-b6e1-6af66c47a498 2025-12-26 21:46:48,408 - 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 1023ms') 2025-12-26 21:46:48,408 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58930367-64422655 failed! 2025-12-26 21:46:48,462 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58930367:ctest-vn-57284571 is 45.190.218.65 and allocation pool is NOT set 2025-12-26 21:46:50,521 - 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=3.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 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.465/2.126/3.788/1.661 ms') 2025-12-26 21:46:50,521 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58930367-64422655 passed 2025-12-26 21:46:50,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:46:50,678 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58930367-64422655, IP 45.190.218.67, Port 22 2025-12-26 21:46:50,852 - DEBUG - VM ctest-TestBasicPolicy-58930367-64422655 is ready for SSH connections 2025-12-26 21:46:50,852 - INFO - Waiting for VM ctest-TestBasicPolicy-58930367-63658691 to be up.. 2025-12-26 21:46:50,940 - DEBUG - VM is in ACTIVE state now 2025-12-26 21:46:50,940 - INFO - VM name : ctest-TestBasicPolicy-58930367-63658691 2025-12-26 21:46:51,027 - DEBUG - VM ctest-TestBasicPolicy-58930367-63658691 ID is 9a9e17b4-89cb-452a-9506-d322c4877740 2025-12-26 21:46:51,027 - DEBUG - VM ctest-TestBasicPolicy-58930367-63658691 launched on Node cn-jenkins-deploy-platform-ansible-os-4929-1 2025-12-26 21:46:51,103 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9a9e17b4-89cb-452a-9506-d322c4877740 2025-12-26 21:46:51,112 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/53840261-1f07-4741-a2ba-4e8780e207be 2025-12-26 21:46:52,351 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.430/1.813/3.197/1.383 ms') 2025-12-26 21:46:52,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58930367-63658691 passed 2025-12-26 21:46:52,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:46:52,506 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58930367-63658691, IP 58.50.245.131, Port 22 2025-12-26 21:46:52,661 - DEBUG - VM ctest-TestBasicPolicy-58930367-63658691 is ready for SSH connections 2025-12-26 21:46:52,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:46:52,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.50.245.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-26 21:46:52,662 - DEBUG - ping -s 56 -c 3 -W 1 58.50.245.131 2025-12-26 21:46:56,707 - DEBUG - PING 58.50.245.131 (58.50.245.131): 56 data bytes 64 bytes from 58.50.245.131: seq=0 ttl=63 time=3.558 ms 64 bytes from 58.50.245.131: seq=1 ttl=63 time=0.876 ms 64 bytes from 58.50.245.131: seq=2 ttl=63 time=1.013 ms --- 58.50.245.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.815/3.558 ms 2025-12-26 21:46:56,708 - INFO - Ping to IP 58.50.245.131 from VM ctest-TestBasicPolicy-58930367-64422655 passed 2025-12-26 21:46:56,881 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2548ef1f-28df-40d0-a241-65f69e0100a5", "href": "http://10.0.0.33:8082/network-policy/2548ef1f-28df-40d0-a241-65f69e0100a5"}} 2025-12-26 21:46:56,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:46:56,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.50.245.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-26 21:46:56,882 - DEBUG - ping -s 56 -c 3 -W 1 58.50.245.131 2025-12-26 21:47:00,083 - DEBUG - PING 58.50.245.131 (58.50.245.131): 56 data bytes --- 58.50.245.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-26 21:47:00,083 - WARNING - Ping to IP 58.50.245.131 from VM ctest-TestBasicPolicy-58930367-64422655 failed 2025-12-26 21:47:00,083 - INFO - Deleting VM ctest-TestBasicPolicy-58930367-63658691 2025-12-26 21:47:00,150 - INFO - Deleting VM ctest-TestBasicPolicy-58930367-64422655 2025-12-26 21:47:00,516 - INFO - Deleted policy ctest-policy-allow-all-22838712 2025-12-26 21:47:00,516 - INFO - Deleting VN ctest-vn-25199420 2025-12-26 21:47:00,549 - DEBUG - VN c913da7d-a991-4a14-a2f5-193e000eedbf still in use: Unable to complete operation on network c913da7d-a991-4a14-a2f5-193e000eedbf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aed73311-d3ba-4542-9558-9fde93d2f654'] 2025-12-26 21:47:00,549 - WARNING - Deleting VN ctest-vn-25199420 failed..Will retry 2025-12-26 21:47:02,648 - DEBUG - Response for deleting network () 2025-12-26 21:47:02,648 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/45a8d762-9c79-4ff5-87c9-8e93b253dc7e 2025-12-26 21:47:02,656 - DEBUG - Response Code: 404 2025-12-26 21:47:02,656 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-26 21:47:02,661 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f463c1f4-6ed2-4036-9a7e-cf74c999a050 2025-12-26 21:47:02,715 - DEBUG - Requesting: http://10.0.0.33:8082/project/711b9cd2-68c3-4c9f-a0aa-aa41be2d2702 2025-12-26 21:47:02,781 - INFO - Validated that VN ctest-vn-25199420 is not found in API Server 2025-12-26 21:47:02,790 - DEBUG - VN ctest-vn-25199420 is not present in Agent 10.0.0.33 2025-12-26 21:47:02,790 - INFO - Validated that VN ctest-vn-25199420 is not in any agent 2025-12-26 21:47:02,804 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25199420 info 2025-12-26 21:47:02,805 - INFO - Deleting VN ctest-vn-57284571 2025-12-26 21:47:02,899 - DEBUG - Response for deleting network () 2025-12-26 21:47:02,899 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/65e14070-1109-408a-ad8d-3a1ce762c056 2025-12-26 21:47:02,905 - DEBUG - Response Code: 404 2025-12-26 21:47:02,905 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-26 21:47:02,910 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f463c1f4-6ed2-4036-9a7e-cf74c999a050 2025-12-26 21:47:02,962 - DEBUG - Requesting: http://10.0.0.33:8082/project/711b9cd2-68c3-4c9f-a0aa-aa41be2d2702 2025-12-26 21:47:03,028 - INFO - Validated that VN ctest-vn-57284571 is not found in API Server 2025-12-26 21:47:03,037 - DEBUG - VN ctest-vn-57284571 is not present in Agent 10.0.0.33 2025-12-26 21:47:03,037 - INFO - Validated that VN ctest-vn-57284571 is not in any agent 2025-12-26 21:47:03,050 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57284571 info 2025-12-26 21:47:03,302 - DEBUG - No XMPP flaps were noticed during the test 2025-12-26 21:47:03,302 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-12-26 21:47:03,302 - INFO - -------------------------------------------------------------------------------- 2025-12-26 21:47:03,957 - INFO - Deleted project: ctest-TestBasicPolicy-58930367, ID : 711b9cd2-68c3-4c9f-a0aa-aa41be2d2702