2026-01-12 02:03:50,599 - INFO - Domain Default found not creating 2026-01-12 02:03:50,749 - INFO - Project ctest-TestBasicPolicy-63205754 not found, creating it 2026-01-12 02:03:51,177 - INFO - Created Project:ctest-TestBasicPolicy-63205754, ID : 6785e418-cd53-45c9-b8f4-2faa091f2624 2026-01-12 02:03:52,594 - INFO - ================================================================================ 2026-01-12 02:03:52,594 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-12 02:03:52,594 - 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-12 02:03:52,852 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2026-01-12 02:03:52,852 - INFO - Initial checks done. Running the testcase now 2026-01-12 02:03:52,852 - INFO - 2026-01-12 02:03:53,390 - DEBUG - Response for create_network : {'network': {'id': '13d16b7b-f593-4b82-ac28-89ea736c8d64', 'name': 'ctest-vn-31728736', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-31728736'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:03:53,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca6c802b-8a76-4765-b7a9-2c89f9655cb7', 'name': '', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'network_id': '13d16b7b-f593-4b82-ac28-89ea736c8d64', 'ip_version': 4, 'cidr': '205.116.162.192/26', 'allocation_pools': [{'start': '205.116.162.194', 'end': '205.116.162.254'}], 'gateway_ip': '205.116.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.116.162.194', 'tags': [], 'project_id': '6785e418cd5345c9b8f42faa091f2624'}} 2026-01-12 02:03:53,585 - INFO - Created VN ctest-vn-31728736 2026-01-12 02:03:53,635 - DEBUG - VN ctest-vn-31728736 UUID is 13d16b7b-f593-4b82-ac28-89ea736c8d64 2026-01-12 02:03:53,963 - DEBUG - Response for create_network : {'network': {'id': '57ef5bc5-5cf4-457a-8d5f-306e4aa5f189', 'name': 'ctest-vn-08858607', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-08858607'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:03:54,166 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a9023e8-e545-4f89-b093-c823586a5a7d', 'name': '', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'network_id': '57ef5bc5-5cf4-457a-8d5f-306e4aa5f189', 'ip_version': 4, 'cidr': '198.15.121.128/26', 'allocation_pools': [{'start': '198.15.121.130', 'end': '198.15.121.190'}], 'gateway_ip': '198.15.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.15.121.130', 'tags': [], 'project_id': '6785e418cd5345c9b8f42faa091f2624'}} 2026-01-12 02:03:54,184 - INFO - Created VN ctest-vn-08858607 2026-01-12 02:03:54,235 - DEBUG - VN ctest-vn-08858607 UUID is 57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 2026-01-12 02:03:54,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736, 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-63205754:ctest-vn-08858607, 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-12 02:03:54,681 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13d16b7b-f593-4b82-ac28-89ea736c8d64', 'name': 'ctest-vn-31728736', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca6c802b-8a76-4765-b7a9-2c89f9655cb7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-31728736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504']], 'subnet_ipam': [{'subnet_cidr': '205.116.162.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:03:54,912 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57ef5bc5-5cf4-457a-8d5f-306e4aa5f189', 'name': 'ctest-vn-08858607', 'tenant_id': '6785e418cd5345c9b8f42faa091f2624', 'project_id': '6785e418cd5345c9b8f42faa091f2624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a9023e8-e545-4f89-b093-c823586a5a7d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-vn-08858607'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504']], 'subnet_ipam': [{'subnet_cidr': '198.15.121.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 02:03:55,083 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-12 02:03:55,383 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-12 02:03:55,409 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955 2026-01-12 02:03:55,419 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624 2026-01-12 02:03:55,489 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64 2026-01-12 02:03:55,499 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64 2026-01-12 02:03:55,507 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda 2026-01-12 02:03:55,515 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda 2026-01-12 02:03:55,522 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3f86bb43-e88c-43a1-9472-326053be2f18 2026-01-12 02:03:55,528 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 02:03:55,528 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64 2026-01-12 02:03:55,536 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda 2026-01-12 02:03:55,548 - INFO - Verified VN network id 11 for VN 13d16b7b-f593-4b82-ac28-89ea736c8d64 2026-01-12 02:03:55,548 - INFO - Verifications in API Server for VN ctest-vn-31728736 passed 2026-01-12 02:03:55,548 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64 2026-01-12 02:03:55,557 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda 2026-01-12 02:03:55,562 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda 2026-01-12 02:03:55,568 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/3f86bb43-e88c-43a1-9472-326053be2f18 2026-01-12 02:03:55,578 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63205754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1428040736998378370', 'uuid-lslong': '12405316813643877732'}, 'enable': 'true', 'created': '2026-01-12T02:03:53', 'last-modified': '2026-01-12T02:03:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922802'} 2026-01-12 02:03:55,584 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 02:03:55,584 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31728736 passed 2026-01-12 02:03:55,584 - DEBUG - ====Verifying policy data for ctest-vn-31728736 in API_Server ====== 2026-01-12 02:03:55,584 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-12 02:03:55,589 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955 2026-01-12 02:03:55,598 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624 2026-01-12 02:03:55,666 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/13d16b7b-f593-4b82-ac28-89ea736c8d64 2026-01-12 02:03:55,674 - DEBUG - ==>Verifying data for policy with id: c524ce93-81f0-4ee2-a38e-d1082b1855a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504'] 2026-01-12 02:03:55,674 - INFO - VN ctest-vn-31728736 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 02:03:55,674 - DEBUG - Verifying the vn in opserver 2026-01-12 02:03:55,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736 virtual network link through opserver 10.0.0.249 2026-01-12 02:03:55,674 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-12 02:03:55,977 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-12 02:03:56,033 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736?flat'} 2026-01-12 02:03:56,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736 is found in opserver 2026-01-12 02:03:56,041 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 02:03:56,045 - DEBUG - VRF ids for VN ctest-vn-31728736: {} 2026-01-12 02:03:56,045 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-12 02:03:56,049 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955 2026-01-12 02:03:56,058 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624 2026-01-12 02:03:56,123 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 2026-01-12 02:03:56,133 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 2026-01-12 02:03:56,141 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7 2026-01-12 02:03:56,147 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7 2026-01-12 02:03:56,152 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9d33826a-9311-4adb-935e-a1aa539845f3 2026-01-12 02:03:56,157 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 02:03:56,157 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 2026-01-12 02:03:56,164 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7 2026-01-12 02:03:56,175 - INFO - Verified VN network id 12 for VN 57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 2026-01-12 02:03:56,175 - INFO - Verifications in API Server for VN ctest-vn-08858607 passed 2026-01-12 02:03:56,176 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 2026-01-12 02:03:56,182 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7 2026-01-12 02:03:56,188 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7 2026-01-12 02:03:56,193 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/9d33826a-9311-4adb-935e-a1aa539845f3 2026-01-12 02:03:56,203 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63205754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6336384103959774586', 'uuid-lslong': '10186914132392276361'}, 'enable': 'true', 'created': '2026-01-12T02:03:53', 'last-modified': '2026-01-12T02:03:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.314121'} 2026-01-12 02:03:56,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 02:03:56,209 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08858607 passed 2026-01-12 02:03:56,210 - DEBUG - ====Verifying policy data for ctest-vn-08858607 in API_Server ====== 2026-01-12 02:03:56,210 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-12 02:03:56,215 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955 2026-01-12 02:03:56,225 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624 2026-01-12 02:03:56,291 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 2026-01-12 02:03:56,300 - DEBUG - ==>Verifying data for policy with id: c524ce93-81f0-4ee2-a38e-d1082b1855a9, fqn: ['default-domain', 'ctest-TestBasicPolicy-63205754', 'ctest-policy-allow-all-63219504'] 2026-01-12 02:03:56,300 - INFO - VN ctest-vn-08858607 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 02:03:56,300 - DEBUG - Verifying the vn in opserver 2026-01-12 02:03:56,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607 virtual network link through opserver 10.0.0.249 2026-01-12 02:03:56,300 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-01-12 02:03:56,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607?flat'} 2026-01-12 02:03:56,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-08858607 is found in opserver 2026-01-12 02:03:56,318 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 02:03:56,322 - DEBUG - VRF ids for VN ctest-vn-08858607: {} 2026-01-12 02:03:56,373 - DEBUG - Services list from nova: [, , ] 2026-01-12 02:03:57,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4990-1) 2026-01-12 02:03:58,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4990-1) 2026-01-12 02:03:58,415 - INFO - Waiting for VM ctest-TestBasicPolicy-63205754-42964674 to be up.. 2026-01-12 02:03:58,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 02:04:03,574 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:04:03,574 - INFO - VM name : ctest-TestBasicPolicy-63205754-42964674 2026-01-12 02:04:03,642 - DEBUG - VM ctest-TestBasicPolicy-63205754-42964674 ID is 642322f8-6407-4943-bfa6-dad805f8def2 2026-01-12 02:04:03,660 - DEBUG - VM ctest-TestBasicPolicy-63205754-42964674 launched on Node cn-jenkins-deploy-platform-ansible-os-4990-1 2026-01-12 02:04:03,726 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/642322f8-6407-4943-bfa6-dad805f8def2 2026-01-12 02:04:03,732 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/188064f0-584d-47c8-97b0-35434b85ab76 2026-01-12 02:04:06,993 - 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 1032ms') 2026-01-12 02:04:06,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63205754-42964674 failed! 2026-01-12 02:04:07,047 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63205754:ctest-vn-31728736 is 205.116.162.193 and allocation pool is NOT set 2026-01-12 02:04:09,103 - 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=3.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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.024/2.452/3.881/1.428 ms') 2026-01-12 02:04:09,103 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63205754-42964674 passed 2026-01-12 02:04:09,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:04:09,251 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63205754-42964674, IP 205.116.162.195, Port 22 2026-01-12 02:04:09,406 - DEBUG - VM ctest-TestBasicPolicy-63205754-42964674 is ready for SSH connections 2026-01-12 02:04:09,407 - INFO - Waiting for VM ctest-TestBasicPolicy-63205754-51934836 to be up.. 2026-01-12 02:04:09,473 - DEBUG - VM is in ACTIVE state now 2026-01-12 02:04:09,473 - INFO - VM name : ctest-TestBasicPolicy-63205754-51934836 2026-01-12 02:04:09,540 - DEBUG - VM ctest-TestBasicPolicy-63205754-51934836 ID is ba669234-3584-4eba-8ce5-f577b9f33c2c 2026-01-12 02:04:09,540 - DEBUG - VM ctest-TestBasicPolicy-63205754-51934836 launched on Node cn-jenkins-deploy-platform-ansible-os-4990-1 2026-01-12 02:04:09,609 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ba669234-3584-4eba-8ce5-f577b9f33c2c 2026-01-12 02:04:09,620 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ffe62b6f-28d7-4e21-9e17-64cf1808e951 2026-01-12 02:04:10,853 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.544/2.657/1.113 ms') 2026-01-12 02:04:10,853 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63205754-51934836 passed 2026-01-12 02:04:11,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:04:11,003 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63205754-51934836, IP 198.15.121.131, Port 22 2026-01-12 02:04:11,158 - DEBUG - VM ctest-TestBasicPolicy-63205754-51934836 is ready for SSH connections 2026-01-12 02:04:11,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:04:11,159 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.15.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-12 02:04:11,159 - DEBUG - ping -s 56 -c 3 -W 1 198.15.121.131 2026-01-12 02:04:15,149 - DEBUG - PING 198.15.121.131 (198.15.121.131): 56 data bytes 64 bytes from 198.15.121.131: seq=0 ttl=63 time=3.177 ms 64 bytes from 198.15.121.131: seq=1 ttl=63 time=0.840 ms 64 bytes from 198.15.121.131: seq=2 ttl=63 time=0.938 ms --- 198.15.121.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.840/1.651/3.177 ms 2026-01-12 02:04:15,149 - INFO - Ping to IP 198.15.121.131 from VM ctest-TestBasicPolicy-63205754-42964674 passed 2026-01-12 02:04:15,319 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c524ce93-81f0-4ee2-a38e-d1082b1855a9", "href": "http://10.0.0.249:8082/network-policy/c524ce93-81f0-4ee2-a38e-d1082b1855a9"}} 2026-01-12 02:04:15,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 02:04:15,319 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.15.121.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-01-12 02:04:15,319 - DEBUG - ping -s 56 -c 3 -W 1 198.15.121.131 2026-01-12 02:04:18,543 - DEBUG - PING 198.15.121.131 (198.15.121.131): 56 data bytes --- 198.15.121.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-12 02:04:18,543 - WARNING - Ping to IP 198.15.121.131 from VM ctest-TestBasicPolicy-63205754-42964674 failed 2026-01-12 02:04:18,543 - INFO - Deleting VM ctest-TestBasicPolicy-63205754-51934836 2026-01-12 02:04:18,607 - INFO - Deleting VM ctest-TestBasicPolicy-63205754-42964674 2026-01-12 02:04:18,967 - INFO - Deleted policy ctest-policy-allow-all-63219504 2026-01-12 02:04:18,967 - INFO - Deleting VN ctest-vn-08858607 2026-01-12 02:04:19,005 - DEBUG - VN 57ef5bc5-5cf4-457a-8d5f-306e4aa5f189 still in use: Unable to complete operation on network 57ef5bc5-5cf4-457a-8d5f-306e4aa5f189. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-70f9ee15-e494-424f-92d4-9c3773c09dc4'] 2026-01-12 02:04:19,005 - WARNING - Deleting VN ctest-vn-08858607 failed..Will retry 2026-01-12 02:04:21,090 - DEBUG - Response for deleting network () 2026-01-12 02:04:21,090 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/dc9c0661-231f-47b3-b3cf-2d4af56ffdc7 2026-01-12 02:04:21,094 - DEBUG - Response Code: 404 2026-01-12 02:04:21,094 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-12 02:04:21,100 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955 2026-01-12 02:04:21,151 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624 2026-01-12 02:04:21,219 - INFO - Validated that VN ctest-vn-08858607 is not found in API Server 2026-01-12 02:04:21,229 - DEBUG - VN ctest-vn-08858607 is not present in Agent 10.0.0.249 2026-01-12 02:04:21,229 - INFO - Validated that VN ctest-vn-08858607 is not in any agent 2026-01-12 02:04:21,241 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08858607 info 2026-01-12 02:04:21,241 - INFO - Deleting VN ctest-vn-31728736 2026-01-12 02:04:21,325 - DEBUG - Response for deleting network () 2026-01-12 02:04:21,325 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/881f640a-3833-4800-a517-56268069aeda 2026-01-12 02:04:21,335 - DEBUG - Response Code: 404 2026-01-12 02:04:21,335 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-01-12 02:04:21,340 - DEBUG - Requesting: http://10.0.0.249:8082/domain/ba511797-12cb-481a-8027-43ce6ffb9955 2026-01-12 02:04:21,392 - DEBUG - Requesting: http://10.0.0.249:8082/project/6785e418-cd53-45c9-b8f4-2faa091f2624 2026-01-12 02:04:21,459 - INFO - Validated that VN ctest-vn-31728736 is not found in API Server 2026-01-12 02:04:21,467 - DEBUG - VN ctest-vn-31728736 is not present in Agent 10.0.0.249 2026-01-12 02:04:21,467 - INFO - Validated that VN ctest-vn-31728736 is not in any agent 2026-01-12 02:04:21,479 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31728736 info 2026-01-12 02:04:21,727 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:04:21,727 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-12 02:04:21,727 - INFO - -------------------------------------------------------------------------------- 2026-01-12 02:04:22,382 - INFO - Deleted project: ctest-TestBasicPolicy-63205754, ID : 6785e418-cd53-45c9-b8f4-2faa091f2624