2026-10-26 16:52:18,387 - INFO - Domain Default found not creating 2026-10-26 16:52:18,652 - INFO - Project ctest-TestBasicPolicy-10743599 not found, creating it 2026-10-26 16:52:19,181 - INFO - Created Project:ctest-TestBasicPolicy-10743599, ID : 02695b78-f887-475a-9634-c6d82d7d975c 2026-10-26 16:52:21,313 - INFO - ================================================================================ 2026-10-26 16:52:21,314 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-10-26 16:52:21,314 - 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-10-26 16:52:21,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-10-26 16:52:21,748 - INFO - Initial checks done. Running the testcase now 2026-10-26 16:52:21,748 - INFO - 2026-10-26 16:52:22,772 - DEBUG - Response for create_network : {'network': {'id': '93f92cc7-52c4-417f-b342-f9201dae534a', 'name': 'ctest-vn-96843939', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-96843939'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 16:52:23,025 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a29a1b92-4dc6-4859-a14d-482dd42fd212', 'name': '', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'network_id': '93f92cc7-52c4-417f-b342-f9201dae534a', 'ip_version': 4, 'cidr': '78.166.89.64/26', 'allocation_pools': [{'start': '78.166.89.66', 'end': '78.166.89.126'}], 'gateway_ip': '78.166.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.166.89.66', 'tags': [], 'project_id': '02695b78f887475a9634c6d82d7d975c'}} 2026-10-26 16:52:23,047 - INFO - Created VN ctest-vn-96843939 2026-10-26 16:52:23,099 - DEBUG - VN ctest-vn-96843939 UUID is 93f92cc7-52c4-417f-b342-f9201dae534a 2026-10-26 16:52:23,452 - DEBUG - Response for create_network : {'network': {'id': 'f5b767aa-3a47-462b-988a-f841e4149c0e', 'name': 'ctest-vn-99731817', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-99731817'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 16:52:23,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7545f0a-3978-4eac-93c1-11289b5dc0e2', 'name': '', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'network_id': 'f5b767aa-3a47-462b-988a-f841e4149c0e', 'ip_version': 4, 'cidr': '4.178.231.0/26', 'allocation_pools': [{'start': '4.178.231.2', 'end': '4.178.231.62'}], 'gateway_ip': '4.178.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.178.231.2', 'tags': [], 'project_id': '02695b78f887475a9634c6d82d7d975c'}} 2026-10-26 16:52:23,699 - INFO - Created VN ctest-vn-99731817 2026-10-26 16:52:23,759 - DEBUG - VN ctest-vn-99731817 UUID is f5b767aa-3a47-462b-988a-f841e4149c0e 2026-10-26 16:52:23,891 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939, 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-10743599:ctest-vn-99731817, 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-10-26 16:52:24,232 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93f92cc7-52c4-417f-b342-f9201dae534a', 'name': 'ctest-vn-96843939', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a29a1b92-4dc6-4859-a14d-482dd42fd212'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-96843939'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184']], 'subnet_ipam': [{'subnet_cidr': '78.166.89.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 16:52:24,491 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5b767aa-3a47-462b-988a-f841e4149c0e', 'name': 'ctest-vn-99731817', 'tenant_id': '02695b78f887475a9634c6d82d7d975c', 'project_id': '02695b78f887475a9634c6d82d7d975c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c7545f0a-3978-4eac-93c1-11289b5dc0e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-vn-99731817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184']], 'subnet_ipam': [{'subnet_cidr': '4.178.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-10-26 16:52:24,675 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-26 16:52:25,076 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-26 16:52:25,117 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e 2026-10-26 16:52:25,132 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c 2026-10-26 16:52:25,221 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a 2026-10-26 16:52:25,236 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a 2026-10-26 16:52:25,250 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72 2026-10-26 16:52:25,262 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72 2026-10-26 16:52:25,272 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/52194e30-2f4d-48d4-b742-7fc57871bc96 2026-10-26 16:52:25,281 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 16:52:25,281 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a 2026-10-26 16:52:25,295 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72 2026-10-26 16:52:25,315 - INFO - Verified VN network id 12 for VN 93f92cc7-52c4-417f-b342-f9201dae534a 2026-10-26 16:52:25,315 - INFO - Verifications in API Server for VN ctest-vn-96843939 passed 2026-10-26 16:52:25,315 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a 2026-10-26 16:52:25,330 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72 2026-10-26 16:52:25,339 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72 2026-10-26 16:52:25,350 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/52194e30-2f4d-48d4-b742-7fc57871bc96 2026-10-26 16:52:25,368 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10743599', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10662602827375067519', 'uuid-lslong': '12917160597584237386'}, 'enable': 'true', 'created': '2026-10-26T16:52:22', 'last-modified': '2026-10-26T16:52:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.166171'} 2026-10-26 16:52:25,379 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-10-26 16:52:25,379 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96843939 passed 2026-10-26 16:52:25,379 - DEBUG - ====Verifying policy data for ctest-vn-96843939 in API_Server ====== 2026-10-26 16:52:25,379 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-26 16:52:25,389 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e 2026-10-26 16:52:25,403 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c 2026-10-26 16:52:25,480 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/93f92cc7-52c4-417f-b342-f9201dae534a 2026-10-26 16:52:25,493 - DEBUG - ==>Verifying data for policy with id: ee0d9c08-51cf-4929-b57e-6aec19e67b6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184'] 2026-10-26 16:52:25,493 - INFO - VN ctest-vn-96843939 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 16:52:25,494 - DEBUG - Verifying the vn in opserver 2026-10-26 16:52:25,494 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939 virtual network link through opserver 10.0.0.190 2026-10-26 16:52:25,494 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-26 16:52:25,898 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-26 16:52:25,971 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939?flat'} 2026-10-26 16:52:25,971 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939 is found in opserver 2026-10-26 16:52:25,987 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 16:52:25,994 - DEBUG - VRF ids for VN ctest-vn-96843939: {} 2026-10-26 16:52:25,994 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-26 16:52:26,001 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e 2026-10-26 16:52:26,017 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c 2026-10-26 16:52:26,098 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e 2026-10-26 16:52:26,115 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e 2026-10-26 16:52:26,129 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03 2026-10-26 16:52:26,139 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03 2026-10-26 16:52:26,148 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a6e81263-911b-4639-91df-6ed8a991f661 2026-10-26 16:52:26,157 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 16:52:26,157 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e 2026-10-26 16:52:26,170 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03 2026-10-26 16:52:26,190 - INFO - Verified VN network id 13 for VN f5b767aa-3a47-462b-988a-f841e4149c0e 2026-10-26 16:52:26,191 - INFO - Verifications in API Server for VN ctest-vn-99731817 passed 2026-10-26 16:52:26,191 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e 2026-10-26 16:52:26,205 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03 2026-10-26 16:52:26,214 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03 2026-10-26 16:52:26,224 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/a6e81263-911b-4639-91df-6ed8a991f661 2026-10-26 16:52:26,241 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10743599', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17705734440850245163', 'uuid-lslong': '10991870802434235406'}, 'enable': 'true', 'created': '2026-10-26T16:52:23', 'last-modified': '2026-10-26T16:52:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.778013'} 2026-10-26 16:52:26,250 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-10-26 16:52:26,250 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99731817 passed 2026-10-26 16:52:26,251 - DEBUG - ====Verifying policy data for ctest-vn-99731817 in API_Server ====== 2026-10-26 16:52:26,251 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-26 16:52:26,260 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e 2026-10-26 16:52:26,276 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c 2026-10-26 16:52:26,371 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/f5b767aa-3a47-462b-988a-f841e4149c0e 2026-10-26 16:52:26,383 - DEBUG - ==>Verifying data for policy with id: ee0d9c08-51cf-4929-b57e-6aec19e67b6d, fqn: ['default-domain', 'ctest-TestBasicPolicy-10743599', 'ctest-policy-allow-all-62101184'] 2026-10-26 16:52:26,383 - INFO - VN ctest-vn-99731817 Policy verification: verify_vn_policy_in_api_server, status: True 2026-10-26 16:52:26,383 - DEBUG - Verifying the vn in opserver 2026-10-26 16:52:26,383 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817 virtual network link through opserver 10.0.0.190 2026-10-26 16:52:26,384 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-10-26 16:52:26,396 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817?flat'} 2026-10-26 16:52:26,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817 is found in opserver 2026-10-26 16:52:26,413 - DEBUG - Do not have enough data to verify VN in agent 2026-10-26 16:52:26,421 - DEBUG - VRF ids for VN ctest-vn-99731817: {} 2026-10-26 16:52:26,502 - DEBUG - Services list from nova: [, , ] 2026-10-26 16:52:26,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6415-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6415-1) 2026-10-26 16:52:27,439 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6415-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6415-1) 2026-10-26 16:52:27,439 - INFO - Waiting for VM ctest-TestBasicPolicy-10743599-06813863 to be up.. 2026-10-26 16:52:27,505 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:52:32,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:52:37,982 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:52:43,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:52:48,195 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:52:53,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:52:58,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:53:03,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:53:08,652 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 16:53:13,757 - DEBUG - VM is in ACTIVE state now 2026-10-26 16:53:13,757 - INFO - VM name : ctest-TestBasicPolicy-10743599-06813863 2026-10-26 16:53:13,865 - DEBUG - VM ctest-TestBasicPolicy-10743599-06813863 ID is 0c54f8ad-6522-4525-8054-6d1d7523c9ab 2026-10-26 16:53:13,893 - DEBUG - VM ctest-TestBasicPolicy-10743599-06813863 launched on Node cn-jenkins-deploy-platform-ansible-os-6415-1 2026-10-26 16:53:13,998 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/0c54f8ad-6522-4525-8054-6d1d7523c9ab 2026-10-26 16:53:14,009 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/0fa1d0d1-669e-4c76-84fc-3cd559801061 2026-10-26 16:53:17,294 - 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-10-26 16:53:17,295 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10743599-06813863 failed! 2026-10-26 16:53:17,359 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-96843939 is 78.166.89.65 and allocation pool is NOT set 2026-10-26 16:53:19,424 - 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=11.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.599 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.599/5.911/11.223/5.312 ms') 2026-10-26 16:53:19,424 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10743599-06813863 passed 2026-10-26 16:53:19,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 16:53:19,592 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10743599-06813863, IP 78.166.89.67, Port 22 2026-10-26 16:53:19,767 - DEBUG - VM ctest-TestBasicPolicy-10743599-06813863 is ready for SSH connections 2026-10-26 16:53:19,767 - INFO - Waiting for VM ctest-TestBasicPolicy-10743599-70684551 to be up.. 2026-10-26 16:53:19,886 - DEBUG - VM is in ACTIVE state now 2026-10-26 16:53:19,886 - INFO - VM name : ctest-TestBasicPolicy-10743599-70684551 2026-10-26 16:53:20,021 - DEBUG - VM ctest-TestBasicPolicy-10743599-70684551 ID is 82c7bf40-12be-4ab7-855d-770ed59458a3 2026-10-26 16:53:20,021 - DEBUG - VM ctest-TestBasicPolicy-10743599-70684551 launched on Node cn-jenkins-deploy-platform-ansible-os-6415-1 2026-10-26 16:53:20,150 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/82c7bf40-12be-4ab7-855d-770ed59458a3 2026-10-26 16:53:20,163 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/be0e4edd-3956-4515-af80-803b6258ccf8 2026-10-26 16:53:23,434 - 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 1008ms') 2026-10-26 16:53:23,435 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10743599-70684551 failed! 2026-10-26 16:53:23,495 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10743599:ctest-vn-99731817 is 4.178.231.1 and allocation pool is NOT set 2026-10-26 16:53:25,634 - 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=17.6 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.57 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 = 2.573/10.080/17.588/7.507 ms') 2026-10-26 16:53:25,634 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10743599-70684551 passed 2026-10-26 16:53:25,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 16:53:25,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10743599-70684551, IP 4.178.231.3, Port 22 2026-10-26 16:53:25,866 - 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-10-26 16:53:25,965 - DEBUG - VM ctest-TestBasicPolicy-10743599-70684551 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 16:53:30,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 16:53:30,966 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10743599-70684551, IP 4.178.231.3, Port 22 2026-10-26 16:53:31,138 - DEBUG - VM ctest-TestBasicPolicy-10743599-70684551 is ready for SSH connections 2026-10-26 16:53:31,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 16:53:31,138 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.178.231.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-26 16:53:31,138 - DEBUG - ping -s 56 -c 3 -W 1 4.178.231.3 2026-10-26 16:53:35,378 - DEBUG - PING 4.178.231.3 (4.178.231.3): 56 data bytes 64 bytes from 4.178.231.3: seq=0 ttl=63 time=4.870 ms 64 bytes from 4.178.231.3: seq=1 ttl=63 time=1.251 ms 64 bytes from 4.178.231.3: seq=2 ttl=63 time=1.314 ms --- 4.178.231.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.251/2.478/4.870 ms 2026-10-26 16:53:35,378 - INFO - Ping to IP 4.178.231.3 from VM ctest-TestBasicPolicy-10743599-06813863 passed 2026-10-26 16:53:35,595 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee0d9c08-51cf-4929-b57e-6aec19e67b6d", "href": "http://10.0.0.190:8082/network-policy/ee0d9c08-51cf-4929-b57e-6aec19e67b6d"}} 2026-10-26 16:53:35,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 16:53:35,595 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.178.231.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-10-26 16:53:35,595 - DEBUG - ping -s 56 -c 3 -W 1 4.178.231.3 2026-10-26 16:53:38,754 - DEBUG - PING 4.178.231.3 (4.178.231.3): 56 data bytes 64 bytes from 4.178.231.3: seq=0 ttl=63 time=1.946 ms --- 4.178.231.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.946/1.946/1.946 ms 2026-10-26 16:53:38,754 - WARNING - Ping to IP 4.178.231.3 from VM ctest-TestBasicPolicy-10743599-06813863 failed 2026-10-26 16:53:38,754 - INFO - Deleting VM ctest-TestBasicPolicy-10743599-70684551 2026-10-26 16:53:38,860 - INFO - Deleting VM ctest-TestBasicPolicy-10743599-06813863 2026-10-26 16:53:39,370 - INFO - Deleted policy ctest-policy-allow-all-62101184 2026-10-26 16:53:39,371 - INFO - Deleting VN ctest-vn-99731817 2026-10-26 16:53:39,417 - DEBUG - VN f5b767aa-3a47-462b-988a-f841e4149c0e still in use: Unable to complete operation on network f5b767aa-3a47-462b-988a-f841e4149c0e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de26dfd7-0187-4d6c-b2a9-81e8dfd29f75'] 2026-10-26 16:53:39,417 - WARNING - Deleting VN ctest-vn-99731817 failed..Will retry 2026-10-26 16:53:41,474 - DEBUG - VN f5b767aa-3a47-462b-988a-f841e4149c0e still in use: Unable to complete operation on network f5b767aa-3a47-462b-988a-f841e4149c0e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3fc56596-f11d-4f6b-b686-1957d7a46cee'] 2026-10-26 16:53:41,474 - WARNING - Deleting VN ctest-vn-99731817 failed..Will retry 2026-10-26 16:53:43,629 - DEBUG - Response for deleting network () 2026-10-26 16:53:43,629 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/d3cfa342-8c84-4ce0-a378-94e32ea7fc03 2026-10-26 16:53:43,638 - DEBUG - Response Code: 404 2026-10-26 16:53:43,638 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-26 16:53:43,651 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e 2026-10-26 16:53:43,671 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c 2026-10-26 16:53:43,759 - INFO - Validated that VN ctest-vn-99731817 is not found in API Server 2026-10-26 16:53:43,776 - DEBUG - VN ctest-vn-99731817 is not present in Agent 10.0.0.190 2026-10-26 16:53:43,776 - INFO - Validated that VN ctest-vn-99731817 is not in any agent 2026-10-26 16:53:43,803 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99731817 info 2026-10-26 16:53:43,804 - INFO - Deleting VN ctest-vn-96843939 2026-10-26 16:53:43,959 - DEBUG - Response for deleting network () 2026-10-26 16:53:43,960 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/fda5bb62-f615-4ced-a3a0-23657cc35f72 2026-10-26 16:53:43,967 - DEBUG - Response Code: 404 2026-10-26 16:53:43,968 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-10-26 16:53:43,975 - DEBUG - Requesting: http://10.0.0.190:8082/domain/65dadf12-f756-41f3-8200-714f9eb2025e 2026-10-26 16:53:44,038 - DEBUG - Requesting: http://10.0.0.190:8082/project/02695b78-f887-475a-9634-c6d82d7d975c 2026-10-26 16:53:44,127 - INFO - Validated that VN ctest-vn-96843939 is not found in API Server 2026-10-26 16:53:44,140 - DEBUG - VN ctest-vn-96843939 is not present in Agent 10.0.0.190 2026-10-26 16:53:44,140 - INFO - Validated that VN ctest-vn-96843939 is not in any agent 2026-10-26 16:53:44,163 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96843939 info 2026-10-26 16:53:44,441 - DEBUG - No XMPP flaps were noticed during the test 2026-10-26 16:53:44,441 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:23] 2026-10-26 16:53:44,441 - INFO - -------------------------------------------------------------------------------- 2026-10-26 16:53:45,321 - INFO - Deleted project: ctest-TestBasicPolicy-10743599, ID : 02695b78-f887-475a-9634-c6d82d7d975c