2026-07-30 08:22:28,378 - INFO - Domain Default found not creating 2026-07-30 08:22:28,564 - INFO - Project ctest-TestBasicPolicy-37904102 not found, creating it 2026-07-30 08:22:29,084 - INFO - Created Project:ctest-TestBasicPolicy-37904102, ID : 4b17292f-39cc-4a4e-a0cb-0db4921dd60d 2026-07-30 08:22:31,074 - INFO - ================================================================================ 2026-07-30 08:22:31,075 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-30 08:22:31,075 - 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-30 08:22:31,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-07-30 08:22:31,340 - INFO - Initial checks done. Running the testcase now 2026-07-30 08:22:31,340 - INFO - 2026-07-30 08:22:31,999 - DEBUG - Response for create_network : {'network': {'id': '3b4dd282-25d8-4b94-aeac-16f0ea0f2e87', 'name': 'ctest-vn-13028926', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-13028926'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 08:22:32,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '443e66b1-6001-4a89-a40b-56e907452289', 'name': '', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'network_id': '3b4dd282-25d8-4b94-aeac-16f0ea0f2e87', 'ip_version': 4, 'cidr': '178.53.166.64/26', 'allocation_pools': [{'start': '178.53.166.66', 'end': '178.53.166.126'}], 'gateway_ip': '178.53.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.53.166.66', 'tags': [], 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d'}} 2026-07-30 08:22:32,246 - INFO - Created VN ctest-vn-13028926 2026-07-30 08:22:32,298 - DEBUG - VN ctest-vn-13028926 UUID is 3b4dd282-25d8-4b94-aeac-16f0ea0f2e87 2026-07-30 08:22:32,623 - DEBUG - Response for create_network : {'network': {'id': '9c11d595-72c8-49eb-8d7f-edebad0975b8', 'name': 'ctest-vn-27825929', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-27825929'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 08:22:32,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d94026e-5bce-4669-8cb5-4ce0c0cf8b7f', 'name': '', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'network_id': '9c11d595-72c8-49eb-8d7f-edebad0975b8', 'ip_version': 4, 'cidr': '175.207.69.64/26', 'allocation_pools': [{'start': '175.207.69.66', 'end': '175.207.69.126'}], 'gateway_ip': '175.207.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.207.69.66', 'tags': [], 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d'}} 2026-07-30 08:22:32,846 - INFO - Created VN ctest-vn-27825929 2026-07-30 08:22:32,898 - DEBUG - VN ctest-vn-27825929 UUID is 9c11d595-72c8-49eb-8d7f-edebad0975b8 2026-07-30 08:22:33,054 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926, 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-37904102:ctest-vn-27825929, 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-30 08:22:33,366 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b4dd282-25d8-4b94-aeac-16f0ea0f2e87', 'name': 'ctest-vn-13028926', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['443e66b1-6001-4a89-a40b-56e907452289'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-13028926'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539']], 'subnet_ipam': [{'subnet_cidr': '178.53.166.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-30 08:22:33,621 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c11d595-72c8-49eb-8d7f-edebad0975b8', 'name': 'ctest-vn-27825929', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d94026e-5bce-4669-8cb5-4ce0c0cf8b7f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-27825929'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539']], 'subnet_ipam': [{'subnet_cidr': '175.207.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-30 08:22:33,791 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-07-30 08:22:34,127 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-07-30 08:22:34,156 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353 2026-07-30 08:22:34,170 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d 2026-07-30 08:22:34,246 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87 2026-07-30 08:22:34,258 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87 2026-07-30 08:22:34,269 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe 2026-07-30 08:22:34,278 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe 2026-07-30 08:22:34,286 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/4492a6a6-4e10-4ef6-84b7-036f4ba0a8bc 2026-07-30 08:22:34,294 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-30 08:22:34,294 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87 2026-07-30 08:22:34,305 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe 2026-07-30 08:22:34,320 - INFO - Verified VN network id 11 for VN 3b4dd282-25d8-4b94-aeac-16f0ea0f2e87 2026-07-30 08:22:34,320 - INFO - Verifications in API Server for VN ctest-vn-13028926 passed 2026-07-30 08:22:34,320 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87 2026-07-30 08:22:34,330 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe 2026-07-30 08:22:34,338 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe 2026-07-30 08:22:34,347 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/4492a6a6-4e10-4ef6-84b7-036f4ba0a8bc 2026-07-30 08:22:34,362 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37904102', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4273303077866982292', 'uuid-lslong': '12586460282568519303'}, 'enable': 'true', 'created': '2026-07-30T08:22:31', 'last-modified': '2026-07-30T08:22:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011152'} 2026-07-30 08:22:34,370 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-30 08:22:34,370 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13028926 passed 2026-07-30 08:22:34,370 - DEBUG - ====Verifying policy data for ctest-vn-13028926 in API_Server ====== 2026-07-30 08:22:34,370 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-07-30 08:22:34,377 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353 2026-07-30 08:22:34,389 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d 2026-07-30 08:22:34,492 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87 2026-07-30 08:22:34,504 - DEBUG - ==>Verifying data for policy with id: d323a589-358a-4441-a3e1-04a42cc8b3a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539'] 2026-07-30 08:22:34,505 - INFO - VN ctest-vn-13028926 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-30 08:22:34,505 - DEBUG - Verifying the vn in opserver 2026-07-30 08:22:34,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926 virtual network link through opserver 10.0.0.189 2026-07-30 08:22:34,505 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-07-30 08:22:34,834 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-07-30 08:22:34,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926?flat'} 2026-07-30 08:22:34,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926 is found in opserver 2026-07-30 08:22:34,897 - DEBUG - Do not have enough data to verify VN in agent 2026-07-30 08:22:34,902 - DEBUG - VRF ids for VN ctest-vn-13028926: {} 2026-07-30 08:22:34,902 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-07-30 08:22:34,908 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353 2026-07-30 08:22:34,921 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d 2026-07-30 08:22:34,995 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8 2026-07-30 08:22:35,008 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8 2026-07-30 08:22:35,019 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf 2026-07-30 08:22:35,027 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf 2026-07-30 08:22:35,034 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f4ea5a53-4657-4706-bfcb-b561f76f9872 2026-07-30 08:22:35,042 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-30 08:22:35,042 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8 2026-07-30 08:22:35,051 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf 2026-07-30 08:22:35,069 - INFO - Verified VN network id 12 for VN 9c11d595-72c8-49eb-8d7f-edebad0975b8 2026-07-30 08:22:35,070 - INFO - Verifications in API Server for VN ctest-vn-27825929 passed 2026-07-30 08:22:35,070 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8 2026-07-30 08:22:35,080 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf 2026-07-30 08:22:35,087 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf 2026-07-30 08:22:35,095 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f4ea5a53-4657-4706-bfcb-b561f76f9872 2026-07-30 08:22:35,108 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37904102', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11246004582373411307', 'uuid-lslong': '10196129677866268088'}, 'enable': 'true', 'created': '2026-07-30T08:22:32', 'last-modified': '2026-07-30T08:22:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520300'} 2026-07-30 08:22:35,116 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-30 08:22:35,116 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27825929 passed 2026-07-30 08:22:35,116 - DEBUG - ====Verifying policy data for ctest-vn-27825929 in API_Server ====== 2026-07-30 08:22:35,116 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-07-30 08:22:35,123 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353 2026-07-30 08:22:35,135 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d 2026-07-30 08:22:35,213 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8 2026-07-30 08:22:35,223 - DEBUG - ==>Verifying data for policy with id: d323a589-358a-4441-a3e1-04a42cc8b3a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539'] 2026-07-30 08:22:35,223 - INFO - VN ctest-vn-27825929 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-30 08:22:35,223 - DEBUG - Verifying the vn in opserver 2026-07-30 08:22:35,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929 virtual network link through opserver 10.0.0.189 2026-07-30 08:22:35,223 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-07-30 08:22:35,235 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929?flat'} 2026-07-30 08:22:35,235 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929 is found in opserver 2026-07-30 08:22:35,247 - DEBUG - Do not have enough data to verify VN in agent 2026-07-30 08:22:35,252 - DEBUG - VRF ids for VN ctest-vn-27825929: {} 2026-07-30 08:22:35,317 - DEBUG - Services list from nova: [, , ] 2026-07-30 08:22:35,796 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6122-1) 2026-07-30 08:22:36,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6122-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6122-1) 2026-07-30 08:22:36,173 - INFO - Waiting for VM ctest-TestBasicPolicy-37904102-50402412 to be up.. 2026-07-30 08:22:36,213 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:22:41,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:22:46,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:22:51,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:22:56,517 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:23:01,627 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:23:06,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 08:23:11,798 - DEBUG - VM is in ACTIVE state now 2026-07-30 08:23:11,798 - INFO - VM name : ctest-TestBasicPolicy-37904102-50402412 2026-07-30 08:23:11,886 - DEBUG - VM ctest-TestBasicPolicy-37904102-50402412 ID is 88aac8e4-5927-4e20-b2d9-2ca046a5cbbe 2026-07-30 08:23:11,912 - DEBUG - VM ctest-TestBasicPolicy-37904102-50402412 launched on Node cn-jenkins-deploy-platform-ansible-os-6122-1 2026-07-30 08:23:12,006 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/88aac8e4-5927-4e20-b2d9-2ca046a5cbbe 2026-07-30 08:23:12,016 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/c818af3e-3f97-4942-bf30-8836460ee215 2026-07-30 08:23:15,280 - 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 1026ms') 2026-07-30 08:23:15,280 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37904102-50402412 failed! 2026-07-30 08:23:15,338 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926 is 178.53.166.65 and allocation pool is NOT set 2026-07-30 08:23:17,403 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.465/5.717/9.970/4.252 ms') 2026-07-30 08:23:17,403 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37904102-50402412 passed 2026-07-30 08:23:17,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 08:23:17,559 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37904102-50402412, IP 178.53.166.67, Port 22 2026-07-30 08:23:17,724 - DEBUG - VM ctest-TestBasicPolicy-37904102-50402412 is ready for SSH connections 2026-07-30 08:23:17,725 - INFO - Waiting for VM ctest-TestBasicPolicy-37904102-57477249 to be up.. 2026-07-30 08:23:17,805 - DEBUG - VM is in ACTIVE state now 2026-07-30 08:23:17,805 - INFO - VM name : ctest-TestBasicPolicy-37904102-57477249 2026-07-30 08:23:17,881 - DEBUG - VM ctest-TestBasicPolicy-37904102-57477249 ID is bee1df1b-9200-4646-bc97-dc4c00434872 2026-07-30 08:23:17,882 - DEBUG - VM ctest-TestBasicPolicy-37904102-57477249 launched on Node cn-jenkins-deploy-platform-ansible-os-6122-1 2026-07-30 08:23:17,958 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/bee1df1b-9200-4646-bc97-dc4c00434872 2026-07-30 08:23:17,968 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/522d7cfc-487a-4a06-a20a-85cd523f421f 2026-07-30 08:23:21,226 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1021ms') 2026-07-30 08:23:21,226 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37904102-57477249 failed! 2026-07-30 08:23:21,282 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929 is 175.207.69.65 and allocation pool is NOT set 2026-07-30 08:23:23,349 - 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=5.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.191/3.339/5.488/2.148 ms') 2026-07-30 08:23:23,349 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37904102-57477249 passed 2026-07-30 08:23:23,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 08:23:23,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37904102-57477249, IP 175.207.69.67, Port 22 2026-07-30 08:23:23,678 - DEBUG - VM ctest-TestBasicPolicy-37904102-57477249 is ready for SSH connections 2026-07-30 08:23:23,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 08:23:23,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.207.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-07-30 08:23:23,678 - DEBUG - ping -s 56 -c 3 -W 1 175.207.69.67 2026-07-30 08:23:27,633 - DEBUG - PING 175.207.69.67 (175.207.69.67): 56 data bytes 64 bytes from 175.207.69.67: seq=0 ttl=63 time=3.877 ms 64 bytes from 175.207.69.67: seq=1 ttl=63 time=1.197 ms 64 bytes from 175.207.69.67: seq=2 ttl=63 time=1.096 ms --- 175.207.69.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.096/2.056/3.877 ms 2026-07-30 08:23:27,634 - INFO - Ping to IP 175.207.69.67 from VM ctest-TestBasicPolicy-37904102-50402412 passed 2026-07-30 08:23:27,810 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d323a589-358a-4441-a3e1-04a42cc8b3a1", "href": "http://10.0.0.189:8082/network-policy/d323a589-358a-4441-a3e1-04a42cc8b3a1"}} 2026-07-30 08:23:27,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 08:23:27,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.207.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-07-30 08:23:27,810 - DEBUG - ping -s 56 -c 3 -W 1 175.207.69.67 2026-07-30 08:23:30,938 - DEBUG - PING 175.207.69.67 (175.207.69.67): 56 data bytes 64 bytes from 175.207.69.67: seq=0 ttl=63 time=1.549 ms --- 175.207.69.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.549/1.549/1.549 ms 2026-07-30 08:23:30,938 - WARNING - Ping to IP 175.207.69.67 from VM ctest-TestBasicPolicy-37904102-50402412 failed 2026-07-30 08:23:30,939 - INFO - Deleting VM ctest-TestBasicPolicy-37904102-57477249 2026-07-30 08:23:31,029 - INFO - Deleting VM ctest-TestBasicPolicy-37904102-50402412 2026-07-30 08:23:31,462 - INFO - Deleted policy ctest-policy-allow-all-72658539 2026-07-30 08:23:31,462 - INFO - Deleting VN ctest-vn-27825929 2026-07-30 08:23:31,510 - DEBUG - VN 9c11d595-72c8-49eb-8d7f-edebad0975b8 still in use: Unable to complete operation on network 9c11d595-72c8-49eb-8d7f-edebad0975b8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5e0cd8c5-8307-4f61-b881-de545a7f65f8'] 2026-07-30 08:23:31,511 - WARNING - Deleting VN ctest-vn-27825929 failed..Will retry 2026-07-30 08:23:33,628 - DEBUG - Response for deleting network () 2026-07-30 08:23:33,628 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf 2026-07-30 08:23:33,637 - DEBUG - Response Code: 404 2026-07-30 08:23:33,637 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-07-30 08:23:33,643 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353 2026-07-30 08:23:33,697 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d 2026-07-30 08:23:33,780 - INFO - Validated that VN ctest-vn-27825929 is not found in API Server 2026-07-30 08:23:33,796 - DEBUG - VN ctest-vn-27825929 is not present in Agent 10.0.0.189 2026-07-30 08:23:33,796 - INFO - Validated that VN ctest-vn-27825929 is not in any agent 2026-07-30 08:23:33,816 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27825929 info 2026-07-30 08:23:33,816 - INFO - Deleting VN ctest-vn-13028926 2026-07-30 08:23:33,946 - DEBUG - Response for deleting network () 2026-07-30 08:23:33,947 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe 2026-07-30 08:23:33,953 - DEBUG - Response Code: 404 2026-07-30 08:23:33,953 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-07-30 08:23:33,960 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353 2026-07-30 08:23:34,016 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d 2026-07-30 08:23:34,096 - INFO - Validated that VN ctest-vn-13028926 is not found in API Server 2026-07-30 08:23:34,110 - DEBUG - VN ctest-vn-13028926 is not present in Agent 10.0.0.189 2026-07-30 08:23:34,110 - INFO - Validated that VN ctest-vn-13028926 is not in any agent 2026-07-30 08:23:34,131 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13028926 info 2026-07-30 08:23:34,389 - DEBUG - No XMPP flaps were noticed during the test 2026-07-30 08:23:34,389 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03] 2026-07-30 08:23:34,389 - INFO - -------------------------------------------------------------------------------- 2026-07-30 08:23:35,113 - INFO - Deleted project: ctest-TestBasicPolicy-37904102, ID : 4b17292f-39cc-4a4e-a0cb-0db4921dd60d