2026-04-29 19:59:40,915 - INFO - Domain Default found not creating 2026-04-29 19:59:41,093 - INFO - Project ctest-TestBasicPolicy-70359610 not found, creating it 2026-04-29 19:59:41,569 - INFO - Created Project:ctest-TestBasicPolicy-70359610, ID : 6d7b14e3-53be-44c8-87e8-6f9b38b75e71 2026-04-29 19:59:43,074 - INFO - ================================================================================ 2026-04-29 19:59:43,074 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-29 19:59:43,074 - 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-04-29 19:59:43,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-29 19:59:43,342 - INFO - Initial checks done. Running the testcase now 2026-04-29 19:59:43,342 - INFO - 2026-04-29 19:59:43,874 - DEBUG - Response for create_network : {'network': {'id': 'd1fea663-faaa-4a28-8b2c-e8be7d0d8d60', 'name': 'ctest-vn-43876208', 'tenant_id': '6d7b14e353be44c887e86f9b38b75e71', 'project_id': '6d7b14e353be44c887e86f9b38b75e71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-vn-43876208'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:59:44,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '37c194bc-04f7-4798-9a24-61d04edf0bab', 'name': '', 'tenant_id': '6d7b14e353be44c887e86f9b38b75e71', 'network_id': 'd1fea663-faaa-4a28-8b2c-e8be7d0d8d60', 'ip_version': 4, 'cidr': '173.97.139.128/26', 'allocation_pools': [{'start': '173.97.139.130', 'end': '173.97.139.190'}], 'gateway_ip': '173.97.139.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.97.139.130', 'tags': [], 'project_id': '6d7b14e353be44c887e86f9b38b75e71'}} 2026-04-29 19:59:44,062 - INFO - Created VN ctest-vn-43876208 2026-04-29 19:59:44,113 - DEBUG - VN ctest-vn-43876208 UUID is d1fea663-faaa-4a28-8b2c-e8be7d0d8d60 2026-04-29 19:59:44,431 - DEBUG - Response for create_network : {'network': {'id': 'c7897e9e-931c-4e78-be59-303ba2988a16', 'name': 'ctest-vn-60211595', 'tenant_id': '6d7b14e353be44c887e86f9b38b75e71', 'project_id': '6d7b14e353be44c887e86f9b38b75e71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-vn-60211595'], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:59:44,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c00a969-1f77-4d8e-9dca-0c1f2dd6716d', 'name': '', 'tenant_id': '6d7b14e353be44c887e86f9b38b75e71', 'network_id': 'c7897e9e-931c-4e78-be59-303ba2988a16', 'ip_version': 4, 'cidr': '75.76.143.64/26', 'allocation_pools': [{'start': '75.76.143.66', 'end': '75.76.143.126'}], 'gateway_ip': '75.76.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.76.143.66', 'tags': [], 'project_id': '6d7b14e353be44c887e86f9b38b75e71'}} 2026-04-29 19:59:44,616 - INFO - Created VN ctest-vn-60211595 2026-04-29 19:59:44,669 - DEBUG - VN ctest-vn-60211595 UUID is c7897e9e-931c-4e78-be59-303ba2988a16 2026-04-29 19:59:44,781 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-43876208, 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-70359610:ctest-vn-60211595, 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-04-29 19:59:45,074 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1fea663-faaa-4a28-8b2c-e8be7d0d8d60', 'name': 'ctest-vn-43876208', 'tenant_id': '6d7b14e353be44c887e86f9b38b75e71', 'project_id': '6d7b14e353be44c887e86f9b38b75e71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37c194bc-04f7-4798-9a24-61d04edf0bab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-vn-43876208'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-policy-allow-all-28810868']], 'subnet_ipam': [{'subnet_cidr': '173.97.139.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:59:45,294 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7897e9e-931c-4e78-be59-303ba2988a16', 'name': 'ctest-vn-60211595', 'tenant_id': '6d7b14e353be44c887e86f9b38b75e71', 'project_id': '6d7b14e353be44c887e86f9b38b75e71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8c00a969-1f77-4d8e-9dca-0c1f2dd6716d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-vn-60211595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-policy-allow-all-28810868']], 'subnet_ipam': [{'subnet_cidr': '75.76.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-29 19:59:45,461 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 19:59:45,753 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 19:59:45,786 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2dea382-0f33-4c04-a957-c3e354510002 2026-04-29 19:59:45,798 - DEBUG - Requesting: http://10.0.0.50:8082/project/6d7b14e3-53be-44c8-87e8-6f9b38b75e71 2026-04-29 19:59:45,867 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d1fea663-faaa-4a28-8b2c-e8be7d0d8d60 2026-04-29 19:59:45,878 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d1fea663-faaa-4a28-8b2c-e8be7d0d8d60 2026-04-29 19:59:45,886 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b94811c-584d-4ea5-bcda-32a6d44456c5 2026-04-29 19:59:45,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b94811c-584d-4ea5-bcda-32a6d44456c5 2026-04-29 19:59:45,901 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/60d8851b-7d4a-41af-bb18-925199aea06c 2026-04-29 19:59:45,910 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:59:45,910 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d1fea663-faaa-4a28-8b2c-e8be7d0d8d60 2026-04-29 19:59:45,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b94811c-584d-4ea5-bcda-32a6d44456c5 2026-04-29 19:59:45,936 - INFO - Verified VN network id 11 for VN d1fea663-faaa-4a28-8b2c-e8be7d0d8d60 2026-04-29 19:59:45,936 - INFO - Verifications in API Server for VN ctest-vn-43876208 passed 2026-04-29 19:59:45,936 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d1fea663-faaa-4a28-8b2c-e8be7d0d8d60 2026-04-29 19:59:45,947 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b94811c-584d-4ea5-bcda-32a6d44456c5 2026-04-29 19:59:45,958 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b94811c-584d-4ea5-bcda-32a6d44456c5 2026-04-29 19:59:45,973 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/60d8851b-7d4a-41af-bb18-925199aea06c 2026-04-29 19:59:45,987 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-43876208', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70359610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15131714746348882472', 'uuid-lslong': '10028646375086722400'}, 'enable': 'true', 'created': '2026-04-29T19:59:43', 'last-modified': '2026-04-29T19:59:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.937645'} 2026-04-29 19:59:45,993 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-29 19:59:45,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43876208 passed 2026-04-29 19:59:45,993 - DEBUG - ====Verifying policy data for ctest-vn-43876208 in API_Server ====== 2026-04-29 19:59:45,993 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 19:59:45,999 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2dea382-0f33-4c04-a957-c3e354510002 2026-04-29 19:59:46,011 - DEBUG - Requesting: http://10.0.0.50:8082/project/6d7b14e3-53be-44c8-87e8-6f9b38b75e71 2026-04-29 19:59:46,081 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d1fea663-faaa-4a28-8b2c-e8be7d0d8d60 2026-04-29 19:59:46,090 - DEBUG - ==>Verifying data for policy with id: e7d8f677-6437-4cc0-982a-2574f9f50387, fqn: ['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-policy-allow-all-28810868'] 2026-04-29 19:59:46,090 - INFO - VN ctest-vn-43876208 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:59:46,090 - DEBUG - Verifying the vn in opserver 2026-04-29 19:59:46,090 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-43876208 virtual network link through opserver 10.0.0.50 2026-04-29 19:59:46,090 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 19:59:46,391 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 19:59:46,453 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-43876208', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-43876208?flat'} 2026-04-29 19:59:46,453 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-43876208 is found in opserver 2026-04-29 19:59:46,462 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:59:46,466 - DEBUG - VRF ids for VN ctest-vn-43876208: {} 2026-04-29 19:59:46,466 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 19:59:46,471 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2dea382-0f33-4c04-a957-c3e354510002 2026-04-29 19:59:46,481 - DEBUG - Requesting: http://10.0.0.50:8082/project/6d7b14e3-53be-44c8-87e8-6f9b38b75e71 2026-04-29 19:59:46,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c7897e9e-931c-4e78-be59-303ba2988a16 2026-04-29 19:59:46,567 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c7897e9e-931c-4e78-be59-303ba2988a16 2026-04-29 19:59:46,577 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f503bce-8633-49b5-89cc-cc770806afa1 2026-04-29 19:59:46,586 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f503bce-8633-49b5-89cc-cc770806afa1 2026-04-29 19:59:46,597 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0aca3d7a-2b2c-4aef-be80-526436bee63e 2026-04-29 19:59:46,606 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:59:46,606 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c7897e9e-931c-4e78-be59-303ba2988a16 2026-04-29 19:59:46,617 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f503bce-8633-49b5-89cc-cc770806afa1 2026-04-29 19:59:46,636 - INFO - Verified VN network id 12 for VN c7897e9e-931c-4e78-be59-303ba2988a16 2026-04-29 19:59:46,637 - INFO - Verifications in API Server for VN ctest-vn-60211595 passed 2026-04-29 19:59:46,637 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c7897e9e-931c-4e78-be59-303ba2988a16 2026-04-29 19:59:46,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f503bce-8633-49b5-89cc-cc770806afa1 2026-04-29 19:59:46,655 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f503bce-8633-49b5-89cc-cc770806afa1 2026-04-29 19:59:46,662 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0aca3d7a-2b2c-4aef-be80-526436bee63e 2026-04-29 19:59:46,674 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-60211595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70359610', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14378162504895057528', 'uuid-lslong': '13716047172822665750'}, 'enable': 'true', 'created': '2026-04-29T19:59:44', 'last-modified': '2026-04-29T19:59:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.400791'} 2026-04-29 19:59:46,679 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-29 19:59:46,680 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60211595 passed 2026-04-29 19:59:46,680 - DEBUG - ====Verifying policy data for ctest-vn-60211595 in API_Server ====== 2026-04-29 19:59:46,680 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 19:59:46,685 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2dea382-0f33-4c04-a957-c3e354510002 2026-04-29 19:59:46,695 - DEBUG - Requesting: http://10.0.0.50:8082/project/6d7b14e3-53be-44c8-87e8-6f9b38b75e71 2026-04-29 19:59:46,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c7897e9e-931c-4e78-be59-303ba2988a16 2026-04-29 19:59:46,780 - DEBUG - ==>Verifying data for policy with id: e7d8f677-6437-4cc0-982a-2574f9f50387, fqn: ['default-domain', 'ctest-TestBasicPolicy-70359610', 'ctest-policy-allow-all-28810868'] 2026-04-29 19:59:46,780 - INFO - VN ctest-vn-60211595 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-29 19:59:46,780 - DEBUG - Verifying the vn in opserver 2026-04-29 19:59:46,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-60211595 virtual network link through opserver 10.0.0.50 2026-04-29 19:59:46,780 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-29 19:59:46,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-60211595', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-60211595?flat'} 2026-04-29 19:59:46,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-60211595 is found in opserver 2026-04-29 19:59:46,798 - DEBUG - Do not have enough data to verify VN in agent 2026-04-29 19:59:46,803 - DEBUG - VRF ids for VN ctest-vn-60211595: {} 2026-04-29 19:59:46,862 - DEBUG - Services list from nova: [, , ] 2026-04-29 19:59:47,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5716-1) 2026-04-29 19:59:49,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5716-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5716-1) 2026-04-29 19:59:49,023 - INFO - Waiting for VM ctest-TestBasicPolicy-70359610-18558691 to be up.. 2026-04-29 19:59:49,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-29 19:59:54,175 - DEBUG - VM is in ACTIVE state now 2026-04-29 19:59:54,175 - INFO - VM name : ctest-TestBasicPolicy-70359610-18558691 2026-04-29 19:59:54,248 - DEBUG - VM ctest-TestBasicPolicy-70359610-18558691 ID is ef46a459-c783-40b5-835c-7cfb39871bc9 2026-04-29 19:59:54,267 - DEBUG - VM ctest-TestBasicPolicy-70359610-18558691 launched on Node cn-jenkins-deploy-platform-ansible-os-5716-1 2026-04-29 19:59:54,341 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ef46a459-c783-40b5-835c-7cfb39871bc9 2026-04-29 19:59:54,349 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cd6f087d-185e-49aa-be24-06c1599131b2 2026-04-29 19:59:57,587 - 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 1011ms') 2026-04-29 19:59:57,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70359610-18558691 failed! 2026-04-29 19:59:57,645 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70359610:ctest-vn-43876208 is 173.97.139.129 and allocation pool is NOT set 2026-04-29 19:59:59,705 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.806 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.806/4.715/8.624/3.909 ms') 2026-04-29 19:59:59,705 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70359610-18558691 passed 2026-04-29 19:59:59,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 19:59:59,853 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70359610-18558691, IP 173.97.139.131, Port 22 2026-04-29 20:00:00,016 - DEBUG - VM ctest-TestBasicPolicy-70359610-18558691 is ready for SSH connections 2026-04-29 20:00:00,016 - INFO - Waiting for VM ctest-TestBasicPolicy-70359610-75764746 to be up.. 2026-04-29 20:00:00,109 - DEBUG - VM is in ACTIVE state now 2026-04-29 20:00:00,109 - INFO - VM name : ctest-TestBasicPolicy-70359610-75764746 2026-04-29 20:00:00,182 - DEBUG - VM ctest-TestBasicPolicy-70359610-75764746 ID is 7feda1b5-b07d-4e6b-82e4-d93a6237a5b3 2026-04-29 20:00:00,182 - DEBUG - VM ctest-TestBasicPolicy-70359610-75764746 launched on Node cn-jenkins-deploy-platform-ansible-os-5716-1 2026-04-29 20:00:00,267 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7feda1b5-b07d-4e6b-82e4-d93a6237a5b3 2026-04-29 20:00:00,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0d0b588d-637d-4dc1-8bf9-a01fbc66de1d 2026-04-29 20:00:01,518 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.714/2.977/1.263 ms') 2026-04-29 20:00:01,518 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70359610-75764746 passed 2026-04-29 20:00:01,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 20:00:01,669 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70359610-75764746, IP 75.76.143.67, Port 22 2026-04-29 20:00:01,847 - DEBUG - VM ctest-TestBasicPolicy-70359610-75764746 is ready for SSH connections 2026-04-29 20:00:01,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 20:00:01,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.76.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 20:00:01,847 - DEBUG - ping -s 56 -c 3 -W 1 75.76.143.67 2026-04-29 20:00:05,871 - DEBUG - PING 75.76.143.67 (75.76.143.67): 56 data bytes 64 bytes from 75.76.143.67: seq=0 ttl=63 time=3.553 ms 64 bytes from 75.76.143.67: seq=1 ttl=63 time=1.039 ms 64 bytes from 75.76.143.67: seq=2 ttl=63 time=0.960 ms --- 75.76.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/1.850/3.553 ms 2026-04-29 20:00:05,872 - INFO - Ping to IP 75.76.143.67 from VM ctest-TestBasicPolicy-70359610-18558691 passed 2026-04-29 20:00:06,052 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e7d8f677-6437-4cc0-982a-2574f9f50387", "href": "http://10.0.0.50:8082/network-policy/e7d8f677-6437-4cc0-982a-2574f9f50387"}} 2026-04-29 20:00:06,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-29 20:00:06,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.76.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-29 20:00:06,053 - DEBUG - ping -s 56 -c 3 -W 1 75.76.143.67 2026-04-29 20:00:09,262 - DEBUG - PING 75.76.143.67 (75.76.143.67): 56 data bytes --- 75.76.143.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-29 20:00:09,262 - WARNING - Ping to IP 75.76.143.67 from VM ctest-TestBasicPolicy-70359610-18558691 failed 2026-04-29 20:00:09,262 - INFO - Deleting VM ctest-TestBasicPolicy-70359610-75764746 2026-04-29 20:00:09,334 - INFO - Deleting VM ctest-TestBasicPolicy-70359610-18558691 2026-04-29 20:00:09,699 - INFO - Deleted policy ctest-policy-allow-all-28810868 2026-04-29 20:00:09,700 - INFO - Deleting VN ctest-vn-60211595 2026-04-29 20:00:09,736 - DEBUG - VN c7897e9e-931c-4e78-be59-303ba2988a16 still in use: Unable to complete operation on network c7897e9e-931c-4e78-be59-303ba2988a16. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8d2f6f56-4fcc-4e2a-b71b-8f6f2af2d6bd'] 2026-04-29 20:00:09,736 - WARNING - Deleting VN ctest-vn-60211595 failed..Will retry 2026-04-29 20:00:11,838 - DEBUG - Response for deleting network () 2026-04-29 20:00:11,838 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9f503bce-8633-49b5-89cc-cc770806afa1 2026-04-29 20:00:11,843 - DEBUG - Response Code: 404 2026-04-29 20:00:11,843 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 20:00:11,848 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2dea382-0f33-4c04-a957-c3e354510002 2026-04-29 20:00:11,902 - DEBUG - Requesting: http://10.0.0.50:8082/project/6d7b14e3-53be-44c8-87e8-6f9b38b75e71 2026-04-29 20:00:11,969 - INFO - Validated that VN ctest-vn-60211595 is not found in API Server 2026-04-29 20:00:11,978 - DEBUG - VN ctest-vn-60211595 is not present in Agent 10.0.0.50 2026-04-29 20:00:11,978 - INFO - Validated that VN ctest-vn-60211595 is not in any agent 2026-04-29 20:00:11,991 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60211595 info 2026-04-29 20:00:11,992 - INFO - Deleting VN ctest-vn-43876208 2026-04-29 20:00:12,095 - DEBUG - Response for deleting network () 2026-04-29 20:00:12,095 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8b94811c-584d-4ea5-bcda-32a6d44456c5 2026-04-29 20:00:12,100 - DEBUG - Response Code: 404 2026-04-29 20:00:12,100 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-29 20:00:12,105 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f2dea382-0f33-4c04-a957-c3e354510002 2026-04-29 20:00:12,158 - DEBUG - Requesting: http://10.0.0.50:8082/project/6d7b14e3-53be-44c8-87e8-6f9b38b75e71 2026-04-29 20:00:12,225 - INFO - Validated that VN ctest-vn-43876208 is not found in API Server 2026-04-29 20:00:12,235 - DEBUG - VN ctest-vn-43876208 is not present in Agent 10.0.0.50 2026-04-29 20:00:12,235 - INFO - Validated that VN ctest-vn-43876208 is not in any agent 2026-04-29 20:00:12,249 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43876208 info 2026-04-29 20:00:12,501 - DEBUG - No XMPP flaps were noticed during the test
2026-04-29 20:00:12,502 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-29 20:00:12,502 - INFO - -------------------------------------------------------------------------------- 2026-04-29 20:00:13,185 - INFO - Deleted project: ctest-TestBasicPolicy-70359610, ID : 6d7b14e3-53be-44c8-87e8-6f9b38b75e71