2026-02-01 09:02:20,664 - INFO - Domain Default found not creating 2026-02-01 09:02:20,845 - INFO - Project ctest-TestBasicPolicy-06790160 not found, creating it 2026-02-01 09:02:21,326 - INFO - Created Project:ctest-TestBasicPolicy-06790160, ID : 6110455b-93d3-4b5e-9068-cddaadd5eb34 2026-02-01 09:02:22,955 - INFO - ================================================================================ 2026-02-01 09:02:22,956 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-01 09:02:22,956 - 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-02-01 09:02:23,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-01 09:02:23,211 - INFO - Initial checks done. Running the testcase now 2026-02-01 09:02:23,211 - INFO - 2026-02-01 09:02:23,812 - DEBUG - Response for create_network : {'network': {'id': 'cf758a2b-878b-4778-8fbf-b58d0eae6eec', 'name': 'ctest-vn-68262614', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-68262614'], 'port_security_enabled': True, 'description': ''}} 2026-02-01 09:02:24,010 - DEBUG - Response for create_subnet : {'subnet': {'id': '59fa3550-00ad-43fa-8036-4f296a895635', 'name': '', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'network_id': 'cf758a2b-878b-4778-8fbf-b58d0eae6eec', 'ip_version': 4, 'cidr': '24.158.141.0/26', 'allocation_pools': [{'start': '24.158.141.2', 'end': '24.158.141.62'}], 'gateway_ip': '24.158.141.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.158.141.2', 'tags': [], 'project_id': '6110455b93d34b5e9068cddaadd5eb34'}} 2026-02-01 09:02:24,030 - INFO - Created VN ctest-vn-68262614 2026-02-01 09:02:24,085 - DEBUG - VN ctest-vn-68262614 UUID is cf758a2b-878b-4778-8fbf-b58d0eae6eec 2026-02-01 09:02:24,390 - DEBUG - Response for create_network : {'network': {'id': 'ee1dc211-dcad-43f4-ac7a-fe599b9e6815', 'name': 'ctest-vn-63193425', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-63193425'], 'port_security_enabled': True, 'description': ''}} 2026-02-01 09:02:24,594 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9eefdf6-d770-4878-9865-ff1846309848', 'name': '', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'network_id': 'ee1dc211-dcad-43f4-ac7a-fe599b9e6815', 'ip_version': 4, 'cidr': '212.237.149.0/26', 'allocation_pools': [{'start': '212.237.149.2', 'end': '212.237.149.62'}], 'gateway_ip': '212.237.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.237.149.2', 'tags': [], 'project_id': '6110455b93d34b5e9068cddaadd5eb34'}} 2026-02-01 09:02:24,613 - INFO - Created VN ctest-vn-63193425 2026-02-01 09:02:24,665 - DEBUG - VN ctest-vn-63193425 UUID is ee1dc211-dcad-43f4-ac7a-fe599b9e6815 2026-02-01 09:02:24,776 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614, 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-06790160:ctest-vn-63193425, 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-02-01 09:02:25,073 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf758a2b-878b-4778-8fbf-b58d0eae6eec', 'name': 'ctest-vn-68262614', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59fa3550-00ad-43fa-8036-4f296a895635'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-68262614'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595']], 'subnet_ipam': [{'subnet_cidr': '24.158.141.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-01 09:02:25,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee1dc211-dcad-43f4-ac7a-fe599b9e6815', 'name': 'ctest-vn-63193425', 'tenant_id': '6110455b93d34b5e9068cddaadd5eb34', 'project_id': '6110455b93d34b5e9068cddaadd5eb34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9eefdf6-d770-4878-9865-ff1846309848'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-vn-63193425'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595']], 'subnet_ipam': [{'subnet_cidr': '212.237.149.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-01 09:02:25,473 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-01 09:02:25,807 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-01 09:02:25,838 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e 2026-02-01 09:02:25,851 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34 2026-02-01 09:02:25,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec 2026-02-01 09:02:25,938 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec 2026-02-01 09:02:25,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25 2026-02-01 09:02:25,962 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25 2026-02-01 09:02:25,969 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/516815bc-a4f7-4cd1-b5ba-47f567b2c391 2026-02-01 09:02:25,975 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-01 09:02:25,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec 2026-02-01 09:02:25,986 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25 2026-02-01 09:02:26,001 - INFO - Verified VN network id 12 for VN cf758a2b-878b-4778-8fbf-b58d0eae6eec 2026-02-01 09:02:26,001 - INFO - Verifications in API Server for VN ctest-vn-68262614 passed 2026-02-01 09:02:26,001 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec 2026-02-01 09:02:26,011 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25 2026-02-01 09:02:26,018 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25 2026-02-01 09:02:26,026 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/516815bc-a4f7-4cd1-b5ba-47f567b2c391 2026-02-01 09:02:26,037 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06790160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14949006457688508280', 'uuid-lslong': '10358197285416759020'}, 'enable': 'true', 'created': '2026-02-01T09:02:23', 'last-modified': '2026-02-01T09:02:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985783'} 2026-02-01 09:02:26,043 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-01 09:02:26,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68262614 passed 2026-02-01 09:02:26,044 - DEBUG - ====Verifying policy data for ctest-vn-68262614 in API_Server ====== 2026-02-01 09:02:26,044 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-01 09:02:26,050 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e 2026-02-01 09:02:26,061 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34 2026-02-01 09:02:26,135 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf758a2b-878b-4778-8fbf-b58d0eae6eec 2026-02-01 09:02:26,144 - DEBUG - ==>Verifying data for policy with id: b5aefdeb-955d-413d-a6d9-da72ccf8d73e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595'] 2026-02-01 09:02:26,144 - INFO - VN ctest-vn-68262614 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-01 09:02:26,144 - DEBUG - Verifying the vn in opserver 2026-02-01 09:02:26,144 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614 virtual network link through opserver 10.0.0.50 2026-02-01 09:02:26,145 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-01 09:02:26,487 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-01 09:02:26,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614?flat'} 2026-02-01 09:02:26,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614 is found in opserver 2026-02-01 09:02:26,576 - DEBUG - Do not have enough data to verify VN in agent 2026-02-01 09:02:26,580 - DEBUG - VRF ids for VN ctest-vn-68262614: {} 2026-02-01 09:02:26,580 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-01 09:02:26,585 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e 2026-02-01 09:02:26,596 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34 2026-02-01 09:02:26,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815 2026-02-01 09:02:26,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815 2026-02-01 09:02:26,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e 2026-02-01 09:02:26,695 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e 2026-02-01 09:02:26,701 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/549d2dfc-0bde-4b93-b623-4837508e57e4 2026-02-01 09:02:26,707 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-01 09:02:26,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815 2026-02-01 09:02:26,715 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e 2026-02-01 09:02:26,729 - INFO - Verified VN network id 13 for VN ee1dc211-dcad-43f4-ac7a-fe599b9e6815 2026-02-01 09:02:26,729 - INFO - Verifications in API Server for VN ctest-vn-63193425 passed 2026-02-01 09:02:26,729 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815 2026-02-01 09:02:26,738 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e 2026-02-01 09:02:26,746 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e 2026-02-01 09:02:26,754 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/549d2dfc-0bde-4b93-b623-4837508e57e4 2026-02-01 09:02:26,771 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06790160', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17158083537324033012', 'uuid-lslong': '12428525782498699285'}, 'enable': 'true', 'created': '2026-02-01T09:02:24', 'last-modified': '2026-02-01T09:02:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.491039'} 2026-02-01 09:02:26,778 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-01 09:02:26,778 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63193425 passed 2026-02-01 09:02:26,778 - DEBUG - ====Verifying policy data for ctest-vn-63193425 in API_Server ====== 2026-02-01 09:02:26,778 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-01 09:02:26,784 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e 2026-02-01 09:02:26,795 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34 2026-02-01 09:02:26,865 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ee1dc211-dcad-43f4-ac7a-fe599b9e6815 2026-02-01 09:02:26,874 - DEBUG - ==>Verifying data for policy with id: b5aefdeb-955d-413d-a6d9-da72ccf8d73e, fqn: ['default-domain', 'ctest-TestBasicPolicy-06790160', 'ctest-policy-allow-all-22098595'] 2026-02-01 09:02:26,874 - INFO - VN ctest-vn-63193425 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-01 09:02:26,874 - DEBUG - Verifying the vn in opserver 2026-02-01 09:02:26,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425 virtual network link through opserver 10.0.0.50 2026-02-01 09:02:26,874 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-01 09:02:26,883 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425?flat'} 2026-02-01 09:02:26,883 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-63193425 is found in opserver 2026-02-01 09:02:26,893 - DEBUG - Do not have enough data to verify VN in agent 2026-02-01 09:02:26,898 - DEBUG - VRF ids for VN ctest-vn-63193425: {} 2026-02-01 09:02:26,965 - DEBUG - Services list from nova: [, , ] 2026-02-01 09:02:28,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5158-1) 2026-02-01 09:02:29,331 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5158-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5158-1) 2026-02-01 09:02:29,331 - INFO - Waiting for VM ctest-TestBasicPolicy-06790160-33678405 to be up.. 2026-02-01 09:02:29,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-01 09:02:34,515 - DEBUG - VM is in ACTIVE state now 2026-02-01 09:02:34,515 - INFO - VM name : ctest-TestBasicPolicy-06790160-33678405 2026-02-01 09:02:34,613 - DEBUG - VM ctest-TestBasicPolicy-06790160-33678405 ID is 5aedec2e-2b6a-478d-bfef-9960aba5ebb9 2026-02-01 09:02:34,634 - DEBUG - VM ctest-TestBasicPolicy-06790160-33678405 launched on Node cn-jenkins-deploy-platform-ansible-os-5158-1 2026-02-01 09:02:34,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5aedec2e-2b6a-478d-bfef-9960aba5ebb9 2026-02-01 09:02:34,738 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7c7686f5-193b-4e20-963e-5791999b5fbd 2026-02-01 09:02:38,000 - 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-02-01 09:02:38,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06790160-33678405 failed! 2026-02-01 09:02:38,069 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06790160:ctest-vn-68262614 is 24.158.141.1 and allocation pool is NOT set 2026-02-01 09:02:40,136 - 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=8.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.830/5.262/8.694/3.432 ms') 2026-02-01 09:02:40,136 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06790160-33678405 passed 2026-02-01 09:02:40,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 09:02:40,285 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06790160-33678405, IP 24.158.141.3, Port 22 2026-02-01 09:02:40,351 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-02-01 09:02:40,438 - DEBUG - VM ctest-TestBasicPolicy-06790160-33678405 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-01 09:02:45,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 09:02:45,439 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06790160-33678405, IP 24.158.141.3, Port 22 2026-02-01 09:02:45,597 - DEBUG - VM ctest-TestBasicPolicy-06790160-33678405 is ready for SSH connections 2026-02-01 09:02:45,597 - INFO - Waiting for VM ctest-TestBasicPolicy-06790160-68799809 to be up.. 2026-02-01 09:02:45,676 - DEBUG - VM is in ACTIVE state now 2026-02-01 09:02:45,676 - INFO - VM name : ctest-TestBasicPolicy-06790160-68799809 2026-02-01 09:02:45,752 - DEBUG - VM ctest-TestBasicPolicy-06790160-68799809 ID is 76acf6c3-36ed-4140-8244-ac56e4529843 2026-02-01 09:02:45,753 - DEBUG - VM ctest-TestBasicPolicy-06790160-68799809 launched on Node cn-jenkins-deploy-platform-ansible-os-5158-1 2026-02-01 09:02:45,830 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/76acf6c3-36ed-4140-8244-ac56e4529843 2026-02-01 09:02:45,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/42b89df5-0ee0-40e2-b553-e0acb3255d36 2026-02-01 09:02:47,069 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.584 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.584/1.850/3.117/1.266 ms') 2026-02-01 09:02:47,069 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06790160-68799809 passed 2026-02-01 09:02:47,217 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 09:02:47,217 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06790160-68799809, IP 212.237.149.3, Port 22 2026-02-01 09:02:47,376 - DEBUG - VM ctest-TestBasicPolicy-06790160-68799809 is ready for SSH connections 2026-02-01 09:02:47,376 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 09:02:47,376 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.237.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-01 09:02:47,376 - DEBUG - ping -s 56 -c 3 -W 1 212.237.149.3 2026-02-01 09:02:51,505 - DEBUG - PING 212.237.149.3 (212.237.149.3): 56 data bytes 64 bytes from 212.237.149.3: seq=0 ttl=63 time=4.146 ms 64 bytes from 212.237.149.3: seq=1 ttl=63 time=1.099 ms 64 bytes from 212.237.149.3: seq=2 ttl=63 time=0.972 ms --- 212.237.149.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/2.072/4.146 ms 2026-02-01 09:02:51,505 - INFO - Ping to IP 212.237.149.3 from VM ctest-TestBasicPolicy-06790160-33678405 passed 2026-02-01 09:02:51,689 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b5aefdeb-955d-413d-a6d9-da72ccf8d73e", "href": "http://10.0.0.50:8082/network-policy/b5aefdeb-955d-413d-a6d9-da72ccf8d73e"}} 2026-02-01 09:02:51,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-01 09:02:51,689 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.237.149.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-01 09:02:51,689 - DEBUG - ping -s 56 -c 3 -W 1 212.237.149.3 2026-02-01 09:02:54,927 - DEBUG - PING 212.237.149.3 (212.237.149.3): 56 data bytes --- 212.237.149.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-01 09:02:54,927 - WARNING - Ping to IP 212.237.149.3 from VM ctest-TestBasicPolicy-06790160-33678405 failed 2026-02-01 09:02:54,927 - INFO - Deleting VM ctest-TestBasicPolicy-06790160-68799809 2026-02-01 09:02:54,997 - INFO - Deleting VM ctest-TestBasicPolicy-06790160-33678405 2026-02-01 09:02:55,389 - INFO - Deleted policy ctest-policy-allow-all-22098595 2026-02-01 09:02:55,390 - INFO - Deleting VN ctest-vn-63193425 2026-02-01 09:02:55,429 - DEBUG - VN ee1dc211-dcad-43f4-ac7a-fe599b9e6815 still in use: Unable to complete operation on network ee1dc211-dcad-43f4-ac7a-fe599b9e6815. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0834c3ed-9e49-4f66-86b7-648a7b07793a'] 2026-02-01 09:02:55,429 - WARNING - Deleting VN ctest-vn-63193425 failed..Will retry 2026-02-01 09:02:57,530 - DEBUG - Response for deleting network () 2026-02-01 09:02:57,530 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/38790439-fd88-45c5-b2c8-fa78aa02aa9e 2026-02-01 09:02:57,536 - DEBUG - Response Code: 404 2026-02-01 09:02:57,536 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-01 09:02:57,542 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e 2026-02-01 09:02:57,599 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34 2026-02-01 09:02:57,670 - INFO - Validated that VN ctest-vn-63193425 is not found in API Server 2026-02-01 09:02:57,681 - DEBUG - VN ctest-vn-63193425 is not present in Agent 10.0.0.50 2026-02-01 09:02:57,681 - INFO - Validated that VN ctest-vn-63193425 is not in any agent 2026-02-01 09:02:57,694 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63193425 info 2026-02-01 09:02:57,694 - INFO - Deleting VN ctest-vn-68262614 2026-02-01 09:02:57,798 - DEBUG - Response for deleting network () 2026-02-01 09:02:57,798 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7a45e34-ee62-4026-9ddc-e6b930454e25 2026-02-01 09:02:57,803 - DEBUG - Response Code: 404 2026-02-01 09:02:57,803 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-01 09:02:57,808 - DEBUG - Requesting: http://10.0.0.50:8082/domain/1ab2686e-5826-4be9-9ed5-125dbd04682e 2026-02-01 09:02:57,862 - DEBUG - Requesting: http://10.0.0.50:8082/project/6110455b-93d3-4b5e-9068-cddaadd5eb34 2026-02-01 09:02:57,930 - INFO - Validated that VN ctest-vn-68262614 is not found in API Server 2026-02-01 09:02:57,939 - DEBUG - VN ctest-vn-68262614 is not present in Agent 10.0.0.50 2026-02-01 09:02:57,939 - INFO - Validated that VN ctest-vn-68262614 is not in any agent 2026-02-01 09:02:57,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68262614 info 2026-02-01 09:02:58,206 - DEBUG - No XMPP flaps were noticed during the test 2026-02-01 09:02:58,206 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-01 09:02:58,206 - INFO - -------------------------------------------------------------------------------- 2026-02-01 09:02:58,932 - INFO - Deleted project: ctest-TestBasicPolicy-06790160, ID : 6110455b-93d3-4b5e-9068-cddaadd5eb34