2026-08-14 04:05:37,410 - INFO - Domain Default found not creating 2026-08-14 04:05:37,580 - INFO - Project ctest-TestBasicPolicy-98578145 not found, creating it 2026-08-14 04:05:38,076 - INFO - Created Project:ctest-TestBasicPolicy-98578145, ID : 78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9 2026-08-14 04:05:39,811 - INFO - ================================================================================ 2026-08-14 04:05:39,811 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-14 04:05:39,811 - 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-08-14 04:05:40,081 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-08-14 04:05:40,081 - INFO - Initial checks done. Running the testcase now 2026-08-14 04:05:40,081 - INFO - 2026-08-14 04:05:40,739 - DEBUG - Response for create_network : {'network': {'id': '7f91a83b-a6f7-45db-afe5-40a83803712c', 'name': 'ctest-vn-46660711', 'tenant_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'project_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-vn-46660711'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 04:05:40,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b865acc2-e60f-4a0d-a3ed-eedf1dc039ea', 'name': '', 'tenant_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'network_id': '7f91a83b-a6f7-45db-afe5-40a83803712c', 'ip_version': 4, 'cidr': '39.116.53.0/26', 'allocation_pools': [{'start': '39.116.53.2', 'end': '39.116.53.62'}], 'gateway_ip': '39.116.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.116.53.2', 'tags': [], 'project_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9'}} 2026-08-14 04:05:40,958 - INFO - Created VN ctest-vn-46660711 2026-08-14 04:05:41,011 - DEBUG - VN ctest-vn-46660711 UUID is 7f91a83b-a6f7-45db-afe5-40a83803712c 2026-08-14 04:05:41,323 - DEBUG - Response for create_network : {'network': {'id': '36ff009b-79fb-42dd-b0bd-467e80c33031', 'name': 'ctest-vn-21833466', 'tenant_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'project_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-vn-21833466'], 'port_security_enabled': True, 'description': ''}} 2026-08-14 04:05:41,488 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dda432dd-435f-4e8e-9203-854119e57966', 'name': '', 'tenant_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'network_id': '36ff009b-79fb-42dd-b0bd-467e80c33031', 'ip_version': 4, 'cidr': '51.125.99.64/26', 'allocation_pools': [{'start': '51.125.99.66', 'end': '51.125.99.126'}], 'gateway_ip': '51.125.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.125.99.66', 'tags': [], 'project_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9'}} 2026-08-14 04:05:41,513 - INFO - Created VN ctest-vn-21833466 2026-08-14 04:05:41,571 - DEBUG - VN ctest-vn-21833466 UUID is 36ff009b-79fb-42dd-b0bd-467e80c33031 2026-08-14 04:05:41,688 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711, 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-98578145:ctest-vn-21833466, 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-08-14 04:05:42,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f91a83b-a6f7-45db-afe5-40a83803712c', 'name': 'ctest-vn-46660711', 'tenant_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'project_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b865acc2-e60f-4a0d-a3ed-eedf1dc039ea'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-vn-46660711'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-policy-allow-all-98351690']], 'subnet_ipam': [{'subnet_cidr': '39.116.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 04:05:42,230 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36ff009b-79fb-42dd-b0bd-467e80c33031', 'name': 'ctest-vn-21833466', 'tenant_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'project_id': '78f1a73d50d744c6a2e5c8c4c23d8cc9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dda432dd-435f-4e8e-9203-854119e57966'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-vn-21833466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-policy-allow-all-98351690']], 'subnet_ipam': [{'subnet_cidr': '51.125.99.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-14 04:05:42,406 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-14 04:05:42,790 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-14 04:05:42,821 - DEBUG - Requesting: http://10.0.0.161:8082/domain/0a9cca3f-d863-4ec3-b0a1-69b7ae068a9b 2026-08-14 04:05:42,836 - DEBUG - Requesting: http://10.0.0.161:8082/project/78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9 2026-08-14 04:05:42,917 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7f91a83b-a6f7-45db-afe5-40a83803712c 2026-08-14 04:05:42,931 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7f91a83b-a6f7-45db-afe5-40a83803712c 2026-08-14 04:05:42,943 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7e2ce42e-169c-4829-8c76-4118e2f60ad4 2026-08-14 04:05:42,954 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7e2ce42e-169c-4829-8c76-4118e2f60ad4 2026-08-14 04:05:42,963 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f3a9b91e-4318-4c68-85f4-056c92df9934 2026-08-14 04:05:42,971 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 04:05:42,971 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7f91a83b-a6f7-45db-afe5-40a83803712c 2026-08-14 04:05:42,981 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7e2ce42e-169c-4829-8c76-4118e2f60ad4 2026-08-14 04:05:42,998 - INFO - Verified VN network id 11 for VN 7f91a83b-a6f7-45db-afe5-40a83803712c 2026-08-14 04:05:42,999 - INFO - Verifications in API Server for VN ctest-vn-46660711 passed 2026-08-14 04:05:42,999 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7f91a83b-a6f7-45db-afe5-40a83803712c 2026-08-14 04:05:43,011 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7e2ce42e-169c-4829-8c76-4118e2f60ad4 2026-08-14 04:05:43,019 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7e2ce42e-169c-4829-8c76-4118e2f60ad4 2026-08-14 04:05:43,028 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f3a9b91e-4318-4c68-85f4-056c92df9934 2026-08-14 04:05:43,045 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98578145', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9192313288597652955', 'uuid-lslong': '12674607817542562092'}, 'enable': 'true', 'created': '2026-08-14T04:05:40', 'last-modified': '2026-08-14T04:05:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.070264'} 2026-08-14 04:05:43,053 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-14 04:05:43,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46660711 passed 2026-08-14 04:05:43,053 - DEBUG - ====Verifying policy data for ctest-vn-46660711 in API_Server ====== 2026-08-14 04:05:43,053 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-14 04:05:43,060 - DEBUG - Requesting: http://10.0.0.161:8082/domain/0a9cca3f-d863-4ec3-b0a1-69b7ae068a9b 2026-08-14 04:05:43,075 - DEBUG - Requesting: http://10.0.0.161:8082/project/78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9 2026-08-14 04:05:43,156 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/7f91a83b-a6f7-45db-afe5-40a83803712c 2026-08-14 04:05:43,169 - DEBUG - ==>Verifying data for policy with id: ca82914f-114e-4765-9429-73c9fd3f6575, fqn: ['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-policy-allow-all-98351690'] 2026-08-14 04:05:43,169 - INFO - VN ctest-vn-46660711 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 04:05:43,169 - DEBUG - Verifying the vn in opserver 2026-08-14 04:05:43,169 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711 virtual network link through opserver 10.0.0.161 2026-08-14 04:05:43,169 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-14 04:05:43,541 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-14 04:05:43,608 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711?flat'} 2026-08-14 04:05:43,608 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711 is found in opserver 2026-08-14 04:05:43,619 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 04:05:43,624 - DEBUG - VRF ids for VN ctest-vn-46660711: {} 2026-08-14 04:05:43,624 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-14 04:05:43,631 - DEBUG - Requesting: http://10.0.0.161:8082/domain/0a9cca3f-d863-4ec3-b0a1-69b7ae068a9b 2026-08-14 04:05:43,643 - DEBUG - Requesting: http://10.0.0.161:8082/project/78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9 2026-08-14 04:05:43,725 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36ff009b-79fb-42dd-b0bd-467e80c33031 2026-08-14 04:05:43,740 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36ff009b-79fb-42dd-b0bd-467e80c33031 2026-08-14 04:05:43,752 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/56dc395d-ff68-4455-b17e-277574cffc12 2026-08-14 04:05:43,761 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/56dc395d-ff68-4455-b17e-277574cffc12 2026-08-14 04:05:43,770 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/33ef6a26-0655-4fc8-9e3e-23867faf1801 2026-08-14 04:05:43,778 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 04:05:43,778 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36ff009b-79fb-42dd-b0bd-467e80c33031 2026-08-14 04:05:43,789 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/56dc395d-ff68-4455-b17e-277574cffc12 2026-08-14 04:05:43,806 - INFO - Verified VN network id 12 for VN 36ff009b-79fb-42dd-b0bd-467e80c33031 2026-08-14 04:05:43,806 - INFO - Verifications in API Server for VN ctest-vn-21833466 passed 2026-08-14 04:05:43,806 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36ff009b-79fb-42dd-b0bd-467e80c33031 2026-08-14 04:05:43,816 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/56dc395d-ff68-4455-b17e-277574cffc12 2026-08-14 04:05:43,824 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/56dc395d-ff68-4455-b17e-277574cffc12 2026-08-14 04:05:43,831 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/33ef6a26-0655-4fc8-9e3e-23867faf1801 2026-08-14 04:05:43,844 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-21833466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98578145', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3962886864875766493', 'uuid-lslong': '12735412830413729841'}, 'enable': 'true', 'created': '2026-08-14T04:05:41', 'last-modified': '2026-08-14T04:05:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.635830'} 2026-08-14 04:05:43,850 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-14 04:05:43,850 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21833466 passed 2026-08-14 04:05:43,851 - DEBUG - ====Verifying policy data for ctest-vn-21833466 in API_Server ====== 2026-08-14 04:05:43,851 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-14 04:05:43,856 - DEBUG - Requesting: http://10.0.0.161:8082/domain/0a9cca3f-d863-4ec3-b0a1-69b7ae068a9b 2026-08-14 04:05:43,868 - DEBUG - Requesting: http://10.0.0.161:8082/project/78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9 2026-08-14 04:05:43,948 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/36ff009b-79fb-42dd-b0bd-467e80c33031 2026-08-14 04:05:43,958 - DEBUG - ==>Verifying data for policy with id: ca82914f-114e-4765-9429-73c9fd3f6575, fqn: ['default-domain', 'ctest-TestBasicPolicy-98578145', 'ctest-policy-allow-all-98351690'] 2026-08-14 04:05:43,958 - INFO - VN ctest-vn-21833466 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-14 04:05:43,958 - DEBUG - Verifying the vn in opserver 2026-08-14 04:05:43,958 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-21833466 virtual network link through opserver 10.0.0.161 2026-08-14 04:05:43,958 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-14 04:05:43,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-21833466', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-21833466?flat'} 2026-08-14 04:05:43,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-21833466 is found in opserver 2026-08-14 04:05:43,980 - DEBUG - Do not have enough data to verify VN in agent 2026-08-14 04:05:43,987 - DEBUG - VRF ids for VN ctest-vn-21833466: {} 2026-08-14 04:05:44,059 - DEBUG - Services list from nova: [, , ] 2026-08-14 04:05:44,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6155-1) 2026-08-14 04:05:44,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6155-1) 2026-08-14 04:05:44,973 - INFO - Waiting for VM ctest-TestBasicPolicy-98578145-61613034 to be up.. 2026-08-14 04:05:45,021 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:05:50,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:05:55,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:06:00,300 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:06:05,398 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:06:10,489 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:06:15,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:06:20,696 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-14 04:06:25,782 - DEBUG - VM is in ACTIVE state now 2026-08-14 04:06:25,782 - INFO - VM name : ctest-TestBasicPolicy-98578145-61613034 2026-08-14 04:06:25,867 - DEBUG - VM ctest-TestBasicPolicy-98578145-61613034 ID is 8592aa0c-0451-4090-ab9f-65b172ac4b9e 2026-08-14 04:06:25,889 - DEBUG - VM ctest-TestBasicPolicy-98578145-61613034 launched on Node cn-jenkins-deploy-platform-ansible-os-6155-1 2026-08-14 04:06:25,967 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/8592aa0c-0451-4090-ab9f-65b172ac4b9e 2026-08-14 04:06:25,978 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/0336ce51-89af-422a-896a-ee08771803f2 2026-08-14 04:06:29,264 - 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-08-14 04:06:29,264 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98578145-61613034 failed! 2026-08-14 04:06:29,323 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711 is 39.116.53.1 and allocation pool is NOT set 2026-08-14 04:06:33,389 - 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 1008ms') 2026-08-14 04:06:33,389 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98578145-61613034 failed! 2026-08-14 04:06:33,447 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-98578145:ctest-vn-46660711 is 39.116.53.1 and allocation pool is NOT set 2026-08-14 04:06:35,510 - 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=4.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.684 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.684/2.658/4.632/1.974 ms') 2026-08-14 04:06:35,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-98578145-61613034 passed 2026-08-14 04:06:35,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:06:35,667 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98578145-61613034, IP 39.116.53.3, Port 22 2026-08-14 04:06:35,841 - DEBUG - VM ctest-TestBasicPolicy-98578145-61613034 is ready for SSH connections 2026-08-14 04:06:35,842 - INFO - Waiting for VM ctest-TestBasicPolicy-98578145-50630135 to be up.. 2026-08-14 04:06:35,941 - DEBUG - VM is in ACTIVE state now 2026-08-14 04:06:35,941 - INFO - VM name : ctest-TestBasicPolicy-98578145-50630135 2026-08-14 04:06:36,027 - DEBUG - VM ctest-TestBasicPolicy-98578145-50630135 ID is 10d19d67-7912-4cac-a254-0b2b18344ef8 2026-08-14 04:06:36,027 - DEBUG - VM ctest-TestBasicPolicy-98578145-50630135 launched on Node cn-jenkins-deploy-platform-ansible-os-6155-1 2026-08-14 04:06:36,109 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/10d19d67-7912-4cac-a254-0b2b18344ef8 2026-08-14 04:06:36,118 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c8446725-1274-4b65-8adc-cd62ceb3e88c 2026-08-14 04:06:37,367 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 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.491/2.100/3.710/1.609 ms') 2026-08-14 04:06:37,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-98578145-50630135 passed 2026-08-14 04:06:37,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:06:37,523 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-98578145-50630135, IP 51.125.99.67, Port 22 2026-08-14 04:06:37,694 - DEBUG - VM ctest-TestBasicPolicy-98578145-50630135 is ready for SSH connections 2026-08-14 04:06:37,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:06:37,695 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.125.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-14 04:06:37,695 - DEBUG - ping -s 56 -c 3 -W 1 51.125.99.67 2026-08-14 04:06:41,783 - DEBUG - PING 51.125.99.67 (51.125.99.67): 56 data bytes 64 bytes from 51.125.99.67: seq=0 ttl=63 time=4.629 ms 64 bytes from 51.125.99.67: seq=1 ttl=63 time=1.099 ms 64 bytes from 51.125.99.67: seq=2 ttl=63 time=0.980 ms --- 51.125.99.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.980/2.236/4.629 ms 2026-08-14 04:06:41,784 - INFO - Ping to IP 51.125.99.67 from VM ctest-TestBasicPolicy-98578145-61613034 passed 2026-08-14 04:06:41,970 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ca82914f-114e-4765-9429-73c9fd3f6575", "href": "http://10.0.0.161:8082/network-policy/ca82914f-114e-4765-9429-73c9fd3f6575"}} 2026-08-14 04:06:41,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-14 04:06:41,971 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 51.125.99.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-14 04:06:41,971 - DEBUG - ping -s 56 -c 3 -W 1 51.125.99.67 2026-08-14 04:06:45,114 - DEBUG - PING 51.125.99.67 (51.125.99.67): 56 data bytes 64 bytes from 51.125.99.67: seq=0 ttl=63 time=1.766 ms --- 51.125.99.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.766/1.766/1.766 ms 2026-08-14 04:06:45,114 - WARNING - Ping to IP 51.125.99.67 from VM ctest-TestBasicPolicy-98578145-61613034 failed 2026-08-14 04:06:45,115 - INFO - Deleting VM ctest-TestBasicPolicy-98578145-50630135 2026-08-14 04:06:45,186 - INFO - Deleting VM ctest-TestBasicPolicy-98578145-61613034 2026-08-14 04:06:45,591 - INFO - Deleted policy ctest-policy-allow-all-98351690 2026-08-14 04:06:45,592 - INFO - Deleting VN ctest-vn-21833466 2026-08-14 04:06:45,627 - DEBUG - VN 36ff009b-79fb-42dd-b0bd-467e80c33031 still in use: Unable to complete operation on network 36ff009b-79fb-42dd-b0bd-467e80c33031. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a79eccc8-6533-42fb-a3b5-a25b82e6ab85'] 2026-08-14 04:06:45,627 - WARNING - Deleting VN ctest-vn-21833466 failed..Will retry 2026-08-14 04:06:47,752 - DEBUG - Response for deleting network () 2026-08-14 04:06:47,752 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/56dc395d-ff68-4455-b17e-277574cffc12 2026-08-14 04:06:47,764 - DEBUG - Response Code: 404 2026-08-14 04:06:47,764 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-14 04:06:47,774 - DEBUG - Requesting: http://10.0.0.161:8082/domain/0a9cca3f-d863-4ec3-b0a1-69b7ae068a9b 2026-08-14 04:06:47,834 - DEBUG - Requesting: http://10.0.0.161:8082/project/78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9 2026-08-14 04:06:47,908 - INFO - Validated that VN ctest-vn-21833466 is not found in API Server 2026-08-14 04:06:47,921 - DEBUG - VN ctest-vn-21833466 is not present in Agent 10.0.0.161 2026-08-14 04:06:47,921 - INFO - Validated that VN ctest-vn-21833466 is not in any agent 2026-08-14 04:06:47,937 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21833466 info 2026-08-14 04:06:47,937 - INFO - Deleting VN ctest-vn-46660711 2026-08-14 04:06:48,055 - DEBUG - Response for deleting network () 2026-08-14 04:06:48,055 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7e2ce42e-169c-4829-8c76-4118e2f60ad4 2026-08-14 04:06:48,066 - DEBUG - Response Code: 404 2026-08-14 04:06:48,066 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-14 04:06:48,074 - DEBUG - Requesting: http://10.0.0.161:8082/domain/0a9cca3f-d863-4ec3-b0a1-69b7ae068a9b 2026-08-14 04:06:48,128 - DEBUG - Requesting: http://10.0.0.161:8082/project/78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9 2026-08-14 04:06:48,206 - INFO - Validated that VN ctest-vn-46660711 is not found in API Server 2026-08-14 04:06:48,219 - DEBUG - VN ctest-vn-46660711 is not present in Agent 10.0.0.161 2026-08-14 04:06:48,219 - INFO - Validated that VN ctest-vn-46660711 is not in any agent 2026-08-14 04:06:48,235 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46660711 info 2026-08-14 04:06:48,511 - DEBUG - No XMPP flaps were noticed during the test
2026-08-14 04:06:48,511 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-14 04:06:48,511 - INFO - -------------------------------------------------------------------------------- 2026-08-14 04:06:49,302 - INFO - Deleted project: ctest-TestBasicPolicy-98578145, ID : 78f1a73d-50d7-44c6-a2e5-c8c4c23d8cc9