2025-10-10 01:26:18,075 - INFO - Domain Default found not creating 2025-10-10 01:26:18,231 - INFO - Project ctest-TestBasicPolicy-45175468 not found, creating it 2025-10-10 01:26:18,682 - INFO - Created Project:ctest-TestBasicPolicy-45175468, ID : 1f16157c-85cc-418a-8aed-44189ddbba7b 2025-10-10 01:26:20,252 - INFO - ================================================================================ 2025-10-10 01:26:20,252 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-10 01:26:20,252 - 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-10 01:26:20,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-10 01:26:20,507 - INFO - Initial checks done. Running the testcase now 2025-10-10 01:26:20,507 - INFO - 2025-10-10 01:26:21,090 - DEBUG - Response for create_network : {'network': {'id': 'd1a67dcc-ef8f-4561-9766-26112b584e5c', 'name': 'ctest-vn-33108226', 'tenant_id': '1f16157c85cc418a8aed44189ddbba7b', 'project_id': '1f16157c85cc418a8aed44189ddbba7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-vn-33108226'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 01:26:21,288 - DEBUG - Response for create_subnet : {'subnet': {'id': '2adf124b-513a-4866-83fc-b857642d6447', 'name': '', 'tenant_id': '1f16157c85cc418a8aed44189ddbba7b', 'network_id': 'd1a67dcc-ef8f-4561-9766-26112b584e5c', 'ip_version': 4, 'cidr': '117.72.213.64/26', 'allocation_pools': [{'start': '117.72.213.66', 'end': '117.72.213.126'}], 'gateway_ip': '117.72.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.72.213.66', 'tags': [], 'project_id': '1f16157c85cc418a8aed44189ddbba7b'}} 2025-10-10 01:26:21,307 - INFO - Created VN ctest-vn-33108226 2025-10-10 01:26:21,365 - DEBUG - VN ctest-vn-33108226 UUID is d1a67dcc-ef8f-4561-9766-26112b584e5c 2025-10-10 01:26:21,689 - DEBUG - Response for create_network : {'network': {'id': 'b224977e-9112-433a-86a2-56eb70c5a2da', 'name': 'ctest-vn-68934624', 'tenant_id': '1f16157c85cc418a8aed44189ddbba7b', 'project_id': '1f16157c85cc418a8aed44189ddbba7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-vn-68934624'], 'port_security_enabled': True, 'description': ''}} 2025-10-10 01:26:21,872 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe8f8b3d-a427-41e4-aa72-20d28930d725', 'name': '', 'tenant_id': '1f16157c85cc418a8aed44189ddbba7b', 'network_id': 'b224977e-9112-433a-86a2-56eb70c5a2da', 'ip_version': 4, 'cidr': '112.16.195.128/26', 'allocation_pools': [{'start': '112.16.195.130', 'end': '112.16.195.190'}], 'gateway_ip': '112.16.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.16.195.130', 'tags': [], 'project_id': '1f16157c85cc418a8aed44189ddbba7b'}} 2025-10-10 01:26:21,892 - INFO - Created VN ctest-vn-68934624 2025-10-10 01:26:21,945 - DEBUG - VN ctest-vn-68934624 UUID is b224977e-9112-433a-86a2-56eb70c5a2da 2025-10-10 01:26:22,062 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-33108226, 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-45175468:ctest-vn-68934624, 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-10 01:26:22,361 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1a67dcc-ef8f-4561-9766-26112b584e5c', 'name': 'ctest-vn-33108226', 'tenant_id': '1f16157c85cc418a8aed44189ddbba7b', 'project_id': '1f16157c85cc418a8aed44189ddbba7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2adf124b-513a-4866-83fc-b857642d6447'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-vn-33108226'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-policy-allow-all-98122882']], 'subnet_ipam': [{'subnet_cidr': '117.72.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-10 01:26:22,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b224977e-9112-433a-86a2-56eb70c5a2da', 'name': 'ctest-vn-68934624', 'tenant_id': '1f16157c85cc418a8aed44189ddbba7b', 'project_id': '1f16157c85cc418a8aed44189ddbba7b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe8f8b3d-a427-41e4-aa72-20d28930d725'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-vn-68934624'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-policy-allow-all-98122882']], 'subnet_ipam': [{'subnet_cidr': '112.16.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-10 01:26:22,789 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-10 01:26:23,235 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-10 01:26:23,282 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e6eb3e86-5672-4f38-9f87-8e029c6b1bdc 2025-10-10 01:26:23,295 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f16157c-85cc-418a-8aed-44189ddbba7b 2025-10-10 01:26:23,371 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d1a67dcc-ef8f-4561-9766-26112b584e5c 2025-10-10 01:26:23,383 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d1a67dcc-ef8f-4561-9766-26112b584e5c 2025-10-10 01:26:23,393 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcad9b8e-2db3-4016-9641-78d97ce0c1df 2025-10-10 01:26:23,401 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcad9b8e-2db3-4016-9641-78d97ce0c1df 2025-10-10 01:26:23,408 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1cc36481-2a0b-491f-bbd3-e2054f3b4346 2025-10-10 01:26:23,415 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-10 01:26:23,415 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d1a67dcc-ef8f-4561-9766-26112b584e5c 2025-10-10 01:26:23,425 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcad9b8e-2db3-4016-9641-78d97ce0c1df 2025-10-10 01:26:23,440 - INFO - Verified VN network id 11 for VN d1a67dcc-ef8f-4561-9766-26112b584e5c 2025-10-10 01:26:23,440 - INFO - Verifications in API Server for VN ctest-vn-33108226 passed 2025-10-10 01:26:23,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d1a67dcc-ef8f-4561-9766-26112b584e5c 2025-10-10 01:26:23,450 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcad9b8e-2db3-4016-9641-78d97ce0c1df 2025-10-10 01:26:23,457 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcad9b8e-2db3-4016-9641-78d97ce0c1df 2025-10-10 01:26:23,463 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1cc36481-2a0b-491f-bbd3-e2054f3b4346 2025-10-10 01:26:23,476 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-33108226', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45175468', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15106900319206851937', 'uuid-lslong': '10909449002535112284'}, 'enable': 'true', 'created': '2025-10-10T01:26:21', 'last-modified': '2025-10-10T01:26:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.142653'} 2025-10-10 01:26:23,483 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-10 01:26:23,483 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33108226 passed 2025-10-10 01:26:23,483 - DEBUG - ====Verifying policy data for ctest-vn-33108226 in API_Server ====== 2025-10-10 01:26:23,483 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-10 01:26:23,489 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e6eb3e86-5672-4f38-9f87-8e029c6b1bdc 2025-10-10 01:26:23,502 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f16157c-85cc-418a-8aed-44189ddbba7b 2025-10-10 01:26:23,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d1a67dcc-ef8f-4561-9766-26112b584e5c 2025-10-10 01:26:23,587 - DEBUG - ==>Verifying data for policy with id: e95fe43d-e180-4e0f-ba07-90d021961a2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-policy-allow-all-98122882'] 2025-10-10 01:26:23,587 - INFO - VN ctest-vn-33108226 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-10 01:26:23,587 - DEBUG - Verifying the vn in opserver 2025-10-10 01:26:23,587 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-33108226 virtual network link through opserver 10.0.0.254 2025-10-10 01:26:23,587 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-10 01:26:23,929 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-10 01:26:23,988 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-33108226', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-33108226?flat'} 2025-10-10 01:26:23,988 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-33108226 is found in opserver 2025-10-10 01:26:23,998 - DEBUG - Do not have enough data to verify VN in agent 2025-10-10 01:26:24,002 - DEBUG - VRF ids for VN ctest-vn-33108226: {} 2025-10-10 01:26:24,002 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-10 01:26:24,008 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e6eb3e86-5672-4f38-9f87-8e029c6b1bdc 2025-10-10 01:26:24,020 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f16157c-85cc-418a-8aed-44189ddbba7b 2025-10-10 01:26:24,093 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b224977e-9112-433a-86a2-56eb70c5a2da 2025-10-10 01:26:24,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b224977e-9112-433a-86a2-56eb70c5a2da 2025-10-10 01:26:24,113 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7bf0870-853e-4975-a037-f6f036f8934d 2025-10-10 01:26:24,119 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7bf0870-853e-4975-a037-f6f036f8934d 2025-10-10 01:26:24,125 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f7d29d4f-8ef0-4e5c-afff-8499ec33014f 2025-10-10 01:26:24,131 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-10 01:26:24,131 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b224977e-9112-433a-86a2-56eb70c5a2da 2025-10-10 01:26:24,139 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7bf0870-853e-4975-a037-f6f036f8934d 2025-10-10 01:26:24,151 - INFO - Verified VN network id 12 for VN b224977e-9112-433a-86a2-56eb70c5a2da 2025-10-10 01:26:24,151 - INFO - Verifications in API Server for VN ctest-vn-68934624 passed 2025-10-10 01:26:24,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b224977e-9112-433a-86a2-56eb70c5a2da 2025-10-10 01:26:24,160 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7bf0870-853e-4975-a037-f6f036f8934d 2025-10-10 01:26:24,166 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7bf0870-853e-4975-a037-f6f036f8934d 2025-10-10 01:26:24,172 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f7d29d4f-8ef0-4e5c-afff-8499ec33014f 2025-10-10 01:26:24,182 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-68934624', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45175468', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12836551407768322874', 'uuid-lslong': '9701412116518773466'}, 'enable': 'true', 'created': '2025-10-10T01:26:21', 'last-modified': '2025-10-10T01:26:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.604068'} 2025-10-10 01:26:24,188 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-10 01:26:24,188 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68934624 passed 2025-10-10 01:26:24,188 - DEBUG - ====Verifying policy data for ctest-vn-68934624 in API_Server ====== 2025-10-10 01:26:24,189 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-10 01:26:24,195 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e6eb3e86-5672-4f38-9f87-8e029c6b1bdc 2025-10-10 01:26:24,207 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f16157c-85cc-418a-8aed-44189ddbba7b 2025-10-10 01:26:24,284 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b224977e-9112-433a-86a2-56eb70c5a2da 2025-10-10 01:26:24,294 - DEBUG - ==>Verifying data for policy with id: e95fe43d-e180-4e0f-ba07-90d021961a2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45175468', 'ctest-policy-allow-all-98122882'] 2025-10-10 01:26:24,294 - INFO - VN ctest-vn-68934624 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-10 01:26:24,294 - DEBUG - Verifying the vn in opserver 2025-10-10 01:26:24,294 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-68934624 virtual network link through opserver 10.0.0.254 2025-10-10 01:26:24,294 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-10 01:26:24,305 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-68934624', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-68934624?flat'} 2025-10-10 01:26:24,305 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-68934624 is found in opserver 2025-10-10 01:26:24,315 - DEBUG - Do not have enough data to verify VN in agent 2025-10-10 01:26:24,319 - DEBUG - VRF ids for VN ctest-vn-68934624: {} 2025-10-10 01:26:24,380 - DEBUG - Services list from nova: [, , ] 2025-10-10 01:26:25,490 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4282-1) 2025-10-10 01:26:26,734 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4282-1) 2025-10-10 01:26:26,734 - INFO - Waiting for VM ctest-TestBasicPolicy-45175468-88553804 to be up.. 2025-10-10 01:26:26,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-10 01:26:31,925 - DEBUG - VM is in ACTIVE state now 2025-10-10 01:26:31,925 - INFO - VM name : ctest-TestBasicPolicy-45175468-88553804 2025-10-10 01:26:32,001 - DEBUG - VM ctest-TestBasicPolicy-45175468-88553804 ID is 3acef09d-6345-4efd-8768-7b7efc0dc4e2 2025-10-10 01:26:32,021 - DEBUG - VM ctest-TestBasicPolicy-45175468-88553804 launched on Node cn-jenkins-deploy-platform-ansible-os-4282-1 2025-10-10 01:26:32,095 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3acef09d-6345-4efd-8768-7b7efc0dc4e2 2025-10-10 01:26:32,103 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1b0e1a58-034f-40d9-a67e-e966ffe786f7 2025-10-10 01:26:35,360 - 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 1026ms') 2025-10-10 01:26:35,360 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45175468-88553804 failed! 2025-10-10 01:26:35,417 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45175468:ctest-vn-33108226 is 117.72.213.65 and allocation pool is NOT set 2025-10-10 01:26:37,476 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.701 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.701/5.212/9.723/4.511 ms') 2025-10-10 01:26:37,476 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45175468-88553804 passed 2025-10-10 01:26:37,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:26:37,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45175468-88553804, IP 117.72.213.67, Port 22 2025-10-10 01:26:37,793 - DEBUG - VM ctest-TestBasicPolicy-45175468-88553804 is ready for SSH connections 2025-10-10 01:26:37,793 - INFO - Waiting for VM ctest-TestBasicPolicy-45175468-20645394 to be up.. 2025-10-10 01:26:37,893 - DEBUG - VM is in ACTIVE state now 2025-10-10 01:26:37,893 - INFO - VM name : ctest-TestBasicPolicy-45175468-20645394 2025-10-10 01:26:37,978 - DEBUG - VM ctest-TestBasicPolicy-45175468-20645394 ID is a6f51e24-093e-417e-ae51-8f9bbc71afe5 2025-10-10 01:26:37,979 - DEBUG - VM ctest-TestBasicPolicy-45175468-20645394 launched on Node cn-jenkins-deploy-platform-ansible-os-4282-1 2025-10-10 01:26:38,184 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a6f51e24-093e-417e-ae51-8f9bbc71afe5 2025-10-10 01:26:38,195 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c4d4371-73a2-42cb-a612-6d7dfdbbfd8a 2025-10-10 01:26:39,442 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.99 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.986/3.212/4.438/1.226 ms') 2025-10-10 01:26:39,442 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45175468-20645394 passed 2025-10-10 01:26:39,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:26:39,589 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45175468-20645394, IP 112.16.195.131, Port 22 2025-10-10 01:26:39,759 - DEBUG - VM ctest-TestBasicPolicy-45175468-20645394 is ready for SSH connections 2025-10-10 01:26:39,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:26:39,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.16.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-10 01:26:39,759 - DEBUG - ping -s 56 -c 3 -W 1 112.16.195.131 2025-10-10 01:26:43,481 - DEBUG - PING 112.16.195.131 (112.16.195.131): 56 data bytes 64 bytes from 112.16.195.131: seq=0 ttl=63 time=4.263 ms 64 bytes from 112.16.195.131: seq=1 ttl=63 time=0.852 ms 64 bytes from 112.16.195.131: seq=2 ttl=63 time=0.902 ms --- 112.16.195.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/2.005/4.263 ms 2025-10-10 01:26:43,481 - INFO - Ping to IP 112.16.195.131 from VM ctest-TestBasicPolicy-45175468-88553804 passed 2025-10-10 01:26:43,661 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e95fe43d-e180-4e0f-ba07-90d021961a2e", "href": "http://10.0.0.254:8082/network-policy/e95fe43d-e180-4e0f-ba07-90d021961a2e"}} 2025-10-10 01:26:43,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-10 01:26:43,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.16.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-10 01:26:43,661 - DEBUG - ping -s 56 -c 3 -W 1 112.16.195.131 2025-10-10 01:26:46,881 - DEBUG - PING 112.16.195.131 (112.16.195.131): 56 data bytes --- 112.16.195.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-10 01:26:46,881 - WARNING - Ping to IP 112.16.195.131 from VM ctest-TestBasicPolicy-45175468-88553804 failed 2025-10-10 01:26:46,882 - INFO - Deleting VM ctest-TestBasicPolicy-45175468-20645394 2025-10-10 01:26:46,947 - INFO - Deleting VM ctest-TestBasicPolicy-45175468-88553804 2025-10-10 01:26:47,308 - INFO - Deleted policy ctest-policy-allow-all-98122882 2025-10-10 01:26:47,308 - INFO - Deleting VN ctest-vn-68934624 2025-10-10 01:26:47,344 - DEBUG - VN b224977e-9112-433a-86a2-56eb70c5a2da still in use: Unable to complete operation on network b224977e-9112-433a-86a2-56eb70c5a2da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7921ee2f-e3dd-4c20-83e6-9900cf8eea32'] 2025-10-10 01:26:47,344 - WARNING - Deleting VN ctest-vn-68934624 failed..Will retry 2025-10-10 01:26:49,450 - DEBUG - Response for deleting network () 2025-10-10 01:26:49,451 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7bf0870-853e-4975-a037-f6f036f8934d 2025-10-10 01:26:49,458 - DEBUG - Response Code: 404 2025-10-10 01:26:49,459 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-10 01:26:49,464 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e6eb3e86-5672-4f38-9f87-8e029c6b1bdc 2025-10-10 01:26:49,522 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f16157c-85cc-418a-8aed-44189ddbba7b 2025-10-10 01:26:49,588 - INFO - Validated that VN ctest-vn-68934624 is not found in API Server 2025-10-10 01:26:49,598 - DEBUG - VN ctest-vn-68934624 is not present in Agent 10.0.0.254 2025-10-10 01:26:49,598 - INFO - Validated that VN ctest-vn-68934624 is not in any agent 2025-10-10 01:26:49,611 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68934624 info 2025-10-10 01:26:49,611 - INFO - Deleting VN ctest-vn-33108226 2025-10-10 01:26:49,709 - DEBUG - Response for deleting network () 2025-10-10 01:26:49,709 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bcad9b8e-2db3-4016-9641-78d97ce0c1df 2025-10-10 01:26:49,714 - DEBUG - Response Code: 404 2025-10-10 01:26:49,714 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-10 01:26:49,720 - DEBUG - Requesting: http://10.0.0.254:8082/domain/e6eb3e86-5672-4f38-9f87-8e029c6b1bdc 2025-10-10 01:26:49,774 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f16157c-85cc-418a-8aed-44189ddbba7b 2025-10-10 01:26:49,844 - INFO - Validated that VN ctest-vn-33108226 is not found in API Server 2025-10-10 01:26:49,854 - DEBUG - VN ctest-vn-33108226 is not present in Agent 10.0.0.254 2025-10-10 01:26:49,854 - INFO - Validated that VN ctest-vn-33108226 is not in any agent 2025-10-10 01:26:49,868 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33108226 info 2025-10-10 01:26:50,122 - DEBUG - No XMPP flaps were noticed during the test 2025-10-10 01:26:50,123 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-10 01:26:50,123 - INFO - -------------------------------------------------------------------------------- 2025-10-10 01:26:50,834 - INFO - Deleted project: ctest-TestBasicPolicy-45175468, ID : 1f16157c-85cc-418a-8aed-44189ddbba7b