2025-11-17 02:07:37,084 - INFO - Domain Default found not creating 2025-11-17 02:07:37,297 - INFO - Project ctest-TestBasicPolicy-17041257 not found, creating it 2025-11-17 02:07:37,813 - INFO - Created Project:ctest-TestBasicPolicy-17041257, ID : 90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a 2025-11-17 02:07:39,551 - INFO - ================================================================================ 2025-11-17 02:07:39,552 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 02:07:39,552 - 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-17 02:07:39,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-11-17 02:07:39,833 - INFO - Initial checks done. Running the testcase now 2025-11-17 02:07:39,833 - INFO - 2025-11-17 02:07:40,448 - DEBUG - Response for create_network : {'network': {'id': 'b5cc6022-5f0d-4328-9b9c-3545db688fc3', 'name': 'ctest-vn-51028781', 'tenant_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'project_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-vn-51028781'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:07:40,640 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e8fdb21-93e2-4817-843d-c3d57e86ea9c', 'name': '', 'tenant_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'network_id': 'b5cc6022-5f0d-4328-9b9c-3545db688fc3', 'ip_version': 4, 'cidr': '149.89.78.192/26', 'allocation_pools': [{'start': '149.89.78.194', 'end': '149.89.78.254'}], 'gateway_ip': '149.89.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.89.78.194', 'tags': [], 'project_id': '90cb6db2ebe945768b15bfe8a3ebc90a'}} 2025-11-17 02:07:40,659 - INFO - Created VN ctest-vn-51028781 2025-11-17 02:07:40,715 - DEBUG - VN ctest-vn-51028781 UUID is b5cc6022-5f0d-4328-9b9c-3545db688fc3 2025-11-17 02:07:41,013 - DEBUG - Response for create_network : {'network': {'id': '73b6e6d0-7575-42e3-b750-6c79cc6bfd4b', 'name': 'ctest-vn-62101923', 'tenant_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'project_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-vn-62101923'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:07:41,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '0430ad5a-ddbc-4894-950c-834d0a37aa28', 'name': '', 'tenant_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'network_id': '73b6e6d0-7575-42e3-b750-6c79cc6bfd4b', 'ip_version': 4, 'cidr': '99.189.40.0/26', 'allocation_pools': [{'start': '99.189.40.2', 'end': '99.189.40.62'}], 'gateway_ip': '99.189.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.189.40.2', 'tags': [], 'project_id': '90cb6db2ebe945768b15bfe8a3ebc90a'}} 2025-11-17 02:07:41,248 - INFO - Created VN ctest-vn-62101923 2025-11-17 02:07:41,299 - DEBUG - VN ctest-vn-62101923 UUID is 73b6e6d0-7575-42e3-b750-6c79cc6bfd4b 2025-11-17 02:07:41,417 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-51028781, 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-17041257:ctest-vn-62101923, 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-17 02:07:41,724 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5cc6022-5f0d-4328-9b9c-3545db688fc3', 'name': 'ctest-vn-51028781', 'tenant_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'project_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3e8fdb21-93e2-4817-843d-c3d57e86ea9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-vn-51028781'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-policy-allow-all-33057230']], 'subnet_ipam': [{'subnet_cidr': '149.89.78.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:07:41,975 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73b6e6d0-7575-42e3-b750-6c79cc6bfd4b', 'name': 'ctest-vn-62101923', 'tenant_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'project_id': '90cb6db2ebe945768b15bfe8a3ebc90a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0430ad5a-ddbc-4894-950c-834d0a37aa28'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-vn-62101923'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-policy-allow-all-33057230']], 'subnet_ipam': [{'subnet_cidr': '99.189.40.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 02:07:42,159 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-17 02:07:42,492 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-17 02:07:42,530 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4082dd1b-6c69-48e4-8064-322ad79b4643 2025-11-17 02:07:42,544 - DEBUG - Requesting: http://10.0.0.27:8082/project/90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a 2025-11-17 02:07:42,626 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b5cc6022-5f0d-4328-9b9c-3545db688fc3 2025-11-17 02:07:42,638 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b5cc6022-5f0d-4328-9b9c-3545db688fc3 2025-11-17 02:07:42,649 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/24be6be5-6082-4b22-994f-73068ef5efac 2025-11-17 02:07:42,659 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/24be6be5-6082-4b22-994f-73068ef5efac 2025-11-17 02:07:42,668 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0012fe8a-954f-4307-93ce-1b54375f745e 2025-11-17 02:07:42,677 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 02:07:42,677 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b5cc6022-5f0d-4328-9b9c-3545db688fc3 2025-11-17 02:07:42,690 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/24be6be5-6082-4b22-994f-73068ef5efac 2025-11-17 02:07:42,708 - INFO - Verified VN network id 12 for VN b5cc6022-5f0d-4328-9b9c-3545db688fc3 2025-11-17 02:07:42,708 - INFO - Verifications in API Server for VN ctest-vn-51028781 passed 2025-11-17 02:07:42,709 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b5cc6022-5f0d-4328-9b9c-3545db688fc3 2025-11-17 02:07:42,719 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/24be6be5-6082-4b22-994f-73068ef5efac 2025-11-17 02:07:42,728 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/24be6be5-6082-4b22-994f-73068ef5efac 2025-11-17 02:07:42,738 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/0012fe8a-954f-4307-93ce-1b54375f745e 2025-11-17 02:07:42,752 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-51028781', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17041257', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13099951116853789480', 'uuid-lslong': '11212895746395770819'}, 'enable': 'true', 'created': '2025-11-17T02:07:40', 'last-modified': '2025-11-17T02:07:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.048896'} 2025-11-17 02:07:42,760 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 02:07:42,760 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51028781 passed 2025-11-17 02:07:42,760 - DEBUG - ====Verifying policy data for ctest-vn-51028781 in API_Server ====== 2025-11-17 02:07:42,760 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-17 02:07:42,768 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4082dd1b-6c69-48e4-8064-322ad79b4643 2025-11-17 02:07:42,780 - DEBUG - Requesting: http://10.0.0.27:8082/project/90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a 2025-11-17 02:07:42,856 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/b5cc6022-5f0d-4328-9b9c-3545db688fc3 2025-11-17 02:07:42,867 - DEBUG - ==>Verifying data for policy with id: 094765fe-09f2-4b7c-908b-09975450c7ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-policy-allow-all-33057230'] 2025-11-17 02:07:42,867 - INFO - VN ctest-vn-51028781 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 02:07:42,867 - DEBUG - Verifying the vn in opserver 2025-11-17 02:07:42,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-51028781 virtual network link through opserver 10.0.0.27 2025-11-17 02:07:42,868 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-17 02:07:43,168 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-17 02:07:43,252 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-51028781', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-51028781?flat'} 2025-11-17 02:07:43,252 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-51028781 is found in opserver 2025-11-17 02:07:43,262 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 02:07:43,267 - DEBUG - VRF ids for VN ctest-vn-51028781: {} 2025-11-17 02:07:43,267 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-17 02:07:43,273 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4082dd1b-6c69-48e4-8064-322ad79b4643 2025-11-17 02:07:43,285 - DEBUG - Requesting: http://10.0.0.27:8082/project/90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a 2025-11-17 02:07:43,363 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/73b6e6d0-7575-42e3-b750-6c79cc6bfd4b 2025-11-17 02:07:43,378 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/73b6e6d0-7575-42e3-b750-6c79cc6bfd4b 2025-11-17 02:07:43,391 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/77c51b13-81b0-42d4-8dab-7e4e231d665c 2025-11-17 02:07:43,400 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/77c51b13-81b0-42d4-8dab-7e4e231d665c 2025-11-17 02:07:43,408 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/008396dd-4278-4cfd-9351-219c4757cd33 2025-11-17 02:07:43,416 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 02:07:43,416 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/73b6e6d0-7575-42e3-b750-6c79cc6bfd4b 2025-11-17 02:07:43,427 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/77c51b13-81b0-42d4-8dab-7e4e231d665c 2025-11-17 02:07:43,445 - INFO - Verified VN network id 13 for VN 73b6e6d0-7575-42e3-b750-6c79cc6bfd4b 2025-11-17 02:07:43,445 - INFO - Verifications in API Server for VN ctest-vn-62101923 passed 2025-11-17 02:07:43,445 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/73b6e6d0-7575-42e3-b750-6c79cc6bfd4b 2025-11-17 02:07:43,455 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/77c51b13-81b0-42d4-8dab-7e4e231d665c 2025-11-17 02:07:43,463 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/77c51b13-81b0-42d4-8dab-7e4e231d665c 2025-11-17 02:07:43,474 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/008396dd-4278-4cfd-9351-219c4757cd33 2025-11-17 02:07:43,486 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-62101923', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17041257', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8338105543121257187', 'uuid-lslong': '13209176977454136651'}, 'enable': 'true', 'created': '2025-11-17T02:07:40', 'last-modified': '2025-11-17T02:07:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.543564'} 2025-11-17 02:07:43,493 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 02:07:43,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62101923 passed 2025-11-17 02:07:43,493 - DEBUG - ====Verifying policy data for ctest-vn-62101923 in API_Server ====== 2025-11-17 02:07:43,494 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-17 02:07:43,500 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4082dd1b-6c69-48e4-8064-322ad79b4643 2025-11-17 02:07:43,511 - DEBUG - Requesting: http://10.0.0.27:8082/project/90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a 2025-11-17 02:07:43,593 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/73b6e6d0-7575-42e3-b750-6c79cc6bfd4b 2025-11-17 02:07:43,603 - DEBUG - ==>Verifying data for policy with id: 094765fe-09f2-4b7c-908b-09975450c7ae, fqn: ['default-domain', 'ctest-TestBasicPolicy-17041257', 'ctest-policy-allow-all-33057230'] 2025-11-17 02:07:43,603 - INFO - VN ctest-vn-62101923 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 02:07:43,603 - DEBUG - Verifying the vn in opserver 2025-11-17 02:07:43,603 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-62101923 virtual network link through opserver 10.0.0.27 2025-11-17 02:07:43,603 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-11-17 02:07:43,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-62101923', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-62101923?flat'} 2025-11-17 02:07:43,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-62101923 is found in opserver 2025-11-17 02:07:43,626 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 02:07:43,632 - DEBUG - VRF ids for VN ctest-vn-62101923: {} 2025-11-17 02:07:43,730 - DEBUG - Services list from nova: [, , ] 2025-11-17 02:07:44,824 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1) 2025-11-17 02:07:46,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4739-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4739-1) 2025-11-17 02:07:46,045 - INFO - Waiting for VM ctest-TestBasicPolicy-17041257-12963822 to be up.. 2025-11-17 02:07:46,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 02:07:51,229 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:07:51,229 - INFO - VM name : ctest-TestBasicPolicy-17041257-12963822 2025-11-17 02:07:51,325 - DEBUG - VM ctest-TestBasicPolicy-17041257-12963822 ID is 992a9d4c-ff8d-463d-aa2e-1fd7039f5639 2025-11-17 02:07:51,355 - DEBUG - VM ctest-TestBasicPolicy-17041257-12963822 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1 2025-11-17 02:07:51,453 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/992a9d4c-ff8d-463d-aa2e-1fd7039f5639 2025-11-17 02:07:51,466 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/39a6a304-e4fd-4fe4-8f01-90eb23d2b772 2025-11-17 02:07:54,734 - 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 1013ms') 2025-11-17 02:07:54,734 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17041257-12963822 failed! 2025-11-17 02:07:54,795 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17041257:ctest-vn-51028781 is 149.89.78.193 and allocation pool is NOT set 2025-11-17 02:07:56,863 - 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=7.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.51 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 = 3.514/5.683/7.852/2.169 ms') 2025-11-17 02:07:56,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17041257-12963822 passed 2025-11-17 02:07:57,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:57,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17041257-12963822, IP 149.89.78.195, Port 22 2025-11-17 02:07:57,197 - DEBUG - VM ctest-TestBasicPolicy-17041257-12963822 is ready for SSH connections 2025-11-17 02:07:57,197 - INFO - Waiting for VM ctest-TestBasicPolicy-17041257-18462397 to be up.. 2025-11-17 02:07:57,293 - DEBUG - VM is in ACTIVE state now 2025-11-17 02:07:57,294 - INFO - VM name : ctest-TestBasicPolicy-17041257-18462397 2025-11-17 02:07:57,385 - DEBUG - VM ctest-TestBasicPolicy-17041257-18462397 ID is d28ee93f-e731-4933-a3b1-047febbe863d 2025-11-17 02:07:57,385 - DEBUG - VM ctest-TestBasicPolicy-17041257-18462397 launched on Node cn-jenkins-deploy-platform-ansible-os-4739-1 2025-11-17 02:07:57,472 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/d28ee93f-e731-4933-a3b1-047febbe863d 2025-11-17 02:07:57,482 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a6fb5b9c-7578-4462-9a35-96f5dc56a0df 2025-11-17 02:07:58,735 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.915 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.915/2.990/5.065/2.075 ms') 2025-11-17 02:07:58,735 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17041257-18462397 passed 2025-11-17 02:07:58,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:58,891 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17041257-18462397, IP 99.189.40.3, Port 22 2025-11-17 02:07:59,047 - DEBUG - VM ctest-TestBasicPolicy-17041257-18462397 is ready for SSH connections 2025-11-17 02:07:59,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:07:59,048 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.189.40.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:07:59,048 - DEBUG - ping -s 56 -c 3 -W 1 99.189.40.3 2025-11-17 02:08:03,233 - DEBUG - PING 99.189.40.3 (99.189.40.3): 56 data bytes 64 bytes from 99.189.40.3: seq=0 ttl=63 time=4.801 ms 64 bytes from 99.189.40.3: seq=1 ttl=63 time=1.133 ms 64 bytes from 99.189.40.3: seq=2 ttl=63 time=1.111 ms --- 99.189.40.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.111/2.348/4.801 ms 2025-11-17 02:08:03,233 - INFO - Ping to IP 99.189.40.3 from VM ctest-TestBasicPolicy-17041257-12963822 passed 2025-11-17 02:08:03,418 - DEBUG - Policy Update Response {"network-policy": {"uuid": "094765fe-09f2-4b7c-908b-09975450c7ae", "href": "http://10.0.0.27:8082/network-policy/094765fe-09f2-4b7c-908b-09975450c7ae"}} 2025-11-17 02:08:03,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 02:08:03,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.189.40.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-17 02:08:03,419 - DEBUG - ping -s 56 -c 3 -W 1 99.189.40.3 2025-11-17 02:08:06,648 - DEBUG - PING 99.189.40.3 (99.189.40.3): 56 data bytes --- 99.189.40.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 02:08:06,649 - WARNING - Ping to IP 99.189.40.3 from VM ctest-TestBasicPolicy-17041257-12963822 failed 2025-11-17 02:08:06,649 - INFO - Deleting VM ctest-TestBasicPolicy-17041257-18462397 2025-11-17 02:08:06,749 - INFO - Deleting VM ctest-TestBasicPolicy-17041257-12963822 2025-11-17 02:08:07,249 - INFO - Deleted policy ctest-policy-allow-all-33057230 2025-11-17 02:08:07,249 - INFO - Deleting VN ctest-vn-62101923 2025-11-17 02:08:07,296 - DEBUG - VN 73b6e6d0-7575-42e3-b750-6c79cc6bfd4b still in use: Unable to complete operation on network 73b6e6d0-7575-42e3-b750-6c79cc6bfd4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-836328f2-c80d-491b-b6c9-33ee7fd84454'] 2025-11-17 02:08:07,296 - WARNING - Deleting VN ctest-vn-62101923 failed..Will retry 2025-11-17 02:08:09,411 - DEBUG - Response for deleting network () 2025-11-17 02:08:09,412 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/77c51b13-81b0-42d4-8dab-7e4e231d665c 2025-11-17 02:08:09,418 - DEBUG - Response Code: 404 2025-11-17 02:08:09,418 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-17 02:08:09,424 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4082dd1b-6c69-48e4-8064-322ad79b4643 2025-11-17 02:08:09,483 - DEBUG - Requesting: http://10.0.0.27:8082/project/90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a 2025-11-17 02:08:09,560 - INFO - Validated that VN ctest-vn-62101923 is not found in API Server 2025-11-17 02:08:09,572 - DEBUG - VN ctest-vn-62101923 is not present in Agent 10.0.0.27 2025-11-17 02:08:09,572 - INFO - Validated that VN ctest-vn-62101923 is not in any agent 2025-11-17 02:08:09,586 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62101923 info 2025-11-17 02:08:09,586 - INFO - Deleting VN ctest-vn-51028781 2025-11-17 02:08:09,706 - DEBUG - Response for deleting network () 2025-11-17 02:08:09,706 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/24be6be5-6082-4b22-994f-73068ef5efac 2025-11-17 02:08:09,712 - DEBUG - Response Code: 404 2025-11-17 02:08:09,713 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-11-17 02:08:09,719 - DEBUG - Requesting: http://10.0.0.27:8082/domain/4082dd1b-6c69-48e4-8064-322ad79b4643 2025-11-17 02:08:09,773 - DEBUG - Requesting: http://10.0.0.27:8082/project/90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a 2025-11-17 02:08:09,848 - INFO - Validated that VN ctest-vn-51028781 is not found in API Server 2025-11-17 02:08:09,858 - DEBUG - VN ctest-vn-51028781 is not present in Agent 10.0.0.27 2025-11-17 02:08:09,858 - INFO - Validated that VN ctest-vn-51028781 is not in any agent 2025-11-17 02:08:09,873 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51028781 info 2025-11-17 02:08:10,137 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 02:08:10,137 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-11-17 02:08:10,137 - INFO - -------------------------------------------------------------------------------- 2025-11-17 02:08:10,932 - INFO - Deleted project: ctest-TestBasicPolicy-17041257, ID : 90cb6db2-ebe9-4576-8b15-bfe8a3ebc90a