2025-05-28 11:39:03,317 - INFO - Domain Default found not creating 2025-05-28 11:39:03,448 - INFO - Project ctest-TestBasicPolicy-97832466 not found, creating it 2025-05-28 11:39:03,893 - INFO - Created Project:ctest-TestBasicPolicy-97832466, ID : 164ff2de-675d-4eef-8d8d-102684bdd1af 2025-05-28 11:39:05,435 - INFO - ================================================================================ 2025-05-28 11:39:05,436 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-28 11:39:05,436 - 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-05-28 11:39:05,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-05-28 11:39:05,694 - INFO - Initial checks done. Running the testcase now 2025-05-28 11:39:05,694 - INFO - 2025-05-28 11:39:06,274 - DEBUG - Response for create_network : {'network': {'id': '16f9d55e-b006-4fe7-95d1-d2a1411f2c91', 'name': 'ctest-vn-13382590', 'tenant_id': '164ff2de675d4eef8d8d102684bdd1af', 'project_id': '164ff2de675d4eef8d8d102684bdd1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-vn-13382590'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 11:39:06,457 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ad1dc1c-7ea8-49bd-84f4-cd01d8d1a43f', 'name': '', 'tenant_id': '164ff2de675d4eef8d8d102684bdd1af', 'network_id': '16f9d55e-b006-4fe7-95d1-d2a1411f2c91', 'ip_version': 4, 'cidr': '142.76.136.128/26', 'allocation_pools': [{'start': '142.76.136.130', 'end': '142.76.136.190'}], 'gateway_ip': '142.76.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.76.136.130', 'tags': [], 'project_id': '164ff2de675d4eef8d8d102684bdd1af'}} 2025-05-28 11:39:06,473 - INFO - Created VN ctest-vn-13382590 2025-05-28 11:39:06,523 - DEBUG - VN ctest-vn-13382590 UUID is 16f9d55e-b006-4fe7-95d1-d2a1411f2c91 2025-05-28 11:39:06,861 - DEBUG - Response for create_network : {'network': {'id': '06f29410-933d-43f7-b26d-d8be8978f0cb', 'name': 'ctest-vn-48365466', 'tenant_id': '164ff2de675d4eef8d8d102684bdd1af', 'project_id': '164ff2de675d4eef8d8d102684bdd1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-vn-48365466'], 'port_security_enabled': True, 'description': ''}} 2025-05-28 11:39:07,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fbbc152-0bc6-4e4d-88d0-ef191f91c673', 'name': '', 'tenant_id': '164ff2de675d4eef8d8d102684bdd1af', 'network_id': '06f29410-933d-43f7-b26d-d8be8978f0cb', 'ip_version': 4, 'cidr': '25.84.25.128/26', 'allocation_pools': [{'start': '25.84.25.130', 'end': '25.84.25.190'}], 'gateway_ip': '25.84.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.84.25.130', 'tags': [], 'project_id': '164ff2de675d4eef8d8d102684bdd1af'}} 2025-05-28 11:39:07,076 - INFO - Created VN ctest-vn-48365466 2025-05-28 11:39:07,127 - DEBUG - VN ctest-vn-48365466 UUID is 06f29410-933d-43f7-b26d-d8be8978f0cb 2025-05-28 11:39:07,275 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-13382590, 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-97832466:ctest-vn-48365466, 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-05-28 11:39:07,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16f9d55e-b006-4fe7-95d1-d2a1411f2c91', 'name': 'ctest-vn-13382590', 'tenant_id': '164ff2de675d4eef8d8d102684bdd1af', 'project_id': '164ff2de675d4eef8d8d102684bdd1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6ad1dc1c-7ea8-49bd-84f4-cd01d8d1a43f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-vn-13382590'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-policy-allow-all-63445626']], 'subnet_ipam': [{'subnet_cidr': '142.76.136.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-28 11:39:07,804 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '06f29410-933d-43f7-b26d-d8be8978f0cb', 'name': 'ctest-vn-48365466', 'tenant_id': '164ff2de675d4eef8d8d102684bdd1af', 'project_id': '164ff2de675d4eef8d8d102684bdd1af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9fbbc152-0bc6-4e4d-88d0-ef191f91c673'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-vn-48365466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-policy-allow-all-63445626']], 'subnet_ipam': [{'subnet_cidr': '25.84.25.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-28 11:39:07,967 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-28 11:39:08,303 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-28 11:39:08,329 - DEBUG - Requesting: http://10.0.0.49:8082/domain/6aacc72c-3302-4820-9ee2-a9ebe0963d25 2025-05-28 11:39:08,342 - DEBUG - Requesting: http://10.0.0.49:8082/project/164ff2de-675d-4eef-8d8d-102684bdd1af 2025-05-28 11:39:08,417 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/16f9d55e-b006-4fe7-95d1-d2a1411f2c91 2025-05-28 11:39:08,428 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/16f9d55e-b006-4fe7-95d1-d2a1411f2c91 2025-05-28 11:39:08,438 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8534e6a6-5efe-4e8f-93a8-2c3333c50490 2025-05-28 11:39:08,445 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8534e6a6-5efe-4e8f-93a8-2c3333c50490 2025-05-28 11:39:08,452 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/43c71e42-f97b-499d-aaf0-7baf8f685306 2025-05-28 11:39:08,458 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-28 11:39:08,458 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/16f9d55e-b006-4fe7-95d1-d2a1411f2c91 2025-05-28 11:39:08,467 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8534e6a6-5efe-4e8f-93a8-2c3333c50490 2025-05-28 11:39:08,480 - INFO - Verified VN network id 8 for VN 16f9d55e-b006-4fe7-95d1-d2a1411f2c91 2025-05-28 11:39:08,480 - INFO - Verifications in API Server for VN ctest-vn-13382590 passed 2025-05-28 11:39:08,480 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/16f9d55e-b006-4fe7-95d1-d2a1411f2c91 2025-05-28 11:39:08,489 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8534e6a6-5efe-4e8f-93a8-2c3333c50490 2025-05-28 11:39:08,496 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8534e6a6-5efe-4e8f-93a8-2c3333c50490 2025-05-28 11:39:08,502 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/43c71e42-f97b-499d-aaf0-7baf8f685306 2025-05-28 11:39:08,513 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-13382590', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97832466', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1655588940692213735', 'uuid-lslong': '10795641371807919249'}, 'enable': 'true', 'created': '2025-05-28T11:39:06', 'last-modified': '2025-05-28T11:39:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.975419'} 2025-05-28 11:39:08,520 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-28 11:39:08,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13382590 passed 2025-05-28 11:39:08,520 - DEBUG - ====Verifying policy data for ctest-vn-13382590 in API_Server ====== 2025-05-28 11:39:08,520 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-28 11:39:08,525 - DEBUG - Requesting: http://10.0.0.49:8082/domain/6aacc72c-3302-4820-9ee2-a9ebe0963d25 2025-05-28 11:39:08,536 - DEBUG - Requesting: http://10.0.0.49:8082/project/164ff2de-675d-4eef-8d8d-102684bdd1af 2025-05-28 11:39:08,604 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/16f9d55e-b006-4fe7-95d1-d2a1411f2c91 2025-05-28 11:39:08,613 - DEBUG - ==>Verifying data for policy with id: 0b613678-0f38-4fe2-8d6f-0ca8b5f776f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-policy-allow-all-63445626'] 2025-05-28 11:39:08,613 - INFO - VN ctest-vn-13382590 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-28 11:39:08,614 - DEBUG - Verifying the vn in opserver 2025-05-28 11:39:08,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-13382590 virtual network link through opserver 10.0.0.49 2025-05-28 11:39:08,614 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-28 11:39:08,943 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-28 11:39:08,995 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-13382590', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-13382590?flat'} 2025-05-28 11:39:08,996 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-13382590 is found in opserver 2025-05-28 11:39:09,007 - DEBUG - Do not have enough data to verify VN in agent 2025-05-28 11:39:09,013 - DEBUG - VRF ids for VN ctest-vn-13382590: {} 2025-05-28 11:39:09,013 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-28 11:39:09,019 - DEBUG - Requesting: http://10.0.0.49:8082/domain/6aacc72c-3302-4820-9ee2-a9ebe0963d25 2025-05-28 11:39:09,030 - DEBUG - Requesting: http://10.0.0.49:8082/project/164ff2de-675d-4eef-8d8d-102684bdd1af 2025-05-28 11:39:09,099 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/06f29410-933d-43f7-b26d-d8be8978f0cb 2025-05-28 11:39:09,112 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/06f29410-933d-43f7-b26d-d8be8978f0cb 2025-05-28 11:39:09,123 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5e4ca84b-f810-4fcb-a50b-3a7abd184bba 2025-05-28 11:39:09,130 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5e4ca84b-f810-4fcb-a50b-3a7abd184bba 2025-05-28 11:39:09,137 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c07b4e9e-cbbb-48d5-b243-8d0eae015b47 2025-05-28 11:39:09,144 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-28 11:39:09,144 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/06f29410-933d-43f7-b26d-d8be8978f0cb 2025-05-28 11:39:09,154 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5e4ca84b-f810-4fcb-a50b-3a7abd184bba 2025-05-28 11:39:09,168 - INFO - Verified VN network id 9 for VN 06f29410-933d-43f7-b26d-d8be8978f0cb 2025-05-28 11:39:09,168 - INFO - Verifications in API Server for VN ctest-vn-48365466 passed 2025-05-28 11:39:09,168 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/06f29410-933d-43f7-b26d-d8be8978f0cb 2025-05-28 11:39:09,180 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5e4ca84b-f810-4fcb-a50b-3a7abd184bba 2025-05-28 11:39:09,187 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5e4ca84b-f810-4fcb-a50b-3a7abd184bba 2025-05-28 11:39:09,195 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/c07b4e9e-cbbb-48d5-b243-8d0eae015b47 2025-05-28 11:39:09,207 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-48365466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97832466', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '500625307502199799', 'uuid-lslong': '12857170824074424523'}, 'enable': 'true', 'created': '2025-05-28T11:39:06', 'last-modified': '2025-05-28T11:39:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.428050'} 2025-05-28 11:39:09,213 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-28 11:39:09,213 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48365466 passed 2025-05-28 11:39:09,213 - DEBUG - ====Verifying policy data for ctest-vn-48365466 in API_Server ====== 2025-05-28 11:39:09,214 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-28 11:39:09,219 - DEBUG - Requesting: http://10.0.0.49:8082/domain/6aacc72c-3302-4820-9ee2-a9ebe0963d25 2025-05-28 11:39:09,231 - DEBUG - Requesting: http://10.0.0.49:8082/project/164ff2de-675d-4eef-8d8d-102684bdd1af 2025-05-28 11:39:09,303 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/06f29410-933d-43f7-b26d-d8be8978f0cb 2025-05-28 11:39:09,316 - DEBUG - ==>Verifying data for policy with id: 0b613678-0f38-4fe2-8d6f-0ca8b5f776f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-97832466', 'ctest-policy-allow-all-63445626'] 2025-05-28 11:39:09,316 - INFO - VN ctest-vn-48365466 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-28 11:39:09,317 - DEBUG - Verifying the vn in opserver 2025-05-28 11:39:09,317 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-48365466 virtual network link through opserver 10.0.0.49 2025-05-28 11:39:09,317 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-05-28 11:39:09,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-48365466', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-48365466?flat'} 2025-05-28 11:39:09,327 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-48365466 is found in opserver 2025-05-28 11:39:09,347 - DEBUG - Do not have enough data to verify VN in agent 2025-05-28 11:39:09,357 - DEBUG - VRF ids for VN ctest-vn-48365466: {} 2025-05-28 11:39:09,410 - DEBUG - Services list from nova: [, , ] 2025-05-28 11:39:10,478 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3349-1) 2025-05-28 11:39:11,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3349-1) 2025-05-28 11:39:11,812 - INFO - Waiting for VM ctest-TestBasicPolicy-97832466-86905405 to be up.. 2025-05-28 11:39:11,891 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-28 11:39:16,977 - DEBUG - VM is in ACTIVE state now 2025-05-28 11:39:16,977 - INFO - VM name : ctest-TestBasicPolicy-97832466-86905405 2025-05-28 11:39:17,054 - DEBUG - VM ctest-TestBasicPolicy-97832466-86905405 ID is 24432a1b-f3c7-4f70-91dd-d443b9cb0c6d 2025-05-28 11:39:17,072 - DEBUG - VM ctest-TestBasicPolicy-97832466-86905405 launched on Node cn-jenkins-deploy-platform-ansible-os-3349-1 2025-05-28 11:39:17,148 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/24432a1b-f3c7-4f70-91dd-d443b9cb0c6d 2025-05-28 11:39:17,156 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/7a8e57fa-77cb-45f4-8c16-33773ddb01ec 2025-05-28 11:39:20,424 - 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-05-28 11:39:20,424 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97832466-86905405 failed! 2025-05-28 11:39:20,480 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97832466:ctest-vn-13382590 is 142.76.136.129 and allocation pool is NOT set 2025-05-28 11:39:22,544 - 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=4.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 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.425/2.380/4.335/1.955 ms') 2025-05-28 11:39:22,544 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97832466-86905405 passed 2025-05-28 11:39:22,695 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:39:22,696 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97832466-86905405, IP 142.76.136.131, Port 22 2025-05-28 11:39:22,859 - DEBUG - VM ctest-TestBasicPolicy-97832466-86905405 is ready for SSH connections 2025-05-28 11:39:22,859 - INFO - Waiting for VM ctest-TestBasicPolicy-97832466-87582356 to be up.. 2025-05-28 11:39:22,936 - DEBUG - VM is in ACTIVE state now 2025-05-28 11:39:22,936 - INFO - VM name : ctest-TestBasicPolicy-97832466-87582356 2025-05-28 11:39:23,008 - DEBUG - VM ctest-TestBasicPolicy-97832466-87582356 ID is beafe7d0-5ccb-4e38-8d3c-2c2507973c3a 2025-05-28 11:39:23,008 - DEBUG - VM ctest-TestBasicPolicy-97832466-87582356 launched on Node cn-jenkins-deploy-platform-ansible-os-3349-1 2025-05-28 11:39:23,087 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/beafe7d0-5ccb-4e38-8d3c-2c2507973c3a 2025-05-28 11:39:23,096 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/49a45cbe-a0e4-4062-9c96-5c30b0c98bae 2025-05-28 11:39:24,336 - 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=4.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.823 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.823/2.700/4.578/1.877 ms') 2025-05-28 11:39:24,336 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97832466-87582356 passed 2025-05-28 11:39:24,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:39:24,483 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97832466-87582356, IP 25.84.25.131, Port 22 2025-05-28 11:39:24,654 - DEBUG - VM ctest-TestBasicPolicy-97832466-87582356 is ready for SSH connections 2025-05-28 11:39:24,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:39:24,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.84.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-28 11:39:24,654 - DEBUG - ping -s 56 -c 3 -W 1 25.84.25.131 2025-05-28 11:39:28,362 - DEBUG - PING 25.84.25.131 (25.84.25.131): 56 data bytes 64 bytes from 25.84.25.131: seq=0 ttl=63 time=3.878 ms 64 bytes from 25.84.25.131: seq=1 ttl=63 time=0.781 ms 64 bytes from 25.84.25.131: seq=2 ttl=63 time=0.755 ms --- 25.84.25.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.804/3.878 ms 2025-05-28 11:39:28,362 - INFO - Ping to IP 25.84.25.131 from VM ctest-TestBasicPolicy-97832466-86905405 passed 2025-05-28 11:39:28,539 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0b613678-0f38-4fe2-8d6f-0ca8b5f776f8", "href": "http://10.0.0.49:8082/network-policy/0b613678-0f38-4fe2-8d6f-0ca8b5f776f8"}} 2025-05-28 11:39:28,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-28 11:39:28,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.84.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-05-28 11:39:28,540 - DEBUG - ping -s 56 -c 3 -W 1 25.84.25.131 2025-05-28 11:39:31,751 - DEBUG - PING 25.84.25.131 (25.84.25.131): 56 data bytes --- 25.84.25.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-05-28 11:39:31,751 - WARNING - Ping to IP 25.84.25.131 from VM ctest-TestBasicPolicy-97832466-86905405 failed 2025-05-28 11:39:31,751 - INFO - Deleting VM ctest-TestBasicPolicy-97832466-87582356 2025-05-28 11:39:31,819 - INFO - Deleting VM ctest-TestBasicPolicy-97832466-86905405 2025-05-28 11:39:32,352 - INFO - Deleted policy ctest-policy-allow-all-63445626 2025-05-28 11:39:32,352 - INFO - Deleting VN ctest-vn-48365466 2025-05-28 11:39:32,403 - DEBUG - VN 06f29410-933d-43f7-b26d-d8be8978f0cb still in use: Unable to complete operation on network 06f29410-933d-43f7-b26d-d8be8978f0cb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66d52415-500b-4319-9b5b-d2a84f6a888d'] 2025-05-28 11:39:32,403 - WARNING - Deleting VN ctest-vn-48365466 failed..Will retry 2025-05-28 11:39:34,552 - DEBUG - Response for deleting network () 2025-05-28 11:39:34,552 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/5e4ca84b-f810-4fcb-a50b-3a7abd184bba 2025-05-28 11:39:34,559 - DEBUG - Response Code: 404 2025-05-28 11:39:34,559 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-28 11:39:34,565 - DEBUG - Requesting: http://10.0.0.49:8082/domain/6aacc72c-3302-4820-9ee2-a9ebe0963d25 2025-05-28 11:39:34,622 - DEBUG - Requesting: http://10.0.0.49:8082/project/164ff2de-675d-4eef-8d8d-102684bdd1af 2025-05-28 11:39:34,703 - INFO - Validated that VN ctest-vn-48365466 is not found in API Server 2025-05-28 11:39:34,715 - DEBUG - VN ctest-vn-48365466 is not present in Agent 10.0.0.49 2025-05-28 11:39:34,715 - INFO - Validated that VN ctest-vn-48365466 is not in any agent 2025-05-28 11:39:34,731 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48365466 info 2025-05-28 11:39:34,731 - INFO - Deleting VN ctest-vn-13382590 2025-05-28 11:39:34,836 - DEBUG - Response for deleting network () 2025-05-28 11:39:34,836 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/8534e6a6-5efe-4e8f-93a8-2c3333c50490 2025-05-28 11:39:34,842 - DEBUG - Response Code: 404 2025-05-28 11:39:34,842 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-05-28 11:39:34,852 - DEBUG - Requesting: http://10.0.0.49:8082/domain/6aacc72c-3302-4820-9ee2-a9ebe0963d25 2025-05-28 11:39:34,905 - DEBUG - Requesting: http://10.0.0.49:8082/project/164ff2de-675d-4eef-8d8d-102684bdd1af 2025-05-28 11:39:34,983 - INFO - Validated that VN ctest-vn-13382590 is not found in API Server 2025-05-28 11:39:34,995 - DEBUG - VN ctest-vn-13382590 is not present in Agent 10.0.0.49 2025-05-28 11:39:34,995 - INFO - Validated that VN ctest-vn-13382590 is not in any agent 2025-05-28 11:39:35,011 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13382590 info 2025-05-28 11:39:35,276 - DEBUG - No XMPP flaps were noticed during the test 2025-05-28 11:39:35,276 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-28 11:39:35,277 - INFO - -------------------------------------------------------------------------------- 2025-05-28 11:39:36,005 - INFO - Deleted project: ctest-TestBasicPolicy-97832466, ID : 164ff2de-675d-4eef-8d8d-102684bdd1af