2025-12-29 02:13:14,967 - INFO - Domain Default found not creating 2025-12-29 02:13:15,164 - INFO - Project ctest-TestBasicPolicy-23437016 not found, creating it 2025-12-29 02:13:15,653 - INFO - Created Project:ctest-TestBasicPolicy-23437016, ID : 999d4f66-11a5-41a7-ad1c-30a715d76ae9 2025-12-29 02:13:17,152 - INFO - ================================================================================ 2025-12-29 02:13:17,153 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-29 02:13:17,153 - 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-12-29 02:13:17,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.242': '0'}} with 2025-12-29 02:13:17,419 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:13:17,419 - INFO - 2025-12-29 02:13:18,040 - DEBUG - Response for create_network : {'network': {'id': '3b8c79e8-183a-4fa0-a254-833503514cdb', 'name': 'ctest-vn-01122934', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-01122934'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:13:18,227 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbe4468b-29ec-41b8-aa96-0c234219d0d7', 'name': '', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'network_id': '3b8c79e8-183a-4fa0-a254-833503514cdb', 'ip_version': 4, 'cidr': '46.182.101.192/26', 'allocation_pools': [{'start': '46.182.101.194', 'end': '46.182.101.254'}], 'gateway_ip': '46.182.101.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.182.101.194', 'tags': [], 'project_id': '999d4f6611a541a7ad1c30a715d76ae9'}} 2025-12-29 02:13:18,248 - INFO - Created VN ctest-vn-01122934 2025-12-29 02:13:18,299 - DEBUG - VN ctest-vn-01122934 UUID is 3b8c79e8-183a-4fa0-a254-833503514cdb 2025-12-29 02:13:18,583 - DEBUG - Response for create_network : {'network': {'id': 'bb0415b4-ea1e-476d-98f4-57830cf822ce', 'name': 'ctest-vn-89771196', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-89771196'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:13:18,811 - DEBUG - Response for create_subnet : {'subnet': {'id': '97c4b1d2-9dee-4995-8eb2-a85a7cf01427', 'name': '', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'network_id': 'bb0415b4-ea1e-476d-98f4-57830cf822ce', 'ip_version': 4, 'cidr': '13.59.43.192/26', 'allocation_pools': [{'start': '13.59.43.194', 'end': '13.59.43.254'}], 'gateway_ip': '13.59.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.59.43.194', 'tags': [], 'project_id': '999d4f6611a541a7ad1c30a715d76ae9'}} 2025-12-29 02:13:18,829 - INFO - Created VN ctest-vn-89771196 2025-12-29 02:13:18,883 - DEBUG - VN ctest-vn-89771196 UUID is bb0415b4-ea1e-476d-98f4-57830cf822ce 2025-12-29 02:13:19,031 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934, 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-23437016:ctest-vn-89771196, 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-12-29 02:13:19,326 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b8c79e8-183a-4fa0-a254-833503514cdb', 'name': 'ctest-vn-01122934', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cbe4468b-29ec-41b8-aa96-0c234219d0d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-01122934'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233']], 'subnet_ipam': [{'subnet_cidr': '46.182.101.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:13:19,603 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb0415b4-ea1e-476d-98f4-57830cf822ce', 'name': 'ctest-vn-89771196', 'tenant_id': '999d4f6611a541a7ad1c30a715d76ae9', 'project_id': '999d4f6611a541a7ad1c30a715d76ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['97c4b1d2-9dee-4995-8eb2-a85a7cf01427'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-vn-89771196'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233']], 'subnet_ipam': [{'subnet_cidr': '13.59.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:13:19,763 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-29 02:13:20,065 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-29 02:13:20,104 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5 2025-12-29 02:13:20,117 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9 2025-12-29 02:13:20,194 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb 2025-12-29 02:13:20,204 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb 2025-12-29 02:13:20,213 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca 2025-12-29 02:13:20,220 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca 2025-12-29 02:13:20,227 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5ee7ae4-005b-49d9-a29d-fd12126cdfa4 2025-12-29 02:13:20,233 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 02:13:20,233 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb 2025-12-29 02:13:20,242 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca 2025-12-29 02:13:20,256 - INFO - Verified VN network id 11 for VN 3b8c79e8-183a-4fa0-a254-833503514cdb 2025-12-29 02:13:20,256 - INFO - Verifications in API Server for VN ctest-vn-01122934 passed 2025-12-29 02:13:20,256 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb 2025-12-29 02:13:20,265 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca 2025-12-29 02:13:20,272 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca 2025-12-29 02:13:20,282 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/b5ee7ae4-005b-49d9-a29d-fd12126cdfa4 2025-12-29 02:13:20,295 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23437016', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4290938582723088288', 'uuid-lslong': '11697118395900185819'}, 'enable': 'true', 'created': '2025-12-29T02:13:18', 'last-modified': '2025-12-29T02:13:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989084'} 2025-12-29 02:13:20,301 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-29 02:13:20,301 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01122934 passed 2025-12-29 02:13:20,302 - DEBUG - ====Verifying policy data for ctest-vn-01122934 in API_Server ====== 2025-12-29 02:13:20,302 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-29 02:13:20,307 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5 2025-12-29 02:13:20,317 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9 2025-12-29 02:13:20,394 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b8c79e8-183a-4fa0-a254-833503514cdb 2025-12-29 02:13:20,404 - DEBUG - ==>Verifying data for policy with id: d577bd42-6882-4fea-b4d4-73a2ac9d3d8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233'] 2025-12-29 02:13:20,404 - INFO - VN ctest-vn-01122934 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 02:13:20,404 - DEBUG - Verifying the vn in opserver 2025-12-29 02:13:20,404 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934 virtual network link through opserver 10.0.0.19 2025-12-29 02:13:20,404 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-29 02:13:20,714 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-29 02:13:20,773 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934?flat'} 2025-12-29 02:13:20,773 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934 is found in opserver 2025-12-29 02:13:20,782 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 02:13:20,787 - DEBUG - VRF ids for VN ctest-vn-01122934: {} 2025-12-29 02:13:20,787 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-29 02:13:20,792 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5 2025-12-29 02:13:20,802 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9 2025-12-29 02:13:20,874 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce 2025-12-29 02:13:20,885 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce 2025-12-29 02:13:20,893 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f 2025-12-29 02:13:20,900 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f 2025-12-29 02:13:20,906 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/083c87a4-ce87-4f73-b097-7674f79b30ba 2025-12-29 02:13:20,912 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 02:13:20,912 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce 2025-12-29 02:13:20,920 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f 2025-12-29 02:13:20,933 - INFO - Verified VN network id 12 for VN bb0415b4-ea1e-476d-98f4-57830cf822ce 2025-12-29 02:13:20,933 - INFO - Verifications in API Server for VN ctest-vn-89771196 passed 2025-12-29 02:13:20,933 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce 2025-12-29 02:13:20,942 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f 2025-12-29 02:13:20,948 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f 2025-12-29 02:13:20,955 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/083c87a4-ce87-4f73-b097-7674f79b30ba 2025-12-29 02:13:20,965 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-23437016', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13475919851765516141', 'uuid-lslong': '11021530408452367054'}, 'enable': 'true', 'created': '2025-12-29T02:13:18', 'last-modified': '2025-12-29T02:13:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430645'} 2025-12-29 02:13:20,971 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-29 02:13:20,971 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89771196 passed 2025-12-29 02:13:20,971 - DEBUG - ====Verifying policy data for ctest-vn-89771196 in API_Server ====== 2025-12-29 02:13:20,971 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-29 02:13:20,978 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5 2025-12-29 02:13:20,988 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9 2025-12-29 02:13:21,061 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bb0415b4-ea1e-476d-98f4-57830cf822ce 2025-12-29 02:13:21,071 - DEBUG - ==>Verifying data for policy with id: d577bd42-6882-4fea-b4d4-73a2ac9d3d8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-23437016', 'ctest-policy-allow-all-86269233'] 2025-12-29 02:13:21,071 - INFO - VN ctest-vn-89771196 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-29 02:13:21,071 - DEBUG - Verifying the vn in opserver 2025-12-29 02:13:21,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196 virtual network link through opserver 10.0.0.19 2025-12-29 02:13:21,071 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-12-29 02:13:21,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196?flat'} 2025-12-29 02:13:21,079 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-89771196 is found in opserver 2025-12-29 02:13:21,088 - DEBUG - Do not have enough data to verify VN in agent 2025-12-29 02:13:21,093 - DEBUG - VRF ids for VN ctest-vn-89771196: {} 2025-12-29 02:13:21,153 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:13:22,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4931-1) 2025-12-29 02:13:23,367 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4931-1) 2025-12-29 02:13:23,367 - INFO - Waiting for VM ctest-TestBasicPolicy-23437016-65122140 to be up.. 2025-12-29 02:13:23,452 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:13:28,521 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:13:28,521 - INFO - VM name : ctest-TestBasicPolicy-23437016-65122140 2025-12-29 02:13:28,591 - DEBUG - VM ctest-TestBasicPolicy-23437016-65122140 ID is c4a16b65-0b2a-429c-8b24-a1cd6d464ff4 2025-12-29 02:13:28,612 - DEBUG - VM ctest-TestBasicPolicy-23437016-65122140 launched on Node cn-jenkins-deploy-platform-ansible-os-4931-1 2025-12-29 02:13:28,683 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c4a16b65-0b2a-429c-8b24-a1cd6d464ff4 2025-12-29 02:13:28,691 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ec0240bf-4019-4c27-b8bd-836427325e40 2025-12-29 02:13:31,921 - 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 1003ms') 2025-12-29 02:13:31,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23437016-65122140 failed! 2025-12-29 02:13:31,975 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-23437016:ctest-vn-01122934 is 46.182.101.193 and allocation pool is NOT set 2025-12-29 02:13:34,033 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/4.570/8.673/4.103 ms') 2025-12-29 02:13:34,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-23437016-65122140 passed 2025-12-29 02:13:34,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:34,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23437016-65122140, IP 46.182.101.195, Port 22 2025-12-29 02:13:34,343 - DEBUG - VM ctest-TestBasicPolicy-23437016-65122140 is ready for SSH connections 2025-12-29 02:13:34,343 - INFO - Waiting for VM ctest-TestBasicPolicy-23437016-29815763 to be up.. 2025-12-29 02:13:34,417 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:13:34,418 - INFO - VM name : ctest-TestBasicPolicy-23437016-29815763 2025-12-29 02:13:34,498 - DEBUG - VM ctest-TestBasicPolicy-23437016-29815763 ID is 5b346ade-ab6e-40b1-a54b-22d849963952 2025-12-29 02:13:34,498 - DEBUG - VM ctest-TestBasicPolicy-23437016-29815763 launched on Node cn-jenkins-deploy-platform-ansible-os-4931-1 2025-12-29 02:13:34,594 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5b346ade-ab6e-40b1-a54b-22d849963952 2025-12-29 02:13:34,604 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c1a3f03e-87b1-4213-866d-a74a778c3ab8 2025-12-29 02:13:35,843 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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.564/1.667/2.771/1.103 ms') 2025-12-29 02:13:35,843 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-23437016-29815763 passed 2025-12-29 02:13:35,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:35,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-23437016-29815763, IP 13.59.43.195, Port 22 2025-12-29 02:13:36,146 - DEBUG - VM ctest-TestBasicPolicy-23437016-29815763 is ready for SSH connections 2025-12-29 02:13:36,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:36,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.59.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-29 02:13:36,147 - DEBUG - ping -s 56 -c 3 -W 1 13.59.43.195 2025-12-29 02:13:39,861 - DEBUG - PING 13.59.43.195 (13.59.43.195): 56 data bytes 64 bytes from 13.59.43.195: seq=0 ttl=63 time=3.300 ms 64 bytes from 13.59.43.195: seq=1 ttl=63 time=0.764 ms 64 bytes from 13.59.43.195: seq=2 ttl=63 time=1.169 ms --- 13.59.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/1.744/3.300 ms 2025-12-29 02:13:39,861 - INFO - Ping to IP 13.59.43.195 from VM ctest-TestBasicPolicy-23437016-65122140 passed 2025-12-29 02:13:40,035 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d577bd42-6882-4fea-b4d4-73a2ac9d3d8b", "href": "http://10.0.0.19:8082/network-policy/d577bd42-6882-4fea-b4d4-73a2ac9d3d8b"}} 2025-12-29 02:13:40,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:13:40,035 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.59.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-29 02:13:40,035 - DEBUG - ping -s 56 -c 3 -W 1 13.59.43.195 2025-12-29 02:13:43,258 - DEBUG - PING 13.59.43.195 (13.59.43.195): 56 data bytes --- 13.59.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-29 02:13:43,258 - WARNING - Ping to IP 13.59.43.195 from VM ctest-TestBasicPolicy-23437016-65122140 failed 2025-12-29 02:13:43,259 - INFO - Deleting VM ctest-TestBasicPolicy-23437016-29815763 2025-12-29 02:13:43,417 - INFO - Deleting VM ctest-TestBasicPolicy-23437016-65122140 2025-12-29 02:13:43,776 - INFO - Deleted policy ctest-policy-allow-all-86269233 2025-12-29 02:13:43,776 - INFO - Deleting VN ctest-vn-89771196 2025-12-29 02:13:43,813 - DEBUG - VN bb0415b4-ea1e-476d-98f4-57830cf822ce still in use: Unable to complete operation on network bb0415b4-ea1e-476d-98f4-57830cf822ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-24f4c53f-6cdf-40ec-aa4f-65111ece80e7'] 2025-12-29 02:13:43,813 - WARNING - Deleting VN ctest-vn-89771196 failed..Will retry 2025-12-29 02:13:45,910 - DEBUG - Response for deleting network () 2025-12-29 02:13:45,910 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/af48335e-2d67-4ce2-9597-a4f28518ec4f 2025-12-29 02:13:45,915 - DEBUG - Response Code: 404 2025-12-29 02:13:45,915 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-29 02:13:45,925 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5 2025-12-29 02:13:45,980 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9 2025-12-29 02:13:46,050 - INFO - Validated that VN ctest-vn-89771196 is not found in API Server 2025-12-29 02:13:46,059 - DEBUG - VN ctest-vn-89771196 is not present in Agent 10.0.0.19 2025-12-29 02:13:46,059 - INFO - Validated that VN ctest-vn-89771196 is not in any agent 2025-12-29 02:13:46,072 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-89771196 info 2025-12-29 02:13:46,072 - INFO - Deleting VN ctest-vn-01122934 2025-12-29 02:13:46,164 - DEBUG - Response for deleting network () 2025-12-29 02:13:46,164 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/f87fece5-403e-4c72-ae09-1797ac6efbca 2025-12-29 02:13:46,169 - DEBUG - Response Code: 404 2025-12-29 02:13:46,169 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-12-29 02:13:46,178 - DEBUG - Requesting: http://10.0.0.19:8082/domain/3fd6e016-3db4-43ff-829c-7c4cfc4af3f5 2025-12-29 02:13:46,236 - DEBUG - Requesting: http://10.0.0.19:8082/project/999d4f66-11a5-41a7-ad1c-30a715d76ae9 2025-12-29 02:13:46,302 - INFO - Validated that VN ctest-vn-01122934 is not found in API Server 2025-12-29 02:13:46,312 - DEBUG - VN ctest-vn-01122934 is not present in Agent 10.0.0.19 2025-12-29 02:13:46,312 - INFO - Validated that VN ctest-vn-01122934 is not in any agent 2025-12-29 02:13:46,325 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01122934 info 2025-12-29 02:13:46,587 - DEBUG - No XMPP flaps were noticed during the test 2025-12-29 02:13:46,587 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-12-29 02:13:46,587 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:13:47,291 - INFO - Deleted project: ctest-TestBasicPolicy-23437016, ID : 999d4f66-11a5-41a7-ad1c-30a715d76ae9