2026-10-26 15:07:30,934 - INFO - Domain Default found not creating 2026-10-26 15:07:31,165 - INFO - Project ctest-TestBasicPolicy-02631618 not found, creating it 2026-10-26 15:07:31,688 - INFO - Created Project:ctest-TestBasicPolicy-02631618, ID : a9397ea4-3eed-47a7-a011-66fd4c590a63 2026-10-26 15:07:33,868 - INFO - ================================================================================ 2026-10-26 15:07:33,868 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 15:07:33,868 - 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-10-26 15:07:34,146 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-26 15:07:34,146 - INFO - Initial checks done. Running the testcase now 2026-10-26 15:07:34,146 - INFO - 2026-10-26 15:07:34,836 - DEBUG - Response for create_network : {'network': {'id': 'c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6', 'name': 'ctest-vn-20029217', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-20029217'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:07:35,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b54ea28-4f63-4618-8186-3b81b0f48c5e', 'name': '', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'network_id': 'c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6', 'ip_version': 4, 'cidr': '129.225.141.64/26', 'allocation_pools': [{'start': '129.225.141.66', 'end': '129.225.141.126'}], 'gateway_ip': '129.225.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.225.141.66', 'tags': [], 'project_id': 'a9397ea43eed47a7a01166fd4c590a63'}} 2026-10-26 15:07:35,107 - INFO - Created VN ctest-vn-20029217 2026-10-26 15:07:35,162 - DEBUG - VN ctest-vn-20029217 UUID is c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6 2026-10-26 15:07:35,519 - DEBUG - Response for create_network : {'network': {'id': 'f9355c1c-0f4e-4028-af8f-58cdf71c33cf', 'name': 'ctest-vn-04030182', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-04030182'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:07:35,799 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c280ef09-9a01-4d80-a476-5bce696a63f9', 'name': '', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'network_id': 'f9355c1c-0f4e-4028-af8f-58cdf71c33cf', 'ip_version': 4, 'cidr': '94.5.93.0/26', 'allocation_pools': [{'start': '94.5.93.2', 'end': '94.5.93.62'}], 'gateway_ip': '94.5.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.5.93.2', 'tags': [], 'project_id': 'a9397ea43eed47a7a01166fd4c590a63'}} 2026-10-26 15:07:35,822 - INFO - Created VN ctest-vn-04030182 2026-10-26 15:07:35,878 - DEBUG - VN ctest-vn-04030182 UUID is f9355c1c-0f4e-4028-af8f-58cdf71c33cf 2026-10-26 15:07:36,005 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217, 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-02631618:ctest-vn-04030182, 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-10-26 15:07:36,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6', 'name': 'ctest-vn-20029217', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['6b54ea28-4f63-4618-8186-3b81b0f48c5e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-20029217'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100']], 'subnet_ipam': [{'subnet_cidr': '129.225.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:07:36,632 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9355c1c-0f4e-4028-af8f-58cdf71c33cf', 'name': 'ctest-vn-04030182', 'tenant_id': 'a9397ea43eed47a7a01166fd4c590a63', 'project_id': 'a9397ea43eed47a7a01166fd4c590a63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c280ef09-9a01-4d80-a476-5bce696a63f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-vn-04030182'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100']], 'subnet_ipam': [{'subnet_cidr': '94.5.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:07:36,802 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 15:07:37,187 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 15:07:37,220 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920 2026-10-26 15:07:37,234 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63 2026-10-26 15:07:37,321 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6 2026-10-26 15:07:37,335 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6 2026-10-26 15:07:37,354 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98 2026-10-26 15:07:37,374 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98 2026-10-26 15:07:37,386 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e0a05f15-26cd-4360-b7db-b7a732681da8 2026-10-26 15:07:37,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 15:07:37,395 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6 2026-10-26 15:07:37,408 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98 2026-10-26 15:07:37,429 - INFO - Verified VN network id 10 for VN c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6 2026-10-26 15:07:37,429 - INFO - Verifications in API Server for VN ctest-vn-20029217 passed 2026-10-26 15:07:37,429 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6 2026-10-26 15:07:37,442 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98 2026-10-26 15:07:37,454 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98 2026-10-26 15:07:37,465 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/e0a05f15-26cd-4360-b7db-b7a732681da8 2026-10-26 15:07:37,487 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02631618', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14500833677092736642', 'uuid-lslong': '10210204668454631142'}, 'enable': 'true', 'created': '2026-10-26T15:07:34', 'last-modified': '2026-10-26T15:07:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.170917'} 2026-10-26 15:07:37,497 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 15:07:37,497 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20029217 passed 2026-10-26 15:07:37,497 - DEBUG - ====Verifying policy data for ctest-vn-20029217 in API_Server ====== 2026-10-26 15:07:37,497 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 15:07:37,505 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920 2026-10-26 15:07:37,521 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63 2026-10-26 15:07:37,601 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c93d4f66-8e22-4e82-8db1-ef0ccb45f6e6 2026-10-26 15:07:37,617 - DEBUG - ==>Verifying data for policy with id: b6b5574c-504c-490c-97d1-2dd02911c443, fqn: ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100'] 2026-10-26 15:07:37,617 - INFO - VN ctest-vn-20029217 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 15:07:37,617 - DEBUG - Verifying the vn in opserver 2026-10-26 15:07:37,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217 virtual network link through opserver 10.0.0.161 2026-10-26 15:07:37,618 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 15:07:38,024 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 15:07:38,095 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217?flat'} 2026-10-26 15:07:38,095 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217 is found in opserver 2026-10-26 15:07:38,106 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 15:07:38,113 - DEBUG - VRF ids for VN ctest-vn-20029217: {} 2026-10-26 15:07:38,114 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 15:07:38,121 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920 2026-10-26 15:07:38,135 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63 2026-10-26 15:07:38,213 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf 2026-10-26 15:07:38,228 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf 2026-10-26 15:07:38,240 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3 2026-10-26 15:07:38,252 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3 2026-10-26 15:07:38,263 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f5753369-ab8e-4d6a-9cd3-5b0fb04c9c50 2026-10-26 15:07:38,273 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 15:07:38,273 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf 2026-10-26 15:07:38,288 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3 2026-10-26 15:07:38,308 - INFO - Verified VN network id 11 for VN f9355c1c-0f4e-4028-af8f-58cdf71c33cf 2026-10-26 15:07:38,308 - INFO - Verifications in API Server for VN ctest-vn-04030182 passed 2026-10-26 15:07:38,308 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf 2026-10-26 15:07:38,324 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3 2026-10-26 15:07:38,336 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3 2026-10-26 15:07:38,348 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f5753369-ab8e-4d6a-9cd3-5b0fb04c9c50 2026-10-26 15:07:38,368 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02631618', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17957360364795346984', 'uuid-lslong': '12650427519944373199'}, 'enable': 'true', 'created': '2026-10-26T15:07:35', 'last-modified': '2026-10-26T15:07:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.774154'} 2026-10-26 15:07:38,377 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 15:07:38,378 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04030182 passed 2026-10-26 15:07:38,378 - DEBUG - ====Verifying policy data for ctest-vn-04030182 in API_Server ====== 2026-10-26 15:07:38,378 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 15:07:38,385 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920 2026-10-26 15:07:38,400 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63 2026-10-26 15:07:38,490 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/f9355c1c-0f4e-4028-af8f-58cdf71c33cf 2026-10-26 15:07:38,505 - DEBUG - ==>Verifying data for policy with id: b6b5574c-504c-490c-97d1-2dd02911c443, fqn: ['default-domain', 'ctest-TestBasicPolicy-02631618', 'ctest-policy-allow-all-09423100'] 2026-10-26 15:07:38,505 - INFO - VN ctest-vn-04030182 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 15:07:38,505 - DEBUG - Verifying the vn in opserver 2026-10-26 15:07:38,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182 virtual network link through opserver 10.0.0.161 2026-10-26 15:07:38,505 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-10-26 15:07:38,520 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182?flat'} 2026-10-26 15:07:38,520 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-04030182 is found in opserver 2026-10-26 15:07:38,533 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 15:07:38,541 - DEBUG - VRF ids for VN ctest-vn-04030182: {} 2026-10-26 15:07:38,621 - DEBUG - Services list from nova: [, , ] 2026-10-26 15:07:39,083 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6413-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6413-1) 2026-10-26 15:07:39,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6413-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6413-1) 2026-10-26 15:07:39,595 - INFO - Waiting for VM ctest-TestBasicPolicy-02631618-45841220 to be up.. 2026-10-26 15:07:39,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:07:44,746 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:07:49,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:07:54,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:08:00,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:08:05,167 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:08:10,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:08:15,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:08:20,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:08:25,623 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:08:25,623 - INFO - VM name : ctest-TestBasicPolicy-02631618-45841220 2026-10-26 15:08:25,734 - DEBUG - VM ctest-TestBasicPolicy-02631618-45841220 ID is d48d42e5-6023-42e4-81d3-473c3c03b56f 2026-10-26 15:08:25,761 - DEBUG - VM ctest-TestBasicPolicy-02631618-45841220 launched on Node cn-jenkins-deploy-platform-ansible-os-6413-1 2026-10-26 15:08:25,865 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/d48d42e5-6023-42e4-81d3-473c3c03b56f 2026-10-26 15:08:25,890 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/581b97fc-9e08-4377-a614-105903010b1a 2026-10-26 15:08:29,213 - 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 1023ms') 2026-10-26 15:08:29,213 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02631618-45841220 failed! 2026-10-26 15:08:29,275 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02631618:ctest-vn-20029217 is 129.225.141.65 and allocation pool is NOT set 2026-10-26 15:08:31,346 - 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=21.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.97 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 = 3.969/12.909/21.850/8.940 ms') 2026-10-26 15:08:31,346 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02631618-45841220 passed 2026-10-26 15:08:31,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:08:31,502 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02631618-45841220, IP 129.225.141.67, Port 22 2026-10-26 15:08:31,677 - DEBUG - VM ctest-TestBasicPolicy-02631618-45841220 is ready for SSH connections 2026-10-26 15:08:31,677 - INFO - Waiting for VM ctest-TestBasicPolicy-02631618-23511684 to be up.. 2026-10-26 15:08:31,789 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:08:31,789 - INFO - VM name : ctest-TestBasicPolicy-02631618-23511684 2026-10-26 15:08:31,902 - DEBUG - VM ctest-TestBasicPolicy-02631618-23511684 ID is d69d71e9-6754-4eaa-8687-f30c26babdb1 2026-10-26 15:08:31,902 - DEBUG - VM ctest-TestBasicPolicy-02631618-23511684 launched on Node cn-jenkins-deploy-platform-ansible-os-6413-1 2026-10-26 15:08:32,021 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/d69d71e9-6754-4eaa-8687-f30c26babdb1 2026-10-26 15:08:32,031 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/719f3b5a-6adb-483d-bd93-a58dafe485e7 2026-10-26 15:08:35,297 - 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=2 ttl=63 time=4.57 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 4.567/4.567/4.567/0.000 ms') 2026-10-26 15:08:35,298 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02631618-23511684 passed 2026-10-26 15:08:35,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:08:35,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02631618-23511684, IP 94.5.93.3, Port 22 2026-10-26 15:08:35,633 - DEBUG - VM ctest-TestBasicPolicy-02631618-23511684 is ready for SSH connections 2026-10-26 15:08:35,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:08:35,633 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.5.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:08:35,633 - DEBUG - ping -s 56 -c 3 -W 1 94.5.93.3 2026-10-26 15:08:39,831 - DEBUG - PING 94.5.93.3 (94.5.93.3): 56 data bytes 64 bytes from 94.5.93.3: seq=0 ttl=63 time=5.551 ms 64 bytes from 94.5.93.3: seq=1 ttl=63 time=1.118 ms 64 bytes from 94.5.93.3: seq=2 ttl=63 time=1.681 ms --- 94.5.93.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.118/2.783/5.551 ms 2026-10-26 15:08:39,831 - INFO - Ping to IP 94.5.93.3 from VM ctest-TestBasicPolicy-02631618-45841220 passed 2026-10-26 15:08:40,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b6b5574c-504c-490c-97d1-2dd02911c443", "href": "http://10.0.0.161:8082/network-policy/b6b5574c-504c-490c-97d1-2dd02911c443"}} 2026-10-26 15:08:40,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:08:40,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.5.93.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:08:40,039 - DEBUG - ping -s 56 -c 3 -W 1 94.5.93.3 2026-10-26 15:08:43,208 - DEBUG - PING 94.5.93.3 (94.5.93.3): 56 data bytes 64 bytes from 94.5.93.3: seq=0 ttl=63 time=2.215 ms --- 94.5.93.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.215/2.215/2.215 ms 2026-10-26 15:08:43,209 - WARNING - Ping to IP 94.5.93.3 from VM ctest-TestBasicPolicy-02631618-45841220 failed 2026-10-26 15:08:43,209 - INFO - Deleting VM ctest-TestBasicPolicy-02631618-23511684 2026-10-26 15:08:43,307 - INFO - Deleting VM ctest-TestBasicPolicy-02631618-45841220 2026-10-26 15:08:43,806 - INFO - Deleted policy ctest-policy-allow-all-09423100 2026-10-26 15:08:43,807 - INFO - Deleting VN ctest-vn-04030182 2026-10-26 15:08:43,860 - DEBUG - VN f9355c1c-0f4e-4028-af8f-58cdf71c33cf still in use: Unable to complete operation on network f9355c1c-0f4e-4028-af8f-58cdf71c33cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1fa74ae8-7935-42e9-bf9b-eb14b592e545'] 2026-10-26 15:08:43,860 - WARNING - Deleting VN ctest-vn-04030182 failed..Will retry 2026-10-26 15:08:45,929 - DEBUG - VN f9355c1c-0f4e-4028-af8f-58cdf71c33cf still in use: Unable to complete operation on network f9355c1c-0f4e-4028-af8f-58cdf71c33cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03a19e22-8fec-4f70-b3a8-e37c2a922203'] 2026-10-26 15:08:45,930 - WARNING - Deleting VN ctest-vn-04030182 failed..Will retry 2026-10-26 15:08:48,191 - DEBUG - Response for deleting network () 2026-10-26 15:08:48,191 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/f9ddef73-8197-4c6f-a7f7-d838ec2f4af3 2026-10-26 15:08:48,199 - DEBUG - Response Code: 404 2026-10-26 15:08:48,199 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 15:08:48,217 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920 2026-10-26 15:08:48,233 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63 2026-10-26 15:08:48,324 - INFO - Validated that VN ctest-vn-04030182 is not found in API Server 2026-10-26 15:08:48,339 - DEBUG - VN ctest-vn-04030182 is not present in Agent 10.0.0.161 2026-10-26 15:08:48,339 - INFO - Validated that VN ctest-vn-04030182 is not in any agent 2026-10-26 15:08:48,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04030182 info 2026-10-26 15:08:48,372 - INFO - Deleting VN ctest-vn-20029217 2026-10-26 15:08:48,522 - DEBUG - Response for deleting network () 2026-10-26 15:08:48,522 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/eeaa35cb-4ce5-4e5d-bfda-f06b77c3cf98 2026-10-26 15:08:48,529 - DEBUG - Response Code: 404 2026-10-26 15:08:48,529 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-10-26 15:08:48,536 - DEBUG - Requesting: http://10.0.0.161:8082/domain/25cfa2e6-6f87-4fc5-95ab-e0013c9f0920 2026-10-26 15:08:48,592 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9397ea4-3eed-47a7-a011-66fd4c590a63 2026-10-26 15:08:48,682 - INFO - Validated that VN ctest-vn-20029217 is not found in API Server 2026-10-26 15:08:48,697 - DEBUG - VN ctest-vn-20029217 is not present in Agent 10.0.0.161 2026-10-26 15:08:48,697 - INFO - Validated that VN ctest-vn-20029217 is not in any agent 2026-10-26 15:08:48,719 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20029217 info 2026-10-26 15:08:49,002 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 15:08:49,002 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:16]
2026-10-26 15:08:49,002 - INFO - -------------------------------------------------------------------------------- 2026-10-26 15:08:49,938 - INFO - Deleted project: ctest-TestBasicPolicy-02631618, ID : a9397ea4-3eed-47a7-a011-66fd4c590a63