2025-10-27 04:08:56,718 - INFO - Domain Default found not creating 2025-10-27 04:08:56,863 - INFO - Project ctest-TestBasicPolicy-09794545 not found, creating it 2025-10-27 04:08:57,300 - INFO - Created Project:ctest-TestBasicPolicy-09794545, ID : 6cda7d7d-c45f-44d7-b822-d568ec154dac 2025-10-27 04:08:58,813 - INFO - ================================================================================ 2025-10-27 04:08:58,813 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 04:08:58,813 - 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-10-27 04:08:59,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-27 04:08:59,065 - INFO - Initial checks done. Running the testcase now 2025-10-27 04:08:59,065 - INFO - 2025-10-27 04:08:59,606 - DEBUG - Response for create_network : {'network': {'id': '396a5a78-0449-43f3-b360-2c2e7f512ecb', 'name': 'ctest-vn-82715499', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-82715499'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:08:59,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '9616ef85-1462-4ae7-9a3f-ac45c45ab401', 'name': '', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'network_id': '396a5a78-0449-43f3-b360-2c2e7f512ecb', 'ip_version': 4, 'cidr': '182.6.102.0/26', 'allocation_pools': [{'start': '182.6.102.2', 'end': '182.6.102.62'}], 'gateway_ip': '182.6.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.6.102.2', 'tags': [], 'project_id': '6cda7d7dc45f44d7b822d568ec154dac'}} 2025-10-27 04:08:59,838 - INFO - Created VN ctest-vn-82715499 2025-10-27 04:08:59,892 - DEBUG - VN ctest-vn-82715499 UUID is 396a5a78-0449-43f3-b360-2c2e7f512ecb 2025-10-27 04:09:00,168 - DEBUG - Response for create_network : {'network': {'id': 'c7f363a0-d9dd-4b61-9ac7-b1451958d918', 'name': 'ctest-vn-60870510', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-60870510'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:09:00,394 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cce36aca-da14-4848-89ea-6c5024d51638', 'name': '', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'network_id': 'c7f363a0-d9dd-4b61-9ac7-b1451958d918', 'ip_version': 4, 'cidr': '66.7.174.64/26', 'allocation_pools': [{'start': '66.7.174.66', 'end': '66.7.174.126'}], 'gateway_ip': '66.7.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.7.174.66', 'tags': [], 'project_id': '6cda7d7dc45f44d7b822d568ec154dac'}} 2025-10-27 04:09:00,410 - INFO - Created VN ctest-vn-60870510 2025-10-27 04:09:00,464 - DEBUG - VN ctest-vn-60870510 UUID is c7f363a0-d9dd-4b61-9ac7-b1451958d918 2025-10-27 04:09:00,577 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499, 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-09794545:ctest-vn-60870510, 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-10-27 04:09:00,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '396a5a78-0449-43f3-b360-2c2e7f512ecb', 'name': 'ctest-vn-82715499', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9616ef85-1462-4ae7-9a3f-ac45c45ab401'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-82715499'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649']], 'subnet_ipam': [{'subnet_cidr': '182.6.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:09:01,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7f363a0-d9dd-4b61-9ac7-b1451958d918', 'name': 'ctest-vn-60870510', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cce36aca-da14-4848-89ea-6c5024d51638'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-60870510'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649']], 'subnet_ipam': [{'subnet_cidr': '66.7.174.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:09:01,292 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 04:09:01,595 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 04:09:01,629 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122 2025-10-27 04:09:01,642 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac 2025-10-27 04:09:01,712 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb 2025-10-27 04:09:01,723 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb 2025-10-27 04:09:01,731 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b 2025-10-27 04:09:01,738 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b 2025-10-27 04:09:01,745 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b734c1af-5abb-436d-b667-f579674cdff8 2025-10-27 04:09:01,751 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 04:09:01,752 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb 2025-10-27 04:09:01,762 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b 2025-10-27 04:09:01,781 - INFO - Verified VN network id 12 for VN 396a5a78-0449-43f3-b360-2c2e7f512ecb 2025-10-27 04:09:01,781 - INFO - Verifications in API Server for VN ctest-vn-82715499 passed 2025-10-27 04:09:01,781 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb 2025-10-27 04:09:01,792 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b 2025-10-27 04:09:01,800 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b 2025-10-27 04:09:01,807 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b734c1af-5abb-436d-b667-f579674cdff8 2025-10-27 04:09:01,820 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09794545', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4137218679207707635', 'uuid-lslong': '12925379508769468107'}, 'enable': 'true', 'created': '2025-10-27T04:08:59', 'last-modified': '2025-10-27T04:09:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976409'} 2025-10-27 04:09:01,827 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 04:09:01,827 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82715499 passed 2025-10-27 04:09:01,827 - DEBUG - ====Verifying policy data for ctest-vn-82715499 in API_Server ====== 2025-10-27 04:09:01,827 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 04:09:01,834 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122 2025-10-27 04:09:01,845 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac 2025-10-27 04:09:01,915 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb 2025-10-27 04:09:01,924 - DEBUG - ==>Verifying data for policy with id: 4f144d42-713d-419f-a126-236f3def5948, fqn: ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649'] 2025-10-27 04:09:01,924 - INFO - VN ctest-vn-82715499 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 04:09:01,924 - DEBUG - Verifying the vn in opserver 2025-10-27 04:09:01,924 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499 virtual network link through opserver 10.0.0.27 2025-10-27 04:09:01,925 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 04:09:02,218 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 04:09:02,275 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499?flat'} 2025-10-27 04:09:02,275 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499 is found in opserver 2025-10-27 04:09:02,284 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 04:09:02,289 - DEBUG - VRF ids for VN ctest-vn-82715499: {} 2025-10-27 04:09:02,289 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 04:09:02,295 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122 2025-10-27 04:09:02,306 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac 2025-10-27 04:09:02,375 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918 2025-10-27 04:09:02,386 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918 2025-10-27 04:09:02,395 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60 2025-10-27 04:09:02,402 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60 2025-10-27 04:09:02,409 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/571a0e66-fa07-4daf-b6b4-02aa3ecdaeae 2025-10-27 04:09:02,416 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 04:09:02,416 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918 2025-10-27 04:09:02,425 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60 2025-10-27 04:09:02,440 - INFO - Verified VN network id 13 for VN c7f363a0-d9dd-4b61-9ac7-b1451958d918 2025-10-27 04:09:02,440 - INFO - Verifications in API Server for VN ctest-vn-60870510 passed 2025-10-27 04:09:02,440 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918 2025-10-27 04:09:02,448 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60 2025-10-27 04:09:02,456 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60 2025-10-27 04:09:02,464 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/571a0e66-fa07-4daf-b6b4-02aa3ecdaeae 2025-10-27 04:09:02,479 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09794545', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14407969175389424481', 'uuid-lslong': '11153077912542435608'}, 'enable': 'true', 'created': '2025-10-27T04:09:00', 'last-modified': '2025-10-27T04:09:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405777'} 2025-10-27 04:09:02,485 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 04:09:02,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60870510 passed 2025-10-27 04:09:02,485 - DEBUG - ====Verifying policy data for ctest-vn-60870510 in API_Server ====== 2025-10-27 04:09:02,485 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 04:09:02,491 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122 2025-10-27 04:09:02,504 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac 2025-10-27 04:09:02,578 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918 2025-10-27 04:09:02,588 - DEBUG - ==>Verifying data for policy with id: 4f144d42-713d-419f-a126-236f3def5948, fqn: ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649'] 2025-10-27 04:09:02,588 - INFO - VN ctest-vn-60870510 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 04:09:02,588 - DEBUG - Verifying the vn in opserver 2025-10-27 04:09:02,588 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510 virtual network link through opserver 10.0.0.27 2025-10-27 04:09:02,588 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-27 04:09:02,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510?flat'} 2025-10-27 04:09:02,600 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510 is found in opserver 2025-10-27 04:09:02,610 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 04:09:02,616 - DEBUG - VRF ids for VN ctest-vn-60870510: {} 2025-10-27 04:09:02,681 - DEBUG - Services list from nova: [, , ] 2025-10-27 04:09:03,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:09:04,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:09:04,990 - INFO - Waiting for VM ctest-TestBasicPolicy-09794545-22551073 to be up.. 2025-10-27 04:09:05,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 04:09:10,171 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:09:10,171 - INFO - VM name : ctest-TestBasicPolicy-09794545-22551073 2025-10-27 04:09:10,248 - DEBUG - VM ctest-TestBasicPolicy-09794545-22551073 ID is 839153e0-49d8-4af7-ba14-29f5c1de7e69 2025-10-27 04:09:10,271 - DEBUG - VM ctest-TestBasicPolicy-09794545-22551073 launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:09:10,362 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/839153e0-49d8-4af7-ba14-29f5c1de7e69 2025-10-27 04:09:10,371 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/4f47af82-a532-4354-9840-7af2bca38795 2025-10-27 04:09:13,643 - 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 1024ms') 2025-10-27 04:09:13,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09794545-22551073 failed! 2025-10-27 04:09:13,696 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499 is 182.6.102.1 and allocation pool is NOT set 2025-10-27 04:09:15,759 - 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=7.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.326 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.326/3.739/7.153/3.413 ms') 2025-10-27 04:09:15,759 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09794545-22551073 passed 2025-10-27 04:09:15,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:15,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09794545-22551073, IP 182.6.102.3, Port 22 2025-10-27 04:09:16,079 - DEBUG - VM ctest-TestBasicPolicy-09794545-22551073 is ready for SSH connections 2025-10-27 04:09:16,079 - INFO - Waiting for VM ctest-TestBasicPolicy-09794545-63741520 to be up.. 2025-10-27 04:09:16,160 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:09:16,160 - INFO - VM name : ctest-TestBasicPolicy-09794545-63741520 2025-10-27 04:09:16,233 - DEBUG - VM ctest-TestBasicPolicy-09794545-63741520 ID is a05ffaac-ed3e-4ab9-887b-8c28381cf73c 2025-10-27 04:09:16,233 - DEBUG - VM ctest-TestBasicPolicy-09794545-63741520 launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:09:16,305 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a05ffaac-ed3e-4ab9-887b-8c28381cf73c 2025-10-27 04:09:16,313 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/84198535-86eb-4669-a6f8-b1b040780401 2025-10-27 04:09:17,542 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.949/3.442/1.493 ms') 2025-10-27 04:09:17,542 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09794545-63741520 passed 2025-10-27 04:09:17,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:17,689 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09794545-63741520, IP 66.7.174.67, Port 22 2025-10-27 04:09:17,862 - DEBUG - VM ctest-TestBasicPolicy-09794545-63741520 is ready for SSH connections 2025-10-27 04:09:17,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:17,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.7.174.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 04:09:17,863 - DEBUG - ping -s 56 -c 3 -W 1 66.7.174.67 2025-10-27 04:09:21,866 - DEBUG - PING 66.7.174.67 (66.7.174.67): 56 data bytes 64 bytes from 66.7.174.67: seq=0 ttl=63 time=3.339 ms 64 bytes from 66.7.174.67: seq=1 ttl=63 time=0.805 ms 64 bytes from 66.7.174.67: seq=2 ttl=63 time=1.025 ms --- 66.7.174.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.723/3.339 ms 2025-10-27 04:09:21,867 - INFO - Ping to IP 66.7.174.67 from VM ctest-TestBasicPolicy-09794545-22551073 passed 2025-10-27 04:09:22,048 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4f144d42-713d-419f-a126-236f3def5948", "href": "http://10.0.0.27:8082/network-policy/4f144d42-713d-419f-a126-236f3def5948"}} 2025-10-27 04:09:22,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:09:22,049 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.7.174.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 04:09:22,049 - DEBUG - ping -s 56 -c 3 -W 1 66.7.174.67 2025-10-27 04:09:25,297 - DEBUG - PING 66.7.174.67 (66.7.174.67): 56 data bytes --- 66.7.174.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 04:09:25,297 - WARNING - Ping to IP 66.7.174.67 from VM ctest-TestBasicPolicy-09794545-22551073 failed 2025-10-27 04:09:25,297 - INFO - Deleting VM ctest-TestBasicPolicy-09794545-63741520 2025-10-27 04:09:25,381 - INFO - Deleting VM ctest-TestBasicPolicy-09794545-22551073 2025-10-27 04:09:25,768 - INFO - Deleted policy ctest-policy-allow-all-28696649 2025-10-27 04:09:25,769 - INFO - Deleting VN ctest-vn-60870510 2025-10-27 04:09:25,801 - DEBUG - VN c7f363a0-d9dd-4b61-9ac7-b1451958d918 still in use: Unable to complete operation on network c7f363a0-d9dd-4b61-9ac7-b1451958d918. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5b5da82-9a04-4e5f-af2e-042d08fa3bd1'] 2025-10-27 04:09:25,801 - WARNING - Deleting VN ctest-vn-60870510 failed..Will retry 2025-10-27 04:09:27,915 - DEBUG - Response for deleting network () 2025-10-27 04:09:27,915 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60 2025-10-27 04:09:27,922 - DEBUG - Response Code: 404 2025-10-27 04:09:27,923 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 04:09:27,928 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122 2025-10-27 04:09:27,982 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac 2025-10-27 04:09:28,050 - INFO - Validated that VN ctest-vn-60870510 is not found in API Server 2025-10-27 04:09:28,060 - DEBUG - VN ctest-vn-60870510 is not present in Agent 10.0.0.27 2025-10-27 04:09:28,060 - INFO - Validated that VN ctest-vn-60870510 is not in any agent 2025-10-27 04:09:28,074 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60870510 info 2025-10-27 04:09:28,074 - INFO - Deleting VN ctest-vn-82715499 2025-10-27 04:09:28,165 - DEBUG - Response for deleting network () 2025-10-27 04:09:28,165 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b 2025-10-27 04:09:28,172 - DEBUG - Response Code: 404 2025-10-27 04:09:28,172 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-27 04:09:28,178 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122 2025-10-27 04:09:28,237 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac 2025-10-27 04:09:28,307 - INFO - Validated that VN ctest-vn-82715499 is not found in API Server 2025-10-27 04:09:28,316 - DEBUG - VN ctest-vn-82715499 is not present in Agent 10.0.0.27 2025-10-27 04:09:28,316 - INFO - Validated that VN ctest-vn-82715499 is not in any agent 2025-10-27 04:09:28,328 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82715499 info 2025-10-27 04:09:28,582 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 04:09:28,583 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-27 04:09:28,583 - INFO - -------------------------------------------------------------------------------- 2025-10-27 04:09:29,260 - INFO - Deleted project: ctest-TestBasicPolicy-09794545, ID : 6cda7d7d-c45f-44d7-b822-d568ec154dac