2025-07-19 08:06:59,753 - INFO - Domain Default found not creating 2025-07-19 08:06:59,887 - INFO - Project ctest-TestBasicPolicy-82269076 not found, creating it 2025-07-19 08:07:00,328 - INFO - Created Project:ctest-TestBasicPolicy-82269076, ID : 3fed6073-7a74-4e75-8627-28e207a3a513 2025-07-19 08:07:01,707 - INFO - ================================================================================ 2025-07-19 08:07:01,707 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-19 08:07:01,707 - 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-19 08:07:01,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.193': '0'}} with 2025-07-19 08:07:01,956 - INFO - Initial checks done. Running the testcase now 2025-07-19 08:07:01,956 - INFO - 2025-07-19 08:07:02,480 - DEBUG - Response for create_network : {'network': {'id': '31e226a2-6998-4145-8256-1f0ac28b02e8', 'name': 'ctest-vn-47447434', 'tenant_id': '3fed60737a744e75862728e207a3a513', 'project_id': '3fed60737a744e75862728e207a3a513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-vn-47447434'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 08:07:02,681 - DEBUG - Response for create_subnet : {'subnet': {'id': '1de58a34-46e4-4fad-877d-015800646042', 'name': '', 'tenant_id': '3fed60737a744e75862728e207a3a513', 'network_id': '31e226a2-6998-4145-8256-1f0ac28b02e8', 'ip_version': 4, 'cidr': '166.35.195.0/26', 'allocation_pools': [{'start': '166.35.195.2', 'end': '166.35.195.62'}], 'gateway_ip': '166.35.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.35.195.2', 'tags': [], 'project_id': '3fed60737a744e75862728e207a3a513'}} 2025-07-19 08:07:02,696 - INFO - Created VN ctest-vn-47447434 2025-07-19 08:07:02,750 - DEBUG - VN ctest-vn-47447434 UUID is 31e226a2-6998-4145-8256-1f0ac28b02e8 2025-07-19 08:07:03,066 - DEBUG - Response for create_network : {'network': {'id': '2ca113ae-d2c4-4b4f-b410-b8d0163b1e21', 'name': 'ctest-vn-58686601', 'tenant_id': '3fed60737a744e75862728e207a3a513', 'project_id': '3fed60737a744e75862728e207a3a513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-vn-58686601'], 'port_security_enabled': True, 'description': ''}} 2025-07-19 08:07:03,216 - DEBUG - Response for create_subnet : {'subnet': {'id': '76866c83-d6b1-431a-b1fe-0e4d75c27cc0', 'name': '', 'tenant_id': '3fed60737a744e75862728e207a3a513', 'network_id': '2ca113ae-d2c4-4b4f-b410-b8d0163b1e21', 'ip_version': 4, 'cidr': '107.134.192.0/26', 'allocation_pools': [{'start': '107.134.192.2', 'end': '107.134.192.62'}], 'gateway_ip': '107.134.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.134.192.2', 'tags': [], 'project_id': '3fed60737a744e75862728e207a3a513'}} 2025-07-19 08:07:03,232 - INFO - Created VN ctest-vn-58686601 2025-07-19 08:07:03,282 - DEBUG - VN ctest-vn-58686601 UUID is 2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 2025-07-19 08:07:03,393 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-47447434, 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-82269076:ctest-vn-58686601, 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-19 08:07:03,687 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '31e226a2-6998-4145-8256-1f0ac28b02e8', 'name': 'ctest-vn-47447434', 'tenant_id': '3fed60737a744e75862728e207a3a513', 'project_id': '3fed60737a744e75862728e207a3a513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1de58a34-46e4-4fad-877d-015800646042'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-vn-47447434'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-policy-allow-all-85223924']], 'subnet_ipam': [{'subnet_cidr': '166.35.195.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 08:07:03,920 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ca113ae-d2c4-4b4f-b410-b8d0163b1e21', 'name': 'ctest-vn-58686601', 'tenant_id': '3fed60737a744e75862728e207a3a513', 'project_id': '3fed60737a744e75862728e207a3a513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76866c83-d6b1-431a-b1fe-0e4d75c27cc0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-vn-58686601'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-policy-allow-all-85223924']], 'subnet_ipam': [{'subnet_cidr': '107.134.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-19 08:07:04,090 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-19 08:07:04,384 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-19 08:07:04,409 - DEBUG - Requesting: http://10.0.0.249:8082/domain/73353f16-fc09-42d9-913e-4911ef5c135f 2025-07-19 08:07:04,420 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fed6073-7a74-4e75-8627-28e207a3a513 2025-07-19 08:07:04,495 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/31e226a2-6998-4145-8256-1f0ac28b02e8 2025-07-19 08:07:04,505 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/31e226a2-6998-4145-8256-1f0ac28b02e8 2025-07-19 08:07:04,513 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffd7d743-f053-47ca-b1f7-8f60ac50c669 2025-07-19 08:07:04,519 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffd7d743-f053-47ca-b1f7-8f60ac50c669 2025-07-19 08:07:04,525 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8cf4ce40-9741-4c7a-a10b-d16eff7301dd 2025-07-19 08:07:04,530 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 08:07:04,530 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/31e226a2-6998-4145-8256-1f0ac28b02e8 2025-07-19 08:07:04,538 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffd7d743-f053-47ca-b1f7-8f60ac50c669 2025-07-19 08:07:04,552 - INFO - Verified VN network id 8 for VN 31e226a2-6998-4145-8256-1f0ac28b02e8 2025-07-19 08:07:04,552 - INFO - Verifications in API Server for VN ctest-vn-47447434 passed 2025-07-19 08:07:04,552 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/31e226a2-6998-4145-8256-1f0ac28b02e8 2025-07-19 08:07:04,562 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffd7d743-f053-47ca-b1f7-8f60ac50c669 2025-07-19 08:07:04,568 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffd7d743-f053-47ca-b1f7-8f60ac50c669 2025-07-19 08:07:04,575 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8cf4ce40-9741-4c7a-a10b-d16eff7301dd 2025-07-19 08:07:04,585 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-47447434', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82269076', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3594477931593220421', 'uuid-lslong': '9391728204001772264'}, 'enable': 'true', 'created': '2025-07-19T08:07:02', 'last-modified': '2025-07-19T08:07:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932885'} 2025-07-19 08:07:04,592 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-19 08:07:04,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47447434 passed 2025-07-19 08:07:04,592 - DEBUG - ====Verifying policy data for ctest-vn-47447434 in API_Server ====== 2025-07-19 08:07:04,592 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-19 08:07:04,598 - DEBUG - Requesting: http://10.0.0.249:8082/domain/73353f16-fc09-42d9-913e-4911ef5c135f 2025-07-19 08:07:04,609 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fed6073-7a74-4e75-8627-28e207a3a513 2025-07-19 08:07:04,678 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/31e226a2-6998-4145-8256-1f0ac28b02e8 2025-07-19 08:07:04,686 - DEBUG - ==>Verifying data for policy with id: c7667636-cdc2-4524-898c-615d53dd5907, fqn: ['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-policy-allow-all-85223924'] 2025-07-19 08:07:04,686 - INFO - VN ctest-vn-47447434 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 08:07:04,686 - DEBUG - Verifying the vn in opserver 2025-07-19 08:07:04,686 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-47447434 virtual network link through opserver 10.0.0.249 2025-07-19 08:07:04,686 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-19 08:07:04,975 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-19 08:07:05,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-47447434', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-47447434?flat'} 2025-07-19 08:07:05,027 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-47447434 is found in opserver 2025-07-19 08:07:05,038 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 08:07:05,043 - DEBUG - VRF ids for VN ctest-vn-47447434: {} 2025-07-19 08:07:05,044 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-19 08:07:05,050 - DEBUG - Requesting: http://10.0.0.249:8082/domain/73353f16-fc09-42d9-913e-4911ef5c135f 2025-07-19 08:07:05,062 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fed6073-7a74-4e75-8627-28e207a3a513 2025-07-19 08:07:05,129 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 2025-07-19 08:07:05,140 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 2025-07-19 08:07:05,150 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ac59ca44-7f7d-4ce2-a5db-532e4f76e980 2025-07-19 08:07:05,158 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ac59ca44-7f7d-4ce2-a5db-532e4f76e980 2025-07-19 08:07:05,164 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/6e131b5a-640e-4193-962f-06bd6dbd55f6 2025-07-19 08:07:05,170 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 08:07:05,170 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 2025-07-19 08:07:05,178 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ac59ca44-7f7d-4ce2-a5db-532e4f76e980 2025-07-19 08:07:05,189 - INFO - Verified VN network id 9 for VN 2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 2025-07-19 08:07:05,189 - INFO - Verifications in API Server for VN ctest-vn-58686601 passed 2025-07-19 08:07:05,189 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 2025-07-19 08:07:05,197 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ac59ca44-7f7d-4ce2-a5db-532e4f76e980 2025-07-19 08:07:05,202 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ac59ca44-7f7d-4ce2-a5db-532e4f76e980 2025-07-19 08:07:05,207 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/6e131b5a-640e-4193-962f-06bd6dbd55f6 2025-07-19 08:07:05,217 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-58686601', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82269076', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3215873250500561743', 'uuid-lslong': '12975073730320080417'}, 'enable': 'true', 'created': '2025-07-19T08:07:03', 'last-modified': '2025-07-19T08:07:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.320430'} 2025-07-19 08:07:05,222 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-19 08:07:05,222 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58686601 passed 2025-07-19 08:07:05,222 - DEBUG - ====Verifying policy data for ctest-vn-58686601 in API_Server ====== 2025-07-19 08:07:05,222 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-19 08:07:05,227 - DEBUG - Requesting: http://10.0.0.249:8082/domain/73353f16-fc09-42d9-913e-4911ef5c135f 2025-07-19 08:07:05,237 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fed6073-7a74-4e75-8627-28e207a3a513 2025-07-19 08:07:05,307 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 2025-07-19 08:07:05,316 - DEBUG - ==>Verifying data for policy with id: c7667636-cdc2-4524-898c-615d53dd5907, fqn: ['default-domain', 'ctest-TestBasicPolicy-82269076', 'ctest-policy-allow-all-85223924'] 2025-07-19 08:07:05,316 - INFO - VN ctest-vn-58686601 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-19 08:07:05,316 - DEBUG - Verifying the vn in opserver 2025-07-19 08:07:05,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-58686601 virtual network link through opserver 10.0.0.249 2025-07-19 08:07:05,316 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-07-19 08:07:05,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-58686601', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-58686601?flat'} 2025-07-19 08:07:05,327 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-58686601 is found in opserver 2025-07-19 08:07:05,336 - DEBUG - Do not have enough data to verify VN in agent 2025-07-19 08:07:05,341 - DEBUG - VRF ids for VN ctest-vn-58686601: {} 2025-07-19 08:07:05,404 - DEBUG - Services list from nova: [, , ] 2025-07-19 08:07:06,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3671-1) 2025-07-19 08:07:07,568 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3671-1) 2025-07-19 08:07:07,569 - INFO - Waiting for VM ctest-TestBasicPolicy-82269076-79666606 to be up.. 2025-07-19 08:07:07,637 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-19 08:07:12,710 - DEBUG - VM is in ACTIVE state now 2025-07-19 08:07:12,710 - INFO - VM name : ctest-TestBasicPolicy-82269076-79666606 2025-07-19 08:07:12,776 - DEBUG - VM ctest-TestBasicPolicy-82269076-79666606 ID is 6d57c6d3-6bb6-4cbc-9575-7b115391b0a9 2025-07-19 08:07:12,792 - DEBUG - VM ctest-TestBasicPolicy-82269076-79666606 launched on Node cn-jenkins-deploy-platform-ansible-os-3671-1 2025-07-19 08:07:12,858 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6d57c6d3-6bb6-4cbc-9575-7b115391b0a9 2025-07-19 08:07:12,865 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/3b657fa9-b162-43cc-8657-a7dde1839e28 2025-07-19 08:07:16,129 - 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 1028ms') 2025-07-19 08:07:16,130 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82269076-79666606 failed! 2025-07-19 08:07:16,182 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82269076:ctest-vn-47447434 is 166.35.195.1 and allocation pool is NOT set 2025-07-19 08:07:18,243 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.605 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 = 0.605/1.644/2.684/1.039 ms') 2025-07-19 08:07:18,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82269076-79666606 passed 2025-07-19 08:07:18,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 08:07:18,391 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82269076-79666606, IP 166.35.195.3, Port 22 2025-07-19 08:07:18,542 - DEBUG - VM ctest-TestBasicPolicy-82269076-79666606 is ready for SSH connections 2025-07-19 08:07:18,542 - INFO - Waiting for VM ctest-TestBasicPolicy-82269076-82701073 to be up.. 2025-07-19 08:07:18,610 - DEBUG - VM is in ACTIVE state now 2025-07-19 08:07:18,610 - INFO - VM name : ctest-TestBasicPolicy-82269076-82701073 2025-07-19 08:07:18,675 - DEBUG - VM ctest-TestBasicPolicy-82269076-82701073 ID is 619f4601-40c8-4536-91fa-9b4e1710da39 2025-07-19 08:07:18,675 - DEBUG - VM ctest-TestBasicPolicy-82269076-82701073 launched on Node cn-jenkins-deploy-platform-ansible-os-3671-1 2025-07-19 08:07:18,740 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/619f4601-40c8-4536-91fa-9b4e1710da39 2025-07-19 08:07:18,747 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/9c8a98a0-9e48-479d-a6b4-f86104c465cf 2025-07-19 08:07:19,980 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.568/2.732/1.163 ms') 2025-07-19 08:07:19,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82269076-82701073 passed 2025-07-19 08:07:20,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 08:07:20,130 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82269076-82701073, IP 107.134.192.3, Port 22 2025-07-19 08:07:20,289 - DEBUG - VM ctest-TestBasicPolicy-82269076-82701073 is ready for SSH connections 2025-07-19 08:07:20,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 08:07:20,290 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.134.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-19 08:07:20,290 - DEBUG - ping -s 56 -c 3 -W 1 107.134.192.3 2025-07-19 08:07:24,299 - DEBUG - PING 107.134.192.3 (107.134.192.3): 56 data bytes 64 bytes from 107.134.192.3: seq=0 ttl=63 time=3.236 ms 64 bytes from 107.134.192.3: seq=1 ttl=63 time=0.809 ms 64 bytes from 107.134.192.3: seq=2 ttl=63 time=0.837 ms --- 107.134.192.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.627/3.236 ms 2025-07-19 08:07:24,299 - INFO - Ping to IP 107.134.192.3 from VM ctest-TestBasicPolicy-82269076-79666606 passed 2025-07-19 08:07:24,482 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c7667636-cdc2-4524-898c-615d53dd5907", "href": "http://10.0.0.249:8082/network-policy/c7667636-cdc2-4524-898c-615d53dd5907"}} 2025-07-19 08:07:24,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-19 08:07:24,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.134.192.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-07-19 08:07:24,483 - DEBUG - ping -s 56 -c 3 -W 1 107.134.192.3 2025-07-19 08:07:27,677 - DEBUG - PING 107.134.192.3 (107.134.192.3): 56 data bytes --- 107.134.192.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-19 08:07:27,677 - WARNING - Ping to IP 107.134.192.3 from VM ctest-TestBasicPolicy-82269076-79666606 failed 2025-07-19 08:07:27,678 - INFO - Deleting VM ctest-TestBasicPolicy-82269076-82701073 2025-07-19 08:07:27,744 - INFO - Deleting VM ctest-TestBasicPolicy-82269076-79666606 2025-07-19 08:07:28,115 - INFO - Deleted policy ctest-policy-allow-all-85223924 2025-07-19 08:07:28,115 - INFO - Deleting VN ctest-vn-58686601 2025-07-19 08:07:28,148 - DEBUG - VN 2ca113ae-d2c4-4b4f-b410-b8d0163b1e21 still in use: Unable to complete operation on network 2ca113ae-d2c4-4b4f-b410-b8d0163b1e21. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6d92d2a7-4260-4afb-a9a4-63fe238ab485'] 2025-07-19 08:07:28,148 - WARNING - Deleting VN ctest-vn-58686601 failed..Will retry 2025-07-19 08:07:30,254 - DEBUG - Response for deleting network () 2025-07-19 08:07:30,254 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ac59ca44-7f7d-4ce2-a5db-532e4f76e980 2025-07-19 08:07:30,260 - DEBUG - Response Code: 404 2025-07-19 08:07:30,260 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-19 08:07:30,265 - DEBUG - Requesting: http://10.0.0.249:8082/domain/73353f16-fc09-42d9-913e-4911ef5c135f 2025-07-19 08:07:30,320 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fed6073-7a74-4e75-8627-28e207a3a513 2025-07-19 08:07:30,393 - INFO - Validated that VN ctest-vn-58686601 is not found in API Server 2025-07-19 08:07:30,403 - DEBUG - VN ctest-vn-58686601 is not present in Agent 10.0.0.249 2025-07-19 08:07:30,403 - INFO - Validated that VN ctest-vn-58686601 is not in any agent 2025-07-19 08:07:30,416 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58686601 info 2025-07-19 08:07:30,416 - INFO - Deleting VN ctest-vn-47447434 2025-07-19 08:07:30,512 - DEBUG - Response for deleting network () 2025-07-19 08:07:30,512 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/ffd7d743-f053-47ca-b1f7-8f60ac50c669 2025-07-19 08:07:30,522 - DEBUG - Response Code: 404 2025-07-19 08:07:30,522 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-07-19 08:07:30,527 - DEBUG - Requesting: http://10.0.0.249:8082/domain/73353f16-fc09-42d9-913e-4911ef5c135f 2025-07-19 08:07:30,579 - DEBUG - Requesting: http://10.0.0.249:8082/project/3fed6073-7a74-4e75-8627-28e207a3a513 2025-07-19 08:07:30,648 - INFO - Validated that VN ctest-vn-47447434 is not found in API Server 2025-07-19 08:07:30,658 - DEBUG - VN ctest-vn-47447434 is not present in Agent 10.0.0.249 2025-07-19 08:07:30,658 - INFO - Validated that VN ctest-vn-47447434 is not in any agent 2025-07-19 08:07:30,671 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47447434 info 2025-07-19 08:07:30,926 - DEBUG - No XMPP flaps were noticed during the test
2025-07-19 08:07:30,926 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-19 08:07:30,926 - INFO - -------------------------------------------------------------------------------- 2025-07-19 08:07:31,578 - INFO - Deleted project: ctest-TestBasicPolicy-82269076, ID : 3fed6073-7a74-4e75-8627-28e207a3a513