2025-10-30 02:17:07,180 - INFO - Domain Default found not creating 2025-10-30 02:17:07,307 - INFO - Project ctest-TestBasicPolicy-98860340 not found, creating it 2025-10-30 02:17:07,722 - INFO - Created Project:ctest-TestBasicPolicy-98860340, ID : dad63246-882b-433a-b13c-05a7190c145d 2025-10-30 02:17:09,062 - INFO - ================================================================================ 2025-10-30 02:17:09,062 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 02:17:09,062 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-30 02:17:09,316 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.249': '0'}} with 2025-10-30 02:17:09,316 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:17:09,316 - INFO - 2025-10-30 02:17:09,847 - DEBUG - Response for create_network : {'network': {'id': '0831209e-5671-4a0c-823a-d0074aaed298', 'name': 'ctest-vn-32776038', 'tenant_id': 'dad63246882b433ab13c05a7190c145d', 'project_id': 'dad63246882b433ab13c05a7190c145d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-vn-32776038'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:17:10,003 - DEBUG - Response for create_subnet : {'subnet': {'id': '42ce3cb3-72ca-4625-8eed-5fc8314d7a62', 'name': '', 'tenant_id': 'dad63246882b433ab13c05a7190c145d', 'network_id': '0831209e-5671-4a0c-823a-d0074aaed298', 'ip_version': 4, 'cidr': '132.131.19.192/26', 'allocation_pools': [{'start': '132.131.19.194', 'end': '132.131.19.254'}], 'gateway_ip': '132.131.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.131.19.194', 'tags': [], 'project_id': 'dad63246882b433ab13c05a7190c145d'}} 2025-10-30 02:17:10,018 - INFO - Created VN ctest-vn-32776038 2025-10-30 02:17:10,071 - DEBUG - VN ctest-vn-32776038 UUID is 0831209e-5671-4a0c-823a-d0074aaed298 2025-10-30 02:17:10,361 - DEBUG - Response for create_network : {'network': {'id': 'bad20ed2-87a5-44fb-8967-33dd84411385', 'name': 'ctest-vn-71540606', 'tenant_id': 'dad63246882b433ab13c05a7190c145d', 'project_id': 'dad63246882b433ab13c05a7190c145d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-vn-71540606'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:17:10,548 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf4ca0b2-04f3-4ebc-9d16-a2d1ae5ec6a0', 'name': '', 'tenant_id': 'dad63246882b433ab13c05a7190c145d', 'network_id': 'bad20ed2-87a5-44fb-8967-33dd84411385', 'ip_version': 4, 'cidr': '112.137.91.0/26', 'allocation_pools': [{'start': '112.137.91.2', 'end': '112.137.91.62'}], 'gateway_ip': '112.137.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.137.91.2', 'tags': [], 'project_id': 'dad63246882b433ab13c05a7190c145d'}} 2025-10-30 02:17:10,565 - INFO - Created VN ctest-vn-71540606 2025-10-30 02:17:10,615 - DEBUG - VN ctest-vn-71540606 UUID is bad20ed2-87a5-44fb-8967-33dd84411385 2025-10-30 02:17:10,759 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-32776038, 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-98860340:ctest-vn-71540606, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-30 02:17:11,042 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0831209e-5671-4a0c-823a-d0074aaed298', 'name': 'ctest-vn-32776038', 'tenant_id': 'dad63246882b433ab13c05a7190c145d', 'project_id': 'dad63246882b433ab13c05a7190c145d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42ce3cb3-72ca-4625-8eed-5fc8314d7a62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-vn-32776038'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-policy-allow-all-02667615']], 'subnet_ipam': [{'subnet_cidr': '132.131.19.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:17:11,304 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bad20ed2-87a5-44fb-8967-33dd84411385', 'name': 'ctest-vn-71540606', 'tenant_id': 'dad63246882b433ab13c05a7190c145d', 'project_id': 'dad63246882b433ab13c05a7190c145d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf4ca0b2-04f3-4ebc-9d16-a2d1ae5ec6a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-vn-71540606'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-policy-allow-all-02667615']], 'subnet_ipam': [{'subnet_cidr': '112.137.91.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:17:11,455 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-30 02:17:11,753 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-30 02:17:11,778 - DEBUG - Requesting: http://10.0.0.33:8082/domain/72a583dd-0632-4162-9b76-43bf94529bc6 2025-10-30 02:17:11,789 - DEBUG - Requesting: http://10.0.0.33:8082/project/dad63246-882b-433a-b13c-05a7190c145d 2025-10-30 02:17:11,857 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0831209e-5671-4a0c-823a-d0074aaed298 2025-10-30 02:17:11,867 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0831209e-5671-4a0c-823a-d0074aaed298 2025-10-30 02:17:11,875 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bfef852d-bb8a-47f7-839d-92355667ddcb 2025-10-30 02:17:11,880 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bfef852d-bb8a-47f7-839d-92355667ddcb 2025-10-30 02:17:11,885 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b9986979-8383-4a39-ae60-56ed6542324d 2025-10-30 02:17:11,890 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 02:17:11,890 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0831209e-5671-4a0c-823a-d0074aaed298 2025-10-30 02:17:11,897 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bfef852d-bb8a-47f7-839d-92355667ddcb 2025-10-30 02:17:11,907 - INFO - Verified VN network id 12 for VN 0831209e-5671-4a0c-823a-d0074aaed298 2025-10-30 02:17:11,907 - INFO - Verifications in API Server for VN ctest-vn-32776038 passed 2025-10-30 02:17:11,907 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0831209e-5671-4a0c-823a-d0074aaed298 2025-10-30 02:17:11,915 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bfef852d-bb8a-47f7-839d-92355667ddcb 2025-10-30 02:17:11,921 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bfef852d-bb8a-47f7-839d-92355667ddcb 2025-10-30 02:17:11,926 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b9986979-8383-4a39-ae60-56ed6542324d 2025-10-30 02:17:11,936 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-32776038', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98860340', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '590288890589432332', 'uuid-lslong': '9384041503316169368'}, 'enable': 'true', 'created': '2025-10-30T02:17:09', 'last-modified': '2025-10-30T02:17:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914337'} 2025-10-30 02:17:11,943 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 02:17:11,943 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32776038 passed 2025-10-30 02:17:11,943 - DEBUG - ====Verifying policy data for ctest-vn-32776038 in API_Server ====== 2025-10-30 02:17:11,943 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-30 02:17:11,948 - DEBUG - Requesting: http://10.0.0.33:8082/domain/72a583dd-0632-4162-9b76-43bf94529bc6 2025-10-30 02:17:11,959 - DEBUG - Requesting: http://10.0.0.33:8082/project/dad63246-882b-433a-b13c-05a7190c145d 2025-10-30 02:17:12,028 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0831209e-5671-4a0c-823a-d0074aaed298 2025-10-30 02:17:12,035 - DEBUG - ==>Verifying data for policy with id: 9eca5ce4-ac3f-4d4b-8c19-3321a566137e, fqn: ['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-policy-allow-all-02667615'] 2025-10-30 02:17:12,035 - INFO - VN ctest-vn-32776038 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 02:17:12,035 - DEBUG - Verifying the vn in opserver 2025-10-30 02:17:12,035 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-32776038 virtual network link through opserver 10.0.0.33 2025-10-30 02:17:12,036 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-30 02:17:12,325 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-30 02:17:12,372 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-32776038', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-32776038?flat'} 2025-10-30 02:17:12,372 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-32776038 is found in opserver 2025-10-30 02:17:12,380 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 02:17:12,384 - DEBUG - VRF ids for VN ctest-vn-32776038: {} 2025-10-30 02:17:12,384 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-30 02:17:12,388 - DEBUG - Requesting: http://10.0.0.33:8082/domain/72a583dd-0632-4162-9b76-43bf94529bc6 2025-10-30 02:17:12,397 - DEBUG - Requesting: http://10.0.0.33:8082/project/dad63246-882b-433a-b13c-05a7190c145d 2025-10-30 02:17:12,463 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bad20ed2-87a5-44fb-8967-33dd84411385 2025-10-30 02:17:12,473 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bad20ed2-87a5-44fb-8967-33dd84411385 2025-10-30 02:17:12,480 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ae56944-48c0-4617-9323-933652e3958a 2025-10-30 02:17:12,485 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ae56944-48c0-4617-9323-933652e3958a 2025-10-30 02:17:12,490 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a395c668-d8d6-47b0-a2b6-fd279fdb0800 2025-10-30 02:17:12,496 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 02:17:12,496 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bad20ed2-87a5-44fb-8967-33dd84411385 2025-10-30 02:17:12,503 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ae56944-48c0-4617-9323-933652e3958a 2025-10-30 02:17:12,515 - INFO - Verified VN network id 13 for VN bad20ed2-87a5-44fb-8967-33dd84411385 2025-10-30 02:17:12,515 - INFO - Verifications in API Server for VN ctest-vn-71540606 passed 2025-10-30 02:17:12,515 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bad20ed2-87a5-44fb-8967-33dd84411385 2025-10-30 02:17:12,522 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ae56944-48c0-4617-9323-933652e3958a 2025-10-30 02:17:12,527 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ae56944-48c0-4617-9323-933652e3958a 2025-10-30 02:17:12,532 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a395c668-d8d6-47b0-a2b6-fd279fdb0800 2025-10-30 02:17:12,541 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-71540606', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98860340', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13461838533545510139', 'uuid-lslong': '9900939332296971141'}, 'enable': 'true', 'created': '2025-10-30T02:17:10', 'last-modified': '2025-10-30T02:17:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297218'} 2025-10-30 02:17:12,547 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 02:17:12,548 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71540606 passed 2025-10-30 02:17:12,548 - DEBUG - ====Verifying policy data for ctest-vn-71540606 in API_Server ====== 2025-10-30 02:17:12,548 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-30 02:17:12,552 - DEBUG - Requesting: http://10.0.0.33:8082/domain/72a583dd-0632-4162-9b76-43bf94529bc6 2025-10-30 02:17:12,560 - DEBUG - Requesting: http://10.0.0.33:8082/project/dad63246-882b-433a-b13c-05a7190c145d 2025-10-30 02:17:12,628 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/bad20ed2-87a5-44fb-8967-33dd84411385 2025-10-30 02:17:12,636 - DEBUG - ==>Verifying data for policy with id: 9eca5ce4-ac3f-4d4b-8c19-3321a566137e, fqn: ['default-domain', 'ctest-TestBasicPolicy-98860340', 'ctest-policy-allow-all-02667615'] 2025-10-30 02:17:12,636 - INFO - VN ctest-vn-71540606 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 02:17:12,636 - DEBUG - Verifying the vn in opserver 2025-10-30 02:17:12,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-71540606 virtual network link through opserver 10.0.0.33 2025-10-30 02:17:12,636 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-30 02:17:12,644 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-71540606', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-71540606?flat'} 2025-10-30 02:17:12,644 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-71540606 is found in opserver 2025-10-30 02:17:12,653 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 02:17:12,658 - DEBUG - VRF ids for VN ctest-vn-71540606: {} 2025-10-30 02:17:12,714 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:17:13,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1) 2025-10-30 02:17:14,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1) 2025-10-30 02:17:14,740 - INFO - Waiting for VM ctest-TestBasicPolicy-98860340-72930780 to be up.. 2025-10-30 02:17:14,806 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:17:19,882 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:17:19,882 - INFO - VM name : ctest-TestBasicPolicy-98860340-72930780 2025-10-30 02:17:19,958 - DEBUG - VM ctest-TestBasicPolicy-98860340-72930780 ID is 3fb4aa20-4fb2-4146-9977-7b44cbd55a05 2025-10-30 02:17:19,978 - DEBUG - VM ctest-TestBasicPolicy-98860340-72930780 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1 2025-10-30 02:17:20,048 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3fb4aa20-4fb2-4146-9977-7b44cbd55a05 2025-10-30 02:17:20,059 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4b964bbd-0f52-49de-9877-15a2eb2889a9 2025-10-30 02:17:23,322 - 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-10-30 02:17:23,322 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98860340-72930780 failed! 2025-10-30 02:17:23,375 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98860340:ctest-vn-32776038 is 132.131.19.193 and allocation pool is NOT set 2025-10-30 02:17:25,434 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.817 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.817/2.452/4.088/1.635 ms') 2025-10-30 02:17:25,435 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98860340-72930780 passed 2025-10-30 02:17:25,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:17:25,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98860340-72930780, IP 132.131.19.195, Port 22 2025-10-30 02:17:25,742 - DEBUG - VM ctest-TestBasicPolicy-98860340-72930780 is ready for SSH connections 2025-10-30 02:17:25,742 - INFO - Waiting for VM ctest-TestBasicPolicy-98860340-27665829 to be up.. 2025-10-30 02:17:25,809 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:17:25,809 - INFO - VM name : ctest-TestBasicPolicy-98860340-27665829 2025-10-30 02:17:25,872 - DEBUG - VM ctest-TestBasicPolicy-98860340-27665829 ID is 524f13b2-f289-417b-807b-498ff674277a 2025-10-30 02:17:25,872 - DEBUG - VM ctest-TestBasicPolicy-98860340-27665829 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1 2025-10-30 02:17:25,938 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/524f13b2-f289-417b-807b-498ff674277a 2025-10-30 02:17:25,949 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/43654499-cfe5-4e12-8490-93fbda0f9ff6 2025-10-30 02:17:27,179 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.813 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.813/2.749/4.686/1.936 ms') 2025-10-30 02:17:27,179 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98860340-27665829 passed 2025-10-30 02:17:27,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:17:27,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98860340-27665829, IP 112.137.91.3, Port 22 2025-10-30 02:17:27,478 - DEBUG - VM ctest-TestBasicPolicy-98860340-27665829 is ready for SSH connections 2025-10-30 02:17:27,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:17:27,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.137.91.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:17:27,478 - DEBUG - ping -s 56 -c 3 -W 1 112.137.91.3 2025-10-30 02:17:31,550 - DEBUG - PING 112.137.91.3 (112.137.91.3): 56 data bytes 64 bytes from 112.137.91.3: seq=0 ttl=63 time=3.098 ms 64 bytes from 112.137.91.3: seq=1 ttl=63 time=0.775 ms 64 bytes from 112.137.91.3: seq=2 ttl=63 time=0.938 ms --- 112.137.91.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.603/3.098 ms 2025-10-30 02:17:31,550 - INFO - Ping to IP 112.137.91.3 from VM ctest-TestBasicPolicy-98860340-72930780 passed 2025-10-30 02:17:31,726 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9eca5ce4-ac3f-4d4b-8c19-3321a566137e", "href": "http://10.0.0.33:8082/network-policy/9eca5ce4-ac3f-4d4b-8c19-3321a566137e"}} 2025-10-30 02:17:31,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:17:31,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.137.91.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:17:31,727 - DEBUG - ping -s 56 -c 3 -W 1 112.137.91.3 2025-10-30 02:17:34,932 - DEBUG - PING 112.137.91.3 (112.137.91.3): 56 data bytes --- 112.137.91.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:17:34,932 - WARNING - Ping to IP 112.137.91.3 from VM ctest-TestBasicPolicy-98860340-72930780 failed 2025-10-30 02:17:34,932 - INFO - Deleting VM ctest-TestBasicPolicy-98860340-27665829 2025-10-30 02:17:34,992 - INFO - Deleting VM ctest-TestBasicPolicy-98860340-72930780 2025-10-30 02:17:35,320 - INFO - Deleted policy ctest-policy-allow-all-02667615 2025-10-30 02:17:35,320 - INFO - Deleting VN ctest-vn-71540606 2025-10-30 02:17:35,352 - DEBUG - VN bad20ed2-87a5-44fb-8967-33dd84411385 still in use: Unable to complete operation on network bad20ed2-87a5-44fb-8967-33dd84411385. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d8248f01-dbe3-4812-830b-4797cf1ee3c6'] 2025-10-30 02:17:35,352 - WARNING - Deleting VN ctest-vn-71540606 failed..Will retry 2025-10-30 02:17:37,447 - DEBUG - Response for deleting network () 2025-10-30 02:17:37,447 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1ae56944-48c0-4617-9323-933652e3958a 2025-10-30 02:17:37,454 - DEBUG - Response Code: 404 2025-10-30 02:17:37,454 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-30 02:17:37,459 - DEBUG - Requesting: http://10.0.0.33:8082/domain/72a583dd-0632-4162-9b76-43bf94529bc6 2025-10-30 02:17:37,513 - DEBUG - Requesting: http://10.0.0.33:8082/project/dad63246-882b-433a-b13c-05a7190c145d 2025-10-30 02:17:37,585 - INFO - Validated that VN ctest-vn-71540606 is not found in API Server 2025-10-30 02:17:37,596 - DEBUG - VN ctest-vn-71540606 is not present in Agent 10.0.0.33 2025-10-30 02:17:37,596 - INFO - Validated that VN ctest-vn-71540606 is not in any agent 2025-10-30 02:17:37,610 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71540606 info 2025-10-30 02:17:37,610 - INFO - Deleting VN ctest-vn-32776038 2025-10-30 02:17:37,699 - DEBUG - Response for deleting network () 2025-10-30 02:17:37,699 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bfef852d-bb8a-47f7-839d-92355667ddcb 2025-10-30 02:17:37,706 - DEBUG - Response Code: 404 2025-10-30 02:17:37,706 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-30 02:17:37,711 - DEBUG - Requesting: http://10.0.0.33:8082/domain/72a583dd-0632-4162-9b76-43bf94529bc6 2025-10-30 02:17:37,767 - DEBUG - Requesting: http://10.0.0.33:8082/project/dad63246-882b-433a-b13c-05a7190c145d 2025-10-30 02:17:37,835 - INFO - Validated that VN ctest-vn-32776038 is not found in API Server 2025-10-30 02:17:37,843 - DEBUG - VN ctest-vn-32776038 is not present in Agent 10.0.0.33 2025-10-30 02:17:37,843 - INFO - Validated that VN ctest-vn-32776038 is not in any agent 2025-10-30 02:17:37,855 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32776038 info 2025-10-30 02:17:38,111 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:17:38,111 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 02:17:38,111 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:17:38,761 - INFO - Deleted project: ctest-TestBasicPolicy-98860340, ID : dad63246-882b-433a-b13c-05a7190c145d