2025-09-15 02:10:04,087 - INFO - Domain Default found not creating 2025-09-15 02:10:04,224 - INFO - Project ctest-TestBasicPolicy-95934497 not found, creating it 2025-09-15 02:10:04,729 - INFO - Created Project:ctest-TestBasicPolicy-95934497, ID : 987c3a01-598a-40c2-9c09-f4e3ed5a2423 2025-09-15 02:10:06,187 - INFO - ================================================================================ 2025-09-15 02:10:06,187 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-15 02:10:06,187 - 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-09-15 02:10:06,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.249': '0'}} with 2025-09-15 02:10:06,448 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:10:06,448 - INFO - 2025-09-15 02:10:06,982 - DEBUG - Response for create_network : {'network': {'id': 'e83d3f62-4857-4f92-942d-a45188984931', 'name': 'ctest-vn-20126557', 'tenant_id': '987c3a01598a40c29c09f4e3ed5a2423', 'project_id': '987c3a01598a40c29c09f4e3ed5a2423', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-vn-20126557'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:10:07,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b031142d-c623-4dd4-910c-e532fcd441cc', 'name': '', 'tenant_id': '987c3a01598a40c29c09f4e3ed5a2423', 'network_id': 'e83d3f62-4857-4f92-942d-a45188984931', 'ip_version': 4, 'cidr': '213.47.238.0/26', 'allocation_pools': [{'start': '213.47.238.2', 'end': '213.47.238.62'}], 'gateway_ip': '213.47.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.47.238.2', 'tags': [], 'project_id': '987c3a01598a40c29c09f4e3ed5a2423'}} 2025-09-15 02:10:07,197 - INFO - Created VN ctest-vn-20126557 2025-09-15 02:10:07,249 - DEBUG - VN ctest-vn-20126557 UUID is e83d3f62-4857-4f92-942d-a45188984931 2025-09-15 02:10:07,583 - DEBUG - Response for create_network : {'network': {'id': '46434280-e987-4401-94af-96cdf3a5c162', 'name': 'ctest-vn-15809161', 'tenant_id': '987c3a01598a40c29c09f4e3ed5a2423', 'project_id': '987c3a01598a40c29c09f4e3ed5a2423', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-vn-15809161'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:10:07,794 - DEBUG - Response for create_subnet : {'subnet': {'id': '66d7da57-91e7-4d41-adf9-cb08849cc664', 'name': '', 'tenant_id': '987c3a01598a40c29c09f4e3ed5a2423', 'network_id': '46434280-e987-4401-94af-96cdf3a5c162', 'ip_version': 4, 'cidr': '82.48.145.64/26', 'allocation_pools': [{'start': '82.48.145.66', 'end': '82.48.145.126'}], 'gateway_ip': '82.48.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.48.145.66', 'tags': [], 'project_id': '987c3a01598a40c29c09f4e3ed5a2423'}} 2025-09-15 02:10:07,813 - INFO - Created VN ctest-vn-15809161 2025-09-15 02:10:07,865 - DEBUG - VN ctest-vn-15809161 UUID is 46434280-e987-4401-94af-96cdf3a5c162 2025-09-15 02:10:08,013 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-20126557, 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-95934497:ctest-vn-15809161, 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-09-15 02:10:08,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e83d3f62-4857-4f92-942d-a45188984931', 'name': 'ctest-vn-20126557', 'tenant_id': '987c3a01598a40c29c09f4e3ed5a2423', 'project_id': '987c3a01598a40c29c09f4e3ed5a2423', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b031142d-c623-4dd4-910c-e532fcd441cc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-vn-20126557'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-policy-allow-all-65885527']], 'subnet_ipam': [{'subnet_cidr': '213.47.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:10:08,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46434280-e987-4401-94af-96cdf3a5c162', 'name': 'ctest-vn-15809161', 'tenant_id': '987c3a01598a40c29c09f4e3ed5a2423', 'project_id': '987c3a01598a40c29c09f4e3ed5a2423', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['66d7da57-91e7-4d41-adf9-cb08849cc664'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-vn-15809161'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-policy-allow-all-65885527']], 'subnet_ipam': [{'subnet_cidr': '82.48.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:10:08,717 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-15 02:10:09,009 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-15 02:10:09,034 - DEBUG - Requesting: http://10.0.0.141:8082/domain/378cc995-6219-495f-a260-3d3cddf6d01c 2025-09-15 02:10:09,045 - DEBUG - Requesting: http://10.0.0.141:8082/project/987c3a01-598a-40c2-9c09-f4e3ed5a2423 2025-09-15 02:10:09,113 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e83d3f62-4857-4f92-942d-a45188984931 2025-09-15 02:10:09,124 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e83d3f62-4857-4f92-942d-a45188984931 2025-09-15 02:10:09,132 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/864e3166-3bec-427c-a737-d14d5c37e8be 2025-09-15 02:10:09,139 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/864e3166-3bec-427c-a737-d14d5c37e8be 2025-09-15 02:10:09,145 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a28537cb-e6a6-472d-8b64-c1634f13b13d 2025-09-15 02:10:09,151 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 02:10:09,151 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e83d3f62-4857-4f92-942d-a45188984931 2025-09-15 02:10:09,158 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/864e3166-3bec-427c-a737-d14d5c37e8be 2025-09-15 02:10:09,171 - INFO - Verified VN network id 11 for VN e83d3f62-4857-4f92-942d-a45188984931 2025-09-15 02:10:09,171 - INFO - Verifications in API Server for VN ctest-vn-20126557 passed 2025-09-15 02:10:09,171 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e83d3f62-4857-4f92-942d-a45188984931 2025-09-15 02:10:09,179 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/864e3166-3bec-427c-a737-d14d5c37e8be 2025-09-15 02:10:09,185 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/864e3166-3bec-427c-a737-d14d5c37e8be 2025-09-15 02:10:09,193 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/a28537cb-e6a6-472d-8b64-c1634f13b13d 2025-09-15 02:10:09,203 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-20126557', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95934497', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16734601481731657618', 'uuid-lslong': '10677370961656301873'}, 'enable': 'true', 'created': '2025-09-15T02:10:06', 'last-modified': '2025-09-15T02:10:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923091'} 2025-09-15 02:10:09,210 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 02:10:09,211 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20126557 passed 2025-09-15 02:10:09,211 - DEBUG - ====Verifying policy data for ctest-vn-20126557 in API_Server ====== 2025-09-15 02:10:09,211 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-15 02:10:09,216 - DEBUG - Requesting: http://10.0.0.141:8082/domain/378cc995-6219-495f-a260-3d3cddf6d01c 2025-09-15 02:10:09,225 - DEBUG - Requesting: http://10.0.0.141:8082/project/987c3a01-598a-40c2-9c09-f4e3ed5a2423 2025-09-15 02:10:09,292 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e83d3f62-4857-4f92-942d-a45188984931 2025-09-15 02:10:09,300 - DEBUG - ==>Verifying data for policy with id: f5202fa4-5adf-4eaf-9d3a-f00cea60d877, fqn: ['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-policy-allow-all-65885527'] 2025-09-15 02:10:09,300 - INFO - VN ctest-vn-20126557 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 02:10:09,300 - DEBUG - Verifying the vn in opserver 2025-09-15 02:10:09,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-20126557 virtual network link through opserver 10.0.0.141 2025-09-15 02:10:09,300 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-09-15 02:10:09,590 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-09-15 02:10:09,639 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-20126557', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-20126557?flat'} 2025-09-15 02:10:09,639 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-20126557 is found in opserver 2025-09-15 02:10:09,647 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 02:10:09,651 - DEBUG - VRF ids for VN ctest-vn-20126557: {} 2025-09-15 02:10:09,652 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-15 02:10:09,656 - DEBUG - Requesting: http://10.0.0.141:8082/domain/378cc995-6219-495f-a260-3d3cddf6d01c 2025-09-15 02:10:09,666 - DEBUG - Requesting: http://10.0.0.141:8082/project/987c3a01-598a-40c2-9c09-f4e3ed5a2423 2025-09-15 02:10:09,733 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46434280-e987-4401-94af-96cdf3a5c162 2025-09-15 02:10:09,743 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46434280-e987-4401-94af-96cdf3a5c162 2025-09-15 02:10:09,751 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d582764d-8857-4ff5-8b1c-9056fc198d59 2025-09-15 02:10:09,757 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d582764d-8857-4ff5-8b1c-9056fc198d59 2025-09-15 02:10:09,763 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c18cdcdb-ca27-4059-b531-a6554754fe6a 2025-09-15 02:10:09,769 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 02:10:09,769 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46434280-e987-4401-94af-96cdf3a5c162 2025-09-15 02:10:09,777 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d582764d-8857-4ff5-8b1c-9056fc198d59 2025-09-15 02:10:09,789 - INFO - Verified VN network id 12 for VN 46434280-e987-4401-94af-96cdf3a5c162 2025-09-15 02:10:09,789 - INFO - Verifications in API Server for VN ctest-vn-15809161 passed 2025-09-15 02:10:09,789 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46434280-e987-4401-94af-96cdf3a5c162 2025-09-15 02:10:09,797 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d582764d-8857-4ff5-8b1c-9056fc198d59 2025-09-15 02:10:09,803 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d582764d-8857-4ff5-8b1c-9056fc198d59 2025-09-15 02:10:09,808 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/c18cdcdb-ca27-4059-b531-a6554754fe6a 2025-09-15 02:10:09,818 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-15809161', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95934497', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5062963527535772673', 'uuid-lslong': '10713947849837887842'}, 'enable': 'true', 'created': '2025-09-15T02:10:07', 'last-modified': '2025-09-15T02:10:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312362'} 2025-09-15 02:10:09,823 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 02:10:09,823 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15809161 passed 2025-09-15 02:10:09,823 - DEBUG - ====Verifying policy data for ctest-vn-15809161 in API_Server ====== 2025-09-15 02:10:09,823 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-15 02:10:09,828 - DEBUG - Requesting: http://10.0.0.141:8082/domain/378cc995-6219-495f-a260-3d3cddf6d01c 2025-09-15 02:10:09,836 - DEBUG - Requesting: http://10.0.0.141:8082/project/987c3a01-598a-40c2-9c09-f4e3ed5a2423 2025-09-15 02:10:09,904 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/46434280-e987-4401-94af-96cdf3a5c162 2025-09-15 02:10:09,913 - DEBUG - ==>Verifying data for policy with id: f5202fa4-5adf-4eaf-9d3a-f00cea60d877, fqn: ['default-domain', 'ctest-TestBasicPolicy-95934497', 'ctest-policy-allow-all-65885527'] 2025-09-15 02:10:09,913 - INFO - VN ctest-vn-15809161 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 02:10:09,913 - DEBUG - Verifying the vn in opserver 2025-09-15 02:10:09,913 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-15809161 virtual network link through opserver 10.0.0.141 2025-09-15 02:10:09,913 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-09-15 02:10:09,921 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-15809161', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-15809161?flat'} 2025-09-15 02:10:09,921 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-15809161 is found in opserver 2025-09-15 02:10:09,929 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 02:10:09,934 - DEBUG - VRF ids for VN ctest-vn-15809161: {} 2025-09-15 02:10:09,987 - DEBUG - Services list from nova: [, , ] 2025-09-15 02:10:10,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4109-1) 2025-09-15 02:10:12,088 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4109-1) 2025-09-15 02:10:12,088 - INFO - Waiting for VM ctest-TestBasicPolicy-95934497-68773411 to be up.. 2025-09-15 02:10:12,161 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 02:10:17,244 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:10:17,244 - INFO - VM name : ctest-TestBasicPolicy-95934497-68773411 2025-09-15 02:10:17,320 - DEBUG - VM ctest-TestBasicPolicy-95934497-68773411 ID is 44a83a88-1766-4c74-846d-a633b97ab6ed 2025-09-15 02:10:17,340 - DEBUG - VM ctest-TestBasicPolicy-95934497-68773411 launched on Node cn-jenkins-deploy-platform-ansible-os-4109-1 2025-09-15 02:10:17,414 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/44a83a88-1766-4c74-846d-a633b97ab6ed 2025-09-15 02:10:17,424 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b3e5c205-b47f-47b1-9657-36c82ec159e6 2025-09-15 02:10:20,670 - 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-09-15 02:10:20,671 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95934497-68773411 failed! 2025-09-15 02:10:20,725 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95934497:ctest-vn-20126557 is 213.47.238.1 and allocation pool is NOT set 2025-09-15 02:10:22,789 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.547 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 = 0.547/4.982/9.418/4.435 ms') 2025-09-15 02:10:22,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95934497-68773411 passed 2025-09-15 02:10:22,941 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:10:22,941 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95934497-68773411, IP 213.47.238.3, Port 22 2025-09-15 02:10:23,108 - DEBUG - VM ctest-TestBasicPolicy-95934497-68773411 is ready for SSH connections 2025-09-15 02:10:23,108 - INFO - Waiting for VM ctest-TestBasicPolicy-95934497-58053932 to be up.. 2025-09-15 02:10:23,182 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:10:23,182 - INFO - VM name : ctest-TestBasicPolicy-95934497-58053932 2025-09-15 02:10:23,250 - DEBUG - VM ctest-TestBasicPolicy-95934497-58053932 ID is f5567dfd-37d2-4f65-90db-56afda6e4361 2025-09-15 02:10:23,250 - DEBUG - VM ctest-TestBasicPolicy-95934497-58053932 launched on Node cn-jenkins-deploy-platform-ansible-os-4109-1 2025-09-15 02:10:23,326 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f5567dfd-37d2-4f65-90db-56afda6e4361 2025-09-15 02:10:23,335 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/c48f423a-e031-426d-9fa5-4fd7525333be 2025-09-15 02:10:24,582 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 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.149/2.933/4.718/1.784 ms') 2025-09-15 02:10:24,582 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95934497-58053932 passed 2025-09-15 02:10:24,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:10:24,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95934497-58053932, IP 82.48.145.67, Port 22 2025-09-15 02:10:24,885 - DEBUG - VM ctest-TestBasicPolicy-95934497-58053932 is ready for SSH connections 2025-09-15 02:10:24,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:10:24,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.48.145.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-15 02:10:24,885 - DEBUG - ping -s 56 -c 3 -W 1 82.48.145.67 2025-09-15 02:10:28,893 - DEBUG - PING 82.48.145.67 (82.48.145.67): 56 data bytes 64 bytes from 82.48.145.67: seq=0 ttl=63 time=3.808 ms 64 bytes from 82.48.145.67: seq=1 ttl=63 time=0.753 ms 64 bytes from 82.48.145.67: seq=2 ttl=63 time=0.778 ms --- 82.48.145.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/1.779/3.808 ms 2025-09-15 02:10:28,893 - INFO - Ping to IP 82.48.145.67 from VM ctest-TestBasicPolicy-95934497-68773411 passed 2025-09-15 02:10:29,073 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f5202fa4-5adf-4eaf-9d3a-f00cea60d877", "href": "http://10.0.0.141:8082/network-policy/f5202fa4-5adf-4eaf-9d3a-f00cea60d877"}} 2025-09-15 02:10:29,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:10:29,073 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.48.145.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-15 02:10:29,073 - DEBUG - ping -s 56 -c 3 -W 1 82.48.145.67 2025-09-15 02:10:32,337 - DEBUG - PING 82.48.145.67 (82.48.145.67): 56 data bytes --- 82.48.145.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 02:10:32,337 - WARNING - Ping to IP 82.48.145.67 from VM ctest-TestBasicPolicy-95934497-68773411 failed 2025-09-15 02:10:32,338 - INFO - Deleting VM ctest-TestBasicPolicy-95934497-58053932 2025-09-15 02:10:32,404 - INFO - Deleting VM ctest-TestBasicPolicy-95934497-68773411 2025-09-15 02:10:32,772 - INFO - Deleted policy ctest-policy-allow-all-65885527 2025-09-15 02:10:32,772 - INFO - Deleting VN ctest-vn-15809161 2025-09-15 02:10:32,807 - DEBUG - VN 46434280-e987-4401-94af-96cdf3a5c162 still in use: Unable to complete operation on network 46434280-e987-4401-94af-96cdf3a5c162. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b39ecc5d-49e2-4323-9f75-a94350856492'] 2025-09-15 02:10:32,807 - WARNING - Deleting VN ctest-vn-15809161 failed..Will retry 2025-09-15 02:10:34,911 - DEBUG - Response for deleting network () 2025-09-15 02:10:34,912 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d582764d-8857-4ff5-8b1c-9056fc198d59 2025-09-15 02:10:34,917 - DEBUG - Response Code: 404 2025-09-15 02:10:34,917 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-15 02:10:34,921 - DEBUG - Requesting: http://10.0.0.141:8082/domain/378cc995-6219-495f-a260-3d3cddf6d01c 2025-09-15 02:10:34,978 - DEBUG - Requesting: http://10.0.0.141:8082/project/987c3a01-598a-40c2-9c09-f4e3ed5a2423 2025-09-15 02:10:35,048 - INFO - Validated that VN ctest-vn-15809161 is not found in API Server 2025-09-15 02:10:35,056 - DEBUG - VN ctest-vn-15809161 is not present in Agent 10.0.0.141 2025-09-15 02:10:35,057 - INFO - Validated that VN ctest-vn-15809161 is not in any agent 2025-09-15 02:10:35,069 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15809161 info 2025-09-15 02:10:35,069 - INFO - Deleting VN ctest-vn-20126557 2025-09-15 02:10:35,164 - DEBUG - Response for deleting network () 2025-09-15 02:10:35,164 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/864e3166-3bec-427c-a737-d14d5c37e8be 2025-09-15 02:10:35,171 - DEBUG - Response Code: 404 2025-09-15 02:10:35,171 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-09-15 02:10:35,177 - DEBUG - Requesting: http://10.0.0.141:8082/domain/378cc995-6219-495f-a260-3d3cddf6d01c 2025-09-15 02:10:35,234 - DEBUG - Requesting: http://10.0.0.141:8082/project/987c3a01-598a-40c2-9c09-f4e3ed5a2423 2025-09-15 02:10:35,301 - INFO - Validated that VN ctest-vn-20126557 is not found in API Server 2025-09-15 02:10:35,310 - DEBUG - VN ctest-vn-20126557 is not present in Agent 10.0.0.141 2025-09-15 02:10:35,310 - INFO - Validated that VN ctest-vn-20126557 is not in any agent 2025-09-15 02:10:35,323 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20126557 info 2025-09-15 02:10:35,578 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 02:10:35,578 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-15 02:10:35,578 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:10:36,223 - INFO - Deleted project: ctest-TestBasicPolicy-95934497, ID : 987c3a01-598a-40c2-9c09-f4e3ed5a2423