2025-08-29 20:34:26,970 - INFO - Domain Default found not creating 2025-08-29 20:34:27,127 - INFO - Project ctest-TestBasicPolicy-57638877 not found, creating it 2025-08-29 20:34:27,580 - INFO - Created Project:ctest-TestBasicPolicy-57638877, ID : 646582f6-ba03-42b1-9230-9b8754707d68 2025-08-29 20:34:29,004 - INFO - ================================================================================ 2025-08-29 20:34:29,004 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-29 20:34:29,004 - 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-29 20:34:29,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-29 20:34:29,263 - INFO - Initial checks done. Running the testcase now 2025-08-29 20:34:29,263 - INFO - 2025-08-29 20:34:29,791 - DEBUG - Response for create_network : {'network': {'id': '6b7bcc50-1dcd-440c-ba13-4ac3de17caa7', 'name': 'ctest-vn-51272716', 'tenant_id': '646582f6ba0342b192309b8754707d68', 'project_id': '646582f6ba0342b192309b8754707d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-vn-51272716'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:34:29,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db24b858-b671-40a5-93c5-ad8272f8f2fa', 'name': '', 'tenant_id': '646582f6ba0342b192309b8754707d68', 'network_id': '6b7bcc50-1dcd-440c-ba13-4ac3de17caa7', 'ip_version': 4, 'cidr': '191.237.57.128/26', 'allocation_pools': [{'start': '191.237.57.130', 'end': '191.237.57.190'}], 'gateway_ip': '191.237.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.237.57.130', 'tags': [], 'project_id': '646582f6ba0342b192309b8754707d68'}} 2025-08-29 20:34:30,005 - INFO - Created VN ctest-vn-51272716 2025-08-29 20:34:30,057 - DEBUG - VN ctest-vn-51272716 UUID is 6b7bcc50-1dcd-440c-ba13-4ac3de17caa7 2025-08-29 20:34:30,389 - DEBUG - Response for create_network : {'network': {'id': '0d94cd6d-30c8-42d7-a514-8bb59d57fe2a', 'name': 'ctest-vn-81474350', 'tenant_id': '646582f6ba0342b192309b8754707d68', 'project_id': '646582f6ba0342b192309b8754707d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-vn-81474350'], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:34:30,549 - DEBUG - Response for create_subnet : {'subnet': {'id': '27802ea0-f95d-461a-80f7-1867acf11ff2', 'name': '', 'tenant_id': '646582f6ba0342b192309b8754707d68', 'network_id': '0d94cd6d-30c8-42d7-a514-8bb59d57fe2a', 'ip_version': 4, 'cidr': '155.15.26.64/26', 'allocation_pools': [{'start': '155.15.26.66', 'end': '155.15.26.126'}], 'gateway_ip': '155.15.26.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.15.26.66', 'tags': [], 'project_id': '646582f6ba0342b192309b8754707d68'}} 2025-08-29 20:34:30,566 - INFO - Created VN ctest-vn-81474350 2025-08-29 20:34:30,617 - DEBUG - VN ctest-vn-81474350 UUID is 0d94cd6d-30c8-42d7-a514-8bb59d57fe2a 2025-08-29 20:34:30,769 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-51272716, 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-57638877:ctest-vn-81474350, 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-29 20:34:31,062 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b7bcc50-1dcd-440c-ba13-4ac3de17caa7', 'name': 'ctest-vn-51272716', 'tenant_id': '646582f6ba0342b192309b8754707d68', 'project_id': '646582f6ba0342b192309b8754707d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db24b858-b671-40a5-93c5-ad8272f8f2fa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-vn-51272716'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-policy-allow-all-38415738']], 'subnet_ipam': [{'subnet_cidr': '191.237.57.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:34:31,295 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d94cd6d-30c8-42d7-a514-8bb59d57fe2a', 'name': 'ctest-vn-81474350', 'tenant_id': '646582f6ba0342b192309b8754707d68', 'project_id': '646582f6ba0342b192309b8754707d68', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['27802ea0-f95d-461a-80f7-1867acf11ff2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-vn-81474350'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-policy-allow-all-38415738']], 'subnet_ipam': [{'subnet_cidr': '155.15.26.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-29 20:34:31,481 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 20:34:31,777 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 20:34:31,805 - DEBUG - Requesting: http://10.0.0.254:8082/domain/27853011-0d06-47ca-b43e-47d64bb5696b 2025-08-29 20:34:31,817 - DEBUG - Requesting: http://10.0.0.254:8082/project/646582f6-ba03-42b1-9230-9b8754707d68 2025-08-29 20:34:31,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b7bcc50-1dcd-440c-ba13-4ac3de17caa7 2025-08-29 20:34:31,897 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b7bcc50-1dcd-440c-ba13-4ac3de17caa7 2025-08-29 20:34:31,906 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/de3d1077-1cdc-4b0c-9939-c8084a03e87f 2025-08-29 20:34:31,912 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/de3d1077-1cdc-4b0c-9939-c8084a03e87f 2025-08-29 20:34:31,918 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/66190ce4-9a0c-4be4-b793-dd18f0e48310 2025-08-29 20:34:31,924 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-29 20:34:31,924 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b7bcc50-1dcd-440c-ba13-4ac3de17caa7 2025-08-29 20:34:31,932 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/de3d1077-1cdc-4b0c-9939-c8084a03e87f 2025-08-29 20:34:31,943 - INFO - Verified VN network id 12 for VN 6b7bcc50-1dcd-440c-ba13-4ac3de17caa7 2025-08-29 20:34:31,944 - INFO - Verifications in API Server for VN ctest-vn-51272716 passed 2025-08-29 20:34:31,944 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b7bcc50-1dcd-440c-ba13-4ac3de17caa7 2025-08-29 20:34:31,952 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/de3d1077-1cdc-4b0c-9939-c8084a03e87f 2025-08-29 20:34:31,958 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/de3d1077-1cdc-4b0c-9939-c8084a03e87f 2025-08-29 20:34:31,964 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/66190ce4-9a0c-4be4-b793-dd18f0e48310 2025-08-29 20:34:31,974 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-51272716', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57638877', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7745008628663141388', 'uuid-lslong': '13408142720717277863'}, 'enable': 'true', 'created': '2025-08-29T20:34:29', 'last-modified': '2025-08-29T20:34:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935213'} 2025-08-29 20:34:31,980 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-29 20:34:31,980 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51272716 passed 2025-08-29 20:34:31,980 - DEBUG - ====Verifying policy data for ctest-vn-51272716 in API_Server ====== 2025-08-29 20:34:31,980 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 20:34:31,986 - DEBUG - Requesting: http://10.0.0.254:8082/domain/27853011-0d06-47ca-b43e-47d64bb5696b 2025-08-29 20:34:31,996 - DEBUG - Requesting: http://10.0.0.254:8082/project/646582f6-ba03-42b1-9230-9b8754707d68 2025-08-29 20:34:32,116 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b7bcc50-1dcd-440c-ba13-4ac3de17caa7 2025-08-29 20:34:32,154 - DEBUG - ==>Verifying data for policy with id: 73a4aa61-7070-44ab-bb70-5d7da07e9c05, fqn: ['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-policy-allow-all-38415738'] 2025-08-29 20:34:32,154 - INFO - VN ctest-vn-51272716 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-29 20:34:32,155 - DEBUG - Verifying the vn in opserver 2025-08-29 20:34:32,155 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-51272716 virtual network link through opserver 10.0.0.254 2025-08-29 20:34:32,155 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 20:34:32,447 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 20:34:32,524 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-51272716', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-51272716?flat'} 2025-08-29 20:34:32,524 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-51272716 is found in opserver 2025-08-29 20:34:32,535 - DEBUG - Do not have enough data to verify VN in agent 2025-08-29 20:34:32,539 - DEBUG - VRF ids for VN ctest-vn-51272716: {} 2025-08-29 20:34:32,539 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 20:34:32,547 - DEBUG - Requesting: http://10.0.0.254:8082/domain/27853011-0d06-47ca-b43e-47d64bb5696b 2025-08-29 20:34:32,619 - DEBUG - Requesting: http://10.0.0.254:8082/project/646582f6-ba03-42b1-9230-9b8754707d68 2025-08-29 20:34:32,690 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d94cd6d-30c8-42d7-a514-8bb59d57fe2a 2025-08-29 20:34:32,708 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d94cd6d-30c8-42d7-a514-8bb59d57fe2a 2025-08-29 20:34:32,717 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7da9308-09a4-4f36-9649-9f8c13496556 2025-08-29 20:34:32,724 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7da9308-09a4-4f36-9649-9f8c13496556 2025-08-29 20:34:32,730 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e5f3c2b3-992b-4cd6-92a9-7a57bb2291ac 2025-08-29 20:34:32,736 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-29 20:34:32,736 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d94cd6d-30c8-42d7-a514-8bb59d57fe2a 2025-08-29 20:34:32,744 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7da9308-09a4-4f36-9649-9f8c13496556 2025-08-29 20:34:32,757 - INFO - Verified VN network id 13 for VN 0d94cd6d-30c8-42d7-a514-8bb59d57fe2a 2025-08-29 20:34:32,757 - INFO - Verifications in API Server for VN ctest-vn-81474350 passed 2025-08-29 20:34:32,758 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d94cd6d-30c8-42d7-a514-8bb59d57fe2a 2025-08-29 20:34:32,766 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7da9308-09a4-4f36-9649-9f8c13496556 2025-08-29 20:34:32,773 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7da9308-09a4-4f36-9649-9f8c13496556 2025-08-29 20:34:32,782 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e5f3c2b3-992b-4cd6-92a9-7a57bb2291ac 2025-08-29 20:34:32,793 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-81474350', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57638877', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '978632887899800279', 'uuid-lslong': '11895286127937453610'}, 'enable': 'true', 'created': '2025-08-29T20:34:30', 'last-modified': '2025-08-29T20:34:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518225'} 2025-08-29 20:34:32,799 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-29 20:34:32,799 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81474350 passed 2025-08-29 20:34:32,800 - DEBUG - ====Verifying policy data for ctest-vn-81474350 in API_Server ====== 2025-08-29 20:34:32,800 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 20:34:32,806 - DEBUG - Requesting: http://10.0.0.254:8082/domain/27853011-0d06-47ca-b43e-47d64bb5696b 2025-08-29 20:34:32,820 - DEBUG - Requesting: http://10.0.0.254:8082/project/646582f6-ba03-42b1-9230-9b8754707d68 2025-08-29 20:34:32,894 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0d94cd6d-30c8-42d7-a514-8bb59d57fe2a 2025-08-29 20:34:32,904 - DEBUG - ==>Verifying data for policy with id: 73a4aa61-7070-44ab-bb70-5d7da07e9c05, fqn: ['default-domain', 'ctest-TestBasicPolicy-57638877', 'ctest-policy-allow-all-38415738'] 2025-08-29 20:34:32,904 - INFO - VN ctest-vn-81474350 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-29 20:34:32,904 - DEBUG - Verifying the vn in opserver 2025-08-29 20:34:32,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-81474350 virtual network link through opserver 10.0.0.254 2025-08-29 20:34:32,904 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-29 20:34:32,915 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-81474350', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-81474350?flat'} 2025-08-29 20:34:32,915 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-81474350 is found in opserver 2025-08-29 20:34:32,924 - DEBUG - Do not have enough data to verify VN in agent 2025-08-29 20:34:32,930 - DEBUG - VRF ids for VN ctest-vn-81474350: {} 2025-08-29 20:34:32,993 - DEBUG - Services list from nova: [, , ] 2025-08-29 20:34:33,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:34:35,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3978-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3978-1) 2025-08-29 20:34:35,146 - INFO - Waiting for VM ctest-TestBasicPolicy-57638877-38929856 to be up.. 2025-08-29 20:34:35,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-29 20:34:40,300 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:34:40,300 - INFO - VM name : ctest-TestBasicPolicy-57638877-38929856 2025-08-29 20:34:40,380 - DEBUG - VM ctest-TestBasicPolicy-57638877-38929856 ID is 39a0b8af-9038-467f-ae64-afc9a2f745e0 2025-08-29 20:34:40,400 - DEBUG - VM ctest-TestBasicPolicy-57638877-38929856 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:34:40,475 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/39a0b8af-9038-467f-ae64-afc9a2f745e0 2025-08-29 20:34:40,484 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/054e4e78-6619-488c-8027-ba88e02edf05 2025-08-29 20:34:43,737 - 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-08-29 20:34:43,737 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57638877-38929856 failed! 2025-08-29 20:34:43,793 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57638877:ctest-vn-51272716 is 191.237.57.129 and allocation pool is NOT set 2025-08-29 20:34:45,859 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/5.419/10.356/4.937 ms') 2025-08-29 20:34:45,859 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57638877-38929856 passed 2025-08-29 20:34:46,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:34:46,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57638877-38929856, IP 191.237.57.131, Port 22 2025-08-29 20:34:46,165 - DEBUG - VM ctest-TestBasicPolicy-57638877-38929856 is ready for SSH connections 2025-08-29 20:34:46,165 - INFO - Waiting for VM ctest-TestBasicPolicy-57638877-45974485 to be up.. 2025-08-29 20:34:46,242 - DEBUG - VM is in ACTIVE state now 2025-08-29 20:34:46,242 - INFO - VM name : ctest-TestBasicPolicy-57638877-45974485 2025-08-29 20:34:46,314 - DEBUG - VM ctest-TestBasicPolicy-57638877-45974485 ID is 6f54478b-6db3-4359-ae71-32655eb74f2b 2025-08-29 20:34:46,314 - DEBUG - VM ctest-TestBasicPolicy-57638877-45974485 launched on Node cn-jenkins-deploy-platform-ansible-os-3978-1 2025-08-29 20:34:46,387 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6f54478b-6db3-4359-ae71-32655eb74f2b 2025-08-29 20:34:46,397 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3e90dde5-173d-49d2-8892-0bd1eaa1c4ec 2025-08-29 20:34:47,634 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.45 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 = 1.450/2.321/3.193/0.871 ms') 2025-08-29 20:34:47,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57638877-45974485 passed 2025-08-29 20:34:47,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:34:47,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57638877-45974485, IP 155.15.26.67, Port 22 2025-08-29 20:34:47,952 - DEBUG - VM ctest-TestBasicPolicy-57638877-45974485 is ready for SSH connections 2025-08-29 20:34:47,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:34:47,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.15.26.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:34:47,952 - DEBUG - ping -s 56 -c 3 -W 1 155.15.26.67 2025-08-29 20:34:52,012 - DEBUG - PING 155.15.26.67 (155.15.26.67): 56 data bytes 64 bytes from 155.15.26.67: seq=0 ttl=63 time=4.145 ms 64 bytes from 155.15.26.67: seq=1 ttl=63 time=1.096 ms 64 bytes from 155.15.26.67: seq=2 ttl=63 time=2.533 ms --- 155.15.26.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.096/2.591/4.145 ms 2025-08-29 20:34:52,013 - INFO - Ping to IP 155.15.26.67 from VM ctest-TestBasicPolicy-57638877-38929856 passed 2025-08-29 20:34:52,189 - DEBUG - Policy Update Response {"network-policy": {"uuid": "73a4aa61-7070-44ab-bb70-5d7da07e9c05", "href": "http://10.0.0.254:8082/network-policy/73a4aa61-7070-44ab-bb70-5d7da07e9c05"}} 2025-08-29 20:34:52,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-29 20:34:52,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 155.15.26.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-29 20:34:52,190 - DEBUG - ping -s 56 -c 3 -W 1 155.15.26.67 2025-08-29 20:34:55,399 - DEBUG - PING 155.15.26.67 (155.15.26.67): 56 data bytes --- 155.15.26.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-29 20:34:55,399 - WARNING - Ping to IP 155.15.26.67 from VM ctest-TestBasicPolicy-57638877-38929856 failed 2025-08-29 20:34:55,399 - INFO - Deleting VM ctest-TestBasicPolicy-57638877-45974485 2025-08-29 20:34:55,468 - INFO - Deleting VM ctest-TestBasicPolicy-57638877-38929856 2025-08-29 20:34:55,862 - INFO - Deleted policy ctest-policy-allow-all-38415738 2025-08-29 20:34:55,863 - INFO - Deleting VN ctest-vn-81474350 2025-08-29 20:34:55,916 - DEBUG - VN 0d94cd6d-30c8-42d7-a514-8bb59d57fe2a still in use: Unable to complete operation on network 0d94cd6d-30c8-42d7-a514-8bb59d57fe2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-131d9ae8-1493-4106-a073-621c1c8d242c'] 2025-08-29 20:34:55,916 - WARNING - Deleting VN ctest-vn-81474350 failed..Will retry 2025-08-29 20:34:58,030 - DEBUG - Response for deleting network () 2025-08-29 20:34:58,030 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c7da9308-09a4-4f36-9649-9f8c13496556 2025-08-29 20:34:58,035 - DEBUG - Response Code: 404 2025-08-29 20:34:58,035 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 20:34:58,041 - DEBUG - Requesting: http://10.0.0.254:8082/domain/27853011-0d06-47ca-b43e-47d64bb5696b 2025-08-29 20:34:58,094 - DEBUG - Requesting: http://10.0.0.254:8082/project/646582f6-ba03-42b1-9230-9b8754707d68 2025-08-29 20:34:58,168 - INFO - Validated that VN ctest-vn-81474350 is not found in API Server 2025-08-29 20:34:58,179 - DEBUG - VN ctest-vn-81474350 is not present in Agent 10.0.0.254 2025-08-29 20:34:58,179 - INFO - Validated that VN ctest-vn-81474350 is not in any agent 2025-08-29 20:34:58,194 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81474350 info 2025-08-29 20:34:58,194 - INFO - Deleting VN ctest-vn-51272716 2025-08-29 20:34:58,294 - DEBUG - Response for deleting network () 2025-08-29 20:34:58,294 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/de3d1077-1cdc-4b0c-9939-c8084a03e87f 2025-08-29 20:34:58,300 - DEBUG - Response Code: 404 2025-08-29 20:34:58,301 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-29 20:34:58,306 - DEBUG - Requesting: http://10.0.0.254:8082/domain/27853011-0d06-47ca-b43e-47d64bb5696b 2025-08-29 20:34:58,358 - DEBUG - Requesting: http://10.0.0.254:8082/project/646582f6-ba03-42b1-9230-9b8754707d68 2025-08-29 20:34:58,425 - INFO - Validated that VN ctest-vn-51272716 is not found in API Server 2025-08-29 20:34:58,434 - DEBUG - VN ctest-vn-51272716 is not present in Agent 10.0.0.254 2025-08-29 20:34:58,434 - INFO - Validated that VN ctest-vn-51272716 is not in any agent 2025-08-29 20:34:58,445 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51272716 info 2025-08-29 20:34:58,698 - DEBUG - No XMPP flaps were noticed during the test 2025-08-29 20:34:58,698 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-29 20:34:58,698 - INFO - -------------------------------------------------------------------------------- 2025-08-29 20:34:59,359 - INFO - Deleted project: ctest-TestBasicPolicy-57638877, ID : 646582f6-ba03-42b1-9230-9b8754707d68