2025-11-17 16:13:38,494 - INFO - Domain Default found not creating 2025-11-17 16:13:38,665 - INFO - Project ctest-TestBasicPolicy-88414855 not found, creating it 2025-11-17 16:13:39,137 - INFO - Created Project:ctest-TestBasicPolicy-88414855, ID : 399e0fc1-b1bf-4e1a-8373-4a5c957a469a 2025-11-17 16:13:40,790 - INFO - ================================================================================ 2025-11-17 16:13:40,790 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 16:13:40,790 - 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 16:13:41,050 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-11-17 16:13:41,050 - INFO - Initial checks done. Running the testcase now 2025-11-17 16:13:41,050 - INFO - 2025-11-17 16:13:41,645 - DEBUG - Response for create_network : {'network': {'id': 'd576a529-e40e-45b6-b71c-e5bdbdf1af2c', 'name': 'ctest-vn-87782892', 'tenant_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'project_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-vn-87782892'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:13:41,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '608b0d5a-ae42-42e4-a353-7d2c5fe4293c', 'name': '', 'tenant_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'network_id': 'd576a529-e40e-45b6-b71c-e5bdbdf1af2c', 'ip_version': 4, 'cidr': '137.134.125.0/26', 'allocation_pools': [{'start': '137.134.125.2', 'end': '137.134.125.62'}], 'gateway_ip': '137.134.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.134.125.2', 'tags': [], 'project_id': '399e0fc1b1bf4e1a83734a5c957a469a'}} 2025-11-17 16:13:41,891 - INFO - Created VN ctest-vn-87782892 2025-11-17 16:13:41,944 - DEBUG - VN ctest-vn-87782892 UUID is d576a529-e40e-45b6-b71c-e5bdbdf1af2c 2025-11-17 16:13:42,234 - DEBUG - Response for create_network : {'network': {'id': 'e91143d6-bdf9-4dea-bc0c-46c361edc77e', 'name': 'ctest-vn-21505361', 'tenant_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'project_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-vn-21505361'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:13:42,387 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e87a8e6d-6ad2-416d-b30b-bb669e802647', 'name': '', 'tenant_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'network_id': 'e91143d6-bdf9-4dea-bc0c-46c361edc77e', 'ip_version': 4, 'cidr': '121.209.90.192/26', 'allocation_pools': [{'start': '121.209.90.194', 'end': '121.209.90.254'}], 'gateway_ip': '121.209.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.209.90.194', 'tags': [], 'project_id': '399e0fc1b1bf4e1a83734a5c957a469a'}} 2025-11-17 16:13:42,405 - INFO - Created VN ctest-vn-21505361 2025-11-17 16:13:42,456 - DEBUG - VN ctest-vn-21505361 UUID is e91143d6-bdf9-4dea-bc0c-46c361edc77e 2025-11-17 16:13:42,611 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-87782892, 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-88414855:ctest-vn-21505361, 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 16:13:42,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd576a529-e40e-45b6-b71c-e5bdbdf1af2c', 'name': 'ctest-vn-87782892', 'tenant_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'project_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['608b0d5a-ae42-42e4-a353-7d2c5fe4293c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-vn-87782892'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-policy-allow-all-40197275']], 'subnet_ipam': [{'subnet_cidr': '137.134.125.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:13:43,198 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e91143d6-bdf9-4dea-bc0c-46c361edc77e', 'name': 'ctest-vn-21505361', 'tenant_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'project_id': '399e0fc1b1bf4e1a83734a5c957a469a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e87a8e6d-6ad2-416d-b30b-bb669e802647'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-vn-21505361'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-policy-allow-all-40197275']], 'subnet_ipam': [{'subnet_cidr': '121.209.90.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 16:13:43,344 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 16:13:43,687 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 16:13:43,718 - DEBUG - Requesting: http://10.0.0.141:8082/domain/191752d0-7efd-4a41-89be-cca21d8fe230 2025-11-17 16:13:43,731 - DEBUG - Requesting: http://10.0.0.141:8082/project/399e0fc1-b1bf-4e1a-8373-4a5c957a469a 2025-11-17 16:13:43,806 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d576a529-e40e-45b6-b71c-e5bdbdf1af2c 2025-11-17 16:13:43,817 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d576a529-e40e-45b6-b71c-e5bdbdf1af2c 2025-11-17 16:13:43,825 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c2136498-a565-45d0-bce2-919e8a7272c6 2025-11-17 16:13:43,833 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c2136498-a565-45d0-bce2-919e8a7272c6 2025-11-17 16:13:43,840 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/30d4a695-ff2a-46d6-a878-ebae773577fa 2025-11-17 16:13:43,846 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 16:13:43,846 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d576a529-e40e-45b6-b71c-e5bdbdf1af2c 2025-11-17 16:13:43,854 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c2136498-a565-45d0-bce2-919e8a7272c6 2025-11-17 16:13:43,868 - INFO - Verified VN network id 11 for VN d576a529-e40e-45b6-b71c-e5bdbdf1af2c 2025-11-17 16:13:43,868 - INFO - Verifications in API Server for VN ctest-vn-87782892 passed 2025-11-17 16:13:43,868 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d576a529-e40e-45b6-b71c-e5bdbdf1af2c 2025-11-17 16:13:43,876 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c2136498-a565-45d0-bce2-919e8a7272c6 2025-11-17 16:13:43,882 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c2136498-a565-45d0-bce2-919e8a7272c6 2025-11-17 16:13:43,888 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/30d4a695-ff2a-46d6-a878-ebae773577fa 2025-11-17 16:13:43,899 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-87782892', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88414855', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15381663176668890550', 'uuid-lslong': '13194673611387023148'}, 'enable': 'true', 'created': '2025-11-17T16:13:41', 'last-modified': '2025-11-17T16:13:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011955'} 2025-11-17 16:13:43,906 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 16:13:43,906 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87782892 passed 2025-11-17 16:13:43,906 - DEBUG - ====Verifying policy data for ctest-vn-87782892 in API_Server ====== 2025-11-17 16:13:43,906 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 16:13:43,911 - DEBUG - Requesting: http://10.0.0.141:8082/domain/191752d0-7efd-4a41-89be-cca21d8fe230 2025-11-17 16:13:43,923 - DEBUG - Requesting: http://10.0.0.141:8082/project/399e0fc1-b1bf-4e1a-8373-4a5c957a469a 2025-11-17 16:13:43,999 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/d576a529-e40e-45b6-b71c-e5bdbdf1af2c 2025-11-17 16:13:44,010 - DEBUG - ==>Verifying data for policy with id: 91544c56-ad9b-4c5b-a39e-0f00e3b64ee5, fqn: ['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-policy-allow-all-40197275'] 2025-11-17 16:13:44,010 - INFO - VN ctest-vn-87782892 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 16:13:44,010 - DEBUG - Verifying the vn in opserver 2025-11-17 16:13:44,011 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-87782892 virtual network link through opserver 10.0.0.141 2025-11-17 16:13:44,011 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-17 16:13:44,351 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-17 16:13:44,422 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-87782892', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-87782892?flat'} 2025-11-17 16:13:44,422 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-87782892 is found in opserver 2025-11-17 16:13:44,435 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 16:13:44,440 - DEBUG - VRF ids for VN ctest-vn-87782892: {} 2025-11-17 16:13:44,440 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 16:13:44,446 - DEBUG - Requesting: http://10.0.0.141:8082/domain/191752d0-7efd-4a41-89be-cca21d8fe230 2025-11-17 16:13:44,459 - DEBUG - Requesting: http://10.0.0.141:8082/project/399e0fc1-b1bf-4e1a-8373-4a5c957a469a 2025-11-17 16:13:44,530 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e91143d6-bdf9-4dea-bc0c-46c361edc77e 2025-11-17 16:13:44,541 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e91143d6-bdf9-4dea-bc0c-46c361edc77e 2025-11-17 16:13:44,551 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b594a72e-46b7-4622-b1f6-8f0df1c7f235 2025-11-17 16:13:44,558 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b594a72e-46b7-4622-b1f6-8f0df1c7f235 2025-11-17 16:13:44,565 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c0abde5d-9512-4107-b077-1e3da843732b 2025-11-17 16:13:44,571 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 16:13:44,571 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e91143d6-bdf9-4dea-bc0c-46c361edc77e 2025-11-17 16:13:44,580 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b594a72e-46b7-4622-b1f6-8f0df1c7f235 2025-11-17 16:13:44,594 - INFO - Verified VN network id 12 for VN e91143d6-bdf9-4dea-bc0c-46c361edc77e 2025-11-17 16:13:44,594 - INFO - Verifications in API Server for VN ctest-vn-21505361 passed 2025-11-17 16:13:44,594 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e91143d6-bdf9-4dea-bc0c-46c361edc77e 2025-11-17 16:13:44,603 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b594a72e-46b7-4622-b1f6-8f0df1c7f235 2025-11-17 16:13:44,610 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b594a72e-46b7-4622-b1f6-8f0df1c7f235 2025-11-17 16:13:44,617 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c0abde5d-9512-4107-b077-1e3da843732b 2025-11-17 16:13:44,629 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-21505361', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88414855', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16794279075030584810', 'uuid-lslong': '13550283183826519934'}, 'enable': 'true', 'created': '2025-11-17T16:13:42', 'last-modified': '2025-11-17T16:13:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.504589'} 2025-11-17 16:13:44,635 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 16:13:44,635 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21505361 passed 2025-11-17 16:13:44,635 - DEBUG - ====Verifying policy data for ctest-vn-21505361 in API_Server ====== 2025-11-17 16:13:44,635 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 16:13:44,641 - DEBUG - Requesting: http://10.0.0.141:8082/domain/191752d0-7efd-4a41-89be-cca21d8fe230 2025-11-17 16:13:44,651 - DEBUG - Requesting: http://10.0.0.141:8082/project/399e0fc1-b1bf-4e1a-8373-4a5c957a469a 2025-11-17 16:13:44,725 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e91143d6-bdf9-4dea-bc0c-46c361edc77e 2025-11-17 16:13:44,737 - DEBUG - ==>Verifying data for policy with id: 91544c56-ad9b-4c5b-a39e-0f00e3b64ee5, fqn: ['default-domain', 'ctest-TestBasicPolicy-88414855', 'ctest-policy-allow-all-40197275'] 2025-11-17 16:13:44,737 - INFO - VN ctest-vn-21505361 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 16:13:44,737 - DEBUG - Verifying the vn in opserver 2025-11-17 16:13:44,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-21505361 virtual network link through opserver 10.0.0.141 2025-11-17 16:13:44,737 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-11-17 16:13:44,747 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-21505361', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-21505361?flat'} 2025-11-17 16:13:44,747 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-21505361 is found in opserver 2025-11-17 16:13:44,757 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 16:13:44,762 - DEBUG - VRF ids for VN ctest-vn-21505361: {} 2025-11-17 16:13:44,827 - DEBUG - Services list from nova: [, , ] 2025-11-17 16:13:45,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4742-1) 2025-11-17 16:13:47,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4742-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4742-1) 2025-11-17 16:13:47,181 - INFO - Waiting for VM ctest-TestBasicPolicy-88414855-68819667 to be up.. 2025-11-17 16:13:47,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 16:13:52,380 - DEBUG - VM is in ACTIVE state now 2025-11-17 16:13:52,380 - INFO - VM name : ctest-TestBasicPolicy-88414855-68819667 2025-11-17 16:13:52,467 - DEBUG - VM ctest-TestBasicPolicy-88414855-68819667 ID is 8c3694da-ef2b-4f30-914e-5fca6fff30e7 2025-11-17 16:13:52,486 - DEBUG - VM ctest-TestBasicPolicy-88414855-68819667 launched on Node cn-jenkins-deploy-platform-ansible-os-4742-1 2025-11-17 16:13:52,559 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8c3694da-ef2b-4f30-914e-5fca6fff30e7 2025-11-17 16:13:52,570 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1bd623b7-ed9d-4aa7-9e35-532bb06279ae 2025-11-17 16:13:55,842 - 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 1029ms') 2025-11-17 16:13:55,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88414855-68819667 failed! 2025-11-17 16:13:55,900 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88414855:ctest-vn-87782892 is 137.134.125.1 and allocation pool is NOT set 2025-11-17 16:13:57,962 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.717 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.717/5.375/10.034/4.658 ms') 2025-11-17 16:13:57,962 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88414855-68819667 passed 2025-11-17 16:13:58,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:13:58,120 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88414855-68819667, IP 137.134.125.3, Port 22 2025-11-17 16:13:58,279 - DEBUG - VM ctest-TestBasicPolicy-88414855-68819667 is ready for SSH connections 2025-11-17 16:13:58,279 - INFO - Waiting for VM ctest-TestBasicPolicy-88414855-35982054 to be up.. 2025-11-17 16:13:58,360 - DEBUG - VM is in ACTIVE state now 2025-11-17 16:13:58,360 - INFO - VM name : ctest-TestBasicPolicy-88414855-35982054 2025-11-17 16:13:58,434 - DEBUG - VM ctest-TestBasicPolicy-88414855-35982054 ID is 98696d4e-a372-4a7e-864a-5ecf2ebd9f00 2025-11-17 16:13:58,434 - DEBUG - VM ctest-TestBasicPolicy-88414855-35982054 launched on Node cn-jenkins-deploy-platform-ansible-os-4742-1 2025-11-17 16:13:58,508 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/98696d4e-a372-4a7e-864a-5ecf2ebd9f00 2025-11-17 16:13:58,516 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/456cb1de-5cc7-431a-9e6c-4046f3669fa3 2025-11-17 16:13:59,753 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.22 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 = 3.221/3.247/3.273/0.026 ms') 2025-11-17 16:13:59,753 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88414855-35982054 passed 2025-11-17 16:13:59,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:13:59,904 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88414855-35982054, IP 121.209.90.195, Port 22 2025-11-17 16:14:00,059 - DEBUG - VM ctest-TestBasicPolicy-88414855-35982054 is ready for SSH connections 2025-11-17 16:14:00,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:00,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.209.90.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 16:14:00,060 - DEBUG - ping -s 56 -c 3 -W 1 121.209.90.195 2025-11-17 16:14:04,178 - DEBUG - PING 121.209.90.195 (121.209.90.195): 56 data bytes 64 bytes from 121.209.90.195: seq=0 ttl=63 time=4.433 ms 64 bytes from 121.209.90.195: seq=1 ttl=63 time=1.088 ms 64 bytes from 121.209.90.195: seq=2 ttl=63 time=0.913 ms --- 121.209.90.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.144/4.433 ms 2025-11-17 16:14:04,178 - INFO - Ping to IP 121.209.90.195 from VM ctest-TestBasicPolicy-88414855-68819667 passed 2025-11-17 16:14:04,359 - DEBUG - Policy Update Response {"network-policy": {"uuid": "91544c56-ad9b-4c5b-a39e-0f00e3b64ee5", "href": "http://10.0.0.141:8082/network-policy/91544c56-ad9b-4c5b-a39e-0f00e3b64ee5"}} 2025-11-17 16:14:04,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 16:14:04,360 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.209.90.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-17 16:14:04,360 - DEBUG - ping -s 56 -c 3 -W 1 121.209.90.195 2025-11-17 16:14:07,619 - DEBUG - PING 121.209.90.195 (121.209.90.195): 56 data bytes --- 121.209.90.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 16:14:07,619 - WARNING - Ping to IP 121.209.90.195 from VM ctest-TestBasicPolicy-88414855-68819667 failed 2025-11-17 16:14:07,619 - INFO - Deleting VM ctest-TestBasicPolicy-88414855-35982054 2025-11-17 16:14:07,700 - INFO - Deleting VM ctest-TestBasicPolicy-88414855-68819667 2025-11-17 16:14:08,050 - INFO - Deleted policy ctest-policy-allow-all-40197275 2025-11-17 16:14:08,051 - INFO - Deleting VN ctest-vn-21505361 2025-11-17 16:14:08,095 - DEBUG - VN e91143d6-bdf9-4dea-bc0c-46c361edc77e still in use: Unable to complete operation on network e91143d6-bdf9-4dea-bc0c-46c361edc77e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e2ab12c1-ee1b-4918-9bda-8491a2a3c6b0'] 2025-11-17 16:14:08,095 - WARNING - Deleting VN ctest-vn-21505361 failed..Will retry 2025-11-17 16:14:10,216 - DEBUG - Response for deleting network () 2025-11-17 16:14:10,217 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/b594a72e-46b7-4622-b1f6-8f0df1c7f235 2025-11-17 16:14:10,222 - DEBUG - Response Code: 404 2025-11-17 16:14:10,222 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 16:14:10,229 - DEBUG - Requesting: http://10.0.0.141:8082/domain/191752d0-7efd-4a41-89be-cca21d8fe230 2025-11-17 16:14:10,282 - DEBUG - Requesting: http://10.0.0.141:8082/project/399e0fc1-b1bf-4e1a-8373-4a5c957a469a 2025-11-17 16:14:10,358 - INFO - Validated that VN ctest-vn-21505361 is not found in API Server 2025-11-17 16:14:10,369 - DEBUG - VN ctest-vn-21505361 is not present in Agent 10.0.0.141 2025-11-17 16:14:10,369 - INFO - Validated that VN ctest-vn-21505361 is not in any agent 2025-11-17 16:14:10,389 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21505361 info 2025-11-17 16:14:10,389 - INFO - Deleting VN ctest-vn-87782892 2025-11-17 16:14:10,489 - DEBUG - Response for deleting network () 2025-11-17 16:14:10,489 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/c2136498-a565-45d0-bce2-919e8a7272c6 2025-11-17 16:14:10,498 - DEBUG - Response Code: 404 2025-11-17 16:14:10,498 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-11-17 16:14:10,503 - DEBUG - Requesting: http://10.0.0.141:8082/domain/191752d0-7efd-4a41-89be-cca21d8fe230 2025-11-17 16:14:10,557 - DEBUG - Requesting: http://10.0.0.141:8082/project/399e0fc1-b1bf-4e1a-8373-4a5c957a469a 2025-11-17 16:14:10,625 - INFO - Validated that VN ctest-vn-87782892 is not found in API Server 2025-11-17 16:14:10,636 - DEBUG - VN ctest-vn-87782892 is not present in Agent 10.0.0.141 2025-11-17 16:14:10,636 - INFO - Validated that VN ctest-vn-87782892 is not in any agent 2025-11-17 16:14:10,654 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87782892 info 2025-11-17 16:14:10,909 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 16:14:10,910 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-17 16:14:10,910 - INFO - -------------------------------------------------------------------------------- 2025-11-17 16:14:11,648 - INFO - Deleted project: ctest-TestBasicPolicy-88414855, ID : 399e0fc1-b1bf-4e1a-8373-4a5c957a469a