2026-02-16 13:08:13,794 - INFO - Domain Default found not creating 2026-02-16 13:08:13,957 - INFO - Project ctest-TestBasicPolicy-74479688 not found, creating it 2026-02-16 13:08:14,440 - INFO - Created Project:ctest-TestBasicPolicy-74479688, ID : b90226f6-c207-495f-ac6b-2b2ffc62a854 2026-02-16 13:08:15,861 - INFO - ================================================================================ 2026-02-16 13:08:15,862 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-16 13:08:15,862 - 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 2026-02-16 13:08:16,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-02-16 13:08:16,119 - INFO - Initial checks done. Running the testcase now 2026-02-16 13:08:16,119 - INFO - 2026-02-16 13:08:16,645 - DEBUG - Response for create_network : {'network': {'id': '90f22a6a-c3a1-414a-bfd9-8959a866fb27', 'name': 'ctest-vn-78831346', 'tenant_id': 'b90226f6c207495fac6b2b2ffc62a854', 'project_id': 'b90226f6c207495fac6b2b2ffc62a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-vn-78831346'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 13:08:16,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3bbd647-b32d-4f86-81ab-1fac0eb1b62e', 'name': '', 'tenant_id': 'b90226f6c207495fac6b2b2ffc62a854', 'network_id': '90f22a6a-c3a1-414a-bfd9-8959a866fb27', 'ip_version': 4, 'cidr': '98.86.207.192/26', 'allocation_pools': [{'start': '98.86.207.194', 'end': '98.86.207.254'}], 'gateway_ip': '98.86.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.86.207.194', 'tags': [], 'project_id': 'b90226f6c207495fac6b2b2ffc62a854'}} 2026-02-16 13:08:16,818 - INFO - Created VN ctest-vn-78831346 2026-02-16 13:08:16,869 - DEBUG - VN ctest-vn-78831346 UUID is 90f22a6a-c3a1-414a-bfd9-8959a866fb27 2026-02-16 13:08:17,182 - DEBUG - Response for create_network : {'network': {'id': '9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5', 'name': 'ctest-vn-82326759', 'tenant_id': 'b90226f6c207495fac6b2b2ffc62a854', 'project_id': 'b90226f6c207495fac6b2b2ffc62a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-vn-82326759'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 13:08:17,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a382fd4-969c-4657-8ffa-8792ba3781c6', 'name': '', 'tenant_id': 'b90226f6c207495fac6b2b2ffc62a854', 'network_id': '9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5', 'ip_version': 4, 'cidr': '35.231.254.128/26', 'allocation_pools': [{'start': '35.231.254.130', 'end': '35.231.254.190'}], 'gateway_ip': '35.231.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.231.254.130', 'tags': [], 'project_id': 'b90226f6c207495fac6b2b2ffc62a854'}} 2026-02-16 13:08:17,399 - INFO - Created VN ctest-vn-82326759 2026-02-16 13:08:17,453 - DEBUG - VN ctest-vn-82326759 UUID is 9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 2026-02-16 13:08:17,601 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-78831346, 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-74479688:ctest-vn-82326759, 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] 2026-02-16 13:08:17,886 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90f22a6a-c3a1-414a-bfd9-8959a866fb27', 'name': 'ctest-vn-78831346', 'tenant_id': 'b90226f6c207495fac6b2b2ffc62a854', 'project_id': 'b90226f6c207495fac6b2b2ffc62a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d3bbd647-b32d-4f86-81ab-1fac0eb1b62e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-vn-78831346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-policy-allow-all-65509847']], 'subnet_ipam': [{'subnet_cidr': '98.86.207.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 13:08:18,141 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5', 'name': 'ctest-vn-82326759', 'tenant_id': 'b90226f6c207495fac6b2b2ffc62a854', 'project_id': 'b90226f6c207495fac6b2b2ffc62a854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a382fd4-969c-4657-8ffa-8792ba3781c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-vn-82326759'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-policy-allow-all-65509847']], 'subnet_ipam': [{'subnet_cidr': '35.231.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 13:08:18,289 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-16 13:08:18,583 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-16 13:08:18,611 - DEBUG - Requesting: http://10.0.0.41:8082/domain/303d7f9c-f75d-4e2d-8d07-c7b98ee4f401 2026-02-16 13:08:18,622 - DEBUG - Requesting: http://10.0.0.41:8082/project/b90226f6-c207-495f-ac6b-2b2ffc62a854 2026-02-16 13:08:18,688 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/90f22a6a-c3a1-414a-bfd9-8959a866fb27 2026-02-16 13:08:18,697 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/90f22a6a-c3a1-414a-bfd9-8959a866fb27 2026-02-16 13:08:18,705 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bc8cb758-d927-474d-89a0-ef8c92b51e67 2026-02-16 13:08:18,712 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bc8cb758-d927-474d-89a0-ef8c92b51e67 2026-02-16 13:08:18,718 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/87fc0224-a5b4-443b-b238-858800471fec 2026-02-16 13:08:18,724 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 13:08:18,724 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/90f22a6a-c3a1-414a-bfd9-8959a866fb27 2026-02-16 13:08:18,733 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bc8cb758-d927-474d-89a0-ef8c92b51e67 2026-02-16 13:08:18,745 - INFO - Verified VN network id 12 for VN 90f22a6a-c3a1-414a-bfd9-8959a866fb27 2026-02-16 13:08:18,745 - INFO - Verifications in API Server for VN ctest-vn-78831346 passed 2026-02-16 13:08:18,745 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/90f22a6a-c3a1-414a-bfd9-8959a866fb27 2026-02-16 13:08:18,756 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bc8cb758-d927-474d-89a0-ef8c92b51e67 2026-02-16 13:08:18,765 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bc8cb758-d927-474d-89a0-ef8c92b51e67 2026-02-16 13:08:18,773 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/87fc0224-a5b4-443b-b238-858800471fec 2026-02-16 13:08:18,785 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-78831346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74479688', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10444457123862626634', 'uuid-lslong': '13824231549360864039'}, 'enable': 'true', 'created': '2026-02-16T13:08:16', 'last-modified': '2026-02-16T13:08:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923546'} 2026-02-16 13:08:18,793 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 13:08:18,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78831346 passed 2026-02-16 13:08:18,793 - DEBUG - ====Verifying policy data for ctest-vn-78831346 in API_Server ====== 2026-02-16 13:08:18,793 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-16 13:08:18,799 - DEBUG - Requesting: http://10.0.0.41:8082/domain/303d7f9c-f75d-4e2d-8d07-c7b98ee4f401 2026-02-16 13:08:18,812 - DEBUG - Requesting: http://10.0.0.41:8082/project/b90226f6-c207-495f-ac6b-2b2ffc62a854 2026-02-16 13:08:18,883 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/90f22a6a-c3a1-414a-bfd9-8959a866fb27 2026-02-16 13:08:18,892 - DEBUG - ==>Verifying data for policy with id: 8cf66fd4-cd29-46eb-97b5-8db8aec0f4a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-policy-allow-all-65509847'] 2026-02-16 13:08:18,892 - INFO - VN ctest-vn-78831346 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 13:08:18,892 - DEBUG - Verifying the vn in opserver 2026-02-16 13:08:18,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-78831346 virtual network link through opserver 10.0.0.41 2026-02-16 13:08:18,892 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-16 13:08:19,182 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-16 13:08:19,241 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-78831346', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-78831346?flat'} 2026-02-16 13:08:19,241 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-78831346 is found in opserver 2026-02-16 13:08:19,250 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 13:08:19,254 - DEBUG - VRF ids for VN ctest-vn-78831346: {} 2026-02-16 13:08:19,254 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-16 13:08:19,259 - DEBUG - Requesting: http://10.0.0.41:8082/domain/303d7f9c-f75d-4e2d-8d07-c7b98ee4f401 2026-02-16 13:08:19,269 - DEBUG - Requesting: http://10.0.0.41:8082/project/b90226f6-c207-495f-ac6b-2b2ffc62a854 2026-02-16 13:08:19,335 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 2026-02-16 13:08:19,345 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 2026-02-16 13:08:19,353 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7f6bb349-7c24-4135-878d-c6f48f574cc8 2026-02-16 13:08:19,360 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7f6bb349-7c24-4135-878d-c6f48f574cc8 2026-02-16 13:08:19,366 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/683f6dbf-d5db-4efa-9017-4db14b3add43 2026-02-16 13:08:19,371 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 13:08:19,371 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 2026-02-16 13:08:19,379 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7f6bb349-7c24-4135-878d-c6f48f574cc8 2026-02-16 13:08:19,391 - INFO - Verified VN network id 13 for VN 9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 2026-02-16 13:08:19,391 - INFO - Verifications in API Server for VN ctest-vn-82326759 passed 2026-02-16 13:08:19,391 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 2026-02-16 13:08:19,399 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7f6bb349-7c24-4135-878d-c6f48f574cc8 2026-02-16 13:08:19,405 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7f6bb349-7c24-4135-878d-c6f48f574cc8 2026-02-16 13:08:19,411 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/683f6dbf-d5db-4efa-9017-4db14b3add43 2026-02-16 13:08:19,422 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-82326759', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74479688', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11443099368985874186', 'uuid-lslong': '12406319391824779509'}, 'enable': 'true', 'created': '2026-02-16T13:08:17', 'last-modified': '2026-02-16T13:08:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337934'} 2026-02-16 13:08:19,427 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 13:08:19,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82326759 passed 2026-02-16 13:08:19,427 - DEBUG - ====Verifying policy data for ctest-vn-82326759 in API_Server ====== 2026-02-16 13:08:19,427 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-16 13:08:19,433 - DEBUG - Requesting: http://10.0.0.41:8082/domain/303d7f9c-f75d-4e2d-8d07-c7b98ee4f401 2026-02-16 13:08:19,444 - DEBUG - Requesting: http://10.0.0.41:8082/project/b90226f6-c207-495f-ac6b-2b2ffc62a854 2026-02-16 13:08:19,510 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 2026-02-16 13:08:19,519 - DEBUG - ==>Verifying data for policy with id: 8cf66fd4-cd29-46eb-97b5-8db8aec0f4a5, fqn: ['default-domain', 'ctest-TestBasicPolicy-74479688', 'ctest-policy-allow-all-65509847'] 2026-02-16 13:08:19,519 - INFO - VN ctest-vn-82326759 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 13:08:19,519 - DEBUG - Verifying the vn in opserver 2026-02-16 13:08:19,519 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-82326759 virtual network link through opserver 10.0.0.41 2026-02-16 13:08:19,519 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-16 13:08:19,528 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-82326759', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-82326759?flat'} 2026-02-16 13:08:19,528 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-82326759 is found in opserver 2026-02-16 13:08:19,537 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 13:08:19,540 - DEBUG - VRF ids for VN ctest-vn-82326759: {} 2026-02-16 13:08:19,593 - DEBUG - Services list from nova: [, , ] 2026-02-16 13:08:20,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5333-1) 2026-02-16 13:08:21,733 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5333-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5333-1) 2026-02-16 13:08:21,734 - INFO - Waiting for VM ctest-TestBasicPolicy-74479688-82949437 to be up.. 2026-02-16 13:08:21,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 13:08:26,902 - DEBUG - VM is in ACTIVE state now 2026-02-16 13:08:26,902 - INFO - VM name : ctest-TestBasicPolicy-74479688-82949437 2026-02-16 13:08:26,980 - DEBUG - VM ctest-TestBasicPolicy-74479688-82949437 ID is bda93e8e-48ea-4e8b-b08e-0f9f21359a29 2026-02-16 13:08:26,997 - DEBUG - VM ctest-TestBasicPolicy-74479688-82949437 launched on Node cn-jenkins-deploy-platform-ansible-os-5333-1 2026-02-16 13:08:27,070 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/bda93e8e-48ea-4e8b-b08e-0f9f21359a29 2026-02-16 13:08:27,078 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/14739d45-b153-4123-81b2-092b6bb7c244 2026-02-16 13:08:30,325 - 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 1009ms') 2026-02-16 13:08:30,325 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74479688-82949437 failed! 2026-02-16 13:08:30,381 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74479688:ctest-vn-78831346 is 98.86.207.193 and allocation pool is NOT set 2026-02-16 13:08:32,436 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.336 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 = 0.336/2.477/4.619/2.141 ms') 2026-02-16 13:08:32,436 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74479688-82949437 passed 2026-02-16 13:08:32,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 13:08:32,589 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74479688-82949437, IP 98.86.207.195, Port 22 2026-02-16 13:08:32,644 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-16 13:08:32,722 - DEBUG - VM ctest-TestBasicPolicy-74479688-82949437 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 13:08:37,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 13:08:37,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74479688-82949437, IP 98.86.207.195, Port 22 2026-02-16 13:08:37,880 - DEBUG - VM ctest-TestBasicPolicy-74479688-82949437 is ready for SSH connections 2026-02-16 13:08:37,880 - INFO - Waiting for VM ctest-TestBasicPolicy-74479688-38734347 to be up.. 2026-02-16 13:08:37,960 - DEBUG - VM is in ACTIVE state now 2026-02-16 13:08:37,961 - INFO - VM name : ctest-TestBasicPolicy-74479688-38734347 2026-02-16 13:08:38,038 - DEBUG - VM ctest-TestBasicPolicy-74479688-38734347 ID is fb5011ab-a09f-48d8-9ef9-1a1f12c75529 2026-02-16 13:08:38,038 - DEBUG - VM ctest-TestBasicPolicy-74479688-38734347 launched on Node cn-jenkins-deploy-platform-ansible-os-5333-1 2026-02-16 13:08:38,115 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fb5011ab-a09f-48d8-9ef9-1a1f12c75529 2026-02-16 13:08:38,123 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/81824ff7-c3e5-4f01-a5f4-a860ea4b3137 2026-02-16 13:08:39,358 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.490/1.635/2.781/1.145 ms') 2026-02-16 13:08:39,358 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74479688-38734347 passed 2026-02-16 13:08:39,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 13:08:39,517 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74479688-38734347, IP 35.231.254.131, Port 22 2026-02-16 13:08:39,681 - DEBUG - VM ctest-TestBasicPolicy-74479688-38734347 is ready for SSH connections 2026-02-16 13:08:39,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 13:08:39,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.231.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-16 13:08:39,681 - DEBUG - ping -s 56 -c 3 -W 1 35.231.254.131 2026-02-16 13:08:43,700 - DEBUG - PING 35.231.254.131 (35.231.254.131): 56 data bytes 64 bytes from 35.231.254.131: seq=0 ttl=63 time=3.554 ms 64 bytes from 35.231.254.131: seq=1 ttl=63 time=0.817 ms 64 bytes from 35.231.254.131: seq=2 ttl=63 time=0.976 ms --- 35.231.254.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.817/1.782/3.554 ms 2026-02-16 13:08:43,701 - INFO - Ping to IP 35.231.254.131 from VM ctest-TestBasicPolicy-74479688-82949437 passed 2026-02-16 13:08:43,885 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8cf66fd4-cd29-46eb-97b5-8db8aec0f4a5", "href": "http://10.0.0.41:8082/network-policy/8cf66fd4-cd29-46eb-97b5-8db8aec0f4a5"}} 2026-02-16 13:08:43,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 13:08:43,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.231.254.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-16 13:08:43,885 - DEBUG - ping -s 56 -c 3 -W 1 35.231.254.131 2026-02-16 13:08:47,099 - DEBUG - PING 35.231.254.131 (35.231.254.131): 56 data bytes --- 35.231.254.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-16 13:08:47,099 - WARNING - Ping to IP 35.231.254.131 from VM ctest-TestBasicPolicy-74479688-82949437 failed 2026-02-16 13:08:47,100 - INFO - Deleting VM ctest-TestBasicPolicy-74479688-38734347 2026-02-16 13:08:47,174 - INFO - Deleting VM ctest-TestBasicPolicy-74479688-82949437 2026-02-16 13:08:47,575 - INFO - Deleted policy ctest-policy-allow-all-65509847 2026-02-16 13:08:47,575 - INFO - Deleting VN ctest-vn-82326759 2026-02-16 13:08:47,617 - DEBUG - VN 9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5 still in use: Unable to complete operation on network 9ece0e3f-79e6-4f0a-ac2c-19c15fc198f5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5478265b-371c-4901-9b3f-dcdba01612dd'] 2026-02-16 13:08:47,618 - WARNING - Deleting VN ctest-vn-82326759 failed..Will retry 2026-02-16 13:08:49,730 - DEBUG - Response for deleting network () 2026-02-16 13:08:49,730 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7f6bb349-7c24-4135-878d-c6f48f574cc8 2026-02-16 13:08:49,741 - DEBUG - Response Code: 404 2026-02-16 13:08:49,741 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-16 13:08:49,746 - DEBUG - Requesting: http://10.0.0.41:8082/domain/303d7f9c-f75d-4e2d-8d07-c7b98ee4f401 2026-02-16 13:08:49,807 - DEBUG - Requesting: http://10.0.0.41:8082/project/b90226f6-c207-495f-ac6b-2b2ffc62a854 2026-02-16 13:08:49,878 - INFO - Validated that VN ctest-vn-82326759 is not found in API Server 2026-02-16 13:08:49,888 - DEBUG - VN ctest-vn-82326759 is not present in Agent 10.0.0.41 2026-02-16 13:08:49,888 - INFO - Validated that VN ctest-vn-82326759 is not in any agent 2026-02-16 13:08:49,904 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82326759 info 2026-02-16 13:08:49,904 - INFO - Deleting VN ctest-vn-78831346 2026-02-16 13:08:50,023 - DEBUG - Response for deleting network () 2026-02-16 13:08:50,023 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/bc8cb758-d927-474d-89a0-ef8c92b51e67 2026-02-16 13:08:50,030 - DEBUG - Response Code: 404 2026-02-16 13:08:50,031 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-16 13:08:50,037 - DEBUG - Requesting: http://10.0.0.41:8082/domain/303d7f9c-f75d-4e2d-8d07-c7b98ee4f401 2026-02-16 13:08:50,091 - DEBUG - Requesting: http://10.0.0.41:8082/project/b90226f6-c207-495f-ac6b-2b2ffc62a854 2026-02-16 13:08:50,166 - INFO - Validated that VN ctest-vn-78831346 is not found in API Server 2026-02-16 13:08:50,175 - DEBUG - VN ctest-vn-78831346 is not present in Agent 10.0.0.41 2026-02-16 13:08:50,175 - INFO - Validated that VN ctest-vn-78831346 is not in any agent 2026-02-16 13:08:50,186 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78831346 info 2026-02-16 13:08:50,441 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 13:08:50,442 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-16 13:08:50,442 - INFO - -------------------------------------------------------------------------------- 2026-02-16 13:08:51,120 - INFO - Deleted project: ctest-TestBasicPolicy-74479688, ID : b90226f6-c207-495f-ac6b-2b2ffc62a854