2025-10-26 22:38:41,409 - INFO - Domain Default found not creating 2025-10-26 22:38:41,564 - INFO - Project ctest-TestBasicPolicy-21444954 not found, creating it 2025-10-26 22:38:42,007 - INFO - Created Project:ctest-TestBasicPolicy-21444954, ID : 776e3cff-535a-4e0a-99e3-5cf72113e85e 2025-10-26 22:38:43,407 - INFO - ================================================================================ 2025-10-26 22:38:43,407 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-26 22:38:43,407 - 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-10-26 22:38:43,662 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-26 22:38:43,662 - INFO - Initial checks done. Running the testcase now 2025-10-26 22:38:43,662 - INFO - 2025-10-26 22:38:44,232 - DEBUG - Response for create_network : {'network': {'id': '746e004e-a91f-4fed-8733-33a228c3c60f', 'name': 'ctest-vn-89122204', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-89122204'], 'port_security_enabled': True, 'description': ''}} 2025-10-26 22:38:44,449 - DEBUG - Response for create_subnet : {'subnet': {'id': '57789c1e-5385-4aea-868e-667d4437ef38', 'name': '', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'network_id': '746e004e-a91f-4fed-8733-33a228c3c60f', 'ip_version': 4, 'cidr': '92.97.241.128/26', 'allocation_pools': [{'start': '92.97.241.130', 'end': '92.97.241.190'}], 'gateway_ip': '92.97.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.97.241.130', 'tags': [], 'project_id': '776e3cff535a4e0a99e35cf72113e85e'}} 2025-10-26 22:38:44,465 - INFO - Created VN ctest-vn-89122204 2025-10-26 22:38:44,516 - DEBUG - VN ctest-vn-89122204 UUID is 746e004e-a91f-4fed-8733-33a228c3c60f 2025-10-26 22:38:44,815 - DEBUG - Response for create_network : {'network': {'id': '6f5ee44d-4c73-4350-affa-3a58d6c5664b', 'name': 'ctest-vn-32682137', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-32682137'], 'port_security_enabled': True, 'description': ''}} 2025-10-26 22:38:44,972 - DEBUG - Response for create_subnet : {'subnet': {'id': '93cf006b-c766-4cf4-80f6-09f1e4ee7b8e', 'name': '', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'network_id': '6f5ee44d-4c73-4350-affa-3a58d6c5664b', 'ip_version': 4, 'cidr': '183.214.108.128/26', 'allocation_pools': [{'start': '183.214.108.130', 'end': '183.214.108.190'}], 'gateway_ip': '183.214.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.214.108.130', 'tags': [], 'project_id': '776e3cff535a4e0a99e35cf72113e85e'}} 2025-10-26 22:38:44,989 - INFO - Created VN ctest-vn-32682137 2025-10-26 22:38:45,044 - DEBUG - VN ctest-vn-32682137 UUID is 6f5ee44d-4c73-4350-affa-3a58d6c5664b 2025-10-26 22:38:45,156 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204, 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-21444954:ctest-vn-32682137, 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-10-26 22:38:45,437 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '746e004e-a91f-4fed-8733-33a228c3c60f', 'name': 'ctest-vn-89122204', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57789c1e-5385-4aea-868e-667d4437ef38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-89122204'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328']], 'subnet_ipam': [{'subnet_cidr': '92.97.241.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-26 22:38:45,661 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f5ee44d-4c73-4350-affa-3a58d6c5664b', 'name': 'ctest-vn-32682137', 'tenant_id': '776e3cff535a4e0a99e35cf72113e85e', 'project_id': '776e3cff535a4e0a99e35cf72113e85e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93cf006b-c766-4cf4-80f6-09f1e4ee7b8e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-vn-32682137'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328']], 'subnet_ipam': [{'subnet_cidr': '183.214.108.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-26 22:38:45,824 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-26 22:38:46,117 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-26 22:38:46,144 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f 2025-10-26 22:38:46,156 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e 2025-10-26 22:38:46,234 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f 2025-10-26 22:38:46,245 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f 2025-10-26 22:38:46,253 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c 2025-10-26 22:38:46,259 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c 2025-10-26 22:38:46,265 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1fa2cf46-e633-4355-a1df-32ab06d30733 2025-10-26 22:38:46,271 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-26 22:38:46,271 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f 2025-10-26 22:38:46,279 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c 2025-10-26 22:38:46,292 - INFO - Verified VN network id 11 for VN 746e004e-a91f-4fed-8733-33a228c3c60f 2025-10-26 22:38:46,292 - INFO - Verifications in API Server for VN ctest-vn-89122204 passed 2025-10-26 22:38:46,292 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f 2025-10-26 22:38:46,302 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c 2025-10-26 22:38:46,308 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c 2025-10-26 22:38:46,315 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1fa2cf46-e633-4355-a1df-32ab06d30733 2025-10-26 22:38:46,326 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21444954', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8389643493682663405', 'uuid-lslong': '9742187190494152207'}, 'enable': 'true', 'created': '2025-10-26T22:38:44', 'last-modified': '2025-10-26T22:38:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908176'} 2025-10-26 22:38:46,332 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-26 22:38:46,332 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89122204 passed 2025-10-26 22:38:46,333 - DEBUG - ====Verifying policy data for ctest-vn-89122204 in API_Server ====== 2025-10-26 22:38:46,333 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-26 22:38:46,338 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f 2025-10-26 22:38:46,349 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e 2025-10-26 22:38:46,418 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/746e004e-a91f-4fed-8733-33a228c3c60f 2025-10-26 22:38:46,426 - DEBUG - ==>Verifying data for policy with id: 1274b080-f1fe-4b9b-b07a-bf344428dd52, fqn: ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328'] 2025-10-26 22:38:46,426 - INFO - VN ctest-vn-89122204 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-26 22:38:46,426 - DEBUG - Verifying the vn in opserver 2025-10-26 22:38:46,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204 virtual network link through opserver 10.0.0.249 2025-10-26 22:38:46,426 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-26 22:38:46,719 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-26 22:38:46,774 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204?flat'} 2025-10-26 22:38:46,774 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204 is found in opserver 2025-10-26 22:38:46,784 - DEBUG - Do not have enough data to verify VN in agent 2025-10-26 22:38:46,790 - DEBUG - VRF ids for VN ctest-vn-89122204: {} 2025-10-26 22:38:46,790 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-26 22:38:46,796 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f 2025-10-26 22:38:46,809 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e 2025-10-26 22:38:46,879 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b 2025-10-26 22:38:46,890 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b 2025-10-26 22:38:46,898 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba 2025-10-26 22:38:46,905 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba 2025-10-26 22:38:46,911 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/05d70a5b-c98b-447d-8c62-532c5f74269f 2025-10-26 22:38:46,916 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-26 22:38:46,916 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b 2025-10-26 22:38:46,924 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba 2025-10-26 22:38:46,936 - INFO - Verified VN network id 12 for VN 6f5ee44d-4c73-4350-affa-3a58d6c5664b 2025-10-26 22:38:46,936 - INFO - Verifications in API Server for VN ctest-vn-32682137 passed 2025-10-26 22:38:46,936 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b 2025-10-26 22:38:46,945 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba 2025-10-26 22:38:46,950 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba 2025-10-26 22:38:46,956 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/05d70a5b-c98b-447d-8c62-532c5f74269f 2025-10-26 22:38:46,968 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21444954', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8025102606667039568', 'uuid-lslong': '12680511854049846859'}, 'enable': 'true', 'created': '2025-10-26T22:38:44', 'last-modified': '2025-10-26T22:38:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326929'} 2025-10-26 22:38:46,973 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-26 22:38:46,973 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32682137 passed 2025-10-26 22:38:46,973 - DEBUG - ====Verifying policy data for ctest-vn-32682137 in API_Server ====== 2025-10-26 22:38:46,973 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-26 22:38:46,980 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f 2025-10-26 22:38:46,991 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e 2025-10-26 22:38:47,063 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/6f5ee44d-4c73-4350-affa-3a58d6c5664b 2025-10-26 22:38:47,072 - DEBUG - ==>Verifying data for policy with id: 1274b080-f1fe-4b9b-b07a-bf344428dd52, fqn: ['default-domain', 'ctest-TestBasicPolicy-21444954', 'ctest-policy-allow-all-10389328'] 2025-10-26 22:38:47,073 - INFO - VN ctest-vn-32682137 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-26 22:38:47,073 - DEBUG - Verifying the vn in opserver 2025-10-26 22:38:47,073 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137 virtual network link through opserver 10.0.0.249 2025-10-26 22:38:47,073 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-26 22:38:47,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137?flat'} 2025-10-26 22:38:47,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-32682137 is found in opserver 2025-10-26 22:38:47,091 - DEBUG - Do not have enough data to verify VN in agent 2025-10-26 22:38:47,095 - DEBUG - VRF ids for VN ctest-vn-32682137: {} 2025-10-26 22:38:47,152 - DEBUG - Services list from nova: [, , ] 2025-10-26 22:38:48,162 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4483-1) 2025-10-26 22:38:49,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4483-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4483-1) 2025-10-26 22:38:49,311 - INFO - Waiting for VM ctest-TestBasicPolicy-21444954-96878042 to be up.. 2025-10-26 22:38:49,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-26 22:38:54,468 - DEBUG - VM is in ACTIVE state now 2025-10-26 22:38:54,468 - INFO - VM name : ctest-TestBasicPolicy-21444954-96878042 2025-10-26 22:38:54,542 - DEBUG - VM ctest-TestBasicPolicy-21444954-96878042 ID is 3c1b07c6-dd3f-4989-872d-48dba28fd064 2025-10-26 22:38:54,562 - DEBUG - VM ctest-TestBasicPolicy-21444954-96878042 launched on Node cn-jenkins-deploy-platform-ansible-os-4483-1 2025-10-26 22:38:54,636 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3c1b07c6-dd3f-4989-872d-48dba28fd064 2025-10-26 22:38:54,645 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8b161198-04d4-4f1d-adb9-a581b494cbeb 2025-10-26 22:38:57,903 - 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-10-26 22:38:57,903 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21444954-96878042 failed! 2025-10-26 22:38:57,956 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21444954:ctest-vn-89122204 is 92.97.241.129 and allocation pool is NOT set 2025-10-26 22:39:00,018 - 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=4.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.841 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.841/2.790/4.740/1.949 ms') 2025-10-26 22:39:00,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21444954-96878042 passed 2025-10-26 22:39:00,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:39:00,172 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21444954-96878042, IP 92.97.241.131, Port 22 2025-10-26 22:39:00,328 - DEBUG - VM ctest-TestBasicPolicy-21444954-96878042 is ready for SSH connections 2025-10-26 22:39:00,328 - INFO - Waiting for VM ctest-TestBasicPolicy-21444954-34015184 to be up.. 2025-10-26 22:39:00,402 - DEBUG - VM is in ACTIVE state now 2025-10-26 22:39:00,402 - INFO - VM name : ctest-TestBasicPolicy-21444954-34015184 2025-10-26 22:39:00,477 - DEBUG - VM ctest-TestBasicPolicy-21444954-34015184 ID is dcb551a0-b748-4e07-94fd-0cca75e4c99d 2025-10-26 22:39:00,477 - DEBUG - VM ctest-TestBasicPolicy-21444954-34015184 launched on Node cn-jenkins-deploy-platform-ansible-os-4483-1 2025-10-26 22:39:00,551 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/dcb551a0-b748-4e07-94fd-0cca75e4c99d 2025-10-26 22:39:00,559 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/59f4aff1-5cd7-43dd-a8d3-1f107d431c48 2025-10-26 22:39:01,790 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.504 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.504/1.793/3.083/1.289 ms') 2025-10-26 22:39:01,790 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21444954-34015184 passed 2025-10-26 22:39:01,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:39:01,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21444954-34015184, IP 183.214.108.131, Port 22 2025-10-26 22:39:02,095 - DEBUG - VM ctest-TestBasicPolicy-21444954-34015184 is ready for SSH connections 2025-10-26 22:39:02,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:39:02,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.214.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-26 22:39:02,096 - DEBUG - ping -s 56 -c 3 -W 1 183.214.108.131 2025-10-26 22:39:06,158 - DEBUG - PING 183.214.108.131 (183.214.108.131): 56 data bytes 64 bytes from 183.214.108.131: seq=0 ttl=63 time=3.541 ms 64 bytes from 183.214.108.131: seq=1 ttl=63 time=1.948 ms 64 bytes from 183.214.108.131: seq=2 ttl=63 time=1.039 ms --- 183.214.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.039/2.176/3.541 ms 2025-10-26 22:39:06,158 - INFO - Ping to IP 183.214.108.131 from VM ctest-TestBasicPolicy-21444954-96878042 passed 2025-10-26 22:39:06,336 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1274b080-f1fe-4b9b-b07a-bf344428dd52", "href": "http://10.0.0.249:8082/network-policy/1274b080-f1fe-4b9b-b07a-bf344428dd52"}} 2025-10-26 22:39:06,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-26 22:39:06,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.214.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-26 22:39:06,336 - DEBUG - ping -s 56 -c 3 -W 1 183.214.108.131 2025-10-26 22:39:09,550 - DEBUG - PING 183.214.108.131 (183.214.108.131): 56 data bytes --- 183.214.108.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-26 22:39:09,550 - WARNING - Ping to IP 183.214.108.131 from VM ctest-TestBasicPolicy-21444954-96878042 failed 2025-10-26 22:39:09,551 - INFO - Deleting VM ctest-TestBasicPolicy-21444954-34015184 2025-10-26 22:39:09,619 - INFO - Deleting VM ctest-TestBasicPolicy-21444954-96878042 2025-10-26 22:39:10,001 - INFO - Deleted policy ctest-policy-allow-all-10389328 2025-10-26 22:39:10,001 - INFO - Deleting VN ctest-vn-32682137 2025-10-26 22:39:10,036 - DEBUG - VN 6f5ee44d-4c73-4350-affa-3a58d6c5664b still in use: Unable to complete operation on network 6f5ee44d-4c73-4350-affa-3a58d6c5664b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f399c48-2d33-4342-9c61-26e59bfd5792'] 2025-10-26 22:39:10,036 - WARNING - Deleting VN ctest-vn-32682137 failed..Will retry 2025-10-26 22:39:12,140 - DEBUG - Response for deleting network () 2025-10-26 22:39:12,141 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8b54de77-810b-42c1-91c9-9f29e9583fba 2025-10-26 22:39:12,147 - DEBUG - Response Code: 404 2025-10-26 22:39:12,147 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-26 22:39:12,152 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f 2025-10-26 22:39:12,206 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e 2025-10-26 22:39:12,280 - INFO - Validated that VN ctest-vn-32682137 is not found in API Server 2025-10-26 22:39:12,289 - DEBUG - VN ctest-vn-32682137 is not present in Agent 10.0.0.249 2025-10-26 22:39:12,289 - INFO - Validated that VN ctest-vn-32682137 is not in any agent 2025-10-26 22:39:12,303 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32682137 info 2025-10-26 22:39:12,303 - INFO - Deleting VN ctest-vn-89122204 2025-10-26 22:39:12,395 - DEBUG - Response for deleting network () 2025-10-26 22:39:12,395 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ebcc0b43-ae06-4682-9a8a-ceb49eddd12c 2025-10-26 22:39:12,400 - DEBUG - Response Code: 404 2025-10-26 22:39:12,400 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-26 22:39:12,405 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2d2bfb5d-c5e2-4403-93cc-972873279e5f 2025-10-26 22:39:12,461 - DEBUG - Requesting: http://10.0.0.249:8082/project/776e3cff-535a-4e0a-99e3-5cf72113e85e 2025-10-26 22:39:12,529 - INFO - Validated that VN ctest-vn-89122204 is not found in API Server 2025-10-26 22:39:12,537 - DEBUG - VN ctest-vn-89122204 is not present in Agent 10.0.0.249 2025-10-26 22:39:12,537 - INFO - Validated that VN ctest-vn-89122204 is not in any agent 2025-10-26 22:39:12,550 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89122204 info 2025-10-26 22:39:12,805 - DEBUG - No XMPP flaps were noticed during the test 2025-10-26 22:39:12,806 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-26 22:39:12,806 - INFO - -------------------------------------------------------------------------------- 2025-10-26 22:39:13,481 - INFO - Deleted project: ctest-TestBasicPolicy-21444954, ID : 776e3cff-535a-4e0a-99e3-5cf72113e85e