2025-10-30 02:23:57,414 - INFO - Domain Default found not creating 2025-10-30 02:23:57,565 - INFO - Project ctest-TestBasicPolicy-06835089 not found, creating it 2025-10-30 02:23:58,002 - INFO - Created Project:ctest-TestBasicPolicy-06835089, ID : 5cd8206b-17fb-43c1-b735-915f3519c1e8 2025-10-30 02:24:00,087 - INFO - ================================================================================ 2025-10-30 02:24:00,088 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 02:24:00,088 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-30 02:24:00,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-10-30 02:24:00,347 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:24:00,347 - INFO - 2025-10-30 02:24:00,923 - DEBUG - Response for create_network : {'network': {'id': 'c8c75466-5d1d-4e25-bef7-a611df7dc8cf', 'name': 'ctest-vn-99184064', 'tenant_id': '5cd8206b17fb43c1b735915f3519c1e8', 'project_id': '5cd8206b17fb43c1b735915f3519c1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-vn-99184064'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:24:01,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c47de507-f723-4316-9e83-17cd519fe9c3', 'name': '', 'tenant_id': '5cd8206b17fb43c1b735915f3519c1e8', 'network_id': 'c8c75466-5d1d-4e25-bef7-a611df7dc8cf', 'ip_version': 4, 'cidr': '217.237.138.128/26', 'allocation_pools': [{'start': '217.237.138.130', 'end': '217.237.138.190'}], 'gateway_ip': '217.237.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.237.138.130', 'tags': [], 'project_id': '5cd8206b17fb43c1b735915f3519c1e8'}} 2025-10-30 02:24:01,197 - INFO - Created VN ctest-vn-99184064 2025-10-30 02:24:01,249 - DEBUG - VN ctest-vn-99184064 UUID is c8c75466-5d1d-4e25-bef7-a611df7dc8cf 2025-10-30 02:24:01,542 - DEBUG - Response for create_network : {'network': {'id': '8478d23c-63e6-48ca-a165-6e70c9faa7dd', 'name': 'ctest-vn-29962638', 'tenant_id': '5cd8206b17fb43c1b735915f3519c1e8', 'project_id': '5cd8206b17fb43c1b735915f3519c1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-vn-29962638'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:24:01,698 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b20f6790-5aae-47d7-9099-9f323da81265', 'name': '', 'tenant_id': '5cd8206b17fb43c1b735915f3519c1e8', 'network_id': '8478d23c-63e6-48ca-a165-6e70c9faa7dd', 'ip_version': 4, 'cidr': '156.119.189.0/26', 'allocation_pools': [{'start': '156.119.189.2', 'end': '156.119.189.62'}], 'gateway_ip': '156.119.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.119.189.2', 'tags': [], 'project_id': '5cd8206b17fb43c1b735915f3519c1e8'}} 2025-10-30 02:24:01,716 - INFO - Created VN ctest-vn-29962638 2025-10-30 02:24:01,769 - DEBUG - VN ctest-vn-29962638 UUID is 8478d23c-63e6-48ca-a165-6e70c9faa7dd 2025-10-30 02:24:01,921 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-99184064, 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-06835089:ctest-vn-29962638, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-30 02:24:02,227 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8c75466-5d1d-4e25-bef7-a611df7dc8cf', 'name': 'ctest-vn-99184064', 'tenant_id': '5cd8206b17fb43c1b735915f3519c1e8', 'project_id': '5cd8206b17fb43c1b735915f3519c1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c47de507-f723-4316-9e83-17cd519fe9c3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-vn-99184064'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-policy-allow-all-34566122']], 'subnet_ipam': [{'subnet_cidr': '217.237.138.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:24:02,458 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8478d23c-63e6-48ca-a165-6e70c9faa7dd', 'name': 'ctest-vn-29962638', 'tenant_id': '5cd8206b17fb43c1b735915f3519c1e8', 'project_id': '5cd8206b17fb43c1b735915f3519c1e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b20f6790-5aae-47d7-9099-9f323da81265'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-vn-29962638'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-policy-allow-all-34566122']], 'subnet_ipam': [{'subnet_cidr': '156.119.189.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:24:02,625 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 02:24:02,926 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 02:24:02,959 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b719b592-ac22-43f0-b0ca-68b60797a902 2025-10-30 02:24:02,973 - DEBUG - Requesting: http://10.0.0.38:8082/project/5cd8206b-17fb-43c1-b735-915f3519c1e8 2025-10-30 02:24:03,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c8c75466-5d1d-4e25-bef7-a611df7dc8cf 2025-10-30 02:24:03,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c8c75466-5d1d-4e25-bef7-a611df7dc8cf 2025-10-30 02:24:03,068 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c78afa4-f424-4a31-acc5-b941b9b88c19 2025-10-30 02:24:03,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c78afa4-f424-4a31-acc5-b941b9b88c19 2025-10-30 02:24:03,084 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a990af60-fefe-4e80-bdb9-4ed69bf9db22 2025-10-30 02:24:03,092 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 02:24:03,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c8c75466-5d1d-4e25-bef7-a611df7dc8cf 2025-10-30 02:24:03,103 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c78afa4-f424-4a31-acc5-b941b9b88c19 2025-10-30 02:24:03,116 - INFO - Verified VN network id 10 for VN c8c75466-5d1d-4e25-bef7-a611df7dc8cf 2025-10-30 02:24:03,116 - INFO - Verifications in API Server for VN ctest-vn-99184064 passed 2025-10-30 02:24:03,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c8c75466-5d1d-4e25-bef7-a611df7dc8cf 2025-10-30 02:24:03,125 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c78afa4-f424-4a31-acc5-b941b9b88c19 2025-10-30 02:24:03,131 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c78afa4-f424-4a31-acc5-b941b9b88c19 2025-10-30 02:24:03,139 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a990af60-fefe-4e80-bdb9-4ed69bf9db22 2025-10-30 02:24:03,157 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-99184064', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06835089', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14467625126576606757', 'uuid-lslong': '13760649782148057295'}, 'enable': 'true', 'created': '2025-10-30T02:24:00', 'last-modified': '2025-10-30T02:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953887'} 2025-10-30 02:24:03,164 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 02:24:03,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99184064 passed 2025-10-30 02:24:03,164 - DEBUG - ====Verifying policy data for ctest-vn-99184064 in API_Server ====== 2025-10-30 02:24:03,164 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 02:24:03,170 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b719b592-ac22-43f0-b0ca-68b60797a902 2025-10-30 02:24:03,180 - DEBUG - Requesting: http://10.0.0.38:8082/project/5cd8206b-17fb-43c1-b735-915f3519c1e8 2025-10-30 02:24:03,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c8c75466-5d1d-4e25-bef7-a611df7dc8cf 2025-10-30 02:24:03,264 - DEBUG - ==>Verifying data for policy with id: 223dd0a3-14bd-4bb3-bd8e-f9b04463e214, fqn: ['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-policy-allow-all-34566122'] 2025-10-30 02:24:03,264 - INFO - VN ctest-vn-99184064 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 02:24:03,264 - DEBUG - Verifying the vn in opserver 2025-10-30 02:24:03,264 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-99184064 virtual network link through opserver 10.0.0.38 2025-10-30 02:24:03,264 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 02:24:03,557 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 02:24:03,623 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-99184064', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-99184064?flat'} 2025-10-30 02:24:03,623 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-99184064 is found in opserver 2025-10-30 02:24:03,633 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 02:24:03,638 - DEBUG - VRF ids for VN ctest-vn-99184064: {} 2025-10-30 02:24:03,638 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 02:24:03,643 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b719b592-ac22-43f0-b0ca-68b60797a902 2025-10-30 02:24:03,657 - DEBUG - Requesting: http://10.0.0.38:8082/project/5cd8206b-17fb-43c1-b735-915f3519c1e8 2025-10-30 02:24:03,725 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8478d23c-63e6-48ca-a165-6e70c9faa7dd 2025-10-30 02:24:03,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8478d23c-63e6-48ca-a165-6e70c9faa7dd 2025-10-30 02:24:03,747 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/14b1edc9-f03f-45ff-a73c-b99da158999b 2025-10-30 02:24:03,753 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/14b1edc9-f03f-45ff-a73c-b99da158999b 2025-10-30 02:24:03,759 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0c1a7149-0e01-4d32-bc6b-3ebffdf17771 2025-10-30 02:24:03,765 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 02:24:03,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8478d23c-63e6-48ca-a165-6e70c9faa7dd 2025-10-30 02:24:03,773 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/14b1edc9-f03f-45ff-a73c-b99da158999b 2025-10-30 02:24:03,785 - INFO - Verified VN network id 11 for VN 8478d23c-63e6-48ca-a165-6e70c9faa7dd 2025-10-30 02:24:03,785 - INFO - Verifications in API Server for VN ctest-vn-29962638 passed 2025-10-30 02:24:03,785 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8478d23c-63e6-48ca-a165-6e70c9faa7dd 2025-10-30 02:24:03,793 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/14b1edc9-f03f-45ff-a73c-b99da158999b 2025-10-30 02:24:03,798 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/14b1edc9-f03f-45ff-a73c-b99da158999b 2025-10-30 02:24:03,804 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0c1a7149-0e01-4d32-bc6b-3ebffdf17771 2025-10-30 02:24:03,813 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-29962638', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06835089', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9545610567027673290', 'uuid-lslong': '11629823043458213853'}, 'enable': 'true', 'created': '2025-10-30T02:24:01', 'last-modified': '2025-10-30T02:24:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375658'} 2025-10-30 02:24:03,818 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 02:24:03,819 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29962638 passed 2025-10-30 02:24:03,819 - DEBUG - ====Verifying policy data for ctest-vn-29962638 in API_Server ====== 2025-10-30 02:24:03,819 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 02:24:03,826 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b719b592-ac22-43f0-b0ca-68b60797a902 2025-10-30 02:24:03,835 - DEBUG - Requesting: http://10.0.0.38:8082/project/5cd8206b-17fb-43c1-b735-915f3519c1e8 2025-10-30 02:24:03,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8478d23c-63e6-48ca-a165-6e70c9faa7dd 2025-10-30 02:24:03,915 - DEBUG - ==>Verifying data for policy with id: 223dd0a3-14bd-4bb3-bd8e-f9b04463e214, fqn: ['default-domain', 'ctest-TestBasicPolicy-06835089', 'ctest-policy-allow-all-34566122'] 2025-10-30 02:24:03,915 - INFO - VN ctest-vn-29962638 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 02:24:03,915 - DEBUG - Verifying the vn in opserver 2025-10-30 02:24:03,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-29962638 virtual network link through opserver 10.0.0.38 2025-10-30 02:24:03,915 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 02:24:03,924 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-29962638', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-29962638?flat'} 2025-10-30 02:24:03,924 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-29962638 is found in opserver 2025-10-30 02:24:03,933 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 02:24:03,938 - DEBUG - VRF ids for VN ctest-vn-29962638: {} 2025-10-30 02:24:03,992 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:24:04,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4532-1) 2025-10-30 02:24:06,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4532-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4532-1) 2025-10-30 02:24:06,144 - INFO - Waiting for VM ctest-TestBasicPolicy-06835089-94878477 to be up.. 2025-10-30 02:24:06,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:24:11,305 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:24:11,305 - INFO - VM name : ctest-TestBasicPolicy-06835089-94878477 2025-10-30 02:24:11,379 - DEBUG - VM ctest-TestBasicPolicy-06835089-94878477 ID is 8b53cf60-f14b-4e52-8a6d-976b7dcd1273 2025-10-30 02:24:11,399 - DEBUG - VM ctest-TestBasicPolicy-06835089-94878477 launched on Node cn-jenkins-deploy-platform-ansible-os-4532-1 2025-10-30 02:24:11,473 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b53cf60-f14b-4e52-8a6d-976b7dcd1273 2025-10-30 02:24:11,483 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dfcc5933-89b3-4ffe-a561-f72e70f4bf95 2025-10-30 02:24:14,734 - 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 1001ms') 2025-10-30 02:24:14,735 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06835089-94878477 failed! 2025-10-30 02:24:14,789 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06835089:ctest-vn-99184064 is 217.237.138.129 and allocation pool is NOT set 2025-10-30 02:24:16,849 - 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=9.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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.014/5.276/9.539/4.262 ms') 2025-10-30 02:24:16,849 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06835089-94878477 passed 2025-10-30 02:24:17,001 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:24:17,001 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06835089-94878477, IP 217.237.138.131, Port 22 2025-10-30 02:24:17,172 - DEBUG - VM ctest-TestBasicPolicy-06835089-94878477 is ready for SSH connections 2025-10-30 02:24:17,172 - INFO - Waiting for VM ctest-TestBasicPolicy-06835089-06619724 to be up.. 2025-10-30 02:24:17,255 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:24:17,255 - INFO - VM name : ctest-TestBasicPolicy-06835089-06619724 2025-10-30 02:24:17,344 - DEBUG - VM ctest-TestBasicPolicy-06835089-06619724 ID is 80a86e3d-53ee-4c16-9b95-67d87f843990 2025-10-30 02:24:17,344 - DEBUG - VM ctest-TestBasicPolicy-06835089-06619724 launched on Node cn-jenkins-deploy-platform-ansible-os-4532-1 2025-10-30 02:24:17,428 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/80a86e3d-53ee-4c16-9b95-67d87f843990 2025-10-30 02:24:17,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/90595270-26c0-4504-bc11-d5c895ec6afe 2025-10-30 02:24:18,684 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.604 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.604/1.705/2.806/1.101 ms') 2025-10-30 02:24:18,684 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06835089-06619724 passed 2025-10-30 02:24:18,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:24:18,833 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06835089-06619724, IP 156.119.189.3, Port 22 2025-10-30 02:24:18,988 - DEBUG - VM ctest-TestBasicPolicy-06835089-06619724 is ready for SSH connections 2025-10-30 02:24:18,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:24:18,988 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.119.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 02:24:18,989 - DEBUG - ping -s 56 -c 3 -W 1 156.119.189.3 2025-10-30 02:24:22,691 - DEBUG - PING 156.119.189.3 (156.119.189.3): 56 data bytes 64 bytes from 156.119.189.3: seq=0 ttl=63 time=4.059 ms 64 bytes from 156.119.189.3: seq=1 ttl=63 time=0.908 ms 64 bytes from 156.119.189.3: seq=2 ttl=63 time=1.088 ms --- 156.119.189.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/2.018/4.059 ms 2025-10-30 02:24:22,691 - INFO - Ping to IP 156.119.189.3 from VM ctest-TestBasicPolicy-06835089-94878477 passed 2025-10-30 02:24:22,869 - DEBUG - Policy Update Response {"network-policy": {"uuid": "223dd0a3-14bd-4bb3-bd8e-f9b04463e214", "href": "http://10.0.0.38:8082/network-policy/223dd0a3-14bd-4bb3-bd8e-f9b04463e214"}} 2025-10-30 02:24:22,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:24:22,869 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.119.189.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 02:24:22,869 - DEBUG - ping -s 56 -c 3 -W 1 156.119.189.3 2025-10-30 02:24:26,078 - DEBUG - PING 156.119.189.3 (156.119.189.3): 56 data bytes --- 156.119.189.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:24:26,078 - WARNING - Ping to IP 156.119.189.3 from VM ctest-TestBasicPolicy-06835089-94878477 failed 2025-10-30 02:24:26,078 - INFO - Deleting VM ctest-TestBasicPolicy-06835089-06619724 2025-10-30 02:24:26,145 - INFO - Deleting VM ctest-TestBasicPolicy-06835089-94878477 2025-10-30 02:24:26,507 - INFO - Deleted policy ctest-policy-allow-all-34566122 2025-10-30 02:24:26,508 - INFO - Deleting VN ctest-vn-29962638 2025-10-30 02:24:26,540 - DEBUG - VN 8478d23c-63e6-48ca-a165-6e70c9faa7dd still in use: Unable to complete operation on network 8478d23c-63e6-48ca-a165-6e70c9faa7dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5214c99-fb76-4a57-9abe-1c98b649bb1f'] 2025-10-30 02:24:26,540 - WARNING - Deleting VN ctest-vn-29962638 failed..Will retry 2025-10-30 02:24:28,638 - DEBUG - Response for deleting network () 2025-10-30 02:24:28,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/14b1edc9-f03f-45ff-a73c-b99da158999b 2025-10-30 02:24:28,644 - DEBUG - Response Code: 404 2025-10-30 02:24:28,644 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 02:24:28,649 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b719b592-ac22-43f0-b0ca-68b60797a902 2025-10-30 02:24:28,706 - DEBUG - Requesting: http://10.0.0.38:8082/project/5cd8206b-17fb-43c1-b735-915f3519c1e8 2025-10-30 02:24:28,777 - INFO - Validated that VN ctest-vn-29962638 is not found in API Server 2025-10-30 02:24:28,786 - DEBUG - VN ctest-vn-29962638 is not present in Agent 10.0.0.38 2025-10-30 02:24:28,786 - INFO - Validated that VN ctest-vn-29962638 is not in any agent 2025-10-30 02:24:28,799 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29962638 info 2025-10-30 02:24:28,799 - INFO - Deleting VN ctest-vn-99184064 2025-10-30 02:24:28,896 - DEBUG - Response for deleting network () 2025-10-30 02:24:28,896 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c78afa4-f424-4a31-acc5-b941b9b88c19 2025-10-30 02:24:28,904 - DEBUG - Response Code: 404 2025-10-30 02:24:28,904 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 02:24:28,910 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b719b592-ac22-43f0-b0ca-68b60797a902 2025-10-30 02:24:28,962 - DEBUG - Requesting: http://10.0.0.38:8082/project/5cd8206b-17fb-43c1-b735-915f3519c1e8 2025-10-30 02:24:29,033 - INFO - Validated that VN ctest-vn-99184064 is not found in API Server 2025-10-30 02:24:29,042 - DEBUG - VN ctest-vn-99184064 is not present in Agent 10.0.0.38 2025-10-30 02:24:29,043 - INFO - Validated that VN ctest-vn-99184064 is not in any agent 2025-10-30 02:24:29,055 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99184064 info 2025-10-30 02:24:29,309 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 02:24:29,309 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-30 02:24:29,310 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:24:29,984 - INFO - Deleted project: ctest-TestBasicPolicy-06835089, ID : 5cd8206b-17fb-43c1-b735-915f3519c1e8