2025-07-08 09:53:20,509 - INFO - Domain Default found not creating 2025-07-08 09:53:20,638 - INFO - Project ctest-TestBasicPolicy-55030360 not found, creating it 2025-07-08 09:53:21,072 - INFO - Created Project:ctest-TestBasicPolicy-55030360, ID : 2865c324-c5bd-4243-b93f-f80422ec627d 2025-07-08 09:53:22,430 - INFO - ================================================================================ 2025-07-08 09:53:22,430 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-08 09:53:22,430 - 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-07-08 09:53:22,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-08 09:53:22,693 - INFO - Initial checks done. Running the testcase now 2025-07-08 09:53:22,693 - INFO - 2025-07-08 09:53:23,225 - DEBUG - Response for create_network : {'network': {'id': 'ed78cb9b-680c-41ec-9178-d31178391eed', 'name': 'ctest-vn-72662819', 'tenant_id': '2865c324c5bd4243b93ff80422ec627d', 'project_id': '2865c324c5bd4243b93ff80422ec627d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-vn-72662819'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 09:53:23,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '1984be2c-3017-454d-bc91-1a3e7366d584', 'name': '', 'tenant_id': '2865c324c5bd4243b93ff80422ec627d', 'network_id': 'ed78cb9b-680c-41ec-9178-d31178391eed', 'ip_version': 4, 'cidr': '35.76.54.64/26', 'allocation_pools': [{'start': '35.76.54.66', 'end': '35.76.54.126'}], 'gateway_ip': '35.76.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.76.54.66', 'tags': [], 'project_id': '2865c324c5bd4243b93ff80422ec627d'}} 2025-07-08 09:53:23,429 - INFO - Created VN ctest-vn-72662819 2025-07-08 09:53:23,483 - DEBUG - VN ctest-vn-72662819 UUID is ed78cb9b-680c-41ec-9178-d31178391eed 2025-07-08 09:53:23,753 - DEBUG - Response for create_network : {'network': {'id': '669086e6-03a7-481d-96da-185d42dc879b', 'name': 'ctest-vn-58590890', 'tenant_id': '2865c324c5bd4243b93ff80422ec627d', 'project_id': '2865c324c5bd4243b93ff80422ec627d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-vn-58590890'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 09:53:23,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '7de80d86-3378-4c06-80f1-c3358f75f997', 'name': '', 'tenant_id': '2865c324c5bd4243b93ff80422ec627d', 'network_id': '669086e6-03a7-481d-96da-185d42dc879b', 'ip_version': 4, 'cidr': '112.232.126.0/26', 'allocation_pools': [{'start': '112.232.126.2', 'end': '112.232.126.62'}], 'gateway_ip': '112.232.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.232.126.2', 'tags': [], 'project_id': '2865c324c5bd4243b93ff80422ec627d'}} 2025-07-08 09:53:23,913 - INFO - Created VN ctest-vn-58590890 2025-07-08 09:53:23,967 - DEBUG - VN ctest-vn-58590890 UUID is 669086e6-03a7-481d-96da-185d42dc879b 2025-07-08 09:53:24,118 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-72662819, 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-55030360:ctest-vn-58590890, 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-07-08 09:53:24,414 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed78cb9b-680c-41ec-9178-d31178391eed', 'name': 'ctest-vn-72662819', 'tenant_id': '2865c324c5bd4243b93ff80422ec627d', 'project_id': '2865c324c5bd4243b93ff80422ec627d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1984be2c-3017-454d-bc91-1a3e7366d584'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-vn-72662819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-policy-allow-all-61376937']], 'subnet_ipam': [{'subnet_cidr': '35.76.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 09:53:24,651 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '669086e6-03a7-481d-96da-185d42dc879b', 'name': 'ctest-vn-58590890', 'tenant_id': '2865c324c5bd4243b93ff80422ec627d', 'project_id': '2865c324c5bd4243b93ff80422ec627d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7de80d86-3378-4c06-80f1-c3358f75f997'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-vn-58590890'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-policy-allow-all-61376937']], 'subnet_ipam': [{'subnet_cidr': '112.232.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-08 09:53:24,827 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 09:53:25,125 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 09:53:25,151 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ae6852d9-598e-4d27-99fc-e461ac95bd97 2025-07-08 09:53:25,164 - DEBUG - Requesting: http://10.0.0.50:8082/project/2865c324-c5bd-4243-b93f-f80422ec627d 2025-07-08 09:53:25,232 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed78cb9b-680c-41ec-9178-d31178391eed 2025-07-08 09:53:25,245 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed78cb9b-680c-41ec-9178-d31178391eed 2025-07-08 09:53:25,255 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8389807b-5958-4793-aa5f-8bc049105933 2025-07-08 09:53:25,262 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8389807b-5958-4793-aa5f-8bc049105933 2025-07-08 09:53:25,269 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/844269f5-43aa-4baf-a5d1-9c81723befdd 2025-07-08 09:53:25,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 09:53:25,275 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed78cb9b-680c-41ec-9178-d31178391eed 2025-07-08 09:53:25,284 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8389807b-5958-4793-aa5f-8bc049105933 2025-07-08 09:53:25,297 - INFO - Verified VN network id 8 for VN ed78cb9b-680c-41ec-9178-d31178391eed 2025-07-08 09:53:25,297 - INFO - Verifications in API Server for VN ctest-vn-72662819 passed 2025-07-08 09:53:25,297 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed78cb9b-680c-41ec-9178-d31178391eed 2025-07-08 09:53:25,306 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8389807b-5958-4793-aa5f-8bc049105933 2025-07-08 09:53:25,313 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8389807b-5958-4793-aa5f-8bc049105933 2025-07-08 09:53:25,319 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/844269f5-43aa-4baf-a5d1-9c81723befdd 2025-07-08 09:53:25,332 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-72662819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55030360', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17111650652520202732', 'uuid-lslong': '10482360204689743597'}, 'enable': 'true', 'created': '2025-07-08T09:53:23', 'last-modified': '2025-07-08T09:53:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939018'} 2025-07-08 09:53:25,339 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-08 09:53:25,339 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72662819 passed 2025-07-08 09:53:25,339 - DEBUG - ====Verifying policy data for ctest-vn-72662819 in API_Server ====== 2025-07-08 09:53:25,339 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 09:53:25,344 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ae6852d9-598e-4d27-99fc-e461ac95bd97 2025-07-08 09:53:25,355 - DEBUG - Requesting: http://10.0.0.50:8082/project/2865c324-c5bd-4243-b93f-f80422ec627d 2025-07-08 09:53:25,429 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ed78cb9b-680c-41ec-9178-d31178391eed 2025-07-08 09:53:25,439 - DEBUG - ==>Verifying data for policy with id: 7caa1452-66e1-46bc-935e-dc2d4722621e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-policy-allow-all-61376937'] 2025-07-08 09:53:25,439 - INFO - VN ctest-vn-72662819 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 09:53:25,439 - DEBUG - Verifying the vn in opserver 2025-07-08 09:53:25,439 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-72662819 virtual network link through opserver 10.0.0.50 2025-07-08 09:53:25,440 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-08 09:53:25,730 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-08 09:53:25,785 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-72662819', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-72662819?flat'} 2025-07-08 09:53:25,785 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-72662819 is found in opserver 2025-07-08 09:53:25,796 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 09:53:25,801 - DEBUG - VRF ids for VN ctest-vn-72662819: {} 2025-07-08 09:53:25,801 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 09:53:25,808 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ae6852d9-598e-4d27-99fc-e461ac95bd97 2025-07-08 09:53:25,819 - DEBUG - Requesting: http://10.0.0.50:8082/project/2865c324-c5bd-4243-b93f-f80422ec627d 2025-07-08 09:53:25,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/669086e6-03a7-481d-96da-185d42dc879b 2025-07-08 09:53:25,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/669086e6-03a7-481d-96da-185d42dc879b 2025-07-08 09:53:25,912 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a5233f5-f8dc-4784-bb91-917040ce96dd 2025-07-08 09:53:25,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a5233f5-f8dc-4784-bb91-917040ce96dd 2025-07-08 09:53:25,929 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/acf11f59-094c-4544-a0e8-71ea704300fa 2025-07-08 09:53:25,936 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 09:53:25,936 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/669086e6-03a7-481d-96da-185d42dc879b 2025-07-08 09:53:25,946 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a5233f5-f8dc-4784-bb91-917040ce96dd 2025-07-08 09:53:25,960 - INFO - Verified VN network id 9 for VN 669086e6-03a7-481d-96da-185d42dc879b 2025-07-08 09:53:25,960 - INFO - Verifications in API Server for VN ctest-vn-58590890 passed 2025-07-08 09:53:25,960 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/669086e6-03a7-481d-96da-185d42dc879b 2025-07-08 09:53:25,970 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a5233f5-f8dc-4784-bb91-917040ce96dd 2025-07-08 09:53:25,977 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a5233f5-f8dc-4784-bb91-917040ce96dd 2025-07-08 09:53:25,984 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/acf11f59-094c-4544-a0e8-71ea704300fa 2025-07-08 09:53:25,996 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-58590890', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55030360', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7390555310976878621', 'uuid-lslong': '10870027439444887451'}, 'enable': 'true', 'created': '2025-07-08T09:53:23', 'last-modified': '2025-07-08T09:53:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.360333'} 2025-07-08 09:53:26,003 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-08 09:53:26,003 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58590890 passed 2025-07-08 09:53:26,003 - DEBUG - ====Verifying policy data for ctest-vn-58590890 in API_Server ====== 2025-07-08 09:53:26,003 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 09:53:26,009 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ae6852d9-598e-4d27-99fc-e461ac95bd97 2025-07-08 09:53:26,020 - DEBUG - Requesting: http://10.0.0.50:8082/project/2865c324-c5bd-4243-b93f-f80422ec627d 2025-07-08 09:53:26,086 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/669086e6-03a7-481d-96da-185d42dc879b 2025-07-08 09:53:26,096 - DEBUG - ==>Verifying data for policy with id: 7caa1452-66e1-46bc-935e-dc2d4722621e, fqn: ['default-domain', 'ctest-TestBasicPolicy-55030360', 'ctest-policy-allow-all-61376937'] 2025-07-08 09:53:26,096 - INFO - VN ctest-vn-58590890 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-08 09:53:26,096 - DEBUG - Verifying the vn in opserver 2025-07-08 09:53:26,096 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-58590890 virtual network link through opserver 10.0.0.50 2025-07-08 09:53:26,096 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-08 09:53:26,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-58590890', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-58590890?flat'} 2025-07-08 09:53:26,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-58590890 is found in opserver 2025-07-08 09:53:26,118 - DEBUG - Do not have enough data to verify VN in agent 2025-07-08 09:53:26,123 - DEBUG - VRF ids for VN ctest-vn-58590890: {} 2025-07-08 09:53:26,176 - DEBUG - Services list from nova: [, , ] 2025-07-08 09:53:27,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3611-1) 2025-07-08 09:53:28,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3611-1) 2025-07-08 09:53:28,314 - INFO - Waiting for VM ctest-TestBasicPolicy-55030360-13899003 to be up.. 2025-07-08 09:53:28,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 09:53:33,461 - DEBUG - VM is in ACTIVE state now 2025-07-08 09:53:33,462 - INFO - VM name : ctest-TestBasicPolicy-55030360-13899003 2025-07-08 09:53:33,541 - DEBUG - VM ctest-TestBasicPolicy-55030360-13899003 ID is 8c37b2b1-eb4b-431c-b14a-d21c1dfadf82 2025-07-08 09:53:33,558 - DEBUG - VM ctest-TestBasicPolicy-55030360-13899003 launched on Node cn-jenkins-deploy-platform-ansible-os-3611-1 2025-07-08 09:53:33,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8c37b2b1-eb4b-431c-b14a-d21c1dfadf82 2025-07-08 09:53:33,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/68f5e86b-17a4-4551-bc41-2d6a33511b68 2025-07-08 09:53:36,906 - 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 1024ms') 2025-07-08 09:53:36,906 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55030360-13899003 failed! 2025-07-08 09:53:36,967 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55030360:ctest-vn-72662819 is 35.76.54.65 and allocation pool is NOT set 2025-07-08 09:53:39,031 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.360 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.360/1.576/2.792/1.216 ms') 2025-07-08 09:53:39,031 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55030360-13899003 passed 2025-07-08 09:53:39,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 09:53:39,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55030360-13899003, IP 35.76.54.67, Port 22 2025-07-08 09:53:39,338 - DEBUG - VM ctest-TestBasicPolicy-55030360-13899003 is ready for SSH connections 2025-07-08 09:53:39,339 - INFO - Waiting for VM ctest-TestBasicPolicy-55030360-43365162 to be up.. 2025-07-08 09:53:39,417 - DEBUG - VM is in ACTIVE state now 2025-07-08 09:53:39,417 - INFO - VM name : ctest-TestBasicPolicy-55030360-43365162 2025-07-08 09:53:39,482 - DEBUG - VM ctest-TestBasicPolicy-55030360-43365162 ID is 1e565e9c-eb9d-4407-9927-fbce3b2d5e9a 2025-07-08 09:53:39,482 - DEBUG - VM ctest-TestBasicPolicy-55030360-43365162 launched on Node cn-jenkins-deploy-platform-ansible-os-3611-1 2025-07-08 09:53:39,551 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1e565e9c-eb9d-4407-9927-fbce3b2d5e9a 2025-07-08 09:53:39,559 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/570baa09-e403-41e9-a1e9-e37cadde698b 2025-07-08 09:53:40,797 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/1.689/2.985/1.296 ms') 2025-07-08 09:53:40,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55030360-43365162 passed 2025-07-08 09:53:40,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 09:53:40,951 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55030360-43365162, IP 112.232.126.3, Port 22 2025-07-08 09:53:41,106 - DEBUG - VM ctest-TestBasicPolicy-55030360-43365162 is ready for SSH connections 2025-07-08 09:53:41,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 09:53:41,106 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.232.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-08 09:53:41,106 - DEBUG - ping -s 56 -c 3 -W 1 112.232.126.3 2025-07-08 09:53:44,792 - DEBUG - PING 112.232.126.3 (112.232.126.3): 56 data bytes 64 bytes from 112.232.126.3: seq=0 ttl=63 time=3.456 ms 64 bytes from 112.232.126.3: seq=1 ttl=63 time=0.743 ms 64 bytes from 112.232.126.3: seq=2 ttl=63 time=0.738 ms --- 112.232.126.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/1.645/3.456 ms 2025-07-08 09:53:44,792 - INFO - Ping to IP 112.232.126.3 from VM ctest-TestBasicPolicy-55030360-13899003 passed 2025-07-08 09:53:44,970 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7caa1452-66e1-46bc-935e-dc2d4722621e", "href": "http://10.0.0.50:8082/network-policy/7caa1452-66e1-46bc-935e-dc2d4722621e"}} 2025-07-08 09:53:44,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 09:53:44,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 112.232.126.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-08 09:53:44,971 - DEBUG - ping -s 56 -c 3 -W 1 112.232.126.3 2025-07-08 09:53:48,170 - DEBUG - PING 112.232.126.3 (112.232.126.3): 56 data bytes --- 112.232.126.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-08 09:53:48,170 - WARNING - Ping to IP 112.232.126.3 from VM ctest-TestBasicPolicy-55030360-13899003 failed 2025-07-08 09:53:48,170 - INFO - Deleting VM ctest-TestBasicPolicy-55030360-43365162 2025-07-08 09:53:48,249 - INFO - Deleting VM ctest-TestBasicPolicy-55030360-13899003 2025-07-08 09:53:48,740 - INFO - Deleted policy ctest-policy-allow-all-61376937 2025-07-08 09:53:48,740 - INFO - Deleting VN ctest-vn-58590890 2025-07-08 09:53:48,776 - DEBUG - VN 669086e6-03a7-481d-96da-185d42dc879b still in use: Unable to complete operation on network 669086e6-03a7-481d-96da-185d42dc879b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7bb9949-b99f-413d-b433-3e53ebe4f0b4'] 2025-07-08 09:53:48,776 - WARNING - Deleting VN ctest-vn-58590890 failed..Will retry 2025-07-08 09:53:50,882 - DEBUG - Response for deleting network () 2025-07-08 09:53:50,882 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0a5233f5-f8dc-4784-bb91-917040ce96dd 2025-07-08 09:53:50,889 - DEBUG - Response Code: 404 2025-07-08 09:53:50,889 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 09:53:50,895 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ae6852d9-598e-4d27-99fc-e461ac95bd97 2025-07-08 09:53:50,948 - DEBUG - Requesting: http://10.0.0.50:8082/project/2865c324-c5bd-4243-b93f-f80422ec627d 2025-07-08 09:53:51,021 - INFO - Validated that VN ctest-vn-58590890 is not found in API Server 2025-07-08 09:53:51,032 - DEBUG - VN ctest-vn-58590890 is not present in Agent 10.0.0.50 2025-07-08 09:53:51,032 - INFO - Validated that VN ctest-vn-58590890 is not in any agent 2025-07-08 09:53:51,046 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58590890 info 2025-07-08 09:53:51,047 - INFO - Deleting VN ctest-vn-72662819 2025-07-08 09:53:51,144 - DEBUG - Response for deleting network () 2025-07-08 09:53:51,144 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8389807b-5958-4793-aa5f-8bc049105933 2025-07-08 09:53:51,150 - DEBUG - Response Code: 404 2025-07-08 09:53:51,150 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-08 09:53:51,155 - DEBUG - Requesting: http://10.0.0.50:8082/domain/ae6852d9-598e-4d27-99fc-e461ac95bd97 2025-07-08 09:53:51,208 - DEBUG - Requesting: http://10.0.0.50:8082/project/2865c324-c5bd-4243-b93f-f80422ec627d 2025-07-08 09:53:51,282 - INFO - Validated that VN ctest-vn-72662819 is not found in API Server 2025-07-08 09:53:51,293 - DEBUG - VN ctest-vn-72662819 is not present in Agent 10.0.0.50 2025-07-08 09:53:51,293 - INFO - Validated that VN ctest-vn-72662819 is not in any agent 2025-07-08 09:53:51,308 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72662819 info 2025-07-08 09:53:51,560 - DEBUG - No XMPP flaps were noticed during the test
2025-07-08 09:53:51,560 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-07-08 09:53:51,560 - INFO - -------------------------------------------------------------------------------- 2025-07-08 09:53:52,201 - INFO - Deleted project: ctest-TestBasicPolicy-55030360, ID : 2865c324-c5bd-4243-b93f-f80422ec627d