2026-08-14 08:57:30,688 - INFO - Domain Default found not creating 2026-08-14 08:57:30,911 - INFO - Project ctest-TestBasicPolicy-62186049 not found, creating it 2026-08-14 08:57:31,534 - INFO - Created Project:ctest-TestBasicPolicy-62186049, ID : c3cf9481-88ce-42c8-bdc8-079260c86b10 2026-08-14 08:57:33,025 - INFO - ================================================================================ 2026-08-14 08:57:33,025 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 08:57:33,025 - 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-08-14 08:57:33,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.14': '0'}} with 2026-08-14 08:57:33,283 - INFO - Initial checks done. Running the testcase now 2026-08-14 08:57:33,283 - INFO - 2026-08-14 08:57:33,880 - DEBUG - Response for create_network : {'network': {'id': '9b0242a3-154b-42a3-b57a-1d0f6c56cc57', 'name': 'ctest-vn-66687173', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-66687173'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:57:34,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '560ede69-646c-4c7d-8fc9-d27817425e48', 'name': '', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'network_id': '9b0242a3-154b-42a3-b57a-1d0f6c56cc57', 'ip_version': 4, 'cidr': '83.191.99.128/26', 'allocation_pools': [{'start': '83.191.99.130', 'end': '83.191.99.190'}], 'gateway_ip': '83.191.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.191.99.130', 'tags': [], 'project_id': 'c3cf948188ce42c8bdc8079260c86b10'}} 2026-08-14 08:57:34,143 - INFO - Created VN ctest-vn-66687173 2026-08-14 08:57:34,198 - DEBUG - VN ctest-vn-66687173 UUID is 9b0242a3-154b-42a3-b57a-1d0f6c56cc57 2026-08-14 08:57:34,566 - DEBUG - Response for create_network : {'network': {'id': '78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117', 'name': 'ctest-vn-26658825', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-26658825'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:57:34,786 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4d85cb3-cab8-4192-a795-d4dab0169101', 'name': '', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'network_id': '78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117', 'ip_version': 4, 'cidr': '5.43.79.0/26', 'allocation_pools': [{'start': '5.43.79.2', 'end': '5.43.79.62'}], 'gateway_ip': '5.43.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.43.79.2', 'tags': [], 'project_id': 'c3cf948188ce42c8bdc8079260c86b10'}} 2026-08-14 08:57:34,807 - INFO - Created VN ctest-vn-26658825 2026-08-14 08:57:34,862 - DEBUG - VN ctest-vn-26658825 UUID is 78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 2026-08-14 08:57:35,010 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173, 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-62186049:ctest-vn-26658825, 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-08-14 08:57:35,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b0242a3-154b-42a3-b57a-1d0f6c56cc57', 'name': 'ctest-vn-66687173', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['560ede69-646c-4c7d-8fc9-d27817425e48'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-66687173'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607']], 'subnet_ipam': [{'subnet_cidr': '83.191.99.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:57:35,580 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117', 'name': 'ctest-vn-26658825', 'tenant_id': 'c3cf948188ce42c8bdc8079260c86b10', 'project_id': 'c3cf948188ce42c8bdc8079260c86b10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a4d85cb3-cab8-4192-a795-d4dab0169101'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-vn-26658825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607']], 'subnet_ipam': [{'subnet_cidr': '5.43.79.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 08:57:35,754 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-14 08:57:36,087 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-14 08:57:36,114 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67 2026-08-14 08:57:36,125 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10 2026-08-14 08:57:36,210 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57 2026-08-14 08:57:36,224 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57 2026-08-14 08:57:36,235 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770 2026-08-14 08:57:36,242 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770 2026-08-14 08:57:36,248 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/13af930e-c400-4ce4-b409-a02476b637e5 2026-08-14 08:57:36,255 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 08:57:36,255 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57 2026-08-14 08:57:36,263 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770 2026-08-14 08:57:36,277 - INFO - Verified VN network id 11 for VN 9b0242a3-154b-42a3-b57a-1d0f6c56cc57 2026-08-14 08:57:36,278 - INFO - Verifications in API Server for VN ctest-vn-66687173 passed 2026-08-14 08:57:36,278 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57 2026-08-14 08:57:36,288 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770 2026-08-14 08:57:36,297 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770 2026-08-14 08:57:36,305 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/13af930e-c400-4ce4-b409-a02476b637e5 2026-08-14 08:57:36,318 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62186049', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11169563294036607651', 'uuid-lslong': '13076796420102999127'}, 'enable': 'true', 'created': '2026-08-14T08:57:33', 'last-modified': '2026-08-14T08:57:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036439'} 2026-08-14 08:57:36,327 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 08:57:36,327 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66687173 passed 2026-08-14 08:57:36,327 - DEBUG - ====Verifying policy data for ctest-vn-66687173 in API_Server ====== 2026-08-14 08:57:36,327 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-14 08:57:36,333 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67 2026-08-14 08:57:36,345 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10 2026-08-14 08:57:36,416 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/9b0242a3-154b-42a3-b57a-1d0f6c56cc57 2026-08-14 08:57:36,429 - DEBUG - ==>Verifying data for policy with id: cb2b3a90-cd73-4a4a-9155-8917f424a893, fqn: ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607'] 2026-08-14 08:57:36,429 - INFO - VN ctest-vn-66687173 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 08:57:36,429 - DEBUG - Verifying the vn in opserver 2026-08-14 08:57:36,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173 virtual network link through opserver 10.0.0.250 2026-08-14 08:57:36,429 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-08-14 08:57:36,771 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-08-14 08:57:36,842 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173?flat'} 2026-08-14 08:57:36,842 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-66687173 is found in opserver 2026-08-14 08:57:36,855 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 08:57:36,860 - DEBUG - VRF ids for VN ctest-vn-66687173: {} 2026-08-14 08:57:36,860 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-14 08:57:36,867 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67 2026-08-14 08:57:36,877 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10 2026-08-14 08:57:36,949 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 2026-08-14 08:57:36,965 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 2026-08-14 08:57:36,973 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068 2026-08-14 08:57:36,980 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068 2026-08-14 08:57:36,988 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/8d691912-b0f7-40c3-8dc6-66a56cdbd658 2026-08-14 08:57:36,996 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 08:57:36,996 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 2026-08-14 08:57:37,004 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068 2026-08-14 08:57:37,018 - INFO - Verified VN network id 12 for VN 78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 2026-08-14 08:57:37,018 - INFO - Verifications in API Server for VN ctest-vn-26658825 passed 2026-08-14 08:57:37,018 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 2026-08-14 08:57:37,028 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068 2026-08-14 08:57:37,034 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068 2026-08-14 08:57:37,040 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/8d691912-b0f7-40c3-8dc6-66a56cdbd658 2026-08-14 08:57:37,055 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62186049', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8712817149355051657', 'uuid-lslong': '11254071375353274647'}, 'enable': 'true', 'created': '2026-08-14T08:57:34', 'last-modified': '2026-08-14T08:57:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.503730'} 2026-08-14 08:57:37,064 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 08:57:37,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26658825 passed 2026-08-14 08:57:37,064 - DEBUG - ====Verifying policy data for ctest-vn-26658825 in API_Server ====== 2026-08-14 08:57:37,064 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-14 08:57:37,084 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67 2026-08-14 08:57:37,094 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10 2026-08-14 08:57:37,166 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 2026-08-14 08:57:37,177 - DEBUG - ==>Verifying data for policy with id: cb2b3a90-cd73-4a4a-9155-8917f424a893, fqn: ['default-domain', 'ctest-TestBasicPolicy-62186049', 'ctest-policy-allow-all-57286607'] 2026-08-14 08:57:37,177 - INFO - VN ctest-vn-26658825 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 08:57:37,177 - DEBUG - Verifying the vn in opserver 2026-08-14 08:57:37,178 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825 virtual network link through opserver 10.0.0.250 2026-08-14 08:57:37,178 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-08-14 08:57:37,190 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825?flat'} 2026-08-14 08:57:37,190 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62186049:ctest-vn-26658825 is found in opserver 2026-08-14 08:57:37,208 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 08:57:37,217 - DEBUG - VRF ids for VN ctest-vn-26658825: {} 2026-08-14 08:57:37,291 - DEBUG - Services list from nova: [, , ] 2026-08-14 08:57:37,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6156-1) 2026-08-14 08:57:38,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6156-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6156-1) 2026-08-14 08:57:38,106 - INFO - Waiting for VM ctest-TestBasicPolicy-62186049-57107606 to be up.. 2026-08-14 08:57:38,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:57:43,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:57:48,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:57:53,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:57:58,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:58:03,511 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:58:08,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:58:13,670 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 08:58:18,747 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:58:18,747 - INFO - VM name : ctest-TestBasicPolicy-62186049-57107606 2026-08-14 08:58:18,837 - DEBUG - VM ctest-TestBasicPolicy-62186049-57107606 ID is a485d337-022d-46dc-8bcd-bf1a6d9f9a0a 2026-08-14 08:58:18,856 - DEBUG - VM ctest-TestBasicPolicy-62186049-57107606 launched on Node cn-jenkins-deploy-platform-ansible-os-6156-1 2026-08-14 08:58:18,929 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/a485d337-022d-46dc-8bcd-bf1a6d9f9a0a 2026-08-14 08:58:18,937 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/d5d9e03e-126c-4522-9b37-9439dab87e5a 2026-08-14 08:58:22,192 - 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=2 ttl=63 time=14.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 14.427/14.427/14.427/0.000 ms') 2026-08-14 08:58:22,192 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62186049-57107606 passed 2026-08-14 08:58:22,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:58:22,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62186049-57107606, IP 83.191.99.131, Port 22 2026-08-14 08:58:22,405 - 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-08-14 08:58:22,474 - DEBUG - VM ctest-TestBasicPolicy-62186049-57107606 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-14 08:58:27,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:58:27,475 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62186049-57107606, IP 83.191.99.131, Port 22 2026-08-14 08:58:27,644 - DEBUG - VM ctest-TestBasicPolicy-62186049-57107606 is ready for SSH connections 2026-08-14 08:58:27,644 - INFO - Waiting for VM ctest-TestBasicPolicy-62186049-08282257 to be up.. 2026-08-14 08:58:27,717 - DEBUG - VM is in ACTIVE state now 2026-08-14 08:58:27,717 - INFO - VM name : ctest-TestBasicPolicy-62186049-08282257 2026-08-14 08:58:27,792 - DEBUG - VM ctest-TestBasicPolicy-62186049-08282257 ID is dd17a393-a328-4635-9100-3fcc7e12f09f 2026-08-14 08:58:27,792 - DEBUG - VM ctest-TestBasicPolicy-62186049-08282257 launched on Node cn-jenkins-deploy-platform-ansible-os-6156-1 2026-08-14 08:58:27,873 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/dd17a393-a328-4635-9100-3fcc7e12f09f 2026-08-14 08:58:27,881 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/70278d17-9edf-446a-9cad-6618ad06b63a 2026-08-14 08:58:29,121 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/2.397/4.260/1.862 ms') 2026-08-14 08:58:29,121 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62186049-08282257 passed 2026-08-14 08:58:29,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:58:29,274 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62186049-08282257, IP 5.43.79.3, Port 22 2026-08-14 08:58:29,429 - DEBUG - VM ctest-TestBasicPolicy-62186049-08282257 is ready for SSH connections 2026-08-14 08:58:29,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:58:29,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.43.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-08-14 08:58:29,430 - DEBUG - ping -s 56 -c 3 -W 1 5.43.79.3 2026-08-14 08:58:33,372 - DEBUG - PING 5.43.79.3 (5.43.79.3): 56 data bytes 64 bytes from 5.43.79.3: seq=0 ttl=63 time=4.078 ms 64 bytes from 5.43.79.3: seq=1 ttl=63 time=0.981 ms 64 bytes from 5.43.79.3: seq=2 ttl=63 time=1.033 ms --- 5.43.79.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/2.030/4.078 ms 2026-08-14 08:58:33,372 - INFO - Ping to IP 5.43.79.3 from VM ctest-TestBasicPolicy-62186049-57107606 passed 2026-08-14 08:58:33,574 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cb2b3a90-cd73-4a4a-9155-8917f424a893", "href": "http://10.0.0.250:8082/network-policy/cb2b3a90-cd73-4a4a-9155-8917f424a893"}} 2026-08-14 08:58:33,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 08:58:33,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.43.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-08-14 08:58:33,574 - DEBUG - ping -s 56 -c 3 -W 1 5.43.79.3 2026-08-14 08:58:36,692 - DEBUG - PING 5.43.79.3 (5.43.79.3): 56 data bytes 64 bytes from 5.43.79.3: seq=0 ttl=63 time=1.500 ms --- 5.43.79.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.500/1.500/1.500 ms 2026-08-14 08:58:36,692 - WARNING - Ping to IP 5.43.79.3 from VM ctest-TestBasicPolicy-62186049-57107606 failed 2026-08-14 08:58:36,692 - INFO - Deleting VM ctest-TestBasicPolicy-62186049-08282257 2026-08-14 08:58:36,768 - INFO - Deleting VM ctest-TestBasicPolicy-62186049-57107606 2026-08-14 08:58:37,142 - INFO - Deleted policy ctest-policy-allow-all-57286607 2026-08-14 08:58:37,142 - INFO - Deleting VN ctest-vn-26658825 2026-08-14 08:58:37,179 - DEBUG - VN 78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117 still in use: Unable to complete operation on network 78ea2508-ec3d-4a89-9c2e-7e4a0cd2e117. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7067a02-5b14-4f7b-b61a-12b6e3d31d6f'] 2026-08-14 08:58:37,179 - WARNING - Deleting VN ctest-vn-26658825 failed..Will retry 2026-08-14 08:58:39,280 - DEBUG - Response for deleting network () 2026-08-14 08:58:39,280 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/b19c56e2-bbd3-43ce-a9cb-afa6401ad068 2026-08-14 08:58:39,287 - DEBUG - Response Code: 404 2026-08-14 08:58:39,288 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-14 08:58:39,293 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67 2026-08-14 08:58:39,348 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10 2026-08-14 08:58:39,426 - INFO - Validated that VN ctest-vn-26658825 is not found in API Server 2026-08-14 08:58:39,438 - DEBUG - VN ctest-vn-26658825 is not present in Agent 10.0.0.250 2026-08-14 08:58:39,438 - INFO - Validated that VN ctest-vn-26658825 is not in any agent 2026-08-14 08:58:39,458 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26658825 info 2026-08-14 08:58:39,458 - INFO - Deleting VN ctest-vn-66687173 2026-08-14 08:58:39,568 - DEBUG - Response for deleting network () 2026-08-14 08:58:39,569 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/d8504a34-2459-4ca4-a682-7b2cd7542770 2026-08-14 08:58:39,574 - DEBUG - Response Code: 404 2026-08-14 08:58:39,574 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-14 08:58:39,581 - DEBUG - Requesting: http://10.0.0.250:8082/domain/111bd326-0f01-4c5e-8f8b-08308c02ee67 2026-08-14 08:58:39,635 - DEBUG - Requesting: http://10.0.0.250:8082/project/c3cf9481-88ce-42c8-bdc8-079260c86b10 2026-08-14 08:58:39,714 - INFO - Validated that VN ctest-vn-66687173 is not found in API Server 2026-08-14 08:58:39,724 - DEBUG - VN ctest-vn-66687173 is not present in Agent 10.0.0.250 2026-08-14 08:58:39,725 - INFO - Validated that VN ctest-vn-66687173 is not in any agent 2026-08-14 08:58:39,741 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66687173 info 2026-08-14 08:58:39,996 - DEBUG - No XMPP flaps were noticed during the test 2026-08-14 08:58:39,996 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06] 2026-08-14 08:58:39,997 - INFO - -------------------------------------------------------------------------------- 2026-08-14 08:58:40,664 - INFO - Deleted project: ctest-TestBasicPolicy-62186049, ID : c3cf9481-88ce-42c8-bdc8-079260c86b10