2026-01-29 02:09:05,223 - INFO - Domain Default found not creating 2026-01-29 02:09:05,385 - INFO - Project ctest-TestBasicPolicy-80813429 not found, creating it 2026-01-29 02:09:05,847 - INFO - Created Project:ctest-TestBasicPolicy-80813429, ID : 966cd29a-ecba-4d56-85fe-5e6d6b6e804a 2026-01-29 02:09:07,341 - INFO - ================================================================================ 2026-01-29 02:09:07,341 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-29 02:09:07,341 - 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-29 02:09:07,599 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.209': '0'}} with 2026-01-29 02:09:07,599 - INFO - Initial checks done. Running the testcase now 2026-01-29 02:09:07,600 - INFO - 2026-01-29 02:09:08,143 - DEBUG - Response for create_network : {'network': {'id': '3e2c25c7-71b8-4d0c-9892-d0106f3c5146', 'name': 'ctest-vn-41880052', 'tenant_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'project_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-vn-41880052'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:09:08,379 - DEBUG - Response for create_subnet : {'subnet': {'id': '64fd7942-3c06-44fb-9b66-45034a54059b', 'name': '', 'tenant_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'network_id': '3e2c25c7-71b8-4d0c-9892-d0106f3c5146', 'ip_version': 4, 'cidr': '5.204.214.64/26', 'allocation_pools': [{'start': '5.204.214.66', 'end': '5.204.214.126'}], 'gateway_ip': '5.204.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.204.214.66', 'tags': [], 'project_id': '966cd29aecba4d5685fe5e6d6b6e804a'}} 2026-01-29 02:09:08,398 - INFO - Created VN ctest-vn-41880052 2026-01-29 02:09:08,453 - DEBUG - VN ctest-vn-41880052 UUID is 3e2c25c7-71b8-4d0c-9892-d0106f3c5146 2026-01-29 02:09:08,802 - DEBUG - Response for create_network : {'network': {'id': 'd3ce834e-e946-485c-b7b6-29ab0e70723a', 'name': 'ctest-vn-54934955', 'tenant_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'project_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-vn-54934955'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:09:09,021 - DEBUG - Response for create_subnet : {'subnet': {'id': '46ee5bf0-8f99-4ad0-a672-f0e8beb99ea7', 'name': '', 'tenant_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'network_id': 'd3ce834e-e946-485c-b7b6-29ab0e70723a', 'ip_version': 4, 'cidr': '165.187.135.128/26', 'allocation_pools': [{'start': '165.187.135.130', 'end': '165.187.135.190'}], 'gateway_ip': '165.187.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.187.135.130', 'tags': [], 'project_id': '966cd29aecba4d5685fe5e6d6b6e804a'}} 2026-01-29 02:09:09,040 - INFO - Created VN ctest-vn-54934955 2026-01-29 02:09:09,097 - DEBUG - VN ctest-vn-54934955 UUID is d3ce834e-e946-485c-b7b6-29ab0e70723a 2026-01-29 02:09:09,214 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-41880052, 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-80813429:ctest-vn-54934955, 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-29 02:09:09,511 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3e2c25c7-71b8-4d0c-9892-d0106f3c5146', 'name': 'ctest-vn-41880052', 'tenant_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'project_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64fd7942-3c06-44fb-9b66-45034a54059b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-vn-41880052'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-policy-allow-all-12914219']], 'subnet_ipam': [{'subnet_cidr': '5.204.214.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:09:09,736 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3ce834e-e946-485c-b7b6-29ab0e70723a', 'name': 'ctest-vn-54934955', 'tenant_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'project_id': '966cd29aecba4d5685fe5e6d6b6e804a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['46ee5bf0-8f99-4ad0-a672-f0e8beb99ea7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-vn-54934955'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-policy-allow-all-12914219']], 'subnet_ipam': [{'subnet_cidr': '165.187.135.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-29 02:09:09,913 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 02:09:10,208 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 02:09:10,242 - DEBUG - Requesting: http://10.0.0.249:8082/domain/96b9b11b-6b5f-4546-8641-d07f66c9bafa 2026-01-29 02:09:10,255 - DEBUG - Requesting: http://10.0.0.249:8082/project/966cd29a-ecba-4d56-85fe-5e6d6b6e804a 2026-01-29 02:09:10,336 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3e2c25c7-71b8-4d0c-9892-d0106f3c5146 2026-01-29 02:09:10,346 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3e2c25c7-71b8-4d0c-9892-d0106f3c5146 2026-01-29 02:09:10,355 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2c81f51f-50dc-4266-a8f8-32398ab2d829 2026-01-29 02:09:10,361 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2c81f51f-50dc-4266-a8f8-32398ab2d829 2026-01-29 02:09:10,368 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/79b837d9-fc57-4cb8-8ec8-683db875c43e 2026-01-29 02:09:10,374 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:09:10,374 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3e2c25c7-71b8-4d0c-9892-d0106f3c5146 2026-01-29 02:09:10,383 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2c81f51f-50dc-4266-a8f8-32398ab2d829 2026-01-29 02:09:10,398 - INFO - Verified VN network id 11 for VN 3e2c25c7-71b8-4d0c-9892-d0106f3c5146 2026-01-29 02:09:10,398 - INFO - Verifications in API Server for VN ctest-vn-41880052 passed 2026-01-29 02:09:10,398 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3e2c25c7-71b8-4d0c-9892-d0106f3c5146 2026-01-29 02:09:10,408 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2c81f51f-50dc-4266-a8f8-32398ab2d829 2026-01-29 02:09:10,416 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2c81f51f-50dc-4266-a8f8-32398ab2d829 2026-01-29 02:09:10,423 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/79b837d9-fc57-4cb8-8ec8-683db875c43e 2026-01-29 02:09:10,436 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-41880052', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80813429', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4479997267863424268', 'uuid-lslong': '10994078409369080134'}, 'enable': 'true', 'created': '2026-01-29T02:09:08', 'last-modified': '2026-01-29T02:09:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953058'} 2026-01-29 02:09:10,442 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-29 02:09:10,442 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41880052 passed 2026-01-29 02:09:10,442 - DEBUG - ====Verifying policy data for ctest-vn-41880052 in API_Server ====== 2026-01-29 02:09:10,442 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 02:09:10,448 - DEBUG - Requesting: http://10.0.0.249:8082/domain/96b9b11b-6b5f-4546-8641-d07f66c9bafa 2026-01-29 02:09:10,460 - DEBUG - Requesting: http://10.0.0.249:8082/project/966cd29a-ecba-4d56-85fe-5e6d6b6e804a 2026-01-29 02:09:10,534 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/3e2c25c7-71b8-4d0c-9892-d0106f3c5146 2026-01-29 02:09:10,542 - DEBUG - ==>Verifying data for policy with id: 0cfaf85b-4589-45f0-a3d2-f6661858c73c, fqn: ['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-policy-allow-all-12914219'] 2026-01-29 02:09:10,542 - INFO - VN ctest-vn-41880052 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 02:09:10,542 - DEBUG - Verifying the vn in opserver 2026-01-29 02:09:10,542 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-41880052 virtual network link through opserver 10.0.0.249 2026-01-29 02:09:10,543 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-29 02:09:10,851 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-29 02:09:10,934 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-41880052', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-41880052?flat'} 2026-01-29 02:09:10,934 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-41880052 is found in opserver 2026-01-29 02:09:10,943 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 02:09:10,947 - DEBUG - VRF ids for VN ctest-vn-41880052: {} 2026-01-29 02:09:10,947 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 02:09:10,952 - DEBUG - Requesting: http://10.0.0.249:8082/domain/96b9b11b-6b5f-4546-8641-d07f66c9bafa 2026-01-29 02:09:10,964 - DEBUG - Requesting: http://10.0.0.249:8082/project/966cd29a-ecba-4d56-85fe-5e6d6b6e804a 2026-01-29 02:09:11,041 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d3ce834e-e946-485c-b7b6-29ab0e70723a 2026-01-29 02:09:11,054 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d3ce834e-e946-485c-b7b6-29ab0e70723a 2026-01-29 02:09:11,064 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/946f9317-3654-4f7a-8000-0101fc45063b 2026-01-29 02:09:11,071 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/946f9317-3654-4f7a-8000-0101fc45063b 2026-01-29 02:09:11,078 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a94bb19b-6109-4039-b225-660d7d859ca5 2026-01-29 02:09:11,084 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:09:11,084 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d3ce834e-e946-485c-b7b6-29ab0e70723a 2026-01-29 02:09:11,094 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/946f9317-3654-4f7a-8000-0101fc45063b 2026-01-29 02:09:11,110 - INFO - Verified VN network id 12 for VN d3ce834e-e946-485c-b7b6-29ab0e70723a 2026-01-29 02:09:11,110 - INFO - Verifications in API Server for VN ctest-vn-54934955 passed 2026-01-29 02:09:11,110 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d3ce834e-e946-485c-b7b6-29ab0e70723a 2026-01-29 02:09:11,120 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/946f9317-3654-4f7a-8000-0101fc45063b 2026-01-29 02:09:11,129 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/946f9317-3654-4f7a-8000-0101fc45063b 2026-01-29 02:09:11,137 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/a94bb19b-6109-4039-b225-660d7d859ca5 2026-01-29 02:09:11,149 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-54934955', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80813429', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15262280562149574748', 'uuid-lslong': '13237813969360548410'}, 'enable': 'true', 'created': '2026-01-29T02:09:08', 'last-modified': '2026-01-29T02:09:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433932'} 2026-01-29 02:09:11,155 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-29 02:09:11,155 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54934955 passed 2026-01-29 02:09:11,155 - DEBUG - ====Verifying policy data for ctest-vn-54934955 in API_Server ====== 2026-01-29 02:09:11,155 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 02:09:11,162 - DEBUG - Requesting: http://10.0.0.249:8082/domain/96b9b11b-6b5f-4546-8641-d07f66c9bafa 2026-01-29 02:09:11,174 - DEBUG - Requesting: http://10.0.0.249:8082/project/966cd29a-ecba-4d56-85fe-5e6d6b6e804a 2026-01-29 02:09:11,246 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/d3ce834e-e946-485c-b7b6-29ab0e70723a 2026-01-29 02:09:11,256 - DEBUG - ==>Verifying data for policy with id: 0cfaf85b-4589-45f0-a3d2-f6661858c73c, fqn: ['default-domain', 'ctest-TestBasicPolicy-80813429', 'ctest-policy-allow-all-12914219'] 2026-01-29 02:09:11,256 - INFO - VN ctest-vn-54934955 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-29 02:09:11,256 - DEBUG - Verifying the vn in opserver 2026-01-29 02:09:11,256 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-54934955 virtual network link through opserver 10.0.0.249 2026-01-29 02:09:11,256 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-29 02:09:11,265 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-54934955', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-54934955?flat'} 2026-01-29 02:09:11,265 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-54934955 is found in opserver 2026-01-29 02:09:11,275 - DEBUG - Do not have enough data to verify VN in agent 2026-01-29 02:09:11,280 - DEBUG - VRF ids for VN ctest-vn-54934955: {} 2026-01-29 02:09:11,337 - DEBUG - Services list from nova: [, , ] 2026-01-29 02:09:12,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5114-1) 2026-01-29 02:09:13,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5114-1) 2026-01-29 02:09:13,529 - INFO - Waiting for VM ctest-TestBasicPolicy-80813429-26909089 to be up.. 2026-01-29 02:09:13,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 02:09:18,695 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:09:18,695 - INFO - VM name : ctest-TestBasicPolicy-80813429-26909089 2026-01-29 02:09:18,772 - DEBUG - VM ctest-TestBasicPolicy-80813429-26909089 ID is eee14b18-1ac7-46af-a2ec-656b9fadbb79 2026-01-29 02:09:18,792 - DEBUG - VM ctest-TestBasicPolicy-80813429-26909089 launched on Node cn-jenkins-deploy-platform-ansible-os-5114-1 2026-01-29 02:09:18,868 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/eee14b18-1ac7-46af-a2ec-656b9fadbb79 2026-01-29 02:09:18,876 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a05c1196-8e8d-49d8-85a6-f9f4b68b283c 2026-01-29 02:09:22,142 - 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 1026ms') 2026-01-29 02:09:22,142 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80813429-26909089 failed! 2026-01-29 02:09:22,197 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80813429:ctest-vn-41880052 is 5.204.214.65 and allocation pool is NOT set 2026-01-29 02:09:24,260 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.487 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 = 0.487/6.528/12.570/6.041 ms') 2026-01-29 02:09:24,260 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80813429-26909089 passed 2026-01-29 02:09:24,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:09:24,409 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80813429-26909089, IP 5.204.214.67, Port 22 2026-01-29 02:09:24,565 - DEBUG - VM ctest-TestBasicPolicy-80813429-26909089 is ready for SSH connections 2026-01-29 02:09:24,565 - INFO - Waiting for VM ctest-TestBasicPolicy-80813429-83960512 to be up.. 2026-01-29 02:09:24,641 - DEBUG - VM is in ACTIVE state now 2026-01-29 02:09:24,641 - INFO - VM name : ctest-TestBasicPolicy-80813429-83960512 2026-01-29 02:09:24,724 - DEBUG - VM ctest-TestBasicPolicy-80813429-83960512 ID is fb17505e-aed3-426e-9f1d-2640ec4d7e0f 2026-01-29 02:09:24,724 - DEBUG - VM ctest-TestBasicPolicy-80813429-83960512 launched on Node cn-jenkins-deploy-platform-ansible-os-5114-1 2026-01-29 02:09:24,801 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fb17505e-aed3-426e-9f1d-2640ec4d7e0f 2026-01-29 02:09:24,810 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/421b4f76-eec9-46c9-94d4-56d154954796 2026-01-29 02:09:26,052 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.457/1.723/2.989/1.266 ms') 2026-01-29 02:09:26,052 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80813429-83960512 passed 2026-01-29 02:09:26,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:09:26,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80813429-83960512, IP 165.187.135.131, Port 22 2026-01-29 02:09:26,352 - DEBUG - VM ctest-TestBasicPolicy-80813429-83960512 is ready for SSH connections 2026-01-29 02:09:26,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:09:26,353 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.187.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-29 02:09:26,353 - DEBUG - ping -s 56 -c 3 -W 1 165.187.135.131 2026-01-29 02:09:30,389 - DEBUG - PING 165.187.135.131 (165.187.135.131): 56 data bytes 64 bytes from 165.187.135.131: seq=0 ttl=63 time=3.587 ms 64 bytes from 165.187.135.131: seq=1 ttl=63 time=0.812 ms 64 bytes from 165.187.135.131: seq=2 ttl=63 time=0.805 ms --- 165.187.135.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.734/3.587 ms 2026-01-29 02:09:30,389 - INFO - Ping to IP 165.187.135.131 from VM ctest-TestBasicPolicy-80813429-26909089 passed 2026-01-29 02:09:30,569 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0cfaf85b-4589-45f0-a3d2-f6661858c73c", "href": "http://10.0.0.249:8082/network-policy/0cfaf85b-4589-45f0-a3d2-f6661858c73c"}} 2026-01-29 02:09:30,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 02:09:30,569 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.187.135.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-29 02:09:30,569 - DEBUG - ping -s 56 -c 3 -W 1 165.187.135.131 2026-01-29 02:09:33,808 - DEBUG - PING 165.187.135.131 (165.187.135.131): 56 data bytes --- 165.187.135.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-29 02:09:33,809 - WARNING - Ping to IP 165.187.135.131 from VM ctest-TestBasicPolicy-80813429-26909089 failed 2026-01-29 02:09:33,809 - INFO - Deleting VM ctest-TestBasicPolicy-80813429-83960512 2026-01-29 02:09:33,972 - INFO - Deleting VM ctest-TestBasicPolicy-80813429-26909089 2026-01-29 02:09:34,365 - INFO - Deleted policy ctest-policy-allow-all-12914219 2026-01-29 02:09:34,365 - INFO - Deleting VN ctest-vn-54934955 2026-01-29 02:09:34,397 - DEBUG - VN d3ce834e-e946-485c-b7b6-29ab0e70723a still in use: Unable to complete operation on network d3ce834e-e946-485c-b7b6-29ab0e70723a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9eb12760-0be4-45c2-90d6-275f232eac33'] 2026-01-29 02:09:34,397 - WARNING - Deleting VN ctest-vn-54934955 failed..Will retry 2026-01-29 02:09:36,499 - DEBUG - Response for deleting network () 2026-01-29 02:09:36,499 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/946f9317-3654-4f7a-8000-0101fc45063b 2026-01-29 02:09:36,505 - DEBUG - Response Code: 404 2026-01-29 02:09:36,505 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 02:09:36,511 - DEBUG - Requesting: http://10.0.0.249:8082/domain/96b9b11b-6b5f-4546-8641-d07f66c9bafa 2026-01-29 02:09:36,570 - DEBUG - Requesting: http://10.0.0.249:8082/project/966cd29a-ecba-4d56-85fe-5e6d6b6e804a 2026-01-29 02:09:36,684 - INFO - Validated that VN ctest-vn-54934955 is not found in API Server 2026-01-29 02:09:36,693 - DEBUG - VN ctest-vn-54934955 is not present in Agent 10.0.0.249 2026-01-29 02:09:36,693 - INFO - Validated that VN ctest-vn-54934955 is not in any agent 2026-01-29 02:09:36,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54934955 info 2026-01-29 02:09:36,708 - INFO - Deleting VN ctest-vn-41880052 2026-01-29 02:09:36,898 - DEBUG - Response for deleting network () 2026-01-29 02:09:36,898 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2c81f51f-50dc-4266-a8f8-32398ab2d829 2026-01-29 02:09:36,906 - DEBUG - Response Code: 404 2026-01-29 02:09:36,906 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-29 02:09:36,917 - DEBUG - Requesting: http://10.0.0.249:8082/domain/96b9b11b-6b5f-4546-8641-d07f66c9bafa 2026-01-29 02:09:36,970 - DEBUG - Requesting: http://10.0.0.249:8082/project/966cd29a-ecba-4d56-85fe-5e6d6b6e804a 2026-01-29 02:09:37,065 - INFO - Validated that VN ctest-vn-41880052 is not found in API Server 2026-01-29 02:09:37,084 - DEBUG - VN ctest-vn-41880052 is not present in Agent 10.0.0.249 2026-01-29 02:09:37,084 - INFO - Validated that VN ctest-vn-41880052 is not in any agent 2026-01-29 02:09:37,106 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41880052 info 2026-01-29 02:09:37,374 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 02:09:37,374 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-01-29 02:09:37,374 - INFO - -------------------------------------------------------------------------------- 2026-01-29 02:09:38,061 - INFO - Deleted project: ctest-TestBasicPolicy-80813429, ID : 966cd29a-ecba-4d56-85fe-5e6d6b6e804a