2025-08-25 14:25:45,522 - INFO - Domain Default found not creating 2025-08-25 14:25:45,673 - INFO - Project ctest-TestBasicPolicy-74966210 not found, creating it 2025-08-25 14:25:46,152 - INFO - Created Project:ctest-TestBasicPolicy-74966210, ID : 07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72 2025-08-25 14:25:47,823 - INFO - ================================================================================ 2025-08-25 14:25:47,823 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-25 14:25:47,823 - 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-25 14:25:48,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-25 14:25:48,083 - INFO - Initial checks done. Running the testcase now 2025-08-25 14:25:48,084 - INFO - 2025-08-25 14:25:48,669 - DEBUG - Response for create_network : {'network': {'id': '48b80388-a4f5-4b09-ba1f-e1cf72d2ef71', 'name': 'ctest-vn-99852685', 'tenant_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'project_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-vn-99852685'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:25:48,843 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd6f1ff6-4662-4de5-83d0-2d693a9daacd', 'name': '', 'tenant_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'network_id': '48b80388-a4f5-4b09-ba1f-e1cf72d2ef71', 'ip_version': 4, 'cidr': '161.43.163.128/26', 'allocation_pools': [{'start': '161.43.163.130', 'end': '161.43.163.190'}], 'gateway_ip': '161.43.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.43.163.130', 'tags': [], 'project_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72'}} 2025-08-25 14:25:48,866 - INFO - Created VN ctest-vn-99852685 2025-08-25 14:25:48,921 - DEBUG - VN ctest-vn-99852685 UUID is 48b80388-a4f5-4b09-ba1f-e1cf72d2ef71 2025-08-25 14:25:49,222 - DEBUG - Response for create_network : {'network': {'id': '767f6073-eff3-4674-9aa9-b3f943e4fcc8', 'name': 'ctest-vn-99720709', 'tenant_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'project_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-vn-99720709'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:25:49,416 - DEBUG - Response for create_subnet : {'subnet': {'id': '96930aa9-aedb-4c41-bfbe-86e4c2249d4e', 'name': '', 'tenant_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'network_id': '767f6073-eff3-4674-9aa9-b3f943e4fcc8', 'ip_version': 4, 'cidr': '200.217.100.128/26', 'allocation_pools': [{'start': '200.217.100.130', 'end': '200.217.100.190'}], 'gateway_ip': '200.217.100.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.217.100.130', 'tags': [], 'project_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72'}} 2025-08-25 14:25:49,434 - INFO - Created VN ctest-vn-99720709 2025-08-25 14:25:49,489 - DEBUG - VN ctest-vn-99720709 UUID is 767f6073-eff3-4674-9aa9-b3f943e4fcc8 2025-08-25 14:25:49,603 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99852685, 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-74966210:ctest-vn-99720709, 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-25 14:25:49,911 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48b80388-a4f5-4b09-ba1f-e1cf72d2ef71', 'name': 'ctest-vn-99852685', 'tenant_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'project_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd6f1ff6-4662-4de5-83d0-2d693a9daacd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-vn-99852685'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-policy-allow-all-74736693']], 'subnet_ipam': [{'subnet_cidr': '161.43.163.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:25:50,217 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '767f6073-eff3-4674-9aa9-b3f943e4fcc8', 'name': 'ctest-vn-99720709', 'tenant_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'project_id': '07c65bc4fa1c4ea6b4e16b0bbda07f72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96930aa9-aedb-4c41-bfbe-86e4c2249d4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-vn-99720709'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-policy-allow-all-74736693']], 'subnet_ipam': [{'subnet_cidr': '200.217.100.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-25 14:25:50,373 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 14:25:50,713 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 14:25:50,743 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64eabc82-8de7-4a06-ba8c-49f19c9f314a 2025-08-25 14:25:50,757 - DEBUG - Requesting: http://10.0.0.254:8082/project/07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72 2025-08-25 14:25:50,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/48b80388-a4f5-4b09-ba1f-e1cf72d2ef71 2025-08-25 14:25:50,855 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/48b80388-a4f5-4b09-ba1f-e1cf72d2ef71 2025-08-25 14:25:50,866 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/719bede6-1229-4eed-ab0f-d92bd6ac74b3 2025-08-25 14:25:50,874 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/719bede6-1229-4eed-ab0f-d92bd6ac74b3 2025-08-25 14:25:50,882 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d6698d20-af61-4059-af97-ad33a3eaa3b1 2025-08-25 14:25:50,889 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 14:25:50,889 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/48b80388-a4f5-4b09-ba1f-e1cf72d2ef71 2025-08-25 14:25:50,898 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/719bede6-1229-4eed-ab0f-d92bd6ac74b3 2025-08-25 14:25:50,912 - INFO - Verified VN network id 11 for VN 48b80388-a4f5-4b09-ba1f-e1cf72d2ef71 2025-08-25 14:25:50,912 - INFO - Verifications in API Server for VN ctest-vn-99852685 passed 2025-08-25 14:25:50,912 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/48b80388-a4f5-4b09-ba1f-e1cf72d2ef71 2025-08-25 14:25:50,922 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/719bede6-1229-4eed-ab0f-d92bd6ac74b3 2025-08-25 14:25:50,929 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/719bede6-1229-4eed-ab0f-d92bd6ac74b3 2025-08-25 14:25:50,936 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d6698d20-af61-4059-af97-ad33a3eaa3b1 2025-08-25 14:25:50,949 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99852685', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74966210', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5239942051863546633', 'uuid-lslong': '13411686496433532785'}, 'enable': 'true', 'created': '2025-08-25T14:25:48', 'last-modified': '2025-08-25T14:25:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062838'} 2025-08-25 14:25:50,956 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-25 14:25:50,956 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99852685 passed 2025-08-25 14:25:50,956 - DEBUG - ====Verifying policy data for ctest-vn-99852685 in API_Server ====== 2025-08-25 14:25:50,957 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 14:25:50,962 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64eabc82-8de7-4a06-ba8c-49f19c9f314a 2025-08-25 14:25:50,974 - DEBUG - Requesting: http://10.0.0.254:8082/project/07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72 2025-08-25 14:25:51,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/48b80388-a4f5-4b09-ba1f-e1cf72d2ef71 2025-08-25 14:25:51,059 - DEBUG - ==>Verifying data for policy with id: fbf657ca-a382-4707-9e6a-f306d257c7bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-policy-allow-all-74736693'] 2025-08-25 14:25:51,059 - INFO - VN ctest-vn-99852685 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 14:25:51,059 - DEBUG - Verifying the vn in opserver 2025-08-25 14:25:51,059 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99852685 virtual network link through opserver 10.0.0.254 2025-08-25 14:25:51,059 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-25 14:25:51,406 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-25 14:25:51,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99852685', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99852685?flat'} 2025-08-25 14:25:51,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99852685 is found in opserver 2025-08-25 14:25:51,474 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 14:25:51,480 - DEBUG - VRF ids for VN ctest-vn-99852685: {} 2025-08-25 14:25:51,480 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 14:25:51,485 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64eabc82-8de7-4a06-ba8c-49f19c9f314a 2025-08-25 14:25:51,497 - DEBUG - Requesting: http://10.0.0.254:8082/project/07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72 2025-08-25 14:25:51,572 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/767f6073-eff3-4674-9aa9-b3f943e4fcc8 2025-08-25 14:25:51,585 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/767f6073-eff3-4674-9aa9-b3f943e4fcc8 2025-08-25 14:25:51,596 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20b9e2c7-7f7e-43e5-b781-8398d4a22ab1 2025-08-25 14:25:51,604 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20b9e2c7-7f7e-43e5-b781-8398d4a22ab1 2025-08-25 14:25:51,611 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9ae74dcb-bcbe-44a4-b54a-0a542ca0469c 2025-08-25 14:25:51,617 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 14:25:51,617 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/767f6073-eff3-4674-9aa9-b3f943e4fcc8 2025-08-25 14:25:51,626 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20b9e2c7-7f7e-43e5-b781-8398d4a22ab1 2025-08-25 14:25:51,640 - INFO - Verified VN network id 12 for VN 767f6073-eff3-4674-9aa9-b3f943e4fcc8 2025-08-25 14:25:51,640 - INFO - Verifications in API Server for VN ctest-vn-99720709 passed 2025-08-25 14:25:51,640 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/767f6073-eff3-4674-9aa9-b3f943e4fcc8 2025-08-25 14:25:51,652 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20b9e2c7-7f7e-43e5-b781-8398d4a22ab1 2025-08-25 14:25:51,658 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20b9e2c7-7f7e-43e5-b781-8398d4a22ab1 2025-08-25 14:25:51,665 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/9ae74dcb-bcbe-44a4-b54a-0a542ca0469c 2025-08-25 14:25:51,679 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99720709', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74966210', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8538649469580953204', 'uuid-lslong': '11144636636072312008'}, 'enable': 'true', 'created': '2025-08-25T14:25:49', 'last-modified': '2025-08-25T14:25:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.541861'} 2025-08-25 14:25:51,688 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-25 14:25:51,689 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99720709 passed 2025-08-25 14:25:51,689 - DEBUG - ====Verifying policy data for ctest-vn-99720709 in API_Server ====== 2025-08-25 14:25:51,689 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 14:25:51,695 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64eabc82-8de7-4a06-ba8c-49f19c9f314a 2025-08-25 14:25:51,708 - DEBUG - Requesting: http://10.0.0.254:8082/project/07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72 2025-08-25 14:25:51,791 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/767f6073-eff3-4674-9aa9-b3f943e4fcc8 2025-08-25 14:25:51,805 - DEBUG - ==>Verifying data for policy with id: fbf657ca-a382-4707-9e6a-f306d257c7bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-74966210', 'ctest-policy-allow-all-74736693'] 2025-08-25 14:25:51,805 - INFO - VN ctest-vn-99720709 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-25 14:25:51,805 - DEBUG - Verifying the vn in opserver 2025-08-25 14:25:51,805 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99720709 virtual network link through opserver 10.0.0.254 2025-08-25 14:25:51,805 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-25 14:25:51,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99720709', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99720709?flat'} 2025-08-25 14:25:51,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99720709 is found in opserver 2025-08-25 14:25:51,833 - DEBUG - Do not have enough data to verify VN in agent 2025-08-25 14:25:51,839 - DEBUG - VRF ids for VN ctest-vn-99720709: {} 2025-08-25 14:25:51,895 - DEBUG - Services list from nova: [, , ] 2025-08-25 14:25:52,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1) 2025-08-25 14:25:54,339 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3920-1) 2025-08-25 14:25:54,339 - INFO - Waiting for VM ctest-TestBasicPolicy-74966210-61657934 to be up.. 2025-08-25 14:25:54,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 14:25:59,516 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:25:59,516 - INFO - VM name : ctest-TestBasicPolicy-74966210-61657934 2025-08-25 14:25:59,600 - DEBUG - VM ctest-TestBasicPolicy-74966210-61657934 ID is e8d00835-02be-4d18-af7d-08e121f2aebb 2025-08-25 14:25:59,621 - DEBUG - VM ctest-TestBasicPolicy-74966210-61657934 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1 2025-08-25 14:25:59,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e8d00835-02be-4d18-af7d-08e121f2aebb 2025-08-25 14:25:59,721 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/49dfaed3-9985-464e-9a25-751a53fd003b 2025-08-25 14:26:02,996 - 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-08-25 14:26:02,996 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74966210-61657934 failed! 2025-08-25 14:26:03,053 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74966210:ctest-vn-99852685 is 161.43.163.129 and allocation pool is NOT set 2025-08-25 14:26:05,113 - 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.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.462/5.293/10.124/4.831 ms') 2025-08-25 14:26:05,114 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74966210-61657934 passed 2025-08-25 14:26:05,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:26:05,278 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74966210-61657934, IP 161.43.163.131, Port 22 2025-08-25 14:26:05,450 - DEBUG - VM ctest-TestBasicPolicy-74966210-61657934 is ready for SSH connections 2025-08-25 14:26:05,450 - INFO - Waiting for VM ctest-TestBasicPolicy-74966210-79996901 to be up.. 2025-08-25 14:26:05,541 - DEBUG - VM is in ACTIVE state now 2025-08-25 14:26:05,541 - INFO - VM name : ctest-TestBasicPolicy-74966210-79996901 2025-08-25 14:26:05,619 - DEBUG - VM ctest-TestBasicPolicy-74966210-79996901 ID is 06418f81-4d65-4b44-acf9-af208b36f388 2025-08-25 14:26:05,619 - DEBUG - VM ctest-TestBasicPolicy-74966210-79996901 launched on Node cn-jenkins-deploy-platform-ansible-os-3920-1 2025-08-25 14:26:05,697 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/06418f81-4d65-4b44-acf9-af208b36f388 2025-08-25 14:26:05,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ef387970-3ed0-4a45-8df9-267d8a848988 2025-08-25 14:26:06,963 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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 = 0.543/2.113/3.683/1.570 ms') 2025-08-25 14:26:06,964 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74966210-79996901 passed 2025-08-25 14:26:07,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:26:07,121 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74966210-79996901, IP 200.217.100.131, Port 22 2025-08-25 14:26:07,276 - DEBUG - VM ctest-TestBasicPolicy-74966210-79996901 is ready for SSH connections 2025-08-25 14:26:07,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:26:07,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.217.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-25 14:26:07,277 - DEBUG - ping -s 56 -c 3 -W 1 200.217.100.131 2025-08-25 14:26:10,990 - DEBUG - PING 200.217.100.131 (200.217.100.131): 56 data bytes 64 bytes from 200.217.100.131: seq=0 ttl=63 time=4.467 ms 64 bytes from 200.217.100.131: seq=1 ttl=63 time=0.930 ms 64 bytes from 200.217.100.131: seq=2 ttl=63 time=0.779 ms --- 200.217.100.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.779/2.058/4.467 ms 2025-08-25 14:26:10,990 - INFO - Ping to IP 200.217.100.131 from VM ctest-TestBasicPolicy-74966210-61657934 passed 2025-08-25 14:26:11,181 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fbf657ca-a382-4707-9e6a-f306d257c7bf", "href": "http://10.0.0.254:8082/network-policy/fbf657ca-a382-4707-9e6a-f306d257c7bf"}} 2025-08-25 14:26:11,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 14:26:11,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.217.100.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-25 14:26:11,181 - DEBUG - ping -s 56 -c 3 -W 1 200.217.100.131 2025-08-25 14:26:14,411 - DEBUG - PING 200.217.100.131 (200.217.100.131): 56 data bytes --- 200.217.100.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 14:26:14,411 - WARNING - Ping to IP 200.217.100.131 from VM ctest-TestBasicPolicy-74966210-61657934 failed 2025-08-25 14:26:14,411 - INFO - Deleting VM ctest-TestBasicPolicy-74966210-79996901 2025-08-25 14:26:14,475 - INFO - Deleting VM ctest-TestBasicPolicy-74966210-61657934 2025-08-25 14:26:14,880 - INFO - Deleted policy ctest-policy-allow-all-74736693 2025-08-25 14:26:14,880 - INFO - Deleting VN ctest-vn-99720709 2025-08-25 14:26:14,917 - DEBUG - VN 767f6073-eff3-4674-9aa9-b3f943e4fcc8 still in use: Unable to complete operation on network 767f6073-eff3-4674-9aa9-b3f943e4fcc8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-df107eca-e005-4bf5-931f-3ea4a3393f26'] 2025-08-25 14:26:14,917 - WARNING - Deleting VN ctest-vn-99720709 failed..Will retry 2025-08-25 14:26:17,043 - DEBUG - Response for deleting network () 2025-08-25 14:26:17,043 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/20b9e2c7-7f7e-43e5-b781-8398d4a22ab1 2025-08-25 14:26:17,050 - DEBUG - Response Code: 404 2025-08-25 14:26:17,050 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 14:26:17,056 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64eabc82-8de7-4a06-ba8c-49f19c9f314a 2025-08-25 14:26:17,111 - DEBUG - Requesting: http://10.0.0.254:8082/project/07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72 2025-08-25 14:26:17,195 - INFO - Validated that VN ctest-vn-99720709 is not found in API Server 2025-08-25 14:26:17,206 - DEBUG - VN ctest-vn-99720709 is not present in Agent 10.0.0.254 2025-08-25 14:26:17,206 - INFO - Validated that VN ctest-vn-99720709 is not in any agent 2025-08-25 14:26:17,222 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99720709 info 2025-08-25 14:26:17,222 - INFO - Deleting VN ctest-vn-99852685 2025-08-25 14:26:17,329 - DEBUG - Response for deleting network () 2025-08-25 14:26:17,329 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/719bede6-1229-4eed-ab0f-d92bd6ac74b3 2025-08-25 14:26:17,341 - DEBUG - Response Code: 404 2025-08-25 14:26:17,342 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-25 14:26:17,348 - DEBUG - Requesting: http://10.0.0.254:8082/domain/64eabc82-8de7-4a06-ba8c-49f19c9f314a 2025-08-25 14:26:17,405 - DEBUG - Requesting: http://10.0.0.254:8082/project/07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72 2025-08-25 14:26:17,475 - INFO - Validated that VN ctest-vn-99852685 is not found in API Server 2025-08-25 14:26:17,488 - DEBUG - VN ctest-vn-99852685 is not present in Agent 10.0.0.254 2025-08-25 14:26:17,488 - INFO - Validated that VN ctest-vn-99852685 is not in any agent 2025-08-25 14:26:17,508 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99852685 info 2025-08-25 14:26:17,762 - DEBUG - No XMPP flaps were noticed during the test 2025-08-25 14:26:17,763 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-25 14:26:17,763 - INFO - -------------------------------------------------------------------------------- 2025-08-25 14:26:18,513 - INFO - Deleted project: ctest-TestBasicPolicy-74966210, ID : 07c65bc4-fa1c-4ea6-b4e1-6b0bbda07f72