2025-09-13 14:17:28,924 - INFO - Domain Default found not creating 2025-09-13 14:17:29,071 - INFO - Project ctest-TestBasicPolicy-27523805 not found, creating it 2025-09-13 14:17:29,519 - INFO - Created Project:ctest-TestBasicPolicy-27523805, ID : 113bbc7b-d1ff-4f50-82dc-04699880b0a7 2025-09-13 14:17:31,030 - INFO - ================================================================================ 2025-09-13 14:17:31,030 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-13 14:17:31,030 - 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-13 14:17:31,290 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-13 14:17:31,290 - INFO - Initial checks done. Running the testcase now 2025-09-13 14:17:31,290 - INFO - 2025-09-13 14:17:31,883 - DEBUG - Response for create_network : {'network': {'id': '53b58848-f790-4d3e-8ba3-189f635c047a', 'name': 'ctest-vn-02645836', 'tenant_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'project_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-vn-02645836'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 14:17:32,055 - DEBUG - Response for create_subnet : {'subnet': {'id': '15761b4a-2b07-4205-8606-4d08ec491ccc', 'name': '', 'tenant_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'network_id': '53b58848-f790-4d3e-8ba3-189f635c047a', 'ip_version': 4, 'cidr': '126.248.130.64/26', 'allocation_pools': [{'start': '126.248.130.66', 'end': '126.248.130.126'}], 'gateway_ip': '126.248.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.248.130.66', 'tags': [], 'project_id': '113bbc7bd1ff4f5082dc04699880b0a7'}} 2025-09-13 14:17:32,073 - INFO - Created VN ctest-vn-02645836 2025-09-13 14:17:32,125 - DEBUG - VN ctest-vn-02645836 UUID is 53b58848-f790-4d3e-8ba3-189f635c047a 2025-09-13 14:17:32,418 - DEBUG - Response for create_network : {'network': {'id': '9da12157-fb05-4cc7-adad-2c46ae9b9de4', 'name': 'ctest-vn-30855773', 'tenant_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'project_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-vn-30855773'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 14:17:32,648 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feccfc1c-f4f7-4fcc-9e75-e4e697b637af', 'name': '', 'tenant_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'network_id': '9da12157-fb05-4cc7-adad-2c46ae9b9de4', 'ip_version': 4, 'cidr': '34.81.89.64/26', 'allocation_pools': [{'start': '34.81.89.66', 'end': '34.81.89.126'}], 'gateway_ip': '34.81.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.81.89.66', 'tags': [], 'project_id': '113bbc7bd1ff4f5082dc04699880b0a7'}} 2025-09-13 14:17:32,665 - INFO - Created VN ctest-vn-30855773 2025-09-13 14:17:32,717 - DEBUG - VN ctest-vn-30855773 UUID is 9da12157-fb05-4cc7-adad-2c46ae9b9de4 2025-09-13 14:17:32,834 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-02645836, 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-27523805:ctest-vn-30855773, 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-13 14:17:33,130 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53b58848-f790-4d3e-8ba3-189f635c047a', 'name': 'ctest-vn-02645836', 'tenant_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'project_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['15761b4a-2b07-4205-8606-4d08ec491ccc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-vn-02645836'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-policy-allow-all-66373747']], 'subnet_ipam': [{'subnet_cidr': '126.248.130.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-13 14:17:33,407 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9da12157-fb05-4cc7-adad-2c46ae9b9de4', 'name': 'ctest-vn-30855773', 'tenant_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'project_id': '113bbc7bd1ff4f5082dc04699880b0a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['feccfc1c-f4f7-4fcc-9e75-e4e697b637af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-vn-30855773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-policy-allow-all-66373747']], 'subnet_ipam': [{'subnet_cidr': '34.81.89.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-13 14:17:33,549 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-13 14:17:33,886 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-13 14:17:33,912 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d90c412-7a41-44e1-a30a-789cfe5e5f64 2025-09-13 14:17:33,924 - DEBUG - Requesting: http://10.0.0.22:8082/project/113bbc7b-d1ff-4f50-82dc-04699880b0a7 2025-09-13 14:17:33,995 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/53b58848-f790-4d3e-8ba3-189f635c047a 2025-09-13 14:17:34,005 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/53b58848-f790-4d3e-8ba3-189f635c047a 2025-09-13 14:17:34,013 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f5463189-6aeb-47ce-9e23-96ee4915ead7 2025-09-13 14:17:34,020 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f5463189-6aeb-47ce-9e23-96ee4915ead7 2025-09-13 14:17:34,026 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f2b76eef-aa3e-4ace-9aa8-45d17fdc3302 2025-09-13 14:17:34,031 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-13 14:17:34,031 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/53b58848-f790-4d3e-8ba3-189f635c047a 2025-09-13 14:17:34,040 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f5463189-6aeb-47ce-9e23-96ee4915ead7 2025-09-13 14:17:34,054 - INFO - Verified VN network id 11 for VN 53b58848-f790-4d3e-8ba3-189f635c047a 2025-09-13 14:17:34,054 - INFO - Verifications in API Server for VN ctest-vn-02645836 passed 2025-09-13 14:17:34,054 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/53b58848-f790-4d3e-8ba3-189f635c047a 2025-09-13 14:17:34,063 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f5463189-6aeb-47ce-9e23-96ee4915ead7 2025-09-13 14:17:34,069 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f5463189-6aeb-47ce-9e23-96ee4915ead7 2025-09-13 14:17:34,076 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f2b76eef-aa3e-4ace-9aa8-45d17fdc3302 2025-09-13 14:17:34,086 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-02645836', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27523805', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6031877122905099582', 'uuid-lslong': '10061913065321661562'}, 'enable': 'true', 'created': '2025-09-13T14:17:31', 'last-modified': '2025-09-13T14:17:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978814'} 2025-09-13 14:17:34,094 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-13 14:17:34,094 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02645836 passed 2025-09-13 14:17:34,094 - DEBUG - ====Verifying policy data for ctest-vn-02645836 in API_Server ====== 2025-09-13 14:17:34,094 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-13 14:17:34,100 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d90c412-7a41-44e1-a30a-789cfe5e5f64 2025-09-13 14:17:34,110 - DEBUG - Requesting: http://10.0.0.22:8082/project/113bbc7b-d1ff-4f50-82dc-04699880b0a7 2025-09-13 14:17:34,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/53b58848-f790-4d3e-8ba3-189f635c047a 2025-09-13 14:17:34,194 - DEBUG - ==>Verifying data for policy with id: 3c55beb0-87bf-4e9e-9559-9db5a430f12d, fqn: ['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-policy-allow-all-66373747'] 2025-09-13 14:17:34,194 - INFO - VN ctest-vn-02645836 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-13 14:17:34,194 - DEBUG - Verifying the vn in opserver 2025-09-13 14:17:34,194 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-02645836 virtual network link through opserver 10.0.0.22 2025-09-13 14:17:34,194 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-13 14:17:34,531 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-13 14:17:34,594 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-02645836', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-02645836?flat'} 2025-09-13 14:17:34,594 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-02645836 is found in opserver 2025-09-13 14:17:34,603 - DEBUG - Do not have enough data to verify VN in agent 2025-09-13 14:17:34,607 - DEBUG - VRF ids for VN ctest-vn-02645836: {} 2025-09-13 14:17:34,607 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-13 14:17:34,612 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d90c412-7a41-44e1-a30a-789cfe5e5f64 2025-09-13 14:17:34,624 - DEBUG - Requesting: http://10.0.0.22:8082/project/113bbc7b-d1ff-4f50-82dc-04699880b0a7 2025-09-13 14:17:34,695 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9da12157-fb05-4cc7-adad-2c46ae9b9de4 2025-09-13 14:17:34,707 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9da12157-fb05-4cc7-adad-2c46ae9b9de4 2025-09-13 14:17:34,716 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01483bb5-bac7-4724-9476-98ce2ee52f9e 2025-09-13 14:17:34,723 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01483bb5-bac7-4724-9476-98ce2ee52f9e 2025-09-13 14:17:34,729 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/20360484-4368-42e9-ba0e-9c8cc39dca5d 2025-09-13 14:17:34,736 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-13 14:17:34,736 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9da12157-fb05-4cc7-adad-2c46ae9b9de4 2025-09-13 14:17:34,744 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01483bb5-bac7-4724-9476-98ce2ee52f9e 2025-09-13 14:17:34,758 - INFO - Verified VN network id 12 for VN 9da12157-fb05-4cc7-adad-2c46ae9b9de4 2025-09-13 14:17:34,758 - INFO - Verifications in API Server for VN ctest-vn-30855773 passed 2025-09-13 14:17:34,758 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9da12157-fb05-4cc7-adad-2c46ae9b9de4 2025-09-13 14:17:34,767 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01483bb5-bac7-4724-9476-98ce2ee52f9e 2025-09-13 14:17:34,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01483bb5-bac7-4724-9476-98ce2ee52f9e 2025-09-13 14:17:34,780 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/20360484-4368-42e9-ba0e-9c8cc39dca5d 2025-09-13 14:17:34,792 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-30855773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27523805', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11358396396962401479', 'uuid-lslong': '12514707621621243364'}, 'enable': 'true', 'created': '2025-09-13T14:17:32', 'last-modified': '2025-09-13T14:17:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.451414'} 2025-09-13 14:17:34,797 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-13 14:17:34,797 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30855773 passed 2025-09-13 14:17:34,798 - DEBUG - ====Verifying policy data for ctest-vn-30855773 in API_Server ====== 2025-09-13 14:17:34,798 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-13 14:17:34,803 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d90c412-7a41-44e1-a30a-789cfe5e5f64 2025-09-13 14:17:34,813 - DEBUG - Requesting: http://10.0.0.22:8082/project/113bbc7b-d1ff-4f50-82dc-04699880b0a7 2025-09-13 14:17:34,884 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/9da12157-fb05-4cc7-adad-2c46ae9b9de4 2025-09-13 14:17:34,893 - DEBUG - ==>Verifying data for policy with id: 3c55beb0-87bf-4e9e-9559-9db5a430f12d, fqn: ['default-domain', 'ctest-TestBasicPolicy-27523805', 'ctest-policy-allow-all-66373747'] 2025-09-13 14:17:34,893 - INFO - VN ctest-vn-30855773 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-13 14:17:34,893 - DEBUG - Verifying the vn in opserver 2025-09-13 14:17:34,893 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-30855773 virtual network link through opserver 10.0.0.22 2025-09-13 14:17:34,893 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-13 14:17:34,902 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-30855773', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-30855773?flat'} 2025-09-13 14:17:34,902 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-30855773 is found in opserver 2025-09-13 14:17:34,911 - DEBUG - Do not have enough data to verify VN in agent 2025-09-13 14:17:34,916 - DEBUG - VRF ids for VN ctest-vn-30855773: {} 2025-09-13 14:17:34,973 - DEBUG - Services list from nova: [, , ] 2025-09-13 14:17:36,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1) 2025-09-13 14:17:37,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4102-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4102-1) 2025-09-13 14:17:37,268 - INFO - Waiting for VM ctest-TestBasicPolicy-27523805-70950698 to be up.. 2025-09-13 14:17:37,342 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 14:17:42,419 - DEBUG - VM is in ACTIVE state now 2025-09-13 14:17:42,419 - INFO - VM name : ctest-TestBasicPolicy-27523805-70950698 2025-09-13 14:17:42,494 - DEBUG - VM ctest-TestBasicPolicy-27523805-70950698 ID is e2b99e06-a0b8-4759-bf7c-8d5af5a96f8f 2025-09-13 14:17:42,513 - DEBUG - VM ctest-TestBasicPolicy-27523805-70950698 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1 2025-09-13 14:17:42,585 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e2b99e06-a0b8-4759-bf7c-8d5af5a96f8f 2025-09-13 14:17:42,593 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/964f0d61-1093-42ee-aec9-8cc0847293b5 2025-09-13 14:17:45,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 1006ms') 2025-09-13 14:17:45,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27523805-70950698 failed! 2025-09-13 14:17:45,909 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27523805:ctest-vn-02645836 is 126.248.130.65 and allocation pool is NOT set 2025-09-13 14:17:47,971 - 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=9.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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 = 1.532/5.622/9.712/4.090 ms') 2025-09-13 14:17:47,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27523805-70950698 passed 2025-09-13 14:17:48,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:17:48,121 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27523805-70950698, IP 126.248.130.67, Port 22 2025-09-13 14:17:48,277 - DEBUG - VM ctest-TestBasicPolicy-27523805-70950698 is ready for SSH connections 2025-09-13 14:17:48,277 - INFO - Waiting for VM ctest-TestBasicPolicy-27523805-96001381 to be up.. 2025-09-13 14:17:48,354 - DEBUG - VM is in ACTIVE state now 2025-09-13 14:17:48,355 - INFO - VM name : ctest-TestBasicPolicy-27523805-96001381 2025-09-13 14:17:48,427 - DEBUG - VM ctest-TestBasicPolicy-27523805-96001381 ID is 23728c05-2b60-446b-b7d8-c9ad8502ce7b 2025-09-13 14:17:48,427 - DEBUG - VM ctest-TestBasicPolicy-27523805-96001381 launched on Node cn-jenkins-deploy-platform-ansible-os-4102-1 2025-09-13 14:17:48,503 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/23728c05-2b60-446b-b7d8-c9ad8502ce7b 2025-09-13 14:17:48,512 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1737a60d-7394-4db3-bdb2-32141fc4e969 2025-09-13 14:17:49,748 - 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=4.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/2.264/4.039/1.775 ms') 2025-09-13 14:17:49,748 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27523805-96001381 passed 2025-09-13 14:17:49,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:17:49,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27523805-96001381, IP 34.81.89.67, Port 22 2025-09-13 14:17:50,063 - DEBUG - VM ctest-TestBasicPolicy-27523805-96001381 is ready for SSH connections 2025-09-13 14:17:50,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:17:50,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.81.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-13 14:17:50,063 - DEBUG - ping -s 56 -c 3 -W 1 34.81.89.67 2025-09-13 14:17:54,140 - DEBUG - PING 34.81.89.67 (34.81.89.67): 56 data bytes 64 bytes from 34.81.89.67: seq=0 ttl=63 time=3.707 ms 64 bytes from 34.81.89.67: seq=1 ttl=63 time=0.835 ms 64 bytes from 34.81.89.67: seq=2 ttl=63 time=0.853 ms --- 34.81.89.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.798/3.707 ms 2025-09-13 14:17:54,140 - INFO - Ping to IP 34.81.89.67 from VM ctest-TestBasicPolicy-27523805-70950698 passed 2025-09-13 14:17:54,329 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3c55beb0-87bf-4e9e-9559-9db5a430f12d", "href": "http://10.0.0.22:8082/network-policy/3c55beb0-87bf-4e9e-9559-9db5a430f12d"}} 2025-09-13 14:17:54,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 14:17:54,329 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.81.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-13 14:17:54,329 - DEBUG - ping -s 56 -c 3 -W 1 34.81.89.67 2025-09-13 14:17:57,556 - DEBUG - PING 34.81.89.67 (34.81.89.67): 56 data bytes --- 34.81.89.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-13 14:17:57,556 - WARNING - Ping to IP 34.81.89.67 from VM ctest-TestBasicPolicy-27523805-70950698 failed 2025-09-13 14:17:57,556 - INFO - Deleting VM ctest-TestBasicPolicy-27523805-96001381 2025-09-13 14:17:57,625 - INFO - Deleting VM ctest-TestBasicPolicy-27523805-70950698 2025-09-13 14:17:58,039 - INFO - Deleted policy ctest-policy-allow-all-66373747 2025-09-13 14:17:58,039 - INFO - Deleting VN ctest-vn-30855773 2025-09-13 14:17:58,080 - DEBUG - VN 9da12157-fb05-4cc7-adad-2c46ae9b9de4 still in use: Unable to complete operation on network 9da12157-fb05-4cc7-adad-2c46ae9b9de4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-73f123e6-9c23-4391-8a5d-9d9ccfc51bc9'] 2025-09-13 14:17:58,080 - WARNING - Deleting VN ctest-vn-30855773 failed..Will retry 2025-09-13 14:18:00,203 - DEBUG - Response for deleting network () 2025-09-13 14:18:00,203 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/01483bb5-bac7-4724-9476-98ce2ee52f9e 2025-09-13 14:18:00,207 - DEBUG - Response Code: 404 2025-09-13 14:18:00,208 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-13 14:18:00,217 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d90c412-7a41-44e1-a30a-789cfe5e5f64 2025-09-13 14:18:00,271 - DEBUG - Requesting: http://10.0.0.22:8082/project/113bbc7b-d1ff-4f50-82dc-04699880b0a7 2025-09-13 14:18:00,342 - INFO - Validated that VN ctest-vn-30855773 is not found in API Server 2025-09-13 14:18:00,353 - DEBUG - VN ctest-vn-30855773 is not present in Agent 10.0.0.22 2025-09-13 14:18:00,353 - INFO - Validated that VN ctest-vn-30855773 is not in any agent 2025-09-13 14:18:00,367 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30855773 info 2025-09-13 14:18:00,367 - INFO - Deleting VN ctest-vn-02645836 2025-09-13 14:18:00,462 - DEBUG - Response for deleting network () 2025-09-13 14:18:00,462 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f5463189-6aeb-47ce-9e23-96ee4915ead7 2025-09-13 14:18:00,468 - DEBUG - Response Code: 404 2025-09-13 14:18:00,468 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-13 14:18:00,473 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4d90c412-7a41-44e1-a30a-789cfe5e5f64 2025-09-13 14:18:00,527 - DEBUG - Requesting: http://10.0.0.22:8082/project/113bbc7b-d1ff-4f50-82dc-04699880b0a7 2025-09-13 14:18:00,599 - INFO - Validated that VN ctest-vn-02645836 is not found in API Server 2025-09-13 14:18:00,608 - DEBUG - VN ctest-vn-02645836 is not present in Agent 10.0.0.22 2025-09-13 14:18:00,608 - INFO - Validated that VN ctest-vn-02645836 is not in any agent 2025-09-13 14:18:00,621 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02645836 info 2025-09-13 14:18:00,874 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 14:18:00,875 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-13 14:18:00,875 - INFO - -------------------------------------------------------------------------------- 2025-09-13 14:18:01,603 - INFO - Deleted project: ctest-TestBasicPolicy-27523805, ID : 113bbc7b-d1ff-4f50-82dc-04699880b0a7