2026-01-13 01:41:15,448 - INFO - Domain Default found not creating 2026-01-13 01:41:15,618 - INFO - Project ctest-TestBasicPolicy-91314895 not found, creating it 2026-01-13 01:41:16,097 - INFO - Created Project:ctest-TestBasicPolicy-91314895, ID : 60d38dbc-09a5-4917-aaba-38e8614d4068 2026-01-13 01:41:17,715 - INFO - ================================================================================ 2026-01-13 01:41:17,716 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-13 01:41:17,716 - 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-01-13 01:41:17,982 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-13 01:41:17,982 - INFO - Initial checks done. Running the testcase now 2026-01-13 01:41:17,982 - INFO - 2026-01-13 01:41:18,582 - DEBUG - Response for create_network : {'network': {'id': '16caa6e1-7c53-4458-8aff-41e05e47c58f', 'name': 'ctest-vn-21219478', 'tenant_id': '60d38dbc09a54917aaba38e8614d4068', 'project_id': '60d38dbc09a54917aaba38e8614d4068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-vn-21219478'], 'port_security_enabled': True, 'description': ''}} 2026-01-13 01:41:18,809 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b792e87-4525-4dd7-966b-94a9c7a403ff', 'name': '', 'tenant_id': '60d38dbc09a54917aaba38e8614d4068', 'network_id': '16caa6e1-7c53-4458-8aff-41e05e47c58f', 'ip_version': 4, 'cidr': '136.105.35.128/26', 'allocation_pools': [{'start': '136.105.35.130', 'end': '136.105.35.190'}], 'gateway_ip': '136.105.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.105.35.130', 'tags': [], 'project_id': '60d38dbc09a54917aaba38e8614d4068'}} 2026-01-13 01:41:18,829 - INFO - Created VN ctest-vn-21219478 2026-01-13 01:41:18,881 - DEBUG - VN ctest-vn-21219478 UUID is 16caa6e1-7c53-4458-8aff-41e05e47c58f 2026-01-13 01:41:19,207 - DEBUG - Response for create_network : {'network': {'id': 'b2740721-ead5-49fc-8e2a-66a3c8b02232', 'name': 'ctest-vn-36578825', 'tenant_id': '60d38dbc09a54917aaba38e8614d4068', 'project_id': '60d38dbc09a54917aaba38e8614d4068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-vn-36578825'], 'port_security_enabled': True, 'description': ''}} 2026-01-13 01:41:19,383 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5c72fcb-1e32-467b-acb9-abf3f3ae7254', 'name': '', 'tenant_id': '60d38dbc09a54917aaba38e8614d4068', 'network_id': 'b2740721-ead5-49fc-8e2a-66a3c8b02232', 'ip_version': 4, 'cidr': '21.20.251.64/26', 'allocation_pools': [{'start': '21.20.251.66', 'end': '21.20.251.126'}], 'gateway_ip': '21.20.251.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.20.251.66', 'tags': [], 'project_id': '60d38dbc09a54917aaba38e8614d4068'}} 2026-01-13 01:41:19,406 - INFO - Created VN ctest-vn-36578825 2026-01-13 01:41:19,461 - DEBUG - VN ctest-vn-36578825 UUID is b2740721-ead5-49fc-8e2a-66a3c8b02232 2026-01-13 01:41:19,583 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-21219478, 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-91314895:ctest-vn-36578825, 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-01-13 01:41:19,876 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16caa6e1-7c53-4458-8aff-41e05e47c58f', 'name': 'ctest-vn-21219478', 'tenant_id': '60d38dbc09a54917aaba38e8614d4068', 'project_id': '60d38dbc09a54917aaba38e8614d4068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b792e87-4525-4dd7-966b-94a9c7a403ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-vn-21219478'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-policy-allow-all-19533209']], 'subnet_ipam': [{'subnet_cidr': '136.105.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-13 01:41:20,113 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2740721-ead5-49fc-8e2a-66a3c8b02232', 'name': 'ctest-vn-36578825', 'tenant_id': '60d38dbc09a54917aaba38e8614d4068', 'project_id': '60d38dbc09a54917aaba38e8614d4068', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b5c72fcb-1e32-467b-acb9-abf3f3ae7254'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-vn-36578825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-policy-allow-all-19533209']], 'subnet_ipam': [{'subnet_cidr': '21.20.251.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-13 01:41:20,277 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-13 01:41:20,625 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-13 01:41:20,659 - DEBUG - Requesting: http://10.0.0.38:8082/domain/00f30a96-fe3f-43ad-8d72-d378c0e7c2a9 2026-01-13 01:41:20,671 - DEBUG - Requesting: http://10.0.0.38:8082/project/60d38dbc-09a5-4917-aaba-38e8614d4068 2026-01-13 01:41:20,745 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16caa6e1-7c53-4458-8aff-41e05e47c58f 2026-01-13 01:41:20,755 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16caa6e1-7c53-4458-8aff-41e05e47c58f 2026-01-13 01:41:20,764 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0cc2124-e793-4030-967c-999741cb2179 2026-01-13 01:41:20,770 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0cc2124-e793-4030-967c-999741cb2179 2026-01-13 01:41:20,776 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6f380e64-de7c-4b06-ae0c-575229ee213a 2026-01-13 01:41:20,783 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-13 01:41:20,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16caa6e1-7c53-4458-8aff-41e05e47c58f 2026-01-13 01:41:20,794 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0cc2124-e793-4030-967c-999741cb2179 2026-01-13 01:41:20,810 - INFO - Verified VN network id 11 for VN 16caa6e1-7c53-4458-8aff-41e05e47c58f 2026-01-13 01:41:20,810 - INFO - Verifications in API Server for VN ctest-vn-21219478 passed 2026-01-13 01:41:20,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16caa6e1-7c53-4458-8aff-41e05e47c58f 2026-01-13 01:41:20,820 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0cc2124-e793-4030-967c-999741cb2179 2026-01-13 01:41:20,827 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0cc2124-e793-4030-967c-999741cb2179 2026-01-13 01:41:20,834 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6f380e64-de7c-4b06-ae0c-575229ee213a 2026-01-13 01:41:20,848 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-21219478', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91314895', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1642308501513651288', 'uuid-lslong': '10015796528205514127'}, 'enable': 'true', 'created': '2026-01-13T01:41:18', 'last-modified': '2026-01-13T01:41:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.000013'} 2026-01-13 01:41:20,854 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-13 01:41:20,854 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21219478 passed 2026-01-13 01:41:20,855 - DEBUG - ====Verifying policy data for ctest-vn-21219478 in API_Server ====== 2026-01-13 01:41:20,855 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-13 01:41:20,860 - DEBUG - Requesting: http://10.0.0.38:8082/domain/00f30a96-fe3f-43ad-8d72-d378c0e7c2a9 2026-01-13 01:41:20,873 - DEBUG - Requesting: http://10.0.0.38:8082/project/60d38dbc-09a5-4917-aaba-38e8614d4068 2026-01-13 01:41:20,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/16caa6e1-7c53-4458-8aff-41e05e47c58f 2026-01-13 01:41:20,954 - DEBUG - ==>Verifying data for policy with id: 4c3ef32b-e447-4f6a-921a-a4c2a74abfe1, fqn: ['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-policy-allow-all-19533209'] 2026-01-13 01:41:20,954 - INFO - VN ctest-vn-21219478 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-13 01:41:20,954 - DEBUG - Verifying the vn in opserver 2026-01-13 01:41:20,954 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-21219478 virtual network link through opserver 10.0.0.38 2026-01-13 01:41:20,954 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-13 01:41:21,294 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-13 01:41:21,359 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-21219478', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-21219478?flat'} 2026-01-13 01:41:21,359 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-21219478 is found in opserver 2026-01-13 01:41:21,370 - DEBUG - Do not have enough data to verify VN in agent 2026-01-13 01:41:21,374 - DEBUG - VRF ids for VN ctest-vn-21219478: {} 2026-01-13 01:41:21,374 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-13 01:41:21,380 - DEBUG - Requesting: http://10.0.0.38:8082/domain/00f30a96-fe3f-43ad-8d72-d378c0e7c2a9 2026-01-13 01:41:21,391 - DEBUG - Requesting: http://10.0.0.38:8082/project/60d38dbc-09a5-4917-aaba-38e8614d4068 2026-01-13 01:41:21,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2740721-ead5-49fc-8e2a-66a3c8b02232 2026-01-13 01:41:21,473 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2740721-ead5-49fc-8e2a-66a3c8b02232 2026-01-13 01:41:21,483 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9139c32b-1001-42eb-93b3-361669a56774 2026-01-13 01:41:21,490 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9139c32b-1001-42eb-93b3-361669a56774 2026-01-13 01:41:21,497 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/882b4b47-fe3e-4b65-80e5-21167e74590a 2026-01-13 01:41:21,504 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-13 01:41:21,504 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2740721-ead5-49fc-8e2a-66a3c8b02232 2026-01-13 01:41:21,512 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9139c32b-1001-42eb-93b3-361669a56774 2026-01-13 01:41:21,526 - INFO - Verified VN network id 12 for VN b2740721-ead5-49fc-8e2a-66a3c8b02232 2026-01-13 01:41:21,526 - INFO - Verifications in API Server for VN ctest-vn-36578825 passed 2026-01-13 01:41:21,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2740721-ead5-49fc-8e2a-66a3c8b02232 2026-01-13 01:41:21,537 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9139c32b-1001-42eb-93b3-361669a56774 2026-01-13 01:41:21,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9139c32b-1001-42eb-93b3-361669a56774 2026-01-13 01:41:21,550 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/882b4b47-fe3e-4b65-80e5-21167e74590a 2026-01-13 01:41:21,561 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-36578825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91314895', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12858910678304770556', 'uuid-lslong': '10244113156040303154'}, 'enable': 'true', 'created': '2026-01-13T01:41:19', 'last-modified': '2026-01-13T01:41:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.478188'} 2026-01-13 01:41:21,569 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-13 01:41:21,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36578825 passed 2026-01-13 01:41:21,569 - DEBUG - ====Verifying policy data for ctest-vn-36578825 in API_Server ====== 2026-01-13 01:41:21,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-13 01:41:21,575 - DEBUG - Requesting: http://10.0.0.38:8082/domain/00f30a96-fe3f-43ad-8d72-d378c0e7c2a9 2026-01-13 01:41:21,586 - DEBUG - Requesting: http://10.0.0.38:8082/project/60d38dbc-09a5-4917-aaba-38e8614d4068 2026-01-13 01:41:21,659 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2740721-ead5-49fc-8e2a-66a3c8b02232 2026-01-13 01:41:21,669 - DEBUG - ==>Verifying data for policy with id: 4c3ef32b-e447-4f6a-921a-a4c2a74abfe1, fqn: ['default-domain', 'ctest-TestBasicPolicy-91314895', 'ctest-policy-allow-all-19533209'] 2026-01-13 01:41:21,669 - INFO - VN ctest-vn-36578825 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-13 01:41:21,669 - DEBUG - Verifying the vn in opserver 2026-01-13 01:41:21,669 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-36578825 virtual network link through opserver 10.0.0.38 2026-01-13 01:41:21,669 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-13 01:41:21,680 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-36578825', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-36578825?flat'} 2026-01-13 01:41:21,680 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-36578825 is found in opserver 2026-01-13 01:41:21,690 - DEBUG - Do not have enough data to verify VN in agent 2026-01-13 01:41:21,694 - DEBUG - VRF ids for VN ctest-vn-36578825: {} 2026-01-13 01:41:21,755 - DEBUG - Services list from nova: [, , ] 2026-01-13 01:41:22,899 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5000-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5000-1) 2026-01-13 01:41:24,186 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5000-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5000-1) 2026-01-13 01:41:24,186 - INFO - Waiting for VM ctest-TestBasicPolicy-91314895-64367003 to be up.. 2026-01-13 01:41:24,281 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-13 01:41:29,359 - DEBUG - VM is in ACTIVE state now 2026-01-13 01:41:29,359 - INFO - VM name : ctest-TestBasicPolicy-91314895-64367003 2026-01-13 01:41:29,429 - DEBUG - VM ctest-TestBasicPolicy-91314895-64367003 ID is 9fe7d2a9-9672-4525-85ad-4316eb7b0cc7 2026-01-13 01:41:29,449 - DEBUG - VM ctest-TestBasicPolicy-91314895-64367003 launched on Node cn-jenkins-deploy-platform-ansible-os-5000-1 2026-01-13 01:41:29,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9fe7d2a9-9672-4525-85ad-4316eb7b0cc7 2026-01-13 01:41:29,553 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/aac1948e-454f-4246-827d-563524f42f75 2026-01-13 01:41:32,811 - 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 1030ms') 2026-01-13 01:41:32,811 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91314895-64367003 failed! 2026-01-13 01:41:32,869 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91314895:ctest-vn-21219478 is 136.105.35.129 and allocation pool is NOT set 2026-01-13 01:41:34,929 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.573 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.573/5.467/10.362/4.894 ms') 2026-01-13 01:41:34,929 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91314895-64367003 passed 2026-01-13 01:41:35,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-13 01:41:35,081 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91314895-64367003, IP 136.105.35.131, Port 22 2026-01-13 01:41:35,247 - DEBUG - VM ctest-TestBasicPolicy-91314895-64367003 is ready for SSH connections 2026-01-13 01:41:35,247 - INFO - Waiting for VM ctest-TestBasicPolicy-91314895-72472312 to be up.. 2026-01-13 01:41:35,336 - DEBUG - VM is in ACTIVE state now 2026-01-13 01:41:35,336 - INFO - VM name : ctest-TestBasicPolicy-91314895-72472312 2026-01-13 01:41:35,416 - DEBUG - VM ctest-TestBasicPolicy-91314895-72472312 ID is 3f481c28-9eac-49b0-a180-3f205a134722 2026-01-13 01:41:35,416 - DEBUG - VM ctest-TestBasicPolicy-91314895-72472312 launched on Node cn-jenkins-deploy-platform-ansible-os-5000-1 2026-01-13 01:41:35,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3f481c28-9eac-49b0-a180-3f205a134722 2026-01-13 01:41:35,501 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/52fc475f-4e52-4f6a-a99c-9425e1c7be08 2026-01-13 01:41:36,730 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.51 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 = 2.506/3.728/4.951/1.222 ms') 2026-01-13 01:41:36,731 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91314895-72472312 passed 2026-01-13 01:41:36,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-13 01:41:36,881 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91314895-72472312, IP 21.20.251.67, Port 22 2026-01-13 01:41:37,037 - DEBUG - VM ctest-TestBasicPolicy-91314895-72472312 is ready for SSH connections 2026-01-13 01:41:37,037 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-13 01:41:37,037 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.20.251.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-13 01:41:37,037 - DEBUG - ping -s 56 -c 3 -W 1 21.20.251.67 2026-01-13 01:41:41,141 - DEBUG - PING 21.20.251.67 (21.20.251.67): 56 data bytes 64 bytes from 21.20.251.67: seq=0 ttl=63 time=4.105 ms 64 bytes from 21.20.251.67: seq=1 ttl=63 time=0.783 ms 64 bytes from 21.20.251.67: seq=2 ttl=63 time=0.920 ms --- 21.20.251.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.936/4.105 ms 2026-01-13 01:41:41,141 - INFO - Ping to IP 21.20.251.67 from VM ctest-TestBasicPolicy-91314895-64367003 passed 2026-01-13 01:41:41,316 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4c3ef32b-e447-4f6a-921a-a4c2a74abfe1", "href": "http://10.0.0.38:8082/network-policy/4c3ef32b-e447-4f6a-921a-a4c2a74abfe1"}} 2026-01-13 01:41:41,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-13 01:41:41,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.20.251.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-13 01:41:41,317 - DEBUG - ping -s 56 -c 3 -W 1 21.20.251.67 2026-01-13 01:41:44,550 - DEBUG - PING 21.20.251.67 (21.20.251.67): 56 data bytes --- 21.20.251.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-13 01:41:44,550 - WARNING - Ping to IP 21.20.251.67 from VM ctest-TestBasicPolicy-91314895-64367003 failed 2026-01-13 01:41:44,550 - INFO - Deleting VM ctest-TestBasicPolicy-91314895-72472312 2026-01-13 01:41:44,623 - INFO - Deleting VM ctest-TestBasicPolicy-91314895-64367003 2026-01-13 01:41:45,021 - INFO - Deleted policy ctest-policy-allow-all-19533209 2026-01-13 01:41:45,021 - INFO - Deleting VN ctest-vn-36578825 2026-01-13 01:41:45,061 - DEBUG - VN b2740721-ead5-49fc-8e2a-66a3c8b02232 still in use: Unable to complete operation on network b2740721-ead5-49fc-8e2a-66a3c8b02232. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fb18d61c-6050-4c72-b512-2cb2472f5f3f'] 2026-01-13 01:41:45,061 - WARNING - Deleting VN ctest-vn-36578825 failed..Will retry 2026-01-13 01:41:47,180 - DEBUG - Response for deleting network () 2026-01-13 01:41:47,180 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9139c32b-1001-42eb-93b3-361669a56774 2026-01-13 01:41:47,187 - DEBUG - Response Code: 404 2026-01-13 01:41:47,187 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-13 01:41:47,193 - DEBUG - Requesting: http://10.0.0.38:8082/domain/00f30a96-fe3f-43ad-8d72-d378c0e7c2a9 2026-01-13 01:41:47,248 - DEBUG - Requesting: http://10.0.0.38:8082/project/60d38dbc-09a5-4917-aaba-38e8614d4068 2026-01-13 01:41:47,321 - INFO - Validated that VN ctest-vn-36578825 is not found in API Server 2026-01-13 01:41:47,334 - DEBUG - VN ctest-vn-36578825 is not present in Agent 10.0.0.38 2026-01-13 01:41:47,334 - INFO - Validated that VN ctest-vn-36578825 is not in any agent 2026-01-13 01:41:47,366 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36578825 info 2026-01-13 01:41:47,366 - INFO - Deleting VN ctest-vn-21219478 2026-01-13 01:41:47,493 - DEBUG - Response for deleting network () 2026-01-13 01:41:47,494 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a0cc2124-e793-4030-967c-999741cb2179 2026-01-13 01:41:47,499 - DEBUG - Response Code: 404 2026-01-13 01:41:47,500 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-13 01:41:47,508 - DEBUG - Requesting: http://10.0.0.38:8082/domain/00f30a96-fe3f-43ad-8d72-d378c0e7c2a9 2026-01-13 01:41:47,562 - DEBUG - Requesting: http://10.0.0.38:8082/project/60d38dbc-09a5-4917-aaba-38e8614d4068 2026-01-13 01:41:47,639 - INFO - Validated that VN ctest-vn-21219478 is not found in API Server 2026-01-13 01:41:47,650 - DEBUG - VN ctest-vn-21219478 is not present in Agent 10.0.0.38 2026-01-13 01:41:47,650 - INFO - Validated that VN ctest-vn-21219478 is not in any agent 2026-01-13 01:41:47,665 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21219478 info 2026-01-13 01:41:47,922 - DEBUG - No XMPP flaps were noticed during the test
2026-01-13 01:41:47,922 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-13 01:41:47,922 - INFO - -------------------------------------------------------------------------------- 2026-01-13 01:41:48,694 - INFO - Deleted project: ctest-TestBasicPolicy-91314895, ID : 60d38dbc-09a5-4917-aaba-38e8614d4068