2025-09-11 06:40:00,757 - INFO - Domain Default found not creating 2025-09-11 06:40:00,893 - INFO - Project ctest-TestBasicPolicy-63713649 not found, creating it 2025-09-11 06:40:01,370 - INFO - Created Project:ctest-TestBasicPolicy-63713649, ID : c09e1168-3369-41ba-ac45-72c98e2c6ddb 2025-09-11 06:40:02,766 - INFO - ================================================================================ 2025-09-11 06:40:02,766 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 06:40:02,766 - 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-09-11 06:40:03,022 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 06:40:03,022 - INFO - Initial checks done. Running the testcase now 2025-09-11 06:40:03,022 - INFO - 2025-09-11 06:40:03,581 - DEBUG - Response for create_network : {'network': {'id': 'fb5e6202-ceb4-4382-a2d7-63187e16ebf0', 'name': 'ctest-vn-05742350', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-05742350'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:40:03,775 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bcb5763-d91a-44d1-aafb-f7e01d72f655', 'name': '', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'network_id': 'fb5e6202-ceb4-4382-a2d7-63187e16ebf0', 'ip_version': 4, 'cidr': '77.137.66.0/26', 'allocation_pools': [{'start': '77.137.66.2', 'end': '77.137.66.62'}], 'gateway_ip': '77.137.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.137.66.2', 'tags': [], 'project_id': 'c09e1168336941baac4572c98e2c6ddb'}} 2025-09-11 06:40:03,792 - INFO - Created VN ctest-vn-05742350 2025-09-11 06:40:03,845 - DEBUG - VN ctest-vn-05742350 UUID is fb5e6202-ceb4-4382-a2d7-63187e16ebf0 2025-09-11 06:40:04,159 - DEBUG - Response for create_network : {'network': {'id': '642fd244-f983-4be5-9e8f-5636fe57a1f3', 'name': 'ctest-vn-10867474', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-10867474'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:40:04,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a41ca8d-d809-4deb-aa29-756914fa3ff5', 'name': '', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'network_id': '642fd244-f983-4be5-9e8f-5636fe57a1f3', 'ip_version': 4, 'cidr': '65.179.57.128/26', 'allocation_pools': [{'start': '65.179.57.130', 'end': '65.179.57.190'}], 'gateway_ip': '65.179.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.179.57.130', 'tags': [], 'project_id': 'c09e1168336941baac4572c98e2c6ddb'}} 2025-09-11 06:40:04,328 - INFO - Created VN ctest-vn-10867474 2025-09-11 06:40:04,380 - DEBUG - VN ctest-vn-10867474 UUID is 642fd244-f983-4be5-9e8f-5636fe57a1f3 2025-09-11 06:40:04,536 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350, 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-63713649:ctest-vn-10867474, 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-09-11 06:40:04,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb5e6202-ceb4-4382-a2d7-63187e16ebf0', 'name': 'ctest-vn-05742350', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0bcb5763-d91a-44d1-aafb-f7e01d72f655'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-05742350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526']], 'subnet_ipam': [{'subnet_cidr': '77.137.66.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:40:05,071 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '642fd244-f983-4be5-9e8f-5636fe57a1f3', 'name': 'ctest-vn-10867474', 'tenant_id': 'c09e1168336941baac4572c98e2c6ddb', 'project_id': 'c09e1168336941baac4572c98e2c6ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a41ca8d-d809-4deb-aa29-756914fa3ff5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-vn-10867474'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526']], 'subnet_ipam': [{'subnet_cidr': '65.179.57.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:40:05,233 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 06:40:05,529 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 06:40:05,562 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68 2025-09-11 06:40:05,575 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb 2025-09-11 06:40:05,652 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0 2025-09-11 06:40:05,661 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0 2025-09-11 06:40:05,669 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f 2025-09-11 06:40:05,674 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f 2025-09-11 06:40:05,680 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/91061f7f-dc6a-434f-9817-181d5fa2c54a 2025-09-11 06:40:05,686 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 06:40:05,686 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0 2025-09-11 06:40:05,695 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f 2025-09-11 06:40:05,711 - INFO - Verified VN network id 12 for VN fb5e6202-ceb4-4382-a2d7-63187e16ebf0 2025-09-11 06:40:05,711 - INFO - Verifications in API Server for VN ctest-vn-05742350 passed 2025-09-11 06:40:05,711 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0 2025-09-11 06:40:05,722 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f 2025-09-11 06:40:05,731 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f 2025-09-11 06:40:05,739 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/91061f7f-dc6a-434f-9817-181d5fa2c54a 2025-09-11 06:40:05,753 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63713649', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18113022515528090498', 'uuid-lslong': '11733956310982913008'}, 'enable': 'true', 'created': '2025-09-11T06:40:03', 'last-modified': '2025-09-11T06:40:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921266'} 2025-09-11 06:40:05,760 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 06:40:05,760 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05742350 passed 2025-09-11 06:40:05,760 - DEBUG - ====Verifying policy data for ctest-vn-05742350 in API_Server ====== 2025-09-11 06:40:05,760 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 06:40:05,767 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68 2025-09-11 06:40:05,780 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb 2025-09-11 06:40:05,862 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fb5e6202-ceb4-4382-a2d7-63187e16ebf0 2025-09-11 06:40:05,877 - DEBUG - ==>Verifying data for policy with id: bea1a383-411d-40eb-ad66-cb36db118fc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526'] 2025-09-11 06:40:05,877 - INFO - VN ctest-vn-05742350 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 06:40:05,877 - DEBUG - Verifying the vn in opserver 2025-09-11 06:40:05,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350 virtual network link through opserver 10.0.0.22 2025-09-11 06:40:05,878 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 06:40:06,184 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 06:40:06,255 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350?flat'} 2025-09-11 06:40:06,255 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350 is found in opserver 2025-09-11 06:40:06,266 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 06:40:06,271 - DEBUG - VRF ids for VN ctest-vn-05742350: {} 2025-09-11 06:40:06,271 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 06:40:06,277 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68 2025-09-11 06:40:06,290 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb 2025-09-11 06:40:06,392 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3 2025-09-11 06:40:06,406 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3 2025-09-11 06:40:06,419 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6 2025-09-11 06:40:06,429 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6 2025-09-11 06:40:06,436 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/208fa763-1093-41f1-be91-b6b63046f06f 2025-09-11 06:40:06,447 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 06:40:06,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3 2025-09-11 06:40:06,458 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6 2025-09-11 06:40:06,478 - INFO - Verified VN network id 13 for VN 642fd244-f983-4be5-9e8f-5636fe57a1f3 2025-09-11 06:40:06,479 - INFO - Verifications in API Server for VN ctest-vn-10867474 passed 2025-09-11 06:40:06,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3 2025-09-11 06:40:06,489 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6 2025-09-11 06:40:06,497 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6 2025-09-11 06:40:06,505 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/208fa763-1093-41f1-be91-b6b63046f06f 2025-09-11 06:40:06,516 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-63713649', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7219219921383934949', 'uuid-lslong': '11425445573857616371'}, 'enable': 'true', 'created': '2025-09-11T06:40:04', 'last-modified': '2025-09-11T06:40:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.467189'} 2025-09-11 06:40:06,521 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 06:40:06,521 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10867474 passed 2025-09-11 06:40:06,521 - DEBUG - ====Verifying policy data for ctest-vn-10867474 in API_Server ====== 2025-09-11 06:40:06,521 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 06:40:06,527 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68 2025-09-11 06:40:06,541 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb 2025-09-11 06:40:06,612 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/642fd244-f983-4be5-9e8f-5636fe57a1f3 2025-09-11 06:40:06,622 - DEBUG - ==>Verifying data for policy with id: bea1a383-411d-40eb-ad66-cb36db118fc8, fqn: ['default-domain', 'ctest-TestBasicPolicy-63713649', 'ctest-policy-allow-all-85427526'] 2025-09-11 06:40:06,622 - INFO - VN ctest-vn-10867474 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 06:40:06,622 - DEBUG - Verifying the vn in opserver 2025-09-11 06:40:06,622 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474 virtual network link through opserver 10.0.0.22 2025-09-11 06:40:06,622 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 06:40:06,631 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474?flat'} 2025-09-11 06:40:06,631 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-10867474 is found in opserver 2025-09-11 06:40:06,641 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 06:40:06,645 - DEBUG - VRF ids for VN ctest-vn-10867474: {} 2025-09-11 06:40:06,715 - DEBUG - Services list from nova: [, , ] 2025-09-11 06:40:07,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1) 2025-09-11 06:40:09,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1) 2025-09-11 06:40:09,115 - INFO - Waiting for VM ctest-TestBasicPolicy-63713649-94785736 to be up.. 2025-09-11 06:40:09,190 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 06:40:14,277 - DEBUG - VM is in ACTIVE state now 2025-09-11 06:40:14,277 - INFO - VM name : ctest-TestBasicPolicy-63713649-94785736 2025-09-11 06:40:14,350 - DEBUG - VM ctest-TestBasicPolicy-63713649-94785736 ID is ca5fe188-076d-4de1-bd3e-e1101fb3cbc5 2025-09-11 06:40:14,369 - DEBUG - VM ctest-TestBasicPolicy-63713649-94785736 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1 2025-09-11 06:40:14,441 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ca5fe188-076d-4de1-bd3e-e1101fb3cbc5 2025-09-11 06:40:14,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1d76a290-4f8e-446d-9bd8-5e6b7260aab7 2025-09-11 06:40:17,700 - 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 1019ms') 2025-09-11 06:40:17,701 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63713649-94785736 failed! 2025-09-11 06:40:17,752 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-63713649:ctest-vn-05742350 is 77.137.66.1 and allocation pool is NOT set 2025-09-11 06:40:19,816 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.353/3.207/5.061/1.854 ms') 2025-09-11 06:40:19,816 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-63713649-94785736 passed 2025-09-11 06:40:19,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:40:19,968 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63713649-94785736, IP 77.137.66.3, Port 22 2025-09-11 06:40:20,128 - DEBUG - VM ctest-TestBasicPolicy-63713649-94785736 is ready for SSH connections 2025-09-11 06:40:20,128 - INFO - Waiting for VM ctest-TestBasicPolicy-63713649-07097128 to be up.. 2025-09-11 06:40:20,198 - DEBUG - VM is in ACTIVE state now 2025-09-11 06:40:20,198 - INFO - VM name : ctest-TestBasicPolicy-63713649-07097128 2025-09-11 06:40:20,269 - DEBUG - VM ctest-TestBasicPolicy-63713649-07097128 ID is 3477a5dd-8622-4eb5-8130-299bcfed5dee 2025-09-11 06:40:20,269 - DEBUG - VM ctest-TestBasicPolicy-63713649-07097128 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1 2025-09-11 06:40:20,345 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3477a5dd-8622-4eb5-8130-299bcfed5dee 2025-09-11 06:40:20,352 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9d125fcc-2327-48f1-b79d-1a76281c721a 2025-09-11 06:40:21,578 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.55 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 = 1.551/2.649/3.747/1.098 ms') 2025-09-11 06:40:21,578 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-63713649-07097128 passed 2025-09-11 06:40:21,732 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:40:21,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-63713649-07097128, IP 65.179.57.131, Port 22 2025-09-11 06:40:21,888 - DEBUG - VM ctest-TestBasicPolicy-63713649-07097128 is ready for SSH connections 2025-09-11 06:40:21,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:40:21,888 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.179.57.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:40:21,888 - DEBUG - ping -s 56 -c 3 -W 1 65.179.57.131 2025-09-11 06:40:25,602 - DEBUG - PING 65.179.57.131 (65.179.57.131): 56 data bytes 64 bytes from 65.179.57.131: seq=0 ttl=63 time=3.972 ms 64 bytes from 65.179.57.131: seq=1 ttl=63 time=0.844 ms 64 bytes from 65.179.57.131: seq=2 ttl=63 time=0.775 ms --- 65.179.57.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.775/1.863/3.972 ms 2025-09-11 06:40:25,602 - INFO - Ping to IP 65.179.57.131 from VM ctest-TestBasicPolicy-63713649-94785736 passed 2025-09-11 06:40:25,776 - DEBUG - Policy Update Response {"network-policy": {"uuid": "bea1a383-411d-40eb-ad66-cb36db118fc8", "href": "http://10.0.0.22:8082/network-policy/bea1a383-411d-40eb-ad66-cb36db118fc8"}} 2025-09-11 06:40:25,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:40:25,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.179.57.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:40:25,776 - DEBUG - ping -s 56 -c 3 -W 1 65.179.57.131 2025-09-11 06:40:29,005 - DEBUG - PING 65.179.57.131 (65.179.57.131): 56 data bytes --- 65.179.57.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 06:40:29,005 - WARNING - Ping to IP 65.179.57.131 from VM ctest-TestBasicPolicy-63713649-94785736 failed 2025-09-11 06:40:29,005 - INFO - Deleting VM ctest-TestBasicPolicy-63713649-07097128 2025-09-11 06:40:29,065 - INFO - Deleting VM ctest-TestBasicPolicy-63713649-94785736 2025-09-11 06:40:29,406 - INFO - Deleted policy ctest-policy-allow-all-85427526 2025-09-11 06:40:29,406 - INFO - Deleting VN ctest-vn-10867474 2025-09-11 06:40:29,441 - DEBUG - VN 642fd244-f983-4be5-9e8f-5636fe57a1f3 still in use: Unable to complete operation on network 642fd244-f983-4be5-9e8f-5636fe57a1f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d467d41b-cc8e-4892-aa25-533032a2fa34'] 2025-09-11 06:40:29,441 - WARNING - Deleting VN ctest-vn-10867474 failed..Will retry 2025-09-11 06:40:31,532 - DEBUG - Response for deleting network () 2025-09-11 06:40:31,532 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/67b1ad21-f9f1-4cd8-9a16-248837eb82c6 2025-09-11 06:40:31,537 - DEBUG - Response Code: 404 2025-09-11 06:40:31,537 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 06:40:31,542 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68 2025-09-11 06:40:31,594 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb 2025-09-11 06:40:31,660 - INFO - Validated that VN ctest-vn-10867474 is not found in API Server 2025-09-11 06:40:31,668 - DEBUG - VN ctest-vn-10867474 is not present in Agent 10.0.0.22 2025-09-11 06:40:31,668 - INFO - Validated that VN ctest-vn-10867474 is not in any agent 2025-09-11 06:40:31,680 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10867474 info 2025-09-11 06:40:31,680 - INFO - Deleting VN ctest-vn-05742350 2025-09-11 06:40:31,773 - DEBUG - Response for deleting network () 2025-09-11 06:40:31,774 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bf2de010-f6dd-4e35-afda-030f4303895f 2025-09-11 06:40:31,778 - DEBUG - Response Code: 404 2025-09-11 06:40:31,778 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 06:40:31,784 - DEBUG - Requesting: http://10.0.0.22:8082/domain/06abe812-7885-4fe3-9c15-35dd48adee68 2025-09-11 06:40:31,840 - DEBUG - Requesting: http://10.0.0.22:8082/project/c09e1168-3369-41ba-ac45-72c98e2c6ddb 2025-09-11 06:40:31,908 - INFO - Validated that VN ctest-vn-05742350 is not found in API Server 2025-09-11 06:40:31,915 - DEBUG - VN ctest-vn-05742350 is not present in Agent 10.0.0.22 2025-09-11 06:40:31,915 - INFO - Validated that VN ctest-vn-05742350 is not in any agent 2025-09-11 06:40:31,927 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05742350 info 2025-09-11 06:40:32,189 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 06:40:32,189 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-09-11 06:40:32,189 - INFO - -------------------------------------------------------------------------------- 2025-09-11 06:40:32,837 - INFO - Deleted project: ctest-TestBasicPolicy-63713649, ID : c09e1168-3369-41ba-ac45-72c98e2c6ddb