2025-06-19 20:26:12,287 - INFO - Domain Default found not creating 2025-06-19 20:26:12,456 - INFO - Project ctest-TestBasicPolicy-19601340 not found, creating it 2025-06-19 20:26:12,943 - INFO - Created Project:ctest-TestBasicPolicy-19601340, ID : 2163e2a4-88f1-4957-9ecc-32db156cbb47 2025-06-19 20:26:14,528 - INFO - ================================================================================ 2025-06-19 20:26:14,529 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 20:26:14,529 - 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-19 20:26:14,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-06-19 20:26:14,783 - INFO - Initial checks done. Running the testcase now 2025-06-19 20:26:14,784 - INFO - 2025-06-19 20:26:15,334 - DEBUG - Response for create_network : {'network': {'id': 'd08acc7d-9ccf-4387-ad7f-985c4a9bca83', 'name': 'ctest-vn-96084772', 'tenant_id': '2163e2a488f149579ecc32db156cbb47', 'project_id': '2163e2a488f149579ecc32db156cbb47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-vn-96084772'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 20:26:15,550 - DEBUG - Response for create_subnet : {'subnet': {'id': '072c4a6c-3b7f-4f2b-85a3-124758b87a56', 'name': '', 'tenant_id': '2163e2a488f149579ecc32db156cbb47', 'network_id': 'd08acc7d-9ccf-4387-ad7f-985c4a9bca83', 'ip_version': 4, 'cidr': '213.242.91.64/26', 'allocation_pools': [{'start': '213.242.91.66', 'end': '213.242.91.126'}], 'gateway_ip': '213.242.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.242.91.66', 'tags': [], 'project_id': '2163e2a488f149579ecc32db156cbb47'}} 2025-06-19 20:26:15,566 - INFO - Created VN ctest-vn-96084772 2025-06-19 20:26:15,617 - DEBUG - VN ctest-vn-96084772 UUID is d08acc7d-9ccf-4387-ad7f-985c4a9bca83 2025-06-19 20:26:15,941 - DEBUG - Response for create_network : {'network': {'id': 'bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c', 'name': 'ctest-vn-74620643', 'tenant_id': '2163e2a488f149579ecc32db156cbb47', 'project_id': '2163e2a488f149579ecc32db156cbb47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-vn-74620643'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 20:26:16,157 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b03ad471-8422-45d5-a7bc-b9f52c180d34', 'name': '', 'tenant_id': '2163e2a488f149579ecc32db156cbb47', 'network_id': 'bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c', 'ip_version': 4, 'cidr': '44.34.98.128/26', 'allocation_pools': [{'start': '44.34.98.130', 'end': '44.34.98.190'}], 'gateway_ip': '44.34.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.34.98.130', 'tags': [], 'project_id': '2163e2a488f149579ecc32db156cbb47'}} 2025-06-19 20:26:16,176 - INFO - Created VN ctest-vn-74620643 2025-06-19 20:26:16,229 - DEBUG - VN ctest-vn-74620643 UUID is bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c 2025-06-19 20:26:16,351 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-96084772, 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-19601340:ctest-vn-74620643, 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-19 20:26:16,682 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd08acc7d-9ccf-4387-ad7f-985c4a9bca83', 'name': 'ctest-vn-96084772', 'tenant_id': '2163e2a488f149579ecc32db156cbb47', 'project_id': '2163e2a488f149579ecc32db156cbb47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['072c4a6c-3b7f-4f2b-85a3-124758b87a56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-vn-96084772'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-policy-allow-all-70301371']], 'subnet_ipam': [{'subnet_cidr': '213.242.91.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 20:26:16,921 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c', 'name': 'ctest-vn-74620643', 'tenant_id': '2163e2a488f149579ecc32db156cbb47', 'project_id': '2163e2a488f149579ecc32db156cbb47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b03ad471-8422-45d5-a7bc-b9f52c180d34'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-vn-74620643'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-policy-allow-all-70301371']], 'subnet_ipam': [{'subnet_cidr': '44.34.98.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 20:26:17,089 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 20:26:17,391 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 20:26:17,419 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c04575c8-7378-476b-88df-2561d14e61b4 2025-06-19 20:26:17,432 - DEBUG - Requesting: http://10.0.0.65:8082/project/2163e2a4-88f1-4957-9ecc-32db156cbb47 2025-06-19 20:26:17,504 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d08acc7d-9ccf-4387-ad7f-985c4a9bca83 2025-06-19 20:26:17,517 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d08acc7d-9ccf-4387-ad7f-985c4a9bca83 2025-06-19 20:26:17,528 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b919baa0-00dc-4f72-884e-610c6fddee2b 2025-06-19 20:26:17,536 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b919baa0-00dc-4f72-884e-610c6fddee2b 2025-06-19 20:26:17,544 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/f2bac52d-58fd-40d6-a1f1-a6d0b71c4cbb 2025-06-19 20:26:17,550 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 20:26:17,550 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d08acc7d-9ccf-4387-ad7f-985c4a9bca83 2025-06-19 20:26:17,559 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b919baa0-00dc-4f72-884e-610c6fddee2b 2025-06-19 20:26:17,572 - INFO - Verified VN network id 8 for VN d08acc7d-9ccf-4387-ad7f-985c4a9bca83 2025-06-19 20:26:17,573 - INFO - Verifications in API Server for VN ctest-vn-96084772 passed 2025-06-19 20:26:17,573 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d08acc7d-9ccf-4387-ad7f-985c4a9bca83 2025-06-19 20:26:17,582 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b919baa0-00dc-4f72-884e-610c6fddee2b 2025-06-19 20:26:17,588 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b919baa0-00dc-4f72-884e-610c6fddee2b 2025-06-19 20:26:17,595 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/f2bac52d-58fd-40d6-a1f1-a6d0b71c4cbb 2025-06-19 20:26:17,606 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-96084772', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19601340', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15027047946548888455', 'uuid-lslong': '12501878612759923331'}, 'enable': 'true', 'created': '2025-06-19T20:26:15', 'last-modified': '2025-06-19T20:26:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957095'} 2025-06-19 20:26:17,612 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 20:26:17,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96084772 passed 2025-06-19 20:26:17,612 - DEBUG - ====Verifying policy data for ctest-vn-96084772 in API_Server ====== 2025-06-19 20:26:17,612 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 20:26:17,618 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c04575c8-7378-476b-88df-2561d14e61b4 2025-06-19 20:26:17,629 - DEBUG - Requesting: http://10.0.0.65:8082/project/2163e2a4-88f1-4957-9ecc-32db156cbb47 2025-06-19 20:26:17,700 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d08acc7d-9ccf-4387-ad7f-985c4a9bca83 2025-06-19 20:26:17,710 - DEBUG - ==>Verifying data for policy with id: 54d31772-99e7-4e5a-a1d1-e5deda50820d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-policy-allow-all-70301371'] 2025-06-19 20:26:17,710 - INFO - VN ctest-vn-96084772 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 20:26:17,710 - DEBUG - Verifying the vn in opserver 2025-06-19 20:26:17,710 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-96084772 virtual network link through opserver 10.0.0.65 2025-06-19 20:26:17,711 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-19 20:26:18,013 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-19 20:26:18,070 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-96084772', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-96084772?flat'} 2025-06-19 20:26:18,070 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-96084772 is found in opserver 2025-06-19 20:26:18,081 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 20:26:18,086 - DEBUG - VRF ids for VN ctest-vn-96084772: {} 2025-06-19 20:26:18,086 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 20:26:18,106 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c04575c8-7378-476b-88df-2561d14e61b4 2025-06-19 20:26:18,118 - DEBUG - Requesting: http://10.0.0.65:8082/project/2163e2a4-88f1-4957-9ecc-32db156cbb47 2025-06-19 20:26:18,196 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c 2025-06-19 20:26:18,211 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c 2025-06-19 20:26:18,223 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/22e85681-d349-4f47-be15-27b4c1a5b493 2025-06-19 20:26:18,235 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/22e85681-d349-4f47-be15-27b4c1a5b493 2025-06-19 20:26:18,243 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ddf5fbb7-0c67-4299-a6a9-2bc212599edc 2025-06-19 20:26:18,253 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 20:26:18,253 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c 2025-06-19 20:26:18,265 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/22e85681-d349-4f47-be15-27b4c1a5b493 2025-06-19 20:26:18,284 - INFO - Verified VN network id 9 for VN bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c 2025-06-19 20:26:18,284 - INFO - Verifications in API Server for VN ctest-vn-74620643 passed 2025-06-19 20:26:18,284 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c 2025-06-19 20:26:18,295 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/22e85681-d349-4f47-be15-27b4c1a5b493 2025-06-19 20:26:18,303 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/22e85681-d349-4f47-be15-27b4c1a5b493 2025-06-19 20:26:18,310 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/ddf5fbb7-0c67-4299-a6a9-2bc212599edc 2025-06-19 20:26:18,324 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-74620643', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19601340', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13528965495189818321', 'uuid-lslong': '11809832536019451212'}, 'enable': 'true', 'created': '2025-06-19T20:26:15', 'last-modified': '2025-06-19T20:26:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.431414'} 2025-06-19 20:26:18,331 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 20:26:18,331 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74620643 passed 2025-06-19 20:26:18,331 - DEBUG - ====Verifying policy data for ctest-vn-74620643 in API_Server ====== 2025-06-19 20:26:18,331 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 20:26:18,338 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c04575c8-7378-476b-88df-2561d14e61b4 2025-06-19 20:26:18,353 - DEBUG - Requesting: http://10.0.0.65:8082/project/2163e2a4-88f1-4957-9ecc-32db156cbb47 2025-06-19 20:26:18,427 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c 2025-06-19 20:26:18,437 - DEBUG - ==>Verifying data for policy with id: 54d31772-99e7-4e5a-a1d1-e5deda50820d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19601340', 'ctest-policy-allow-all-70301371'] 2025-06-19 20:26:18,437 - INFO - VN ctest-vn-74620643 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 20:26:18,437 - DEBUG - Verifying the vn in opserver 2025-06-19 20:26:18,437 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-74620643 virtual network link through opserver 10.0.0.65 2025-06-19 20:26:18,437 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-19 20:26:18,450 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-74620643', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-74620643?flat'} 2025-06-19 20:26:18,450 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-74620643 is found in opserver 2025-06-19 20:26:18,463 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 20:26:18,468 - DEBUG - VRF ids for VN ctest-vn-74620643: {} 2025-06-19 20:26:18,526 - DEBUG - Services list from nova: [, , ] 2025-06-19 20:26:19,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3499-1) 2025-06-19 20:26:20,724 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3499-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3499-1) 2025-06-19 20:26:20,725 - INFO - Waiting for VM ctest-TestBasicPolicy-19601340-60444582 to be up.. 2025-06-19 20:26:20,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 20:26:25,892 - DEBUG - VM is in ACTIVE state now 2025-06-19 20:26:25,892 - INFO - VM name : ctest-TestBasicPolicy-19601340-60444582 2025-06-19 20:26:25,971 - DEBUG - VM ctest-TestBasicPolicy-19601340-60444582 ID is e24641e0-e07d-4e76-9219-43a9304f08d9 2025-06-19 20:26:25,994 - DEBUG - VM ctest-TestBasicPolicy-19601340-60444582 launched on Node cn-jenkins-deploy-platform-ansible-os-3499-1 2025-06-19 20:26:26,071 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e24641e0-e07d-4e76-9219-43a9304f08d9 2025-06-19 20:26:26,082 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d63b35e5-dbd9-4876-9f1f-d988650516e4 2025-06-19 20:26:29,334 - 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 1013ms') 2025-06-19 20:26:29,334 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19601340-60444582 failed! 2025-06-19 20:26:29,389 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19601340:ctest-vn-96084772 is 213.242.91.65 and allocation pool is NOT set 2025-06-19 20:26:31,449 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.276 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.276/3.950/7.624/3.674 ms') 2025-06-19 20:26:31,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19601340-60444582 passed 2025-06-19 20:26:31,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 20:26:31,610 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19601340-60444582, IP 213.242.91.67, Port 22 2025-06-19 20:26:31,765 - DEBUG - VM ctest-TestBasicPolicy-19601340-60444582 is ready for SSH connections 2025-06-19 20:26:31,765 - INFO - Waiting for VM ctest-TestBasicPolicy-19601340-17328661 to be up.. 2025-06-19 20:26:31,852 - DEBUG - VM is in ACTIVE state now 2025-06-19 20:26:31,852 - INFO - VM name : ctest-TestBasicPolicy-19601340-17328661 2025-06-19 20:26:31,933 - DEBUG - VM ctest-TestBasicPolicy-19601340-17328661 ID is 7a85e929-4120-4a77-bf1e-d989d79e638e 2025-06-19 20:26:31,933 - DEBUG - VM ctest-TestBasicPolicy-19601340-17328661 launched on Node cn-jenkins-deploy-platform-ansible-os-3499-1 2025-06-19 20:26:32,014 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7a85e929-4120-4a77-bf1e-d989d79e638e 2025-06-19 20:26:32,022 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ab2d68ef-9471-46d4-9d2d-5e67960100e8 2025-06-19 20:26:33,263 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.832 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.832/2.226/3.621/1.394 ms') 2025-06-19 20:26:33,263 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19601340-17328661 passed 2025-06-19 20:26:33,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 20:26:33,429 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19601340-17328661, IP 44.34.98.131, Port 22 2025-06-19 20:26:33,585 - DEBUG - VM ctest-TestBasicPolicy-19601340-17328661 is ready for SSH connections 2025-06-19 20:26:33,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 20:26:33,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.34.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-19 20:26:33,585 - DEBUG - ping -s 56 -c 3 -W 1 44.34.98.131 2025-06-19 20:26:37,601 - DEBUG - PING 44.34.98.131 (44.34.98.131): 56 data bytes 64 bytes from 44.34.98.131: seq=0 ttl=63 time=3.897 ms 64 bytes from 44.34.98.131: seq=1 ttl=63 time=0.895 ms 64 bytes from 44.34.98.131: seq=2 ttl=63 time=0.901 ms --- 44.34.98.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/1.897/3.897 ms 2025-06-19 20:26:37,601 - INFO - Ping to IP 44.34.98.131 from VM ctest-TestBasicPolicy-19601340-60444582 passed 2025-06-19 20:26:37,789 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54d31772-99e7-4e5a-a1d1-e5deda50820d", "href": "http://10.0.0.65:8082/network-policy/54d31772-99e7-4e5a-a1d1-e5deda50820d"}} 2025-06-19 20:26:37,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 20:26:37,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.34.98.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-19 20:26:37,789 - DEBUG - ping -s 56 -c 3 -W 1 44.34.98.131 2025-06-19 20:26:40,991 - DEBUG - PING 44.34.98.131 (44.34.98.131): 56 data bytes --- 44.34.98.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-19 20:26:40,991 - WARNING - Ping to IP 44.34.98.131 from VM ctest-TestBasicPolicy-19601340-60444582 failed 2025-06-19 20:26:40,991 - INFO - Deleting VM ctest-TestBasicPolicy-19601340-17328661 2025-06-19 20:26:41,053 - INFO - Deleting VM ctest-TestBasicPolicy-19601340-60444582 2025-06-19 20:26:41,444 - INFO - Deleted policy ctest-policy-allow-all-70301371 2025-06-19 20:26:41,444 - INFO - Deleting VN ctest-vn-74620643 2025-06-19 20:26:41,477 - DEBUG - VN bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c still in use: Unable to complete operation on network bbc08a70-374e-4bd1-a3e4-f41ece4a3d4c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d8ee0666-eb2d-47c3-ae12-ab1266043640'] 2025-06-19 20:26:41,477 - WARNING - Deleting VN ctest-vn-74620643 failed..Will retry 2025-06-19 20:26:43,580 - DEBUG - Response for deleting network () 2025-06-19 20:26:43,580 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/22e85681-d349-4f47-be15-27b4c1a5b493 2025-06-19 20:26:43,586 - DEBUG - Response Code: 404 2025-06-19 20:26:43,586 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 20:26:43,592 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c04575c8-7378-476b-88df-2561d14e61b4 2025-06-19 20:26:43,646 - DEBUG - Requesting: http://10.0.0.65:8082/project/2163e2a4-88f1-4957-9ecc-32db156cbb47 2025-06-19 20:26:43,725 - INFO - Validated that VN ctest-vn-74620643 is not found in API Server 2025-06-19 20:26:43,735 - DEBUG - VN ctest-vn-74620643 is not present in Agent 10.0.0.65 2025-06-19 20:26:43,736 - INFO - Validated that VN ctest-vn-74620643 is not in any agent 2025-06-19 20:26:43,751 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74620643 info 2025-06-19 20:26:43,751 - INFO - Deleting VN ctest-vn-96084772 2025-06-19 20:26:43,846 - DEBUG - Response for deleting network () 2025-06-19 20:26:43,846 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b919baa0-00dc-4f72-884e-610c6fddee2b 2025-06-19 20:26:43,851 - DEBUG - Response Code: 404 2025-06-19 20:26:43,851 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-19 20:26:43,858 - DEBUG - Requesting: http://10.0.0.65:8082/domain/c04575c8-7378-476b-88df-2561d14e61b4 2025-06-19 20:26:43,910 - DEBUG - Requesting: http://10.0.0.65:8082/project/2163e2a4-88f1-4957-9ecc-32db156cbb47 2025-06-19 20:26:43,985 - INFO - Validated that VN ctest-vn-96084772 is not found in API Server 2025-06-19 20:26:43,996 - DEBUG - VN ctest-vn-96084772 is not present in Agent 10.0.0.65 2025-06-19 20:26:43,996 - INFO - Validated that VN ctest-vn-96084772 is not in any agent 2025-06-19 20:26:44,010 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96084772 info 2025-06-19 20:26:44,268 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 20:26:44,268 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-19 20:26:44,268 - INFO - -------------------------------------------------------------------------------- 2025-06-19 20:26:44,961 - INFO - Deleted project: ctest-TestBasicPolicy-19601340, ID : 2163e2a4-88f1-4957-9ecc-32db156cbb47