2025-04-24 22:12:04,941 - INFO - Domain Default found not creating 2025-04-24 22:12:05,054 - INFO - Project ctest-TestBasicPolicy-17051618 not found, creating it 2025-04-24 22:12:05,543 - INFO - Created Project:ctest-TestBasicPolicy-17051618, ID : c78fe887-d74f-4be2-898b-6a26058f1e65 2025-04-24 22:12:06,757 - INFO - ================================================================================ 2025-04-24 22:12:06,757 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-24 22:12:06,757 - 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-04-24 22:12:07,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-04-24 22:12:07,008 - INFO - Initial checks done. Running the testcase now 2025-04-24 22:12:07,008 - INFO - 2025-04-24 22:12:07,486 - DEBUG - Response for create_network : {'network': {'id': '5329cd29-9418-40db-a675-2da47c5a7320', 'name': 'ctest-vn-04735483', 'tenant_id': 'c78fe887d74f4be2898b6a26058f1e65', 'project_id': 'c78fe887d74f4be2898b6a26058f1e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-vn-04735483'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 22:12:07,674 - DEBUG - Response for create_subnet : {'subnet': {'id': '09e03959-719b-4e49-ba50-e93355bd8564', 'name': '', 'tenant_id': 'c78fe887d74f4be2898b6a26058f1e65', 'network_id': '5329cd29-9418-40db-a675-2da47c5a7320', 'ip_version': 4, 'cidr': '37.74.92.192/26', 'allocation_pools': [{'start': '37.74.92.194', 'end': '37.74.92.254'}], 'gateway_ip': '37.74.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.74.92.194', 'tags': [], 'project_id': 'c78fe887d74f4be2898b6a26058f1e65'}} 2025-04-24 22:12:07,691 - INFO - Created VN ctest-vn-04735483 2025-04-24 22:12:07,743 - DEBUG - VN ctest-vn-04735483 UUID is 5329cd29-9418-40db-a675-2da47c5a7320 2025-04-24 22:12:08,044 - DEBUG - Response for create_network : {'network': {'id': '894e453a-08c2-4d31-9839-cc4ef5074236', 'name': 'ctest-vn-19001854', 'tenant_id': 'c78fe887d74f4be2898b6a26058f1e65', 'project_id': 'c78fe887d74f4be2898b6a26058f1e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-vn-19001854'], 'port_security_enabled': True, 'description': ''}} 2025-04-24 22:12:08,229 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bff0183d-6fa6-48f9-aa90-28363fbb725e', 'name': '', 'tenant_id': 'c78fe887d74f4be2898b6a26058f1e65', 'network_id': '894e453a-08c2-4d31-9839-cc4ef5074236', 'ip_version': 4, 'cidr': '190.169.140.192/26', 'allocation_pools': [{'start': '190.169.140.194', 'end': '190.169.140.254'}], 'gateway_ip': '190.169.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.169.140.194', 'tags': [], 'project_id': 'c78fe887d74f4be2898b6a26058f1e65'}} 2025-04-24 22:12:08,244 - INFO - Created VN ctest-vn-19001854 2025-04-24 22:12:08,299 - DEBUG - VN ctest-vn-19001854 UUID is 894e453a-08c2-4d31-9839-cc4ef5074236 2025-04-24 22:12:08,439 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-04735483, 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-17051618:ctest-vn-19001854, 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-04-24 22:12:08,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5329cd29-9418-40db-a675-2da47c5a7320', 'name': 'ctest-vn-04735483', 'tenant_id': 'c78fe887d74f4be2898b6a26058f1e65', 'project_id': 'c78fe887d74f4be2898b6a26058f1e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09e03959-719b-4e49-ba50-e93355bd8564'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-vn-04735483'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-policy-allow-all-93034248']], 'subnet_ipam': [{'subnet_cidr': '37.74.92.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 22:12:08,953 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '894e453a-08c2-4d31-9839-cc4ef5074236', 'name': 'ctest-vn-19001854', 'tenant_id': 'c78fe887d74f4be2898b6a26058f1e65', 'project_id': 'c78fe887d74f4be2898b6a26058f1e65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bff0183d-6fa6-48f9-aa90-28363fbb725e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-vn-19001854'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-policy-allow-all-93034248']], 'subnet_ipam': [{'subnet_cidr': '190.169.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-24 22:12:09,103 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-24 22:12:09,365 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-24 22:12:09,392 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6148ba34-e649-4419-806f-400e2884e8b7 2025-04-24 22:12:09,408 - DEBUG - Requesting: http://10.0.0.22:8082/project/c78fe887-d74f-4be2-898b-6a26058f1e65 2025-04-24 22:12:09,484 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5329cd29-9418-40db-a675-2da47c5a7320 2025-04-24 22:12:09,493 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5329cd29-9418-40db-a675-2da47c5a7320 2025-04-24 22:12:09,501 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abfe0b20-35df-414a-bbe8-0efbb9164fea 2025-04-24 22:12:09,507 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abfe0b20-35df-414a-bbe8-0efbb9164fea 2025-04-24 22:12:09,513 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/68eb3a57-31c1-43a3-a445-55405c3ce221 2025-04-24 22:12:09,517 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 22:12:09,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5329cd29-9418-40db-a675-2da47c5a7320 2025-04-24 22:12:09,525 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abfe0b20-35df-414a-bbe8-0efbb9164fea 2025-04-24 22:12:09,537 - INFO - Verified VN network id 8 for VN 5329cd29-9418-40db-a675-2da47c5a7320 2025-04-24 22:12:09,537 - INFO - Verifications in API Server for VN ctest-vn-04735483 passed 2025-04-24 22:12:09,537 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5329cd29-9418-40db-a675-2da47c5a7320 2025-04-24 22:12:09,544 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abfe0b20-35df-414a-bbe8-0efbb9164fea 2025-04-24 22:12:09,550 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abfe0b20-35df-414a-bbe8-0efbb9164fea 2025-04-24 22:12:09,556 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/68eb3a57-31c1-43a3-a445-55405c3ce221 2025-04-24 22:12:09,567 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-04735483', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17051618', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5992546357655126235', 'uuid-lslong': '11994543367055373088'}, 'enable': 'true', 'created': '2025-04-24T22:12:07', 'last-modified': '2025-04-24T22:12:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.858858'} 2025-04-24 22:12:09,573 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-24 22:12:09,573 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04735483 passed 2025-04-24 22:12:09,573 - DEBUG - ====Verifying policy data for ctest-vn-04735483 in API_Server ====== 2025-04-24 22:12:09,574 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-24 22:12:09,579 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6148ba34-e649-4419-806f-400e2884e8b7 2025-04-24 22:12:09,589 - DEBUG - Requesting: http://10.0.0.22:8082/project/c78fe887-d74f-4be2-898b-6a26058f1e65 2025-04-24 22:12:09,659 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5329cd29-9418-40db-a675-2da47c5a7320 2025-04-24 22:12:09,668 - DEBUG - ==>Verifying data for policy with id: b2bae115-c402-4b40-abab-d900c32ceda8, fqn: ['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-policy-allow-all-93034248'] 2025-04-24 22:12:09,668 - INFO - VN ctest-vn-04735483 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 22:12:09,668 - DEBUG - Verifying the vn in opserver 2025-04-24 22:12:09,668 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-04735483 virtual network link through opserver 10.0.0.22 2025-04-24 22:12:09,668 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-24 22:12:09,927 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-24 22:12:09,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-04735483', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-04735483?flat'} 2025-04-24 22:12:09,972 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-04735483 is found in opserver 2025-04-24 22:12:09,981 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 22:12:09,985 - DEBUG - VRF ids for VN ctest-vn-04735483: {} 2025-04-24 22:12:09,985 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-24 22:12:09,989 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6148ba34-e649-4419-806f-400e2884e8b7 2025-04-24 22:12:09,999 - DEBUG - Requesting: http://10.0.0.22:8082/project/c78fe887-d74f-4be2-898b-6a26058f1e65 2025-04-24 22:12:10,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/894e453a-08c2-4d31-9839-cc4ef5074236 2025-04-24 22:12:10,078 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/894e453a-08c2-4d31-9839-cc4ef5074236 2025-04-24 22:12:10,085 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3553fd59-6478-4b48-9987-7a79774cc246 2025-04-24 22:12:10,091 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3553fd59-6478-4b48-9987-7a79774cc246 2025-04-24 22:12:10,097 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9ec1ff05-5232-4ad9-b906-5b985cedada7 2025-04-24 22:12:10,101 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 22:12:10,101 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/894e453a-08c2-4d31-9839-cc4ef5074236 2025-04-24 22:12:10,109 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3553fd59-6478-4b48-9987-7a79774cc246 2025-04-24 22:12:10,121 - INFO - Verified VN network id 9 for VN 894e453a-08c2-4d31-9839-cc4ef5074236 2025-04-24 22:12:10,121 - INFO - Verifications in API Server for VN ctest-vn-19001854 passed 2025-04-24 22:12:10,121 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/894e453a-08c2-4d31-9839-cc4ef5074236 2025-04-24 22:12:10,128 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3553fd59-6478-4b48-9987-7a79774cc246 2025-04-24 22:12:10,133 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3553fd59-6478-4b48-9987-7a79774cc246 2025-04-24 22:12:10,139 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/9ec1ff05-5232-4ad9-b906-5b985cedada7 2025-04-24 22:12:10,148 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-19001854', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17051618', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9893921546936929585', 'uuid-lslong': '10969023006927962678'}, 'enable': 'true', 'created': '2025-04-24T22:12:08', 'last-modified': '2025-04-24T22:12:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.213010'} 2025-04-24 22:12:10,153 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-24 22:12:10,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19001854 passed 2025-04-24 22:12:10,154 - DEBUG - ====Verifying policy data for ctest-vn-19001854 in API_Server ====== 2025-04-24 22:12:10,154 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-24 22:12:10,157 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6148ba34-e649-4419-806f-400e2884e8b7 2025-04-24 22:12:10,166 - DEBUG - Requesting: http://10.0.0.22:8082/project/c78fe887-d74f-4be2-898b-6a26058f1e65 2025-04-24 22:12:10,241 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/894e453a-08c2-4d31-9839-cc4ef5074236 2025-04-24 22:12:10,250 - DEBUG - ==>Verifying data for policy with id: b2bae115-c402-4b40-abab-d900c32ceda8, fqn: ['default-domain', 'ctest-TestBasicPolicy-17051618', 'ctest-policy-allow-all-93034248'] 2025-04-24 22:12:10,250 - INFO - VN ctest-vn-19001854 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-24 22:12:10,250 - DEBUG - Verifying the vn in opserver 2025-04-24 22:12:10,251 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-19001854 virtual network link through opserver 10.0.0.22 2025-04-24 22:12:10,251 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-04-24 22:12:10,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-19001854', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-19001854?flat'} 2025-04-24 22:12:10,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-19001854 is found in opserver 2025-04-24 22:12:10,269 - DEBUG - Do not have enough data to verify VN in agent 2025-04-24 22:12:10,273 - DEBUG - VRF ids for VN ctest-vn-19001854: {} 2025-04-24 22:12:10,319 - DEBUG - Services list from nova: [, , ] 2025-04-24 22:12:11,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3210-1) 2025-04-24 22:12:12,237 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3210-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3210-1) 2025-04-24 22:12:12,238 - INFO - Waiting for VM ctest-TestBasicPolicy-17051618-41437047 to be up.. 2025-04-24 22:12:12,297 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-24 22:12:17,368 - DEBUG - VM is in ACTIVE state now 2025-04-24 22:12:17,368 - INFO - VM name : ctest-TestBasicPolicy-17051618-41437047 2025-04-24 22:12:17,432 - DEBUG - VM ctest-TestBasicPolicy-17051618-41437047 ID is bc77906f-fbb7-4c36-8c5c-1f2285a71f2c 2025-04-24 22:12:17,447 - DEBUG - VM ctest-TestBasicPolicy-17051618-41437047 launched on Node cn-jenkins-deploy-platform-ansible-os-3210-1 2025-04-24 22:12:17,511 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bc77906f-fbb7-4c36-8c5c-1f2285a71f2c 2025-04-24 22:12:17,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e7bb914e-47c8-4146-9007-8c5d54141b3d 2025-04-24 22:12:20,763 - 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-04-24 22:12:20,763 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17051618-41437047 failed! 2025-04-24 22:12:20,819 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17051618:ctest-vn-04735483 is 37.74.92.193 and allocation pool is NOT set 2025-04-24 22:12:22,885 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.497/2.600/1.103 ms') 2025-04-24 22:12:22,885 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17051618-41437047 passed 2025-04-24 22:12:23,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 22:12:23,031 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17051618-41437047, IP 37.74.92.195, Port 22 2025-04-24 22:12:23,186 - DEBUG - VM ctest-TestBasicPolicy-17051618-41437047 is ready for SSH connections 2025-04-24 22:12:23,186 - INFO - Waiting for VM ctest-TestBasicPolicy-17051618-35440833 to be up.. 2025-04-24 22:12:23,250 - DEBUG - VM is in ACTIVE state now 2025-04-24 22:12:23,250 - INFO - VM name : ctest-TestBasicPolicy-17051618-35440833 2025-04-24 22:12:23,310 - DEBUG - VM ctest-TestBasicPolicy-17051618-35440833 ID is 75015b70-5eb8-458b-b31e-424916baf2ee 2025-04-24 22:12:23,310 - DEBUG - VM ctest-TestBasicPolicy-17051618-35440833 launched on Node cn-jenkins-deploy-platform-ansible-os-3210-1 2025-04-24 22:12:23,362 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/75015b70-5eb8-458b-b31e-424916baf2ee 2025-04-24 22:12:23,368 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6bc82cb3-bc73-401b-b5d4-08a54e423f63 2025-04-24 22:12:24,591 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.538/2.574/1.036 ms') 2025-04-24 22:12:24,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17051618-35440833 passed 2025-04-24 22:12:24,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 22:12:24,739 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17051618-35440833, IP 190.169.140.195, Port 22 2025-04-24 22:12:24,891 - DEBUG - VM ctest-TestBasicPolicy-17051618-35440833 is ready for SSH connections 2025-04-24 22:12:24,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 22:12:24,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.169.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-24 22:12:24,891 - DEBUG - ping -s 56 -c 3 -W 1 190.169.140.195 2025-04-24 22:12:28,749 - DEBUG - PING 190.169.140.195 (190.169.140.195): 56 data bytes 64 bytes from 190.169.140.195: seq=0 ttl=63 time=3.227 ms 64 bytes from 190.169.140.195: seq=1 ttl=63 time=0.835 ms 64 bytes from 190.169.140.195: seq=2 ttl=63 time=0.815 ms --- 190.169.140.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.625/3.227 ms 2025-04-24 22:12:28,750 - INFO - Ping to IP 190.169.140.195 from VM ctest-TestBasicPolicy-17051618-41437047 passed 2025-04-24 22:12:28,923 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2bae115-c402-4b40-abab-d900c32ceda8", "href": "http://10.0.0.22:8082/network-policy/b2bae115-c402-4b40-abab-d900c32ceda8"}} 2025-04-24 22:12:28,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-24 22:12:28,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.169.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-04-24 22:12:28,923 - DEBUG - ping -s 56 -c 3 -W 1 190.169.140.195 2025-04-24 22:12:32,098 - DEBUG - PING 190.169.140.195 (190.169.140.195): 56 data bytes --- 190.169.140.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-24 22:12:32,099 - WARNING - Ping to IP 190.169.140.195 from VM ctest-TestBasicPolicy-17051618-41437047 failed 2025-04-24 22:12:32,099 - INFO - Deleting VM ctest-TestBasicPolicy-17051618-35440833 2025-04-24 22:12:32,153 - INFO - Deleting VM ctest-TestBasicPolicy-17051618-41437047 2025-04-24 22:12:32,508 - INFO - Deleted policy ctest-policy-allow-all-93034248 2025-04-24 22:12:32,508 - INFO - Deleting VN ctest-vn-19001854 2025-04-24 22:12:32,551 - DEBUG - VN 894e453a-08c2-4d31-9839-cc4ef5074236 still in use: Unable to complete operation on network 894e453a-08c2-4d31-9839-cc4ef5074236. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eede5658-2dd6-4f6f-aac4-9143ef52f685'] 2025-04-24 22:12:32,552 - WARNING - Deleting VN ctest-vn-19001854 failed..Will retry 2025-04-24 22:12:34,643 - DEBUG - Response for deleting network () 2025-04-24 22:12:34,643 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3553fd59-6478-4b48-9987-7a79774cc246 2025-04-24 22:12:34,649 - DEBUG - Response Code: 404 2025-04-24 22:12:34,649 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-24 22:12:34,653 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6148ba34-e649-4419-806f-400e2884e8b7 2025-04-24 22:12:34,708 - DEBUG - Requesting: http://10.0.0.22:8082/project/c78fe887-d74f-4be2-898b-6a26058f1e65 2025-04-24 22:12:34,777 - INFO - Validated that VN ctest-vn-19001854 is not found in API Server 2025-04-24 22:12:34,787 - DEBUG - VN ctest-vn-19001854 is not present in Agent 10.0.0.22 2025-04-24 22:12:34,787 - INFO - Validated that VN ctest-vn-19001854 is not in any agent 2025-04-24 22:12:34,800 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19001854 info 2025-04-24 22:12:34,800 - INFO - Deleting VN ctest-vn-04735483 2025-04-24 22:12:34,886 - DEBUG - Response for deleting network () 2025-04-24 22:12:34,886 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/abfe0b20-35df-414a-bbe8-0efbb9164fea 2025-04-24 22:12:34,891 - DEBUG - Response Code: 404 2025-04-24 22:12:34,891 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-04-24 22:12:34,895 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6148ba34-e649-4419-806f-400e2884e8b7 2025-04-24 22:12:34,951 - DEBUG - Requesting: http://10.0.0.22:8082/project/c78fe887-d74f-4be2-898b-6a26058f1e65 2025-04-24 22:12:35,019 - INFO - Validated that VN ctest-vn-04735483 is not found in API Server 2025-04-24 22:12:35,028 - DEBUG - VN ctest-vn-04735483 is not present in Agent 10.0.0.22 2025-04-24 22:12:35,028 - INFO - Validated that VN ctest-vn-04735483 is not in any agent 2025-04-24 22:12:35,040 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04735483 info 2025-04-24 22:12:35,292 - DEBUG - No XMPP flaps were noticed during the test
2025-04-24 22:12:35,292 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-24 22:12:35,292 - INFO - -------------------------------------------------------------------------------- 2025-04-24 22:12:35,902 - INFO - Deleted project: ctest-TestBasicPolicy-17051618, ID : c78fe887-d74f-4be2-898b-6a26058f1e65