2025-11-05 16:14:19,758 - INFO - Domain Default found not creating 2025-11-05 16:14:19,888 - INFO - Project ctest-TestBasicPolicy-70010269 not found, creating it 2025-11-05 16:14:20,303 - INFO - Created Project:ctest-TestBasicPolicy-70010269, ID : 9bc252d5-c3f8-42d5-beb6-c451fc92b077 2025-11-05 16:14:21,653 - INFO - ================================================================================ 2025-11-05 16:14:21,653 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 16:14:21,653 - 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-11-05 16:14:21,906 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.192': '0'}} with 2025-11-05 16:14:21,906 - INFO - Initial checks done. Running the testcase now 2025-11-05 16:14:21,906 - INFO - 2025-11-05 16:14:22,434 - DEBUG - Response for create_network : {'network': {'id': '2aba2ec4-2d13-42b7-9000-79612638c3ef', 'name': 'ctest-vn-99457373', 'tenant_id': '9bc252d5c3f842d5beb6c451fc92b077', 'project_id': '9bc252d5c3f842d5beb6c451fc92b077', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-vn-99457373'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:14:22,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ebabf40-47b5-4c36-94d8-b6443bd4269c', 'name': '', 'tenant_id': '9bc252d5c3f842d5beb6c451fc92b077', 'network_id': '2aba2ec4-2d13-42b7-9000-79612638c3ef', 'ip_version': 4, 'cidr': '207.72.176.128/26', 'allocation_pools': [{'start': '207.72.176.130', 'end': '207.72.176.190'}], 'gateway_ip': '207.72.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.72.176.130', 'tags': [], 'project_id': '9bc252d5c3f842d5beb6c451fc92b077'}} 2025-11-05 16:14:22,639 - INFO - Created VN ctest-vn-99457373 2025-11-05 16:14:22,689 - DEBUG - VN ctest-vn-99457373 UUID is 2aba2ec4-2d13-42b7-9000-79612638c3ef 2025-11-05 16:14:22,993 - DEBUG - Response for create_network : {'network': {'id': '5bd0c9a6-1a8e-4878-ac11-57c455a2675f', 'name': 'ctest-vn-63152930', 'tenant_id': '9bc252d5c3f842d5beb6c451fc92b077', 'project_id': '9bc252d5c3f842d5beb6c451fc92b077', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-vn-63152930'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:14:23,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '169f4ad7-b0e9-452d-98ff-f8daf26a96ce', 'name': '', 'tenant_id': '9bc252d5c3f842d5beb6c451fc92b077', 'network_id': '5bd0c9a6-1a8e-4878-ac11-57c455a2675f', 'ip_version': 4, 'cidr': '37.120.43.128/26', 'allocation_pools': [{'start': '37.120.43.130', 'end': '37.120.43.190'}], 'gateway_ip': '37.120.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.120.43.130', 'tags': [], 'project_id': '9bc252d5c3f842d5beb6c451fc92b077'}} 2025-11-05 16:14:23,211 - INFO - Created VN ctest-vn-63152930 2025-11-05 16:14:23,262 - DEBUG - VN ctest-vn-63152930 UUID is 5bd0c9a6-1a8e-4878-ac11-57c455a2675f 2025-11-05 16:14:23,401 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-99457373, 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-70010269:ctest-vn-63152930, 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-11-05 16:14:23,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2aba2ec4-2d13-42b7-9000-79612638c3ef', 'name': 'ctest-vn-99457373', 'tenant_id': '9bc252d5c3f842d5beb6c451fc92b077', 'project_id': '9bc252d5c3f842d5beb6c451fc92b077', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3ebabf40-47b5-4c36-94d8-b6443bd4269c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-vn-99457373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-policy-allow-all-92586689']], 'subnet_ipam': [{'subnet_cidr': '207.72.176.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:14:23,882 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5bd0c9a6-1a8e-4878-ac11-57c455a2675f', 'name': 'ctest-vn-63152930', 'tenant_id': '9bc252d5c3f842d5beb6c451fc92b077', 'project_id': '9bc252d5c3f842d5beb6c451fc92b077', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['169f4ad7-b0e9-452d-98ff-f8daf26a96ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-vn-63152930'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-policy-allow-all-92586689']], 'subnet_ipam': [{'subnet_cidr': '37.120.43.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 16:14:24,046 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 16:14:24,333 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 16:14:24,357 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5427629e-064f-403f-98cd-ffee9138a9ec 2025-11-05 16:14:24,367 - DEBUG - Requesting: http://10.0.0.38:8082/project/9bc252d5-c3f8-42d5-beb6-c451fc92b077 2025-11-05 16:14:24,436 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2aba2ec4-2d13-42b7-9000-79612638c3ef 2025-11-05 16:14:24,446 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2aba2ec4-2d13-42b7-9000-79612638c3ef 2025-11-05 16:14:24,454 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0ffb0fc8-10a4-47b0-a041-b61539dbc0bc 2025-11-05 16:14:24,459 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0ffb0fc8-10a4-47b0-a041-b61539dbc0bc 2025-11-05 16:14:24,465 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0c9a0424-62ae-47c0-8b68-b2624b166487 2025-11-05 16:14:24,469 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 16:14:24,469 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2aba2ec4-2d13-42b7-9000-79612638c3ef 2025-11-05 16:14:24,477 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0ffb0fc8-10a4-47b0-a041-b61539dbc0bc 2025-11-05 16:14:24,488 - INFO - Verified VN network id 12 for VN 2aba2ec4-2d13-42b7-9000-79612638c3ef 2025-11-05 16:14:24,488 - INFO - Verifications in API Server for VN ctest-vn-99457373 passed 2025-11-05 16:14:24,488 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2aba2ec4-2d13-42b7-9000-79612638c3ef 2025-11-05 16:14:24,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0ffb0fc8-10a4-47b0-a041-b61539dbc0bc 2025-11-05 16:14:24,500 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0ffb0fc8-10a4-47b0-a041-b61539dbc0bc 2025-11-05 16:14:24,505 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0c9a0424-62ae-47c0-8b68-b2624b166487 2025-11-05 16:14:24,515 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-99457373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70010269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3078824715365860023', 'uuid-lslong': '10376426999621665775'}, 'enable': 'true', 'created': '2025-11-05T16:14:22', 'last-modified': '2025-11-05T16:14:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860196'} 2025-11-05 16:14:24,520 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 16:14:24,520 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99457373 passed 2025-11-05 16:14:24,520 - DEBUG - ====Verifying policy data for ctest-vn-99457373 in API_Server ====== 2025-11-05 16:14:24,520 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 16:14:24,525 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5427629e-064f-403f-98cd-ffee9138a9ec 2025-11-05 16:14:24,535 - DEBUG - Requesting: http://10.0.0.38:8082/project/9bc252d5-c3f8-42d5-beb6-c451fc92b077 2025-11-05 16:14:24,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2aba2ec4-2d13-42b7-9000-79612638c3ef 2025-11-05 16:14:24,612 - DEBUG - ==>Verifying data for policy with id: db5a17e7-b0dd-4228-a090-e23a63cf35cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-policy-allow-all-92586689'] 2025-11-05 16:14:24,612 - INFO - VN ctest-vn-99457373 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 16:14:24,612 - DEBUG - Verifying the vn in opserver 2025-11-05 16:14:24,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-99457373 virtual network link through opserver 10.0.0.38 2025-11-05 16:14:24,612 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 16:14:24,903 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 16:14:24,956 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-99457373', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-99457373?flat'} 2025-11-05 16:14:24,957 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-99457373 is found in opserver 2025-11-05 16:14:24,967 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 16:14:24,971 - DEBUG - VRF ids for VN ctest-vn-99457373: {} 2025-11-05 16:14:24,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 16:14:24,976 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5427629e-064f-403f-98cd-ffee9138a9ec 2025-11-05 16:14:24,985 - DEBUG - Requesting: http://10.0.0.38:8082/project/9bc252d5-c3f8-42d5-beb6-c451fc92b077 2025-11-05 16:14:25,055 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5bd0c9a6-1a8e-4878-ac11-57c455a2675f 2025-11-05 16:14:25,064 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5bd0c9a6-1a8e-4878-ac11-57c455a2675f 2025-11-05 16:14:25,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd7045e2-540e-4dd1-a7f7-757db5b6143c 2025-11-05 16:14:25,080 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd7045e2-540e-4dd1-a7f7-757db5b6143c 2025-11-05 16:14:25,085 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e85934f3-4b00-4b34-add7-f2403afaf2ad 2025-11-05 16:14:25,090 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 16:14:25,090 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5bd0c9a6-1a8e-4878-ac11-57c455a2675f 2025-11-05 16:14:25,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd7045e2-540e-4dd1-a7f7-757db5b6143c 2025-11-05 16:14:25,108 - INFO - Verified VN network id 13 for VN 5bd0c9a6-1a8e-4878-ac11-57c455a2675f 2025-11-05 16:14:25,108 - INFO - Verifications in API Server for VN ctest-vn-63152930 passed 2025-11-05 16:14:25,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5bd0c9a6-1a8e-4878-ac11-57c455a2675f 2025-11-05 16:14:25,116 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd7045e2-540e-4dd1-a7f7-757db5b6143c 2025-11-05 16:14:25,121 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd7045e2-540e-4dd1-a7f7-757db5b6143c 2025-11-05 16:14:25,128 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e85934f3-4b00-4b34-add7-f2403afaf2ad 2025-11-05 16:14:25,138 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-63152930', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70010269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6616009567854545016', 'uuid-lslong': '12398787749889599327'}, 'enable': 'true', 'created': '2025-11-05T16:14:22', 'last-modified': '2025-11-05T16:14:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.272243'} 2025-11-05 16:14:25,142 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 16:14:25,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63152930 passed 2025-11-05 16:14:25,143 - DEBUG - ====Verifying policy data for ctest-vn-63152930 in API_Server ====== 2025-11-05 16:14:25,143 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 16:14:25,147 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5427629e-064f-403f-98cd-ffee9138a9ec 2025-11-05 16:14:25,156 - DEBUG - Requesting: http://10.0.0.38:8082/project/9bc252d5-c3f8-42d5-beb6-c451fc92b077 2025-11-05 16:14:25,222 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5bd0c9a6-1a8e-4878-ac11-57c455a2675f 2025-11-05 16:14:25,230 - DEBUG - ==>Verifying data for policy with id: db5a17e7-b0dd-4228-a090-e23a63cf35cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-70010269', 'ctest-policy-allow-all-92586689'] 2025-11-05 16:14:25,230 - INFO - VN ctest-vn-63152930 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 16:14:25,230 - DEBUG - Verifying the vn in opserver 2025-11-05 16:14:25,230 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-63152930 virtual network link through opserver 10.0.0.38 2025-11-05 16:14:25,230 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 16:14:25,239 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-63152930', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-63152930?flat'} 2025-11-05 16:14:25,239 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-63152930 is found in opserver 2025-11-05 16:14:25,247 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 16:14:25,251 - DEBUG - VRF ids for VN ctest-vn-63152930: {} 2025-11-05 16:14:25,302 - DEBUG - Services list from nova: [, , ] 2025-11-05 16:14:26,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1) 2025-11-05 16:14:27,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4648-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4648-1) 2025-11-05 16:14:27,370 - INFO - Waiting for VM ctest-TestBasicPolicy-70010269-46556462 to be up.. 2025-11-05 16:14:27,443 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 16:14:32,509 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:14:32,509 - INFO - VM name : ctest-TestBasicPolicy-70010269-46556462 2025-11-05 16:14:32,572 - DEBUG - VM ctest-TestBasicPolicy-70010269-46556462 ID is c1d82eff-b2eb-4a5a-a7e1-f3906894760b 2025-11-05 16:14:32,589 - DEBUG - VM ctest-TestBasicPolicy-70010269-46556462 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1 2025-11-05 16:14:32,653 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c1d82eff-b2eb-4a5a-a7e1-f3906894760b 2025-11-05 16:14:32,660 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9e9f7bb5-90d4-4cdb-9bf1-8e92b432787b 2025-11-05 16:14:35,894 - 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 1007ms') 2025-11-05 16:14:35,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70010269-46556462 failed! 2025-11-05 16:14:35,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70010269:ctest-vn-99457373 is 207.72.176.129 and allocation pool is NOT set 2025-11-05 16:14:38,004 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.445 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.445/2.490/4.535/2.045 ms') 2025-11-05 16:14:38,004 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70010269-46556462 passed 2025-11-05 16:14:38,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:14:38,150 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70010269-46556462, IP 207.72.176.131, Port 22 2025-11-05 16:14:38,305 - DEBUG - VM ctest-TestBasicPolicy-70010269-46556462 is ready for SSH connections 2025-11-05 16:14:38,305 - INFO - Waiting for VM ctest-TestBasicPolicy-70010269-09333307 to be up.. 2025-11-05 16:14:38,370 - DEBUG - VM is in ACTIVE state now 2025-11-05 16:14:38,370 - INFO - VM name : ctest-TestBasicPolicy-70010269-09333307 2025-11-05 16:14:38,432 - DEBUG - VM ctest-TestBasicPolicy-70010269-09333307 ID is e669e00d-bd01-4a44-a629-22e4efff39cd 2025-11-05 16:14:38,432 - DEBUG - VM ctest-TestBasicPolicy-70010269-09333307 launched on Node cn-jenkins-deploy-platform-ansible-os-4648-1 2025-11-05 16:14:38,499 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e669e00d-bd01-4a44-a629-22e4efff39cd 2025-11-05 16:14:38,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c2bbeb58-6f65-48c9-9cc7-2eb3cec024c0 2025-11-05 16:14:39,739 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.347 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.347/1.597/2.848/1.250 ms') 2025-11-05 16:14:39,739 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70010269-09333307 passed 2025-11-05 16:14:39,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:14:39,886 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70010269-09333307, IP 37.120.43.131, Port 22 2025-11-05 16:14:40,037 - DEBUG - VM ctest-TestBasicPolicy-70010269-09333307 is ready for SSH connections 2025-11-05 16:14:40,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:14:40,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.120.43.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:14:40,038 - DEBUG - ping -s 56 -c 3 -W 1 37.120.43.131 2025-11-05 16:14:43,783 - DEBUG - PING 37.120.43.131 (37.120.43.131): 56 data bytes 64 bytes from 37.120.43.131: seq=0 ttl=63 time=3.287 ms 64 bytes from 37.120.43.131: seq=1 ttl=63 time=0.825 ms 64 bytes from 37.120.43.131: seq=2 ttl=63 time=0.987 ms --- 37.120.43.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/1.699/3.287 ms 2025-11-05 16:14:43,784 - INFO - Ping to IP 37.120.43.131 from VM ctest-TestBasicPolicy-70010269-46556462 passed 2025-11-05 16:14:43,953 - DEBUG - Policy Update Response {"network-policy": {"uuid": "db5a17e7-b0dd-4228-a090-e23a63cf35cb", "href": "http://10.0.0.38:8082/network-policy/db5a17e7-b0dd-4228-a090-e23a63cf35cb"}} 2025-11-05 16:14:43,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 16:14:43,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.120.43.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 16:14:43,954 - DEBUG - ping -s 56 -c 3 -W 1 37.120.43.131 2025-11-05 16:14:47,169 - DEBUG - PING 37.120.43.131 (37.120.43.131): 56 data bytes --- 37.120.43.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 16:14:47,169 - WARNING - Ping to IP 37.120.43.131 from VM ctest-TestBasicPolicy-70010269-46556462 failed 2025-11-05 16:14:47,169 - INFO - Deleting VM ctest-TestBasicPolicy-70010269-09333307 2025-11-05 16:14:47,242 - INFO - Deleting VM ctest-TestBasicPolicy-70010269-46556462 2025-11-05 16:14:47,620 - INFO - Deleted policy ctest-policy-allow-all-92586689 2025-11-05 16:14:47,621 - INFO - Deleting VN ctest-vn-63152930 2025-11-05 16:14:47,654 - DEBUG - VN 5bd0c9a6-1a8e-4878-ac11-57c455a2675f still in use: Unable to complete operation on network 5bd0c9a6-1a8e-4878-ac11-57c455a2675f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e9b853b-9c0e-4748-beb9-dba6e5b91064'] 2025-11-05 16:14:47,654 - WARNING - Deleting VN ctest-vn-63152930 failed..Will retry 2025-11-05 16:14:49,766 - DEBUG - Response for deleting network () 2025-11-05 16:14:49,766 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cd7045e2-540e-4dd1-a7f7-757db5b6143c 2025-11-05 16:14:49,773 - DEBUG - Response Code: 404 2025-11-05 16:14:49,774 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 16:14:49,778 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5427629e-064f-403f-98cd-ffee9138a9ec 2025-11-05 16:14:49,832 - DEBUG - Requesting: http://10.0.0.38:8082/project/9bc252d5-c3f8-42d5-beb6-c451fc92b077 2025-11-05 16:14:49,910 - INFO - Validated that VN ctest-vn-63152930 is not found in API Server 2025-11-05 16:14:49,920 - DEBUG - VN ctest-vn-63152930 is not present in Agent 10.0.0.38 2025-11-05 16:14:49,920 - INFO - Validated that VN ctest-vn-63152930 is not in any agent 2025-11-05 16:14:49,946 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63152930 info 2025-11-05 16:14:49,946 - INFO - Deleting VN ctest-vn-99457373 2025-11-05 16:14:50,045 - DEBUG - Response for deleting network () 2025-11-05 16:14:50,045 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0ffb0fc8-10a4-47b0-a041-b61539dbc0bc 2025-11-05 16:14:50,051 - DEBUG - Response Code: 404 2025-11-05 16:14:50,051 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 16:14:50,055 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5427629e-064f-403f-98cd-ffee9138a9ec 2025-11-05 16:14:50,106 - DEBUG - Requesting: http://10.0.0.38:8082/project/9bc252d5-c3f8-42d5-beb6-c451fc92b077 2025-11-05 16:14:50,170 - INFO - Validated that VN ctest-vn-99457373 is not found in API Server 2025-11-05 16:14:50,179 - DEBUG - VN ctest-vn-99457373 is not present in Agent 10.0.0.38 2025-11-05 16:14:50,179 - INFO - Validated that VN ctest-vn-99457373 is not in any agent 2025-11-05 16:14:50,190 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99457373 info 2025-11-05 16:14:50,446 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 16:14:50,446 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-05 16:14:50,446 - INFO - -------------------------------------------------------------------------------- 2025-11-05 16:14:51,082 - INFO - Deleted project: ctest-TestBasicPolicy-70010269, ID : 9bc252d5-c3f8-42d5-beb6-c451fc92b077