2026-02-05 01:54:08,375 - INFO - Reading existing Domain with UUID 70bce805-d50c-4da5-abf7-4b11fc3802fd 2026-02-05 01:54:08,387 - INFO - Using existing domain ['admin_domain'](70bce805-d50c-4da5-abf7-4b11fc3802fd) 2026-02-05 01:54:08,618 - INFO - Project ctest-TestBasicPolicy-90459926 not found, creating it 2026-02-05 01:54:09,131 - INFO - Created Project:ctest-TestBasicPolicy-90459926, ID : dedddbcd-74db-4273-a610-cf25ad669ec4 2026-02-05 01:54:10,841 - INFO - ================================================================================ 2026-02-05 01:54:10,842 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-05 01:54:10,842 - 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-05 01:54:11,231 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with 2026-02-05 01:54:11,231 - INFO - Initial checks done. Running the testcase now 2026-02-05 01:54:11,232 - INFO - 2026-02-05 01:54:12,051 - DEBUG - Response for create_network : {'network': {'id': '6a42bc76-7a7a-48e6-acd3-6bd6031991dc', 'name': 'ctest-vn-61740552', 'tenant_id': 'dedddbcd74db4273a610cf25ad669ec4', 'project_id': 'dedddbcd74db4273a610cf25ad669ec4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-vn-61740552'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-05 01:54:12,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '43fc70c1-24b4-4749-a3d7-dc182a54df76', 'name': '', 'tenant_id': 'dedddbcd74db4273a610cf25ad669ec4', 'network_id': '6a42bc76-7a7a-48e6-acd3-6bd6031991dc', 'ip_version': 4, 'cidr': '211.245.72.0/26', 'allocation_pools': [{'start': '211.245.72.2', 'end': '211.245.72.62'}], 'gateway_ip': '211.245.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-05T01:54:12.201014', 'updated_at': '2026-02-05T01:54:12.201014', 'dns_server_address': '211.245.72.2', 'tags': [], 'project_id': 'dedddbcd74db4273a610cf25ad669ec4'}} 2026-02-05 01:54:12,389 - INFO - Created VN ctest-vn-61740552 2026-02-05 01:54:12,442 - DEBUG - VN ctest-vn-61740552 UUID is 6a42bc76-7a7a-48e6-acd3-6bd6031991dc 2026-02-05 01:54:12,954 - DEBUG - Response for create_network : {'network': {'id': '648e89eb-ca88-49ce-b6a2-cd0c8aa695cd', 'name': 'ctest-vn-92869796', 'tenant_id': 'dedddbcd74db4273a610cf25ad669ec4', 'project_id': 'dedddbcd74db4273a610cf25ad669ec4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-vn-92869796'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-05 01:54:13,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '76810d7e-d91a-4eb6-9167-d7afd122a4e4', 'name': '', 'tenant_id': 'dedddbcd74db4273a610cf25ad669ec4', 'network_id': '648e89eb-ca88-49ce-b6a2-cd0c8aa695cd', 'ip_version': 4, 'cidr': '132.228.154.0/26', 'allocation_pools': [{'start': '132.228.154.2', 'end': '132.228.154.62'}], 'gateway_ip': '132.228.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-05T01:54:13.067375', 'updated_at': '2026-02-05T01:54:13.067375', 'dns_server_address': '132.228.154.2', 'tags': [], 'project_id': 'dedddbcd74db4273a610cf25ad669ec4'}} 2026-02-05 01:54:13,225 - INFO - Created VN ctest-vn-92869796 2026-02-05 01:54:13,278 - DEBUG - VN ctest-vn-92869796 UUID is 648e89eb-ca88-49ce-b6a2-cd0c8aa695cd 2026-02-05 01:54:13,489 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-61740552, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-92869796, 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-05 01:54:13,898 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a42bc76-7a7a-48e6-acd3-6bd6031991dc', 'name': 'ctest-vn-61740552', 'tenant_id': 'dedddbcd74db4273a610cf25ad669ec4', 'project_id': 'dedddbcd74db4273a610cf25ad669ec4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43fc70c1-24b4-4749-a3d7-dc182a54df76'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-vn-61740552'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-policy-allow-all-39410081']], 'subnet_ipam': [{'subnet_cidr': '211.245.72.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-05T01:54:11.964588', 'updated_at': '2026-02-05T01:54:12.223398'}} 2026-02-05 01:54:14,286 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '648e89eb-ca88-49ce-b6a2-cd0c8aa695cd', 'name': 'ctest-vn-92869796', 'tenant_id': 'dedddbcd74db4273a610cf25ad669ec4', 'project_id': 'dedddbcd74db4273a610cf25ad669ec4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76810d7e-d91a-4eb6-9167-d7afd122a4e4'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-vn-92869796'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-policy-allow-all-39410081']], 'subnet_ipam': [{'subnet_cidr': '132.228.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-05T01:54:12.873438', 'updated_at': '2026-02-05T01:54:13.079188'}} 2026-02-05 01:54:14,462 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-05 01:54:14,807 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-05 01:54:14,891 - DEBUG - Requesting: https://10.0.0.241:8082/domain/70bce805-d50c-4da5-abf7-4b11fc3802fd 2026-02-05 01:54:14,955 - DEBUG - Requesting: https://10.0.0.241:8082/project/dedddbcd-74db-4273-a610-cf25ad669ec4 2026-02-05 01:54:15,036 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6a42bc76-7a7a-48e6-acd3-6bd6031991dc 2026-02-05 01:54:15,096 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6a42bc76-7a7a-48e6-acd3-6bd6031991dc 2026-02-05 01:54:15,151 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/dcf2971e-9c34-444b-9de3-82993d56f27c 2026-02-05 01:54:15,211 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/dcf2971e-9c34-444b-9de3-82993d56f27c 2026-02-05 01:54:15,267 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/9044faf3-7c31-45c1-a233-33b0837d2742 2026-02-05 01:54:15,327 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 01:54:15,327 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6a42bc76-7a7a-48e6-acd3-6bd6031991dc 2026-02-05 01:54:15,388 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/dcf2971e-9c34-444b-9de3-82993d56f27c 2026-02-05 01:54:15,455 - INFO - Verified VN network id 10 for VN 6a42bc76-7a7a-48e6-acd3-6bd6031991dc 2026-02-05 01:54:15,455 - INFO - Verifications in API Server for VN ctest-vn-61740552 passed 2026-02-05 01:54:15,456 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6a42bc76-7a7a-48e6-acd3-6bd6031991dc 2026-02-05 01:54:15,520 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/dcf2971e-9c34-444b-9de3-82993d56f27c 2026-02-05 01:54:15,575 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/dcf2971e-9c34-444b-9de3-82993d56f27c 2026-02-05 01:54:15,631 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/9044faf3-7c31-45c1-a233-33b0837d2742 2026-02-05 01:54:15,739 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-61740552', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90459926', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7656889533530261734', 'uuid-lslong': '12453415961528734172'}, 'enable': 'true', 'created': '2026-02-05T01:54:11', 'last-modified': '2026-02-05T01:54:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.869572'} 2026-02-05 01:54:15,795 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-05 01:54:15,795 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61740552 passed 2026-02-05 01:54:15,795 - DEBUG - ====Verifying policy data for ctest-vn-61740552 in API_Server ====== 2026-02-05 01:54:15,795 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-05 01:54:15,846 - DEBUG - Requesting: https://10.0.0.241:8082/domain/70bce805-d50c-4da5-abf7-4b11fc3802fd 2026-02-05 01:54:15,903 - DEBUG - Requesting: https://10.0.0.241:8082/project/dedddbcd-74db-4273-a610-cf25ad669ec4 2026-02-05 01:54:15,983 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/6a42bc76-7a7a-48e6-acd3-6bd6031991dc 2026-02-05 01:54:16,040 - DEBUG - ==>Verifying data for policy with id: f7d35ebc-3321-4a90-9a6b-6a92d5e93627, fqn: ['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-policy-allow-all-39410081'] 2026-02-05 01:54:16,040 - INFO - VN ctest-vn-61740552 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 01:54:16,040 - DEBUG - Verifying the vn in opserver 2026-02-05 01:54:16,040 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-61740552 virtual network link through opserver 10.0.0.241 2026-02-05 01:54:16,040 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-05 01:54:16,388 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-05 01:54:16,502 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-61740552', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-61740552?flat'} 2026-02-05 01:54:16,502 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-61740552 is found in opserver 2026-02-05 01:54:16,606 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 01:54:16,658 - DEBUG - VRF ids for VN ctest-vn-61740552: {} 2026-02-05 01:54:16,659 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-05 01:54:16,710 - DEBUG - Requesting: https://10.0.0.241:8082/domain/70bce805-d50c-4da5-abf7-4b11fc3802fd 2026-02-05 01:54:16,767 - DEBUG - Requesting: https://10.0.0.241:8082/project/dedddbcd-74db-4273-a610-cf25ad669ec4 2026-02-05 01:54:16,843 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/648e89eb-ca88-49ce-b6a2-cd0c8aa695cd 2026-02-05 01:54:16,900 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/648e89eb-ca88-49ce-b6a2-cd0c8aa695cd 2026-02-05 01:54:16,956 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/62b2fd3b-e1bc-44e6-a7fc-ba92f7011cfb 2026-02-05 01:54:17,011 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/62b2fd3b-e1bc-44e6-a7fc-ba92f7011cfb 2026-02-05 01:54:17,067 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/ba24a762-e637-4556-b930-c80e4b2cf113 2026-02-05 01:54:17,127 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 01:54:17,127 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/648e89eb-ca88-49ce-b6a2-cd0c8aa695cd 2026-02-05 01:54:17,190 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/62b2fd3b-e1bc-44e6-a7fc-ba92f7011cfb 2026-02-05 01:54:17,257 - INFO - Verified VN network id 11 for VN 648e89eb-ca88-49ce-b6a2-cd0c8aa695cd 2026-02-05 01:54:17,257 - INFO - Verifications in API Server for VN ctest-vn-92869796 passed 2026-02-05 01:54:17,258 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/648e89eb-ca88-49ce-b6a2-cd0c8aa695cd 2026-02-05 01:54:17,316 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/62b2fd3b-e1bc-44e6-a7fc-ba92f7011cfb 2026-02-05 01:54:17,376 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/62b2fd3b-e1bc-44e6-a7fc-ba92f7011cfb 2026-02-05 01:54:17,435 - DEBUG - Requesting: https://10.0.0.241:8082/route-target/ba24a762-e637-4556-b930-c80e4b2cf113 2026-02-05 01:54:17,547 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-92869796', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90459926', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7245880496293956046', 'uuid-lslong': '13160306514879485389'}, 'enable': 'true', 'created': '2026-02-05T01:54:12', 'last-modified': '2026-02-05T01:54:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.333633'} 2026-02-05 01:54:17,600 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-05 01:54:17,600 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92869796 passed 2026-02-05 01:54:17,600 - DEBUG - ====Verifying policy data for ctest-vn-92869796 in API_Server ====== 2026-02-05 01:54:17,600 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-05 01:54:17,654 - DEBUG - Requesting: https://10.0.0.241:8082/domain/70bce805-d50c-4da5-abf7-4b11fc3802fd 2026-02-05 01:54:17,711 - DEBUG - Requesting: https://10.0.0.241:8082/project/dedddbcd-74db-4273-a610-cf25ad669ec4 2026-02-05 01:54:17,795 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-network/648e89eb-ca88-49ce-b6a2-cd0c8aa695cd 2026-02-05 01:54:17,851 - DEBUG - ==>Verifying data for policy with id: f7d35ebc-3321-4a90-9a6b-6a92d5e93627, fqn: ['admin_domain', 'ctest-TestBasicPolicy-90459926', 'ctest-policy-allow-all-39410081'] 2026-02-05 01:54:17,851 - INFO - VN ctest-vn-92869796 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-05 01:54:17,852 - DEBUG - Verifying the vn in opserver 2026-02-05 01:54:17,852 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-92869796 virtual network link through opserver 10.0.0.241 2026-02-05 01:54:17,852 - DEBUG - Requesting: https://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-05 01:54:17,910 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-92869796', 'href': 'https://10.0.0.241:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-92869796?flat'} 2026-02-05 01:54:17,910 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-92869796 is found in opserver 2026-02-05 01:54:18,011 - DEBUG - Do not have enough data to verify VN in agent 2026-02-05 01:54:18,062 - DEBUG - VRF ids for VN ctest-vn-92869796: {} 2026-02-05 01:54:18,130 - DEBUG - Services list from nova: [, , ] 2026-02-05 01:54:19,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-669-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-669-1) 2026-02-05 01:54:20,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-669-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-669-1) 2026-02-05 01:54:20,567 - INFO - Waiting for VM ctest-TestBasicPolicy-90459926-29644287 to be up.. 2026-02-05 01:54:20,757 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-05 01:54:25,897 - DEBUG - VM is in ACTIVE state now 2026-02-05 01:54:25,897 - INFO - VM name : ctest-TestBasicPolicy-90459926-29644287 2026-02-05 01:54:26,040 - DEBUG - VM ctest-TestBasicPolicy-90459926-29644287 ID is b0416647-cfbb-4456-8b09-a841ce3d0bde 2026-02-05 01:54:26,079 - DEBUG - VM ctest-TestBasicPolicy-90459926-29644287 launched on Node cn-jenkins-deploy-platform-juju-os-669-1 2026-02-05 01:54:26,226 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/b0416647-cfbb-4456-8b09-a841ce3d0bde 2026-02-05 01:54:26,283 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/d73006f9-f887-4e7a-b835-4a0927fc910a 2026-02-05 01:54:29,761 - 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 1029ms') 2026-02-05 01:54:29,761 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90459926-29644287 failed! 2026-02-05 01:54:29,823 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-90459926:ctest-vn-61740552 is 211.245.72.1 and allocation pool is NOT set 2026-02-05 01:54:31,915 - 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=9.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.628/6.280/9.933/3.652 ms') 2026-02-05 01:54:31,916 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90459926-29644287 passed 2026-02-05 01:54:32,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 01:54:32,076 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90459926-29644287, IP 211.245.72.3, Port 22 2026-02-05 01:54:32,305 - DEBUG - VM ctest-TestBasicPolicy-90459926-29644287 is ready for SSH connections 2026-02-05 01:54:32,305 - INFO - Waiting for VM ctest-TestBasicPolicy-90459926-75587585 to be up.. 2026-02-05 01:54:32,440 - DEBUG - VM is in ACTIVE state now 2026-02-05 01:54:32,440 - INFO - VM name : ctest-TestBasicPolicy-90459926-75587585 2026-02-05 01:54:32,572 - DEBUG - VM ctest-TestBasicPolicy-90459926-75587585 ID is 09c6aec6-7a39-4d58-8226-c431793909ad 2026-02-05 01:54:32,572 - DEBUG - VM ctest-TestBasicPolicy-90459926-75587585 launched on Node cn-jenkins-deploy-platform-juju-os-669-1 2026-02-05 01:54:32,717 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/09c6aec6-7a39-4d58-8226-c431793909ad 2026-02-05 01:54:32,774 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/83f54148-462b-47d4-b106-0cedac65b010 2026-02-05 01:54:34,232 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.639 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.639/2.016/3.394/1.377 ms') 2026-02-05 01:54:34,232 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90459926-75587585 passed 2026-02-05 01:54:34,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 01:54:34,386 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90459926-75587585, IP 132.228.154.3, Port 22 2026-02-05 01:54:34,600 - DEBUG - VM ctest-TestBasicPolicy-90459926-75587585 is ready for SSH connections 2026-02-05 01:54:34,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 01:54:34,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.228.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-05 01:54:34,600 - DEBUG - ping -s 56 -c 3 -W 1 132.228.154.3 2026-02-05 01:54:38,641 - DEBUG - PING 132.228.154.3 (132.228.154.3): 56 data bytes 64 bytes from 132.228.154.3: seq=0 ttl=63 time=3.423 ms 64 bytes from 132.228.154.3: seq=1 ttl=63 time=1.114 ms 64 bytes from 132.228.154.3: seq=2 ttl=63 time=0.939 ms --- 132.228.154.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/1.825/3.423 ms 2026-02-05 01:54:38,641 - INFO - Ping to IP 132.228.154.3 from VM ctest-TestBasicPolicy-90459926-29644287 passed 2026-02-05 01:54:38,846 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f7d35ebc-3321-4a90-9a6b-6a92d5e93627", "href": "https://10.0.0.241:8082/network-policy/f7d35ebc-3321-4a90-9a6b-6a92d5e93627"}} 2026-02-05 01:54:38,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-05 01:54:38,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.228.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-05 01:54:38,846 - DEBUG - ping -s 56 -c 3 -W 1 132.228.154.3 2026-02-05 01:54:42,052 - DEBUG - PING 132.228.154.3 (132.228.154.3): 56 data bytes --- 132.228.154.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-05 01:54:42,052 - WARNING - Ping to IP 132.228.154.3 from VM ctest-TestBasicPolicy-90459926-29644287 failed 2026-02-05 01:54:42,052 - INFO - Deleting VM ctest-TestBasicPolicy-90459926-75587585 2026-02-05 01:54:42,166 - INFO - Deleting VM ctest-TestBasicPolicy-90459926-29644287 2026-02-05 01:54:42,912 - INFO - Deleted policy ctest-policy-allow-all-39410081 2026-02-05 01:54:42,912 - INFO - Deleting VN ctest-vn-92869796 2026-02-05 01:54:43,045 - DEBUG - VN 648e89eb-ca88-49ce-b6a2-cd0c8aa695cd still in use: Unable to complete operation on network 648e89eb-ca88-49ce-b6a2-cd0c8aa695cd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-35484396-6538-408c-a2bb-a137c4ab0343'] 2026-02-05 01:54:43,045 - WARNING - Deleting VN ctest-vn-92869796 failed..Will retry 2026-02-05 01:54:45,204 - DEBUG - Response for deleting network () 2026-02-05 01:54:45,204 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/62b2fd3b-e1bc-44e6-a7fc-ba92f7011cfb 2026-02-05 01:54:45,262 - DEBUG - Response Code: 404 2026-02-05 01:54:45,262 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-05 01:54:45,315 - DEBUG - Requesting: https://10.0.0.241:8082/domain/70bce805-d50c-4da5-abf7-4b11fc3802fd 2026-02-05 01:54:45,379 - DEBUG - Requesting: https://10.0.0.241:8082/project/dedddbcd-74db-4273-a610-cf25ad669ec4 2026-02-05 01:54:45,459 - INFO - Validated that VN ctest-vn-92869796 is not found in API Server 2026-02-05 01:54:45,567 - DEBUG - VN ctest-vn-92869796 is not present in Agent 10.0.0.241 2026-02-05 01:54:45,567 - INFO - Validated that VN ctest-vn-92869796 is not in any agent 2026-02-05 01:54:45,719 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92869796 info 2026-02-05 01:54:45,719 - INFO - Deleting VN ctest-vn-61740552 2026-02-05 01:54:45,887 - DEBUG - Response for deleting network () 2026-02-05 01:54:45,887 - DEBUG - Requesting: https://10.0.0.241:8082/routing-instance/dcf2971e-9c34-444b-9de3-82993d56f27c 2026-02-05 01:54:45,942 - DEBUG - Response Code: 404 2026-02-05 01:54:45,942 - DEBUG - Requesting: https://10.0.0.241:8082/domains 2026-02-05 01:54:45,994 - DEBUG - Requesting: https://10.0.0.241:8082/domain/70bce805-d50c-4da5-abf7-4b11fc3802fd 2026-02-05 01:54:46,051 - DEBUG - Requesting: https://10.0.0.241:8082/project/dedddbcd-74db-4273-a610-cf25ad669ec4 2026-02-05 01:54:46,127 - INFO - Validated that VN ctest-vn-61740552 is not found in API Server 2026-02-05 01:54:46,230 - DEBUG - VN ctest-vn-61740552 is not present in Agent 10.0.0.241 2026-02-05 01:54:46,230 - INFO - Validated that VN ctest-vn-61740552 is not in any agent 2026-02-05 01:54:46,387 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61740552 info 2026-02-05 01:54:46,787 - DEBUG - No XMPP flaps were noticed during the test 2026-02-05 01:54:46,787 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2026-02-05 01:54:46,787 - INFO - -------------------------------------------------------------------------------- 2026-02-05 01:54:47,514 - INFO - Deleted project: ctest-TestBasicPolicy-90459926, ID : dedddbcd-74db-4273-a610-cf25ad669ec4