2026-11-23 02:19:55,099 - INFO - Domain Default found not creating 2026-11-23 02:19:55,275 - INFO - Project ctest-TestBasicPolicy-70441057 not found, creating it 2026-11-23 02:19:55,741 - INFO - Created Project:ctest-TestBasicPolicy-70441057, ID : b74e3dfc-6be8-4864-a5b0-2aa9493e0534 2026-11-23 02:19:57,468 - INFO - ================================================================================ 2026-11-23 02:19:57,469 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-23 02:19:57,469 - 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-11-23 02:19:57,738 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-11-23 02:19:57,738 - INFO - Initial checks done. Running the testcase now 2026-11-23 02:19:57,738 - INFO - 2026-11-23 02:19:58,363 - DEBUG - Response for create_network : {'network': {'id': '7c9a4bbf-df91-4e97-97d0-220ce3f8990b', 'name': 'ctest-vn-04241233', 'tenant_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'project_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-vn-04241233'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-23 02:19:58,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '11019948-76bb-4f7a-8e45-dc88047b8185', 'name': '', 'tenant_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'network_id': '7c9a4bbf-df91-4e97-97d0-220ce3f8990b', 'ip_version': 4, 'cidr': '41.66.124.64/26', 'allocation_pools': [{'start': '41.66.124.66', 'end': '41.66.124.126'}], 'gateway_ip': '41.66.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-23T02:19:58.516701', 'updated_at': '2026-11-23T02:19:58.516701', 'dns_server_address': '41.66.124.66', 'tags': [], 'project_id': 'b74e3dfc6be84864a5b02aa9493e0534'}} 2026-11-23 02:19:58,595 - INFO - Created VN ctest-vn-04241233 2026-11-23 02:19:58,645 - DEBUG - VN ctest-vn-04241233 UUID is 7c9a4bbf-df91-4e97-97d0-220ce3f8990b 2026-11-23 02:19:58,994 - DEBUG - Response for create_network : {'network': {'id': '01220877-4309-4dcf-a152-806d6e190679', 'name': 'ctest-vn-22632444', 'tenant_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'project_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-vn-22632444'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-11-23 02:19:59,157 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0eaf943-9e65-437a-8b80-a0fc302f2a6f', 'name': '', 'tenant_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'network_id': '01220877-4309-4dcf-a152-806d6e190679', 'ip_version': 4, 'cidr': '32.180.108.0/26', 'allocation_pools': [{'start': '32.180.108.2', 'end': '32.180.108.62'}], 'gateway_ip': '32.180.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-11-23T02:19:59.097155', 'updated_at': '2026-11-23T02:19:59.097155', 'dns_server_address': '32.180.108.2', 'tags': [], 'project_id': 'b74e3dfc6be84864a5b02aa9493e0534'}} 2026-11-23 02:19:59,174 - INFO - Created VN ctest-vn-22632444 2026-11-23 02:19:59,225 - DEBUG - VN ctest-vn-22632444 UUID is 01220877-4309-4dcf-a152-806d6e190679 2026-11-23 02:19:59,369 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-04241233, 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-70441057:ctest-vn-22632444, 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-11-23 02:19:59,668 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c9a4bbf-df91-4e97-97d0-220ce3f8990b', 'name': 'ctest-vn-04241233', 'tenant_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'project_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['11019948-76bb-4f7a-8e45-dc88047b8185'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-vn-04241233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-policy-allow-all-78759254']], 'subnet_ipam': [{'subnet_cidr': '41.66.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-23T02:19:58.326871', 'updated_at': '2026-11-23T02:19:58.530009'}} 2026-11-23 02:19:59,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01220877-4309-4dcf-a152-806d6e190679', 'name': 'ctest-vn-22632444', 'tenant_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'project_id': 'b74e3dfc6be84864a5b02aa9493e0534', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f0eaf943-9e65-437a-8b80-a0fc302f2a6f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-vn-22632444'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-policy-allow-all-78759254']], 'subnet_ipam': [{'subnet_cidr': '32.180.108.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-11-23T02:19:58.961954', 'updated_at': '2026-11-23T02:19:59.110145'}} 2026-11-23 02:20:00,061 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-23 02:20:00,428 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-23 02:20:00,456 - DEBUG - Requesting: http://10.0.0.177:8082/domain/985314f2-7c90-4a11-898d-107bdef7f5e5 2026-11-23 02:20:00,468 - DEBUG - Requesting: http://10.0.0.177:8082/project/b74e3dfc-6be8-4864-a5b0-2aa9493e0534 2026-11-23 02:20:00,547 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7c9a4bbf-df91-4e97-97d0-220ce3f8990b 2026-11-23 02:20:00,558 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7c9a4bbf-df91-4e97-97d0-220ce3f8990b 2026-11-23 02:20:00,567 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/52407d84-d140-4f50-a3c1-cdda4c685fbc 2026-11-23 02:20:00,575 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/52407d84-d140-4f50-a3c1-cdda4c685fbc 2026-11-23 02:20:00,581 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/ff399258-390e-4580-8b5f-ade4a0035f23 2026-11-23 02:20:00,587 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-23 02:20:00,587 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7c9a4bbf-df91-4e97-97d0-220ce3f8990b 2026-11-23 02:20:00,595 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/52407d84-d140-4f50-a3c1-cdda4c685fbc 2026-11-23 02:20:00,607 - INFO - Verified VN network id 11 for VN 7c9a4bbf-df91-4e97-97d0-220ce3f8990b 2026-11-23 02:20:00,607 - INFO - Verifications in API Server for VN ctest-vn-04241233 passed 2026-11-23 02:20:00,607 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7c9a4bbf-df91-4e97-97d0-220ce3f8990b 2026-11-23 02:20:00,617 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/52407d84-d140-4f50-a3c1-cdda4c685fbc 2026-11-23 02:20:00,623 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/52407d84-d140-4f50-a3c1-cdda4c685fbc 2026-11-23 02:20:00,629 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/ff399258-390e-4580-8b5f-ade4a0035f23 2026-11-23 02:20:00,641 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-04241233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70441057', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8978572094578183831', 'uuid-lslong': '10939280933642606859'}, 'enable': 'true', 'created': '2026-11-23T02:19:58', 'last-modified': '2026-11-23T02:19:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992584'} 2026-11-23 02:20:00,648 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-23 02:20:00,648 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04241233 passed 2026-11-23 02:20:00,648 - DEBUG - ====Verifying policy data for ctest-vn-04241233 in API_Server ====== 2026-11-23 02:20:00,648 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-23 02:20:00,653 - DEBUG - Requesting: http://10.0.0.177:8082/domain/985314f2-7c90-4a11-898d-107bdef7f5e5 2026-11-23 02:20:00,663 - DEBUG - Requesting: http://10.0.0.177:8082/project/b74e3dfc-6be8-4864-a5b0-2aa9493e0534 2026-11-23 02:20:00,733 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/7c9a4bbf-df91-4e97-97d0-220ce3f8990b 2026-11-23 02:20:00,742 - DEBUG - ==>Verifying data for policy with id: 15e878bb-2f58-4bec-a4ea-2a23a82685c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-policy-allow-all-78759254'] 2026-11-23 02:20:00,742 - INFO - VN ctest-vn-04241233 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-23 02:20:00,742 - DEBUG - Verifying the vn in opserver 2026-11-23 02:20:00,743 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-04241233 virtual network link through opserver 10.0.0.177 2026-11-23 02:20:00,743 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-23 02:20:01,108 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-23 02:20:01,156 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-04241233', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-04241233?flat'} 2026-11-23 02:20:01,156 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-04241233 is found in opserver 2026-11-23 02:20:01,166 - DEBUG - Do not have enough data to verify VN in agent 2026-11-23 02:20:01,171 - DEBUG - VRF ids for VN ctest-vn-04241233: {} 2026-11-23 02:20:01,171 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-23 02:20:01,176 - DEBUG - Requesting: http://10.0.0.177:8082/domain/985314f2-7c90-4a11-898d-107bdef7f5e5 2026-11-23 02:20:01,187 - DEBUG - Requesting: http://10.0.0.177:8082/project/b74e3dfc-6be8-4864-a5b0-2aa9493e0534 2026-11-23 02:20:01,267 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/01220877-4309-4dcf-a152-806d6e190679 2026-11-23 02:20:01,279 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/01220877-4309-4dcf-a152-806d6e190679 2026-11-23 02:20:01,290 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f2582fa1-9f10-4896-9753-4a3ea5cabc44 2026-11-23 02:20:01,297 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f2582fa1-9f10-4896-9753-4a3ea5cabc44 2026-11-23 02:20:01,304 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/6c0819ca-d0c0-477c-8ff6-ef951cc91af7 2026-11-23 02:20:01,310 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-23 02:20:01,310 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/01220877-4309-4dcf-a152-806d6e190679 2026-11-23 02:20:01,321 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f2582fa1-9f10-4896-9753-4a3ea5cabc44 2026-11-23 02:20:01,337 - INFO - Verified VN network id 12 for VN 01220877-4309-4dcf-a152-806d6e190679 2026-11-23 02:20:01,337 - INFO - Verifications in API Server for VN ctest-vn-22632444 passed 2026-11-23 02:20:01,338 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/01220877-4309-4dcf-a152-806d6e190679 2026-11-23 02:20:01,347 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f2582fa1-9f10-4896-9753-4a3ea5cabc44 2026-11-23 02:20:01,354 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f2582fa1-9f10-4896-9753-4a3ea5cabc44 2026-11-23 02:20:01,360 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/6c0819ca-d0c0-477c-8ff6-ef951cc91af7 2026-11-23 02:20:01,374 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-22632444', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70441057', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '81637051564903887', 'uuid-lslong': '11624494795683595897'}, 'enable': 'true', 'created': '2026-11-23T02:19:58', 'last-modified': '2026-11-23T02:19:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.498751'} 2026-11-23 02:20:01,380 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-23 02:20:01,380 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22632444 passed 2026-11-23 02:20:01,380 - DEBUG - ====Verifying policy data for ctest-vn-22632444 in API_Server ====== 2026-11-23 02:20:01,381 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-23 02:20:01,386 - DEBUG - Requesting: http://10.0.0.177:8082/domain/985314f2-7c90-4a11-898d-107bdef7f5e5 2026-11-23 02:20:01,397 - DEBUG - Requesting: http://10.0.0.177:8082/project/b74e3dfc-6be8-4864-a5b0-2aa9493e0534 2026-11-23 02:20:01,478 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/01220877-4309-4dcf-a152-806d6e190679 2026-11-23 02:20:01,488 - DEBUG - ==>Verifying data for policy with id: 15e878bb-2f58-4bec-a4ea-2a23a82685c3, fqn: ['default-domain', 'ctest-TestBasicPolicy-70441057', 'ctest-policy-allow-all-78759254'] 2026-11-23 02:20:01,488 - INFO - VN ctest-vn-22632444 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-23 02:20:01,488 - DEBUG - Verifying the vn in opserver 2026-11-23 02:20:01,488 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-22632444 virtual network link through opserver 10.0.0.177 2026-11-23 02:20:01,488 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-23 02:20:01,498 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-22632444', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-22632444?flat'} 2026-11-23 02:20:01,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-22632444 is found in opserver 2026-11-23 02:20:01,508 - DEBUG - Do not have enough data to verify VN in agent 2026-11-23 02:20:01,513 - DEBUG - VRF ids for VN ctest-vn-22632444: {} 2026-11-23 02:20:01,575 - DEBUG - Services list from nova: [, , ] 2026-11-23 02:20:01,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6512-1) 2026-11-23 02:20:02,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6512-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6512-1) 2026-11-23 02:20:02,377 - INFO - Waiting for VM ctest-TestBasicPolicy-70441057-38841740 to be up.. 2026-11-23 02:20:02,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:07,487 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:12,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:17,636 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:22,714 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:27,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:32,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:37,946 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-23 02:20:43,032 - DEBUG - VM is in ACTIVE state now 2026-11-23 02:20:43,032 - INFO - VM name : ctest-TestBasicPolicy-70441057-38841740 2026-11-23 02:20:43,106 - DEBUG - VM ctest-TestBasicPolicy-70441057-38841740 ID is 997c27a4-4ca5-4d5a-bd6d-a9819dd11c94 2026-11-23 02:20:43,127 - DEBUG - VM ctest-TestBasicPolicy-70441057-38841740 launched on Node cn-jenkins-deploy-platform-ansible-os-6512-1 2026-11-23 02:20:43,209 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/997c27a4-4ca5-4d5a-bd6d-a9819dd11c94 2026-11-23 02:20:43,217 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/44bf4013-1a4b-477d-81ca-247e33283a41 2026-11-23 02:20:46,467 - 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 1014ms') 2026-11-23 02:20:46,468 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70441057-38841740 failed! 2026-11-23 02:20:46,521 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70441057:ctest-vn-04241233 is 41.66.124.65 and allocation pool is NOT set 2026-11-23 02:20:48,577 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/2.317/4.173/1.855 ms') 2026-11-23 02:20:48,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70441057-38841740 passed 2026-11-23 02:20:48,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 02:20:48,726 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70441057-38841740, IP 41.66.124.67, Port 22 2026-11-23 02:20:48,881 - DEBUG - VM ctest-TestBasicPolicy-70441057-38841740 is ready for SSH connections 2026-11-23 02:20:48,881 - INFO - Waiting for VM ctest-TestBasicPolicy-70441057-66268468 to be up.. 2026-11-23 02:20:48,956 - DEBUG - VM is in ACTIVE state now 2026-11-23 02:20:48,956 - INFO - VM name : ctest-TestBasicPolicy-70441057-66268468 2026-11-23 02:20:49,026 - DEBUG - VM ctest-TestBasicPolicy-70441057-66268468 ID is 0bb724c7-cbe8-4727-8784-4319ce01ebfc 2026-11-23 02:20:49,026 - DEBUG - VM ctest-TestBasicPolicy-70441057-66268468 launched on Node cn-jenkins-deploy-platform-ansible-os-6512-1 2026-11-23 02:20:49,096 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/0bb724c7-cbe8-4727-8784-4319ce01ebfc 2026-11-23 02:20:49,105 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/b68e2931-bd77-4478-a36d-62d3f31df634 2026-11-23 02:20:50,360 - 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=5.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.45 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 = 1.448/3.672/5.896/2.224 ms') 2026-11-23 02:20:50,361 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70441057-66268468 passed 2026-11-23 02:20:50,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 02:20:50,510 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70441057-66268468, IP 32.180.108.3, Port 22 2026-11-23 02:20:50,679 - DEBUG - VM ctest-TestBasicPolicy-70441057-66268468 is ready for SSH connections 2026-11-23 02:20:50,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 02:20:50,680 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.180.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-23 02:20:50,680 - DEBUG - ping -s 56 -c 3 -W 1 32.180.108.3 2026-11-23 02:20:54,621 - DEBUG - PING 32.180.108.3 (32.180.108.3): 56 data bytes 64 bytes from 32.180.108.3: seq=0 ttl=63 time=4.044 ms 64 bytes from 32.180.108.3: seq=1 ttl=63 time=1.031 ms 64 bytes from 32.180.108.3: seq=2 ttl=63 time=0.914 ms --- 32.180.108.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.914/1.996/4.044 ms 2026-11-23 02:20:54,621 - INFO - Ping to IP 32.180.108.3 from VM ctest-TestBasicPolicy-70441057-38841740 passed 2026-11-23 02:20:54,805 - DEBUG - Policy Update Response {"network-policy": {"uuid": "15e878bb-2f58-4bec-a4ea-2a23a82685c3", "href": "http://10.0.0.177:8082/network-policy/15e878bb-2f58-4bec-a4ea-2a23a82685c3"}} 2026-11-23 02:20:54,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-23 02:20:54,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.180.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-23 02:20:54,806 - DEBUG - ping -s 56 -c 3 -W 1 32.180.108.3 2026-11-23 02:20:57,934 - DEBUG - PING 32.180.108.3 (32.180.108.3): 56 data bytes 64 bytes from 32.180.108.3: seq=0 ttl=63 time=1.560 ms --- 32.180.108.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.560/1.560/1.560 ms 2026-11-23 02:20:57,934 - WARNING - Ping to IP 32.180.108.3 from VM ctest-TestBasicPolicy-70441057-38841740 failed 2026-11-23 02:20:57,935 - INFO - Deleting VM ctest-TestBasicPolicy-70441057-66268468 2026-11-23 02:20:58,018 - INFO - Deleting VM ctest-TestBasicPolicy-70441057-38841740 2026-11-23 02:20:58,406 - INFO - Deleted policy ctest-policy-allow-all-78759254 2026-11-23 02:20:58,406 - INFO - Deleting VN ctest-vn-22632444 2026-11-23 02:20:58,435 - DEBUG - VN 01220877-4309-4dcf-a152-806d6e190679 still in use: Unable to complete operation on network 01220877-4309-4dcf-a152-806d6e190679. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5b86819-d0c4-434e-ada4-42bd6f4dc2d1'] 2026-11-23 02:20:58,436 - WARNING - Deleting VN ctest-vn-22632444 failed..Will retry 2026-11-23 02:21:00,467 - DEBUG - VN 01220877-4309-4dcf-a152-806d6e190679 still in use: Unable to complete operation on network 01220877-4309-4dcf-a152-806d6e190679. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78b57d5e-b075-4b73-83ed-95e783f31cfa'] 2026-11-23 02:21:00,467 - WARNING - Deleting VN ctest-vn-22632444 failed..Will retry 2026-11-23 02:21:02,557 - DEBUG - Response for deleting network () 2026-11-23 02:21:02,557 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f2582fa1-9f10-4896-9753-4a3ea5cabc44 2026-11-23 02:21:02,562 - DEBUG - Response Code: 404 2026-11-23 02:21:02,562 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-23 02:21:02,569 - DEBUG - Requesting: http://10.0.0.177:8082/domain/985314f2-7c90-4a11-898d-107bdef7f5e5 2026-11-23 02:21:02,623 - DEBUG - Requesting: http://10.0.0.177:8082/project/b74e3dfc-6be8-4864-a5b0-2aa9493e0534 2026-11-23 02:21:02,699 - INFO - Validated that VN ctest-vn-22632444 is not found in API Server 2026-11-23 02:21:02,710 - DEBUG - VN ctest-vn-22632444 is not present in Agent 10.0.0.177 2026-11-23 02:21:02,710 - INFO - Validated that VN ctest-vn-22632444 is not in any agent 2026-11-23 02:21:02,728 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22632444 info 2026-11-23 02:21:02,729 - INFO - Deleting VN ctest-vn-04241233 2026-11-23 02:21:02,824 - DEBUG - Response for deleting network () 2026-11-23 02:21:02,824 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/52407d84-d140-4f50-a3c1-cdda4c685fbc 2026-11-23 02:21:02,832 - DEBUG - Response Code: 404 2026-11-23 02:21:02,832 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-23 02:21:02,837 - DEBUG - Requesting: http://10.0.0.177:8082/domain/985314f2-7c90-4a11-898d-107bdef7f5e5 2026-11-23 02:21:02,891 - DEBUG - Requesting: http://10.0.0.177:8082/project/b74e3dfc-6be8-4864-a5b0-2aa9493e0534 2026-11-23 02:21:02,966 - INFO - Validated that VN ctest-vn-04241233 is not found in API Server 2026-11-23 02:21:02,975 - DEBUG - VN ctest-vn-04241233 is not present in Agent 10.0.0.177 2026-11-23 02:21:02,975 - INFO - Validated that VN ctest-vn-04241233 is not in any agent 2026-11-23 02:21:02,990 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04241233 info 2026-11-23 02:21:03,248 - DEBUG - No XMPP flaps were noticed during the test 2026-11-23 02:21:03,249 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:06] 2026-11-23 02:21:03,249 - INFO - -------------------------------------------------------------------------------- 2026-11-23 02:21:03,983 - INFO - Deleted project: ctest-TestBasicPolicy-70441057, ID : b74e3dfc-6be8-4864-a5b0-2aa9493e0534