2026-07-28 18:10:44,842 - INFO - Reading existing Domain with UUID b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:10:44,855 - INFO - Using existing domain ['admin_domain'](b6c1387c-4a80-4b88-8142-7d06420731e1) 2026-07-28 18:10:45,095 - INFO - Project ctest-TestBasicPolicy-62551244 not found, creating it 2026-07-28 18:10:45,974 - INFO - Created Project:ctest-TestBasicPolicy-62551244, ID : 9f6ed3c1-e559-4b5c-bdcd-8109de33be7a 2026-07-28 18:10:47,818 - INFO - ================================================================================ 2026-07-28 18:10:47,819 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-28 18:10:47,819 - 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-28 18:10:48,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.0.0.185': '0'}} with 2026-07-28 18:10:48,220 - INFO - Initial checks done. Running the testcase now 2026-07-28 18:10:48,220 - INFO - 2026-07-28 18:10:49,051 - DEBUG - Response for create_network : {'network': {'id': '2a8eadcf-3351-47d9-b480-da0b816e2e77', 'name': 'ctest-vn-31465197', 'tenant_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'project_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-vn-31465197'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-07-28 18:10:49,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd06f1f4d-4321-40e6-86f8-002031a40197', 'name': '', 'tenant_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'network_id': '2a8eadcf-3351-47d9-b480-da0b816e2e77', 'ip_version': 4, 'cidr': '2.157.208.64/26', 'allocation_pools': [{'start': '2.157.208.66', 'end': '2.157.208.126'}], 'gateway_ip': '2.157.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-07-28T18:10:49.171485', 'updated_at': '2026-07-28T18:10:49.171485', 'dns_server_address': '2.157.208.66', 'tags': [], 'project_id': '9f6ed3c1e5594b5cbdcd8109de33be7a'}} 2026-07-28 18:10:49,352 - INFO - Created VN ctest-vn-31465197 2026-07-28 18:10:49,406 - DEBUG - VN ctest-vn-31465197 UUID is 2a8eadcf-3351-47d9-b480-da0b816e2e77 2026-07-28 18:10:49,936 - DEBUG - Response for create_network : {'network': {'id': 'c34140b9-ccab-4c71-805e-b42d8f06fdf9', 'name': 'ctest-vn-59915166', 'tenant_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'project_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-vn-59915166'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-07-28 18:10:50,194 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0268bda-ff63-4bee-bfff-3573ad45ee97', 'name': '', 'tenant_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'network_id': 'c34140b9-ccab-4c71-805e-b42d8f06fdf9', 'ip_version': 4, 'cidr': '67.192.115.64/26', 'allocation_pools': [{'start': '67.192.115.66', 'end': '67.192.115.126'}], 'gateway_ip': '67.192.115.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-07-28T18:10:50.086620', 'updated_at': '2026-07-28T18:10:50.086620', 'dns_server_address': '67.192.115.66', 'tags': [], 'project_id': '9f6ed3c1e5594b5cbdcd8109de33be7a'}} 2026-07-28 18:10:50,268 - INFO - Created VN ctest-vn-59915166 2026-07-28 18:10:50,326 - DEBUG - VN ctest-vn-59915166 UUID is c34140b9-ccab-4c71-805e-b42d8f06fdf9 2026-07-28 18:10:50,549 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197, 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-62551244:ctest-vn-59915166, 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-28 18:10:51,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2a8eadcf-3351-47d9-b480-da0b816e2e77', 'name': 'ctest-vn-31465197', 'tenant_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'project_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d06f1f4d-4321-40e6-86f8-002031a40197'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-vn-31465197'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-policy-allow-all-00226766']], 'subnet_ipam': [{'subnet_cidr': '2.157.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-07-28T18:10:48.965257', 'updated_at': '2026-07-28T18:10:49.187442'}} 2026-07-28 18:10:51,424 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c34140b9-ccab-4c71-805e-b42d8f06fdf9', 'name': 'ctest-vn-59915166', 'tenant_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'project_id': '9f6ed3c1e5594b5cbdcd8109de33be7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a0268bda-ff63-4bee-bfff-3573ad45ee97'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-vn-59915166'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-policy-allow-all-00226766']], 'subnet_ipam': [{'subnet_cidr': '67.192.115.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-07-28T18:10:49.848046', 'updated_at': '2026-07-28T18:10:50.107055'}} 2026-07-28 18:10:51,618 - DEBUG - Requesting: https://10.0.0.185:8082/domains 2026-07-28 18:10:51,971 - DEBUG - Requesting: https://10.0.0.185:8082/domains 2026-07-28 18:10:52,063 - DEBUG - Requesting: https://10.0.0.185:8082/domain/b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:10:52,127 - DEBUG - Requesting: https://10.0.0.185:8082/project/9f6ed3c1-e559-4b5c-bdcd-8109de33be7a 2026-07-28 18:10:52,211 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/2a8eadcf-3351-47d9-b480-da0b816e2e77 2026-07-28 18:10:52,272 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/2a8eadcf-3351-47d9-b480-da0b816e2e77 2026-07-28 18:10:52,332 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/edc4b498-505d-47c5-bd33-609ec5cdf50c 2026-07-28 18:10:52,387 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/edc4b498-505d-47c5-bd33-609ec5cdf50c 2026-07-28 18:10:52,447 - DEBUG - Requesting: https://10.0.0.185:8082/route-target/8a8c3576-7ffb-4a19-aea3-16099bd7f073 2026-07-28 18:10:52,503 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-28 18:10:52,503 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/2a8eadcf-3351-47d9-b480-da0b816e2e77 2026-07-28 18:10:52,560 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/edc4b498-505d-47c5-bd33-609ec5cdf50c 2026-07-28 18:10:52,626 - INFO - Verified VN network id 11 for VN 2a8eadcf-3351-47d9-b480-da0b816e2e77 2026-07-28 18:10:52,626 - INFO - Verifications in API Server for VN ctest-vn-31465197 passed 2026-07-28 18:10:52,626 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/2a8eadcf-3351-47d9-b480-da0b816e2e77 2026-07-28 18:10:52,685 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/edc4b498-505d-47c5-bd33-609ec5cdf50c 2026-07-28 18:10:52,741 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/edc4b498-505d-47c5-bd33-609ec5cdf50c 2026-07-28 18:10:52,795 - DEBUG - Requesting: https://10.0.0.185:8082/route-target/8a8c3576-7ffb-4a19-aea3-16099bd7f073 2026-07-28 18:10:52,939 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62551244', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3066579501716686809', 'uuid-lslong': '13006635466796969591'}, 'enable': 'true', 'created': '2026-07-28T18:10:48', 'last-modified': '2026-07-28T18:10:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.971850'} 2026-07-28 18:10:52,993 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-28 18:10:52,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31465197 passed 2026-07-28 18:10:52,993 - DEBUG - ====Verifying policy data for ctest-vn-31465197 in API_Server ====== 2026-07-28 18:10:52,994 - DEBUG - Requesting: https://10.0.0.185:8082/domains 2026-07-28 18:10:53,046 - DEBUG - Requesting: https://10.0.0.185:8082/domain/b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:10:53,103 - DEBUG - Requesting: https://10.0.0.185:8082/project/9f6ed3c1-e559-4b5c-bdcd-8109de33be7a 2026-07-28 18:10:53,192 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/2a8eadcf-3351-47d9-b480-da0b816e2e77 2026-07-28 18:10:53,256 - DEBUG - ==>Verifying data for policy with id: fb16bb3d-cbed-412f-943d-72f0ec178f72, fqn: ['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-policy-allow-all-00226766'] 2026-07-28 18:10:53,256 - INFO - VN ctest-vn-31465197 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-28 18:10:53,256 - DEBUG - Verifying the vn in opserver 2026-07-28 18:10:53,256 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197 virtual network link through opserver 10.0.0.185 2026-07-28 18:10:53,256 - DEBUG - Requesting: https://10.0.0.185:8081/analytics/uves/virtual-networks 2026-07-28 18:10:53,613 - DEBUG - Requesting: https://10.0.0.185:8081/analytics/uves/virtual-networks 2026-07-28 18:10:53,750 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197', 'href': 'https://10.0.0.185:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197?flat'} 2026-07-28 18:10:53,751 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197 is found in opserver 2026-07-28 18:10:53,855 - DEBUG - Do not have enough data to verify VN in agent 2026-07-28 18:10:53,907 - DEBUG - VRF ids for VN ctest-vn-31465197: {} 2026-07-28 18:10:53,907 - DEBUG - Requesting: https://10.0.0.185:8082/domains 2026-07-28 18:10:53,959 - DEBUG - Requesting: https://10.0.0.185:8082/domain/b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:10:54,019 - DEBUG - Requesting: https://10.0.0.185:8082/project/9f6ed3c1-e559-4b5c-bdcd-8109de33be7a 2026-07-28 18:10:54,107 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/c34140b9-ccab-4c71-805e-b42d8f06fdf9 2026-07-28 18:10:54,168 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/c34140b9-ccab-4c71-805e-b42d8f06fdf9 2026-07-28 18:10:54,228 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/bbdead66-c0f6-4af0-9a51-3584dfeeb246 2026-07-28 18:10:54,283 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/bbdead66-c0f6-4af0-9a51-3584dfeeb246 2026-07-28 18:10:54,339 - DEBUG - Requesting: https://10.0.0.185:8082/route-target/be39df47-d43e-4216-adde-c0cb2a6d9613 2026-07-28 18:10:54,395 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-28 18:10:54,395 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/c34140b9-ccab-4c71-805e-b42d8f06fdf9 2026-07-28 18:10:54,452 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/bbdead66-c0f6-4af0-9a51-3584dfeeb246 2026-07-28 18:10:54,521 - INFO - Verified VN network id 12 for VN c34140b9-ccab-4c71-805e-b42d8f06fdf9 2026-07-28 18:10:54,521 - INFO - Verifications in API Server for VN ctest-vn-59915166 passed 2026-07-28 18:10:54,522 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/c34140b9-ccab-4c71-805e-b42d8f06fdf9 2026-07-28 18:10:54,580 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/bbdead66-c0f6-4af0-9a51-3584dfeeb246 2026-07-28 18:10:54,635 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/bbdead66-c0f6-4af0-9a51-3584dfeeb246 2026-07-28 18:10:54,687 - DEBUG - Requesting: https://10.0.0.185:8082/route-target/be39df47-d43e-4216-adde-c0cb2a6d9613 2026-07-28 18:10:54,788 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-59915166', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62551244', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14069597877629045873', 'uuid-lslong': '9250028792431705593'}, 'enable': 'true', 'created': '2026-07-28T18:10:49', 'last-modified': '2026-07-28T18:10:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.413342'} 2026-07-28 18:10:54,841 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-28 18:10:54,841 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59915166 passed 2026-07-28 18:10:54,841 - DEBUG - ====Verifying policy data for ctest-vn-59915166 in API_Server ====== 2026-07-28 18:10:54,841 - DEBUG - Requesting: https://10.0.0.185:8082/domains 2026-07-28 18:10:54,894 - DEBUG - Requesting: https://10.0.0.185:8082/domain/b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:10:54,955 - DEBUG - Requesting: https://10.0.0.185:8082/project/9f6ed3c1-e559-4b5c-bdcd-8109de33be7a 2026-07-28 18:10:55,040 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-network/c34140b9-ccab-4c71-805e-b42d8f06fdf9 2026-07-28 18:10:55,095 - DEBUG - ==>Verifying data for policy with id: fb16bb3d-cbed-412f-943d-72f0ec178f72, fqn: ['admin_domain', 'ctest-TestBasicPolicy-62551244', 'ctest-policy-allow-all-00226766'] 2026-07-28 18:10:55,095 - INFO - VN ctest-vn-59915166 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-28 18:10:55,095 - DEBUG - Verifying the vn in opserver 2026-07-28 18:10:55,096 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-59915166 virtual network link through opserver 10.0.0.185 2026-07-28 18:10:55,096 - DEBUG - Requesting: https://10.0.0.185:8081/analytics/uves/virtual-networks 2026-07-28 18:10:55,150 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-59915166', 'href': 'https://10.0.0.185:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-59915166?flat'} 2026-07-28 18:10:55,151 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-59915166 is found in opserver 2026-07-28 18:10:55,251 - DEBUG - Do not have enough data to verify VN in agent 2026-07-28 18:10:55,303 - DEBUG - VRF ids for VN ctest-vn-59915166: {} 2026-07-28 18:10:55,393 - DEBUG - Services list from nova: [, , ] 2026-07-28 18:10:56,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-716-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-716-1) 2026-07-28 18:10:57,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-716-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-716-1) 2026-07-28 18:10:57,505 - INFO - Waiting for VM ctest-TestBasicPolicy-62551244-70903658 to be up.. 2026-07-28 18:10:57,709 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 18:11:02,875 - DEBUG - VM is in ACTIVE state now 2026-07-28 18:11:02,875 - INFO - VM name : ctest-TestBasicPolicy-62551244-70903658 2026-07-28 18:11:03,044 - DEBUG - VM ctest-TestBasicPolicy-62551244-70903658 ID is f8ecfa93-f66b-4aa8-af7d-6e0d0e5f5b3d 2026-07-28 18:11:03,083 - DEBUG - VM ctest-TestBasicPolicy-62551244-70903658 launched on Node cn-jenkins-deploy-platform-juju-os-716-1 2026-07-28 18:11:03,254 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine/f8ecfa93-f66b-4aa8-af7d-6e0d0e5f5b3d 2026-07-28 18:11:03,311 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine-interface/42b346a8-1c8d-4365-98c7-c5d53b28717c 2026-07-28 18:11:06,816 - 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 1025ms') 2026-07-28 18:11:06,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62551244-70903658 failed! 2026-07-28 18:11:06,878 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197 is 2.157.208.65 and allocation pool is NOT set 2026-07-28 18:11:11,001 - 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 1031ms') 2026-07-28 18:11:11,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62551244-70903658 failed! 2026-07-28 18:11:11,062 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicPolicy-62551244:ctest-vn-31465197 is 2.157.208.65 and allocation pool is NOT set 2026-07-28 18:11:13,163 - 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=3.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.519 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.519/1.985/3.452/1.466 ms') 2026-07-28 18:11:13,163 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62551244-70903658 passed 2026-07-28 18:11:13,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 18:11:13,322 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62551244-70903658, IP 2.157.208.67, Port 22 2026-07-28 18:11:13,551 - DEBUG - VM ctest-TestBasicPolicy-62551244-70903658 is ready for SSH connections 2026-07-28 18:11:13,551 - INFO - Waiting for VM ctest-TestBasicPolicy-62551244-44011667 to be up.. 2026-07-28 18:11:13,704 - DEBUG - VM is in ACTIVE state now 2026-07-28 18:11:13,704 - INFO - VM name : ctest-TestBasicPolicy-62551244-44011667 2026-07-28 18:11:13,840 - DEBUG - VM ctest-TestBasicPolicy-62551244-44011667 ID is 9e8d0e8f-a735-4760-999e-979b80f2fad7 2026-07-28 18:11:13,840 - DEBUG - VM ctest-TestBasicPolicy-62551244-44011667 launched on Node cn-jenkins-deploy-platform-juju-os-716-1 2026-07-28 18:11:13,987 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine/9e8d0e8f-a735-4760-999e-979b80f2fad7 2026-07-28 18:11:14,042 - DEBUG - Requesting: https://10.0.0.185:8082/virtual-machine-interface/6373b062-9c10-4958-b992-f3dcf8959dc8 2026-07-28 18:11:15,511 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.593 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.593/1.657/2.722/1.064 ms') 2026-07-28 18:11:15,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62551244-44011667 passed 2026-07-28 18:11:15,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 18:11:15,670 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62551244-44011667, IP 67.192.115.67, Port 22 2026-07-28 18:11:15,898 - DEBUG - VM ctest-TestBasicPolicy-62551244-44011667 is ready for SSH connections 2026-07-28 18:11:15,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 18:11:15,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.192.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-07-28 18:11:15,899 - DEBUG - ping -s 56 -c 3 -W 1 67.192.115.67 2026-07-28 18:11:20,079 - DEBUG - PING 67.192.115.67 (67.192.115.67): 56 data bytes 64 bytes from 67.192.115.67: seq=0 ttl=63 time=3.564 ms 64 bytes from 67.192.115.67: seq=1 ttl=63 time=1.059 ms 64 bytes from 67.192.115.67: seq=2 ttl=63 time=1.418 ms --- 67.192.115.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.059/2.013/3.564 ms 2026-07-28 18:11:20,079 - INFO - Ping to IP 67.192.115.67 from VM ctest-TestBasicPolicy-62551244-70903658 passed 2026-07-28 18:11:20,278 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fb16bb3d-cbed-412f-943d-72f0ec178f72", "href": "https://10.0.0.185:8082/network-policy/fb16bb3d-cbed-412f-943d-72f0ec178f72"}} 2026-07-28 18:11:20,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 18:11:20,278 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.192.115.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-07-28 18:11:20,278 - DEBUG - ping -s 56 -c 3 -W 1 67.192.115.67 2026-07-28 18:11:23,533 - DEBUG - PING 67.192.115.67 (67.192.115.67): 56 data bytes --- 67.192.115.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-28 18:11:23,533 - WARNING - Ping to IP 67.192.115.67 from VM ctest-TestBasicPolicy-62551244-70903658 failed 2026-07-28 18:11:23,533 - INFO - Deleting VM ctest-TestBasicPolicy-62551244-44011667 2026-07-28 18:11:23,642 - INFO - Deleting VM ctest-TestBasicPolicy-62551244-70903658 2026-07-28 18:11:24,437 - INFO - Deleted policy ctest-policy-allow-all-00226766 2026-07-28 18:11:24,437 - INFO - Deleting VN ctest-vn-59915166 2026-07-28 18:11:24,586 - DEBUG - VN c34140b9-ccab-4c71-805e-b42d8f06fdf9 still in use: Unable to complete operation on network c34140b9-ccab-4c71-805e-b42d8f06fdf9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-515f0d8b-d6b1-4be5-a28d-c48268f461b4'] 2026-07-28 18:11:24,586 - WARNING - Deleting VN ctest-vn-59915166 failed..Will retry 2026-07-28 18:11:26,796 - DEBUG - Response for deleting network () 2026-07-28 18:11:26,796 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/bbdead66-c0f6-4af0-9a51-3584dfeeb246 2026-07-28 18:11:26,854 - DEBUG - Response Code: 404 2026-07-28 18:11:26,854 - DEBUG - Requesting: https://10.0.0.185:8082/domains 2026-07-28 18:11:26,906 - DEBUG - Requesting: https://10.0.0.185:8082/domain/b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:11:26,967 - DEBUG - Requesting: https://10.0.0.185:8082/project/9f6ed3c1-e559-4b5c-bdcd-8109de33be7a 2026-07-28 18:11:27,048 - INFO - Validated that VN ctest-vn-59915166 is not found in API Server 2026-07-28 18:11:27,151 - DEBUG - VN ctest-vn-59915166 is not present in Agent 10.0.0.185 2026-07-28 18:11:27,151 - INFO - Validated that VN ctest-vn-59915166 is not in any agent 2026-07-28 18:11:27,307 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59915166 info 2026-07-28 18:11:27,307 - INFO - Deleting VN ctest-vn-31465197 2026-07-28 18:11:27,519 - DEBUG - Response for deleting network () 2026-07-28 18:11:27,520 - DEBUG - Requesting: https://10.0.0.185:8082/routing-instance/edc4b498-505d-47c5-bd33-609ec5cdf50c 2026-07-28 18:11:27,578 - DEBUG - Response Code: 404 2026-07-28 18:11:27,578 - DEBUG - Requesting: https://10.0.0.185:8082/domains 2026-07-28 18:11:27,630 - DEBUG - Requesting: https://10.0.0.185:8082/domain/b6c1387c-4a80-4b88-8142-7d06420731e1 2026-07-28 18:11:27,687 - DEBUG - Requesting: https://10.0.0.185:8082/project/9f6ed3c1-e559-4b5c-bdcd-8109de33be7a 2026-07-28 18:11:27,787 - INFO - Validated that VN ctest-vn-31465197 is not found in API Server 2026-07-28 18:11:27,890 - DEBUG - VN ctest-vn-31465197 is not present in Agent 10.0.0.185 2026-07-28 18:11:27,890 - INFO - Validated that VN ctest-vn-31465197 is not in any agent 2026-07-28 18:11:28,039 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31465197 info 2026-07-28 18:11:28,463 - DEBUG - No XMPP flaps were noticed during the test
2026-07-28 18:11:28,463 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41]
2026-07-28 18:11:28,463 - INFO - -------------------------------------------------------------------------------- 2026-07-28 18:11:29,397 - INFO - Deleted project: ctest-TestBasicPolicy-62551244, ID : 9f6ed3c1-e559-4b5c-bdcd-8109de33be7a