2026-09-19 19:11:54,242 - INFO - Domain Default found not creating 2026-09-19 19:11:54,458 - INFO - Project ctest-TestBasicPolicy-70064703 not found, creating it 2026-09-19 19:11:54,991 - INFO - Created Project:ctest-TestBasicPolicy-70064703, ID : 57ce6dbe-8aab-4e23-b904-bdeec3d2d781 2026-09-19 19:11:56,870 - INFO - ================================================================================ 2026-09-19 19:11:56,870 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-19 19:11:56,870 - 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-09-19 19:11:57,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-09-19 19:11:57,150 - INFO - Initial checks done. Running the testcase now 2026-09-19 19:11:57,150 - INFO - 2026-09-19 19:11:57,866 - DEBUG - Response for create_network : {'network': {'id': '43299207-fdb3-4391-b800-ba02a1fa3180', 'name': 'ctest-vn-31098738', 'tenant_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'project_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-vn-31098738'], 'port_security_enabled': True, 'description': ''}} 2026-09-19 19:11:58,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4d00b71-44a0-4a7a-80ad-704e5f9b6f92', 'name': '', 'tenant_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'network_id': '43299207-fdb3-4391-b800-ba02a1fa3180', 'ip_version': 4, 'cidr': '39.126.131.64/26', 'allocation_pools': [{'start': '39.126.131.66', 'end': '39.126.131.126'}], 'gateway_ip': '39.126.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.126.131.66', 'tags': [], 'project_id': '57ce6dbe8aab4e23b904bdeec3d2d781'}} 2026-09-19 19:11:58,105 - INFO - Created VN ctest-vn-31098738 2026-09-19 19:11:58,159 - DEBUG - VN ctest-vn-31098738 UUID is 43299207-fdb3-4391-b800-ba02a1fa3180 2026-09-19 19:11:58,525 - DEBUG - Response for create_network : {'network': {'id': 'c4b3c42b-59bc-40f4-875f-4a634cc1731e', 'name': 'ctest-vn-54137936', 'tenant_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'project_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-vn-54137936'], 'port_security_enabled': True, 'description': ''}} 2026-09-19 19:11:58,751 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b905566b-92b3-40fc-bbad-2650fbfd1474', 'name': '', 'tenant_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'network_id': 'c4b3c42b-59bc-40f4-875f-4a634cc1731e', 'ip_version': 4, 'cidr': '44.165.12.64/26', 'allocation_pools': [{'start': '44.165.12.66', 'end': '44.165.12.126'}], 'gateway_ip': '44.165.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.165.12.66', 'tags': [], 'project_id': '57ce6dbe8aab4e23b904bdeec3d2d781'}} 2026-09-19 19:11:58,776 - INFO - Created VN ctest-vn-54137936 2026-09-19 19:11:58,831 - DEBUG - VN ctest-vn-54137936 UUID is c4b3c42b-59bc-40f4-875f-4a634cc1731e 2026-09-19 19:11:58,960 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-31098738, 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-70064703:ctest-vn-54137936, 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-09-19 19:11:59,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '43299207-fdb3-4391-b800-ba02a1fa3180', 'name': 'ctest-vn-31098738', 'tenant_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'project_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f4d00b71-44a0-4a7a-80ad-704e5f9b6f92'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-vn-31098738'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-policy-allow-all-19558288']], 'subnet_ipam': [{'subnet_cidr': '39.126.131.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-19 19:11:59,585 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4b3c42b-59bc-40f4-875f-4a634cc1731e', 'name': 'ctest-vn-54137936', 'tenant_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'project_id': '57ce6dbe8aab4e23b904bdeec3d2d781', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b905566b-92b3-40fc-bbad-2650fbfd1474'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-vn-54137936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-policy-allow-all-19558288']], 'subnet_ipam': [{'subnet_cidr': '44.165.12.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-19 19:11:59,755 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-19 19:12:00,144 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-19 19:12:00,181 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9698228a-b6db-412f-a5f5-f735b5c0ac25 2026-09-19 19:12:00,201 - DEBUG - Requesting: http://10.0.0.185:8082/project/57ce6dbe-8aab-4e23-b904-bdeec3d2d781 2026-09-19 19:12:00,296 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/43299207-fdb3-4391-b800-ba02a1fa3180 2026-09-19 19:12:00,325 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/43299207-fdb3-4391-b800-ba02a1fa3180 2026-09-19 19:12:00,337 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6ec3cf21-edc8-46b0-8be9-a89bd57174ea 2026-09-19 19:12:00,351 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6ec3cf21-edc8-46b0-8be9-a89bd57174ea 2026-09-19 19:12:00,361 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/64042405-3e62-4bd6-a9f8-ee2f0755f7b0 2026-09-19 19:12:00,376 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-19 19:12:00,376 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/43299207-fdb3-4391-b800-ba02a1fa3180 2026-09-19 19:12:00,390 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6ec3cf21-edc8-46b0-8be9-a89bd57174ea 2026-09-19 19:12:00,410 - INFO - Verified VN network id 12 for VN 43299207-fdb3-4391-b800-ba02a1fa3180 2026-09-19 19:12:00,410 - INFO - Verifications in API Server for VN ctest-vn-31098738 passed 2026-09-19 19:12:00,410 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/43299207-fdb3-4391-b800-ba02a1fa3180 2026-09-19 19:12:00,424 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6ec3cf21-edc8-46b0-8be9-a89bd57174ea 2026-09-19 19:12:00,434 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6ec3cf21-edc8-46b0-8be9-a89bd57174ea 2026-09-19 19:12:00,446 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/64042405-3e62-4bd6-a9f8-ee2f0755f7b0 2026-09-19 19:12:00,468 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-31098738', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70064703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4839559837605118865', 'uuid-lslong': '13258801823448969600'}, 'enable': 'true', 'created': '2026-09-19T19:11:57', 'last-modified': '2026-09-19T19:11:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.177093'} 2026-09-19 19:12:00,479 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-19 19:12:00,480 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31098738 passed 2026-09-19 19:12:00,480 - DEBUG - ====Verifying policy data for ctest-vn-31098738 in API_Server ====== 2026-09-19 19:12:00,480 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-19 19:12:00,493 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9698228a-b6db-412f-a5f5-f735b5c0ac25 2026-09-19 19:12:00,513 - DEBUG - Requesting: http://10.0.0.185:8082/project/57ce6dbe-8aab-4e23-b904-bdeec3d2d781 2026-09-19 19:12:00,609 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/43299207-fdb3-4391-b800-ba02a1fa3180 2026-09-19 19:12:00,622 - DEBUG - ==>Verifying data for policy with id: a508e64b-074b-463e-b1b2-05b3786ee3ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-policy-allow-all-19558288'] 2026-09-19 19:12:00,622 - INFO - VN ctest-vn-31098738 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-19 19:12:00,622 - DEBUG - Verifying the vn in opserver 2026-09-19 19:12:00,622 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-31098738 virtual network link through opserver 10.0.0.185 2026-09-19 19:12:00,622 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-19 19:12:00,997 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-19 19:12:01,069 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-31098738', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-31098738?flat'} 2026-09-19 19:12:01,069 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-31098738 is found in opserver 2026-09-19 19:12:01,084 - DEBUG - Do not have enough data to verify VN in agent 2026-09-19 19:12:01,092 - DEBUG - VRF ids for VN ctest-vn-31098738: {} 2026-09-19 19:12:01,092 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-19 19:12:01,101 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9698228a-b6db-412f-a5f5-f735b5c0ac25 2026-09-19 19:12:01,118 - DEBUG - Requesting: http://10.0.0.185:8082/project/57ce6dbe-8aab-4e23-b904-bdeec3d2d781 2026-09-19 19:12:01,204 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4b3c42b-59bc-40f4-875f-4a634cc1731e 2026-09-19 19:12:01,222 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4b3c42b-59bc-40f4-875f-4a634cc1731e 2026-09-19 19:12:01,239 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/674dac1a-6a53-4f04-ae68-abbc4e2fc41f 2026-09-19 19:12:01,251 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/674dac1a-6a53-4f04-ae68-abbc4e2fc41f 2026-09-19 19:12:01,261 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/c1d15db2-1b14-490a-a49c-0d6c8de3b10c 2026-09-19 19:12:01,271 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-19 19:12:01,271 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4b3c42b-59bc-40f4-875f-4a634cc1731e 2026-09-19 19:12:01,284 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/674dac1a-6a53-4f04-ae68-abbc4e2fc41f 2026-09-19 19:12:01,307 - INFO - Verified VN network id 13 for VN c4b3c42b-59bc-40f4-875f-4a634cc1731e 2026-09-19 19:12:01,307 - INFO - Verifications in API Server for VN ctest-vn-54137936 passed 2026-09-19 19:12:01,307 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4b3c42b-59bc-40f4-875f-4a634cc1731e 2026-09-19 19:12:01,320 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/674dac1a-6a53-4f04-ae68-abbc4e2fc41f 2026-09-19 19:12:01,332 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/674dac1a-6a53-4f04-ae68-abbc4e2fc41f 2026-09-19 19:12:01,345 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/c1d15db2-1b14-490a-a49c-0d6c8de3b10c 2026-09-19 19:12:01,365 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-54137936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70064703', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14173888142733230324', 'uuid-lslong': '9754597108257747742'}, 'enable': 'true', 'created': '2026-09-19T19:11:58', 'last-modified': '2026-09-19T19:11:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.812168'} 2026-09-19 19:12:01,374 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-19 19:12:01,374 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54137936 passed 2026-09-19 19:12:01,375 - DEBUG - ====Verifying policy data for ctest-vn-54137936 in API_Server ====== 2026-09-19 19:12:01,375 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-19 19:12:01,383 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9698228a-b6db-412f-a5f5-f735b5c0ac25 2026-09-19 19:12:01,398 - DEBUG - Requesting: http://10.0.0.185:8082/project/57ce6dbe-8aab-4e23-b904-bdeec3d2d781 2026-09-19 19:12:01,490 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/c4b3c42b-59bc-40f4-875f-4a634cc1731e 2026-09-19 19:12:01,503 - DEBUG - ==>Verifying data for policy with id: a508e64b-074b-463e-b1b2-05b3786ee3ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-70064703', 'ctest-policy-allow-all-19558288'] 2026-09-19 19:12:01,503 - INFO - VN ctest-vn-54137936 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-19 19:12:01,503 - DEBUG - Verifying the vn in opserver 2026-09-19 19:12:01,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-54137936 virtual network link through opserver 10.0.0.185 2026-09-19 19:12:01,504 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-09-19 19:12:01,518 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-54137936', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-54137936?flat'} 2026-09-19 19:12:01,518 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-54137936 is found in opserver 2026-09-19 19:12:01,535 - DEBUG - Do not have enough data to verify VN in agent 2026-09-19 19:12:01,542 - DEBUG - VRF ids for VN ctest-vn-54137936: {} 2026-09-19 19:12:01,627 - DEBUG - Services list from nova: [, , ] 2026-09-19 19:12:02,065 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6312-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6312-1) 2026-09-19 19:12:02,586 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6312-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6312-1) 2026-09-19 19:12:02,587 - INFO - Waiting for VM ctest-TestBasicPolicy-70064703-62818562 to be up.. 2026-09-19 19:12:02,653 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:07,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:12,845 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:17,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:23,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:28,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:33,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:38,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:43,473 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-19 19:12:48,577 - DEBUG - VM is in ACTIVE state now 2026-09-19 19:12:48,577 - INFO - VM name : ctest-TestBasicPolicy-70064703-62818562 2026-09-19 19:12:48,686 - DEBUG - VM ctest-TestBasicPolicy-70064703-62818562 ID is 99c12851-9486-47e0-b503-adf0912cfa66 2026-09-19 19:12:48,711 - DEBUG - VM ctest-TestBasicPolicy-70064703-62818562 launched on Node cn-jenkins-deploy-platform-ansible-os-6312-1 2026-09-19 19:12:48,810 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/99c12851-9486-47e0-b503-adf0912cfa66 2026-09-19 19:12:48,822 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/fbfe722a-50b0-4048-b520-d5eda352ea16 2026-09-19 19:12:52,126 - 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 1034ms') 2026-09-19 19:12:52,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70064703-62818562 failed! 2026-09-19 19:12:52,187 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70064703:ctest-vn-31098738 is 39.126.131.65 and allocation pool is NOT set 2026-09-19 19:12:54,254 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.688 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.688/2.725/4.763/2.037 ms') 2026-09-19 19:12:54,255 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70064703-62818562 passed 2026-09-19 19:12:54,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 19:12:54,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70064703-62818562, IP 39.126.131.67, Port 22 2026-09-19 19:12:54,602 - DEBUG - VM ctest-TestBasicPolicy-70064703-62818562 is ready for SSH connections 2026-09-19 19:12:54,602 - INFO - Waiting for VM ctest-TestBasicPolicy-70064703-75428851 to be up.. 2026-09-19 19:12:54,725 - DEBUG - VM is in ACTIVE state now 2026-09-19 19:12:54,725 - INFO - VM name : ctest-TestBasicPolicy-70064703-75428851 2026-09-19 19:12:54,834 - DEBUG - VM ctest-TestBasicPolicy-70064703-75428851 ID is bfbb6422-f8ae-4c71-a819-215681e276e7 2026-09-19 19:12:54,834 - DEBUG - VM ctest-TestBasicPolicy-70064703-75428851 launched on Node cn-jenkins-deploy-platform-ansible-os-6312-1 2026-09-19 19:12:54,936 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/bfbb6422-f8ae-4c71-a819-215681e276e7 2026-09-19 19:12:54,948 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/5e274627-ff49-4239-aab4-2520a7d6a318 2026-09-19 19:12:56,207 - 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=11.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.653 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.653/6.075/11.497/5.422 ms') 2026-09-19 19:12:56,207 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70064703-75428851 passed 2026-09-19 19:12:56,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 19:12:56,364 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70064703-75428851, IP 44.165.12.67, Port 22 2026-09-19 19:12:56,534 - DEBUG - VM ctest-TestBasicPolicy-70064703-75428851 is ready for SSH connections 2026-09-19 19:12:56,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 19:12:56,534 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.165.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-19 19:12:56,534 - DEBUG - ping -s 56 -c 3 -W 1 44.165.12.67 2026-09-19 19:13:01,101 - DEBUG - PING 44.165.12.67 (44.165.12.67): 56 data bytes 64 bytes from 44.165.12.67: seq=0 ttl=63 time=9.746 ms 64 bytes from 44.165.12.67: seq=1 ttl=63 time=2.946 ms 64 bytes from 44.165.12.67: seq=2 ttl=63 time=4.034 ms --- 44.165.12.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.946/5.575/9.746 ms 2026-09-19 19:13:01,101 - INFO - Ping to IP 44.165.12.67 from VM ctest-TestBasicPolicy-70064703-62818562 passed 2026-09-19 19:13:01,295 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a508e64b-074b-463e-b1b2-05b3786ee3ff", "href": "http://10.0.0.185:8082/network-policy/a508e64b-074b-463e-b1b2-05b3786ee3ff"}} 2026-09-19 19:13:01,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-19 19:13:01,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 44.165.12.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-09-19 19:13:01,295 - DEBUG - ping -s 56 -c 3 -W 1 44.165.12.67 2026-09-19 19:13:04,688 - DEBUG - PING 44.165.12.67 (44.165.12.67): 56 data bytes 64 bytes from 44.165.12.67: seq=0 ttl=63 time=2.038 ms --- 44.165.12.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.038/2.038/2.038 ms 2026-09-19 19:13:04,688 - WARNING - Ping to IP 44.165.12.67 from VM ctest-TestBasicPolicy-70064703-62818562 failed 2026-09-19 19:13:04,688 - INFO - Deleting VM ctest-TestBasicPolicy-70064703-75428851 2026-09-19 19:13:04,794 - INFO - Deleting VM ctest-TestBasicPolicy-70064703-62818562 2026-09-19 19:13:05,298 - INFO - Deleted policy ctest-policy-allow-all-19558288 2026-09-19 19:13:05,298 - INFO - Deleting VN ctest-vn-54137936 2026-09-19 19:13:05,345 - DEBUG - VN c4b3c42b-59bc-40f4-875f-4a634cc1731e still in use: Unable to complete operation on network c4b3c42b-59bc-40f4-875f-4a634cc1731e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8872d14b-fa9a-4524-b6db-402d98aa64e1'] 2026-09-19 19:13:05,346 - WARNING - Deleting VN ctest-vn-54137936 failed..Will retry 2026-09-19 19:13:07,514 - DEBUG - Response for deleting network () 2026-09-19 19:13:07,514 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/674dac1a-6a53-4f04-ae68-abbc4e2fc41f 2026-09-19 19:13:07,524 - DEBUG - Response Code: 404 2026-09-19 19:13:07,525 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-19 19:13:07,537 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9698228a-b6db-412f-a5f5-f735b5c0ac25 2026-09-19 19:13:07,600 - DEBUG - Requesting: http://10.0.0.185:8082/project/57ce6dbe-8aab-4e23-b904-bdeec3d2d781 2026-09-19 19:13:07,689 - INFO - Validated that VN ctest-vn-54137936 is not found in API Server 2026-09-19 19:13:07,702 - DEBUG - VN ctest-vn-54137936 is not present in Agent 10.0.0.185 2026-09-19 19:13:07,702 - INFO - Validated that VN ctest-vn-54137936 is not in any agent 2026-09-19 19:13:07,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54137936 info 2026-09-19 19:13:07,724 - INFO - Deleting VN ctest-vn-31098738 2026-09-19 19:13:07,904 - DEBUG - Response for deleting network () 2026-09-19 19:13:07,904 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/6ec3cf21-edc8-46b0-8be9-a89bd57174ea 2026-09-19 19:13:07,918 - DEBUG - Response Code: 404 2026-09-19 19:13:07,918 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-09-19 19:13:07,927 - DEBUG - Requesting: http://10.0.0.185:8082/domain/9698228a-b6db-412f-a5f5-f735b5c0ac25 2026-09-19 19:13:07,983 - DEBUG - Requesting: http://10.0.0.185:8082/project/57ce6dbe-8aab-4e23-b904-bdeec3d2d781 2026-09-19 19:13:08,077 - INFO - Validated that VN ctest-vn-31098738 is not found in API Server 2026-09-19 19:13:08,089 - DEBUG - VN ctest-vn-31098738 is not present in Agent 10.0.0.185 2026-09-19 19:13:08,089 - INFO - Validated that VN ctest-vn-31098738 is not in any agent 2026-09-19 19:13:08,111 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31098738 info 2026-09-19 19:13:08,387 - DEBUG - No XMPP flaps were noticed during the test 2026-09-19 19:13:08,387 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-09-19 19:13:08,387 - INFO - -------------------------------------------------------------------------------- 2026-09-19 19:13:09,223 - INFO - Deleted project: ctest-TestBasicPolicy-70064703, ID : 57ce6dbe-8aab-4e23-b904-bdeec3d2d781