2025-09-23 15:58:12,439 - INFO - Domain Default found not creating 2025-09-23 15:58:12,601 - INFO - Project ctest-TestBasicPolicy-05466236 not found, creating it 2025-09-23 15:58:13,075 - INFO - Created Project:ctest-TestBasicPolicy-05466236, ID : 0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a 2025-09-23 15:58:14,507 - INFO - ================================================================================ 2025-09-23 15:58:14,507 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-23 15:58:14,507 - 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-09-23 15:58:14,766 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 15:58:14,766 - INFO - Initial checks done. Running the testcase now 2025-09-23 15:58:14,766 - INFO - 2025-09-23 15:58:15,289 - DEBUG - Response for create_network : {'network': {'id': 'b1ac9e8e-d1ee-4489-ab6c-35b211194f6f', 'name': 'ctest-vn-12704548', 'tenant_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'project_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-vn-12704548'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:58:15,472 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd50f3cbe-3614-4dc3-ad2e-6b0bf92389c2', 'name': '', 'tenant_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'network_id': 'b1ac9e8e-d1ee-4489-ab6c-35b211194f6f', 'ip_version': 4, 'cidr': '62.61.164.192/26', 'allocation_pools': [{'start': '62.61.164.194', 'end': '62.61.164.254'}], 'gateway_ip': '62.61.164.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.61.164.194', 'tags': [], 'project_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a'}} 2025-09-23 15:58:15,490 - INFO - Created VN ctest-vn-12704548 2025-09-23 15:58:15,541 - DEBUG - VN ctest-vn-12704548 UUID is b1ac9e8e-d1ee-4489-ab6c-35b211194f6f 2025-09-23 15:58:15,835 - DEBUG - Response for create_network : {'network': {'id': '753caf06-9239-4a5a-9405-d1993335e2d9', 'name': 'ctest-vn-36478785', 'tenant_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'project_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-vn-36478785'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:58:16,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac4604a6-35cd-492a-9f0f-cc0d61430798', 'name': '', 'tenant_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'network_id': '753caf06-9239-4a5a-9405-d1993335e2d9', 'ip_version': 4, 'cidr': '94.246.178.64/26', 'allocation_pools': [{'start': '94.246.178.66', 'end': '94.246.178.126'}], 'gateway_ip': '94.246.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.246.178.66', 'tags': [], 'project_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a'}} 2025-09-23 15:58:16,016 - INFO - Created VN ctest-vn-36478785 2025-09-23 15:58:16,065 - DEBUG - VN ctest-vn-36478785 UUID is 753caf06-9239-4a5a-9405-d1993335e2d9 2025-09-23 15:58:16,209 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-12704548, 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-05466236:ctest-vn-36478785, 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-09-23 15:58:16,486 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b1ac9e8e-d1ee-4489-ab6c-35b211194f6f', 'name': 'ctest-vn-12704548', 'tenant_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'project_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d50f3cbe-3614-4dc3-ad2e-6b0bf92389c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-vn-12704548'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-policy-allow-all-22016793']], 'subnet_ipam': [{'subnet_cidr': '62.61.164.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:58:16,700 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '753caf06-9239-4a5a-9405-d1993335e2d9', 'name': 'ctest-vn-36478785', 'tenant_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'project_id': '0f6dba5c13bd4f9b9ea97143b76f6c8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac4604a6-35cd-492a-9f0f-cc0d61430798'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-vn-36478785'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-policy-allow-all-22016793']], 'subnet_ipam': [{'subnet_cidr': '94.246.178.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:58:16,865 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 15:58:17,153 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 15:58:17,177 - DEBUG - Requesting: http://10.0.0.48:8082/domain/ced9a593-cd75-4c5a-87f7-52b7dc7e9516 2025-09-23 15:58:17,188 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a 2025-09-23 15:58:17,254 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b1ac9e8e-d1ee-4489-ab6c-35b211194f6f 2025-09-23 15:58:17,263 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b1ac9e8e-d1ee-4489-ab6c-35b211194f6f 2025-09-23 15:58:17,270 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1bdf3cdf-d6f4-49d0-87f2-1e017716b0ae 2025-09-23 15:58:17,276 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1bdf3cdf-d6f4-49d0-87f2-1e017716b0ae 2025-09-23 15:58:17,281 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/5cb15f73-a0fb-4915-91a6-f2702a9f9a75 2025-09-23 15:58:17,286 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 15:58:17,286 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b1ac9e8e-d1ee-4489-ab6c-35b211194f6f 2025-09-23 15:58:17,293 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1bdf3cdf-d6f4-49d0-87f2-1e017716b0ae 2025-09-23 15:58:17,305 - INFO - Verified VN network id 9 for VN b1ac9e8e-d1ee-4489-ab6c-35b211194f6f 2025-09-23 15:58:17,305 - INFO - Verifications in API Server for VN ctest-vn-12704548 passed 2025-09-23 15:58:17,305 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b1ac9e8e-d1ee-4489-ab6c-35b211194f6f 2025-09-23 15:58:17,312 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1bdf3cdf-d6f4-49d0-87f2-1e017716b0ae 2025-09-23 15:58:17,317 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1bdf3cdf-d6f4-49d0-87f2-1e017716b0ae 2025-09-23 15:58:17,323 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/5cb15f73-a0fb-4915-91a6-f2702a9f9a75 2025-09-23 15:58:17,332 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-12704548', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05466236', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12802782176952075401', 'uuid-lslong': '12352306916877750127'}, 'enable': 'true', 'created': '2025-09-23T15:58:15', 'last-modified': '2025-09-23T15:58:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.867825'} 2025-09-23 15:58:17,336 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-23 15:58:17,337 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12704548 passed 2025-09-23 15:58:17,337 - DEBUG - ====Verifying policy data for ctest-vn-12704548 in API_Server ====== 2025-09-23 15:58:17,337 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 15:58:17,341 - DEBUG - Requesting: http://10.0.0.48:8082/domain/ced9a593-cd75-4c5a-87f7-52b7dc7e9516 2025-09-23 15:58:17,350 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a 2025-09-23 15:58:17,429 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b1ac9e8e-d1ee-4489-ab6c-35b211194f6f 2025-09-23 15:58:17,440 - DEBUG - ==>Verifying data for policy with id: 2bd12eaf-1e60-4d82-942c-e0e0fbe0ae14, fqn: ['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-policy-allow-all-22016793'] 2025-09-23 15:58:17,440 - INFO - VN ctest-vn-12704548 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 15:58:17,440 - DEBUG - Verifying the vn in opserver 2025-09-23 15:58:17,440 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-12704548 virtual network link through opserver 10.0.0.48 2025-09-23 15:58:17,440 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-23 15:58:17,727 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-23 15:58:17,775 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-12704548', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-12704548?flat'} 2025-09-23 15:58:17,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-12704548 is found in opserver 2025-09-23 15:58:17,783 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 15:58:17,787 - DEBUG - VRF ids for VN ctest-vn-12704548: {} 2025-09-23 15:58:17,787 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 15:58:17,792 - DEBUG - Requesting: http://10.0.0.48:8082/domain/ced9a593-cd75-4c5a-87f7-52b7dc7e9516 2025-09-23 15:58:17,801 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a 2025-09-23 15:58:17,872 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/753caf06-9239-4a5a-9405-d1993335e2d9 2025-09-23 15:58:17,881 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/753caf06-9239-4a5a-9405-d1993335e2d9 2025-09-23 15:58:17,888 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/27b1415b-209e-44da-81af-eeea7e97a8c0 2025-09-23 15:58:17,893 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/27b1415b-209e-44da-81af-eeea7e97a8c0 2025-09-23 15:58:17,898 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/94c7775f-8b6a-42e4-95bc-c563d5eb8b11 2025-09-23 15:58:17,904 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 15:58:17,904 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/753caf06-9239-4a5a-9405-d1993335e2d9 2025-09-23 15:58:17,911 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/27b1415b-209e-44da-81af-eeea7e97a8c0 2025-09-23 15:58:17,921 - INFO - Verified VN network id 10 for VN 753caf06-9239-4a5a-9405-d1993335e2d9 2025-09-23 15:58:17,921 - INFO - Verifications in API Server for VN ctest-vn-36478785 passed 2025-09-23 15:58:17,921 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/753caf06-9239-4a5a-9405-d1993335e2d9 2025-09-23 15:58:17,928 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/27b1415b-209e-44da-81af-eeea7e97a8c0 2025-09-23 15:58:17,933 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/27b1415b-209e-44da-81af-eeea7e97a8c0 2025-09-23 15:58:17,938 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/94c7775f-8b6a-42e4-95bc-c563d5eb8b11 2025-09-23 15:58:17,948 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-36478785', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05466236', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8447819443798100570', 'uuid-lslong': '10666161748416258777'}, 'enable': 'true', 'created': '2025-09-23T15:58:15', 'last-modified': '2025-09-23T15:58:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.267741'} 2025-09-23 15:58:17,953 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-23 15:58:17,953 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36478785 passed 2025-09-23 15:58:17,953 - DEBUG - ====Verifying policy data for ctest-vn-36478785 in API_Server ====== 2025-09-23 15:58:17,953 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 15:58:17,957 - DEBUG - Requesting: http://10.0.0.48:8082/domain/ced9a593-cd75-4c5a-87f7-52b7dc7e9516 2025-09-23 15:58:17,968 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a 2025-09-23 15:58:18,033 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/753caf06-9239-4a5a-9405-d1993335e2d9 2025-09-23 15:58:18,041 - DEBUG - ==>Verifying data for policy with id: 2bd12eaf-1e60-4d82-942c-e0e0fbe0ae14, fqn: ['default-domain', 'ctest-TestBasicPolicy-05466236', 'ctest-policy-allow-all-22016793'] 2025-09-23 15:58:18,041 - INFO - VN ctest-vn-36478785 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-23 15:58:18,041 - DEBUG - Verifying the vn in opserver 2025-09-23 15:58:18,041 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-36478785 virtual network link through opserver 10.0.0.48 2025-09-23 15:58:18,041 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-09-23 15:58:18,050 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-36478785', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-36478785?flat'} 2025-09-23 15:58:18,050 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-36478785 is found in opserver 2025-09-23 15:58:18,059 - DEBUG - Do not have enough data to verify VN in agent 2025-09-23 15:58:18,063 - DEBUG - VRF ids for VN ctest-vn-36478785: {} 2025-09-23 15:58:18,113 - DEBUG - Services list from nova: [, , ] 2025-09-23 15:58:19,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:58:20,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:58:20,151 - INFO - Waiting for VM ctest-TestBasicPolicy-05466236-75014437 to be up.. 2025-09-23 15:58:20,233 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 15:58:25,325 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:58:25,325 - INFO - VM name : ctest-TestBasicPolicy-05466236-75014437 2025-09-23 15:58:25,402 - DEBUG - VM ctest-TestBasicPolicy-05466236-75014437 ID is ee56f054-183e-42a5-851f-0294ab2a67bd 2025-09-23 15:58:25,419 - DEBUG - VM ctest-TestBasicPolicy-05466236-75014437 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:58:25,495 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ee56f054-183e-42a5-851f-0294ab2a67bd 2025-09-23 15:58:25,503 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3bf0501f-554f-4a47-83aa-91301c7b73bb 2025-09-23 15:58:28,747 - 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 1020ms') 2025-09-23 15:58:28,747 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05466236-75014437 failed! 2025-09-23 15:58:28,801 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05466236:ctest-vn-12704548 is 62.61.164.193 and allocation pool is NOT set 2025-09-23 15:58:30,862 - 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=5.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.843/3.480/5.118/1.637 ms') 2025-09-23 15:58:30,862 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05466236-75014437 passed 2025-09-23 15:58:31,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:58:31,010 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05466236-75014437, IP 62.61.164.195, Port 22 2025-09-23 15:58:31,165 - DEBUG - VM ctest-TestBasicPolicy-05466236-75014437 is ready for SSH connections 2025-09-23 15:58:31,165 - INFO - Waiting for VM ctest-TestBasicPolicy-05466236-05439435 to be up.. 2025-09-23 15:58:31,234 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:58:31,234 - INFO - VM name : ctest-TestBasicPolicy-05466236-05439435 2025-09-23 15:58:31,301 - DEBUG - VM ctest-TestBasicPolicy-05466236-05439435 ID is c960c2f3-7b7f-4736-952b-7508872d0c80 2025-09-23 15:58:31,301 - DEBUG - VM ctest-TestBasicPolicy-05466236-05439435 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:58:31,368 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/c960c2f3-7b7f-4736-952b-7508872d0c80 2025-09-23 15:58:31,375 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/056e320f-24f8-469f-bb84-0e023e8d2d5e 2025-09-23 15:58:32,605 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/1.837/3.168/1.330 ms') 2025-09-23 15:58:32,606 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05466236-05439435 passed 2025-09-23 15:58:32,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:58:32,753 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05466236-05439435, IP 94.246.178.67, Port 22 2025-09-23 15:58:32,909 - DEBUG - VM ctest-TestBasicPolicy-05466236-05439435 is ready for SSH connections 2025-09-23 15:58:32,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:58:32,910 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.246.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:58:32,910 - DEBUG - ping -s 56 -c 3 -W 1 94.246.178.67 2025-09-23 15:58:36,586 - DEBUG - PING 94.246.178.67 (94.246.178.67): 56 data bytes 64 bytes from 94.246.178.67: seq=0 ttl=63 time=5.630 ms 64 bytes from 94.246.178.67: seq=1 ttl=63 time=0.810 ms 64 bytes from 94.246.178.67: seq=2 ttl=63 time=0.989 ms --- 94.246.178.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/2.476/5.630 ms 2025-09-23 15:58:36,586 - INFO - Ping to IP 94.246.178.67 from VM ctest-TestBasicPolicy-05466236-75014437 passed 2025-09-23 15:58:36,757 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2bd12eaf-1e60-4d82-942c-e0e0fbe0ae14", "href": "http://10.0.0.48:8082/network-policy/2bd12eaf-1e60-4d82-942c-e0e0fbe0ae14"}} 2025-09-23 15:58:36,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:58:36,757 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.246.178.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:58:36,757 - DEBUG - ping -s 56 -c 3 -W 1 94.246.178.67 2025-09-23 15:58:39,959 - DEBUG - PING 94.246.178.67 (94.246.178.67): 56 data bytes --- 94.246.178.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-23 15:58:39,959 - WARNING - Ping to IP 94.246.178.67 from VM ctest-TestBasicPolicy-05466236-75014437 failed 2025-09-23 15:58:39,959 - INFO - Deleting VM ctest-TestBasicPolicy-05466236-05439435 2025-09-23 15:58:40,106 - INFO - Deleting VM ctest-TestBasicPolicy-05466236-75014437 2025-09-23 15:58:40,430 - INFO - Deleted policy ctest-policy-allow-all-22016793 2025-09-23 15:58:40,430 - INFO - Deleting VN ctest-vn-36478785 2025-09-23 15:58:40,463 - DEBUG - VN 753caf06-9239-4a5a-9405-d1993335e2d9 still in use: Unable to complete operation on network 753caf06-9239-4a5a-9405-d1993335e2d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab2125f9-909c-49d1-975e-07aaa22c878f'] 2025-09-23 15:58:40,463 - WARNING - Deleting VN ctest-vn-36478785 failed..Will retry 2025-09-23 15:58:42,561 - DEBUG - Response for deleting network () 2025-09-23 15:58:42,561 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/27b1415b-209e-44da-81af-eeea7e97a8c0 2025-09-23 15:58:42,566 - DEBUG - Response Code: 404 2025-09-23 15:58:42,566 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 15:58:42,570 - DEBUG - Requesting: http://10.0.0.48:8082/domain/ced9a593-cd75-4c5a-87f7-52b7dc7e9516 2025-09-23 15:58:42,624 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a 2025-09-23 15:58:42,692 - INFO - Validated that VN ctest-vn-36478785 is not found in API Server 2025-09-23 15:58:42,701 - DEBUG - VN ctest-vn-36478785 is not present in Agent 10.0.0.48 2025-09-23 15:58:42,701 - INFO - Validated that VN ctest-vn-36478785 is not in any agent 2025-09-23 15:58:42,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36478785 info 2025-09-23 15:58:42,713 - INFO - Deleting VN ctest-vn-12704548 2025-09-23 15:58:42,799 - DEBUG - Response for deleting network () 2025-09-23 15:58:42,800 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1bdf3cdf-d6f4-49d0-87f2-1e017716b0ae 2025-09-23 15:58:42,805 - DEBUG - Response Code: 404 2025-09-23 15:58:42,805 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-09-23 15:58:42,809 - DEBUG - Requesting: http://10.0.0.48:8082/domain/ced9a593-cd75-4c5a-87f7-52b7dc7e9516 2025-09-23 15:58:42,861 - DEBUG - Requesting: http://10.0.0.48:8082/project/0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a 2025-09-23 15:58:42,928 - INFO - Validated that VN ctest-vn-12704548 is not found in API Server 2025-09-23 15:58:42,936 - DEBUG - VN ctest-vn-12704548 is not present in Agent 10.0.0.48 2025-09-23 15:58:42,936 - INFO - Validated that VN ctest-vn-12704548 is not in any agent 2025-09-23 15:58:42,947 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12704548 info 2025-09-23 15:58:43,205 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 15:58:43,205 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-23 15:58:43,205 - INFO - -------------------------------------------------------------------------------- 2025-09-23 15:58:43,867 - INFO - Deleted project: ctest-TestBasicPolicy-05466236, ID : 0f6dba5c-13bd-4f9b-9ea9-7143b76f6c8a