2025-07-23 13:31:01,052 - INFO - Domain Default found not creating 2025-07-23 13:31:01,512 - INFO - Project ctest-TestBasicPolicy-12266284 not found, creating it 2025-07-23 13:31:01,980 - INFO - Created Project:ctest-TestBasicPolicy-12266284, ID : 9c6869e4-38c3-4735-b3fd-b94c98f8f1ee 2025-07-23 13:31:03,424 - INFO - ================================================================================ 2025-07-23 13:31:03,424 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-23 13:31:03,424 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-07-23 13:31:03,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.193': '0'}} with 2025-07-23 13:31:03,678 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:31:03,678 - INFO - 2025-07-23 13:31:04,239 - DEBUG - Response for create_network : {'network': {'id': 'b49e08d6-7359-4baf-8f51-34f859c9549a', 'name': 'ctest-vn-18869453', 'tenant_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'project_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-vn-18869453'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:31:04,467 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4576c8d-9439-4083-9a65-ad3871c9c54a', 'name': '', 'tenant_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'network_id': 'b49e08d6-7359-4baf-8f51-34f859c9549a', 'ip_version': 4, 'cidr': '57.160.176.192/26', 'allocation_pools': [{'start': '57.160.176.194', 'end': '57.160.176.254'}], 'gateway_ip': '57.160.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.160.176.194', 'tags': [], 'project_id': '9c6869e438c34735b3fdb94c98f8f1ee'}} 2025-07-23 13:31:04,486 - INFO - Created VN ctest-vn-18869453 2025-07-23 13:31:04,540 - DEBUG - VN ctest-vn-18869453 UUID is b49e08d6-7359-4baf-8f51-34f859c9549a 2025-07-23 13:31:04,843 - DEBUG - Response for create_network : {'network': {'id': '3699d76f-69bc-4a26-a520-8d4a37a10387', 'name': 'ctest-vn-51307385', 'tenant_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'project_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-vn-51307385'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:31:05,016 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eaa16e1e-4c33-4749-b9c4-87bc2952d893', 'name': '', 'tenant_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'network_id': '3699d76f-69bc-4a26-a520-8d4a37a10387', 'ip_version': 4, 'cidr': '130.231.27.64/26', 'allocation_pools': [{'start': '130.231.27.66', 'end': '130.231.27.126'}], 'gateway_ip': '130.231.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.231.27.66', 'tags': [], 'project_id': '9c6869e438c34735b3fdb94c98f8f1ee'}} 2025-07-23 13:31:05,035 - INFO - Created VN ctest-vn-51307385 2025-07-23 13:31:05,088 - DEBUG - VN ctest-vn-51307385 UUID is 3699d76f-69bc-4a26-a520-8d4a37a10387 2025-07-23 13:31:05,205 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-18869453, 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-12266284:ctest-vn-51307385, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-07-23 13:31:05,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b49e08d6-7359-4baf-8f51-34f859c9549a', 'name': 'ctest-vn-18869453', 'tenant_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'project_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4576c8d-9439-4083-9a65-ad3871c9c54a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-vn-18869453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-policy-allow-all-98335008']], 'subnet_ipam': [{'subnet_cidr': '57.160.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:31:05,807 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3699d76f-69bc-4a26-a520-8d4a37a10387', 'name': 'ctest-vn-51307385', 'tenant_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'project_id': '9c6869e438c34735b3fdb94c98f8f1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eaa16e1e-4c33-4749-b9c4-87bc2952d893'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-vn-51307385'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-policy-allow-all-98335008']], 'subnet_ipam': [{'subnet_cidr': '130.231.27.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:31:05,964 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 13:31:06,263 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 13:31:06,292 - DEBUG - Requesting: http://10.0.0.23:8082/domain/da3ff578-e247-4ebc-b955-07f04a47ad8d 2025-07-23 13:31:06,306 - DEBUG - Requesting: http://10.0.0.23:8082/project/9c6869e4-38c3-4735-b3fd-b94c98f8f1ee 2025-07-23 13:31:06,381 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b49e08d6-7359-4baf-8f51-34f859c9549a 2025-07-23 13:31:06,393 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b49e08d6-7359-4baf-8f51-34f859c9549a 2025-07-23 13:31:06,404 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/51108082-078a-4300-9673-bba79f900514 2025-07-23 13:31:06,412 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/51108082-078a-4300-9673-bba79f900514 2025-07-23 13:31:06,420 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/496fc6e0-4a41-48c9-a23b-0e2da8386459 2025-07-23 13:31:06,427 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 13:31:06,427 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b49e08d6-7359-4baf-8f51-34f859c9549a 2025-07-23 13:31:06,439 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/51108082-078a-4300-9673-bba79f900514 2025-07-23 13:31:06,458 - INFO - Verified VN network id 10 for VN b49e08d6-7359-4baf-8f51-34f859c9549a 2025-07-23 13:31:06,458 - INFO - Verifications in API Server for VN ctest-vn-18869453 passed 2025-07-23 13:31:06,458 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b49e08d6-7359-4baf-8f51-34f859c9549a 2025-07-23 13:31:06,472 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/51108082-078a-4300-9673-bba79f900514 2025-07-23 13:31:06,484 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/51108082-078a-4300-9673-bba79f900514 2025-07-23 13:31:06,493 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/496fc6e0-4a41-48c9-a23b-0e2da8386459 2025-07-23 13:31:06,507 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-18869453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12266284', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13014849690298567599', 'uuid-lslong': '10327093661800158362'}, 'enable': 'true', 'created': '2025-07-23T13:31:04', 'last-modified': '2025-07-23T13:31:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019799'} 2025-07-23 13:31:06,514 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-23 13:31:06,514 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18869453 passed 2025-07-23 13:31:06,514 - DEBUG - ====Verifying policy data for ctest-vn-18869453 in API_Server ====== 2025-07-23 13:31:06,514 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 13:31:06,520 - DEBUG - Requesting: http://10.0.0.23:8082/domain/da3ff578-e247-4ebc-b955-07f04a47ad8d 2025-07-23 13:31:06,533 - DEBUG - Requesting: http://10.0.0.23:8082/project/9c6869e4-38c3-4735-b3fd-b94c98f8f1ee 2025-07-23 13:31:06,610 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/b49e08d6-7359-4baf-8f51-34f859c9549a 2025-07-23 13:31:06,621 - DEBUG - ==>Verifying data for policy with id: 5898ce0a-7736-4bd1-bac9-7195f540f9bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-policy-allow-all-98335008'] 2025-07-23 13:31:06,621 - INFO - VN ctest-vn-18869453 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 13:31:06,621 - DEBUG - Verifying the vn in opserver 2025-07-23 13:31:06,621 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-18869453 virtual network link through opserver 10.0.0.23 2025-07-23 13:31:06,622 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-07-23 13:31:06,915 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-07-23 13:31:06,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-18869453', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-18869453?flat'} 2025-07-23 13:31:06,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-18869453 is found in opserver 2025-07-23 13:31:06,980 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 13:31:06,986 - DEBUG - VRF ids for VN ctest-vn-18869453: {} 2025-07-23 13:31:06,986 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 13:31:06,992 - DEBUG - Requesting: http://10.0.0.23:8082/domain/da3ff578-e247-4ebc-b955-07f04a47ad8d 2025-07-23 13:31:07,004 - DEBUG - Requesting: http://10.0.0.23:8082/project/9c6869e4-38c3-4735-b3fd-b94c98f8f1ee 2025-07-23 13:31:07,084 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3699d76f-69bc-4a26-a520-8d4a37a10387 2025-07-23 13:31:07,100 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3699d76f-69bc-4a26-a520-8d4a37a10387 2025-07-23 13:31:07,113 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa7c2189-d985-442f-9f2a-863c8722b8ed 2025-07-23 13:31:07,122 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa7c2189-d985-442f-9f2a-863c8722b8ed 2025-07-23 13:31:07,130 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/61ba5155-7d90-4e52-8e99-c3de07e7ce3b 2025-07-23 13:31:07,139 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 13:31:07,139 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3699d76f-69bc-4a26-a520-8d4a37a10387 2025-07-23 13:31:07,150 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa7c2189-d985-442f-9f2a-863c8722b8ed 2025-07-23 13:31:07,167 - INFO - Verified VN network id 11 for VN 3699d76f-69bc-4a26-a520-8d4a37a10387 2025-07-23 13:31:07,168 - INFO - Verifications in API Server for VN ctest-vn-51307385 passed 2025-07-23 13:31:07,168 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3699d76f-69bc-4a26-a520-8d4a37a10387 2025-07-23 13:31:07,179 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa7c2189-d985-442f-9f2a-863c8722b8ed 2025-07-23 13:31:07,187 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa7c2189-d985-442f-9f2a-863c8722b8ed 2025-07-23 13:31:07,195 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/61ba5155-7d90-4e52-8e99-c3de07e7ce3b 2025-07-23 13:31:07,208 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-51307385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12266284', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3934412623000128038', 'uuid-lslong': '11898665565413245831'}, 'enable': 'true', 'created': '2025-07-23T13:31:04', 'last-modified': '2025-07-23T13:31:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.474050'} 2025-07-23 13:31:07,214 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-23 13:31:07,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51307385 passed 2025-07-23 13:31:07,214 - DEBUG - ====Verifying policy data for ctest-vn-51307385 in API_Server ====== 2025-07-23 13:31:07,214 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 13:31:07,220 - DEBUG - Requesting: http://10.0.0.23:8082/domain/da3ff578-e247-4ebc-b955-07f04a47ad8d 2025-07-23 13:31:07,234 - DEBUG - Requesting: http://10.0.0.23:8082/project/9c6869e4-38c3-4735-b3fd-b94c98f8f1ee 2025-07-23 13:31:07,306 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/3699d76f-69bc-4a26-a520-8d4a37a10387 2025-07-23 13:31:07,318 - DEBUG - ==>Verifying data for policy with id: 5898ce0a-7736-4bd1-bac9-7195f540f9bd, fqn: ['default-domain', 'ctest-TestBasicPolicy-12266284', 'ctest-policy-allow-all-98335008'] 2025-07-23 13:31:07,318 - INFO - VN ctest-vn-51307385 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-23 13:31:07,318 - DEBUG - Verifying the vn in opserver 2025-07-23 13:31:07,318 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-51307385 virtual network link through opserver 10.0.0.23 2025-07-23 13:31:07,319 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-07-23 13:31:07,330 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-51307385', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-51307385?flat'} 2025-07-23 13:31:07,330 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-51307385 is found in opserver 2025-07-23 13:31:07,342 - DEBUG - Do not have enough data to verify VN in agent 2025-07-23 13:31:07,348 - DEBUG - VRF ids for VN ctest-vn-51307385: {} 2025-07-23 13:31:07,405 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:31:08,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1) 2025-07-23 13:31:09,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1) 2025-07-23 13:31:09,617 - INFO - Waiting for VM ctest-TestBasicPolicy-12266284-94048559 to be up.. 2025-07-23 13:31:09,714 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:31:14,791 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:31:14,791 - INFO - VM name : ctest-TestBasicPolicy-12266284-94048559 2025-07-23 13:31:14,871 - DEBUG - VM ctest-TestBasicPolicy-12266284-94048559 ID is 38e8014a-5820-4c0d-8d56-cad126c360a5 2025-07-23 13:31:14,891 - DEBUG - VM ctest-TestBasicPolicy-12266284-94048559 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1 2025-07-23 13:31:14,970 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/38e8014a-5820-4c0d-8d56-cad126c360a5 2025-07-23 13:31:14,982 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8c599166-6874-4261-9820-44de2f324237 2025-07-23 13:31:18,258 - 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 1018ms') 2025-07-23 13:31:18,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12266284-94048559 failed! 2025-07-23 13:31:18,316 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12266284:ctest-vn-18869453 is 57.160.176.193 and allocation pool is NOT set 2025-07-23 13:31:20,378 - 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=5.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 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 = 2.036/3.524/5.013/1.488 ms') 2025-07-23 13:31:20,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12266284-94048559 passed 2025-07-23 13:31:20,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:31:20,532 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12266284-94048559, IP 57.160.176.195, Port 22 2025-07-23 13:31:20,688 - DEBUG - VM ctest-TestBasicPolicy-12266284-94048559 is ready for SSH connections 2025-07-23 13:31:20,688 - INFO - Waiting for VM ctest-TestBasicPolicy-12266284-17477249 to be up.. 2025-07-23 13:31:20,765 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:31:20,765 - INFO - VM name : ctest-TestBasicPolicy-12266284-17477249 2025-07-23 13:31:20,834 - DEBUG - VM ctest-TestBasicPolicy-12266284-17477249 ID is 131cd25d-b4e5-451e-9c63-2d7112663088 2025-07-23 13:31:20,834 - DEBUG - VM ctest-TestBasicPolicy-12266284-17477249 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1 2025-07-23 13:31:20,903 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/131cd25d-b4e5-451e-9c63-2d7112663088 2025-07-23 13:31:20,912 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/b970f3a2-445c-424d-8b0d-aef1343eee92 2025-07-23 13:31:22,147 - 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=3.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.483 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.483/1.792/3.102/1.309 ms') 2025-07-23 13:31:22,147 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12266284-17477249 passed 2025-07-23 13:31:22,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:31:22,312 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12266284-17477249, IP 130.231.27.67, Port 22 2025-07-23 13:31:22,463 - DEBUG - VM ctest-TestBasicPolicy-12266284-17477249 is ready for SSH connections 2025-07-23 13:31:22,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:31:22,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.231.27.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:31:22,464 - DEBUG - ping -s 56 -c 3 -W 1 130.231.27.67 2025-07-23 13:31:26,456 - DEBUG - PING 130.231.27.67 (130.231.27.67): 56 data bytes 64 bytes from 130.231.27.67: seq=0 ttl=63 time=3.611 ms 64 bytes from 130.231.27.67: seq=1 ttl=63 time=0.905 ms 64 bytes from 130.231.27.67: seq=2 ttl=63 time=0.781 ms --- 130.231.27.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/1.765/3.611 ms 2025-07-23 13:31:26,456 - INFO - Ping to IP 130.231.27.67 from VM ctest-TestBasicPolicy-12266284-94048559 passed 2025-07-23 13:31:26,631 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5898ce0a-7736-4bd1-bac9-7195f540f9bd", "href": "http://10.0.0.23:8082/network-policy/5898ce0a-7736-4bd1-bac9-7195f540f9bd"}} 2025-07-23 13:31:26,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:31:26,632 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.231.27.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:31:26,632 - DEBUG - ping -s 56 -c 3 -W 1 130.231.27.67 2025-07-23 13:31:29,848 - DEBUG - PING 130.231.27.67 (130.231.27.67): 56 data bytes --- 130.231.27.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 13:31:29,849 - WARNING - Ping to IP 130.231.27.67 from VM ctest-TestBasicPolicy-12266284-94048559 failed 2025-07-23 13:31:29,849 - INFO - Deleting VM ctest-TestBasicPolicy-12266284-17477249 2025-07-23 13:31:29,918 - INFO - Deleting VM ctest-TestBasicPolicy-12266284-94048559 2025-07-23 13:31:30,317 - INFO - Deleted policy ctest-policy-allow-all-98335008 2025-07-23 13:31:30,318 - INFO - Deleting VN ctest-vn-51307385 2025-07-23 13:31:30,353 - DEBUG - VN 3699d76f-69bc-4a26-a520-8d4a37a10387 still in use: Unable to complete operation on network 3699d76f-69bc-4a26-a520-8d4a37a10387. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b1f26176-32bd-4926-b6f2-87151847872d'] 2025-07-23 13:31:30,353 - WARNING - Deleting VN ctest-vn-51307385 failed..Will retry 2025-07-23 13:31:32,453 - DEBUG - Response for deleting network () 2025-07-23 13:31:32,453 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/fa7c2189-d985-442f-9f2a-863c8722b8ed 2025-07-23 13:31:32,460 - DEBUG - Response Code: 404 2025-07-23 13:31:32,461 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 13:31:32,467 - DEBUG - Requesting: http://10.0.0.23:8082/domain/da3ff578-e247-4ebc-b955-07f04a47ad8d 2025-07-23 13:31:32,522 - DEBUG - Requesting: http://10.0.0.23:8082/project/9c6869e4-38c3-4735-b3fd-b94c98f8f1ee 2025-07-23 13:31:32,595 - INFO - Validated that VN ctest-vn-51307385 is not found in API Server 2025-07-23 13:31:32,607 - DEBUG - VN ctest-vn-51307385 is not present in Agent 10.0.0.23 2025-07-23 13:31:32,607 - INFO - Validated that VN ctest-vn-51307385 is not in any agent 2025-07-23 13:31:32,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51307385 info 2025-07-23 13:31:32,623 - INFO - Deleting VN ctest-vn-18869453 2025-07-23 13:31:32,721 - DEBUG - Response for deleting network () 2025-07-23 13:31:32,721 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/51108082-078a-4300-9673-bba79f900514 2025-07-23 13:31:32,729 - DEBUG - Response Code: 404 2025-07-23 13:31:32,729 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-07-23 13:31:32,735 - DEBUG - Requesting: http://10.0.0.23:8082/domain/da3ff578-e247-4ebc-b955-07f04a47ad8d 2025-07-23 13:31:32,789 - DEBUG - Requesting: http://10.0.0.23:8082/project/9c6869e4-38c3-4735-b3fd-b94c98f8f1ee 2025-07-23 13:31:32,864 - INFO - Validated that VN ctest-vn-18869453 is not found in API Server 2025-07-23 13:31:32,876 - DEBUG - VN ctest-vn-18869453 is not present in Agent 10.0.0.23 2025-07-23 13:31:32,876 - INFO - Validated that VN ctest-vn-18869453 is not in any agent 2025-07-23 13:31:32,892 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18869453 info 2025-07-23 13:31:33,150 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 13:31:33,150 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-23 13:31:33,150 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:31:33,839 - INFO - Deleted project: ctest-TestBasicPolicy-12266284, ID : 9c6869e4-38c3-4735-b3fd-b94c98f8f1ee