2025-05-01 02:11:23,876 - INFO - Domain Default found not creating 2025-05-01 02:11:24,007 - INFO - Project ctest-TestBasicPolicy-29112364 not found, creating it 2025-05-01 02:11:24,476 - INFO - Created Project:ctest-TestBasicPolicy-29112364, ID : 554c027a-2730-4ba1-8d6b-8e200c7a7087 2025-05-01 02:11:25,827 - INFO - ================================================================================ 2025-05-01 02:11:25,827 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-01 02:11:25,827 - 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-05-01 02:11:26,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.201': '0'}} with 2025-05-01 02:11:26,086 - INFO - Initial checks done. Running the testcase now 2025-05-01 02:11:26,086 - INFO - 2025-05-01 02:11:26,658 - DEBUG - Response for create_network : {'network': {'id': 'bc8bfe97-f675-4a7b-88bf-390ffc33c4e6', 'name': 'ctest-vn-07970752', 'tenant_id': '554c027a27304ba18d6b8e200c7a7087', 'project_id': '554c027a27304ba18d6b8e200c7a7087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-vn-07970752'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:11:26,819 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db158d9b-f3f2-464b-a426-3afd68f16da2', 'name': '', 'tenant_id': '554c027a27304ba18d6b8e200c7a7087', 'network_id': 'bc8bfe97-f675-4a7b-88bf-390ffc33c4e6', 'ip_version': 4, 'cidr': '163.16.166.0/26', 'allocation_pools': [{'start': '163.16.166.2', 'end': '163.16.166.62'}], 'gateway_ip': '163.16.166.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.16.166.2', 'tags': [], 'project_id': '554c027a27304ba18d6b8e200c7a7087'}} 2025-05-01 02:11:26,835 - INFO - Created VN ctest-vn-07970752 2025-05-01 02:11:26,889 - DEBUG - VN ctest-vn-07970752 UUID is bc8bfe97-f675-4a7b-88bf-390ffc33c4e6 2025-05-01 02:11:27,198 - DEBUG - Response for create_network : {'network': {'id': '7756025a-5017-498f-b2c5-bab1cc0eab01', 'name': 'ctest-vn-45034350', 'tenant_id': '554c027a27304ba18d6b8e200c7a7087', 'project_id': '554c027a27304ba18d6b8e200c7a7087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-vn-45034350'], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:11:27,398 - DEBUG - Response for create_subnet : {'subnet': {'id': '78984fd6-14b3-46b4-a1d1-05a6f136e5c1', 'name': '', 'tenant_id': '554c027a27304ba18d6b8e200c7a7087', 'network_id': '7756025a-5017-498f-b2c5-bab1cc0eab01', 'ip_version': 4, 'cidr': '186.34.68.128/26', 'allocation_pools': [{'start': '186.34.68.130', 'end': '186.34.68.190'}], 'gateway_ip': '186.34.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.34.68.130', 'tags': [], 'project_id': '554c027a27304ba18d6b8e200c7a7087'}} 2025-05-01 02:11:27,416 - INFO - Created VN ctest-vn-45034350 2025-05-01 02:11:27,469 - DEBUG - VN ctest-vn-45034350 UUID is 7756025a-5017-498f-b2c5-bab1cc0eab01 2025-05-01 02:11:27,617 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-07970752, 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-29112364:ctest-vn-45034350, 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-05-01 02:11:27,909 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc8bfe97-f675-4a7b-88bf-390ffc33c4e6', 'name': 'ctest-vn-07970752', 'tenant_id': '554c027a27304ba18d6b8e200c7a7087', 'project_id': '554c027a27304ba18d6b8e200c7a7087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db158d9b-f3f2-464b-a426-3afd68f16da2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-vn-07970752'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-policy-allow-all-21317117']], 'subnet_ipam': [{'subnet_cidr': '163.16.166.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:11:28,169 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7756025a-5017-498f-b2c5-bab1cc0eab01', 'name': 'ctest-vn-45034350', 'tenant_id': '554c027a27304ba18d6b8e200c7a7087', 'project_id': '554c027a27304ba18d6b8e200c7a7087', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78984fd6-14b3-46b4-a1d1-05a6f136e5c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-vn-45034350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-policy-allow-all-21317117']], 'subnet_ipam': [{'subnet_cidr': '186.34.68.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-01 02:11:28,327 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-01 02:11:28,622 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-01 02:11:28,649 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b9219c3c-1d94-45c4-8152-181e0d22822c 2025-05-01 02:11:28,664 - DEBUG - Requesting: http://10.0.0.130:8082/project/554c027a-2730-4ba1-8d6b-8e200c7a7087 2025-05-01 02:11:28,737 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/bc8bfe97-f675-4a7b-88bf-390ffc33c4e6 2025-05-01 02:11:28,751 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/bc8bfe97-f675-4a7b-88bf-390ffc33c4e6 2025-05-01 02:11:28,761 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4dcbf084-405d-4300-8bc4-834380eb4f69 2025-05-01 02:11:28,768 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4dcbf084-405d-4300-8bc4-834380eb4f69 2025-05-01 02:11:28,775 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/98f3b6f4-1ed8-48d5-8741-632f26c854de 2025-05-01 02:11:28,781 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 02:11:28,781 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/bc8bfe97-f675-4a7b-88bf-390ffc33c4e6 2025-05-01 02:11:28,791 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4dcbf084-405d-4300-8bc4-834380eb4f69 2025-05-01 02:11:28,803 - INFO - Verified VN network id 7 for VN bc8bfe97-f675-4a7b-88bf-390ffc33c4e6 2025-05-01 02:11:28,803 - INFO - Verifications in API Server for VN ctest-vn-07970752 passed 2025-05-01 02:11:28,803 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/bc8bfe97-f675-4a7b-88bf-390ffc33c4e6 2025-05-01 02:11:28,812 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4dcbf084-405d-4300-8bc4-834380eb4f69 2025-05-01 02:11:28,818 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4dcbf084-405d-4300-8bc4-834380eb4f69 2025-05-01 02:11:28,824 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/98f3b6f4-1ed8-48d5-8741-632f26c854de 2025-05-01 02:11:28,834 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-07970752', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29112364', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13586232629521631867', 'uuid-lslong': '9853657250528478438'}, 'enable': 'true', 'created': '2025-05-01T02:11:26', 'last-modified': '2025-05-01T02:11:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942768'} 2025-05-01 02:11:28,840 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-01 02:11:28,840 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07970752 passed 2025-05-01 02:11:28,841 - DEBUG - ====Verifying policy data for ctest-vn-07970752 in API_Server ====== 2025-05-01 02:11:28,841 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-01 02:11:28,845 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b9219c3c-1d94-45c4-8152-181e0d22822c 2025-05-01 02:11:28,855 - DEBUG - Requesting: http://10.0.0.130:8082/project/554c027a-2730-4ba1-8d6b-8e200c7a7087 2025-05-01 02:11:28,920 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/bc8bfe97-f675-4a7b-88bf-390ffc33c4e6 2025-05-01 02:11:28,930 - DEBUG - ==>Verifying data for policy with id: ad2d7133-a6a1-42e9-8761-dfa365cdd8f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-policy-allow-all-21317117'] 2025-05-01 02:11:28,930 - INFO - VN ctest-vn-07970752 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 02:11:28,930 - DEBUG - Verifying the vn in opserver 2025-05-01 02:11:28,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-07970752 virtual network link through opserver 10.0.0.130 2025-05-01 02:11:28,930 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-01 02:11:29,220 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-01 02:11:29,269 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-07970752', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-07970752?flat'} 2025-05-01 02:11:29,269 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-07970752 is found in opserver 2025-05-01 02:11:29,279 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 02:11:29,283 - DEBUG - VRF ids for VN ctest-vn-07970752: {} 2025-05-01 02:11:29,283 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-01 02:11:29,288 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b9219c3c-1d94-45c4-8152-181e0d22822c 2025-05-01 02:11:29,298 - DEBUG - Requesting: http://10.0.0.130:8082/project/554c027a-2730-4ba1-8d6b-8e200c7a7087 2025-05-01 02:11:29,364 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/7756025a-5017-498f-b2c5-bab1cc0eab01 2025-05-01 02:11:29,375 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/7756025a-5017-498f-b2c5-bab1cc0eab01 2025-05-01 02:11:29,384 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c6784ec2-f099-4a8b-a5ca-49df067f32cb 2025-05-01 02:11:29,390 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c6784ec2-f099-4a8b-a5ca-49df067f32cb 2025-05-01 02:11:29,396 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f368775c-277e-4684-9843-ba43d5a17c55 2025-05-01 02:11:29,402 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 02:11:29,402 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/7756025a-5017-498f-b2c5-bab1cc0eab01 2025-05-01 02:11:29,410 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c6784ec2-f099-4a8b-a5ca-49df067f32cb 2025-05-01 02:11:29,421 - INFO - Verified VN network id 8 for VN 7756025a-5017-498f-b2c5-bab1cc0eab01 2025-05-01 02:11:29,421 - INFO - Verifications in API Server for VN ctest-vn-45034350 passed 2025-05-01 02:11:29,422 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/7756025a-5017-498f-b2c5-bab1cc0eab01 2025-05-01 02:11:29,430 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c6784ec2-f099-4a8b-a5ca-49df067f32cb 2025-05-01 02:11:29,435 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c6784ec2-f099-4a8b-a5ca-49df067f32cb 2025-05-01 02:11:29,441 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f368775c-277e-4684-9843-ba43d5a17c55 2025-05-01 02:11:29,451 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-45034350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29112364', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8599063125424556431', 'uuid-lslong': '12881907581958662913'}, 'enable': 'true', 'created': '2025-05-01T02:11:27', 'last-modified': '2025-05-01T02:11:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.310433'} 2025-05-01 02:11:29,457 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-01 02:11:29,457 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45034350 passed 2025-05-01 02:11:29,458 - DEBUG - ====Verifying policy data for ctest-vn-45034350 in API_Server ====== 2025-05-01 02:11:29,458 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-01 02:11:29,463 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b9219c3c-1d94-45c4-8152-181e0d22822c 2025-05-01 02:11:29,473 - DEBUG - Requesting: http://10.0.0.130:8082/project/554c027a-2730-4ba1-8d6b-8e200c7a7087 2025-05-01 02:11:29,543 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/7756025a-5017-498f-b2c5-bab1cc0eab01 2025-05-01 02:11:29,553 - DEBUG - ==>Verifying data for policy with id: ad2d7133-a6a1-42e9-8761-dfa365cdd8f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-29112364', 'ctest-policy-allow-all-21317117'] 2025-05-01 02:11:29,553 - INFO - VN ctest-vn-45034350 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-01 02:11:29,553 - DEBUG - Verifying the vn in opserver 2025-05-01 02:11:29,553 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-45034350 virtual network link through opserver 10.0.0.130 2025-05-01 02:11:29,553 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-05-01 02:11:29,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-45034350', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-45034350?flat'} 2025-05-01 02:11:29,562 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-45034350 is found in opserver 2025-05-01 02:11:29,572 - DEBUG - Do not have enough data to verify VN in agent 2025-05-01 02:11:29,577 - DEBUG - VRF ids for VN ctest-vn-45034350: {} 2025-05-01 02:11:29,624 - DEBUG - Services list from nova: [, , ] 2025-05-01 02:11:30,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3253-1) 2025-05-01 02:11:31,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3253-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3253-1) 2025-05-01 02:11:31,729 - INFO - Waiting for VM ctest-TestBasicPolicy-29112364-67929532 to be up.. 2025-05-01 02:11:31,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-01 02:11:36,884 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:11:36,884 - INFO - VM name : ctest-TestBasicPolicy-29112364-67929532 2025-05-01 02:11:36,949 - DEBUG - VM ctest-TestBasicPolicy-29112364-67929532 ID is 4c9ea4c5-132b-4170-a668-d2993bfa18fa 2025-05-01 02:11:36,966 - DEBUG - VM ctest-TestBasicPolicy-29112364-67929532 launched on Node cn-jenkins-deploy-platform-ansible-os-3253-1 2025-05-01 02:11:37,031 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/4c9ea4c5-132b-4170-a668-d2993bfa18fa 2025-05-01 02:11:37,039 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/7a285073-9694-4abc-8547-829fb528da0a 2025-05-01 02:11:40,284 - 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 1016ms') 2025-05-01 02:11:40,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29112364-67929532 failed! 2025-05-01 02:11:40,337 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29112364:ctest-vn-07970752 is 163.16.166.1 and allocation pool is NOT set 2025-05-01 02:11:42,393 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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 = 0.490/1.766/3.042/1.276 ms') 2025-05-01 02:11:42,393 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29112364-67929532 passed 2025-05-01 02:11:42,541 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:11:42,541 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29112364-67929532, IP 163.16.166.3, Port 22 2025-05-01 02:11:42,712 - DEBUG - VM ctest-TestBasicPolicy-29112364-67929532 is ready for SSH connections 2025-05-01 02:11:42,713 - INFO - Waiting for VM ctest-TestBasicPolicy-29112364-02834482 to be up.. 2025-05-01 02:11:42,780 - DEBUG - VM is in ACTIVE state now 2025-05-01 02:11:42,780 - INFO - VM name : ctest-TestBasicPolicy-29112364-02834482 2025-05-01 02:11:42,851 - DEBUG - VM ctest-TestBasicPolicy-29112364-02834482 ID is 507324dc-9705-462f-9481-6fbe5ff5af43 2025-05-01 02:11:42,851 - DEBUG - VM ctest-TestBasicPolicy-29112364-02834482 launched on Node cn-jenkins-deploy-platform-ansible-os-3253-1 2025-05-01 02:11:42,915 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/507324dc-9705-462f-9481-6fbe5ff5af43 2025-05-01 02:11:42,922 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/b3a6f01e-cfaa-4ce9-9ea0-8ffb25adbde2 2025-05-01 02:11:44,150 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.506/2.687/1.181 ms') 2025-05-01 02:11:44,150 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29112364-02834482 passed 2025-05-01 02:11:44,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:11:44,301 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29112364-02834482, IP 186.34.68.131, Port 22 2025-05-01 02:11:44,471 - DEBUG - VM ctest-TestBasicPolicy-29112364-02834482 is ready for SSH connections 2025-05-01 02:11:44,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:11:44,472 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.34.68.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-05-01 02:11:44,472 - DEBUG - ping -s 56 -c 3 -W 1 186.34.68.131 2025-05-01 02:11:48,136 - DEBUG - PING 186.34.68.131 (186.34.68.131): 56 data bytes 64 bytes from 186.34.68.131: seq=0 ttl=63 time=3.047 ms 64 bytes from 186.34.68.131: seq=1 ttl=63 time=0.828 ms 64 bytes from 186.34.68.131: seq=2 ttl=63 time=0.683 ms --- 186.34.68.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.683/1.519/3.047 ms 2025-05-01 02:11:48,136 - INFO - Ping to IP 186.34.68.131 from VM ctest-TestBasicPolicy-29112364-67929532 passed 2025-05-01 02:11:48,313 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ad2d7133-a6a1-42e9-8761-dfa365cdd8f1", "href": "http://10.0.0.130:8082/network-policy/ad2d7133-a6a1-42e9-8761-dfa365cdd8f1"}} 2025-05-01 02:11:48,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-01 02:11:48,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.34.68.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-05-01 02:11:48,313 - DEBUG - ping -s 56 -c 3 -W 1 186.34.68.131 2025-05-01 02:11:51,509 - DEBUG - PING 186.34.68.131 (186.34.68.131): 56 data bytes --- 186.34.68.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-01 02:11:51,509 - WARNING - Ping to IP 186.34.68.131 from VM ctest-TestBasicPolicy-29112364-67929532 failed 2025-05-01 02:11:51,509 - INFO - Deleting VM ctest-TestBasicPolicy-29112364-02834482 2025-05-01 02:11:51,567 - INFO - Deleting VM ctest-TestBasicPolicy-29112364-67929532 2025-05-01 02:11:51,941 - INFO - Deleted policy ctest-policy-allow-all-21317117 2025-05-01 02:11:51,941 - INFO - Deleting VN ctest-vn-45034350 2025-05-01 02:11:51,977 - DEBUG - VN 7756025a-5017-498f-b2c5-bab1cc0eab01 still in use: Unable to complete operation on network 7756025a-5017-498f-b2c5-bab1cc0eab01. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c5072c2d-5dc1-4939-8991-f46b53998008'] 2025-05-01 02:11:51,978 - WARNING - Deleting VN ctest-vn-45034350 failed..Will retry 2025-05-01 02:11:54,072 - DEBUG - Response for deleting network () 2025-05-01 02:11:54,072 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c6784ec2-f099-4a8b-a5ca-49df067f32cb 2025-05-01 02:11:54,078 - DEBUG - Response Code: 404 2025-05-01 02:11:54,078 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-01 02:11:54,083 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b9219c3c-1d94-45c4-8152-181e0d22822c 2025-05-01 02:11:54,139 - DEBUG - Requesting: http://10.0.0.130:8082/project/554c027a-2730-4ba1-8d6b-8e200c7a7087 2025-05-01 02:11:54,210 - INFO - Validated that VN ctest-vn-45034350 is not found in API Server 2025-05-01 02:11:54,220 - DEBUG - VN ctest-vn-45034350 is not present in Agent 10.0.0.130 2025-05-01 02:11:54,220 - INFO - Validated that VN ctest-vn-45034350 is not in any agent 2025-05-01 02:11:54,234 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45034350 info 2025-05-01 02:11:54,234 - INFO - Deleting VN ctest-vn-07970752 2025-05-01 02:11:54,320 - DEBUG - Response for deleting network () 2025-05-01 02:11:54,320 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/4dcbf084-405d-4300-8bc4-834380eb4f69 2025-05-01 02:11:54,325 - DEBUG - Response Code: 404 2025-05-01 02:11:54,325 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-05-01 02:11:54,331 - DEBUG - Requesting: http://10.0.0.130:8082/domain/b9219c3c-1d94-45c4-8152-181e0d22822c 2025-05-01 02:11:54,386 - DEBUG - Requesting: http://10.0.0.130:8082/project/554c027a-2730-4ba1-8d6b-8e200c7a7087 2025-05-01 02:11:54,453 - INFO - Validated that VN ctest-vn-07970752 is not found in API Server 2025-05-01 02:11:54,463 - DEBUG - VN ctest-vn-07970752 is not present in Agent 10.0.0.130 2025-05-01 02:11:54,463 - INFO - Validated that VN ctest-vn-07970752 is not in any agent 2025-05-01 02:11:54,479 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07970752 info 2025-05-01 02:11:54,734 - DEBUG - No XMPP flaps were noticed during the test 2025-05-01 02:11:54,734 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-05-01 02:11:54,734 - INFO - -------------------------------------------------------------------------------- 2025-05-01 02:11:55,394 - INFO - Deleted project: ctest-TestBasicPolicy-29112364, ID : 554c027a-2730-4ba1-8d6b-8e200c7a7087