2025-06-23 22:10:51,576 - INFO - Domain Default found not creating 2025-06-23 22:10:51,689 - INFO - Project ctest-TestBasicPolicy-13439946 not found, creating it 2025-06-23 22:10:52,193 - INFO - Created Project:ctest-TestBasicPolicy-13439946, ID : 6fdbdaf5-51ce-4b63-bac5-169faad0ce2e 2025-06-23 22:10:53,522 - INFO - ================================================================================ 2025-06-23 22:10:53,522 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-23 22:10:53,522 - 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-06-23 22:10:53,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-23 22:10:53,778 - INFO - Initial checks done. Running the testcase now 2025-06-23 22:10:53,778 - INFO - 2025-06-23 22:10:54,281 - DEBUG - Response for create_network : {'network': {'id': '6d09024c-76d3-4778-b889-a247d5560024', 'name': 'ctest-vn-22032282', 'tenant_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'project_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-vn-22032282'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 22:10:54,528 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a19d7850-d6f1-4c01-a12d-d1ef44aca192', 'name': '', 'tenant_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'network_id': '6d09024c-76d3-4778-b889-a247d5560024', 'ip_version': 4, 'cidr': '99.42.6.0/26', 'allocation_pools': [{'start': '99.42.6.2', 'end': '99.42.6.62'}], 'gateway_ip': '99.42.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.42.6.2', 'tags': [], 'project_id': '6fdbdaf551ce4b63bac5169faad0ce2e'}} 2025-06-23 22:10:54,543 - INFO - Created VN ctest-vn-22032282 2025-06-23 22:10:54,593 - DEBUG - VN ctest-vn-22032282 UUID is 6d09024c-76d3-4778-b889-a247d5560024 2025-06-23 22:10:54,879 - DEBUG - Response for create_network : {'network': {'id': 'd4865738-0f18-4d25-b400-be83c1054627', 'name': 'ctest-vn-87801216', 'tenant_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'project_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-vn-87801216'], 'port_security_enabled': True, 'description': ''}} 2025-06-23 22:10:55,041 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cea6b9cd-8445-41c0-ace7-b1e9153b4093', 'name': '', 'tenant_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'network_id': 'd4865738-0f18-4d25-b400-be83c1054627', 'ip_version': 4, 'cidr': '87.190.211.192/26', 'allocation_pools': [{'start': '87.190.211.194', 'end': '87.190.211.254'}], 'gateway_ip': '87.190.211.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.190.211.194', 'tags': [], 'project_id': '6fdbdaf551ce4b63bac5169faad0ce2e'}} 2025-06-23 22:10:55,056 - INFO - Created VN ctest-vn-87801216 2025-06-23 22:10:55,105 - DEBUG - VN ctest-vn-87801216 UUID is d4865738-0f18-4d25-b400-be83c1054627 2025-06-23 22:10:55,241 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-22032282, 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-13439946:ctest-vn-87801216, 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-06-23 22:10:55,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d09024c-76d3-4778-b889-a247d5560024', 'name': 'ctest-vn-22032282', 'tenant_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'project_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a19d7850-d6f1-4c01-a12d-d1ef44aca192'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-vn-22032282'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-policy-allow-all-22895117']], 'subnet_ipam': [{'subnet_cidr': '99.42.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 22:10:55,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4865738-0f18-4d25-b400-be83c1054627', 'name': 'ctest-vn-87801216', 'tenant_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'project_id': '6fdbdaf551ce4b63bac5169faad0ce2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cea6b9cd-8445-41c0-ace7-b1e9153b4093'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-vn-87801216'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-policy-allow-all-22895117']], 'subnet_ipam': [{'subnet_cidr': '87.190.211.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-23 22:10:55,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 22:10:56,161 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 22:10:56,185 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960 2025-06-23 22:10:56,197 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fdbdaf5-51ce-4b63-bac5-169faad0ce2e 2025-06-23 22:10:56,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d09024c-76d3-4778-b889-a247d5560024 2025-06-23 22:10:56,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d09024c-76d3-4778-b889-a247d5560024 2025-06-23 22:10:56,285 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4d901fb-8ee1-4a51-b74b-4bdd8ce0137e 2025-06-23 22:10:56,291 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4d901fb-8ee1-4a51-b74b-4bdd8ce0137e 2025-06-23 22:10:56,297 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b615f122-c5a2-47cc-aac0-acfd02e0afd5 2025-06-23 22:10:56,302 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 22:10:56,302 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d09024c-76d3-4778-b889-a247d5560024 2025-06-23 22:10:56,310 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4d901fb-8ee1-4a51-b74b-4bdd8ce0137e 2025-06-23 22:10:56,324 - INFO - Verified VN network id 9 for VN 6d09024c-76d3-4778-b889-a247d5560024 2025-06-23 22:10:56,324 - INFO - Verifications in API Server for VN ctest-vn-22032282 passed 2025-06-23 22:10:56,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d09024c-76d3-4778-b889-a247d5560024 2025-06-23 22:10:56,332 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4d901fb-8ee1-4a51-b74b-4bdd8ce0137e 2025-06-23 22:10:56,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4d901fb-8ee1-4a51-b74b-4bdd8ce0137e 2025-06-23 22:10:56,343 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b615f122-c5a2-47cc-aac0-acfd02e0afd5 2025-06-23 22:10:56,354 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-22032282', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13439946', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7856813552358868856', 'uuid-lslong': '13297337804193660964'}, 'enable': 'true', 'created': '2025-06-23T22:10:54', 'last-modified': '2025-06-23T22:10:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.856557'} 2025-06-23 22:10:56,360 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-23 22:10:56,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22032282 passed 2025-06-23 22:10:56,360 - DEBUG - ====Verifying policy data for ctest-vn-22032282 in API_Server ====== 2025-06-23 22:10:56,360 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 22:10:56,364 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960 2025-06-23 22:10:56,375 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fdbdaf5-51ce-4b63-bac5-169faad0ce2e 2025-06-23 22:10:56,440 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d09024c-76d3-4778-b889-a247d5560024 2025-06-23 22:10:56,449 - DEBUG - ==>Verifying data for policy with id: 165e4961-5c3c-4008-9417-b4b15aaf811f, fqn: ['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-policy-allow-all-22895117'] 2025-06-23 22:10:56,449 - INFO - VN ctest-vn-22032282 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 22:10:56,449 - DEBUG - Verifying the vn in opserver 2025-06-23 22:10:56,449 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-22032282 virtual network link through opserver 10.0.0.38 2025-06-23 22:10:56,449 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-23 22:10:56,736 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-23 22:10:56,782 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-22032282', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-22032282?flat'} 2025-06-23 22:10:56,782 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-22032282 is found in opserver 2025-06-23 22:10:56,792 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 22:10:56,797 - DEBUG - VRF ids for VN ctest-vn-22032282: {} 2025-06-23 22:10:56,797 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 22:10:56,803 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960 2025-06-23 22:10:56,813 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fdbdaf5-51ce-4b63-bac5-169faad0ce2e 2025-06-23 22:10:56,882 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4865738-0f18-4d25-b400-be83c1054627 2025-06-23 22:10:56,893 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4865738-0f18-4d25-b400-be83c1054627 2025-06-23 22:10:56,902 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc1b6467-bdde-4d36-be30-b8cd8ca1d533 2025-06-23 22:10:56,908 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc1b6467-bdde-4d36-be30-b8cd8ca1d533 2025-06-23 22:10:56,914 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a10b812-93a2-4c4a-952f-0623020a9d4e 2025-06-23 22:10:56,919 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 22:10:56,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4865738-0f18-4d25-b400-be83c1054627 2025-06-23 22:10:56,928 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc1b6467-bdde-4d36-be30-b8cd8ca1d533 2025-06-23 22:10:56,940 - INFO - Verified VN network id 10 for VN d4865738-0f18-4d25-b400-be83c1054627 2025-06-23 22:10:56,940 - INFO - Verifications in API Server for VN ctest-vn-87801216 passed 2025-06-23 22:10:56,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4865738-0f18-4d25-b400-be83c1054627 2025-06-23 22:10:56,948 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc1b6467-bdde-4d36-be30-b8cd8ca1d533 2025-06-23 22:10:56,953 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc1b6467-bdde-4d36-be30-b8cd8ca1d533 2025-06-23 22:10:56,959 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8a10b812-93a2-4c4a-952f-0623020a9d4e 2025-06-23 22:10:56,970 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-87801216', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13439946', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15314023481202986277', 'uuid-lslong': '12970576399915370023'}, 'enable': 'true', 'created': '2025-06-23T22:10:54', 'last-modified': '2025-06-23T22:10:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.260488'} 2025-06-23 22:10:56,976 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-23 22:10:56,976 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87801216 passed 2025-06-23 22:10:56,976 - DEBUG - ====Verifying policy data for ctest-vn-87801216 in API_Server ====== 2025-06-23 22:10:56,976 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 22:10:56,981 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960 2025-06-23 22:10:56,991 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fdbdaf5-51ce-4b63-bac5-169faad0ce2e 2025-06-23 22:10:57,061 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d4865738-0f18-4d25-b400-be83c1054627 2025-06-23 22:10:57,070 - DEBUG - ==>Verifying data for policy with id: 165e4961-5c3c-4008-9417-b4b15aaf811f, fqn: ['default-domain', 'ctest-TestBasicPolicy-13439946', 'ctest-policy-allow-all-22895117'] 2025-06-23 22:10:57,070 - INFO - VN ctest-vn-87801216 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-23 22:10:57,070 - DEBUG - Verifying the vn in opserver 2025-06-23 22:10:57,070 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-87801216 virtual network link through opserver 10.0.0.38 2025-06-23 22:10:57,070 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-23 22:10:57,079 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-87801216', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-87801216?flat'} 2025-06-23 22:10:57,079 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-87801216 is found in opserver 2025-06-23 22:10:57,089 - DEBUG - Do not have enough data to verify VN in agent 2025-06-23 22:10:57,093 - DEBUG - VRF ids for VN ctest-vn-87801216: {} 2025-06-23 22:10:57,143 - DEBUG - Services list from nova: [, , ] 2025-06-23 22:10:58,145 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3526-1) 2025-06-23 22:10:59,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3526-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3526-1) 2025-06-23 22:10:59,276 - INFO - Waiting for VM ctest-TestBasicPolicy-13439946-30124406 to be up.. 2025-06-23 22:10:59,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 22:11:04,406 - DEBUG - VM is in ACTIVE state now 2025-06-23 22:11:04,406 - INFO - VM name : ctest-TestBasicPolicy-13439946-30124406 2025-06-23 22:11:04,470 - DEBUG - VM ctest-TestBasicPolicy-13439946-30124406 ID is 7b77f431-e8c1-4e9f-aa67-335a97d5724f 2025-06-23 22:11:04,486 - DEBUG - VM ctest-TestBasicPolicy-13439946-30124406 launched on Node cn-jenkins-deploy-platform-ansible-os-3526-1 2025-06-23 22:11:04,551 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7b77f431-e8c1-4e9f-aa67-335a97d5724f 2025-06-23 22:11:04,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1cb9278b-118c-4813-a758-7244d52ac391 2025-06-23 22:11:07,809 - 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 1023ms') 2025-06-23 22:11:07,810 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13439946-30124406 failed! 2025-06-23 22:11:07,861 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13439946:ctest-vn-22032282 is 99.42.6.1 and allocation pool is NOT set 2025-06-23 22:11:09,917 - 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=2.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.319 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.319/1.274/2.229/0.955 ms') 2025-06-23 22:11:09,917 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13439946-30124406 passed 2025-06-23 22:11:10,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 22:11:10,065 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13439946-30124406, IP 99.42.6.3, Port 22 2025-06-23 22:11:10,220 - DEBUG - VM ctest-TestBasicPolicy-13439946-30124406 is ready for SSH connections 2025-06-23 22:11:10,220 - INFO - Waiting for VM ctest-TestBasicPolicy-13439946-88321333 to be up.. 2025-06-23 22:11:10,284 - DEBUG - VM is in ACTIVE state now 2025-06-23 22:11:10,285 - INFO - VM name : ctest-TestBasicPolicy-13439946-88321333 2025-06-23 22:11:10,343 - DEBUG - VM ctest-TestBasicPolicy-13439946-88321333 ID is 4f0c19f0-06f8-4e95-bf22-537dd5ec491a 2025-06-23 22:11:10,343 - DEBUG - VM ctest-TestBasicPolicy-13439946-88321333 launched on Node cn-jenkins-deploy-platform-ansible-os-3526-1 2025-06-23 22:11:10,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f0c19f0-06f8-4e95-bf22-537dd5ec491a 2025-06-23 22:11:10,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/911ff1b8-acb9-48ea-9ee2-885a6323da7d 2025-06-23 22:11:11,645 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.310 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.310/1.594/2.878/1.284 ms') 2025-06-23 22:11:11,645 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13439946-88321333 passed 2025-06-23 22:11:11,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 22:11:11,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13439946-88321333, IP 87.190.211.195, Port 22 2025-06-23 22:11:11,949 - DEBUG - VM ctest-TestBasicPolicy-13439946-88321333 is ready for SSH connections 2025-06-23 22:11:11,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 22:11:11,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.190.211.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-23 22:11:11,949 - DEBUG - ping -s 56 -c 3 -W 1 87.190.211.195 2025-06-23 22:11:15,863 - DEBUG - PING 87.190.211.195 (87.190.211.195): 56 data bytes 64 bytes from 87.190.211.195: seq=0 ttl=63 time=3.212 ms 64 bytes from 87.190.211.195: seq=1 ttl=63 time=0.721 ms 64 bytes from 87.190.211.195: seq=2 ttl=63 time=0.719 ms --- 87.190.211.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.550/3.212 ms 2025-06-23 22:11:15,863 - INFO - Ping to IP 87.190.211.195 from VM ctest-TestBasicPolicy-13439946-30124406 passed 2025-06-23 22:11:16,029 - DEBUG - Policy Update Response {"network-policy": {"uuid": "165e4961-5c3c-4008-9417-b4b15aaf811f", "href": "http://10.0.0.38:8082/network-policy/165e4961-5c3c-4008-9417-b4b15aaf811f"}} 2025-06-23 22:11:16,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 22:11:16,029 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.190.211.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-23 22:11:16,029 - DEBUG - ping -s 56 -c 3 -W 1 87.190.211.195 2025-06-23 22:11:19,233 - DEBUG - PING 87.190.211.195 (87.190.211.195): 56 data bytes --- 87.190.211.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-23 22:11:19,233 - WARNING - Ping to IP 87.190.211.195 from VM ctest-TestBasicPolicy-13439946-30124406 failed 2025-06-23 22:11:19,233 - INFO - Deleting VM ctest-TestBasicPolicy-13439946-88321333 2025-06-23 22:11:19,287 - INFO - Deleting VM ctest-TestBasicPolicy-13439946-30124406 2025-06-23 22:11:19,626 - INFO - Deleted policy ctest-policy-allow-all-22895117 2025-06-23 22:11:19,626 - INFO - Deleting VN ctest-vn-87801216 2025-06-23 22:11:19,654 - DEBUG - VN d4865738-0f18-4d25-b400-be83c1054627 still in use: Unable to complete operation on network d4865738-0f18-4d25-b400-be83c1054627. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed4faaed-fbb6-4481-a682-7c3f71be7d11'] 2025-06-23 22:11:19,654 - WARNING - Deleting VN ctest-vn-87801216 failed..Will retry 2025-06-23 22:11:21,746 - DEBUG - Response for deleting network () 2025-06-23 22:11:21,746 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bc1b6467-bdde-4d36-be30-b8cd8ca1d533 2025-06-23 22:11:21,751 - DEBUG - Response Code: 404 2025-06-23 22:11:21,751 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 22:11:21,759 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960 2025-06-23 22:11:21,810 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fdbdaf5-51ce-4b63-bac5-169faad0ce2e 2025-06-23 22:11:21,878 - INFO - Validated that VN ctest-vn-87801216 is not found in API Server 2025-06-23 22:11:21,889 - DEBUG - VN ctest-vn-87801216 is not present in Agent 10.0.0.38 2025-06-23 22:11:21,889 - INFO - Validated that VN ctest-vn-87801216 is not in any agent 2025-06-23 22:11:21,903 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87801216 info 2025-06-23 22:11:21,903 - INFO - Deleting VN ctest-vn-22032282 2025-06-23 22:11:21,991 - DEBUG - Response for deleting network () 2025-06-23 22:11:21,991 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d4d901fb-8ee1-4a51-b74b-4bdd8ce0137e 2025-06-23 22:11:21,998 - DEBUG - Response Code: 404 2025-06-23 22:11:21,998 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-23 22:11:22,003 - DEBUG - Requesting: http://10.0.0.38:8082/domain/4cbe0ed7-ac14-48a4-949a-577e5f54f960 2025-06-23 22:11:22,053 - DEBUG - Requesting: http://10.0.0.38:8082/project/6fdbdaf5-51ce-4b63-bac5-169faad0ce2e 2025-06-23 22:11:22,126 - INFO - Validated that VN ctest-vn-22032282 is not found in API Server 2025-06-23 22:11:22,137 - DEBUG - VN ctest-vn-22032282 is not present in Agent 10.0.0.38 2025-06-23 22:11:22,137 - INFO - Validated that VN ctest-vn-22032282 is not in any agent 2025-06-23 22:11:22,151 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22032282 info 2025-06-23 22:11:22,410 - DEBUG - No XMPP flaps were noticed during the test 2025-06-23 22:11:22,411 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-06-23 22:11:22,411 - INFO - -------------------------------------------------------------------------------- 2025-06-23 22:11:23,052 - INFO - Deleted project: ctest-TestBasicPolicy-13439946, ID : 6fdbdaf5-51ce-4b63-bac5-169faad0ce2e