2025-06-18 08:03:01,166 - INFO - Domain Default found not creating 2025-06-18 08:03:01,317 - INFO - Project ctest-TestBasicPolicy-90317795 not found, creating it 2025-06-18 08:03:01,781 - INFO - Created Project:ctest-TestBasicPolicy-90317795, ID : d484c93e-99ae-4875-b754-0efe6b75b2d7 2025-06-18 08:03:03,208 - INFO - ================================================================================ 2025-06-18 08:03:03,208 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-18 08:03:03,208 - 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-06-18 08:03:03,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-06-18 08:03:03,462 - INFO - Initial checks done. Running the testcase now 2025-06-18 08:03:03,462 - INFO - 2025-06-18 08:03:04,011 - DEBUG - Response for create_network : {'network': {'id': '00b9a895-0057-4dde-94ea-36e539515a57', 'name': 'ctest-vn-88655365', 'tenant_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'project_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-vn-88655365'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 08:03:04,160 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c16b2c4-4df1-4bf1-ad69-661b85de10f4', 'name': '', 'tenant_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'network_id': '00b9a895-0057-4dde-94ea-36e539515a57', 'ip_version': 4, 'cidr': '135.49.133.128/26', 'allocation_pools': [{'start': '135.49.133.130', 'end': '135.49.133.190'}], 'gateway_ip': '135.49.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.49.133.130', 'tags': [], 'project_id': 'd484c93e99ae4875b7540efe6b75b2d7'}} 2025-06-18 08:03:04,180 - INFO - Created VN ctest-vn-88655365 2025-06-18 08:03:04,232 - DEBUG - VN ctest-vn-88655365 UUID is 00b9a895-0057-4dde-94ea-36e539515a57 2025-06-18 08:03:04,534 - DEBUG - Response for create_network : {'network': {'id': '0dffbc3a-1f87-4a53-8717-e07df624ba22', 'name': 'ctest-vn-82006506', 'tenant_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'project_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-vn-82006506'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 08:03:04,760 - DEBUG - Response for create_subnet : {'subnet': {'id': 'edb7319d-ad3a-4970-bc33-d2bd107cf679', 'name': '', 'tenant_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'network_id': '0dffbc3a-1f87-4a53-8717-e07df624ba22', 'ip_version': 4, 'cidr': '168.189.129.64/26', 'allocation_pools': [{'start': '168.189.129.66', 'end': '168.189.129.126'}], 'gateway_ip': '168.189.129.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.189.129.66', 'tags': [], 'project_id': 'd484c93e99ae4875b7540efe6b75b2d7'}} 2025-06-18 08:03:04,778 - INFO - Created VN ctest-vn-82006506 2025-06-18 08:03:04,832 - DEBUG - VN ctest-vn-82006506 UUID is 0dffbc3a-1f87-4a53-8717-e07df624ba22 2025-06-18 08:03:04,988 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-88655365, 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-90317795:ctest-vn-82006506, 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-06-18 08:03:05,276 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00b9a895-0057-4dde-94ea-36e539515a57', 'name': 'ctest-vn-88655365', 'tenant_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'project_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c16b2c4-4df1-4bf1-ad69-661b85de10f4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-vn-88655365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-policy-allow-all-91527568']], 'subnet_ipam': [{'subnet_cidr': '135.49.133.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 08:03:05,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0dffbc3a-1f87-4a53-8717-e07df624ba22', 'name': 'ctest-vn-82006506', 'tenant_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'project_id': 'd484c93e99ae4875b7540efe6b75b2d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['edb7319d-ad3a-4970-bc33-d2bd107cf679'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-vn-82006506'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-policy-allow-all-91527568']], 'subnet_ipam': [{'subnet_cidr': '168.189.129.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-18 08:03:05,688 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-18 08:03:05,985 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-18 08:03:06,012 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7d958fe9-c2a6-4bdc-88ff-4aa1d1660941 2025-06-18 08:03:06,026 - DEBUG - Requesting: http://10.0.0.19:8082/project/d484c93e-99ae-4875-b754-0efe6b75b2d7 2025-06-18 08:03:06,100 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/00b9a895-0057-4dde-94ea-36e539515a57 2025-06-18 08:03:06,111 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/00b9a895-0057-4dde-94ea-36e539515a57 2025-06-18 08:03:06,121 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8a9e2652-f53e-4fb0-a761-3d04040e73d8 2025-06-18 08:03:06,129 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8a9e2652-f53e-4fb0-a761-3d04040e73d8 2025-06-18 08:03:06,136 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/23d81373-3716-4758-a407-21f28f44cdfe 2025-06-18 08:03:06,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 08:03:06,143 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/00b9a895-0057-4dde-94ea-36e539515a57 2025-06-18 08:03:06,153 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8a9e2652-f53e-4fb0-a761-3d04040e73d8 2025-06-18 08:03:06,168 - INFO - Verified VN network id 8 for VN 00b9a895-0057-4dde-94ea-36e539515a57 2025-06-18 08:03:06,168 - INFO - Verifications in API Server for VN ctest-vn-88655365 passed 2025-06-18 08:03:06,168 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/00b9a895-0057-4dde-94ea-36e539515a57 2025-06-18 08:03:06,178 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8a9e2652-f53e-4fb0-a761-3d04040e73d8 2025-06-18 08:03:06,185 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8a9e2652-f53e-4fb0-a761-3d04040e73d8 2025-06-18 08:03:06,192 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/23d81373-3716-4758-a407-21f28f44cdfe 2025-06-18 08:03:06,204 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-88655365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90317795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '52258228600786398', 'uuid-lslong': '10730449420300671575'}, 'enable': 'true', 'created': '2025-06-18T08:03:03', 'last-modified': '2025-06-18T08:03:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.949568'} 2025-06-18 08:03:06,211 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-18 08:03:06,211 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88655365 passed 2025-06-18 08:03:06,211 - DEBUG - ====Verifying policy data for ctest-vn-88655365 in API_Server ====== 2025-06-18 08:03:06,211 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-18 08:03:06,217 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7d958fe9-c2a6-4bdc-88ff-4aa1d1660941 2025-06-18 08:03:06,229 - DEBUG - Requesting: http://10.0.0.19:8082/project/d484c93e-99ae-4875-b754-0efe6b75b2d7 2025-06-18 08:03:06,305 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/00b9a895-0057-4dde-94ea-36e539515a57 2025-06-18 08:03:06,315 - DEBUG - ==>Verifying data for policy with id: d6f08b18-47f9-43a9-b0f8-052df8613a45, fqn: ['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-policy-allow-all-91527568'] 2025-06-18 08:03:06,315 - INFO - VN ctest-vn-88655365 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 08:03:06,315 - DEBUG - Verifying the vn in opserver 2025-06-18 08:03:06,315 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-88655365 virtual network link through opserver 10.0.0.19 2025-06-18 08:03:06,315 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-18 08:03:06,607 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-18 08:03:06,671 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-88655365', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-88655365?flat'} 2025-06-18 08:03:06,671 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-88655365 is found in opserver 2025-06-18 08:03:06,682 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 08:03:06,688 - DEBUG - VRF ids for VN ctest-vn-88655365: {} 2025-06-18 08:03:06,688 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-18 08:03:06,694 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7d958fe9-c2a6-4bdc-88ff-4aa1d1660941 2025-06-18 08:03:06,706 - DEBUG - Requesting: http://10.0.0.19:8082/project/d484c93e-99ae-4875-b754-0efe6b75b2d7 2025-06-18 08:03:06,785 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0dffbc3a-1f87-4a53-8717-e07df624ba22 2025-06-18 08:03:06,798 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0dffbc3a-1f87-4a53-8717-e07df624ba22 2025-06-18 08:03:06,808 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1f20e5da-4293-44ef-9615-4f8938a4a5ce 2025-06-18 08:03:06,816 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1f20e5da-4293-44ef-9615-4f8938a4a5ce 2025-06-18 08:03:06,824 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3ef8b18c-f2a7-4b93-99d0-fddbc574700b 2025-06-18 08:03:06,834 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 08:03:06,834 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0dffbc3a-1f87-4a53-8717-e07df624ba22 2025-06-18 08:03:06,844 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1f20e5da-4293-44ef-9615-4f8938a4a5ce 2025-06-18 08:03:06,859 - INFO - Verified VN network id 9 for VN 0dffbc3a-1f87-4a53-8717-e07df624ba22 2025-06-18 08:03:06,859 - INFO - Verifications in API Server for VN ctest-vn-82006506 passed 2025-06-18 08:03:06,859 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0dffbc3a-1f87-4a53-8717-e07df624ba22 2025-06-18 08:03:06,870 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1f20e5da-4293-44ef-9615-4f8938a4a5ce 2025-06-18 08:03:06,878 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1f20e5da-4293-44ef-9615-4f8938a4a5ce 2025-06-18 08:03:06,886 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3ef8b18c-f2a7-4b93-99d0-fddbc574700b 2025-06-18 08:03:06,900 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-82006506', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90317795', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1008731799377365587', 'uuid-lslong': '9734495951189752354'}, 'enable': 'true', 'created': '2025-06-18T08:03:04', 'last-modified': '2025-06-18T08:03:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403173'} 2025-06-18 08:03:06,907 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-18 08:03:06,907 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82006506 passed 2025-06-18 08:03:06,907 - DEBUG - ====Verifying policy data for ctest-vn-82006506 in API_Server ====== 2025-06-18 08:03:06,907 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-18 08:03:06,914 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7d958fe9-c2a6-4bdc-88ff-4aa1d1660941 2025-06-18 08:03:06,925 - DEBUG - Requesting: http://10.0.0.19:8082/project/d484c93e-99ae-4875-b754-0efe6b75b2d7 2025-06-18 08:03:06,997 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0dffbc3a-1f87-4a53-8717-e07df624ba22 2025-06-18 08:03:07,008 - DEBUG - ==>Verifying data for policy with id: d6f08b18-47f9-43a9-b0f8-052df8613a45, fqn: ['default-domain', 'ctest-TestBasicPolicy-90317795', 'ctest-policy-allow-all-91527568'] 2025-06-18 08:03:07,008 - INFO - VN ctest-vn-82006506 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-18 08:03:07,008 - DEBUG - Verifying the vn in opserver 2025-06-18 08:03:07,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-82006506 virtual network link through opserver 10.0.0.19 2025-06-18 08:03:07,008 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-06-18 08:03:07,019 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-82006506', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-82006506?flat'} 2025-06-18 08:03:07,019 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-82006506 is found in opserver 2025-06-18 08:03:07,030 - DEBUG - Do not have enough data to verify VN in agent 2025-06-18 08:03:07,035 - DEBUG - VRF ids for VN ctest-vn-82006506: {} 2025-06-18 08:03:07,096 - DEBUG - Services list from nova: [, , ] 2025-06-18 08:03:08,130 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3468-1) 2025-06-18 08:03:09,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3468-1) 2025-06-18 08:03:09,371 - INFO - Waiting for VM ctest-TestBasicPolicy-90317795-67056574 to be up.. 2025-06-18 08:03:09,465 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 08:03:14,560 - DEBUG - VM is in ACTIVE state now 2025-06-18 08:03:14,560 - INFO - VM name : ctest-TestBasicPolicy-90317795-67056574 2025-06-18 08:03:14,638 - DEBUG - VM ctest-TestBasicPolicy-90317795-67056574 ID is fbe23015-8534-45ac-94c0-ab6ab8a26f98 2025-06-18 08:03:14,657 - DEBUG - VM ctest-TestBasicPolicy-90317795-67056574 launched on Node cn-jenkins-deploy-platform-ansible-os-3468-1 2025-06-18 08:03:14,738 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fbe23015-8534-45ac-94c0-ab6ab8a26f98 2025-06-18 08:03:14,747 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b0be9105-3634-48cd-9c74-4656e7abe78b 2025-06-18 08:03:18,018 - 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 1023ms') 2025-06-18 08:03:18,018 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90317795-67056574 failed! 2025-06-18 08:03:18,072 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90317795:ctest-vn-88655365 is 135.49.133.129 and allocation pool is NOT set 2025-06-18 08:03:20,137 - 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=9.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.807 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.807/4.957/9.107/4.150 ms') 2025-06-18 08:03:20,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90317795-67056574 passed 2025-06-18 08:03:20,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 08:03:20,297 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90317795-67056574, IP 135.49.133.131, Port 22 2025-06-18 08:03:20,452 - DEBUG - VM ctest-TestBasicPolicy-90317795-67056574 is ready for SSH connections 2025-06-18 08:03:20,452 - INFO - Waiting for VM ctest-TestBasicPolicy-90317795-58283509 to be up.. 2025-06-18 08:03:20,549 - DEBUG - VM is in ACTIVE state now 2025-06-18 08:03:20,549 - INFO - VM name : ctest-TestBasicPolicy-90317795-58283509 2025-06-18 08:03:20,632 - DEBUG - VM ctest-TestBasicPolicy-90317795-58283509 ID is cfb63339-2b3b-4f79-b318-222dc14860cf 2025-06-18 08:03:20,632 - DEBUG - VM ctest-TestBasicPolicy-90317795-58283509 launched on Node cn-jenkins-deploy-platform-ansible-os-3468-1 2025-06-18 08:03:20,718 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/cfb63339-2b3b-4f79-b318-222dc14860cf 2025-06-18 08:03:20,728 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/8b5b4f3c-fbc7-4548-9c95-34b05286415d 2025-06-18 08:03:21,975 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.09 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.089/2.473/3.858/1.384 ms') 2025-06-18 08:03:21,975 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90317795-58283509 passed 2025-06-18 08:03:22,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 08:03:22,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90317795-58283509, IP 168.189.129.67, Port 22 2025-06-18 08:03:22,288 - DEBUG - VM ctest-TestBasicPolicy-90317795-58283509 is ready for SSH connections 2025-06-18 08:03:22,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 08:03:22,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.189.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-18 08:03:22,289 - DEBUG - ping -s 56 -c 3 -W 1 168.189.129.67 2025-06-18 08:03:25,974 - DEBUG - PING 168.189.129.67 (168.189.129.67): 56 data bytes 64 bytes from 168.189.129.67: seq=0 ttl=63 time=4.643 ms 64 bytes from 168.189.129.67: seq=1 ttl=63 time=0.904 ms 64 bytes from 168.189.129.67: seq=2 ttl=63 time=1.024 ms --- 168.189.129.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/2.190/4.643 ms 2025-06-18 08:03:25,974 - INFO - Ping to IP 168.189.129.67 from VM ctest-TestBasicPolicy-90317795-67056574 passed 2025-06-18 08:03:26,172 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d6f08b18-47f9-43a9-b0f8-052df8613a45", "href": "http://10.0.0.19:8082/network-policy/d6f08b18-47f9-43a9-b0f8-052df8613a45"}} 2025-06-18 08:03:26,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 08:03:26,172 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.189.129.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-06-18 08:03:26,173 - DEBUG - ping -s 56 -c 3 -W 1 168.189.129.67 2025-06-18 08:03:29,395 - DEBUG - PING 168.189.129.67 (168.189.129.67): 56 data bytes --- 168.189.129.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-18 08:03:29,396 - WARNING - Ping to IP 168.189.129.67 from VM ctest-TestBasicPolicy-90317795-67056574 failed 2025-06-18 08:03:29,396 - INFO - Deleting VM ctest-TestBasicPolicy-90317795-58283509 2025-06-18 08:03:29,470 - INFO - Deleting VM ctest-TestBasicPolicy-90317795-67056574 2025-06-18 08:03:29,854 - INFO - Deleted policy ctest-policy-allow-all-91527568 2025-06-18 08:03:29,854 - INFO - Deleting VN ctest-vn-82006506 2025-06-18 08:03:29,900 - DEBUG - VN 0dffbc3a-1f87-4a53-8717-e07df624ba22 still in use: Unable to complete operation on network 0dffbc3a-1f87-4a53-8717-e07df624ba22. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fdbf4462-10b4-427c-8a83-f67b58fe8431'] 2025-06-18 08:03:29,900 - WARNING - Deleting VN ctest-vn-82006506 failed..Will retry 2025-06-18 08:03:32,009 - DEBUG - Response for deleting network () 2025-06-18 08:03:32,009 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/1f20e5da-4293-44ef-9615-4f8938a4a5ce 2025-06-18 08:03:32,015 - DEBUG - Response Code: 404 2025-06-18 08:03:32,015 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-18 08:03:32,021 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7d958fe9-c2a6-4bdc-88ff-4aa1d1660941 2025-06-18 08:03:32,078 - DEBUG - Requesting: http://10.0.0.19:8082/project/d484c93e-99ae-4875-b754-0efe6b75b2d7 2025-06-18 08:03:32,152 - INFO - Validated that VN ctest-vn-82006506 is not found in API Server 2025-06-18 08:03:32,165 - DEBUG - VN ctest-vn-82006506 is not present in Agent 10.0.0.19 2025-06-18 08:03:32,165 - INFO - Validated that VN ctest-vn-82006506 is not in any agent 2025-06-18 08:03:32,181 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82006506 info 2025-06-18 08:03:32,182 - INFO - Deleting VN ctest-vn-88655365 2025-06-18 08:03:32,275 - DEBUG - Response for deleting network () 2025-06-18 08:03:32,275 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/8a9e2652-f53e-4fb0-a761-3d04040e73d8 2025-06-18 08:03:32,280 - DEBUG - Response Code: 404 2025-06-18 08:03:32,281 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-06-18 08:03:32,290 - DEBUG - Requesting: http://10.0.0.19:8082/domain/7d958fe9-c2a6-4bdc-88ff-4aa1d1660941 2025-06-18 08:03:32,346 - DEBUG - Requesting: http://10.0.0.19:8082/project/d484c93e-99ae-4875-b754-0efe6b75b2d7 2025-06-18 08:03:32,418 - INFO - Validated that VN ctest-vn-88655365 is not found in API Server 2025-06-18 08:03:32,429 - DEBUG - VN ctest-vn-88655365 is not present in Agent 10.0.0.19 2025-06-18 08:03:32,429 - INFO - Validated that VN ctest-vn-88655365 is not in any agent 2025-06-18 08:03:32,446 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88655365 info 2025-06-18 08:03:32,707 - DEBUG - No XMPP flaps were noticed during the test
2025-06-18 08:03:32,707 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-18 08:03:32,707 - INFO - -------------------------------------------------------------------------------- 2025-06-18 08:03:33,389 - INFO - Deleted project: ctest-TestBasicPolicy-90317795, ID : d484c93e-99ae-4875-b754-0efe6b75b2d7