2026-05-06 10:04:36,463 - INFO - Domain Default found not creating 2026-05-06 10:04:36,630 - INFO - Project ctest-TestBasicPolicy-79515400 not found, creating it 2026-05-06 10:04:37,067 - INFO - Created Project:ctest-TestBasicPolicy-79515400, ID : ba1e4386-490f-4857-8ffb-d0cb0e224162 2026-05-06 10:04:38,574 - INFO - ================================================================================ 2026-05-06 10:04:38,574 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-06 10:04:38,574 - 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-05-06 10:04:38,836 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-06 10:04:38,836 - INFO - Initial checks done. Running the testcase now 2026-05-06 10:04:38,836 - INFO - 2026-05-06 10:04:39,417 - DEBUG - Response for create_network : {'network': {'id': '4d95c47f-d204-4f23-9dd2-fbd648e72af5', 'name': 'ctest-vn-55189114', 'tenant_id': 'ba1e4386490f48578ffbd0cb0e224162', 'project_id': 'ba1e4386490f48578ffbd0cb0e224162', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-vn-55189114'], 'port_security_enabled': True, 'description': ''}} 2026-05-06 10:04:39,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '7cd1816c-b6e1-4870-8ad7-d6cca014568f', 'name': '', 'tenant_id': 'ba1e4386490f48578ffbd0cb0e224162', 'network_id': '4d95c47f-d204-4f23-9dd2-fbd648e72af5', 'ip_version': 4, 'cidr': '38.44.24.128/26', 'allocation_pools': [{'start': '38.44.24.130', 'end': '38.44.24.190'}], 'gateway_ip': '38.44.24.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.44.24.130', 'tags': [], 'project_id': 'ba1e4386490f48578ffbd0cb0e224162'}} 2026-05-06 10:04:39,619 - INFO - Created VN ctest-vn-55189114 2026-05-06 10:04:39,674 - DEBUG - VN ctest-vn-55189114 UUID is 4d95c47f-d204-4f23-9dd2-fbd648e72af5 2026-05-06 10:04:39,964 - DEBUG - Response for create_network : {'network': {'id': '15601837-8a74-4112-9a1b-690715016172', 'name': 'ctest-vn-09965172', 'tenant_id': 'ba1e4386490f48578ffbd0cb0e224162', 'project_id': 'ba1e4386490f48578ffbd0cb0e224162', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-vn-09965172'], 'port_security_enabled': True, 'description': ''}} 2026-05-06 10:04:40,139 - DEBUG - Response for create_subnet : {'subnet': {'id': '0da16bc1-b9a2-4d18-9e20-75447321c2c0', 'name': '', 'tenant_id': 'ba1e4386490f48578ffbd0cb0e224162', 'network_id': '15601837-8a74-4112-9a1b-690715016172', 'ip_version': 4, 'cidr': '149.122.100.128/26', 'allocation_pools': [{'start': '149.122.100.130', 'end': '149.122.100.190'}], 'gateway_ip': '149.122.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.122.100.130', 'tags': [], 'project_id': 'ba1e4386490f48578ffbd0cb0e224162'}} 2026-05-06 10:04:40,158 - INFO - Created VN ctest-vn-09965172 2026-05-06 10:04:40,210 - DEBUG - VN ctest-vn-09965172 UUID is 15601837-8a74-4112-9a1b-690715016172 2026-05-06 10:04:40,326 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-55189114, 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-79515400:ctest-vn-09965172, 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-05-06 10:04:40,613 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d95c47f-d204-4f23-9dd2-fbd648e72af5', 'name': 'ctest-vn-55189114', 'tenant_id': 'ba1e4386490f48578ffbd0cb0e224162', 'project_id': 'ba1e4386490f48578ffbd0cb0e224162', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7cd1816c-b6e1-4870-8ad7-d6cca014568f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-vn-55189114'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-policy-allow-all-06649011']], 'subnet_ipam': [{'subnet_cidr': '38.44.24.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-06 10:04:40,846 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15601837-8a74-4112-9a1b-690715016172', 'name': 'ctest-vn-09965172', 'tenant_id': 'ba1e4386490f48578ffbd0cb0e224162', 'project_id': 'ba1e4386490f48578ffbd0cb0e224162', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0da16bc1-b9a2-4d18-9e20-75447321c2c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-vn-09965172'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-policy-allow-all-06649011']], 'subnet_ipam': [{'subnet_cidr': '149.122.100.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-06 10:04:41,014 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 10:04:41,331 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 10:04:41,363 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3985a10d-7452-48e5-a2fa-93a3fd231858 2026-05-06 10:04:41,375 - DEBUG - Requesting: http://10.0.0.50:8082/project/ba1e4386-490f-4857-8ffb-d0cb0e224162 2026-05-06 10:04:41,447 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d95c47f-d204-4f23-9dd2-fbd648e72af5 2026-05-06 10:04:41,458 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d95c47f-d204-4f23-9dd2-fbd648e72af5 2026-05-06 10:04:41,467 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/414fd1cc-138c-4c94-8bea-218c74c8bcd3 2026-05-06 10:04:41,474 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/414fd1cc-138c-4c94-8bea-218c74c8bcd3 2026-05-06 10:04:41,481 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f70e52a0-51d5-42c3-8067-b1975aba3c0c 2026-05-06 10:04:41,486 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-06 10:04:41,486 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d95c47f-d204-4f23-9dd2-fbd648e72af5 2026-05-06 10:04:41,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/414fd1cc-138c-4c94-8bea-218c74c8bcd3 2026-05-06 10:04:41,507 - INFO - Verified VN network id 11 for VN 4d95c47f-d204-4f23-9dd2-fbd648e72af5 2026-05-06 10:04:41,507 - INFO - Verifications in API Server for VN ctest-vn-55189114 passed 2026-05-06 10:04:41,507 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d95c47f-d204-4f23-9dd2-fbd648e72af5 2026-05-06 10:04:41,515 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/414fd1cc-138c-4c94-8bea-218c74c8bcd3 2026-05-06 10:04:41,521 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/414fd1cc-138c-4c94-8bea-218c74c8bcd3 2026-05-06 10:04:41,527 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f70e52a0-51d5-42c3-8067-b1975aba3c0c 2026-05-06 10:04:41,538 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-55189114', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79515400', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5590590565713727267', 'uuid-lslong': '11372428906828606197'}, 'enable': 'true', 'created': '2026-05-06T10:04:39', 'last-modified': '2026-05-06T10:04:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946110'} 2026-05-06 10:04:41,544 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-06 10:04:41,544 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55189114 passed 2026-05-06 10:04:41,545 - DEBUG - ====Verifying policy data for ctest-vn-55189114 in API_Server ====== 2026-05-06 10:04:41,545 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 10:04:41,550 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3985a10d-7452-48e5-a2fa-93a3fd231858 2026-05-06 10:04:41,562 - DEBUG - Requesting: http://10.0.0.50:8082/project/ba1e4386-490f-4857-8ffb-d0cb0e224162 2026-05-06 10:04:41,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/4d95c47f-d204-4f23-9dd2-fbd648e72af5 2026-05-06 10:04:41,642 - DEBUG - ==>Verifying data for policy with id: 5cd91f42-0056-4684-b66b-6ff81f14501b, fqn: ['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-policy-allow-all-06649011'] 2026-05-06 10:04:41,642 - INFO - VN ctest-vn-55189114 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-06 10:04:41,642 - DEBUG - Verifying the vn in opserver 2026-05-06 10:04:41,642 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-55189114 virtual network link through opserver 10.0.0.50 2026-05-06 10:04:41,642 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-06 10:04:41,947 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-06 10:04:42,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-55189114', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-55189114?flat'} 2026-05-06 10:04:42,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-55189114 is found in opserver 2026-05-06 10:04:42,020 - DEBUG - Do not have enough data to verify VN in agent 2026-05-06 10:04:42,024 - DEBUG - VRF ids for VN ctest-vn-55189114: {} 2026-05-06 10:04:42,024 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 10:04:42,030 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3985a10d-7452-48e5-a2fa-93a3fd231858 2026-05-06 10:04:42,041 - DEBUG - Requesting: http://10.0.0.50:8082/project/ba1e4386-490f-4857-8ffb-d0cb0e224162 2026-05-06 10:04:42,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15601837-8a74-4112-9a1b-690715016172 2026-05-06 10:04:42,126 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15601837-8a74-4112-9a1b-690715016172 2026-05-06 10:04:42,136 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12abea3f-1d24-4494-8c23-e87d7a2dfda7 2026-05-06 10:04:42,144 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12abea3f-1d24-4494-8c23-e87d7a2dfda7 2026-05-06 10:04:42,152 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b342770c-57f1-45aa-bfd2-239fc2876eab 2026-05-06 10:04:42,158 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-06 10:04:42,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15601837-8a74-4112-9a1b-690715016172 2026-05-06 10:04:42,167 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12abea3f-1d24-4494-8c23-e87d7a2dfda7 2026-05-06 10:04:42,183 - INFO - Verified VN network id 12 for VN 15601837-8a74-4112-9a1b-690715016172 2026-05-06 10:04:42,183 - INFO - Verifications in API Server for VN ctest-vn-09965172 passed 2026-05-06 10:04:42,183 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15601837-8a74-4112-9a1b-690715016172 2026-05-06 10:04:42,192 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12abea3f-1d24-4494-8c23-e87d7a2dfda7 2026-05-06 10:04:42,199 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12abea3f-1d24-4494-8c23-e87d7a2dfda7 2026-05-06 10:04:42,206 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b342770c-57f1-45aa-bfd2-239fc2876eab 2026-05-06 10:04:42,219 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-09965172', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79515400', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1540257699385852178', 'uuid-lslong': '11104584785350189426'}, 'enable': 'true', 'created': '2026-05-06T10:04:39', 'last-modified': '2026-05-06T10:04:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.392626'} 2026-05-06 10:04:42,225 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-06 10:04:42,225 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09965172 passed 2026-05-06 10:04:42,225 - DEBUG - ====Verifying policy data for ctest-vn-09965172 in API_Server ====== 2026-05-06 10:04:42,225 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 10:04:42,231 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3985a10d-7452-48e5-a2fa-93a3fd231858 2026-05-06 10:04:42,241 - DEBUG - Requesting: http://10.0.0.50:8082/project/ba1e4386-490f-4857-8ffb-d0cb0e224162 2026-05-06 10:04:42,310 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15601837-8a74-4112-9a1b-690715016172 2026-05-06 10:04:42,318 - DEBUG - ==>Verifying data for policy with id: 5cd91f42-0056-4684-b66b-6ff81f14501b, fqn: ['default-domain', 'ctest-TestBasicPolicy-79515400', 'ctest-policy-allow-all-06649011'] 2026-05-06 10:04:42,318 - INFO - VN ctest-vn-09965172 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-06 10:04:42,319 - DEBUG - Verifying the vn in opserver 2026-05-06 10:04:42,319 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-09965172 virtual network link through opserver 10.0.0.50 2026-05-06 10:04:42,319 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-06 10:04:42,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-09965172', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-09965172?flat'} 2026-05-06 10:04:42,327 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-09965172 is found in opserver 2026-05-06 10:04:42,336 - DEBUG - Do not have enough data to verify VN in agent 2026-05-06 10:04:42,340 - DEBUG - VRF ids for VN ctest-vn-09965172: {} 2026-05-06 10:04:42,400 - DEBUG - Services list from nova: [, , ] 2026-05-06 10:04:43,454 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5747-1) 2026-05-06 10:04:44,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5747-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5747-1) 2026-05-06 10:04:44,646 - INFO - Waiting for VM ctest-TestBasicPolicy-79515400-35304449 to be up.. 2026-05-06 10:04:44,731 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-06 10:04:49,811 - DEBUG - VM is in ACTIVE state now 2026-05-06 10:04:49,811 - INFO - VM name : ctest-TestBasicPolicy-79515400-35304449 2026-05-06 10:04:49,885 - DEBUG - VM ctest-TestBasicPolicy-79515400-35304449 ID is 5a34d5d8-59ab-4016-a42d-b10f675eda7d 2026-05-06 10:04:49,906 - DEBUG - VM ctest-TestBasicPolicy-79515400-35304449 launched on Node cn-jenkins-deploy-platform-ansible-os-5747-1 2026-05-06 10:04:49,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5a34d5d8-59ab-4016-a42d-b10f675eda7d 2026-05-06 10:04:49,987 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9289527c-e734-4b6f-912c-c810d71a72da 2026-05-06 10:04:53,225 - 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 1003ms') 2026-05-06 10:04:53,225 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79515400-35304449 failed! 2026-05-06 10:04:53,278 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79515400:ctest-vn-55189114 is 38.44.24.129 and allocation pool is NOT set 2026-05-06 10:04:55,338 - 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=9.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.34 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 = 1.340/5.580/9.821/4.240 ms') 2026-05-06 10:04:55,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79515400-35304449 passed 2026-05-06 10:04:55,491 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 10:04:55,491 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79515400-35304449, IP 38.44.24.131, Port 22 2026-05-06 10:04:55,545 - 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-05-06 10:04:55,625 - DEBUG - VM ctest-TestBasicPolicy-79515400-35304449 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-06 10:05:00,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 10:05:00,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79515400-35304449, IP 38.44.24.131, Port 22 2026-05-06 10:05:00,794 - DEBUG - VM ctest-TestBasicPolicy-79515400-35304449 is ready for SSH connections 2026-05-06 10:05:00,794 - INFO - Waiting for VM ctest-TestBasicPolicy-79515400-84989122 to be up.. 2026-05-06 10:05:00,878 - DEBUG - VM is in ACTIVE state now 2026-05-06 10:05:00,878 - INFO - VM name : ctest-TestBasicPolicy-79515400-84989122 2026-05-06 10:05:00,965 - DEBUG - VM ctest-TestBasicPolicy-79515400-84989122 ID is fb765900-c420-4fb9-ab8c-0c6516c42f25 2026-05-06 10:05:00,965 - DEBUG - VM ctest-TestBasicPolicy-79515400-84989122 launched on Node cn-jenkins-deploy-platform-ansible-os-5747-1 2026-05-06 10:05:01,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fb765900-c420-4fb9-ab8c-0c6516c42f25 2026-05-06 10:05:01,056 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d90405d4-b814-4626-ae2d-562ccf89f8c2 2026-05-06 10:05:02,310 - 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=3.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.953/3.483/1.530 ms') 2026-05-06 10:05:02,311 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79515400-84989122 passed 2026-05-06 10:05:02,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 10:05:02,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79515400-84989122, IP 149.122.100.131, Port 22 2026-05-06 10:05:02,618 - DEBUG - VM ctest-TestBasicPolicy-79515400-84989122 is ready for SSH connections 2026-05-06 10:05:02,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 10:05:02,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.122.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-06 10:05:02,619 - DEBUG - ping -s 56 -c 3 -W 1 149.122.100.131 2026-05-06 10:05:06,790 - DEBUG - PING 149.122.100.131 (149.122.100.131): 56 data bytes 64 bytes from 149.122.100.131: seq=0 ttl=63 time=3.775 ms 64 bytes from 149.122.100.131: seq=1 ttl=63 time=1.089 ms 64 bytes from 149.122.100.131: seq=2 ttl=63 time=0.951 ms --- 149.122.100.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.951/1.938/3.775 ms 2026-05-06 10:05:06,791 - INFO - Ping to IP 149.122.100.131 from VM ctest-TestBasicPolicy-79515400-35304449 passed 2026-05-06 10:05:06,966 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5cd91f42-0056-4684-b66b-6ff81f14501b", "href": "http://10.0.0.50:8082/network-policy/5cd91f42-0056-4684-b66b-6ff81f14501b"}} 2026-05-06 10:05:06,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 10:05:06,966 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.122.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-06 10:05:06,966 - DEBUG - ping -s 56 -c 3 -W 1 149.122.100.131 2026-05-06 10:05:10,262 - DEBUG - PING 149.122.100.131 (149.122.100.131): 56 data bytes --- 149.122.100.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-06 10:05:10,262 - WARNING - Ping to IP 149.122.100.131 from VM ctest-TestBasicPolicy-79515400-35304449 failed 2026-05-06 10:05:10,262 - INFO - Deleting VM ctest-TestBasicPolicy-79515400-84989122 2026-05-06 10:05:10,339 - INFO - Deleting VM ctest-TestBasicPolicy-79515400-35304449 2026-05-06 10:05:10,717 - INFO - Deleted policy ctest-policy-allow-all-06649011 2026-05-06 10:05:10,718 - INFO - Deleting VN ctest-vn-09965172 2026-05-06 10:05:10,753 - DEBUG - VN 15601837-8a74-4112-9a1b-690715016172 still in use: Unable to complete operation on network 15601837-8a74-4112-9a1b-690715016172. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef4ce377-54fb-4ab8-9186-e56f6a05a122'] 2026-05-06 10:05:10,753 - WARNING - Deleting VN ctest-vn-09965172 failed..Will retry 2026-05-06 10:05:12,870 - DEBUG - Response for deleting network () 2026-05-06 10:05:12,870 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/12abea3f-1d24-4494-8c23-e87d7a2dfda7 2026-05-06 10:05:12,880 - DEBUG - Response Code: 404 2026-05-06 10:05:12,880 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 10:05:12,886 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3985a10d-7452-48e5-a2fa-93a3fd231858 2026-05-06 10:05:12,944 - DEBUG - Requesting: http://10.0.0.50:8082/project/ba1e4386-490f-4857-8ffb-d0cb0e224162 2026-05-06 10:05:13,015 - INFO - Validated that VN ctest-vn-09965172 is not found in API Server 2026-05-06 10:05:13,025 - DEBUG - VN ctest-vn-09965172 is not present in Agent 10.0.0.50 2026-05-06 10:05:13,025 - INFO - Validated that VN ctest-vn-09965172 is not in any agent 2026-05-06 10:05:13,040 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09965172 info 2026-05-06 10:05:13,040 - INFO - Deleting VN ctest-vn-55189114 2026-05-06 10:05:13,150 - DEBUG - Response for deleting network () 2026-05-06 10:05:13,150 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/414fd1cc-138c-4c94-8bea-218c74c8bcd3 2026-05-06 10:05:13,157 - DEBUG - Response Code: 404 2026-05-06 10:05:13,157 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 10:05:13,162 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3985a10d-7452-48e5-a2fa-93a3fd231858 2026-05-06 10:05:13,216 - DEBUG - Requesting: http://10.0.0.50:8082/project/ba1e4386-490f-4857-8ffb-d0cb0e224162 2026-05-06 10:05:13,289 - INFO - Validated that VN ctest-vn-55189114 is not found in API Server 2026-05-06 10:05:13,298 - DEBUG - VN ctest-vn-55189114 is not present in Agent 10.0.0.50 2026-05-06 10:05:13,298 - INFO - Validated that VN ctest-vn-55189114 is not in any agent 2026-05-06 10:05:13,315 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55189114 info 2026-05-06 10:05:13,575 - DEBUG - No XMPP flaps were noticed during the test
2026-05-06 10:05:13,575 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-06 10:05:13,576 - INFO - -------------------------------------------------------------------------------- 2026-05-06 10:05:14,272 - INFO - Deleted project: ctest-TestBasicPolicy-79515400, ID : ba1e4386-490f-4857-8ffb-d0cb0e224162