2025-05-15 12:41:03,277 - INFO - Domain Default found not creating 2025-05-15 12:41:03,439 - INFO - Project ctest-TestBasicPolicy-61872446 not found, creating it 2025-05-15 12:41:03,918 - INFO - Created Project:ctest-TestBasicPolicy-61872446, ID : da349cae-8baa-41a8-92a3-c35724898f43 2025-05-15 12:41:05,387 - INFO - ================================================================================ 2025-05-15 12:41:05,387 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-15 12:41:05,387 - 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-15 12:41:05,647 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.0.0.48': '0'}} with 2025-05-15 12:41:05,647 - INFO - Initial checks done. Running the testcase now 2025-05-15 12:41:05,647 - INFO - 2025-05-15 12:41:06,225 - DEBUG - Response for create_network : {'network': {'id': 'eab6de5f-33ae-47e8-9dcd-39ece08ee13c', 'name': 'ctest-vn-91507151', 'tenant_id': 'da349cae8baa41a892a3c35724898f43', 'project_id': 'da349cae8baa41a892a3c35724898f43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-vn-91507151'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 12:41:06,471 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c94e320e-2343-45a9-831d-f14f6925be0c', 'name': '', 'tenant_id': 'da349cae8baa41a892a3c35724898f43', 'network_id': 'eab6de5f-33ae-47e8-9dcd-39ece08ee13c', 'ip_version': 4, 'cidr': '202.6.146.128/26', 'allocation_pools': [{'start': '202.6.146.130', 'end': '202.6.146.190'}], 'gateway_ip': '202.6.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.6.146.130', 'tags': [], 'project_id': 'da349cae8baa41a892a3c35724898f43'}} 2025-05-15 12:41:06,556 - INFO - Created VN ctest-vn-91507151 2025-05-15 12:41:06,609 - DEBUG - VN ctest-vn-91507151 UUID is eab6de5f-33ae-47e8-9dcd-39ece08ee13c 2025-05-15 12:41:06,915 - DEBUG - Response for create_network : {'network': {'id': 'cb295624-4f6f-4e0a-a6fc-c97b44dffcfc', 'name': 'ctest-vn-35297158', 'tenant_id': 'da349cae8baa41a892a3c35724898f43', 'project_id': 'da349cae8baa41a892a3c35724898f43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-vn-35297158'], 'port_security_enabled': True, 'description': ''}} 2025-05-15 12:41:07,191 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dda32ec-8c39-48f8-8f54-4c95c8f78a3d', 'name': '', 'tenant_id': 'da349cae8baa41a892a3c35724898f43', 'network_id': 'cb295624-4f6f-4e0a-a6fc-c97b44dffcfc', 'ip_version': 4, 'cidr': '135.29.88.64/26', 'allocation_pools': [{'start': '135.29.88.66', 'end': '135.29.88.126'}], 'gateway_ip': '135.29.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.29.88.66', 'tags': [], 'project_id': 'da349cae8baa41a892a3c35724898f43'}} 2025-05-15 12:41:07,210 - INFO - Created VN ctest-vn-35297158 2025-05-15 12:41:07,265 - DEBUG - VN ctest-vn-35297158 UUID is cb295624-4f6f-4e0a-a6fc-c97b44dffcfc 2025-05-15 12:41:07,379 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151, 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-61872446:ctest-vn-35297158, 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-15 12:41:07,678 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eab6de5f-33ae-47e8-9dcd-39ece08ee13c', 'name': 'ctest-vn-91507151', 'tenant_id': 'da349cae8baa41a892a3c35724898f43', 'project_id': 'da349cae8baa41a892a3c35724898f43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c94e320e-2343-45a9-831d-f14f6925be0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-vn-91507151'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-policy-allow-all-24468018']], 'subnet_ipam': [{'subnet_cidr': '202.6.146.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-15 12:41:07,918 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb295624-4f6f-4e0a-a6fc-c97b44dffcfc', 'name': 'ctest-vn-35297158', 'tenant_id': 'da349cae8baa41a892a3c35724898f43', 'project_id': 'da349cae8baa41a892a3c35724898f43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7dda32ec-8c39-48f8-8f54-4c95c8f78a3d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-vn-35297158'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-policy-allow-all-24468018']], 'subnet_ipam': [{'subnet_cidr': '135.29.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-15 12:41:08,045 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-15 12:41:08,350 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-15 12:41:08,382 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d21abd5a-30cb-4523-b7d6-c3319995ded3 2025-05-15 12:41:08,395 - DEBUG - Requesting: http://10.0.0.48:8082/project/da349cae-8baa-41a8-92a3-c35724898f43 2025-05-15 12:41:08,472 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/eab6de5f-33ae-47e8-9dcd-39ece08ee13c 2025-05-15 12:41:08,483 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/eab6de5f-33ae-47e8-9dcd-39ece08ee13c 2025-05-15 12:41:08,492 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/76088106-b881-4a4a-a09f-9e7cae4436e0 2025-05-15 12:41:08,499 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/76088106-b881-4a4a-a09f-9e7cae4436e0 2025-05-15 12:41:08,508 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/d15aa716-4e1b-4e40-af2c-08acc27c3ddd 2025-05-15 12:41:08,518 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-15 12:41:08,518 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/eab6de5f-33ae-47e8-9dcd-39ece08ee13c 2025-05-15 12:41:08,527 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/76088106-b881-4a4a-a09f-9e7cae4436e0 2025-05-15 12:41:08,545 - INFO - Verified VN network id 7 for VN eab6de5f-33ae-47e8-9dcd-39ece08ee13c 2025-05-15 12:41:08,545 - INFO - Verifications in API Server for VN ctest-vn-91507151 passed 2025-05-15 12:41:08,545 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/eab6de5f-33ae-47e8-9dcd-39ece08ee13c 2025-05-15 12:41:08,564 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/76088106-b881-4a4a-a09f-9e7cae4436e0 2025-05-15 12:41:08,573 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/76088106-b881-4a4a-a09f-9e7cae4436e0 2025-05-15 12:41:08,582 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/d15aa716-4e1b-4e40-af2c-08acc27c3ddd 2025-05-15 12:41:08,597 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61872446', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16912949951106795496', 'uuid-lslong': '11370808323722895676'}, 'enable': 'true', 'created': '2025-05-15T12:41:06', 'last-modified': '2025-05-15T12:41:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940408'} 2025-05-15 12:41:08,605 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-15 12:41:08,606 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91507151 passed 2025-05-15 12:41:08,606 - DEBUG - ====Verifying policy data for ctest-vn-91507151 in API_Server ====== 2025-05-15 12:41:08,606 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-15 12:41:08,616 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d21abd5a-30cb-4523-b7d6-c3319995ded3 2025-05-15 12:41:08,628 - DEBUG - Requesting: http://10.0.0.48:8082/project/da349cae-8baa-41a8-92a3-c35724898f43 2025-05-15 12:41:08,705 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/eab6de5f-33ae-47e8-9dcd-39ece08ee13c 2025-05-15 12:41:08,716 - DEBUG - ==>Verifying data for policy with id: 462ae86e-b3cf-4eb4-94fc-3183a6c4a4f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-policy-allow-all-24468018'] 2025-05-15 12:41:08,717 - INFO - VN ctest-vn-91507151 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-15 12:41:08,717 - DEBUG - Verifying the vn in opserver 2025-05-15 12:41:08,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151 virtual network link through opserver 10.0.0.48 2025-05-15 12:41:08,717 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-05-15 12:41:09,017 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-05-15 12:41:12,076 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151 virtual network link through opserver 10.0.0.48 2025-05-15 12:41:12,076 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-05-15 12:41:12,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151?flat'} 2025-05-15 12:41:12,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151 is found in opserver 2025-05-15 12:41:12,095 - DEBUG - Do not have enough data to verify VN in agent 2025-05-15 12:41:12,100 - DEBUG - VRF ids for VN ctest-vn-91507151: {} 2025-05-15 12:41:12,100 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-15 12:41:12,105 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d21abd5a-30cb-4523-b7d6-c3319995ded3 2025-05-15 12:41:12,115 - DEBUG - Requesting: http://10.0.0.48:8082/project/da349cae-8baa-41a8-92a3-c35724898f43 2025-05-15 12:41:12,194 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/cb295624-4f6f-4e0a-a6fc-c97b44dffcfc 2025-05-15 12:41:12,208 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/cb295624-4f6f-4e0a-a6fc-c97b44dffcfc 2025-05-15 12:41:12,217 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/59127212-fc70-4caa-badf-092b3442e10d 2025-05-15 12:41:12,224 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/59127212-fc70-4caa-badf-092b3442e10d 2025-05-15 12:41:12,232 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/c0721a9d-bab4-4125-a657-d492fa8af7dd 2025-05-15 12:41:12,239 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-15 12:41:12,239 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/cb295624-4f6f-4e0a-a6fc-c97b44dffcfc 2025-05-15 12:41:12,248 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/59127212-fc70-4caa-badf-092b3442e10d 2025-05-15 12:41:12,264 - INFO - Verified VN network id 8 for VN cb295624-4f6f-4e0a-a6fc-c97b44dffcfc 2025-05-15 12:41:12,264 - INFO - Verifications in API Server for VN ctest-vn-35297158 passed 2025-05-15 12:41:12,264 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/cb295624-4f6f-4e0a-a6fc-c97b44dffcfc 2025-05-15 12:41:12,282 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/59127212-fc70-4caa-badf-092b3442e10d 2025-05-15 12:41:12,293 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/59127212-fc70-4caa-badf-092b3442e10d 2025-05-15 12:41:12,301 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/c0721a9d-bab4-4125-a657-d492fa8af7dd 2025-05-15 12:41:12,313 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-35297158', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61872446', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14639326777696013834', 'uuid-lslong': '12032713835700813052'}, 'enable': 'true', 'created': '2025-05-15T12:41:06', 'last-modified': '2025-05-15T12:41:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.464352'} 2025-05-15 12:41:12,321 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-15 12:41:12,321 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35297158 passed 2025-05-15 12:41:12,321 - DEBUG - ====Verifying policy data for ctest-vn-35297158 in API_Server ====== 2025-05-15 12:41:12,321 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-15 12:41:12,327 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d21abd5a-30cb-4523-b7d6-c3319995ded3 2025-05-15 12:41:12,338 - DEBUG - Requesting: http://10.0.0.48:8082/project/da349cae-8baa-41a8-92a3-c35724898f43 2025-05-15 12:41:12,414 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/cb295624-4f6f-4e0a-a6fc-c97b44dffcfc 2025-05-15 12:41:12,423 - DEBUG - ==>Verifying data for policy with id: 462ae86e-b3cf-4eb4-94fc-3183a6c4a4f4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61872446', 'ctest-policy-allow-all-24468018'] 2025-05-15 12:41:12,423 - INFO - VN ctest-vn-35297158 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-15 12:41:12,423 - DEBUG - Verifying the vn in opserver 2025-05-15 12:41:12,423 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-35297158 virtual network link through opserver 10.0.0.48 2025-05-15 12:41:12,423 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-05-15 12:41:12,433 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-35297158', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-35297158?flat'} 2025-05-15 12:41:12,433 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-35297158 is found in opserver 2025-05-15 12:41:12,445 - DEBUG - Do not have enough data to verify VN in agent 2025-05-15 12:41:12,450 - DEBUG - VRF ids for VN ctest-vn-35297158: {} 2025-05-15 12:41:12,509 - DEBUG - Services list from nova: [, , ] 2025-05-15 12:41:13,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3318-1) 2025-05-15 12:41:14,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3318-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3318-1) 2025-05-15 12:41:14,837 - INFO - Waiting for VM ctest-TestBasicPolicy-61872446-19810495 to be up.. 2025-05-15 12:41:14,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-15 12:41:20,005 - DEBUG - VM is in ACTIVE state now 2025-05-15 12:41:20,005 - INFO - VM name : ctest-TestBasicPolicy-61872446-19810495 2025-05-15 12:41:20,104 - DEBUG - VM ctest-TestBasicPolicy-61872446-19810495 ID is a9b7129f-04e2-4f30-821c-7392d40d374e 2025-05-15 12:41:20,129 - DEBUG - VM ctest-TestBasicPolicy-61872446-19810495 launched on Node cn-jenkins-deploy-platform-ansible-os-3318-1. 2025-05-15 12:41:20,216 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a9b7129f-04e2-4f30-821c-7392d40d374e 2025-05-15 12:41:20,225 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/00ea3c21-c7b5-47cf-806a-7c483f0c0335 2025-05-15 12:41:23,493 - 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 1031ms') 2025-05-15 12:41:23,494 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61872446-19810495 failed! 2025-05-15 12:41:23,549 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61872446:ctest-vn-91507151 is 202.6.146.129 and allocation pool is NOT set 2025-05-15 12:41:25,605 - 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=4.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.478 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.478/2.453/4.429/1.975 ms') 2025-05-15 12:41:25,605 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61872446-19810495 passed 2025-05-15 12:41:25,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 12:41:25,753 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61872446-19810495, IP 202.6.146.131, Port 22 2025-05-15 12:41:25,920 - DEBUG - VM ctest-TestBasicPolicy-61872446-19810495 is ready for SSH connections 2025-05-15 12:41:25,921 - INFO - Waiting for VM ctest-TestBasicPolicy-61872446-51730268 to be up.. 2025-05-15 12:41:26,012 - DEBUG - VM is in ACTIVE state now 2025-05-15 12:41:26,012 - INFO - VM name : ctest-TestBasicPolicy-61872446-51730268 2025-05-15 12:41:26,107 - DEBUG - VM ctest-TestBasicPolicy-61872446-51730268 ID is d98cf860-4186-4fed-9fb1-5f2d84e81fdb 2025-05-15 12:41:26,107 - DEBUG - VM ctest-TestBasicPolicy-61872446-51730268 launched on Node cn-jenkins-deploy-platform-ansible-os-3318-1. 2025-05-15 12:41:26,199 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d98cf860-4186-4fed-9fb1-5f2d84e81fdb 2025-05-15 12:41:26,210 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4ad78aa3-757e-4db5-ba17-648583c79846 2025-05-15 12:41:27,450 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.05 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 = 2.054/3.503/4.952/1.449 ms') 2025-05-15 12:41:27,450 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61872446-51730268 passed 2025-05-15 12:41:27,597 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 12:41:27,597 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61872446-51730268, IP 135.29.88.67, Port 22 2025-05-15 12:41:27,752 - DEBUG - VM ctest-TestBasicPolicy-61872446-51730268 is ready for SSH connections 2025-05-15 12:41:27,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 12:41:27,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.29.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-05-15 12:41:27,752 - DEBUG - ping -s 56 -c 3 -W 1 135.29.88.67 2025-05-15 12:41:31,778 - DEBUG - PING 135.29.88.67 (135.29.88.67): 56 data bytes 64 bytes from 135.29.88.67: seq=0 ttl=63 time=4.632 ms 64 bytes from 135.29.88.67: seq=1 ttl=63 time=0.892 ms 64 bytes from 135.29.88.67: seq=2 ttl=63 time=1.009 ms --- 135.29.88.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.892/2.177/4.632 ms 2025-05-15 12:41:31,778 - INFO - Ping to IP 135.29.88.67 from VM ctest-TestBasicPolicy-61872446-19810495 passed 2025-05-15 12:41:31,976 - DEBUG - Policy Update Response {"network-policy": {"uuid": "462ae86e-b3cf-4eb4-94fc-3183a6c4a4f4", "href": "http://10.0.0.48:8082/network-policy/462ae86e-b3cf-4eb4-94fc-3183a6c4a4f4"}} 2025-05-15 12:41:31,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-15 12:41:31,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.29.88.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-05-15 12:41:31,977 - DEBUG - ping -s 56 -c 3 -W 1 135.29.88.67 2025-05-15 12:41:35,190 - DEBUG - PING 135.29.88.67 (135.29.88.67): 56 data bytes --- 135.29.88.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-15 12:41:35,190 - WARNING - Ping to IP 135.29.88.67 from VM ctest-TestBasicPolicy-61872446-19810495 failed 2025-05-15 12:41:35,190 - INFO - Deleting VM ctest-TestBasicPolicy-61872446-51730268 2025-05-15 12:41:35,267 - INFO - Deleting VM ctest-TestBasicPolicy-61872446-19810495 2025-05-15 12:41:35,696 - INFO - Deleted policy ctest-policy-allow-all-24468018 2025-05-15 12:41:35,696 - INFO - Deleting VN ctest-vn-35297158 2025-05-15 12:41:35,732 - DEBUG - VN cb295624-4f6f-4e0a-a6fc-c97b44dffcfc still in use: Unable to complete operation on network cb295624-4f6f-4e0a-a6fc-c97b44dffcfc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9a2ca7a9-c8c9-4d78-b99d-f2853ac90727'] 2025-05-15 12:41:35,732 - WARNING - Deleting VN ctest-vn-35297158 failed..Will retry 2025-05-15 12:41:37,839 - DEBUG - Response for deleting network () 2025-05-15 12:41:37,839 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/59127212-fc70-4caa-badf-092b3442e10d 2025-05-15 12:41:37,844 - DEBUG - Response Code: 404 2025-05-15 12:41:37,845 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-15 12:41:37,849 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d21abd5a-30cb-4523-b7d6-c3319995ded3 2025-05-15 12:41:37,904 - DEBUG - Requesting: http://10.0.0.48:8082/project/da349cae-8baa-41a8-92a3-c35724898f43 2025-05-15 12:41:37,980 - INFO - Validated that VN ctest-vn-35297158 is not found in API Server 2025-05-15 12:41:37,991 - DEBUG - VN ctest-vn-35297158 is not present in Agent 10.0.0.48 2025-05-15 12:41:37,991 - INFO - Validated that VN ctest-vn-35297158 is not in any agent 2025-05-15 12:41:38,006 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35297158 info 2025-05-15 12:41:38,006 - INFO - Deleting VN ctest-vn-91507151 2025-05-15 12:41:38,110 - DEBUG - Response for deleting network () 2025-05-15 12:41:38,110 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/76088106-b881-4a4a-a09f-9e7cae4436e0 2025-05-15 12:41:38,114 - DEBUG - Response Code: 404 2025-05-15 12:41:38,114 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-05-15 12:41:38,123 - DEBUG - Requesting: http://10.0.0.48:8082/domain/d21abd5a-30cb-4523-b7d6-c3319995ded3 2025-05-15 12:41:38,184 - DEBUG - Requesting: http://10.0.0.48:8082/project/da349cae-8baa-41a8-92a3-c35724898f43 2025-05-15 12:41:38,260 - INFO - Validated that VN ctest-vn-91507151 is not found in API Server 2025-05-15 12:41:38,271 - DEBUG - VN ctest-vn-91507151 is not present in Agent 10.0.0.48 2025-05-15 12:41:38,271 - INFO - Validated that VN ctest-vn-91507151 is not in any agent 2025-05-15 12:41:38,287 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91507151 info 2025-05-15 12:41:38,544 - DEBUG - No XMPP flaps were noticed during the test 2025-05-15 12:41:38,544 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33] 2025-05-15 12:41:38,544 - INFO - -------------------------------------------------------------------------------- 2025-05-15 12:41:39,237 - INFO - Deleted project: ctest-TestBasicPolicy-61872446, ID : da349cae-8baa-41a8-92a3-c35724898f43