2025-09-05 12:45:08,157 - INFO - Domain Default found not creating 2025-09-05 12:45:08,311 - INFO - Project ctest-TestBasicPolicy-19793980 not found, creating it 2025-09-05 12:45:08,761 - INFO - Created Project:ctest-TestBasicPolicy-19793980, ID : d8a165db-536b-4613-8dd4-f6c4c4ebc0b5 2025-09-05 12:45:10,318 - INFO - ================================================================================ 2025-09-05 12:45:10,319 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-05 12:45:10,319 - 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-09-05 12:45:10,579 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-05 12:45:10,579 - INFO - Initial checks done. Running the testcase now 2025-09-05 12:45:10,579 - INFO - 2025-09-05 12:45:11,168 - DEBUG - Response for create_network : {'network': {'id': 'ae6a5d58-8aba-400e-815a-87bdbe2649f7', 'name': 'ctest-vn-82456151', 'tenant_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'project_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-vn-82456151'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:45:11,368 - DEBUG - Response for create_subnet : {'subnet': {'id': '3665b02d-d411-4b7c-a6b2-287b9af0d6f5', 'name': '', 'tenant_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'network_id': 'ae6a5d58-8aba-400e-815a-87bdbe2649f7', 'ip_version': 4, 'cidr': '58.172.105.64/26', 'allocation_pools': [{'start': '58.172.105.66', 'end': '58.172.105.126'}], 'gateway_ip': '58.172.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.172.105.66', 'tags': [], 'project_id': 'd8a165db536b46138dd4f6c4c4ebc0b5'}} 2025-09-05 12:45:11,386 - INFO - Created VN ctest-vn-82456151 2025-09-05 12:45:11,437 - DEBUG - VN ctest-vn-82456151 UUID is ae6a5d58-8aba-400e-815a-87bdbe2649f7 2025-09-05 12:45:11,758 - DEBUG - Response for create_network : {'network': {'id': '0daebdc2-7e1f-45df-88cb-fb663127e88f', 'name': 'ctest-vn-32714029', 'tenant_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'project_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-vn-32714029'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:45:11,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bb4c434-b2f9-45ac-a211-edb8150e01ff', 'name': '', 'tenant_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'network_id': '0daebdc2-7e1f-45df-88cb-fb663127e88f', 'ip_version': 4, 'cidr': '19.64.39.128/26', 'allocation_pools': [{'start': '19.64.39.130', 'end': '19.64.39.190'}], 'gateway_ip': '19.64.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.64.39.130', 'tags': [], 'project_id': 'd8a165db536b46138dd4f6c4c4ebc0b5'}} 2025-09-05 12:45:11,936 - INFO - Created VN ctest-vn-32714029 2025-09-05 12:45:11,989 - DEBUG - VN ctest-vn-32714029 UUID is 0daebdc2-7e1f-45df-88cb-fb663127e88f 2025-09-05 12:45:12,141 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-82456151, 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-19793980:ctest-vn-32714029, 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-09-05 12:45:12,433 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ae6a5d58-8aba-400e-815a-87bdbe2649f7', 'name': 'ctest-vn-82456151', 'tenant_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'project_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3665b02d-d411-4b7c-a6b2-287b9af0d6f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-vn-82456151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-policy-allow-all-16492987']], 'subnet_ipam': [{'subnet_cidr': '58.172.105.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:45:12,667 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0daebdc2-7e1f-45df-88cb-fb663127e88f', 'name': 'ctest-vn-32714029', 'tenant_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'project_id': 'd8a165db536b46138dd4f6c4c4ebc0b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bb4c434-b2f9-45ac-a211-edb8150e01ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-vn-32714029'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-policy-allow-all-16492987']], 'subnet_ipam': [{'subnet_cidr': '19.64.39.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:45:12,833 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 12:45:13,174 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 12:45:13,203 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8ba1e9cd-aad8-4b47-b9ca-29524b86436a 2025-09-05 12:45:13,217 - DEBUG - Requesting: http://10.0.0.254:8082/project/d8a165db-536b-4613-8dd4-f6c4c4ebc0b5 2025-09-05 12:45:13,294 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae6a5d58-8aba-400e-815a-87bdbe2649f7 2025-09-05 12:45:13,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae6a5d58-8aba-400e-815a-87bdbe2649f7 2025-09-05 12:45:13,315 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/334434a5-6b63-4aaa-944c-90e648d67994 2025-09-05 12:45:13,323 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/334434a5-6b63-4aaa-944c-90e648d67994 2025-09-05 12:45:13,330 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/88145d8a-802b-4fae-90f5-915912596ac4 2025-09-05 12:45:13,337 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-05 12:45:13,337 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae6a5d58-8aba-400e-815a-87bdbe2649f7 2025-09-05 12:45:13,346 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/334434a5-6b63-4aaa-944c-90e648d67994 2025-09-05 12:45:13,359 - INFO - Verified VN network id 12 for VN ae6a5d58-8aba-400e-815a-87bdbe2649f7 2025-09-05 12:45:13,359 - INFO - Verifications in API Server for VN ctest-vn-82456151 passed 2025-09-05 12:45:13,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae6a5d58-8aba-400e-815a-87bdbe2649f7 2025-09-05 12:45:13,369 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/334434a5-6b63-4aaa-944c-90e648d67994 2025-09-05 12:45:13,376 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/334434a5-6b63-4aaa-944c-90e648d67994 2025-09-05 12:45:13,382 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/88145d8a-802b-4fae-90f5-915912596ac4 2025-09-05 12:45:13,394 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-82456151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19793980', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12567960344996757518', 'uuid-lslong': '9320911627805411831'}, 'enable': 'true', 'created': '2025-09-05T12:45:11', 'last-modified': '2025-09-05T12:45:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980507'} 2025-09-05 12:45:13,400 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-05 12:45:13,400 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82456151 passed 2025-09-05 12:45:13,400 - DEBUG - ====Verifying policy data for ctest-vn-82456151 in API_Server ====== 2025-09-05 12:45:13,401 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 12:45:13,407 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8ba1e9cd-aad8-4b47-b9ca-29524b86436a 2025-09-05 12:45:13,417 - DEBUG - Requesting: http://10.0.0.254:8082/project/d8a165db-536b-4613-8dd4-f6c4c4ebc0b5 2025-09-05 12:45:13,487 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ae6a5d58-8aba-400e-815a-87bdbe2649f7 2025-09-05 12:45:13,509 - DEBUG - ==>Verifying data for policy with id: 2f21dc7b-d5f5-410e-bc8c-5c84222280f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-policy-allow-all-16492987'] 2025-09-05 12:45:13,509 - INFO - VN ctest-vn-82456151 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-05 12:45:13,509 - DEBUG - Verifying the vn in opserver 2025-09-05 12:45:13,509 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-82456151 virtual network link through opserver 10.0.0.254 2025-09-05 12:45:13,509 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-05 12:45:13,846 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-05 12:45:13,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-82456151', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-82456151?flat'} 2025-09-05 12:45:13,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-82456151 is found in opserver 2025-09-05 12:45:13,908 - DEBUG - Do not have enough data to verify VN in agent 2025-09-05 12:45:13,914 - DEBUG - VRF ids for VN ctest-vn-82456151: {} 2025-09-05 12:45:13,914 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 12:45:13,919 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8ba1e9cd-aad8-4b47-b9ca-29524b86436a 2025-09-05 12:45:13,930 - DEBUG - Requesting: http://10.0.0.254:8082/project/d8a165db-536b-4613-8dd4-f6c4c4ebc0b5 2025-09-05 12:45:13,998 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0daebdc2-7e1f-45df-88cb-fb663127e88f 2025-09-05 12:45:14,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0daebdc2-7e1f-45df-88cb-fb663127e88f 2025-09-05 12:45:14,018 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3756d7e9-694c-47f6-bbf5-6285a6ba4a4d 2025-09-05 12:45:14,024 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3756d7e9-694c-47f6-bbf5-6285a6ba4a4d 2025-09-05 12:45:14,031 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/374e2dd8-49fd-4c91-9921-7e696766931d 2025-09-05 12:45:14,037 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-05 12:45:14,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0daebdc2-7e1f-45df-88cb-fb663127e88f 2025-09-05 12:45:14,045 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3756d7e9-694c-47f6-bbf5-6285a6ba4a4d 2025-09-05 12:45:14,057 - INFO - Verified VN network id 13 for VN 0daebdc2-7e1f-45df-88cb-fb663127e88f 2025-09-05 12:45:14,057 - INFO - Verifications in API Server for VN ctest-vn-32714029 passed 2025-09-05 12:45:14,057 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0daebdc2-7e1f-45df-88cb-fb663127e88f 2025-09-05 12:45:14,065 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3756d7e9-694c-47f6-bbf5-6285a6ba4a4d 2025-09-05 12:45:14,073 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3756d7e9-694c-47f6-bbf5-6285a6ba4a4d 2025-09-05 12:45:14,080 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/374e2dd8-49fd-4c91-9921-7e696766931d 2025-09-05 12:45:14,091 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-32714029', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19793980', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '985934011478001119', 'uuid-lslong': '9857248625760397455'}, 'enable': 'true', 'created': '2025-09-05T12:45:11', 'last-modified': '2025-09-05T12:45:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450586'} 2025-09-05 12:45:14,096 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-05 12:45:14,096 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32714029 passed 2025-09-05 12:45:14,096 - DEBUG - ====Verifying policy data for ctest-vn-32714029 in API_Server ====== 2025-09-05 12:45:14,096 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 12:45:14,102 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8ba1e9cd-aad8-4b47-b9ca-29524b86436a 2025-09-05 12:45:14,114 - DEBUG - Requesting: http://10.0.0.254:8082/project/d8a165db-536b-4613-8dd4-f6c4c4ebc0b5 2025-09-05 12:45:14,225 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0daebdc2-7e1f-45df-88cb-fb663127e88f 2025-09-05 12:45:14,270 - DEBUG - ==>Verifying data for policy with id: 2f21dc7b-d5f5-410e-bc8c-5c84222280f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-19793980', 'ctest-policy-allow-all-16492987'] 2025-09-05 12:45:14,270 - INFO - VN ctest-vn-32714029 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-05 12:45:14,270 - DEBUG - Verifying the vn in opserver 2025-09-05 12:45:14,270 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-32714029 virtual network link through opserver 10.0.0.254 2025-09-05 12:45:14,270 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-05 12:45:14,285 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-32714029', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-32714029?flat'} 2025-09-05 12:45:14,285 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-32714029 is found in opserver 2025-09-05 12:45:14,295 - DEBUG - Do not have enough data to verify VN in agent 2025-09-05 12:45:14,300 - DEBUG - VRF ids for VN ctest-vn-32714029: {} 2025-09-05 12:45:14,376 - DEBUG - Services list from nova: [, , ] 2025-09-05 12:45:15,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:45:16,772 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:45:16,772 - INFO - Waiting for VM ctest-TestBasicPolicy-19793980-40088702 to be up.. 2025-09-05 12:45:16,859 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 12:45:21,940 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:45:21,940 - INFO - VM name : ctest-TestBasicPolicy-19793980-40088702 2025-09-05 12:45:22,017 - DEBUG - VM ctest-TestBasicPolicy-19793980-40088702 ID is dafc3102-c55a-4d67-86fc-06816729f8ff 2025-09-05 12:45:22,036 - DEBUG - VM ctest-TestBasicPolicy-19793980-40088702 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:45:22,114 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dafc3102-c55a-4d67-86fc-06816729f8ff 2025-09-05 12:45:22,123 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eb68df27-d4a8-4cd6-b35b-4e9b8155e685 2025-09-05 12:45:25,392 - 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 1030ms') 2025-09-05 12:45:25,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19793980-40088702 failed! 2025-09-05 12:45:25,449 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19793980:ctest-vn-82456151 is 58.172.105.65 and allocation pool is NOT set 2025-09-05 12:45:27,505 - 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=9.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.892 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.892/5.000/9.108/4.108 ms') 2025-09-05 12:45:27,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19793980-40088702 passed 2025-09-05 12:45:27,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:45:27,653 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19793980-40088702, IP 58.172.105.67, Port 22 2025-09-05 12:45:27,812 - DEBUG - VM ctest-TestBasicPolicy-19793980-40088702 is ready for SSH connections 2025-09-05 12:45:27,812 - INFO - Waiting for VM ctest-TestBasicPolicy-19793980-72378639 to be up.. 2025-09-05 12:45:27,899 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:45:27,899 - INFO - VM name : ctest-TestBasicPolicy-19793980-72378639 2025-09-05 12:45:27,981 - DEBUG - VM ctest-TestBasicPolicy-19793980-72378639 ID is 62762c9b-ab55-4928-aa58-9de8fb639b49 2025-09-05 12:45:27,981 - DEBUG - VM ctest-TestBasicPolicy-19793980-72378639 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:45:28,071 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/62762c9b-ab55-4928-aa58-9de8fb639b49 2025-09-05 12:45:28,080 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8dae5947-5ff6-41e8-aaf3-9ba455079a7b 2025-09-05 12:45:29,323 - 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=5.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.880 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.880/3.160/5.441/2.280 ms') 2025-09-05 12:45:29,323 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19793980-72378639 passed 2025-09-05 12:45:29,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:45:29,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19793980-72378639, IP 19.64.39.131, Port 22 2025-09-05 12:45:29,629 - DEBUG - VM ctest-TestBasicPolicy-19793980-72378639 is ready for SSH connections 2025-09-05 12:45:29,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:45:29,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.64.39.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:45:29,629 - DEBUG - ping -s 56 -c 3 -W 1 19.64.39.131 2025-09-05 12:45:33,724 - DEBUG - PING 19.64.39.131 (19.64.39.131): 56 data bytes 64 bytes from 19.64.39.131: seq=0 ttl=63 time=3.811 ms 64 bytes from 19.64.39.131: seq=1 ttl=63 time=0.826 ms 64 bytes from 19.64.39.131: seq=2 ttl=63 time=1.073 ms --- 19.64.39.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.903/3.811 ms 2025-09-05 12:45:33,724 - INFO - Ping to IP 19.64.39.131 from VM ctest-TestBasicPolicy-19793980-40088702 passed 2025-09-05 12:45:33,901 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2f21dc7b-d5f5-410e-bc8c-5c84222280f7", "href": "http://10.0.0.254:8082/network-policy/2f21dc7b-d5f5-410e-bc8c-5c84222280f7"}} 2025-09-05 12:45:33,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:45:33,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 19.64.39.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:45:33,901 - DEBUG - ping -s 56 -c 3 -W 1 19.64.39.131 2025-09-05 12:45:37,132 - DEBUG - PING 19.64.39.131 (19.64.39.131): 56 data bytes --- 19.64.39.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 12:45:37,132 - WARNING - Ping to IP 19.64.39.131 from VM ctest-TestBasicPolicy-19793980-40088702 failed 2025-09-05 12:45:37,132 - INFO - Deleting VM ctest-TestBasicPolicy-19793980-72378639 2025-09-05 12:45:37,204 - INFO - Deleting VM ctest-TestBasicPolicy-19793980-40088702 2025-09-05 12:45:37,600 - INFO - Deleted policy ctest-policy-allow-all-16492987 2025-09-05 12:45:37,600 - INFO - Deleting VN ctest-vn-32714029 2025-09-05 12:45:37,640 - DEBUG - VN 0daebdc2-7e1f-45df-88cb-fb663127e88f still in use: Unable to complete operation on network 0daebdc2-7e1f-45df-88cb-fb663127e88f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-877059c5-abea-432c-ab04-a9d916370f11'] 2025-09-05 12:45:37,640 - WARNING - Deleting VN ctest-vn-32714029 failed..Will retry 2025-09-05 12:45:39,743 - DEBUG - Response for deleting network () 2025-09-05 12:45:39,743 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/3756d7e9-694c-47f6-bbf5-6285a6ba4a4d 2025-09-05 12:45:39,749 - DEBUG - Response Code: 404 2025-09-05 12:45:39,749 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 12:45:39,754 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8ba1e9cd-aad8-4b47-b9ca-29524b86436a 2025-09-05 12:45:39,807 - DEBUG - Requesting: http://10.0.0.254:8082/project/d8a165db-536b-4613-8dd4-f6c4c4ebc0b5 2025-09-05 12:45:39,884 - INFO - Validated that VN ctest-vn-32714029 is not found in API Server 2025-09-05 12:45:39,894 - DEBUG - VN ctest-vn-32714029 is not present in Agent 10.0.0.254 2025-09-05 12:45:39,894 - INFO - Validated that VN ctest-vn-32714029 is not in any agent 2025-09-05 12:45:39,908 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32714029 info 2025-09-05 12:45:39,908 - INFO - Deleting VN ctest-vn-82456151 2025-09-05 12:45:40,027 - DEBUG - Response for deleting network () 2025-09-05 12:45:40,027 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/334434a5-6b63-4aaa-944c-90e648d67994 2025-09-05 12:45:40,036 - DEBUG - Response Code: 404 2025-09-05 12:45:40,036 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-05 12:45:40,041 - DEBUG - Requesting: http://10.0.0.254:8082/domain/8ba1e9cd-aad8-4b47-b9ca-29524b86436a 2025-09-05 12:45:40,094 - DEBUG - Requesting: http://10.0.0.254:8082/project/d8a165db-536b-4613-8dd4-f6c4c4ebc0b5 2025-09-05 12:45:40,166 - INFO - Validated that VN ctest-vn-82456151 is not found in API Server 2025-09-05 12:45:40,180 - DEBUG - VN ctest-vn-82456151 is not present in Agent 10.0.0.254 2025-09-05 12:45:40,180 - INFO - Validated that VN ctest-vn-82456151 is not in any agent 2025-09-05 12:45:40,193 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82456151 info 2025-09-05 12:45:40,446 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 12:45:40,446 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-05 12:45:40,446 - INFO - -------------------------------------------------------------------------------- 2025-09-05 12:45:41,162 - INFO - Deleted project: ctest-TestBasicPolicy-19793980, ID : d8a165db-536b-4613-8dd4-f6c4c4ebc0b5