2025-11-05 22:32:10,852 - INFO - Domain Default found not creating 2025-11-05 22:32:11,045 - INFO - Project ctest-TestBasicPolicy-46881232 not found, creating it 2025-11-05 22:32:11,519 - INFO - Created Project:ctest-TestBasicPolicy-46881232, ID : f27f4bdd-a3e9-4030-873f-cef50f777bba 2025-11-05 22:32:12,996 - INFO - ================================================================================ 2025-11-05 22:32:12,996 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 22:32:12,996 - 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-11-05 22:32:13,250 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 22:32:13,250 - INFO - Initial checks done. Running the testcase now 2025-11-05 22:32:13,250 - INFO - 2025-11-05 22:32:13,820 - DEBUG - Response for create_network : {'network': {'id': '952ceb08-0df3-4197-ba55-b9dfb579b833', 'name': 'ctest-vn-71198034', 'tenant_id': 'f27f4bdda3e94030873fcef50f777bba', 'project_id': 'f27f4bdda3e94030873fcef50f777bba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-vn-71198034'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:32:13,999 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e44dac77-fcde-4a69-92ed-e184c94deb17', 'name': '', 'tenant_id': 'f27f4bdda3e94030873fcef50f777bba', 'network_id': '952ceb08-0df3-4197-ba55-b9dfb579b833', 'ip_version': 4, 'cidr': '215.108.183.192/26', 'allocation_pools': [{'start': '215.108.183.194', 'end': '215.108.183.254'}], 'gateway_ip': '215.108.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.108.183.194', 'tags': [], 'project_id': 'f27f4bdda3e94030873fcef50f777bba'}} 2025-11-05 22:32:14,018 - INFO - Created VN ctest-vn-71198034 2025-11-05 22:32:14,076 - DEBUG - VN ctest-vn-71198034 UUID is 952ceb08-0df3-4197-ba55-b9dfb579b833 2025-11-05 22:32:14,379 - DEBUG - Response for create_network : {'network': {'id': 'e7c11f9c-0431-4a62-8adf-17b9ca6cb686', 'name': 'ctest-vn-60389445', 'tenant_id': 'f27f4bdda3e94030873fcef50f777bba', 'project_id': 'f27f4bdda3e94030873fcef50f777bba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-vn-60389445'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:32:14,554 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4a11abe-2cdc-411b-ab24-723fd2b9ffe8', 'name': '', 'tenant_id': 'f27f4bdda3e94030873fcef50f777bba', 'network_id': 'e7c11f9c-0431-4a62-8adf-17b9ca6cb686', 'ip_version': 4, 'cidr': '122.250.178.128/26', 'allocation_pools': [{'start': '122.250.178.130', 'end': '122.250.178.190'}], 'gateway_ip': '122.250.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.250.178.130', 'tags': [], 'project_id': 'f27f4bdda3e94030873fcef50f777bba'}} 2025-11-05 22:32:14,572 - INFO - Created VN ctest-vn-60389445 2025-11-05 22:32:14,623 - DEBUG - VN ctest-vn-60389445 UUID is e7c11f9c-0431-4a62-8adf-17b9ca6cb686 2025-11-05 22:32:14,741 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-71198034, 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-46881232:ctest-vn-60389445, 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-11-05 22:32:15,036 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '952ceb08-0df3-4197-ba55-b9dfb579b833', 'name': 'ctest-vn-71198034', 'tenant_id': 'f27f4bdda3e94030873fcef50f777bba', 'project_id': 'f27f4bdda3e94030873fcef50f777bba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e44dac77-fcde-4a69-92ed-e184c94deb17'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-vn-71198034'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-policy-allow-all-90941349']], 'subnet_ipam': [{'subnet_cidr': '215.108.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:32:15,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e7c11f9c-0431-4a62-8adf-17b9ca6cb686', 'name': 'ctest-vn-60389445', 'tenant_id': 'f27f4bdda3e94030873fcef50f777bba', 'project_id': 'f27f4bdda3e94030873fcef50f777bba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e4a11abe-2cdc-411b-ab24-723fd2b9ffe8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-vn-60389445'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-policy-allow-all-90941349']], 'subnet_ipam': [{'subnet_cidr': '122.250.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:32:15,467 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 22:32:15,766 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 22:32:15,796 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c60ecb1-a27f-4635-9b96-6059c81a3aec 2025-11-05 22:32:15,808 - DEBUG - Requesting: http://10.0.0.38:8082/project/f27f4bdd-a3e9-4030-873f-cef50f777bba 2025-11-05 22:32:15,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/952ceb08-0df3-4197-ba55-b9dfb579b833 2025-11-05 22:32:15,893 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/952ceb08-0df3-4197-ba55-b9dfb579b833 2025-11-05 22:32:15,901 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3c58276-ebd6-4060-b4c7-1e9a8d8fea4d 2025-11-05 22:32:15,908 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3c58276-ebd6-4060-b4c7-1e9a8d8fea4d 2025-11-05 22:32:15,915 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/da98acb9-1ec6-4119-a646-808773694015 2025-11-05 22:32:15,922 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 22:32:15,922 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/952ceb08-0df3-4197-ba55-b9dfb579b833 2025-11-05 22:32:15,931 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3c58276-ebd6-4060-b4c7-1e9a8d8fea4d 2025-11-05 22:32:15,943 - INFO - Verified VN network id 11 for VN 952ceb08-0df3-4197-ba55-b9dfb579b833 2025-11-05 22:32:15,943 - INFO - Verifications in API Server for VN ctest-vn-71198034 passed 2025-11-05 22:32:15,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/952ceb08-0df3-4197-ba55-b9dfb579b833 2025-11-05 22:32:15,951 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3c58276-ebd6-4060-b4c7-1e9a8d8fea4d 2025-11-05 22:32:15,958 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3c58276-ebd6-4060-b4c7-1e9a8d8fea4d 2025-11-05 22:32:15,965 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/da98acb9-1ec6-4119-a646-808773694015 2025-11-05 22:32:15,976 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-71198034', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46881232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10749224830452842903', 'uuid-lslong': '13426842234548500531'}, 'enable': 'true', 'created': '2025-11-05T22:32:13', 'last-modified': '2025-11-05T22:32:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962102'} 2025-11-05 22:32:15,983 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 22:32:15,983 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71198034 passed 2025-11-05 22:32:15,983 - DEBUG - ====Verifying policy data for ctest-vn-71198034 in API_Server ====== 2025-11-05 22:32:15,983 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 22:32:15,989 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c60ecb1-a27f-4635-9b96-6059c81a3aec 2025-11-05 22:32:15,999 - DEBUG - Requesting: http://10.0.0.38:8082/project/f27f4bdd-a3e9-4030-873f-cef50f777bba 2025-11-05 22:32:16,070 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/952ceb08-0df3-4197-ba55-b9dfb579b833 2025-11-05 22:32:16,079 - DEBUG - ==>Verifying data for policy with id: 0f6a00b8-27d9-4785-94a2-b679f0b82bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-policy-allow-all-90941349'] 2025-11-05 22:32:16,079 - INFO - VN ctest-vn-71198034 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 22:32:16,080 - DEBUG - Verifying the vn in opserver 2025-11-05 22:32:16,080 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-71198034 virtual network link through opserver 10.0.0.38 2025-11-05 22:32:16,080 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 22:32:16,386 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 22:32:16,443 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-71198034', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-71198034?flat'} 2025-11-05 22:32:16,444 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-71198034 is found in opserver 2025-11-05 22:32:16,453 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 22:32:16,457 - DEBUG - VRF ids for VN ctest-vn-71198034: {} 2025-11-05 22:32:16,457 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 22:32:16,462 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c60ecb1-a27f-4635-9b96-6059c81a3aec 2025-11-05 22:32:16,474 - DEBUG - Requesting: http://10.0.0.38:8082/project/f27f4bdd-a3e9-4030-873f-cef50f777bba 2025-11-05 22:32:16,550 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7c11f9c-0431-4a62-8adf-17b9ca6cb686 2025-11-05 22:32:16,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7c11f9c-0431-4a62-8adf-17b9ca6cb686 2025-11-05 22:32:16,572 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b30375f9-9460-48cd-b1d3-fdcf065946a9 2025-11-05 22:32:16,580 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b30375f9-9460-48cd-b1d3-fdcf065946a9 2025-11-05 22:32:16,586 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/112b0b1a-7bb5-44f0-ad21-df5345b32647 2025-11-05 22:32:16,592 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 22:32:16,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7c11f9c-0431-4a62-8adf-17b9ca6cb686 2025-11-05 22:32:16,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b30375f9-9460-48cd-b1d3-fdcf065946a9 2025-11-05 22:32:16,614 - INFO - Verified VN network id 12 for VN e7c11f9c-0431-4a62-8adf-17b9ca6cb686 2025-11-05 22:32:16,614 - INFO - Verifications in API Server for VN ctest-vn-60389445 passed 2025-11-05 22:32:16,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7c11f9c-0431-4a62-8adf-17b9ca6cb686 2025-11-05 22:32:16,623 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b30375f9-9460-48cd-b1d3-fdcf065946a9 2025-11-05 22:32:16,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b30375f9-9460-48cd-b1d3-fdcf065946a9 2025-11-05 22:32:16,637 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/112b0b1a-7bb5-44f0-ad21-df5345b32647 2025-11-05 22:32:16,648 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-60389445', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46881232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16699663648212208226', 'uuid-lslong': '10006742983773042310'}, 'enable': 'true', 'created': '2025-11-05T22:32:14', 'last-modified': '2025-11-05T22:32:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396140'} 2025-11-05 22:32:16,653 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 22:32:16,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60389445 passed 2025-11-05 22:32:16,654 - DEBUG - ====Verifying policy data for ctest-vn-60389445 in API_Server ====== 2025-11-05 22:32:16,654 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 22:32:16,659 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c60ecb1-a27f-4635-9b96-6059c81a3aec 2025-11-05 22:32:16,669 - DEBUG - Requesting: http://10.0.0.38:8082/project/f27f4bdd-a3e9-4030-873f-cef50f777bba 2025-11-05 22:32:16,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e7c11f9c-0431-4a62-8adf-17b9ca6cb686 2025-11-05 22:32:16,756 - DEBUG - ==>Verifying data for policy with id: 0f6a00b8-27d9-4785-94a2-b679f0b82bc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-46881232', 'ctest-policy-allow-all-90941349'] 2025-11-05 22:32:16,756 - INFO - VN ctest-vn-60389445 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 22:32:16,756 - DEBUG - Verifying the vn in opserver 2025-11-05 22:32:16,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-60389445 virtual network link through opserver 10.0.0.38 2025-11-05 22:32:16,756 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 22:32:16,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-60389445', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-60389445?flat'} 2025-11-05 22:32:16,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-60389445 is found in opserver 2025-11-05 22:32:16,776 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 22:32:16,780 - DEBUG - VRF ids for VN ctest-vn-60389445: {} 2025-11-05 22:32:16,841 - DEBUG - Services list from nova: [, , ] 2025-11-05 22:32:17,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1) 2025-11-05 22:32:19,086 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4658-1) 2025-11-05 22:32:19,087 - INFO - Waiting for VM ctest-TestBasicPolicy-46881232-45967734 to be up.. 2025-11-05 22:32:19,170 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:32:24,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:32:29,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:32:34,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:32:39,479 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:32:39,480 - INFO - VM name : ctest-TestBasicPolicy-46881232-45967734 2025-11-05 22:32:39,553 - DEBUG - VM ctest-TestBasicPolicy-46881232-45967734 ID is afc33957-1a65-4d11-8869-10da5981b34b 2025-11-05 22:32:39,575 - DEBUG - VM ctest-TestBasicPolicy-46881232-45967734 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1 2025-11-05 22:32:39,671 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/afc33957-1a65-4d11-8869-10da5981b34b 2025-11-05 22:32:39,680 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8557a108-e650-41f4-b48f-08ca6df7759c 2025-11-05 22:32:42,928 - 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 1015ms') 2025-11-05 22:32:42,928 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46881232-45967734 failed! 2025-11-05 22:32:42,983 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46881232:ctest-vn-71198034 is 215.108.183.193 and allocation pool is NOT set 2025-11-05 22:32:45,051 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.824 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.824/4.723/8.623/3.899 ms') 2025-11-05 22:32:45,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46881232-45967734 passed 2025-11-05 22:32:45,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:32:45,200 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46881232-45967734, IP 215.108.183.195, Port 22 2025-11-05 22:32:45,354 - DEBUG - VM ctest-TestBasicPolicy-46881232-45967734 is ready for SSH connections 2025-11-05 22:32:45,355 - INFO - Waiting for VM ctest-TestBasicPolicy-46881232-95363333 to be up.. 2025-11-05 22:32:45,429 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:32:45,429 - INFO - VM name : ctest-TestBasicPolicy-46881232-95363333 2025-11-05 22:32:45,506 - DEBUG - VM ctest-TestBasicPolicy-46881232-95363333 ID is e81bc68f-0650-4a80-944a-0d7a47ab619f 2025-11-05 22:32:45,506 - DEBUG - VM ctest-TestBasicPolicy-46881232-95363333 launched on Node cn-jenkins-deploy-platform-ansible-os-4658-1 2025-11-05 22:32:45,586 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e81bc68f-0650-4a80-944a-0d7a47ab619f 2025-11-05 22:32:45,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dd7b4fae-1077-46c0-bd97-df51ef5c6e2f 2025-11-05 22:32:46,828 - 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=7.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.10 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 = 1.098/4.072/7.046/2.974 ms') 2025-11-05 22:32:46,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46881232-95363333 passed 2025-11-05 22:32:46,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:32:46,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46881232-95363333, IP 122.250.178.131, Port 22 2025-11-05 22:32:47,131 - DEBUG - VM ctest-TestBasicPolicy-46881232-95363333 is ready for SSH connections 2025-11-05 22:32:47,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:32:47,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.250.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 22:32:47,131 - DEBUG - ping -s 56 -c 3 -W 1 122.250.178.131 2025-11-05 22:32:51,164 - DEBUG - PING 122.250.178.131 (122.250.178.131): 56 data bytes 64 bytes from 122.250.178.131: seq=0 ttl=63 time=3.431 ms 64 bytes from 122.250.178.131: seq=1 ttl=63 time=1.152 ms 64 bytes from 122.250.178.131: seq=2 ttl=63 time=1.123 ms --- 122.250.178.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.123/1.902/3.431 ms 2025-11-05 22:32:51,164 - INFO - Ping to IP 122.250.178.131 from VM ctest-TestBasicPolicy-46881232-45967734 passed 2025-11-05 22:32:51,379 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f6a00b8-27d9-4785-94a2-b679f0b82bc8", "href": "http://10.0.0.38:8082/network-policy/0f6a00b8-27d9-4785-94a2-b679f0b82bc8"}} 2025-11-05 22:32:51,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:32:51,380 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.250.178.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 22:32:51,380 - DEBUG - ping -s 56 -c 3 -W 1 122.250.178.131 2025-11-05 22:32:54,595 - DEBUG - PING 122.250.178.131 (122.250.178.131): 56 data bytes --- 122.250.178.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 22:32:54,595 - WARNING - Ping to IP 122.250.178.131 from VM ctest-TestBasicPolicy-46881232-45967734 failed 2025-11-05 22:32:54,595 - INFO - Deleting VM ctest-TestBasicPolicy-46881232-95363333 2025-11-05 22:32:54,670 - INFO - Deleting VM ctest-TestBasicPolicy-46881232-45967734 2025-11-05 22:32:55,070 - INFO - Deleted policy ctest-policy-allow-all-90941349 2025-11-05 22:32:55,070 - INFO - Deleting VN ctest-vn-60389445 2025-11-05 22:32:55,105 - DEBUG - VN e7c11f9c-0431-4a62-8adf-17b9ca6cb686 still in use: Unable to complete operation on network e7c11f9c-0431-4a62-8adf-17b9ca6cb686. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89a368b3-acb2-46b4-89d6-dbce802bb259'] 2025-11-05 22:32:55,105 - WARNING - Deleting VN ctest-vn-60389445 failed..Will retry 2025-11-05 22:32:57,211 - DEBUG - Response for deleting network () 2025-11-05 22:32:57,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b30375f9-9460-48cd-b1d3-fdcf065946a9 2025-11-05 22:32:57,217 - DEBUG - Response Code: 404 2025-11-05 22:32:57,217 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 22:32:57,222 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c60ecb1-a27f-4635-9b96-6059c81a3aec 2025-11-05 22:32:57,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/f27f4bdd-a3e9-4030-873f-cef50f777bba 2025-11-05 22:32:57,344 - INFO - Validated that VN ctest-vn-60389445 is not found in API Server 2025-11-05 22:32:57,356 - DEBUG - VN ctest-vn-60389445 is not present in Agent 10.0.0.38 2025-11-05 22:32:57,356 - INFO - Validated that VN ctest-vn-60389445 is not in any agent 2025-11-05 22:32:57,371 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60389445 info 2025-11-05 22:32:57,371 - INFO - Deleting VN ctest-vn-71198034 2025-11-05 22:32:57,474 - DEBUG - Response for deleting network () 2025-11-05 22:32:57,474 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d3c58276-ebd6-4060-b4c7-1e9a8d8fea4d 2025-11-05 22:32:57,479 - DEBUG - Response Code: 404 2025-11-05 22:32:57,479 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 22:32:57,484 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2c60ecb1-a27f-4635-9b96-6059c81a3aec 2025-11-05 22:32:57,537 - DEBUG - Requesting: http://10.0.0.38:8082/project/f27f4bdd-a3e9-4030-873f-cef50f777bba 2025-11-05 22:32:57,606 - INFO - Validated that VN ctest-vn-71198034 is not found in API Server 2025-11-05 22:32:57,617 - DEBUG - VN ctest-vn-71198034 is not present in Agent 10.0.0.38 2025-11-05 22:32:57,617 - INFO - Validated that VN ctest-vn-71198034 is not in any agent 2025-11-05 22:32:57,633 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71198034 info 2025-11-05 22:32:57,892 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 22:32:57,892 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:45] 2025-11-05 22:32:57,892 - INFO - -------------------------------------------------------------------------------- 2025-11-05 22:32:58,632 - INFO - Deleted project: ctest-TestBasicPolicy-46881232, ID : f27f4bdd-a3e9-4030-873f-cef50f777bba