2025-08-10 10:59:01,928 - INFO - Domain Default found not creating 2025-08-10 10:59:02,041 - INFO - Project ctest-TestBasicPolicy-01300129 not found, creating it 2025-08-10 10:59:02,505 - INFO - Created Project:ctest-TestBasicPolicy-01300129, ID : 7474e3ec-5b96-4020-a5c4-6bfd22647b9e 2025-08-10 10:59:03,859 - INFO - ================================================================================ 2025-08-10 10:59:03,859 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-10 10:59:03,859 - 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-08-10 10:59:04,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-10 10:59:04,113 - INFO - Initial checks done. Running the testcase now 2025-08-10 10:59:04,113 - INFO - 2025-08-10 10:59:04,638 - DEBUG - Response for create_network : {'network': {'id': 'b2298372-3066-4557-a2b8-5d7ae7196b7f', 'name': 'ctest-vn-44429136', 'tenant_id': '7474e3ec5b964020a5c46bfd22647b9e', 'project_id': '7474e3ec5b964020a5c46bfd22647b9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-vn-44429136'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:59:04,800 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cdc9c80f-70e0-4310-91d6-d7d96d67c4df', 'name': '', 'tenant_id': '7474e3ec5b964020a5c46bfd22647b9e', 'network_id': 'b2298372-3066-4557-a2b8-5d7ae7196b7f', 'ip_version': 4, 'cidr': '96.99.100.0/26', 'allocation_pools': [{'start': '96.99.100.2', 'end': '96.99.100.62'}], 'gateway_ip': '96.99.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.99.100.2', 'tags': [], 'project_id': '7474e3ec5b964020a5c46bfd22647b9e'}} 2025-08-10 10:59:04,815 - INFO - Created VN ctest-vn-44429136 2025-08-10 10:59:04,864 - DEBUG - VN ctest-vn-44429136 UUID is b2298372-3066-4557-a2b8-5d7ae7196b7f 2025-08-10 10:59:05,158 - DEBUG - Response for create_network : {'network': {'id': '6e1e7349-3fce-423f-931d-db15121ff873', 'name': 'ctest-vn-76368340', 'tenant_id': '7474e3ec5b964020a5c46bfd22647b9e', 'project_id': '7474e3ec5b964020a5c46bfd22647b9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-vn-76368340'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:59:05,296 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e81c8b39-2c9a-4e35-aba6-6dd78af40466', 'name': '', 'tenant_id': '7474e3ec5b964020a5c46bfd22647b9e', 'network_id': '6e1e7349-3fce-423f-931d-db15121ff873', 'ip_version': 4, 'cidr': '223.131.167.128/26', 'allocation_pools': [{'start': '223.131.167.130', 'end': '223.131.167.190'}], 'gateway_ip': '223.131.167.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.131.167.130', 'tags': [], 'project_id': '7474e3ec5b964020a5c46bfd22647b9e'}} 2025-08-10 10:59:05,313 - INFO - Created VN ctest-vn-76368340 2025-08-10 10:59:05,368 - DEBUG - VN ctest-vn-76368340 UUID is 6e1e7349-3fce-423f-931d-db15121ff873 2025-08-10 10:59:05,504 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-44429136, 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-01300129:ctest-vn-76368340, 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-08-10 10:59:05,781 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b2298372-3066-4557-a2b8-5d7ae7196b7f', 'name': 'ctest-vn-44429136', 'tenant_id': '7474e3ec5b964020a5c46bfd22647b9e', 'project_id': '7474e3ec5b964020a5c46bfd22647b9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cdc9c80f-70e0-4310-91d6-d7d96d67c4df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-vn-44429136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-policy-allow-all-03081663']], 'subnet_ipam': [{'subnet_cidr': '96.99.100.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:59:06,018 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e1e7349-3fce-423f-931d-db15121ff873', 'name': 'ctest-vn-76368340', 'tenant_id': '7474e3ec5b964020a5c46bfd22647b9e', 'project_id': '7474e3ec5b964020a5c46bfd22647b9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e81c8b39-2c9a-4e35-aba6-6dd78af40466'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-vn-76368340'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-policy-allow-all-03081663']], 'subnet_ipam': [{'subnet_cidr': '223.131.167.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-10 10:59:06,189 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-10 10:59:06,479 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-10 10:59:06,504 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6de61825-463e-40c2-9f67-56ee69788113 2025-08-10 10:59:06,515 - DEBUG - Requesting: http://10.0.0.38:8082/project/7474e3ec-5b96-4020-a5c4-6bfd22647b9e 2025-08-10 10:59:06,585 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2298372-3066-4557-a2b8-5d7ae7196b7f 2025-08-10 10:59:06,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2298372-3066-4557-a2b8-5d7ae7196b7f 2025-08-10 10:59:06,603 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bff8717e-b491-4ded-9f05-77d5c6cd6ad7 2025-08-10 10:59:06,609 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bff8717e-b491-4ded-9f05-77d5c6cd6ad7 2025-08-10 10:59:06,615 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e38b78ac-a408-4aea-93ec-2028d461f979 2025-08-10 10:59:06,620 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-10 10:59:06,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2298372-3066-4557-a2b8-5d7ae7196b7f 2025-08-10 10:59:06,628 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bff8717e-b491-4ded-9f05-77d5c6cd6ad7 2025-08-10 10:59:06,640 - INFO - Verified VN network id 11 for VN b2298372-3066-4557-a2b8-5d7ae7196b7f 2025-08-10 10:59:06,640 - INFO - Verifications in API Server for VN ctest-vn-44429136 passed 2025-08-10 10:59:06,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2298372-3066-4557-a2b8-5d7ae7196b7f 2025-08-10 10:59:06,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bff8717e-b491-4ded-9f05-77d5c6cd6ad7 2025-08-10 10:59:06,654 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bff8717e-b491-4ded-9f05-77d5c6cd6ad7 2025-08-10 10:59:06,660 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e38b78ac-a408-4aea-93ec-2028d461f979 2025-08-10 10:59:06,670 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-44429136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01300129', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12837936739257828695', 'uuid-lslong': '11725224412303682431'}, 'enable': 'true', 'created': '2025-08-10T10:59:04', 'last-modified': '2025-08-10T10:59:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910224'} 2025-08-10 10:59:06,676 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-10 10:59:06,676 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44429136 passed 2025-08-10 10:59:06,676 - DEBUG - ====Verifying policy data for ctest-vn-44429136 in API_Server ====== 2025-08-10 10:59:06,676 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-10 10:59:06,681 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6de61825-463e-40c2-9f67-56ee69788113 2025-08-10 10:59:06,690 - DEBUG - Requesting: http://10.0.0.38:8082/project/7474e3ec-5b96-4020-a5c4-6bfd22647b9e 2025-08-10 10:59:06,754 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b2298372-3066-4557-a2b8-5d7ae7196b7f 2025-08-10 10:59:06,764 - DEBUG - ==>Verifying data for policy with id: a3299e72-3cd3-4c07-b237-a5306c323d74, fqn: ['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-policy-allow-all-03081663'] 2025-08-10 10:59:06,764 - INFO - VN ctest-vn-44429136 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-10 10:59:06,764 - DEBUG - Verifying the vn in opserver 2025-08-10 10:59:06,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-44429136 virtual network link through opserver 10.0.0.38 2025-08-10 10:59:06,764 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-10 10:59:07,053 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-10 10:59:07,102 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-44429136', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-44429136?flat'} 2025-08-10 10:59:07,102 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-44429136 is found in opserver 2025-08-10 10:59:07,112 - DEBUG - Do not have enough data to verify VN in agent 2025-08-10 10:59:07,117 - DEBUG - VRF ids for VN ctest-vn-44429136: {} 2025-08-10 10:59:07,117 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-10 10:59:07,122 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6de61825-463e-40c2-9f67-56ee69788113 2025-08-10 10:59:07,132 - DEBUG - Requesting: http://10.0.0.38:8082/project/7474e3ec-5b96-4020-a5c4-6bfd22647b9e 2025-08-10 10:59:07,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e1e7349-3fce-423f-931d-db15121ff873 2025-08-10 10:59:07,211 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e1e7349-3fce-423f-931d-db15121ff873 2025-08-10 10:59:07,219 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7dc3c89-c80e-42c4-a744-17e35cbbc2e2 2025-08-10 10:59:07,225 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7dc3c89-c80e-42c4-a744-17e35cbbc2e2 2025-08-10 10:59:07,230 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a5144c67-32e3-4ae5-bb03-0716a7d40040 2025-08-10 10:59:07,236 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-10 10:59:07,236 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e1e7349-3fce-423f-931d-db15121ff873 2025-08-10 10:59:07,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7dc3c89-c80e-42c4-a744-17e35cbbc2e2 2025-08-10 10:59:07,255 - INFO - Verified VN network id 12 for VN 6e1e7349-3fce-423f-931d-db15121ff873 2025-08-10 10:59:07,256 - INFO - Verifications in API Server for VN ctest-vn-76368340 passed 2025-08-10 10:59:07,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e1e7349-3fce-423f-931d-db15121ff873 2025-08-10 10:59:07,264 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7dc3c89-c80e-42c4-a744-17e35cbbc2e2 2025-08-10 10:59:07,270 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7dc3c89-c80e-42c4-a744-17e35cbbc2e2 2025-08-10 10:59:07,275 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a5144c67-32e3-4ae5-bb03-0716a7d40040 2025-08-10 10:59:07,286 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-76368340', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01300129', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7934906351913681471', 'uuid-lslong': '10600869981444896883'}, 'enable': 'true', 'created': '2025-08-10T10:59:05', 'last-modified': '2025-08-10T10:59:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297906'} 2025-08-10 10:59:07,291 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-10 10:59:07,291 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76368340 passed 2025-08-10 10:59:07,292 - DEBUG - ====Verifying policy data for ctest-vn-76368340 in API_Server ====== 2025-08-10 10:59:07,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-10 10:59:07,296 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6de61825-463e-40c2-9f67-56ee69788113 2025-08-10 10:59:07,306 - DEBUG - Requesting: http://10.0.0.38:8082/project/7474e3ec-5b96-4020-a5c4-6bfd22647b9e 2025-08-10 10:59:07,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e1e7349-3fce-423f-931d-db15121ff873 2025-08-10 10:59:07,381 - DEBUG - ==>Verifying data for policy with id: a3299e72-3cd3-4c07-b237-a5306c323d74, fqn: ['default-domain', 'ctest-TestBasicPolicy-01300129', 'ctest-policy-allow-all-03081663'] 2025-08-10 10:59:07,381 - INFO - VN ctest-vn-76368340 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-10 10:59:07,381 - DEBUG - Verifying the vn in opserver 2025-08-10 10:59:07,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-76368340 virtual network link through opserver 10.0.0.38 2025-08-10 10:59:07,381 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-10 10:59:07,389 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-76368340', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-76368340?flat'} 2025-08-10 10:59:07,389 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-76368340 is found in opserver 2025-08-10 10:59:07,399 - DEBUG - Do not have enough data to verify VN in agent 2025-08-10 10:59:07,403 - DEBUG - VRF ids for VN ctest-vn-76368340: {} 2025-08-10 10:59:07,451 - DEBUG - Services list from nova: [, , ] 2025-08-10 10:59:08,375 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:59:09,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3787-1) 2025-08-10 10:59:09,398 - INFO - Waiting for VM ctest-TestBasicPolicy-01300129-48033531 to be up.. 2025-08-10 10:59:09,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 10:59:14,538 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:59:14,538 - INFO - VM name : ctest-TestBasicPolicy-01300129-48033531 2025-08-10 10:59:14,596 - DEBUG - VM ctest-TestBasicPolicy-01300129-48033531 ID is 954455dd-a298-4d5d-b99d-dcade17932fd 2025-08-10 10:59:14,613 - DEBUG - VM ctest-TestBasicPolicy-01300129-48033531 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:59:14,691 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/954455dd-a298-4d5d-b99d-dcade17932fd 2025-08-10 10:59:14,701 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/54dce0df-d77e-4843-b6e0-a68bfef82e97 2025-08-10 10:59:17,963 - 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 1025ms') 2025-08-10 10:59:17,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01300129-48033531 failed! 2025-08-10 10:59:18,016 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01300129:ctest-vn-44429136 is 96.99.100.1 and allocation pool is NOT set 2025-08-10 10:59:20,082 - 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=3.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 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 = 1.741/2.643/3.546/0.902 ms') 2025-08-10 10:59:20,083 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01300129-48033531 passed 2025-08-10 10:59:20,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:59:20,233 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01300129-48033531, IP 96.99.100.3, Port 22 2025-08-10 10:59:20,384 - DEBUG - VM ctest-TestBasicPolicy-01300129-48033531 is ready for SSH connections 2025-08-10 10:59:20,384 - INFO - Waiting for VM ctest-TestBasicPolicy-01300129-78015319 to be up.. 2025-08-10 10:59:20,449 - DEBUG - VM is in ACTIVE state now 2025-08-10 10:59:20,449 - INFO - VM name : ctest-TestBasicPolicy-01300129-78015319 2025-08-10 10:59:20,502 - DEBUG - VM ctest-TestBasicPolicy-01300129-78015319 ID is a00b7607-b853-46b2-a1f6-78207cb62895 2025-08-10 10:59:20,502 - DEBUG - VM ctest-TestBasicPolicy-01300129-78015319 launched on Node cn-jenkins-deploy-platform-ansible-os-3787-1 2025-08-10 10:59:20,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a00b7607-b853-46b2-a1f6-78207cb62895 2025-08-10 10:59:20,562 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e7f65697-5628-4904-a32f-41c8d966f45a 2025-08-10 10:59:21,787 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.521/2.560/1.039 ms') 2025-08-10 10:59:21,787 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01300129-78015319 passed 2025-08-10 10:59:21,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:59:21,940 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01300129-78015319, IP 223.131.167.131, Port 22 2025-08-10 10:59:22,095 - DEBUG - VM ctest-TestBasicPolicy-01300129-78015319 is ready for SSH connections 2025-08-10 10:59:22,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:59:22,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.131.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:59:22,096 - DEBUG - ping -s 56 -c 3 -W 1 223.131.167.131 2025-08-10 10:59:25,743 - DEBUG - PING 223.131.167.131 (223.131.167.131): 56 data bytes 64 bytes from 223.131.167.131: seq=0 ttl=63 time=3.149 ms 64 bytes from 223.131.167.131: seq=1 ttl=63 time=1.239 ms 64 bytes from 223.131.167.131: seq=2 ttl=63 time=0.845 ms --- 223.131.167.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.845/1.744/3.149 ms 2025-08-10 10:59:25,743 - INFO - Ping to IP 223.131.167.131 from VM ctest-TestBasicPolicy-01300129-48033531 passed 2025-08-10 10:59:25,924 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a3299e72-3cd3-4c07-b237-a5306c323d74", "href": "http://10.0.0.38:8082/network-policy/a3299e72-3cd3-4c07-b237-a5306c323d74"}} 2025-08-10 10:59:25,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 10:59:25,924 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.131.167.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-10 10:59:25,925 - DEBUG - ping -s 56 -c 3 -W 1 223.131.167.131 2025-08-10 10:59:29,114 - DEBUG - PING 223.131.167.131 (223.131.167.131): 56 data bytes 64 bytes from 223.131.167.131: seq=0 ttl=63 time=1.306 ms --- 223.131.167.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.306/1.306/1.306 ms 2025-08-10 10:59:29,114 - WARNING - Ping to IP 223.131.167.131 from VM ctest-TestBasicPolicy-01300129-48033531 failed 2025-08-10 10:59:29,114 - INFO - Deleting VM ctest-TestBasicPolicy-01300129-78015319 2025-08-10 10:59:29,170 - INFO - Deleting VM ctest-TestBasicPolicy-01300129-48033531 2025-08-10 10:59:29,527 - INFO - Deleted policy ctest-policy-allow-all-03081663 2025-08-10 10:59:29,527 - INFO - Deleting VN ctest-vn-76368340 2025-08-10 10:59:29,557 - DEBUG - VN 6e1e7349-3fce-423f-931d-db15121ff873 still in use: Unable to complete operation on network 6e1e7349-3fce-423f-931d-db15121ff873. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97b3580c-f8e3-41fc-927d-505b35177c70'] 2025-08-10 10:59:29,557 - WARNING - Deleting VN ctest-vn-76368340 failed..Will retry 2025-08-10 10:59:31,648 - DEBUG - Response for deleting network () 2025-08-10 10:59:31,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e7dc3c89-c80e-42c4-a744-17e35cbbc2e2 2025-08-10 10:59:31,656 - DEBUG - Response Code: 404 2025-08-10 10:59:31,656 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-10 10:59:31,661 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6de61825-463e-40c2-9f67-56ee69788113 2025-08-10 10:59:31,716 - DEBUG - Requesting: http://10.0.0.38:8082/project/7474e3ec-5b96-4020-a5c4-6bfd22647b9e 2025-08-10 10:59:31,785 - INFO - Validated that VN ctest-vn-76368340 is not found in API Server 2025-08-10 10:59:31,796 - DEBUG - VN ctest-vn-76368340 is not present in Agent 10.0.0.38 2025-08-10 10:59:31,796 - INFO - Validated that VN ctest-vn-76368340 is not in any agent 2025-08-10 10:59:31,815 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76368340 info 2025-08-10 10:59:31,815 - INFO - Deleting VN ctest-vn-44429136 2025-08-10 10:59:31,906 - DEBUG - Response for deleting network () 2025-08-10 10:59:31,906 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bff8717e-b491-4ded-9f05-77d5c6cd6ad7 2025-08-10 10:59:31,911 - DEBUG - Response Code: 404 2025-08-10 10:59:31,911 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-10 10:59:31,920 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6de61825-463e-40c2-9f67-56ee69788113 2025-08-10 10:59:31,972 - DEBUG - Requesting: http://10.0.0.38:8082/project/7474e3ec-5b96-4020-a5c4-6bfd22647b9e 2025-08-10 10:59:32,039 - INFO - Validated that VN ctest-vn-44429136 is not found in API Server 2025-08-10 10:59:32,049 - DEBUG - VN ctest-vn-44429136 is not present in Agent 10.0.0.38 2025-08-10 10:59:32,049 - INFO - Validated that VN ctest-vn-44429136 is not in any agent 2025-08-10 10:59:32,063 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44429136 info 2025-08-10 10:59:32,317 - DEBUG - No XMPP flaps were noticed during the test 2025-08-10 10:59:32,317 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-10 10:59:32,317 - INFO - -------------------------------------------------------------------------------- 2025-08-10 10:59:32,948 - INFO - Deleted project: ctest-TestBasicPolicy-01300129, ID : 7474e3ec-5b96-4020-a5c4-6bfd22647b9e