2025-05-29 10:14:21,435 - INFO - Domain Default found not creating 2025-05-29 10:14:21,586 - INFO - Project ctest-TestBasicPolicy-27168129 not found, creating it 2025-05-29 10:14:22,075 - INFO - Created Project:ctest-TestBasicPolicy-27168129, ID : ad05a0ff-4db8-46fb-8520-8105aef0b88d 2025-05-29 10:14:23,581 - INFO - ================================================================================ 2025-05-29 10:14:23,582 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-29 10:14:23,582 - 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-29 10:14:23,841 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-29 10:14:23,841 - INFO - Initial checks done. Running the testcase now 2025-05-29 10:14:23,841 - INFO - 2025-05-29 10:14:24,406 - DEBUG - Response for create_network : {'network': {'id': '3bba9cd6-170d-4cf5-81e6-a236e652c9c3', 'name': 'ctest-vn-35249852', 'tenant_id': 'ad05a0ff4db846fb85208105aef0b88d', 'project_id': 'ad05a0ff4db846fb85208105aef0b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-vn-35249852'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 10:14:24,625 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd87643d7-15dd-427e-8c4d-02b15390928d', 'name': '', 'tenant_id': 'ad05a0ff4db846fb85208105aef0b88d', 'network_id': '3bba9cd6-170d-4cf5-81e6-a236e652c9c3', 'ip_version': 4, 'cidr': '97.182.183.192/26', 'allocation_pools': [{'start': '97.182.183.194', 'end': '97.182.183.254'}], 'gateway_ip': '97.182.183.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.182.183.194', 'tags': [], 'project_id': 'ad05a0ff4db846fb85208105aef0b88d'}} 2025-05-29 10:14:24,643 - INFO - Created VN ctest-vn-35249852 2025-05-29 10:14:24,697 - DEBUG - VN ctest-vn-35249852 UUID is 3bba9cd6-170d-4cf5-81e6-a236e652c9c3 2025-05-29 10:14:25,029 - DEBUG - Response for create_network : {'network': {'id': 'b99874c5-4336-4b64-a7c5-12eb86672ec2', 'name': 'ctest-vn-51121665', 'tenant_id': 'ad05a0ff4db846fb85208105aef0b88d', 'project_id': 'ad05a0ff4db846fb85208105aef0b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-vn-51121665'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 10:14:25,250 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fae2fe6d-cdc2-4dab-a724-d511b192b527', 'name': '', 'tenant_id': 'ad05a0ff4db846fb85208105aef0b88d', 'network_id': 'b99874c5-4336-4b64-a7c5-12eb86672ec2', 'ip_version': 4, 'cidr': '82.222.108.0/26', 'allocation_pools': [{'start': '82.222.108.2', 'end': '82.222.108.62'}], 'gateway_ip': '82.222.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.222.108.2', 'tags': [], 'project_id': 'ad05a0ff4db846fb85208105aef0b88d'}} 2025-05-29 10:14:25,270 - INFO - Created VN ctest-vn-51121665 2025-05-29 10:14:25,329 - DEBUG - VN ctest-vn-51121665 UUID is b99874c5-4336-4b64-a7c5-12eb86672ec2 2025-05-29 10:14:25,447 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-35249852, 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-27168129:ctest-vn-51121665, 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-29 10:14:25,804 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3bba9cd6-170d-4cf5-81e6-a236e652c9c3', 'name': 'ctest-vn-35249852', 'tenant_id': 'ad05a0ff4db846fb85208105aef0b88d', 'project_id': 'ad05a0ff4db846fb85208105aef0b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d87643d7-15dd-427e-8c4d-02b15390928d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-vn-35249852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-policy-allow-all-82338554']], 'subnet_ipam': [{'subnet_cidr': '97.182.183.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 10:14:26,051 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b99874c5-4336-4b64-a7c5-12eb86672ec2', 'name': 'ctest-vn-51121665', 'tenant_id': 'ad05a0ff4db846fb85208105aef0b88d', 'project_id': 'ad05a0ff4db846fb85208105aef0b88d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fae2fe6d-cdc2-4dab-a724-d511b192b527'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-vn-51121665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-policy-allow-all-82338554']], 'subnet_ipam': [{'subnet_cidr': '82.222.108.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 10:14:26,225 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 10:14:26,529 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 10:14:26,559 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cedd642b-4a19-41b8-8c06-4d637919b587 2025-05-29 10:14:26,574 - DEBUG - Requesting: http://10.0.0.50:8082/project/ad05a0ff-4db8-46fb-8520-8105aef0b88d 2025-05-29 10:14:26,649 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bba9cd6-170d-4cf5-81e6-a236e652c9c3 2025-05-29 10:14:26,666 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bba9cd6-170d-4cf5-81e6-a236e652c9c3 2025-05-29 10:14:26,679 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/705581d4-14e1-42bf-99c5-f789dccdc267 2025-05-29 10:14:26,690 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/705581d4-14e1-42bf-99c5-f789dccdc267 2025-05-29 10:14:26,698 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/56a2a5ba-ac39-47fd-8eb8-5b3138e8550c 2025-05-29 10:14:26,706 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 10:14:26,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bba9cd6-170d-4cf5-81e6-a236e652c9c3 2025-05-29 10:14:26,717 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/705581d4-14e1-42bf-99c5-f789dccdc267 2025-05-29 10:14:26,734 - INFO - Verified VN network id 8 for VN 3bba9cd6-170d-4cf5-81e6-a236e652c9c3 2025-05-29 10:14:26,734 - INFO - Verifications in API Server for VN ctest-vn-35249852 passed 2025-05-29 10:14:26,735 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bba9cd6-170d-4cf5-81e6-a236e652c9c3 2025-05-29 10:14:26,745 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/705581d4-14e1-42bf-99c5-f789dccdc267 2025-05-29 10:14:26,753 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/705581d4-14e1-42bf-99c5-f789dccdc267 2025-05-29 10:14:26,762 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/56a2a5ba-ac39-47fd-8eb8-5b3138e8550c 2025-05-29 10:14:26,775 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-35249852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27168129', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4303924837229612277', 'uuid-lslong': '9360347232212273603'}, 'enable': 'true', 'created': '2025-05-29T10:14:24', 'last-modified': '2025-05-29T10:14:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008860'} 2025-05-29 10:14:26,782 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 10:14:26,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35249852 passed 2025-05-29 10:14:26,783 - DEBUG - ====Verifying policy data for ctest-vn-35249852 in API_Server ====== 2025-05-29 10:14:26,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 10:14:26,790 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cedd642b-4a19-41b8-8c06-4d637919b587 2025-05-29 10:14:26,804 - DEBUG - Requesting: http://10.0.0.50:8082/project/ad05a0ff-4db8-46fb-8520-8105aef0b88d 2025-05-29 10:14:26,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3bba9cd6-170d-4cf5-81e6-a236e652c9c3 2025-05-29 10:14:26,892 - DEBUG - ==>Verifying data for policy with id: 9066810e-a973-4603-b22c-4a633b269ac9, fqn: ['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-policy-allow-all-82338554'] 2025-05-29 10:14:26,892 - INFO - VN ctest-vn-35249852 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 10:14:26,893 - DEBUG - Verifying the vn in opserver 2025-05-29 10:14:26,893 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-35249852 virtual network link through opserver 10.0.0.50 2025-05-29 10:14:26,893 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-29 10:14:27,183 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-29 10:14:27,249 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-35249852', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-35249852?flat'} 2025-05-29 10:14:27,249 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-35249852 is found in opserver 2025-05-29 10:14:27,262 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 10:14:27,269 - DEBUG - VRF ids for VN ctest-vn-35249852: {} 2025-05-29 10:14:27,269 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 10:14:27,277 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cedd642b-4a19-41b8-8c06-4d637919b587 2025-05-29 10:14:27,289 - DEBUG - Requesting: http://10.0.0.50:8082/project/ad05a0ff-4db8-46fb-8520-8105aef0b88d 2025-05-29 10:14:27,374 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b99874c5-4336-4b64-a7c5-12eb86672ec2 2025-05-29 10:14:27,390 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b99874c5-4336-4b64-a7c5-12eb86672ec2 2025-05-29 10:14:27,400 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3287b511-22c0-467e-b863-3fbcfe8e0c46 2025-05-29 10:14:27,409 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3287b511-22c0-467e-b863-3fbcfe8e0c46 2025-05-29 10:14:27,417 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81c36bd1-a251-4497-a5bc-4780795f416a 2025-05-29 10:14:27,425 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 10:14:27,425 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b99874c5-4336-4b64-a7c5-12eb86672ec2 2025-05-29 10:14:27,436 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3287b511-22c0-467e-b863-3fbcfe8e0c46 2025-05-29 10:14:27,453 - INFO - Verified VN network id 9 for VN b99874c5-4336-4b64-a7c5-12eb86672ec2 2025-05-29 10:14:27,453 - INFO - Verifications in API Server for VN ctest-vn-51121665 passed 2025-05-29 10:14:27,453 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b99874c5-4336-4b64-a7c5-12eb86672ec2 2025-05-29 10:14:27,465 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3287b511-22c0-467e-b863-3fbcfe8e0c46 2025-05-29 10:14:27,474 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3287b511-22c0-467e-b863-3fbcfe8e0c46 2025-05-29 10:14:27,483 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/81c36bd1-a251-4497-a5bc-4780795f416a 2025-05-29 10:14:27,496 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-51121665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27168129', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13373567484061698916', 'uuid-lslong': '12089089577527488194'}, 'enable': 'true', 'created': '2025-05-29T10:14:24', 'last-modified': '2025-05-29T10:14:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467993'} 2025-05-29 10:14:27,503 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 10:14:27,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51121665 passed 2025-05-29 10:14:27,504 - DEBUG - ====Verifying policy data for ctest-vn-51121665 in API_Server ====== 2025-05-29 10:14:27,504 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 10:14:27,510 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cedd642b-4a19-41b8-8c06-4d637919b587 2025-05-29 10:14:27,523 - DEBUG - Requesting: http://10.0.0.50:8082/project/ad05a0ff-4db8-46fb-8520-8105aef0b88d 2025-05-29 10:14:27,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b99874c5-4336-4b64-a7c5-12eb86672ec2 2025-05-29 10:14:27,609 - DEBUG - ==>Verifying data for policy with id: 9066810e-a973-4603-b22c-4a633b269ac9, fqn: ['default-domain', 'ctest-TestBasicPolicy-27168129', 'ctest-policy-allow-all-82338554'] 2025-05-29 10:14:27,609 - INFO - VN ctest-vn-51121665 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 10:14:27,609 - DEBUG - Verifying the vn in opserver 2025-05-29 10:14:27,609 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-51121665 virtual network link through opserver 10.0.0.50 2025-05-29 10:14:27,609 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-29 10:14:27,621 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-51121665', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-51121665?flat'} 2025-05-29 10:14:27,621 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-51121665 is found in opserver 2025-05-29 10:14:27,637 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 10:14:27,644 - DEBUG - VRF ids for VN ctest-vn-51121665: {} 2025-05-29 10:14:27,710 - DEBUG - Services list from nova: [, , ] 2025-05-29 10:14:28,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3364-1) 2025-05-29 10:14:30,009 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3364-1) 2025-05-29 10:14:30,010 - INFO - Waiting for VM ctest-TestBasicPolicy-27168129-45503839 to be up.. 2025-05-29 10:14:30,105 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 10:14:35,200 - DEBUG - VM is in ACTIVE state now 2025-05-29 10:14:35,200 - INFO - VM name : ctest-TestBasicPolicy-27168129-45503839 2025-05-29 10:14:35,293 - DEBUG - VM ctest-TestBasicPolicy-27168129-45503839 ID is 6b077be0-8fa0-4481-b5a3-ee16a168d3cc 2025-05-29 10:14:35,317 - DEBUG - VM ctest-TestBasicPolicy-27168129-45503839 launched on Node cn-jenkins-deploy-platform-ansible-os-3364-1 2025-05-29 10:14:35,401 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6b077be0-8fa0-4481-b5a3-ee16a168d3cc 2025-05-29 10:14:35,413 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/55cc2ef3-dcfe-4279-90b3-3074ce0d7936 2025-05-29 10:14:38,620 - 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 1001ms') 2025-05-29 10:14:38,620 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27168129-45503839 failed! 2025-05-29 10:14:38,677 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27168129:ctest-vn-35249852 is 97.182.183.193 and allocation pool is NOT set 2025-05-29 10:14:40,739 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.869 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.869/4.742/8.616/3.873 ms') 2025-05-29 10:14:40,739 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27168129-45503839 passed 2025-05-29 10:14:40,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:14:40,902 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27168129-45503839, IP 97.182.183.195, Port 22 2025-05-29 10:14:41,068 - DEBUG - VM ctest-TestBasicPolicy-27168129-45503839 is ready for SSH connections 2025-05-29 10:14:41,069 - INFO - Waiting for VM ctest-TestBasicPolicy-27168129-82368197 to be up.. 2025-05-29 10:14:41,170 - DEBUG - VM is in ACTIVE state now 2025-05-29 10:14:41,170 - INFO - VM name : ctest-TestBasicPolicy-27168129-82368197 2025-05-29 10:14:41,255 - DEBUG - VM ctest-TestBasicPolicy-27168129-82368197 ID is d12015ce-52ef-4257-a829-e2e5ebea197f 2025-05-29 10:14:41,255 - DEBUG - VM ctest-TestBasicPolicy-27168129-82368197 launched on Node cn-jenkins-deploy-platform-ansible-os-3364-1 2025-05-29 10:14:41,350 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d12015ce-52ef-4257-a829-e2e5ebea197f 2025-05-29 10:14:41,360 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/77931715-4bb5-4a9f-9121-4a76e9d76608 2025-05-29 10:14:42,631 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/1.638/2.812/1.174 ms') 2025-05-29 10:14:42,631 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27168129-82368197 passed 2025-05-29 10:14:42,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:14:42,794 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27168129-82368197, IP 82.222.108.3, Port 22 2025-05-29 10:14:42,971 - DEBUG - VM ctest-TestBasicPolicy-27168129-82368197 is ready for SSH connections 2025-05-29 10:14:42,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:14:42,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.222.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 10:14:42,972 - DEBUG - ping -s 56 -c 3 -W 1 82.222.108.3 2025-05-29 10:14:46,671 - DEBUG - PING 82.222.108.3 (82.222.108.3): 56 data bytes 64 bytes from 82.222.108.3: seq=0 ttl=63 time=3.353 ms 64 bytes from 82.222.108.3: seq=1 ttl=63 time=1.023 ms 64 bytes from 82.222.108.3: seq=2 ttl=63 time=0.967 ms --- 82.222.108.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.967/1.781/3.353 ms 2025-05-29 10:14:46,671 - INFO - Ping to IP 82.222.108.3 from VM ctest-TestBasicPolicy-27168129-45503839 passed 2025-05-29 10:14:46,853 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9066810e-a973-4603-b22c-4a633b269ac9", "href": "http://10.0.0.50:8082/network-policy/9066810e-a973-4603-b22c-4a633b269ac9"}} 2025-05-29 10:14:46,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 10:14:46,854 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.222.108.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 10:14:46,854 - DEBUG - ping -s 56 -c 3 -W 1 82.222.108.3 2025-05-29 10:14:50,087 - DEBUG - PING 82.222.108.3 (82.222.108.3): 56 data bytes --- 82.222.108.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-29 10:14:50,087 - WARNING - Ping to IP 82.222.108.3 from VM ctest-TestBasicPolicy-27168129-45503839 failed 2025-05-29 10:14:50,087 - INFO - Deleting VM ctest-TestBasicPolicy-27168129-82368197 2025-05-29 10:14:50,152 - INFO - Deleting VM ctest-TestBasicPolicy-27168129-45503839 2025-05-29 10:14:50,656 - INFO - Deleted policy ctest-policy-allow-all-82338554 2025-05-29 10:14:50,656 - INFO - Deleting VN ctest-vn-51121665 2025-05-29 10:14:50,721 - DEBUG - VN b99874c5-4336-4b64-a7c5-12eb86672ec2 still in use: Unable to complete operation on network b99874c5-4336-4b64-a7c5-12eb86672ec2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-806f2824-aea8-4ebb-858c-6a6d2d205bbe'] 2025-05-29 10:14:50,721 - WARNING - Deleting VN ctest-vn-51121665 failed..Will retry 2025-05-29 10:14:52,860 - DEBUG - Response for deleting network () 2025-05-29 10:14:52,860 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3287b511-22c0-467e-b863-3fbcfe8e0c46 2025-05-29 10:14:52,867 - DEBUG - Response Code: 404 2025-05-29 10:14:52,867 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 10:14:52,880 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cedd642b-4a19-41b8-8c06-4d637919b587 2025-05-29 10:14:52,938 - DEBUG - Requesting: http://10.0.0.50:8082/project/ad05a0ff-4db8-46fb-8520-8105aef0b88d 2025-05-29 10:14:53,012 - INFO - Validated that VN ctest-vn-51121665 is not found in API Server 2025-05-29 10:14:53,026 - DEBUG - VN ctest-vn-51121665 is not present in Agent 10.0.0.50 2025-05-29 10:14:53,026 - INFO - Validated that VN ctest-vn-51121665 is not in any agent 2025-05-29 10:14:53,045 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51121665 info 2025-05-29 10:14:53,046 - INFO - Deleting VN ctest-vn-35249852 2025-05-29 10:14:53,180 - DEBUG - Response for deleting network () 2025-05-29 10:14:53,180 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/705581d4-14e1-42bf-99c5-f789dccdc267 2025-05-29 10:14:53,186 - DEBUG - Response Code: 404 2025-05-29 10:14:53,187 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 10:14:53,196 - DEBUG - Requesting: http://10.0.0.50:8082/domain/cedd642b-4a19-41b8-8c06-4d637919b587 2025-05-29 10:14:53,250 - DEBUG - Requesting: http://10.0.0.50:8082/project/ad05a0ff-4db8-46fb-8520-8105aef0b88d 2025-05-29 10:14:53,331 - INFO - Validated that VN ctest-vn-35249852 is not found in API Server 2025-05-29 10:14:53,342 - DEBUG - VN ctest-vn-35249852 is not present in Agent 10.0.0.50 2025-05-29 10:14:53,343 - INFO - Validated that VN ctest-vn-35249852 is not in any agent 2025-05-29 10:14:53,360 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35249852 info 2025-05-29 10:14:53,617 - DEBUG - No XMPP flaps were noticed during the test
2025-05-29 10:14:53,617 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-05-29 10:14:53,617 - INFO - -------------------------------------------------------------------------------- 2025-05-29 10:14:54,299 - INFO - Deleted project: ctest-TestBasicPolicy-27168129, ID : ad05a0ff-4db8-46fb-8520-8105aef0b88d