2025-07-10 02:13:07,591 - INFO - Domain Default found not creating 2025-07-10 02:13:07,762 - INFO - Project ctest-TestBasicPolicy-36399392 not found, creating it 2025-07-10 02:13:08,244 - INFO - Created Project:ctest-TestBasicPolicy-36399392, ID : 88a3d35b-2f6e-4319-a43b-86d7784e47d8 2025-07-10 02:13:09,696 - INFO - ================================================================================ 2025-07-10 02:13:09,696 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-10 02:13:09,696 - 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-07-10 02:13:09,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.192': '0'}} with 2025-07-10 02:13:09,954 - INFO - Initial checks done. Running the testcase now 2025-07-10 02:13:09,955 - INFO - 2025-07-10 02:13:10,510 - DEBUG - Response for create_network : {'network': {'id': '7f001df6-9246-43bf-bb08-902b649c8b09', 'name': 'ctest-vn-87250819', 'tenant_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'project_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-vn-87250819'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:13:10,705 - DEBUG - Response for create_subnet : {'subnet': {'id': '389bde31-8d68-429b-9911-709fbc73312d', 'name': '', 'tenant_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'network_id': '7f001df6-9246-43bf-bb08-902b649c8b09', 'ip_version': 4, 'cidr': '148.128.36.128/26', 'allocation_pools': [{'start': '148.128.36.130', 'end': '148.128.36.190'}], 'gateway_ip': '148.128.36.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.128.36.130', 'tags': [], 'project_id': '88a3d35b2f6e4319a43b86d7784e47d8'}} 2025-07-10 02:13:10,723 - INFO - Created VN ctest-vn-87250819 2025-07-10 02:13:10,777 - DEBUG - VN ctest-vn-87250819 UUID is 7f001df6-9246-43bf-bb08-902b649c8b09 2025-07-10 02:13:11,073 - DEBUG - Response for create_network : {'network': {'id': 'd26a2fa1-19db-4325-b377-86a2bacc6511', 'name': 'ctest-vn-84562307', 'tenant_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'project_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-vn-84562307'], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:13:11,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '5351f9e3-292e-4201-ac50-b82c88c81ac3', 'name': '', 'tenant_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'network_id': 'd26a2fa1-19db-4325-b377-86a2bacc6511', 'ip_version': 4, 'cidr': '200.109.85.128/26', 'allocation_pools': [{'start': '200.109.85.130', 'end': '200.109.85.190'}], 'gateway_ip': '200.109.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.109.85.130', 'tags': [], 'project_id': '88a3d35b2f6e4319a43b86d7784e47d8'}} 2025-07-10 02:13:11,388 - INFO - Created VN ctest-vn-84562307 2025-07-10 02:13:11,441 - DEBUG - VN ctest-vn-84562307 UUID is d26a2fa1-19db-4325-b377-86a2bacc6511 2025-07-10 02:13:11,593 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-87250819, 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-36399392:ctest-vn-84562307, 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-07-10 02:13:11,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f001df6-9246-43bf-bb08-902b649c8b09', 'name': 'ctest-vn-87250819', 'tenant_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'project_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['389bde31-8d68-429b-9911-709fbc73312d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-vn-87250819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-policy-allow-all-62574435']], 'subnet_ipam': [{'subnet_cidr': '148.128.36.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:13:12,112 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd26a2fa1-19db-4325-b377-86a2bacc6511', 'name': 'ctest-vn-84562307', 'tenant_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'project_id': '88a3d35b2f6e4319a43b86d7784e47d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5351f9e3-292e-4201-ac50-b82c88c81ac3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-vn-84562307'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-policy-allow-all-62574435']], 'subnet_ipam': [{'subnet_cidr': '200.109.85.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-10 02:13:12,261 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-07-10 02:13:12,555 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-07-10 02:13:12,582 - DEBUG - Requesting: http://10.0.0.137:8082/domain/dc73e4c1-6b4f-4e80-9fcf-db0ebce8e0f4 2025-07-10 02:13:12,596 - DEBUG - Requesting: http://10.0.0.137:8082/project/88a3d35b-2f6e-4319-a43b-86d7784e47d8 2025-07-10 02:13:12,673 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/7f001df6-9246-43bf-bb08-902b649c8b09 2025-07-10 02:13:12,684 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/7f001df6-9246-43bf-bb08-902b649c8b09 2025-07-10 02:13:12,693 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/0e4ab509-19a1-41ec-87e3-11765870e310 2025-07-10 02:13:12,701 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/0e4ab509-19a1-41ec-87e3-11765870e310 2025-07-10 02:13:12,711 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/f6cb1ded-88a6-46bc-968f-949ad1e14210 2025-07-10 02:13:12,719 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 02:13:12,719 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/7f001df6-9246-43bf-bb08-902b649c8b09 2025-07-10 02:13:12,729 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/0e4ab509-19a1-41ec-87e3-11765870e310 2025-07-10 02:13:12,746 - INFO - Verified VN network id 8 for VN 7f001df6-9246-43bf-bb08-902b649c8b09 2025-07-10 02:13:12,746 - INFO - Verifications in API Server for VN ctest-vn-87250819 passed 2025-07-10 02:13:12,746 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/7f001df6-9246-43bf-bb08-902b649c8b09 2025-07-10 02:13:12,758 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/0e4ab509-19a1-41ec-87e3-11765870e310 2025-07-10 02:13:12,765 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/0e4ab509-19a1-41ec-87e3-11765870e310 2025-07-10 02:13:12,773 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/f6cb1ded-88a6-46bc-968f-949ad1e14210 2025-07-10 02:13:12,786 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-87250819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36399392', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9151347387670086591', 'uuid-lslong': '13477180400952183561'}, 'enable': 'true', 'created': '2025-07-10T02:13:10', 'last-modified': '2025-07-10T02:13:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927208'} 2025-07-10 02:13:12,794 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-10 02:13:12,794 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87250819 passed 2025-07-10 02:13:12,794 - DEBUG - ====Verifying policy data for ctest-vn-87250819 in API_Server ====== 2025-07-10 02:13:12,794 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-07-10 02:13:12,801 - DEBUG - Requesting: http://10.0.0.137:8082/domain/dc73e4c1-6b4f-4e80-9fcf-db0ebce8e0f4 2025-07-10 02:13:12,813 - DEBUG - Requesting: http://10.0.0.137:8082/project/88a3d35b-2f6e-4319-a43b-86d7784e47d8 2025-07-10 02:13:12,885 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/7f001df6-9246-43bf-bb08-902b649c8b09 2025-07-10 02:13:12,896 - DEBUG - ==>Verifying data for policy with id: 58873bd9-c346-400c-9575-c58a97e279cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-policy-allow-all-62574435'] 2025-07-10 02:13:12,896 - INFO - VN ctest-vn-87250819 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 02:13:12,896 - DEBUG - Verifying the vn in opserver 2025-07-10 02:13:12,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-87250819 virtual network link through opserver 10.0.0.137 2025-07-10 02:13:12,896 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-07-10 02:13:13,196 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-07-10 02:13:13,248 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-87250819', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-87250819?flat'} 2025-07-10 02:13:13,248 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-87250819 is found in opserver 2025-07-10 02:13:13,259 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 02:13:13,264 - DEBUG - VRF ids for VN ctest-vn-87250819: {} 2025-07-10 02:13:13,264 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-07-10 02:13:13,269 - DEBUG - Requesting: http://10.0.0.137:8082/domain/dc73e4c1-6b4f-4e80-9fcf-db0ebce8e0f4 2025-07-10 02:13:13,281 - DEBUG - Requesting: http://10.0.0.137:8082/project/88a3d35b-2f6e-4319-a43b-86d7784e47d8 2025-07-10 02:13:13,362 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/d26a2fa1-19db-4325-b377-86a2bacc6511 2025-07-10 02:13:13,374 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/d26a2fa1-19db-4325-b377-86a2bacc6511 2025-07-10 02:13:13,384 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/9968e878-be16-4ba2-937a-737d626eef81 2025-07-10 02:13:13,391 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/9968e878-be16-4ba2-937a-737d626eef81 2025-07-10 02:13:13,398 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/ec9791e3-6999-497b-8a42-d77314d346a2 2025-07-10 02:13:13,405 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 02:13:13,405 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/d26a2fa1-19db-4325-b377-86a2bacc6511 2025-07-10 02:13:13,414 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/9968e878-be16-4ba2-937a-737d626eef81 2025-07-10 02:13:13,431 - INFO - Verified VN network id 9 for VN d26a2fa1-19db-4325-b377-86a2bacc6511 2025-07-10 02:13:13,432 - INFO - Verifications in API Server for VN ctest-vn-84562307 passed 2025-07-10 02:13:13,432 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/d26a2fa1-19db-4325-b377-86a2bacc6511 2025-07-10 02:13:13,444 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/9968e878-be16-4ba2-937a-737d626eef81 2025-07-10 02:13:13,453 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/9968e878-be16-4ba2-937a-737d626eef81 2025-07-10 02:13:13,462 - DEBUG - Requesting: http://10.0.0.137:8082/route-target/ec9791e3-6999-497b-8a42-d77314d346a2 2025-07-10 02:13:13,475 - DEBUG - Control-node 10.0.0.137 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-84562307', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36399392', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15161983464466236197', 'uuid-lslong': '12931952888494449937'}, 'enable': 'true', 'created': '2025-07-10T02:13:11', 'last-modified': '2025-07-10T02:13:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.381693'} 2025-07-10 02:13:13,482 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-10 02:13:13,482 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84562307 passed 2025-07-10 02:13:13,482 - DEBUG - ====Verifying policy data for ctest-vn-84562307 in API_Server ====== 2025-07-10 02:13:13,482 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-07-10 02:13:13,488 - DEBUG - Requesting: http://10.0.0.137:8082/domain/dc73e4c1-6b4f-4e80-9fcf-db0ebce8e0f4 2025-07-10 02:13:13,500 - DEBUG - Requesting: http://10.0.0.137:8082/project/88a3d35b-2f6e-4319-a43b-86d7784e47d8 2025-07-10 02:13:13,576 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-network/d26a2fa1-19db-4325-b377-86a2bacc6511 2025-07-10 02:13:13,587 - DEBUG - ==>Verifying data for policy with id: 58873bd9-c346-400c-9575-c58a97e279cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-36399392', 'ctest-policy-allow-all-62574435'] 2025-07-10 02:13:13,587 - INFO - VN ctest-vn-84562307 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-10 02:13:13,587 - DEBUG - Verifying the vn in opserver 2025-07-10 02:13:13,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-84562307 virtual network link through opserver 10.0.0.137 2025-07-10 02:13:13,587 - DEBUG - Requesting: http://10.0.0.137:8081/analytics/uves/virtual-networks 2025-07-10 02:13:13,598 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-84562307', 'href': 'http://10.0.0.137:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-84562307?flat'} 2025-07-10 02:13:13,598 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-84562307 is found in opserver 2025-07-10 02:13:13,611 - DEBUG - Do not have enough data to verify VN in agent 2025-07-10 02:13:13,618 - DEBUG - VRF ids for VN ctest-vn-84562307: {} 2025-07-10 02:13:13,679 - DEBUG - Services list from nova: [, , ] 2025-07-10 02:13:14,683 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3622-1) 2025-07-10 02:13:15,909 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3622-1) 2025-07-10 02:13:15,909 - INFO - Waiting for VM ctest-TestBasicPolicy-36399392-15575832 to be up.. 2025-07-10 02:13:15,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-10 02:13:21,059 - DEBUG - VM is in ACTIVE state now 2025-07-10 02:13:21,059 - INFO - VM name : ctest-TestBasicPolicy-36399392-15575832 2025-07-10 02:13:21,137 - DEBUG - VM ctest-TestBasicPolicy-36399392-15575832 ID is c5a0c603-a840-49f3-a855-acf865538122 2025-07-10 02:13:21,163 - DEBUG - VM ctest-TestBasicPolicy-36399392-15575832 launched on Node cn-jenkins-deploy-platform-ansible-os-3622-1 2025-07-10 02:13:21,243 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/c5a0c603-a840-49f3-a855-acf865538122 2025-07-10 02:13:21,252 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/7350ee12-0eec-4553-a4a1-530598d5990f 2025-07-10 02:13:24,521 - 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 1027ms') 2025-07-10 02:13:24,521 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36399392-15575832 failed! 2025-07-10 02:13:24,577 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36399392:ctest-vn-87250819 is 148.128.36.129 and allocation pool is NOT set 2025-07-10 02:13:26,644 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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.176/3.511/5.847/2.335 ms') 2025-07-10 02:13:26,644 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36399392-15575832 passed 2025-07-10 02:13:26,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:13:26,797 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36399392-15575832, IP 148.128.36.131, Port 22 2025-07-10 02:13:26,961 - DEBUG - VM ctest-TestBasicPolicy-36399392-15575832 is ready for SSH connections 2025-07-10 02:13:26,961 - INFO - Waiting for VM ctest-TestBasicPolicy-36399392-16867841 to be up.. 2025-07-10 02:13:27,039 - DEBUG - VM is in ACTIVE state now 2025-07-10 02:13:27,039 - INFO - VM name : ctest-TestBasicPolicy-36399392-16867841 2025-07-10 02:13:27,108 - DEBUG - VM ctest-TestBasicPolicy-36399392-16867841 ID is 4525e2e7-a743-415b-bbe4-f3d96ddfa2de 2025-07-10 02:13:27,108 - DEBUG - VM ctest-TestBasicPolicy-36399392-16867841 launched on Node cn-jenkins-deploy-platform-ansible-os-3622-1 2025-07-10 02:13:27,180 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/4525e2e7-a743-415b-bbe4-f3d96ddfa2de 2025-07-10 02:13:27,189 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/54292f5e-0bc6-4d84-9ec7-161ed67d2069 2025-07-10 02:13:28,437 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/1.635/2.776/1.141 ms') 2025-07-10 02:13:28,437 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36399392-16867841 passed 2025-07-10 02:13:28,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:13:28,585 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36399392-16867841, IP 200.109.85.131, Port 22 2025-07-10 02:13:28,763 - DEBUG - VM ctest-TestBasicPolicy-36399392-16867841 is ready for SSH connections 2025-07-10 02:13:28,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:13:28,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.109.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-07-10 02:13:28,763 - DEBUG - ping -s 56 -c 3 -W 1 200.109.85.131 2025-07-10 02:13:32,453 - DEBUG - PING 200.109.85.131 (200.109.85.131): 56 data bytes 64 bytes from 200.109.85.131: seq=0 ttl=63 time=3.341 ms 64 bytes from 200.109.85.131: seq=1 ttl=63 time=0.806 ms 64 bytes from 200.109.85.131: seq=2 ttl=63 time=0.812 ms --- 200.109.85.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.806/1.653/3.341 ms 2025-07-10 02:13:32,453 - INFO - Ping to IP 200.109.85.131 from VM ctest-TestBasicPolicy-36399392-15575832 passed 2025-07-10 02:13:32,657 - DEBUG - Policy Update Response {"network-policy": {"uuid": "58873bd9-c346-400c-9575-c58a97e279cd", "href": "http://10.0.0.137:8082/network-policy/58873bd9-c346-400c-9575-c58a97e279cd"}} 2025-07-10 02:13:32,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-10 02:13:32,657 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.109.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-07-10 02:13:32,657 - DEBUG - ping -s 56 -c 3 -W 1 200.109.85.131 2025-07-10 02:13:35,860 - DEBUG - PING 200.109.85.131 (200.109.85.131): 56 data bytes --- 200.109.85.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-10 02:13:35,860 - WARNING - Ping to IP 200.109.85.131 from VM ctest-TestBasicPolicy-36399392-15575832 failed 2025-07-10 02:13:35,860 - INFO - Deleting VM ctest-TestBasicPolicy-36399392-16867841 2025-07-10 02:13:35,928 - INFO - Deleting VM ctest-TestBasicPolicy-36399392-15575832 2025-07-10 02:13:36,320 - INFO - Deleted policy ctest-policy-allow-all-62574435 2025-07-10 02:13:36,320 - INFO - Deleting VN ctest-vn-84562307 2025-07-10 02:13:36,359 - DEBUG - VN d26a2fa1-19db-4325-b377-86a2bacc6511 still in use: Unable to complete operation on network d26a2fa1-19db-4325-b377-86a2bacc6511. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-924f8b48-ddeb-46d3-a56d-c22700061453'] 2025-07-10 02:13:36,359 - WARNING - Deleting VN ctest-vn-84562307 failed..Will retry 2025-07-10 02:13:38,503 - DEBUG - Response for deleting network () 2025-07-10 02:13:38,503 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/9968e878-be16-4ba2-937a-737d626eef81 2025-07-10 02:13:38,509 - DEBUG - Response Code: 404 2025-07-10 02:13:38,509 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-07-10 02:13:38,516 - DEBUG - Requesting: http://10.0.0.137:8082/domain/dc73e4c1-6b4f-4e80-9fcf-db0ebce8e0f4 2025-07-10 02:13:38,571 - DEBUG - Requesting: http://10.0.0.137:8082/project/88a3d35b-2f6e-4319-a43b-86d7784e47d8 2025-07-10 02:13:38,646 - INFO - Validated that VN ctest-vn-84562307 is not found in API Server 2025-07-10 02:13:38,657 - DEBUG - VN ctest-vn-84562307 is not present in Agent 10.0.0.137 2025-07-10 02:13:38,657 - INFO - Validated that VN ctest-vn-84562307 is not in any agent 2025-07-10 02:13:38,674 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84562307 info 2025-07-10 02:13:38,674 - INFO - Deleting VN ctest-vn-87250819 2025-07-10 02:13:38,794 - DEBUG - Response for deleting network () 2025-07-10 02:13:38,794 - DEBUG - Requesting: http://10.0.0.137:8082/routing-instance/0e4ab509-19a1-41ec-87e3-11765870e310 2025-07-10 02:13:38,799 - DEBUG - Response Code: 404 2025-07-10 02:13:38,799 - DEBUG - Requesting: http://10.0.0.137:8082/domains 2025-07-10 02:13:38,804 - DEBUG - Requesting: http://10.0.0.137:8082/domain/dc73e4c1-6b4f-4e80-9fcf-db0ebce8e0f4 2025-07-10 02:13:38,858 - DEBUG - Requesting: http://10.0.0.137:8082/project/88a3d35b-2f6e-4319-a43b-86d7784e47d8 2025-07-10 02:13:38,939 - INFO - Validated that VN ctest-vn-87250819 is not found in API Server 2025-07-10 02:13:38,954 - DEBUG - VN ctest-vn-87250819 is not present in Agent 10.0.0.137 2025-07-10 02:13:38,954 - INFO - Validated that VN ctest-vn-87250819 is not in any agent 2025-07-10 02:13:38,971 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87250819 info 2025-07-10 02:13:39,226 - DEBUG - No XMPP flaps were noticed during the test
2025-07-10 02:13:39,227 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-10 02:13:39,227 - INFO - -------------------------------------------------------------------------------- 2025-07-10 02:13:39,886 - INFO - Deleted project: ctest-TestBasicPolicy-36399392, ID : 88a3d35b-2f6e-4319-a43b-86d7784e47d8