2025-10-30 10:11:38,547 - INFO - Domain Default found not creating 2025-10-30 10:11:38,705 - INFO - Project ctest-TestBasicPolicy-99318388 not found, creating it 2025-10-30 10:11:39,395 - INFO - Created Project:ctest-TestBasicPolicy-99318388, ID : c3716986-76e7-4560-96fa-9a74490cfdda 2025-10-30 10:11:40,801 - INFO - ================================================================================ 2025-10-30 10:11:40,801 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 10:11:40,801 - 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 2025-10-30 10:11:41,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with 2025-10-30 10:11:41,057 - INFO - Initial checks done. Running the testcase now 2025-10-30 10:11:41,057 - INFO - 2025-10-30 10:11:41,588 - DEBUG - Response for create_network : {'network': {'id': 'ed22a438-1993-42fe-9341-4f38ad0b96b7', 'name': 'ctest-vn-53919076', 'tenant_id': 'c371698676e7456096fa9a74490cfdda', 'project_id': 'c371698676e7456096fa9a74490cfdda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-vn-53919076'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:11:41,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cd5c177-777c-4ebb-9702-d8dbdf6a09a3', 'name': '', 'tenant_id': 'c371698676e7456096fa9a74490cfdda', 'network_id': 'ed22a438-1993-42fe-9341-4f38ad0b96b7', 'ip_version': 4, 'cidr': '128.93.160.64/26', 'allocation_pools': [{'start': '128.93.160.66', 'end': '128.93.160.126'}], 'gateway_ip': '128.93.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.93.160.66', 'tags': [], 'project_id': 'c371698676e7456096fa9a74490cfdda'}} 2025-10-30 10:11:41,792 - INFO - Created VN ctest-vn-53919076 2025-10-30 10:11:41,843 - DEBUG - VN ctest-vn-53919076 UUID is ed22a438-1993-42fe-9341-4f38ad0b96b7 2025-10-30 10:11:42,157 - DEBUG - Response for create_network : {'network': {'id': 'f063fa9b-680a-4e94-ba84-f2890c88e2e9', 'name': 'ctest-vn-93370799', 'tenant_id': 'c371698676e7456096fa9a74490cfdda', 'project_id': 'c371698676e7456096fa9a74490cfdda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-vn-93370799'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:11:42,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '42f5928b-e314-4d09-8474-e552c6cd36d1', 'name': '', 'tenant_id': 'c371698676e7456096fa9a74490cfdda', 'network_id': 'f063fa9b-680a-4e94-ba84-f2890c88e2e9', 'ip_version': 4, 'cidr': '185.20.79.0/26', 'allocation_pools': [{'start': '185.20.79.2', 'end': '185.20.79.62'}], 'gateway_ip': '185.20.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.20.79.2', 'tags': [], 'project_id': 'c371698676e7456096fa9a74490cfdda'}} 2025-10-30 10:11:42,311 - INFO - Created VN ctest-vn-93370799 2025-10-30 10:11:42,363 - DEBUG - VN ctest-vn-93370799 UUID is f063fa9b-680a-4e94-ba84-f2890c88e2e9 2025-10-30 10:11:42,515 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-53919076, 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-99318388:ctest-vn-93370799, 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] 2025-10-30 10:11:42,801 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed22a438-1993-42fe-9341-4f38ad0b96b7', 'name': 'ctest-vn-53919076', 'tenant_id': 'c371698676e7456096fa9a74490cfdda', 'project_id': 'c371698676e7456096fa9a74490cfdda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5cd5c177-777c-4ebb-9702-d8dbdf6a09a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-vn-53919076'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-policy-allow-all-11807380']], 'subnet_ipam': [{'subnet_cidr': '128.93.160.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:11:43,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f063fa9b-680a-4e94-ba84-f2890c88e2e9', 'name': 'ctest-vn-93370799', 'tenant_id': 'c371698676e7456096fa9a74490cfdda', 'project_id': 'c371698676e7456096fa9a74490cfdda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['42f5928b-e314-4d09-8474-e552c6cd36d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-vn-93370799'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-policy-allow-all-11807380']], 'subnet_ipam': [{'subnet_cidr': '185.20.79.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:11:43,183 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-30 10:11:43,473 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-30 10:11:43,511 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7d4d0124-f8d2-4fc0-bcd2-3eca357d77bc 2025-10-30 10:11:43,521 - DEBUG - Requesting: http://10.0.0.73:8082/project/c3716986-76e7-4560-96fa-9a74490cfdda 2025-10-30 10:11:43,595 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed22a438-1993-42fe-9341-4f38ad0b96b7 2025-10-30 10:11:43,606 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed22a438-1993-42fe-9341-4f38ad0b96b7 2025-10-30 10:11:43,615 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/7aed9fc3-fe14-4008-aa98-837aea3c88ec 2025-10-30 10:11:43,621 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/7aed9fc3-fe14-4008-aa98-837aea3c88ec 2025-10-30 10:11:43,627 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/07fa9a0e-ab79-4f7b-81fd-030dcce34eb7 2025-10-30 10:11:43,641 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 10:11:43,641 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed22a438-1993-42fe-9341-4f38ad0b96b7 2025-10-30 10:11:43,650 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/7aed9fc3-fe14-4008-aa98-837aea3c88ec 2025-10-30 10:11:43,665 - INFO - Verified VN network id 9 for VN ed22a438-1993-42fe-9341-4f38ad0b96b7 2025-10-30 10:11:43,665 - INFO - Verifications in API Server for VN ctest-vn-53919076 passed 2025-10-30 10:11:43,665 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed22a438-1993-42fe-9341-4f38ad0b96b7 2025-10-30 10:11:43,673 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/7aed9fc3-fe14-4008-aa98-837aea3c88ec 2025-10-30 10:11:43,679 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/7aed9fc3-fe14-4008-aa98-837aea3c88ec 2025-10-30 10:11:43,685 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/07fa9a0e-ab79-4f7b-81fd-030dcce34eb7 2025-10-30 10:11:43,696 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-53919076', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99318388', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17087400497051288318', 'uuid-lslong': '10610849301901579959'}, 'enable': 'true', 'created': '2025-10-30T10:11:41', 'last-modified': '2025-10-30T10:11:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.914598'} 2025-10-30 10:11:43,701 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 10:11:43,701 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53919076 passed 2025-10-30 10:11:43,702 - DEBUG - ====Verifying policy data for ctest-vn-53919076 in API_Server ====== 2025-10-30 10:11:43,702 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-30 10:11:43,706 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7d4d0124-f8d2-4fc0-bcd2-3eca357d77bc 2025-10-30 10:11:43,716 - DEBUG - Requesting: http://10.0.0.73:8082/project/c3716986-76e7-4560-96fa-9a74490cfdda 2025-10-30 10:11:43,784 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed22a438-1993-42fe-9341-4f38ad0b96b7 2025-10-30 10:11:43,792 - DEBUG - ==>Verifying data for policy with id: 163ff259-8fad-43c0-adfc-df1c843535ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-policy-allow-all-11807380'] 2025-10-30 10:11:43,792 - INFO - VN ctest-vn-53919076 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 10:11:43,793 - DEBUG - Verifying the vn in opserver 2025-10-30 10:11:43,793 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-53919076 virtual network link through opserver 10.0.0.73 2025-10-30 10:11:43,793 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-30 10:11:44,080 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-30 10:11:44,131 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-53919076', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-53919076?flat'} 2025-10-30 10:11:44,131 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-53919076 is found in opserver 2025-10-30 10:11:44,139 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 10:11:44,144 - DEBUG - VRF ids for VN ctest-vn-53919076: {} 2025-10-30 10:11:44,144 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-30 10:11:44,149 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7d4d0124-f8d2-4fc0-bcd2-3eca357d77bc 2025-10-30 10:11:44,158 - DEBUG - Requesting: http://10.0.0.73:8082/project/c3716986-76e7-4560-96fa-9a74490cfdda 2025-10-30 10:11:44,230 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f063fa9b-680a-4e94-ba84-f2890c88e2e9 2025-10-30 10:11:44,241 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f063fa9b-680a-4e94-ba84-f2890c88e2e9 2025-10-30 10:11:44,249 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0637e2a3-538f-4a78-82b2-405c1e828174 2025-10-30 10:11:44,255 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0637e2a3-538f-4a78-82b2-405c1e828174 2025-10-30 10:11:44,261 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/aeae30d7-62b5-44ac-a9e9-cb0139151baf 2025-10-30 10:11:44,267 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 10:11:44,267 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f063fa9b-680a-4e94-ba84-f2890c88e2e9 2025-10-30 10:11:44,275 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0637e2a3-538f-4a78-82b2-405c1e828174 2025-10-30 10:11:44,289 - INFO - Verified VN network id 10 for VN f063fa9b-680a-4e94-ba84-f2890c88e2e9 2025-10-30 10:11:44,289 - INFO - Verifications in API Server for VN ctest-vn-93370799 passed 2025-10-30 10:11:44,289 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f063fa9b-680a-4e94-ba84-f2890c88e2e9 2025-10-30 10:11:44,297 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0637e2a3-538f-4a78-82b2-405c1e828174 2025-10-30 10:11:44,303 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0637e2a3-538f-4a78-82b2-405c1e828174 2025-10-30 10:11:44,309 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/aeae30d7-62b5-44ac-a9e9-cb0139151baf 2025-10-30 10:11:44,320 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-93370799', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99318388', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17321964137169440404', 'uuid-lslong': '13440133858415141609'}, 'enable': 'true', 'created': '2025-10-30T10:11:42', 'last-modified': '2025-10-30T10:11:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.320077'} 2025-10-30 10:11:44,325 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 10:11:44,325 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93370799 passed 2025-10-30 10:11:44,325 - DEBUG - ====Verifying policy data for ctest-vn-93370799 in API_Server ====== 2025-10-30 10:11:44,325 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-30 10:11:44,330 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7d4d0124-f8d2-4fc0-bcd2-3eca357d77bc 2025-10-30 10:11:44,339 - DEBUG - Requesting: http://10.0.0.73:8082/project/c3716986-76e7-4560-96fa-9a74490cfdda 2025-10-30 10:11:44,409 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/f063fa9b-680a-4e94-ba84-f2890c88e2e9 2025-10-30 10:11:44,417 - DEBUG - ==>Verifying data for policy with id: 163ff259-8fad-43c0-adfc-df1c843535ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-99318388', 'ctest-policy-allow-all-11807380'] 2025-10-30 10:11:44,417 - INFO - VN ctest-vn-93370799 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 10:11:44,417 - DEBUG - Verifying the vn in opserver 2025-10-30 10:11:44,417 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-93370799 virtual network link through opserver 10.0.0.73 2025-10-30 10:11:44,417 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2025-10-30 10:11:44,426 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-93370799', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-93370799?flat'} 2025-10-30 10:11:44,426 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-93370799 is found in opserver 2025-10-30 10:11:44,435 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 10:11:44,439 - DEBUG - VRF ids for VN ctest-vn-93370799: {} 2025-10-30 10:11:44,490 - DEBUG - Services list from nova: [, , ] 2025-10-30 10:11:45,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4542-1) 2025-10-30 10:11:46,574 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4542-1) 2025-10-30 10:11:46,575 - INFO - Waiting for VM ctest-TestBasicPolicy-99318388-91796199 to be up.. 2025-10-30 10:11:46,649 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 10:11:51,724 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:11:51,724 - INFO - VM name : ctest-TestBasicPolicy-99318388-91796199 2025-10-30 10:11:51,791 - DEBUG - VM ctest-TestBasicPolicy-99318388-91796199 ID is ed291bc0-4993-4554-9239-c2791be1e5b2 2025-10-30 10:11:51,809 - DEBUG - VM ctest-TestBasicPolicy-99318388-91796199 launched on Node cn-jenkins-deploy-platform-ansible-os-4542-1 2025-10-30 10:11:51,876 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/ed291bc0-4993-4554-9239-c2791be1e5b2 2025-10-30 10:11:51,884 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/c702da58-59a9-44f8-b9f6-b94f79915e9d 2025-10-30 10:11:55,128 - 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 1015ms') 2025-10-30 10:11:55,128 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99318388-91796199 failed! 2025-10-30 10:11:55,183 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99318388:ctest-vn-53919076 is 128.93.160.65 and allocation pool is NOT set 2025-10-30 10:11:57,241 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.53 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 = 1.531/2.666/3.801/1.135 ms') 2025-10-30 10:11:57,241 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99318388-91796199 passed 2025-10-30 10:11:57,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:11:57,387 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99318388-91796199, IP 128.93.160.67, Port 22 2025-10-30 10:11:57,555 - DEBUG - VM ctest-TestBasicPolicy-99318388-91796199 is ready for SSH connections 2025-10-30 10:11:57,555 - INFO - Waiting for VM ctest-TestBasicPolicy-99318388-24981426 to be up.. 2025-10-30 10:11:57,622 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:11:57,622 - INFO - VM name : ctest-TestBasicPolicy-99318388-24981426 2025-10-30 10:11:57,689 - DEBUG - VM ctest-TestBasicPolicy-99318388-24981426 ID is 3c72663d-b909-4ed1-83f0-09328c46ee7f 2025-10-30 10:11:57,689 - DEBUG - VM ctest-TestBasicPolicy-99318388-24981426 launched on Node cn-jenkins-deploy-platform-ansible-os-4542-1 2025-10-30 10:11:57,756 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/3c72663d-b909-4ed1-83f0-09328c46ee7f 2025-10-30 10:11:57,764 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/9c3e6c96-d125-4cc8-8eab-2508b0939cd4 2025-10-30 10:11:58,993 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.161/2.230/3.299/1.069 ms') 2025-10-30 10:11:58,993 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99318388-24981426 passed 2025-10-30 10:11:59,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:11:59,143 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99318388-24981426, IP 185.20.79.3, Port 22 2025-10-30 10:11:59,310 - DEBUG - VM ctest-TestBasicPolicy-99318388-24981426 is ready for SSH connections 2025-10-30 10:11:59,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:11:59,310 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.20.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-30 10:11:59,310 - DEBUG - ping -s 56 -c 3 -W 1 185.20.79.3 2025-10-30 10:12:03,017 - DEBUG - PING 185.20.79.3 (185.20.79.3): 56 data bytes 64 bytes from 185.20.79.3: seq=0 ttl=63 time=3.709 ms 64 bytes from 185.20.79.3: seq=1 ttl=63 time=0.781 ms 64 bytes from 185.20.79.3: seq=2 ttl=63 time=0.749 ms --- 185.20.79.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/1.746/3.709 ms 2025-10-30 10:12:03,017 - INFO - Ping to IP 185.20.79.3 from VM ctest-TestBasicPolicy-99318388-91796199 passed 2025-10-30 10:12:03,191 - DEBUG - Policy Update Response {"network-policy": {"uuid": "163ff259-8fad-43c0-adfc-df1c843535ea", "href": "http://10.0.0.73:8082/network-policy/163ff259-8fad-43c0-adfc-df1c843535ea"}} 2025-10-30 10:12:03,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:12:03,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.20.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-30 10:12:03,191 - DEBUG - ping -s 56 -c 3 -W 1 185.20.79.3 2025-10-30 10:12:06,404 - DEBUG - PING 185.20.79.3 (185.20.79.3): 56 data bytes --- 185.20.79.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 10:12:06,404 - WARNING - Ping to IP 185.20.79.3 from VM ctest-TestBasicPolicy-99318388-91796199 failed 2025-10-30 10:12:06,404 - INFO - Deleting VM ctest-TestBasicPolicy-99318388-24981426 2025-10-30 10:12:06,472 - INFO - Deleting VM ctest-TestBasicPolicy-99318388-91796199 2025-10-30 10:12:06,821 - INFO - Deleted policy ctest-policy-allow-all-11807380 2025-10-30 10:12:06,821 - INFO - Deleting VN ctest-vn-93370799 2025-10-30 10:12:06,860 - DEBUG - VN f063fa9b-680a-4e94-ba84-f2890c88e2e9 still in use: Unable to complete operation on network f063fa9b-680a-4e94-ba84-f2890c88e2e9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-916d4804-d3f1-4709-adc9-cb88829f4216'] 2025-10-30 10:12:06,860 - WARNING - Deleting VN ctest-vn-93370799 failed..Will retry 2025-10-30 10:12:08,966 - DEBUG - Response for deleting network () 2025-10-30 10:12:08,966 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/0637e2a3-538f-4a78-82b2-405c1e828174 2025-10-30 10:12:08,975 - DEBUG - Response Code: 404 2025-10-30 10:12:08,975 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-30 10:12:08,980 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7d4d0124-f8d2-4fc0-bcd2-3eca357d77bc 2025-10-30 10:12:09,037 - DEBUG - Requesting: http://10.0.0.73:8082/project/c3716986-76e7-4560-96fa-9a74490cfdda 2025-10-30 10:12:09,102 - INFO - Validated that VN ctest-vn-93370799 is not found in API Server 2025-10-30 10:12:09,110 - DEBUG - VN ctest-vn-93370799 is not present in Agent 10.0.0.73 2025-10-30 10:12:09,110 - INFO - Validated that VN ctest-vn-93370799 is not in any agent 2025-10-30 10:12:09,125 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93370799 info 2025-10-30 10:12:09,125 - INFO - Deleting VN ctest-vn-53919076 2025-10-30 10:12:09,215 - DEBUG - Response for deleting network () 2025-10-30 10:12:09,215 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/7aed9fc3-fe14-4008-aa98-837aea3c88ec 2025-10-30 10:12:09,220 - DEBUG - Response Code: 404 2025-10-30 10:12:09,220 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2025-10-30 10:12:09,230 - DEBUG - Requesting: http://10.0.0.73:8082/domain/7d4d0124-f8d2-4fc0-bcd2-3eca357d77bc 2025-10-30 10:12:09,284 - DEBUG - Requesting: http://10.0.0.73:8082/project/c3716986-76e7-4560-96fa-9a74490cfdda 2025-10-30 10:12:09,351 - INFO - Validated that VN ctest-vn-53919076 is not found in API Server 2025-10-30 10:12:09,361 - DEBUG - VN ctest-vn-53919076 is not present in Agent 10.0.0.73 2025-10-30 10:12:09,362 - INFO - Validated that VN ctest-vn-53919076 is not in any agent 2025-10-30 10:12:09,374 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53919076 info 2025-10-30 10:12:09,628 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 10:12:09,628 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 10:12:09,628 - INFO - -------------------------------------------------------------------------------- 2025-10-30 10:12:10,277 - INFO - Deleted project: ctest-TestBasicPolicy-99318388, ID : c3716986-76e7-4560-96fa-9a74490cfdda