2026-03-05 19:57:38,679 - INFO - Domain Default found not creating 2026-03-05 19:57:38,980 - INFO - Project ctest-TestBasicPolicy-06363233 not found, creating it 2026-03-05 19:57:39,458 - INFO - Created Project:ctest-TestBasicPolicy-06363233, ID : 64d53261-7427-4492-b827-11085feb6706 2026-03-05 19:57:41,668 - INFO - ================================================================================ 2026-03-05 19:57:41,668 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-05 19:57:41,668 - 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-03-05 19:57:41,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-03-05 19:57:41,991 - INFO - Initial checks done. Running the testcase now 2026-03-05 19:57:41,991 - INFO - 2026-03-05 19:57:42,797 - DEBUG - Response for create_network : {'network': {'id': '2042e584-d40e-4897-9563-575e64b35d9e', 'name': 'ctest-vn-56669509', 'tenant_id': '64d5326174274492b82711085feb6706', 'project_id': '64d5326174274492b82711085feb6706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-vn-56669509'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:57:43,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '41459ed9-fb82-48e3-b356-43e7f393f6f7', 'name': '', 'tenant_id': '64d5326174274492b82711085feb6706', 'network_id': '2042e584-d40e-4897-9563-575e64b35d9e', 'ip_version': 4, 'cidr': '20.32.214.64/26', 'allocation_pools': [{'start': '20.32.214.66', 'end': '20.32.214.126'}], 'gateway_ip': '20.32.214.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.32.214.66', 'tags': [], 'project_id': '64d5326174274492b82711085feb6706'}} 2026-03-05 19:57:43,041 - INFO - Created VN ctest-vn-56669509 2026-03-05 19:57:43,101 - DEBUG - VN ctest-vn-56669509 UUID is 2042e584-d40e-4897-9563-575e64b35d9e 2026-03-05 19:57:43,475 - DEBUG - Response for create_network : {'network': {'id': 'fba591ef-1633-4e65-9609-124ca2916a5e', 'name': 'ctest-vn-06759514', 'tenant_id': '64d5326174274492b82711085feb6706', 'project_id': '64d5326174274492b82711085feb6706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-vn-06759514'], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:57:43,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '7f2a60b8-fa7f-4274-98f6-d7cbd8c753b7', 'name': '', 'tenant_id': '64d5326174274492b82711085feb6706', 'network_id': 'fba591ef-1633-4e65-9609-124ca2916a5e', 'ip_version': 4, 'cidr': '221.213.119.128/26', 'allocation_pools': [{'start': '221.213.119.130', 'end': '221.213.119.190'}], 'gateway_ip': '221.213.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.213.119.130', 'tags': [], 'project_id': '64d5326174274492b82711085feb6706'}} 2026-03-05 19:57:43,765 - INFO - Created VN ctest-vn-06759514 2026-03-05 19:57:43,833 - DEBUG - VN ctest-vn-06759514 UUID is fba591ef-1633-4e65-9609-124ca2916a5e 2026-03-05 19:57:44,035 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-56669509, 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-06363233:ctest-vn-06759514, 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-03-05 19:57:44,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2042e584-d40e-4897-9563-575e64b35d9e', 'name': 'ctest-vn-56669509', 'tenant_id': '64d5326174274492b82711085feb6706', 'project_id': '64d5326174274492b82711085feb6706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['41459ed9-fb82-48e3-b356-43e7f393f6f7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-vn-56669509'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-policy-allow-all-59242022']], 'subnet_ipam': [{'subnet_cidr': '20.32.214.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:57:44,838 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fba591ef-1633-4e65-9609-124ca2916a5e', 'name': 'ctest-vn-06759514', 'tenant_id': '64d5326174274492b82711085feb6706', 'project_id': '64d5326174274492b82711085feb6706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7f2a60b8-fa7f-4274-98f6-d7cbd8c753b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-vn-06759514'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-policy-allow-all-59242022']], 'subnet_ipam': [{'subnet_cidr': '221.213.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-05 19:57:45,006 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-05 19:57:45,334 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-05 19:57:45,401 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c4eb17cb-f04b-40a4-8862-0d5f5ae5db94 2026-03-05 19:57:45,435 - DEBUG - Requesting: http://10.0.0.242:8082/project/64d53261-7427-4492-b827-11085feb6706 2026-03-05 19:57:45,553 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2042e584-d40e-4897-9563-575e64b35d9e 2026-03-05 19:57:45,573 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2042e584-d40e-4897-9563-575e64b35d9e 2026-03-05 19:57:45,584 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb60b77d-ce58-40d5-8db5-45f0f7898a0f 2026-03-05 19:57:45,593 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb60b77d-ce58-40d5-8db5-45f0f7898a0f 2026-03-05 19:57:45,603 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6285d0a3-8228-4fe0-90b8-961381f92e12 2026-03-05 19:57:45,613 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 19:57:45,613 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2042e584-d40e-4897-9563-575e64b35d9e 2026-03-05 19:57:45,630 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb60b77d-ce58-40d5-8db5-45f0f7898a0f 2026-03-05 19:57:45,656 - INFO - Verified VN network id 11 for VN 2042e584-d40e-4897-9563-575e64b35d9e 2026-03-05 19:57:45,656 - INFO - Verifications in API Server for VN ctest-vn-56669509 passed 2026-03-05 19:57:45,656 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2042e584-d40e-4897-9563-575e64b35d9e 2026-03-05 19:57:45,669 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb60b77d-ce58-40d5-8db5-45f0f7898a0f 2026-03-05 19:57:45,677 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb60b77d-ce58-40d5-8db5-45f0f7898a0f 2026-03-05 19:57:45,685 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/6285d0a3-8228-4fe0-90b8-961381f92e12 2026-03-05 19:57:45,702 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-56669509', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06363233', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2324672716332746903', 'uuid-lslong': '10764543597273636254'}, 'enable': 'true', 'created': '2026-03-05T19:57:42', 'last-modified': '2026-03-05T19:57:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.262227'} 2026-03-05 19:57:45,711 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-05 19:57:45,711 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56669509 passed 2026-03-05 19:57:45,712 - DEBUG - ====Verifying policy data for ctest-vn-56669509 in API_Server ====== 2026-03-05 19:57:45,712 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-05 19:57:45,718 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c4eb17cb-f04b-40a4-8862-0d5f5ae5db94 2026-03-05 19:57:45,732 - DEBUG - Requesting: http://10.0.0.242:8082/project/64d53261-7427-4492-b827-11085feb6706 2026-03-05 19:57:45,818 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/2042e584-d40e-4897-9563-575e64b35d9e 2026-03-05 19:57:45,831 - DEBUG - ==>Verifying data for policy with id: 0f64f535-c06c-4a05-8f04-e2e5e72a013f, fqn: ['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-policy-allow-all-59242022'] 2026-03-05 19:57:45,831 - INFO - VN ctest-vn-56669509 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 19:57:45,831 - DEBUG - Verifying the vn in opserver 2026-03-05 19:57:45,831 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-56669509 virtual network link through opserver 10.0.0.242 2026-03-05 19:57:45,831 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-05 19:57:46,129 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-05 19:57:46,224 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-56669509', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-56669509?flat'} 2026-03-05 19:57:46,224 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-56669509 is found in opserver 2026-03-05 19:57:46,244 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 19:57:46,255 - DEBUG - VRF ids for VN ctest-vn-56669509: {} 2026-03-05 19:57:46,255 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-05 19:57:46,265 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c4eb17cb-f04b-40a4-8862-0d5f5ae5db94 2026-03-05 19:57:46,293 - DEBUG - Requesting: http://10.0.0.242:8082/project/64d53261-7427-4492-b827-11085feb6706 2026-03-05 19:57:46,417 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fba591ef-1633-4e65-9609-124ca2916a5e 2026-03-05 19:57:46,447 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fba591ef-1633-4e65-9609-124ca2916a5e 2026-03-05 19:57:46,470 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7696096f-8f46-44a0-884d-377fc65757b8 2026-03-05 19:57:46,487 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7696096f-8f46-44a0-884d-377fc65757b8 2026-03-05 19:57:46,506 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/36cbec87-6ccc-4aea-8f90-750524405fc0 2026-03-05 19:57:46,524 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 19:57:46,525 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fba591ef-1633-4e65-9609-124ca2916a5e 2026-03-05 19:57:46,555 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7696096f-8f46-44a0-884d-377fc65757b8 2026-03-05 19:57:46,598 - INFO - Verified VN network id 12 for VN fba591ef-1633-4e65-9609-124ca2916a5e 2026-03-05 19:57:46,598 - INFO - Verifications in API Server for VN ctest-vn-06759514 passed 2026-03-05 19:57:46,598 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fba591ef-1633-4e65-9609-124ca2916a5e 2026-03-05 19:57:46,623 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7696096f-8f46-44a0-884d-377fc65757b8 2026-03-05 19:57:46,643 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7696096f-8f46-44a0-884d-377fc65757b8 2026-03-05 19:57:46,662 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/36cbec87-6ccc-4aea-8f90-750524405fc0 2026-03-05 19:57:46,696 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-06759514', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06363233', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18133059930732842597', 'uuid-lslong': '10811192500833839710'}, 'enable': 'true', 'created': '2026-03-05T19:57:43', 'last-modified': '2026-03-05T19:57:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.885848'} 2026-03-05 19:57:46,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-05 19:57:46,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06759514 passed 2026-03-05 19:57:46,712 - DEBUG - ====Verifying policy data for ctest-vn-06759514 in API_Server ====== 2026-03-05 19:57:46,712 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-05 19:57:46,724 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c4eb17cb-f04b-40a4-8862-0d5f5ae5db94 2026-03-05 19:57:46,751 - DEBUG - Requesting: http://10.0.0.242:8082/project/64d53261-7427-4492-b827-11085feb6706 2026-03-05 19:57:46,873 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/fba591ef-1633-4e65-9609-124ca2916a5e 2026-03-05 19:57:46,891 - DEBUG - ==>Verifying data for policy with id: 0f64f535-c06c-4a05-8f04-e2e5e72a013f, fqn: ['default-domain', 'ctest-TestBasicPolicy-06363233', 'ctest-policy-allow-all-59242022'] 2026-03-05 19:57:46,891 - INFO - VN ctest-vn-06759514 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-05 19:57:46,891 - DEBUG - Verifying the vn in opserver 2026-03-05 19:57:46,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-06759514 virtual network link through opserver 10.0.0.242 2026-03-05 19:57:46,892 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-03-05 19:57:46,908 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-06759514', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-06759514?flat'} 2026-03-05 19:57:46,908 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-06759514 is found in opserver 2026-03-05 19:57:46,923 - DEBUG - Do not have enough data to verify VN in agent 2026-03-05 19:57:46,931 - DEBUG - VRF ids for VN ctest-vn-06759514: {} 2026-03-05 19:57:47,057 - DEBUG - Services list from nova: [, , ] 2026-03-05 19:57:48,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5445-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5445-1) 2026-03-05 19:57:50,069 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5445-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5445-1) 2026-03-05 19:57:50,070 - INFO - Waiting for VM ctest-TestBasicPolicy-06363233-61526208 to be up.. 2026-03-05 19:57:50,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-05 19:57:55,333 - DEBUG - VM is in ACTIVE state now 2026-03-05 19:57:55,333 - INFO - VM name : ctest-TestBasicPolicy-06363233-61526208 2026-03-05 19:57:55,507 - DEBUG - VM ctest-TestBasicPolicy-06363233-61526208 ID is 8f0e7384-80df-4dbc-9c1d-46bfe880b7f9 2026-03-05 19:57:55,548 - DEBUG - VM ctest-TestBasicPolicy-06363233-61526208 launched on Node cn-jenkins-deploy-platform-ansible-os-5445-1 2026-03-05 19:57:55,713 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/8f0e7384-80df-4dbc-9c1d-46bfe880b7f9 2026-03-05 19:57:55,733 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3d5fe018-be9a-4ff2-95fc-4fa0ea7d4e7a 2026-03-05 19:57:59,046 - 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 1006ms') 2026-03-05 19:57:59,046 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06363233-61526208 failed! 2026-03-05 19:57:59,121 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06363233:ctest-vn-56669509 is 20.32.214.65 and allocation pool is NOT set 2026-03-05 19:58:01,191 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.049/3.586/6.124/2.537 ms') 2026-03-05 19:58:01,191 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06363233-61526208 passed 2026-03-05 19:58:01,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:58:01,369 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06363233-61526208, IP 20.32.214.67, Port 22 2026-03-05 19:58:01,561 - DEBUG - VM ctest-TestBasicPolicy-06363233-61526208 is ready for SSH connections 2026-03-05 19:58:01,562 - INFO - Waiting for VM ctest-TestBasicPolicy-06363233-48695835 to be up.. 2026-03-05 19:58:01,699 - DEBUG - VM is in ACTIVE state now 2026-03-05 19:58:01,699 - INFO - VM name : ctest-TestBasicPolicy-06363233-48695835 2026-03-05 19:58:01,788 - DEBUG - VM ctest-TestBasicPolicy-06363233-48695835 ID is 5775730b-c7cc-4264-ba34-f82e82eb4426 2026-03-05 19:58:01,788 - DEBUG - VM ctest-TestBasicPolicy-06363233-48695835 launched on Node cn-jenkins-deploy-platform-ansible-os-5445-1 2026-03-05 19:58:01,900 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5775730b-c7cc-4264-ba34-f82e82eb4426 2026-03-05 19:58:01,911 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c2eb31e7-77f0-409f-a30f-ec765b39a6a5 2026-03-05 19:58:03,201 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/2.062/3.623/1.560 ms') 2026-03-05 19:58:03,202 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06363233-48695835 passed 2026-03-05 19:58:03,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:58:03,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06363233-48695835, IP 221.213.119.131, Port 22 2026-03-05 19:58:03,563 - DEBUG - VM ctest-TestBasicPolicy-06363233-48695835 is ready for SSH connections 2026-03-05 19:58:03,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:58:03,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.213.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-05 19:58:03,563 - DEBUG - ping -s 56 -c 3 -W 1 221.213.119.131 2026-03-05 19:58:08,065 - DEBUG - PING 221.213.119.131 (221.213.119.131): 56 data bytes 64 bytes from 221.213.119.131: seq=0 ttl=63 time=5.931 ms 64 bytes from 221.213.119.131: seq=1 ttl=63 time=1.143 ms 64 bytes from 221.213.119.131: seq=2 ttl=63 time=1.665 ms --- 221.213.119.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.143/2.913/5.931 ms 2026-03-05 19:58:08,065 - INFO - Ping to IP 221.213.119.131 from VM ctest-TestBasicPolicy-06363233-61526208 passed 2026-03-05 19:58:08,281 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f64f535-c06c-4a05-8f04-e2e5e72a013f", "href": "http://10.0.0.242:8082/network-policy/0f64f535-c06c-4a05-8f04-e2e5e72a013f"}} 2026-03-05 19:58:08,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-05 19:58:08,281 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.213.119.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-03-05 19:58:08,281 - DEBUG - ping -s 56 -c 3 -W 1 221.213.119.131 2026-03-05 19:58:11,577 - DEBUG - PING 221.213.119.131 (221.213.119.131): 56 data bytes --- 221.213.119.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-05 19:58:11,577 - WARNING - Ping to IP 221.213.119.131 from VM ctest-TestBasicPolicy-06363233-61526208 failed 2026-03-05 19:58:11,577 - INFO - Deleting VM ctest-TestBasicPolicy-06363233-48695835 2026-03-05 19:58:11,732 - INFO - Deleting VM ctest-TestBasicPolicy-06363233-61526208 2026-03-05 19:58:12,286 - INFO - Deleted policy ctest-policy-allow-all-59242022 2026-03-05 19:58:12,287 - INFO - Deleting VN ctest-vn-06759514 2026-03-05 19:58:12,332 - DEBUG - VN fba591ef-1633-4e65-9609-124ca2916a5e still in use: Unable to complete operation on network fba591ef-1633-4e65-9609-124ca2916a5e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a35cbdc1-eb9c-45ba-b980-5a674d11a933'] 2026-03-05 19:58:12,333 - WARNING - Deleting VN ctest-vn-06759514 failed..Will retry 2026-03-05 19:58:14,559 - DEBUG - Response for deleting network () 2026-03-05 19:58:14,559 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7696096f-8f46-44a0-884d-377fc65757b8 2026-03-05 19:58:14,564 - DEBUG - Response Code: 404 2026-03-05 19:58:14,564 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-05 19:58:14,569 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c4eb17cb-f04b-40a4-8862-0d5f5ae5db94 2026-03-05 19:58:14,627 - DEBUG - Requesting: http://10.0.0.242:8082/project/64d53261-7427-4492-b827-11085feb6706 2026-03-05 19:58:14,732 - INFO - Validated that VN ctest-vn-06759514 is not found in API Server 2026-03-05 19:58:14,749 - DEBUG - VN ctest-vn-06759514 is not present in Agent 10.0.0.242 2026-03-05 19:58:14,750 - INFO - Validated that VN ctest-vn-06759514 is not in any agent 2026-03-05 19:58:14,781 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06759514 info 2026-03-05 19:58:14,781 - INFO - Deleting VN ctest-vn-56669509 2026-03-05 19:58:14,992 - DEBUG - Response for deleting network () 2026-03-05 19:58:14,992 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fb60b77d-ce58-40d5-8db5-45f0f7898a0f 2026-03-05 19:58:14,998 - DEBUG - Response Code: 404 2026-03-05 19:58:14,998 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-03-05 19:58:15,004 - DEBUG - Requesting: http://10.0.0.242:8082/domain/c4eb17cb-f04b-40a4-8862-0d5f5ae5db94 2026-03-05 19:58:15,061 - DEBUG - Requesting: http://10.0.0.242:8082/project/64d53261-7427-4492-b827-11085feb6706 2026-03-05 19:58:15,170 - INFO - Validated that VN ctest-vn-56669509 is not found in API Server 2026-03-05 19:58:15,187 - DEBUG - VN ctest-vn-56669509 is not present in Agent 10.0.0.242 2026-03-05 19:58:15,187 - INFO - Validated that VN ctest-vn-56669509 is not in any agent 2026-03-05 19:58:15,214 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56669509 info 2026-03-05 19:58:15,529 - DEBUG - No XMPP flaps were noticed during the test
2026-03-05 19:58:15,529 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-03-05 19:58:15,529 - INFO - -------------------------------------------------------------------------------- 2026-03-05 19:58:16,398 - INFO - Deleted project: ctest-TestBasicPolicy-06363233, ID : 64d53261-7427-4492-b827-11085feb6706