2026-08-21 13:53:33,729 - INFO - Domain Default found not creating 2026-08-21 13:53:33,922 - INFO - Project ctest-TestBasicPolicy-67465269 not found, creating it 2026-08-21 13:53:34,437 - INFO - Created Project:ctest-TestBasicPolicy-67465269, ID : b3a7c6a9-b0fe-4e7b-a68c-d155d789350c 2026-08-21 13:53:36,202 - INFO - ================================================================================ 2026-08-21 13:53:36,202 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 13:53:36,202 - 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-21 13:53:36,463 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-08-21 13:53:36,463 - INFO - Initial checks done. Running the testcase now 2026-08-21 13:53:36,463 - INFO - 2026-08-21 13:53:37,109 - DEBUG - Response for create_network : {'network': {'id': '8ac9e9b6-0bf9-439b-b482-03b01d094b2e', 'name': 'ctest-vn-07015310', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-07015310'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:53:37,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a87411c-07fa-48ac-9915-fb711f7a523f', 'name': '', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'network_id': '8ac9e9b6-0bf9-439b-b482-03b01d094b2e', 'ip_version': 4, 'cidr': '182.156.168.128/26', 'allocation_pools': [{'start': '182.156.168.130', 'end': '182.156.168.190'}], 'gateway_ip': '182.156.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.156.168.130', 'tags': [], 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c'}} 2026-08-21 13:53:37,323 - INFO - Created VN ctest-vn-07015310 2026-08-21 13:53:37,376 - DEBUG - VN ctest-vn-07015310 UUID is 8ac9e9b6-0bf9-439b-b482-03b01d094b2e 2026-08-21 13:53:37,742 - DEBUG - Response for create_network : {'network': {'id': '286177af-6f06-4ef0-8ea4-3210d581b472', 'name': 'ctest-vn-98228287', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-98228287'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:53:37,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '3672b841-6a24-437b-bb28-9f9683a2a903', 'name': '', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'network_id': '286177af-6f06-4ef0-8ea4-3210d581b472', 'ip_version': 4, 'cidr': '90.71.181.128/26', 'allocation_pools': [{'start': '90.71.181.130', 'end': '90.71.181.190'}], 'gateway_ip': '90.71.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.71.181.130', 'tags': [], 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c'}} 2026-08-21 13:53:38,002 - INFO - Created VN ctest-vn-98228287 2026-08-21 13:53:38,056 - DEBUG - VN ctest-vn-98228287 UUID is 286177af-6f06-4ef0-8ea4-3210d581b472 2026-08-21 13:53:38,182 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310, 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-67465269:ctest-vn-98228287, 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-21 13:53:38,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8ac9e9b6-0bf9-439b-b482-03b01d094b2e', 'name': 'ctest-vn-07015310', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4a87411c-07fa-48ac-9915-fb711f7a523f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-07015310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384']], 'subnet_ipam': [{'subnet_cidr': '182.156.168.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:53:38,745 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '286177af-6f06-4ef0-8ea4-3210d581b472', 'name': 'ctest-vn-98228287', 'tenant_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'project_id': 'b3a7c6a9b0fe4e7ba68cd155d789350c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3672b841-6a24-437b-bb28-9f9683a2a903'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-vn-98228287'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384']], 'subnet_ipam': [{'subnet_cidr': '90.71.181.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 13:53:38,912 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 13:53:39,286 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 13:53:39,316 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62 2026-08-21 13:53:39,336 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c 2026-08-21 13:53:39,437 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e 2026-08-21 13:53:39,450 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e 2026-08-21 13:53:39,461 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8 2026-08-21 13:53:39,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8 2026-08-21 13:53:39,477 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b6154e66-1df5-4d6c-ba28-1005ab8e698e 2026-08-21 13:53:39,484 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 13:53:39,484 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e 2026-08-21 13:53:39,494 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8 2026-08-21 13:53:39,509 - INFO - Verified VN network id 11 for VN 8ac9e9b6-0bf9-439b-b482-03b01d094b2e 2026-08-21 13:53:39,509 - INFO - Verifications in API Server for VN ctest-vn-07015310 passed 2026-08-21 13:53:39,510 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e 2026-08-21 13:53:39,520 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8 2026-08-21 13:53:39,528 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8 2026-08-21 13:53:39,536 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b6154e66-1df5-4d6c-ba28-1005ab8e698e 2026-08-21 13:53:39,552 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67465269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10000781415647101851', 'uuid-lslong': '13006962728735689518'}, 'enable': 'true', 'created': '2026-08-21T13:53:37', 'last-modified': '2026-08-21T13:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.078219'} 2026-08-21 13:53:39,561 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 13:53:39,561 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07015310 passed 2026-08-21 13:53:39,561 - DEBUG - ====Verifying policy data for ctest-vn-07015310 in API_Server ====== 2026-08-21 13:53:39,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 13:53:39,568 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62 2026-08-21 13:53:39,581 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c 2026-08-21 13:53:39,669 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8ac9e9b6-0bf9-439b-b482-03b01d094b2e 2026-08-21 13:53:39,684 - DEBUG - ==>Verifying data for policy with id: 3970b973-d6f9-49e8-aacf-250946db2634, fqn: ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384'] 2026-08-21 13:53:39,684 - INFO - VN ctest-vn-07015310 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 13:53:39,684 - DEBUG - Verifying the vn in opserver 2026-08-21 13:53:39,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310 virtual network link through opserver 10.0.0.50 2026-08-21 13:53:39,685 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 13:53:40,057 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 13:53:40,113 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310?flat'} 2026-08-21 13:53:40,113 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310 is found in opserver 2026-08-21 13:53:40,126 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 13:53:40,132 - DEBUG - VRF ids for VN ctest-vn-07015310: {} 2026-08-21 13:53:40,132 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 13:53:40,139 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62 2026-08-21 13:53:40,152 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c 2026-08-21 13:53:40,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472 2026-08-21 13:53:40,242 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472 2026-08-21 13:53:40,253 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a 2026-08-21 13:53:40,262 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a 2026-08-21 13:53:40,270 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b972bfb-2c74-45a6-9d24-3a8b1751ee36 2026-08-21 13:53:40,277 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 13:53:40,277 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472 2026-08-21 13:53:40,287 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a 2026-08-21 13:53:40,303 - INFO - Verified VN network id 12 for VN 286177af-6f06-4ef0-8ea4-3210d581b472 2026-08-21 13:53:40,303 - INFO - Verifications in API Server for VN ctest-vn-98228287 passed 2026-08-21 13:53:40,303 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472 2026-08-21 13:53:40,313 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a 2026-08-21 13:53:40,322 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a 2026-08-21 13:53:40,332 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b972bfb-2c74-45a6-9d24-3a8b1751ee36 2026-08-21 13:53:40,347 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-67465269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2909738429623717616', 'uuid-lslong': '10278395297449227378'}, 'enable': 'true', 'created': '2026-08-21T13:53:37', 'last-modified': '2026-08-21T13:53:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.626845'} 2026-08-21 13:53:40,356 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 13:53:40,356 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98228287 passed 2026-08-21 13:53:40,356 - DEBUG - ====Verifying policy data for ctest-vn-98228287 in API_Server ====== 2026-08-21 13:53:40,356 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 13:53:40,363 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62 2026-08-21 13:53:40,376 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c 2026-08-21 13:53:40,457 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/286177af-6f06-4ef0-8ea4-3210d581b472 2026-08-21 13:53:40,467 - DEBUG - ==>Verifying data for policy with id: 3970b973-d6f9-49e8-aacf-250946db2634, fqn: ['default-domain', 'ctest-TestBasicPolicy-67465269', 'ctest-policy-allow-all-34527384'] 2026-08-21 13:53:40,467 - INFO - VN ctest-vn-98228287 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 13:53:40,467 - DEBUG - Verifying the vn in opserver 2026-08-21 13:53:40,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287 virtual network link through opserver 10.0.0.50 2026-08-21 13:53:40,467 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 13:53:40,479 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287?flat'} 2026-08-21 13:53:40,479 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-98228287 is found in opserver 2026-08-21 13:53:40,492 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 13:53:40,498 - DEBUG - VRF ids for VN ctest-vn-98228287: {} 2026-08-21 13:53:40,564 - DEBUG - Services list from nova: [, , ] 2026-08-21 13:53:41,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6203-1) 2026-08-21 13:53:41,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6203-1) 2026-08-21 13:53:41,471 - INFO - Waiting for VM ctest-TestBasicPolicy-67465269-64087123 to be up.. 2026-08-21 13:53:41,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:53:46,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:53:51,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:53:56,794 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:54:01,887 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:54:06,971 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:54:12,063 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:54:17,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 13:54:22,234 - DEBUG - VM is in ACTIVE state now 2026-08-21 13:54:22,234 - INFO - VM name : ctest-TestBasicPolicy-67465269-64087123 2026-08-21 13:54:22,336 - DEBUG - VM ctest-TestBasicPolicy-67465269-64087123 ID is d93a92b1-98d9-4233-b002-091a425a26f5 2026-08-21 13:54:22,361 - DEBUG - VM ctest-TestBasicPolicy-67465269-64087123 launched on Node cn-jenkins-deploy-platform-ansible-os-6203-1 2026-08-21 13:54:22,445 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d93a92b1-98d9-4233-b002-091a425a26f5 2026-08-21 13:54:22,456 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30e61c55-87f8-4b7c-bec6-ea1e3bbff688 2026-08-21 13:54:25,721 - 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 1015ms') 2026-08-21 13:54:25,721 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67465269-64087123 failed! 2026-08-21 13:54:25,776 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-67465269:ctest-vn-07015310 is 182.156.168.129 and allocation pool is NOT set 2026-08-21 13:54:27,840 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.442/2.043/3.645/1.601 ms') 2026-08-21 13:54:27,840 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-67465269-64087123 passed 2026-08-21 13:54:27,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:54:27,992 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67465269-64087123, IP 182.156.168.131, Port 22 2026-08-21 13:54:28,162 - DEBUG - VM ctest-TestBasicPolicy-67465269-64087123 is ready for SSH connections 2026-08-21 13:54:28,162 - INFO - Waiting for VM ctest-TestBasicPolicy-67465269-96770672 to be up.. 2026-08-21 13:54:28,257 - DEBUG - VM is in ACTIVE state now 2026-08-21 13:54:28,257 - INFO - VM name : ctest-TestBasicPolicy-67465269-96770672 2026-08-21 13:54:28,338 - DEBUG - VM ctest-TestBasicPolicy-67465269-96770672 ID is 21608561-b5db-4200-9d62-6794f2ba675c 2026-08-21 13:54:28,339 - DEBUG - VM ctest-TestBasicPolicy-67465269-96770672 launched on Node cn-jenkins-deploy-platform-ansible-os-6203-1 2026-08-21 13:54:28,418 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/21608561-b5db-4200-9d62-6794f2ba675c 2026-08-21 13:54:28,429 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9580c6d1-f032-41f4-bfd8-34eb6d3382fe 2026-08-21 13:54:29,691 - 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=4.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.43 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 = 3.426/3.862/4.299/0.436 ms') 2026-08-21 13:54:29,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-67465269-96770672 passed 2026-08-21 13:54:29,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:54:29,840 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67465269-96770672, IP 90.71.181.131, Port 22 2026-08-21 13:54:29,906 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-21 13:54:29,995 - DEBUG - VM ctest-TestBasicPolicy-67465269-96770672 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 13:54:34,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:54:34,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-67465269-96770672, IP 90.71.181.131, Port 22 2026-08-21 13:54:35,163 - DEBUG - VM ctest-TestBasicPolicy-67465269-96770672 is ready for SSH connections 2026-08-21 13:54:35,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:54:35,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.71.181.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 13:54:35,164 - DEBUG - ping -s 56 -c 3 -W 1 90.71.181.131 2026-08-21 13:54:39,677 - DEBUG - PING 90.71.181.131 (90.71.181.131): 56 data bytes 64 bytes from 90.71.181.131: seq=0 ttl=63 time=4.377 ms 64 bytes from 90.71.181.131: seq=1 ttl=63 time=1.254 ms 64 bytes from 90.71.181.131: seq=2 ttl=63 time=1.034 ms --- 90.71.181.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/2.221/4.377 ms 2026-08-21 13:54:39,677 - INFO - Ping to IP 90.71.181.131 from VM ctest-TestBasicPolicy-67465269-64087123 passed 2026-08-21 13:54:39,868 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3970b973-d6f9-49e8-aacf-250946db2634", "href": "http://10.0.0.50:8082/network-policy/3970b973-d6f9-49e8-aacf-250946db2634"}} 2026-08-21 13:54:39,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 13:54:39,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.71.181.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 13:54:39,868 - DEBUG - ping -s 56 -c 3 -W 1 90.71.181.131 2026-08-21 13:54:43,009 - DEBUG - PING 90.71.181.131 (90.71.181.131): 56 data bytes 64 bytes from 90.71.181.131: seq=0 ttl=63 time=1.604 ms --- 90.71.181.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.604/1.604/1.604 ms 2026-08-21 13:54:43,009 - WARNING - Ping to IP 90.71.181.131 from VM ctest-TestBasicPolicy-67465269-64087123 failed 2026-08-21 13:54:43,009 - INFO - Deleting VM ctest-TestBasicPolicy-67465269-96770672 2026-08-21 13:54:43,091 - INFO - Deleting VM ctest-TestBasicPolicy-67465269-64087123 2026-08-21 13:54:43,525 - INFO - Deleted policy ctest-policy-allow-all-34527384 2026-08-21 13:54:43,526 - INFO - Deleting VN ctest-vn-98228287 2026-08-21 13:54:43,575 - DEBUG - VN 286177af-6f06-4ef0-8ea4-3210d581b472 still in use: Unable to complete operation on network 286177af-6f06-4ef0-8ea4-3210d581b472. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8650f545-c684-42e9-a028-4cb6c09376f0'] 2026-08-21 13:54:43,575 - WARNING - Deleting VN ctest-vn-98228287 failed..Will retry 2026-08-21 13:54:45,699 - DEBUG - Response for deleting network () 2026-08-21 13:54:45,700 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bb73eb3c-a2fc-42ac-b32e-32261b9ca65a 2026-08-21 13:54:45,710 - DEBUG - Response Code: 404 2026-08-21 13:54:45,710 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 13:54:45,719 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62 2026-08-21 13:54:45,776 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c 2026-08-21 13:54:45,852 - INFO - Validated that VN ctest-vn-98228287 is not found in API Server 2026-08-21 13:54:45,864 - DEBUG - VN ctest-vn-98228287 is not present in Agent 10.0.0.50 2026-08-21 13:54:45,864 - INFO - Validated that VN ctest-vn-98228287 is not in any agent 2026-08-21 13:54:45,883 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98228287 info 2026-08-21 13:54:45,884 - INFO - Deleting VN ctest-vn-07015310 2026-08-21 13:54:46,008 - DEBUG - Response for deleting network () 2026-08-21 13:54:46,009 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bee383bf-c93b-43be-a62f-b3658dedcfd8 2026-08-21 13:54:46,021 - DEBUG - Response Code: 404 2026-08-21 13:54:46,021 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 13:54:46,029 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea21fc-9331-4d6b-970c-48c9e7e38c62 2026-08-21 13:54:46,089 - DEBUG - Requesting: http://10.0.0.50:8082/project/b3a7c6a9-b0fe-4e7b-a68c-d155d789350c 2026-08-21 13:54:46,174 - INFO - Validated that VN ctest-vn-07015310 is not found in API Server 2026-08-21 13:54:46,185 - DEBUG - VN ctest-vn-07015310 is not present in Agent 10.0.0.50 2026-08-21 13:54:46,185 - INFO - Validated that VN ctest-vn-07015310 is not in any agent 2026-08-21 13:54:46,202 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07015310 info 2026-08-21 13:54:46,475 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 13:54:46,475 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-08-21 13:54:46,475 - INFO - -------------------------------------------------------------------------------- 2026-08-21 13:54:47,312 - INFO - Deleted project: ctest-TestBasicPolicy-67465269, ID : b3a7c6a9-b0fe-4e7b-a68c-d155d789350c