2025-09-22 21:11:30,068 - INFO - Domain Default found not creating 2025-09-22 21:11:30,187 - INFO - Project ctest-TestBasicPolicy-13565614 not found, creating it 2025-09-22 21:11:30,647 - INFO - Created Project:ctest-TestBasicPolicy-13565614, ID : 5452321d-ffd4-47a5-bc79-1a0310d4765c 2025-09-22 21:11:31,974 - INFO - ================================================================================ 2025-09-22 21:11:31,974 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-22 21:11:31,974 - 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-22 21:11:32,227 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-22 21:11:32,227 - INFO - Initial checks done. Running the testcase now 2025-09-22 21:11:32,227 - INFO - 2025-09-22 21:11:32,740 - DEBUG - Response for create_network : {'network': {'id': '7b10fa39-393c-4a36-b400-90709098d991', 'name': 'ctest-vn-15804096', 'tenant_id': '5452321dffd447a5bc791a0310d4765c', 'project_id': '5452321dffd447a5bc791a0310d4765c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-vn-15804096'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:11:32,910 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a16bca77-4386-4244-b381-b99f871d1444', 'name': '', 'tenant_id': '5452321dffd447a5bc791a0310d4765c', 'network_id': '7b10fa39-393c-4a36-b400-90709098d991', 'ip_version': 4, 'cidr': '11.26.93.64/26', 'allocation_pools': [{'start': '11.26.93.66', 'end': '11.26.93.126'}], 'gateway_ip': '11.26.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.26.93.66', 'tags': [], 'project_id': '5452321dffd447a5bc791a0310d4765c'}} 2025-09-22 21:11:32,925 - INFO - Created VN ctest-vn-15804096 2025-09-22 21:11:32,974 - DEBUG - VN ctest-vn-15804096 UUID is 7b10fa39-393c-4a36-b400-90709098d991 2025-09-22 21:11:33,274 - DEBUG - Response for create_network : {'network': {'id': '8308a849-472a-48c6-8d6b-e1e1a2dc5dab', 'name': 'ctest-vn-23707715', 'tenant_id': '5452321dffd447a5bc791a0310d4765c', 'project_id': '5452321dffd447a5bc791a0310d4765c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-vn-23707715'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:11:33,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bb6ed58-0c3b-4ef4-92c2-47890486d5f0', 'name': '', 'tenant_id': '5452321dffd447a5bc791a0310d4765c', 'network_id': '8308a849-472a-48c6-8d6b-e1e1a2dc5dab', 'ip_version': 4, 'cidr': '12.112.69.64/26', 'allocation_pools': [{'start': '12.112.69.66', 'end': '12.112.69.126'}], 'gateway_ip': '12.112.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.112.69.66', 'tags': [], 'project_id': '5452321dffd447a5bc791a0310d4765c'}} 2025-09-22 21:11:33,422 - INFO - Created VN ctest-vn-23707715 2025-09-22 21:11:33,471 - DEBUG - VN ctest-vn-23707715 UUID is 8308a849-472a-48c6-8d6b-e1e1a2dc5dab 2025-09-22 21:11:33,614 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-15804096, 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-13565614:ctest-vn-23707715, 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-22 21:11:33,887 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b10fa39-393c-4a36-b400-90709098d991', 'name': 'ctest-vn-15804096', 'tenant_id': '5452321dffd447a5bc791a0310d4765c', 'project_id': '5452321dffd447a5bc791a0310d4765c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a16bca77-4386-4244-b381-b99f871d1444'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-vn-15804096'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-policy-allow-all-56382178']], 'subnet_ipam': [{'subnet_cidr': '11.26.93.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:11:34,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8308a849-472a-48c6-8d6b-e1e1a2dc5dab', 'name': 'ctest-vn-23707715', 'tenant_id': '5452321dffd447a5bc791a0310d4765c', 'project_id': '5452321dffd447a5bc791a0310d4765c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3bb6ed58-0c3b-4ef4-92c2-47890486d5f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-vn-23707715'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-policy-allow-all-56382178']], 'subnet_ipam': [{'subnet_cidr': '12.112.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 21:11:34,274 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 21:11:34,566 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 21:11:34,590 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4ee0f0a2-b3e2-484c-a549-bb9fd91aab4c 2025-09-22 21:11:34,600 - DEBUG - Requesting: http://10.0.0.254:8082/project/5452321d-ffd4-47a5-bc79-1a0310d4765c 2025-09-22 21:11:34,665 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7b10fa39-393c-4a36-b400-90709098d991 2025-09-22 21:11:34,673 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7b10fa39-393c-4a36-b400-90709098d991 2025-09-22 21:11:34,680 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/601b7da8-c0a6-4bcf-b779-b5be9df42355 2025-09-22 21:11:34,685 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/601b7da8-c0a6-4bcf-b779-b5be9df42355 2025-09-22 21:11:34,690 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/01972d20-7f38-4d00-a1cb-6f061c4f04ff 2025-09-22 21:11:34,694 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 21:11:34,694 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7b10fa39-393c-4a36-b400-90709098d991 2025-09-22 21:11:34,700 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/601b7da8-c0a6-4bcf-b779-b5be9df42355 2025-09-22 21:11:34,710 - INFO - Verified VN network id 12 for VN 7b10fa39-393c-4a36-b400-90709098d991 2025-09-22 21:11:34,710 - INFO - Verifications in API Server for VN ctest-vn-15804096 passed 2025-09-22 21:11:34,711 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7b10fa39-393c-4a36-b400-90709098d991 2025-09-22 21:11:34,717 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/601b7da8-c0a6-4bcf-b779-b5be9df42355 2025-09-22 21:11:34,722 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/601b7da8-c0a6-4bcf-b779-b5be9df42355 2025-09-22 21:11:34,726 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/01972d20-7f38-4d00-a1cb-6f061c4f04ff 2025-09-22 21:11:34,735 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-15804096', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13565614', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8867862789972838966', 'uuid-lslong': '12970525739963701649'}, 'enable': 'true', 'created': '2025-09-22T21:11:32', 'last-modified': '2025-09-22T21:11:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.863081'} 2025-09-22 21:11:34,740 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 21:11:34,740 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15804096 passed 2025-09-22 21:11:34,741 - DEBUG - ====Verifying policy data for ctest-vn-15804096 in API_Server ====== 2025-09-22 21:11:34,741 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 21:11:34,745 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4ee0f0a2-b3e2-484c-a549-bb9fd91aab4c 2025-09-22 21:11:34,755 - DEBUG - Requesting: http://10.0.0.254:8082/project/5452321d-ffd4-47a5-bc79-1a0310d4765c 2025-09-22 21:11:34,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/7b10fa39-393c-4a36-b400-90709098d991 2025-09-22 21:11:34,834 - DEBUG - ==>Verifying data for policy with id: c63a731f-b87a-4b98-b668-d36bcca872b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-policy-allow-all-56382178'] 2025-09-22 21:11:34,835 - INFO - VN ctest-vn-15804096 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 21:11:34,835 - DEBUG - Verifying the vn in opserver 2025-09-22 21:11:34,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-15804096 virtual network link through opserver 10.0.0.254 2025-09-22 21:11:34,835 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-22 21:11:35,124 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-22 21:11:35,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-15804096', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-15804096?flat'} 2025-09-22 21:11:35,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-15804096 is found in opserver 2025-09-22 21:11:35,186 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 21:11:35,190 - DEBUG - VRF ids for VN ctest-vn-15804096: {} 2025-09-22 21:11:35,191 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 21:11:35,195 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4ee0f0a2-b3e2-484c-a549-bb9fd91aab4c 2025-09-22 21:11:35,203 - DEBUG - Requesting: http://10.0.0.254:8082/project/5452321d-ffd4-47a5-bc79-1a0310d4765c 2025-09-22 21:11:35,272 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8308a849-472a-48c6-8d6b-e1e1a2dc5dab 2025-09-22 21:11:35,283 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8308a849-472a-48c6-8d6b-e1e1a2dc5dab 2025-09-22 21:11:35,292 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e4c93bec-1a26-4a2a-bddd-400f432ad0c9 2025-09-22 21:11:35,299 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e4c93bec-1a26-4a2a-bddd-400f432ad0c9 2025-09-22 21:11:35,305 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a3f65a2-6ece-41e0-a09b-1e5660db7a83 2025-09-22 21:11:35,311 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 21:11:35,311 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8308a849-472a-48c6-8d6b-e1e1a2dc5dab 2025-09-22 21:11:35,318 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e4c93bec-1a26-4a2a-bddd-400f432ad0c9 2025-09-22 21:11:35,330 - INFO - Verified VN network id 13 for VN 8308a849-472a-48c6-8d6b-e1e1a2dc5dab 2025-09-22 21:11:35,330 - INFO - Verifications in API Server for VN ctest-vn-23707715 passed 2025-09-22 21:11:35,330 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8308a849-472a-48c6-8d6b-e1e1a2dc5dab 2025-09-22 21:11:35,338 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e4c93bec-1a26-4a2a-bddd-400f432ad0c9 2025-09-22 21:11:35,344 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e4c93bec-1a26-4a2a-bddd-400f432ad0c9 2025-09-22 21:11:35,350 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9a3f65a2-6ece-41e0-a09b-1e5660db7a83 2025-09-22 21:11:35,359 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-23707715', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13565614', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9441981651462277318', 'uuid-lslong': '10190486941072121259'}, 'enable': 'true', 'created': '2025-09-22T21:11:33', 'last-modified': '2025-09-22T21:11:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.272349'} 2025-09-22 21:11:35,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 21:11:35,365 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23707715 passed 2025-09-22 21:11:35,365 - DEBUG - ====Verifying policy data for ctest-vn-23707715 in API_Server ====== 2025-09-22 21:11:35,365 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 21:11:35,370 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4ee0f0a2-b3e2-484c-a549-bb9fd91aab4c 2025-09-22 21:11:35,379 - DEBUG - Requesting: http://10.0.0.254:8082/project/5452321d-ffd4-47a5-bc79-1a0310d4765c 2025-09-22 21:11:35,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/8308a849-472a-48c6-8d6b-e1e1a2dc5dab 2025-09-22 21:11:35,457 - DEBUG - ==>Verifying data for policy with id: c63a731f-b87a-4b98-b668-d36bcca872b4, fqn: ['default-domain', 'ctest-TestBasicPolicy-13565614', 'ctest-policy-allow-all-56382178'] 2025-09-22 21:11:35,457 - INFO - VN ctest-vn-23707715 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 21:11:35,457 - DEBUG - Verifying the vn in opserver 2025-09-22 21:11:35,457 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-23707715 virtual network link through opserver 10.0.0.254 2025-09-22 21:11:35,457 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-22 21:11:35,465 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-23707715', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-23707715?flat'} 2025-09-22 21:11:35,465 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-23707715 is found in opserver 2025-09-22 21:11:35,474 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 21:11:35,478 - DEBUG - VRF ids for VN ctest-vn-23707715: {} 2025-09-22 21:11:35,527 - DEBUG - Services list from nova: [, , ] 2025-09-22 21:11:36,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1) 2025-09-22 21:11:37,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1) 2025-09-22 21:11:37,575 - INFO - Waiting for VM ctest-TestBasicPolicy-13565614-31747707 to be up.. 2025-09-22 21:11:37,642 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 21:11:42,721 - DEBUG - VM is in ACTIVE state now 2025-09-22 21:11:42,721 - INFO - VM name : ctest-TestBasicPolicy-13565614-31747707 2025-09-22 21:11:42,792 - DEBUG - VM ctest-TestBasicPolicy-13565614-31747707 ID is 3a18b235-fcdb-4db8-8fc1-97050c62ed1b 2025-09-22 21:11:42,813 - DEBUG - VM ctest-TestBasicPolicy-13565614-31747707 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1 2025-09-22 21:11:42,885 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3a18b235-fcdb-4db8-8fc1-97050c62ed1b 2025-09-22 21:11:42,892 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c903f96b-8bcb-47db-8a4a-f086203f5db1 2025-09-22 21:11:46,151 - 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 1031ms') 2025-09-22 21:11:46,152 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13565614-31747707 failed! 2025-09-22 21:11:46,207 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13565614:ctest-vn-15804096 is 11.26.93.65 and allocation pool is NOT set 2025-09-22 21:11:48,270 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.432 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.432/1.947/3.463/1.515 ms') 2025-09-22 21:11:48,270 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13565614-31747707 passed 2025-09-22 21:11:48,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:11:48,423 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13565614-31747707, IP 11.26.93.67, Port 22 2025-09-22 21:11:48,574 - DEBUG - VM ctest-TestBasicPolicy-13565614-31747707 is ready for SSH connections 2025-09-22 21:11:48,574 - INFO - Waiting for VM ctest-TestBasicPolicy-13565614-88964827 to be up.. 2025-09-22 21:11:48,638 - DEBUG - VM is in ACTIVE state now 2025-09-22 21:11:48,638 - INFO - VM name : ctest-TestBasicPolicy-13565614-88964827 2025-09-22 21:11:48,697 - DEBUG - VM ctest-TestBasicPolicy-13565614-88964827 ID is c4119918-4738-4a96-91a7-32cbaefcf426 2025-09-22 21:11:48,697 - DEBUG - VM ctest-TestBasicPolicy-13565614-88964827 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1 2025-09-22 21:11:48,760 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c4119918-4738-4a96-91a7-32cbaefcf426 2025-09-22 21:11:48,767 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ff5fc37-1869-4a4d-8a3e-e6aa4c050e9a 2025-09-22 21:11:49,999 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.301 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.301/2.005/3.709/1.704 ms') 2025-09-22 21:11:49,999 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13565614-88964827 passed 2025-09-22 21:11:50,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:11:50,151 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13565614-88964827, IP 12.112.69.67, Port 22 2025-09-22 21:11:50,306 - DEBUG - VM ctest-TestBasicPolicy-13565614-88964827 is ready for SSH connections 2025-09-22 21:11:50,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:11:50,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.112.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:11:50,306 - DEBUG - ping -s 56 -c 3 -W 1 12.112.69.67 2025-09-22 21:11:53,973 - DEBUG - PING 12.112.69.67 (12.112.69.67): 56 data bytes 64 bytes from 12.112.69.67: seq=0 ttl=63 time=3.214 ms 64 bytes from 12.112.69.67: seq=1 ttl=63 time=0.824 ms 64 bytes from 12.112.69.67: seq=2 ttl=63 time=0.820 ms --- 12.112.69.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.619/3.214 ms 2025-09-22 21:11:53,973 - INFO - Ping to IP 12.112.69.67 from VM ctest-TestBasicPolicy-13565614-31747707 passed 2025-09-22 21:11:54,142 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c63a731f-b87a-4b98-b668-d36bcca872b4", "href": "http://10.0.0.254:8082/network-policy/c63a731f-b87a-4b98-b668-d36bcca872b4"}} 2025-09-22 21:11:54,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 21:11:54,143 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.112.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-22 21:11:54,143 - DEBUG - ping -s 56 -c 3 -W 1 12.112.69.67 2025-09-22 21:11:57,343 - DEBUG - PING 12.112.69.67 (12.112.69.67): 56 data bytes 64 bytes from 12.112.69.67: seq=0 ttl=63 time=1.329 ms --- 12.112.69.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.329/1.329/1.329 ms 2025-09-22 21:11:57,343 - WARNING - Ping to IP 12.112.69.67 from VM ctest-TestBasicPolicy-13565614-31747707 failed 2025-09-22 21:11:57,343 - INFO - Deleting VM ctest-TestBasicPolicy-13565614-88964827 2025-09-22 21:11:57,400 - INFO - Deleting VM ctest-TestBasicPolicy-13565614-31747707 2025-09-22 21:11:57,747 - INFO - Deleted policy ctest-policy-allow-all-56382178 2025-09-22 21:11:57,747 - INFO - Deleting VN ctest-vn-23707715 2025-09-22 21:11:57,777 - DEBUG - VN 8308a849-472a-48c6-8d6b-e1e1a2dc5dab still in use: Unable to complete operation on network 8308a849-472a-48c6-8d6b-e1e1a2dc5dab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd53951c-24c4-4593-8de9-c4451db7ed93'] 2025-09-22 21:11:57,777 - WARNING - Deleting VN ctest-vn-23707715 failed..Will retry 2025-09-22 21:11:59,862 - DEBUG - Response for deleting network () 2025-09-22 21:11:59,862 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e4c93bec-1a26-4a2a-bddd-400f432ad0c9 2025-09-22 21:11:59,867 - DEBUG - Response Code: 404 2025-09-22 21:11:59,867 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 21:11:59,871 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4ee0f0a2-b3e2-484c-a549-bb9fd91aab4c 2025-09-22 21:11:59,928 - DEBUG - Requesting: http://10.0.0.254:8082/project/5452321d-ffd4-47a5-bc79-1a0310d4765c 2025-09-22 21:11:59,997 - INFO - Validated that VN ctest-vn-23707715 is not found in API Server 2025-09-22 21:12:00,005 - DEBUG - VN ctest-vn-23707715 is not present in Agent 10.0.0.254 2025-09-22 21:12:00,005 - INFO - Validated that VN ctest-vn-23707715 is not in any agent 2025-09-22 21:12:00,016 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23707715 info 2025-09-22 21:12:00,016 - INFO - Deleting VN ctest-vn-15804096 2025-09-22 21:12:00,101 - DEBUG - Response for deleting network () 2025-09-22 21:12:00,102 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/601b7da8-c0a6-4bcf-b779-b5be9df42355 2025-09-22 21:12:00,106 - DEBUG - Response Code: 404 2025-09-22 21:12:00,107 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-22 21:12:00,112 - DEBUG - Requesting: http://10.0.0.254:8082/domain/4ee0f0a2-b3e2-484c-a549-bb9fd91aab4c 2025-09-22 21:12:00,163 - DEBUG - Requesting: http://10.0.0.254:8082/project/5452321d-ffd4-47a5-bc79-1a0310d4765c 2025-09-22 21:12:00,228 - INFO - Validated that VN ctest-vn-15804096 is not found in API Server 2025-09-22 21:12:00,236 - DEBUG - VN ctest-vn-15804096 is not present in Agent 10.0.0.254 2025-09-22 21:12:00,236 - INFO - Validated that VN ctest-vn-15804096 is not in any agent 2025-09-22 21:12:00,247 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15804096 info 2025-09-22 21:12:00,499 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 21:12:00,499 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-22 21:12:00,499 - INFO - -------------------------------------------------------------------------------- 2025-09-22 21:12:01,137 - INFO - Deleted project: ctest-TestBasicPolicy-13565614, ID : 5452321d-ffd4-47a5-bc79-1a0310d4765c