2026-07-18 05:51:29,804 - INFO - Domain Default found not creating 2026-07-18 05:51:29,982 - INFO - Project ctest-TestBasicPolicy-10726457 not found, creating it 2026-07-18 05:51:30,469 - INFO - Created Project:ctest-TestBasicPolicy-10726457, ID : 38f4a8c1-49f2-4cca-849f-3942456f7add 2026-07-18 05:51:32,222 - INFO - ================================================================================ 2026-07-18 05:51:32,222 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-18 05:51:32,222 - 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 2026-07-18 05:51:32,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-18 05:51:32,494 - INFO - Initial checks done. Running the testcase now 2026-07-18 05:51:32,494 - INFO - 2026-07-18 05:51:33,149 - DEBUG - Response for create_network : {'network': {'id': 'e104a385-bd51-4736-934b-1901b47493e0', 'name': 'ctest-vn-87823824', 'tenant_id': '38f4a8c149f24cca849f3942456f7add', 'project_id': '38f4a8c149f24cca849f3942456f7add', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-vn-87823824'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 05:51:33,357 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2cf38bb-bfb7-41d9-808a-d0960d4ae94c', 'name': '', 'tenant_id': '38f4a8c149f24cca849f3942456f7add', 'network_id': 'e104a385-bd51-4736-934b-1901b47493e0', 'ip_version': 4, 'cidr': '16.230.77.0/26', 'allocation_pools': [{'start': '16.230.77.2', 'end': '16.230.77.62'}], 'gateway_ip': '16.230.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.230.77.2', 'tags': [], 'project_id': '38f4a8c149f24cca849f3942456f7add'}} 2026-07-18 05:51:33,375 - INFO - Created VN ctest-vn-87823824 2026-07-18 05:51:33,425 - DEBUG - VN ctest-vn-87823824 UUID is e104a385-bd51-4736-934b-1901b47493e0 2026-07-18 05:51:33,776 - DEBUG - Response for create_network : {'network': {'id': 'fa17cba3-f353-44fe-b81f-ee92bf0e6a25', 'name': 'ctest-vn-21286178', 'tenant_id': '38f4a8c149f24cca849f3942456f7add', 'project_id': '38f4a8c149f24cca849f3942456f7add', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-vn-21286178'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 05:51:34,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '29a92d8c-fc65-456e-b811-85c65d056939', 'name': '', 'tenant_id': '38f4a8c149f24cca849f3942456f7add', 'network_id': 'fa17cba3-f353-44fe-b81f-ee92bf0e6a25', 'ip_version': 4, 'cidr': '125.251.23.192/26', 'allocation_pools': [{'start': '125.251.23.194', 'end': '125.251.23.254'}], 'gateway_ip': '125.251.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.251.23.194', 'tags': [], 'project_id': '38f4a8c149f24cca849f3942456f7add'}} 2026-07-18 05:51:34,026 - INFO - Created VN ctest-vn-21286178 2026-07-18 05:51:34,077 - DEBUG - VN ctest-vn-21286178 UUID is fa17cba3-f353-44fe-b81f-ee92bf0e6a25 2026-07-18 05:51:34,207 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-87823824, 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-10726457:ctest-vn-21286178, 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] 2026-07-18 05:51:34,521 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e104a385-bd51-4736-934b-1901b47493e0', 'name': 'ctest-vn-87823824', 'tenant_id': '38f4a8c149f24cca849f3942456f7add', 'project_id': '38f4a8c149f24cca849f3942456f7add', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a2cf38bb-bfb7-41d9-808a-d0960d4ae94c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-vn-87823824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-policy-allow-all-78152415']], 'subnet_ipam': [{'subnet_cidr': '16.230.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 05:51:34,750 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fa17cba3-f353-44fe-b81f-ee92bf0e6a25', 'name': 'ctest-vn-21286178', 'tenant_id': '38f4a8c149f24cca849f3942456f7add', 'project_id': '38f4a8c149f24cca849f3942456f7add', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29a92d8c-fc65-456e-b811-85c65d056939'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-vn-21286178'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-policy-allow-all-78152415']], 'subnet_ipam': [{'subnet_cidr': '125.251.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 05:51:34,921 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 05:51:35,291 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 05:51:35,322 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e804eac-3624-4588-8513-b7d52f5f3d48 2026-07-18 05:51:35,336 - DEBUG - Requesting: http://10.0.0.50:8082/project/38f4a8c1-49f2-4cca-849f-3942456f7add 2026-07-18 05:51:35,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e104a385-bd51-4736-934b-1901b47493e0 2026-07-18 05:51:35,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e104a385-bd51-4736-934b-1901b47493e0 2026-07-18 05:51:35,439 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/561f2b8c-5b1c-460d-b212-312b41a0a246 2026-07-18 05:51:35,447 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/561f2b8c-5b1c-460d-b212-312b41a0a246 2026-07-18 05:51:35,453 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eba80382-f2ec-4316-9b89-7a3bca5ec20e 2026-07-18 05:51:35,459 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 05:51:35,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e104a385-bd51-4736-934b-1901b47493e0 2026-07-18 05:51:35,467 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/561f2b8c-5b1c-460d-b212-312b41a0a246 2026-07-18 05:51:35,481 - INFO - Verified VN network id 11 for VN e104a385-bd51-4736-934b-1901b47493e0 2026-07-18 05:51:35,481 - INFO - Verifications in API Server for VN ctest-vn-87823824 passed 2026-07-18 05:51:35,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e104a385-bd51-4736-934b-1901b47493e0 2026-07-18 05:51:35,491 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/561f2b8c-5b1c-460d-b212-312b41a0a246 2026-07-18 05:51:35,498 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/561f2b8c-5b1c-460d-b212-312b41a0a246 2026-07-18 05:51:35,507 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eba80382-f2ec-4316-9b89-7a3bca5ec20e 2026-07-18 05:51:35,521 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-87823824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10726457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16214264353242826550', 'uuid-lslong': '10613604441941906400'}, 'enable': 'true', 'created': '2026-07-18T05:51:33', 'last-modified': '2026-07-18T05:51:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.024528'} 2026-07-18 05:51:35,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 05:51:35,529 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87823824 passed 2026-07-18 05:51:35,529 - DEBUG - ====Verifying policy data for ctest-vn-87823824 in API_Server ====== 2026-07-18 05:51:35,529 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 05:51:35,535 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e804eac-3624-4588-8513-b7d52f5f3d48 2026-07-18 05:51:35,546 - DEBUG - Requesting: http://10.0.0.50:8082/project/38f4a8c1-49f2-4cca-849f-3942456f7add 2026-07-18 05:51:35,621 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e104a385-bd51-4736-934b-1901b47493e0 2026-07-18 05:51:35,631 - DEBUG - ==>Verifying data for policy with id: ed088ad7-f61a-4a7e-8ab0-3a4ce92b983b, fqn: ['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-policy-allow-all-78152415'] 2026-07-18 05:51:35,631 - INFO - VN ctest-vn-87823824 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 05:51:35,631 - DEBUG - Verifying the vn in opserver 2026-07-18 05:51:35,631 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-87823824 virtual network link through opserver 10.0.0.50 2026-07-18 05:51:35,631 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 05:51:36,007 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 05:51:36,065 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-87823824', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-87823824?flat'} 2026-07-18 05:51:36,065 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-87823824 is found in opserver 2026-07-18 05:51:36,077 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 05:51:36,082 - DEBUG - VRF ids for VN ctest-vn-87823824: {} 2026-07-18 05:51:36,082 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 05:51:36,088 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e804eac-3624-4588-8513-b7d52f5f3d48 2026-07-18 05:51:36,099 - DEBUG - Requesting: http://10.0.0.50:8082/project/38f4a8c1-49f2-4cca-849f-3942456f7add 2026-07-18 05:51:36,182 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa17cba3-f353-44fe-b81f-ee92bf0e6a25 2026-07-18 05:51:36,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa17cba3-f353-44fe-b81f-ee92bf0e6a25 2026-07-18 05:51:36,209 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c7797e32-df44-4cdb-8f09-a19d264e2e9a 2026-07-18 05:51:36,218 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c7797e32-df44-4cdb-8f09-a19d264e2e9a 2026-07-18 05:51:36,227 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/299ddb9a-e202-4c14-9322-79adb2829045 2026-07-18 05:51:36,234 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 05:51:36,234 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa17cba3-f353-44fe-b81f-ee92bf0e6a25 2026-07-18 05:51:36,243 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c7797e32-df44-4cdb-8f09-a19d264e2e9a 2026-07-18 05:51:36,259 - INFO - Verified VN network id 12 for VN fa17cba3-f353-44fe-b81f-ee92bf0e6a25 2026-07-18 05:51:36,259 - INFO - Verifications in API Server for VN ctest-vn-21286178 passed 2026-07-18 05:51:36,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa17cba3-f353-44fe-b81f-ee92bf0e6a25 2026-07-18 05:51:36,268 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c7797e32-df44-4cdb-8f09-a19d264e2e9a 2026-07-18 05:51:36,276 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c7797e32-df44-4cdb-8f09-a19d264e2e9a 2026-07-18 05:51:36,284 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/299ddb9a-e202-4c14-9322-79adb2829045 2026-07-18 05:51:36,298 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-21286178', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10726457', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18021096338968757502', 'uuid-lslong': '13267585341294799397'}, 'enable': 'true', 'created': '2026-07-18T05:51:33', 'last-modified': '2026-07-18T05:51:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.566954'} 2026-07-18 05:51:36,307 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 05:51:36,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21286178 passed 2026-07-18 05:51:36,307 - DEBUG - ====Verifying policy data for ctest-vn-21286178 in API_Server ====== 2026-07-18 05:51:36,308 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 05:51:36,313 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e804eac-3624-4588-8513-b7d52f5f3d48 2026-07-18 05:51:36,325 - DEBUG - Requesting: http://10.0.0.50:8082/project/38f4a8c1-49f2-4cca-849f-3942456f7add 2026-07-18 05:51:36,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fa17cba3-f353-44fe-b81f-ee92bf0e6a25 2026-07-18 05:51:36,414 - DEBUG - ==>Verifying data for policy with id: ed088ad7-f61a-4a7e-8ab0-3a4ce92b983b, fqn: ['default-domain', 'ctest-TestBasicPolicy-10726457', 'ctest-policy-allow-all-78152415'] 2026-07-18 05:51:36,414 - INFO - VN ctest-vn-21286178 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 05:51:36,414 - DEBUG - Verifying the vn in opserver 2026-07-18 05:51:36,414 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-21286178 virtual network link through opserver 10.0.0.50 2026-07-18 05:51:36,414 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-18 05:51:36,425 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-21286178', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-21286178?flat'} 2026-07-18 05:51:36,425 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-21286178 is found in opserver 2026-07-18 05:51:36,437 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 05:51:36,443 - DEBUG - VRF ids for VN ctest-vn-21286178: {} 2026-07-18 05:51:36,508 - DEBUG - Services list from nova: [, , ] 2026-07-18 05:51:36,999 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6103-1) 2026-07-18 05:51:37,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6103-1) 2026-07-18 05:51:37,373 - INFO - Waiting for VM ctest-TestBasicPolicy-10726457-74872515 to be up.. 2026-07-18 05:51:37,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:51:42,489 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:51:47,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:51:52,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:51:57,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:52:02,833 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:52:07,914 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:52:12,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 05:52:18,114 - DEBUG - VM is in ACTIVE state now 2026-07-18 05:52:18,115 - INFO - VM name : ctest-TestBasicPolicy-10726457-74872515 2026-07-18 05:52:18,201 - DEBUG - VM ctest-TestBasicPolicy-10726457-74872515 ID is 7e4c1189-8c9a-4a5e-a1fb-97f09926b91a 2026-07-18 05:52:18,225 - DEBUG - VM ctest-TestBasicPolicy-10726457-74872515 launched on Node cn-jenkins-deploy-platform-ansible-os-6103-1 2026-07-18 05:52:18,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7e4c1189-8c9a-4a5e-a1fb-97f09926b91a 2026-07-18 05:52:18,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f6f20b11-6e0b-4497-ac46-7e8495c2a7b5 2026-07-18 05:52:21,595 - 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 1011ms') 2026-07-18 05:52:21,595 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10726457-74872515 failed! 2026-07-18 05:52:21,649 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10726457:ctest-vn-87823824 is 16.230.77.1 and allocation pool is NOT set 2026-07-18 05:52:23,708 - 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=6.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.601 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.601/3.400/6.200/2.799 ms') 2026-07-18 05:52:23,708 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10726457-74872515 passed 2026-07-18 05:52:23,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 05:52:23,861 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10726457-74872515, IP 16.230.77.3, Port 22 2026-07-18 05:52:24,027 - DEBUG - VM ctest-TestBasicPolicy-10726457-74872515 is ready for SSH connections 2026-07-18 05:52:24,028 - INFO - Waiting for VM ctest-TestBasicPolicy-10726457-36005425 to be up.. 2026-07-18 05:52:24,102 - DEBUG - VM is in ACTIVE state now 2026-07-18 05:52:24,102 - INFO - VM name : ctest-TestBasicPolicy-10726457-36005425 2026-07-18 05:52:24,178 - DEBUG - VM ctest-TestBasicPolicy-10726457-36005425 ID is af6ff486-565e-416b-96e5-a54f5ec19847 2026-07-18 05:52:24,178 - DEBUG - VM ctest-TestBasicPolicy-10726457-36005425 launched on Node cn-jenkins-deploy-platform-ansible-os-6103-1 2026-07-18 05:52:24,260 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/af6ff486-565e-416b-96e5-a54f5ec19847 2026-07-18 05:52:24,269 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/24e58c3a-6249-4bf3-a222-030e0a11e572 2026-07-18 05:52:25,508 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.472/2.218/3.964/1.746 ms') 2026-07-18 05:52:25,509 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10726457-36005425 passed 2026-07-18 05:52:25,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 05:52:25,662 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10726457-36005425, IP 125.251.23.195, Port 22 2026-07-18 05:52:25,831 - DEBUG - VM ctest-TestBasicPolicy-10726457-36005425 is ready for SSH connections 2026-07-18 05:52:25,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 05:52:25,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.251.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 05:52:25,832 - DEBUG - ping -s 56 -c 3 -W 1 125.251.23.195 2026-07-18 05:52:29,863 - DEBUG - PING 125.251.23.195 (125.251.23.195): 56 data bytes 64 bytes from 125.251.23.195: seq=0 ttl=63 time=4.551 ms 64 bytes from 125.251.23.195: seq=1 ttl=63 time=0.961 ms 64 bytes from 125.251.23.195: seq=2 ttl=63 time=0.948 ms --- 125.251.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.153/4.551 ms 2026-07-18 05:52:29,863 - INFO - Ping to IP 125.251.23.195 from VM ctest-TestBasicPolicy-10726457-74872515 passed 2026-07-18 05:52:30,057 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ed088ad7-f61a-4a7e-8ab0-3a4ce92b983b", "href": "http://10.0.0.50:8082/network-policy/ed088ad7-f61a-4a7e-8ab0-3a4ce92b983b"}} 2026-07-18 05:52:30,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 05:52:30,057 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.251.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-18 05:52:30,057 - DEBUG - ping -s 56 -c 3 -W 1 125.251.23.195 2026-07-18 05:52:33,193 - DEBUG - PING 125.251.23.195 (125.251.23.195): 56 data bytes 64 bytes from 125.251.23.195: seq=0 ttl=63 time=1.653 ms --- 125.251.23.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.653/1.653/1.653 ms 2026-07-18 05:52:33,194 - WARNING - Ping to IP 125.251.23.195 from VM ctest-TestBasicPolicy-10726457-74872515 failed 2026-07-18 05:52:33,194 - INFO - Deleting VM ctest-TestBasicPolicy-10726457-36005425 2026-07-18 05:52:33,271 - INFO - Deleting VM ctest-TestBasicPolicy-10726457-74872515 2026-07-18 05:52:33,661 - INFO - Deleted policy ctest-policy-allow-all-78152415 2026-07-18 05:52:33,661 - INFO - Deleting VN ctest-vn-21286178 2026-07-18 05:52:33,696 - DEBUG - VN fa17cba3-f353-44fe-b81f-ee92bf0e6a25 still in use: Unable to complete operation on network fa17cba3-f353-44fe-b81f-ee92bf0e6a25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-51fcccbf-d250-4eac-a843-4b4db5dcf915'] 2026-07-18 05:52:33,697 - WARNING - Deleting VN ctest-vn-21286178 failed..Will retry 2026-07-18 05:52:35,820 - DEBUG - Response for deleting network () 2026-07-18 05:52:35,820 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c7797e32-df44-4cdb-8f09-a19d264e2e9a 2026-07-18 05:52:35,831 - DEBUG - Response Code: 404 2026-07-18 05:52:35,831 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 05:52:35,839 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e804eac-3624-4588-8513-b7d52f5f3d48 2026-07-18 05:52:35,893 - DEBUG - Requesting: http://10.0.0.50:8082/project/38f4a8c1-49f2-4cca-849f-3942456f7add 2026-07-18 05:52:35,967 - INFO - Validated that VN ctest-vn-21286178 is not found in API Server 2026-07-18 05:52:35,979 - DEBUG - VN ctest-vn-21286178 is not present in Agent 10.0.0.50 2026-07-18 05:52:35,980 - INFO - Validated that VN ctest-vn-21286178 is not in any agent 2026-07-18 05:52:35,998 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21286178 info 2026-07-18 05:52:35,998 - INFO - Deleting VN ctest-vn-87823824 2026-07-18 05:52:36,107 - DEBUG - Response for deleting network () 2026-07-18 05:52:36,107 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/561f2b8c-5b1c-460d-b212-312b41a0a246 2026-07-18 05:52:36,116 - DEBUG - Response Code: 404 2026-07-18 05:52:36,117 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-18 05:52:36,122 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1e804eac-3624-4588-8513-b7d52f5f3d48 2026-07-18 05:52:36,175 - DEBUG - Requesting: http://10.0.0.50:8082/project/38f4a8c1-49f2-4cca-849f-3942456f7add 2026-07-18 05:52:36,253 - INFO - Validated that VN ctest-vn-87823824 is not found in API Server 2026-07-18 05:52:36,265 - DEBUG - VN ctest-vn-87823824 is not present in Agent 10.0.0.50 2026-07-18 05:52:36,265 - INFO - Validated that VN ctest-vn-87823824 is not in any agent 2026-07-18 05:52:36,283 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87823824 info 2026-07-18 05:52:36,550 - DEBUG - No XMPP flaps were noticed during the test
2026-07-18 05:52:36,550 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-07-18 05:52:36,551 - INFO - -------------------------------------------------------------------------------- 2026-07-18 05:52:37,332 - INFO - Deleted project: ctest-TestBasicPolicy-10726457, ID : 38f4a8c1-49f2-4cca-849f-3942456f7add