2025-05-12 10:39:16,422 - INFO - Domain Default found not creating 2025-05-12 10:39:16,547 - INFO - Project ctest-TestBasicPolicy-88647417 not found, creating it 2025-05-12 10:39:16,978 - INFO - Created Project:ctest-TestBasicPolicy-88647417, ID : d6ca5740-2d62-4630-b365-c2f0223b773f 2025-05-12 10:39:18,354 - INFO - ================================================================================ 2025-05-12 10:39:18,354 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-12 10:39:18,354 - 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-12 10:39:18,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-05-12 10:39:18,608 - INFO - Initial checks done. Running the testcase now 2025-05-12 10:39:18,608 - INFO - 2025-05-12 10:39:19,138 - DEBUG - Response for create_network : {'network': {'id': 'c83c5106-0ac5-420a-8f2c-ccf8d27db41e', 'name': 'ctest-vn-24689437', 'tenant_id': 'd6ca57402d624630b365c2f0223b773f', 'project_id': 'd6ca57402d624630b365c2f0223b773f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-vn-24689437'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 10:39:19,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e885eed3-7ebf-4fe0-a1e5-97b84e7f1bce', 'name': '', 'tenant_id': 'd6ca57402d624630b365c2f0223b773f', 'network_id': 'c83c5106-0ac5-420a-8f2c-ccf8d27db41e', 'ip_version': 4, 'cidr': '108.246.134.128/26', 'allocation_pools': [{'start': '108.246.134.130', 'end': '108.246.134.190'}], 'gateway_ip': '108.246.134.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.246.134.130', 'tags': [], 'project_id': 'd6ca57402d624630b365c2f0223b773f'}} 2025-05-12 10:39:19,350 - INFO - Created VN ctest-vn-24689437 2025-05-12 10:39:19,401 - DEBUG - VN ctest-vn-24689437 UUID is c83c5106-0ac5-420a-8f2c-ccf8d27db41e 2025-05-12 10:39:19,725 - DEBUG - Response for create_network : {'network': {'id': '00adc533-098f-4e98-84d5-cd03df50d98a', 'name': 'ctest-vn-56801406', 'tenant_id': 'd6ca57402d624630b365c2f0223b773f', 'project_id': 'd6ca57402d624630b365c2f0223b773f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-vn-56801406'], 'port_security_enabled': True, 'description': ''}} 2025-05-12 10:39:19,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ee95d34-8d5f-400f-9858-210814eed735', 'name': '', 'tenant_id': 'd6ca57402d624630b365c2f0223b773f', 'network_id': '00adc533-098f-4e98-84d5-cd03df50d98a', 'ip_version': 4, 'cidr': '71.233.173.192/26', 'allocation_pools': [{'start': '71.233.173.194', 'end': '71.233.173.254'}], 'gateway_ip': '71.233.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.233.173.194', 'tags': [], 'project_id': 'd6ca57402d624630b365c2f0223b773f'}} 2025-05-12 10:39:19,921 - INFO - Created VN ctest-vn-56801406 2025-05-12 10:39:19,977 - DEBUG - VN ctest-vn-56801406 UUID is 00adc533-098f-4e98-84d5-cd03df50d98a 2025-05-12 10:39:20,129 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-24689437, 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-88647417:ctest-vn-56801406, 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-12 10:39:20,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c83c5106-0ac5-420a-8f2c-ccf8d27db41e', 'name': 'ctest-vn-24689437', 'tenant_id': 'd6ca57402d624630b365c2f0223b773f', 'project_id': 'd6ca57402d624630b365c2f0223b773f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e885eed3-7ebf-4fe0-a1e5-97b84e7f1bce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-vn-24689437'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-policy-allow-all-06827198']], 'subnet_ipam': [{'subnet_cidr': '108.246.134.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-12 10:39:20,643 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00adc533-098f-4e98-84d5-cd03df50d98a', 'name': 'ctest-vn-56801406', 'tenant_id': 'd6ca57402d624630b365c2f0223b773f', 'project_id': 'd6ca57402d624630b365c2f0223b773f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5ee95d34-8d5f-400f-9858-210814eed735'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-vn-56801406'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-policy-allow-all-06827198']], 'subnet_ipam': [{'subnet_cidr': '71.233.173.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-12 10:39:20,817 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-12 10:39:21,120 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-12 10:39:21,148 - DEBUG - Requesting: http://10.0.0.33:8082/domain/90b7d600-2c3c-4c4d-b8df-25bfb544d6e3 2025-05-12 10:39:21,165 - DEBUG - Requesting: http://10.0.0.33:8082/project/d6ca5740-2d62-4630-b365-c2f0223b773f 2025-05-12 10:39:21,241 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c83c5106-0ac5-420a-8f2c-ccf8d27db41e 2025-05-12 10:39:21,253 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c83c5106-0ac5-420a-8f2c-ccf8d27db41e 2025-05-12 10:39:21,263 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/251e5855-9b03-4f02-90d8-c65cfe1cb724 2025-05-12 10:39:21,270 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/251e5855-9b03-4f02-90d8-c65cfe1cb724 2025-05-12 10:39:21,278 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cbbfb79c-8aaf-41ae-82b1-c107e37912a5 2025-05-12 10:39:21,286 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-12 10:39:21,286 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c83c5106-0ac5-420a-8f2c-ccf8d27db41e 2025-05-12 10:39:21,298 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/251e5855-9b03-4f02-90d8-c65cfe1cb724 2025-05-12 10:39:21,315 - INFO - Verified VN network id 8 for VN c83c5106-0ac5-420a-8f2c-ccf8d27db41e 2025-05-12 10:39:21,315 - INFO - Verifications in API Server for VN ctest-vn-24689437 passed 2025-05-12 10:39:21,315 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c83c5106-0ac5-420a-8f2c-ccf8d27db41e 2025-05-12 10:39:21,327 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/251e5855-9b03-4f02-90d8-c65cfe1cb724 2025-05-12 10:39:21,336 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/251e5855-9b03-4f02-90d8-c65cfe1cb724 2025-05-12 10:39:21,345 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/cbbfb79c-8aaf-41ae-82b1-c107e37912a5 2025-05-12 10:39:21,359 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-24689437', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88647417', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14428496392580579850', 'uuid-lslong': '10316846215454372894'}, 'enable': 'true', 'created': '2025-05-12T10:39:19', 'last-modified': '2025-05-12T10:39:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967139'} 2025-05-12 10:39:21,368 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-12 10:39:21,368 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24689437 passed 2025-05-12 10:39:21,369 - DEBUG - ====Verifying policy data for ctest-vn-24689437 in API_Server ====== 2025-05-12 10:39:21,369 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-12 10:39:21,375 - DEBUG - Requesting: http://10.0.0.33:8082/domain/90b7d600-2c3c-4c4d-b8df-25bfb544d6e3 2025-05-12 10:39:21,389 - DEBUG - Requesting: http://10.0.0.33:8082/project/d6ca5740-2d62-4630-b365-c2f0223b773f 2025-05-12 10:39:21,463 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c83c5106-0ac5-420a-8f2c-ccf8d27db41e 2025-05-12 10:39:21,473 - DEBUG - ==>Verifying data for policy with id: 86646453-8a1d-4d5f-a812-65a0a9eec018, fqn: ['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-policy-allow-all-06827198'] 2025-05-12 10:39:21,473 - INFO - VN ctest-vn-24689437 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-12 10:39:21,473 - DEBUG - Verifying the vn in opserver 2025-05-12 10:39:21,473 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-24689437 virtual network link through opserver 10.0.0.33 2025-05-12 10:39:21,473 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-12 10:39:21,761 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-12 10:39:21,812 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-24689437', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-24689437?flat'} 2025-05-12 10:39:21,812 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-24689437 is found in opserver 2025-05-12 10:39:21,823 - DEBUG - Do not have enough data to verify VN in agent 2025-05-12 10:39:21,828 - DEBUG - VRF ids for VN ctest-vn-24689437: {} 2025-05-12 10:39:21,828 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-12 10:39:21,834 - DEBUG - Requesting: http://10.0.0.33:8082/domain/90b7d600-2c3c-4c4d-b8df-25bfb544d6e3 2025-05-12 10:39:21,845 - DEBUG - Requesting: http://10.0.0.33:8082/project/d6ca5740-2d62-4630-b365-c2f0223b773f 2025-05-12 10:39:21,914 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00adc533-098f-4e98-84d5-cd03df50d98a 2025-05-12 10:39:21,925 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00adc533-098f-4e98-84d5-cd03df50d98a 2025-05-12 10:39:21,936 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e3be9fc-e44e-4c50-b3b8-945eb35914e7 2025-05-12 10:39:21,943 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e3be9fc-e44e-4c50-b3b8-945eb35914e7 2025-05-12 10:39:21,950 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9c988107-f894-44f2-aedc-d8714ee3c93d 2025-05-12 10:39:21,957 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-12 10:39:21,957 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00adc533-098f-4e98-84d5-cd03df50d98a 2025-05-12 10:39:21,966 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e3be9fc-e44e-4c50-b3b8-945eb35914e7 2025-05-12 10:39:21,980 - INFO - Verified VN network id 9 for VN 00adc533-098f-4e98-84d5-cd03df50d98a 2025-05-12 10:39:21,980 - INFO - Verifications in API Server for VN ctest-vn-56801406 passed 2025-05-12 10:39:21,980 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00adc533-098f-4e98-84d5-cd03df50d98a 2025-05-12 10:39:21,989 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e3be9fc-e44e-4c50-b3b8-945eb35914e7 2025-05-12 10:39:21,996 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e3be9fc-e44e-4c50-b3b8-945eb35914e7 2025-05-12 10:39:22,002 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9c988107-f894-44f2-aedc-d8714ee3c93d 2025-05-12 10:39:22,014 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-56801406', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88647417', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '48911993965334168', 'uuid-lslong': '9571781999561070986'}, 'enable': 'true', 'created': '2025-05-12T10:39:19', 'last-modified': '2025-05-12T10:39:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.395144'} 2025-05-12 10:39:22,020 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-12 10:39:22,020 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56801406 passed 2025-05-12 10:39:22,020 - DEBUG - ====Verifying policy data for ctest-vn-56801406 in API_Server ====== 2025-05-12 10:39:22,021 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-12 10:39:22,026 - DEBUG - Requesting: http://10.0.0.33:8082/domain/90b7d600-2c3c-4c4d-b8df-25bfb544d6e3 2025-05-12 10:39:22,037 - DEBUG - Requesting: http://10.0.0.33:8082/project/d6ca5740-2d62-4630-b365-c2f0223b773f 2025-05-12 10:39:22,108 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/00adc533-098f-4e98-84d5-cd03df50d98a 2025-05-12 10:39:22,118 - DEBUG - ==>Verifying data for policy with id: 86646453-8a1d-4d5f-a812-65a0a9eec018, fqn: ['default-domain', 'ctest-TestBasicPolicy-88647417', 'ctest-policy-allow-all-06827198'] 2025-05-12 10:39:22,118 - INFO - VN ctest-vn-56801406 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-12 10:39:22,118 - DEBUG - Verifying the vn in opserver 2025-05-12 10:39:22,118 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-56801406 virtual network link through opserver 10.0.0.33 2025-05-12 10:39:22,118 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-05-12 10:39:22,128 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-56801406', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-56801406?flat'} 2025-05-12 10:39:22,128 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-56801406 is found in opserver 2025-05-12 10:39:22,138 - DEBUG - Do not have enough data to verify VN in agent 2025-05-12 10:39:22,142 - DEBUG - VRF ids for VN ctest-vn-56801406: {} 2025-05-12 10:39:22,195 - DEBUG - Services list from nova: [, , ] 2025-05-12 10:39:23,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3300-1) 2025-05-12 10:39:24,325 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3300-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3300-1) 2025-05-12 10:39:24,325 - INFO - Waiting for VM ctest-TestBasicPolicy-88647417-20584361 to be up.. 2025-05-12 10:39:24,408 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-12 10:39:29,500 - DEBUG - VM is in ACTIVE state now 2025-05-12 10:39:29,500 - INFO - VM name : ctest-TestBasicPolicy-88647417-20584361 2025-05-12 10:39:29,570 - DEBUG - VM ctest-TestBasicPolicy-88647417-20584361 ID is 9c6c2020-c725-44d1-94dc-cdd44c38dc19 2025-05-12 10:39:29,587 - DEBUG - VM ctest-TestBasicPolicy-88647417-20584361 launched on Node cn-jenkins-deploy-platform-ansible-os-3300-1 2025-05-12 10:39:29,656 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9c6c2020-c725-44d1-94dc-cdd44c38dc19 2025-05-12 10:39:29,665 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d72c92a7-7700-4d76-8c42-f152369464fc 2025-05-12 10:39:32,916 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-05-12 10:39:32,916 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88647417-20584361 failed! 2025-05-12 10:39:32,973 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88647417:ctest-vn-24689437 is 108.246.134.129 and allocation pool is NOT set 2025-05-12 10:39:35,037 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/2.041/3.676/1.634 ms') 2025-05-12 10:39:35,037 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88647417-20584361 passed 2025-05-12 10:39:35,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:39:35,190 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88647417-20584361, IP 108.246.134.131, Port 22 2025-05-12 10:39:35,345 - DEBUG - VM ctest-TestBasicPolicy-88647417-20584361 is ready for SSH connections 2025-05-12 10:39:35,345 - INFO - Waiting for VM ctest-TestBasicPolicy-88647417-01847300 to be up.. 2025-05-12 10:39:35,417 - DEBUG - VM is in ACTIVE state now 2025-05-12 10:39:35,417 - INFO - VM name : ctest-TestBasicPolicy-88647417-01847300 2025-05-12 10:39:35,483 - DEBUG - VM ctest-TestBasicPolicy-88647417-01847300 ID is f873a635-6961-4149-9654-9dd7030e02f1 2025-05-12 10:39:35,483 - DEBUG - VM ctest-TestBasicPolicy-88647417-01847300 launched on Node cn-jenkins-deploy-platform-ansible-os-3300-1 2025-05-12 10:39:35,556 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f873a635-6961-4149-9654-9dd7030e02f1 2025-05-12 10:39:35,564 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c6a9d41a-f1c6-490c-9ef6-d1c2fb680ebd 2025-05-12 10:39:36,802 - 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.396 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.396/1.544/2.693/1.148 ms') 2025-05-12 10:39:36,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88647417-01847300 passed 2025-05-12 10:39:36,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:39:36,958 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88647417-01847300, IP 71.233.173.195, Port 22 2025-05-12 10:39:37,112 - DEBUG - VM ctest-TestBasicPolicy-88647417-01847300 is ready for SSH connections 2025-05-12 10:39:37,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:39:37,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.233.173.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-05-12 10:39:37,113 - DEBUG - ping -s 56 -c 3 -W 1 71.233.173.195 2025-05-12 10:39:40,785 - DEBUG - PING 71.233.173.195 (71.233.173.195): 56 data bytes 64 bytes from 71.233.173.195: seq=0 ttl=63 time=3.225 ms 64 bytes from 71.233.173.195: seq=1 ttl=63 time=0.997 ms 64 bytes from 71.233.173.195: seq=2 ttl=63 time=0.724 ms --- 71.233.173.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.724/1.648/3.225 ms 2025-05-12 10:39:40,785 - INFO - Ping to IP 71.233.173.195 from VM ctest-TestBasicPolicy-88647417-20584361 passed 2025-05-12 10:39:40,969 - DEBUG - Policy Update Response {"network-policy": {"uuid": "86646453-8a1d-4d5f-a812-65a0a9eec018", "href": "http://10.0.0.33:8082/network-policy/86646453-8a1d-4d5f-a812-65a0a9eec018"}} 2025-05-12 10:39:40,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-12 10:39:40,970 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.233.173.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-05-12 10:39:40,970 - DEBUG - ping -s 56 -c 3 -W 1 71.233.173.195 2025-05-12 10:39:44,186 - DEBUG - PING 71.233.173.195 (71.233.173.195): 56 data bytes --- 71.233.173.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-12 10:39:44,186 - WARNING - Ping to IP 71.233.173.195 from VM ctest-TestBasicPolicy-88647417-20584361 failed 2025-05-12 10:39:44,186 - INFO - Deleting VM ctest-TestBasicPolicy-88647417-01847300 2025-05-12 10:39:44,249 - INFO - Deleting VM ctest-TestBasicPolicy-88647417-20584361 2025-05-12 10:39:44,639 - INFO - Deleted policy ctest-policy-allow-all-06827198 2025-05-12 10:39:44,639 - INFO - Deleting VN ctest-vn-56801406 2025-05-12 10:39:44,672 - DEBUG - VN 00adc533-098f-4e98-84d5-cd03df50d98a still in use: Unable to complete operation on network 00adc533-098f-4e98-84d5-cd03df50d98a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96fbb098-f926-4d6d-8dc8-e098d33e3ad4'] 2025-05-12 10:39:44,672 - WARNING - Deleting VN ctest-vn-56801406 failed..Will retry 2025-05-12 10:39:46,764 - DEBUG - Response for deleting network () 2025-05-12 10:39:46,764 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0e3be9fc-e44e-4c50-b3b8-945eb35914e7 2025-05-12 10:39:46,769 - DEBUG - Response Code: 404 2025-05-12 10:39:46,769 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-12 10:39:46,775 - DEBUG - Requesting: http://10.0.0.33:8082/domain/90b7d600-2c3c-4c4d-b8df-25bfb544d6e3 2025-05-12 10:39:46,826 - DEBUG - Requesting: http://10.0.0.33:8082/project/d6ca5740-2d62-4630-b365-c2f0223b773f 2025-05-12 10:39:46,901 - INFO - Validated that VN ctest-vn-56801406 is not found in API Server 2025-05-12 10:39:46,912 - DEBUG - VN ctest-vn-56801406 is not present in Agent 10.0.0.33 2025-05-12 10:39:46,912 - INFO - Validated that VN ctest-vn-56801406 is not in any agent 2025-05-12 10:39:46,926 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56801406 info 2025-05-12 10:39:46,926 - INFO - Deleting VN ctest-vn-24689437 2025-05-12 10:39:47,020 - DEBUG - Response for deleting network () 2025-05-12 10:39:47,020 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/251e5855-9b03-4f02-90d8-c65cfe1cb724 2025-05-12 10:39:47,026 - DEBUG - Response Code: 404 2025-05-12 10:39:47,026 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-05-12 10:39:47,031 - DEBUG - Requesting: http://10.0.0.33:8082/domain/90b7d600-2c3c-4c4d-b8df-25bfb544d6e3 2025-05-12 10:39:47,087 - DEBUG - Requesting: http://10.0.0.33:8082/project/d6ca5740-2d62-4630-b365-c2f0223b773f 2025-05-12 10:39:47,157 - INFO - Validated that VN ctest-vn-24689437 is not found in API Server 2025-05-12 10:39:47,167 - DEBUG - VN ctest-vn-24689437 is not present in Agent 10.0.0.33 2025-05-12 10:39:47,167 - INFO - Validated that VN ctest-vn-24689437 is not in any agent 2025-05-12 10:39:47,182 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24689437 info 2025-05-12 10:39:47,432 - DEBUG - No XMPP flaps were noticed during the test
2025-05-12 10:39:47,432 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-05-12 10:39:47,433 - INFO - -------------------------------------------------------------------------------- 2025-05-12 10:39:48,104 - INFO - Deleted project: ctest-TestBasicPolicy-88647417, ID : d6ca5740-2d62-4630-b365-c2f0223b773f