2025-12-09 13:27:51,477 - INFO - Domain Default found not creating 2025-12-09 13:27:51,676 - INFO - Project ctest-TestBasicPolicy-22497653 not found, creating it 2025-12-09 13:27:52,199 - INFO - Created Project:ctest-TestBasicPolicy-22497653, ID : 897a9953-ed15-46b3-9512-63f263d7de34 2025-12-09 13:27:53,841 - INFO - ================================================================================ 2025-12-09 13:27:53,841 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-09 13:27:53,841 - 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 2025-12-09 13:27:54,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-09 13:27:54,099 - INFO - Initial checks done. Running the testcase now 2025-12-09 13:27:54,099 - INFO - 2025-12-09 13:27:54,709 - DEBUG - Response for create_network : {'network': {'id': '5b879ae0-11e9-406c-a603-c1024dd8e03f', 'name': 'ctest-vn-83690736', 'tenant_id': '897a9953ed1546b3951263f263d7de34', 'project_id': '897a9953ed1546b3951263f263d7de34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-vn-83690736'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:27:54,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '79a84ef3-2df7-41f7-8f6c-ec4ef54c31d8', 'name': '', 'tenant_id': '897a9953ed1546b3951263f263d7de34', 'network_id': '5b879ae0-11e9-406c-a603-c1024dd8e03f', 'ip_version': 4, 'cidr': '13.86.177.64/26', 'allocation_pools': [{'start': '13.86.177.66', 'end': '13.86.177.126'}], 'gateway_ip': '13.86.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.86.177.66', 'tags': [], 'project_id': '897a9953ed1546b3951263f263d7de34'}} 2025-12-09 13:27:54,886 - INFO - Created VN ctest-vn-83690736 2025-12-09 13:27:54,941 - DEBUG - VN ctest-vn-83690736 UUID is 5b879ae0-11e9-406c-a603-c1024dd8e03f 2025-12-09 13:27:55,258 - DEBUG - Response for create_network : {'network': {'id': '8962e067-c742-44b4-828c-4133c575f3c1', 'name': 'ctest-vn-68339879', 'tenant_id': '897a9953ed1546b3951263f263d7de34', 'project_id': '897a9953ed1546b3951263f263d7de34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-vn-68339879'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:27:55,462 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd38ec385-6ead-4460-9d54-09daec23e49c', 'name': '', 'tenant_id': '897a9953ed1546b3951263f263d7de34', 'network_id': '8962e067-c742-44b4-828c-4133c575f3c1', 'ip_version': 4, 'cidr': '189.244.184.0/26', 'allocation_pools': [{'start': '189.244.184.2', 'end': '189.244.184.62'}], 'gateway_ip': '189.244.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.244.184.2', 'tags': [], 'project_id': '897a9953ed1546b3951263f263d7de34'}} 2025-12-09 13:27:55,482 - INFO - Created VN ctest-vn-68339879 2025-12-09 13:27:55,537 - DEBUG - VN ctest-vn-68339879 UUID is 8962e067-c742-44b4-828c-4133c575f3c1 2025-12-09 13:27:55,654 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-83690736, 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-22497653:ctest-vn-68339879, 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] 2025-12-09 13:27:55,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b879ae0-11e9-406c-a603-c1024dd8e03f', 'name': 'ctest-vn-83690736', 'tenant_id': '897a9953ed1546b3951263f263d7de34', 'project_id': '897a9953ed1546b3951263f263d7de34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['79a84ef3-2df7-41f7-8f6c-ec4ef54c31d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-vn-83690736'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-policy-allow-all-82000745']], 'subnet_ipam': [{'subnet_cidr': '13.86.177.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:27:56,187 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8962e067-c742-44b4-828c-4133c575f3c1', 'name': 'ctest-vn-68339879', 'tenant_id': '897a9953ed1546b3951263f263d7de34', 'project_id': '897a9953ed1546b3951263f263d7de34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d38ec385-6ead-4460-9d54-09daec23e49c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-vn-68339879'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-policy-allow-all-82000745']], 'subnet_ipam': [{'subnet_cidr': '189.244.184.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-09 13:27:56,345 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 13:27:56,692 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 13:27:56,728 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dcf73d1f-6d4f-4352-8d17-341963f61a92 2025-12-09 13:27:56,742 - DEBUG - Requesting: http://10.0.0.38:8082/project/897a9953-ed15-46b3-9512-63f263d7de34 2025-12-09 13:27:56,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5b879ae0-11e9-406c-a603-c1024dd8e03f 2025-12-09 13:27:56,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5b879ae0-11e9-406c-a603-c1024dd8e03f 2025-12-09 13:27:56,843 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40c37f46-c0c8-48b3-9fdd-cb354be04970 2025-12-09 13:27:56,852 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40c37f46-c0c8-48b3-9fdd-cb354be04970 2025-12-09 13:27:56,860 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1810c837-36e7-483c-9a06-acc990b182db 2025-12-09 13:27:56,868 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 13:27:56,868 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5b879ae0-11e9-406c-a603-c1024dd8e03f 2025-12-09 13:27:56,878 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40c37f46-c0c8-48b3-9fdd-cb354be04970 2025-12-09 13:27:56,895 - INFO - Verified VN network id 11 for VN 5b879ae0-11e9-406c-a603-c1024dd8e03f 2025-12-09 13:27:56,895 - INFO - Verifications in API Server for VN ctest-vn-83690736 passed 2025-12-09 13:27:56,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5b879ae0-11e9-406c-a603-c1024dd8e03f 2025-12-09 13:27:56,907 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40c37f46-c0c8-48b3-9fdd-cb354be04970 2025-12-09 13:27:56,915 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40c37f46-c0c8-48b3-9fdd-cb354be04970 2025-12-09 13:27:56,924 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/1810c837-36e7-483c-9a06-acc990b182db 2025-12-09 13:27:56,940 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-83690736', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22497653', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6595410466471231596', 'uuid-lslong': '11962617250866323519'}, 'enable': 'true', 'created': '2025-12-09T13:27:54', 'last-modified': '2025-12-09T13:27:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009768'} 2025-12-09 13:27:56,947 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-09 13:27:56,947 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83690736 passed 2025-12-09 13:27:56,947 - DEBUG - ====Verifying policy data for ctest-vn-83690736 in API_Server ====== 2025-12-09 13:27:56,948 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 13:27:56,955 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dcf73d1f-6d4f-4352-8d17-341963f61a92 2025-12-09 13:27:56,970 - DEBUG - Requesting: http://10.0.0.38:8082/project/897a9953-ed15-46b3-9512-63f263d7de34 2025-12-09 13:27:57,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5b879ae0-11e9-406c-a603-c1024dd8e03f 2025-12-09 13:27:57,059 - DEBUG - ==>Verifying data for policy with id: 2ebb98eb-7553-4316-9be9-2df96d55d155, fqn: ['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-policy-allow-all-82000745'] 2025-12-09 13:27:57,060 - INFO - VN ctest-vn-83690736 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 13:27:57,060 - DEBUG - Verifying the vn in opserver 2025-12-09 13:27:57,060 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-83690736 virtual network link through opserver 10.0.0.38 2025-12-09 13:27:57,060 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 13:27:57,367 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 13:27:57,435 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-83690736', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-83690736?flat'} 2025-12-09 13:27:57,435 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-83690736 is found in opserver 2025-12-09 13:27:57,445 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 13:27:57,450 - DEBUG - VRF ids for VN ctest-vn-83690736: {} 2025-12-09 13:27:57,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 13:27:57,456 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dcf73d1f-6d4f-4352-8d17-341963f61a92 2025-12-09 13:27:57,467 - DEBUG - Requesting: http://10.0.0.38:8082/project/897a9953-ed15-46b3-9512-63f263d7de34 2025-12-09 13:27:57,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8962e067-c742-44b4-828c-4133c575f3c1 2025-12-09 13:27:57,552 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8962e067-c742-44b4-828c-4133c575f3c1 2025-12-09 13:27:57,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdcb93c5-3b7a-48ec-8ce7-9404c2dbd7cd 2025-12-09 13:27:57,570 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdcb93c5-3b7a-48ec-8ce7-9404c2dbd7cd 2025-12-09 13:27:57,577 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8716a10d-30b9-4979-92c8-da2111ec80d0 2025-12-09 13:27:57,584 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 13:27:57,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8962e067-c742-44b4-828c-4133c575f3c1 2025-12-09 13:27:57,594 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdcb93c5-3b7a-48ec-8ce7-9404c2dbd7cd 2025-12-09 13:27:57,608 - INFO - Verified VN network id 12 for VN 8962e067-c742-44b4-828c-4133c575f3c1 2025-12-09 13:27:57,608 - INFO - Verifications in API Server for VN ctest-vn-68339879 passed 2025-12-09 13:27:57,609 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8962e067-c742-44b4-828c-4133c575f3c1 2025-12-09 13:27:57,618 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdcb93c5-3b7a-48ec-8ce7-9404c2dbd7cd 2025-12-09 13:27:57,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdcb93c5-3b7a-48ec-8ce7-9404c2dbd7cd 2025-12-09 13:27:57,633 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8716a10d-30b9-4979-92c8-da2111ec80d0 2025-12-09 13:27:57,647 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-68339879', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22497653', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9899721667243033780', 'uuid-lslong': '9406965412282102721'}, 'enable': 'true', 'created': '2025-12-09T13:27:55', 'last-modified': '2025-12-09T13:27:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.478350'} 2025-12-09 13:27:57,653 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-09 13:27:57,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68339879 passed 2025-12-09 13:27:57,654 - DEBUG - ====Verifying policy data for ctest-vn-68339879 in API_Server ====== 2025-12-09 13:27:57,654 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 13:27:57,660 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dcf73d1f-6d4f-4352-8d17-341963f61a92 2025-12-09 13:27:57,673 - DEBUG - Requesting: http://10.0.0.38:8082/project/897a9953-ed15-46b3-9512-63f263d7de34 2025-12-09 13:27:57,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8962e067-c742-44b4-828c-4133c575f3c1 2025-12-09 13:27:57,754 - DEBUG - ==>Verifying data for policy with id: 2ebb98eb-7553-4316-9be9-2df96d55d155, fqn: ['default-domain', 'ctest-TestBasicPolicy-22497653', 'ctest-policy-allow-all-82000745'] 2025-12-09 13:27:57,755 - INFO - VN ctest-vn-68339879 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-09 13:27:57,755 - DEBUG - Verifying the vn in opserver 2025-12-09 13:27:57,755 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-68339879 virtual network link through opserver 10.0.0.38 2025-12-09 13:27:57,755 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-09 13:27:57,766 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-68339879', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-68339879?flat'} 2025-12-09 13:27:57,766 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-68339879 is found in opserver 2025-12-09 13:27:57,776 - DEBUG - Do not have enough data to verify VN in agent 2025-12-09 13:27:57,781 - DEBUG - VRF ids for VN ctest-vn-68339879: {} 2025-12-09 13:27:57,843 - DEBUG - Services list from nova: [, , ] 2025-12-09 13:27:58,906 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1) 2025-12-09 13:28:00,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4870-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4870-1) 2025-12-09 13:28:00,132 - INFO - Waiting for VM ctest-TestBasicPolicy-22497653-07391107 to be up.. 2025-12-09 13:28:00,224 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 13:28:05,320 - DEBUG - VM is in ACTIVE state now 2025-12-09 13:28:05,320 - INFO - VM name : ctest-TestBasicPolicy-22497653-07391107 2025-12-09 13:28:05,406 - DEBUG - VM ctest-TestBasicPolicy-22497653-07391107 ID is 60fb577f-ed28-41d0-b388-ac1bd955402b 2025-12-09 13:28:05,427 - DEBUG - VM ctest-TestBasicPolicy-22497653-07391107 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1 2025-12-09 13:28:05,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/60fb577f-ed28-41d0-b388-ac1bd955402b 2025-12-09 13:28:05,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e3f3f401-6caa-4324-b350-c61af6f7575d 2025-12-09 13:28:08,793 - 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 1018ms') 2025-12-09 13:28:08,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22497653-07391107 failed! 2025-12-09 13:28:08,849 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-22497653:ctest-vn-83690736 is 13.86.177.65 and allocation pool is NOT set 2025-12-09 13:28:10,918 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.01 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.011/6.022/10.033/4.011 ms') 2025-12-09 13:28:10,918 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-22497653-07391107 passed 2025-12-09 13:28:11,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:28:11,077 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22497653-07391107, IP 13.86.177.67, Port 22 2025-12-09 13:28:11,244 - DEBUG - VM ctest-TestBasicPolicy-22497653-07391107 is ready for SSH connections 2025-12-09 13:28:11,244 - INFO - Waiting for VM ctest-TestBasicPolicy-22497653-82257361 to be up.. 2025-12-09 13:28:11,333 - DEBUG - VM is in ACTIVE state now 2025-12-09 13:28:11,334 - INFO - VM name : ctest-TestBasicPolicy-22497653-82257361 2025-12-09 13:28:11,437 - DEBUG - VM ctest-TestBasicPolicy-22497653-82257361 ID is a55ade5c-cf5a-48d2-b5fb-39389f511c83 2025-12-09 13:28:11,437 - DEBUG - VM ctest-TestBasicPolicy-22497653-82257361 launched on Node cn-jenkins-deploy-platform-ansible-os-4870-1 2025-12-09 13:28:11,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a55ade5c-cf5a-48d2-b5fb-39389f511c83 2025-12-09 13:28:11,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bc9c9255-4048-496a-854d-fd95953b59ec 2025-12-09 13:28:12,798 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.800 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.800/2.034/3.268/1.234 ms') 2025-12-09 13:28:12,798 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-22497653-82257361 passed 2025-12-09 13:28:12,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:28:12,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22497653-82257361, IP 189.244.184.3, Port 22 2025-12-09 13:28:13,019 - 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': ''} 2025-12-09 13:28:13,106 - DEBUG - VM ctest-TestBasicPolicy-22497653-82257361 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-09 13:28:18,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:28:18,107 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-22497653-82257361, IP 189.244.184.3, Port 22 2025-12-09 13:28:18,275 - DEBUG - VM ctest-TestBasicPolicy-22497653-82257361 is ready for SSH connections 2025-12-09 13:28:18,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:28:18,276 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.244.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:28:18,276 - DEBUG - ping -s 56 -c 3 -W 1 189.244.184.3 2025-12-09 13:28:22,411 - DEBUG - PING 189.244.184.3 (189.244.184.3): 56 data bytes 64 bytes from 189.244.184.3: seq=0 ttl=63 time=5.472 ms 64 bytes from 189.244.184.3: seq=1 ttl=63 time=1.196 ms 64 bytes from 189.244.184.3: seq=2 ttl=63 time=1.042 ms --- 189.244.184.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.042/2.570/5.472 ms 2025-12-09 13:28:22,411 - INFO - Ping to IP 189.244.184.3 from VM ctest-TestBasicPolicy-22497653-07391107 passed 2025-12-09 13:28:22,608 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2ebb98eb-7553-4316-9be9-2df96d55d155", "href": "http://10.0.0.38:8082/network-policy/2ebb98eb-7553-4316-9be9-2df96d55d155"}} 2025-12-09 13:28:22,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 13:28:22,609 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.244.184.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 13:28:22,609 - DEBUG - ping -s 56 -c 3 -W 1 189.244.184.3 2025-12-09 13:28:25,830 - DEBUG - PING 189.244.184.3 (189.244.184.3): 56 data bytes --- 189.244.184.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-09 13:28:25,830 - WARNING - Ping to IP 189.244.184.3 from VM ctest-TestBasicPolicy-22497653-07391107 failed 2025-12-09 13:28:25,830 - INFO - Deleting VM ctest-TestBasicPolicy-22497653-82257361 2025-12-09 13:28:25,922 - INFO - Deleting VM ctest-TestBasicPolicy-22497653-07391107 2025-12-09 13:28:26,329 - INFO - Deleted policy ctest-policy-allow-all-82000745 2025-12-09 13:28:26,330 - INFO - Deleting VN ctest-vn-68339879 2025-12-09 13:28:26,372 - DEBUG - VN 8962e067-c742-44b4-828c-4133c575f3c1 still in use: Unable to complete operation on network 8962e067-c742-44b4-828c-4133c575f3c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f43a624-6924-4b1b-8adf-4445450b0df9'] 2025-12-09 13:28:26,372 - WARNING - Deleting VN ctest-vn-68339879 failed..Will retry 2025-12-09 13:28:28,488 - DEBUG - Response for deleting network () 2025-12-09 13:28:28,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cdcb93c5-3b7a-48ec-8ce7-9404c2dbd7cd 2025-12-09 13:28:28,501 - DEBUG - Response Code: 404 2025-12-09 13:28:28,501 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 13:28:28,507 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dcf73d1f-6d4f-4352-8d17-341963f61a92 2025-12-09 13:28:28,564 - DEBUG - Requesting: http://10.0.0.38:8082/project/897a9953-ed15-46b3-9512-63f263d7de34 2025-12-09 13:28:28,643 - INFO - Validated that VN ctest-vn-68339879 is not found in API Server 2025-12-09 13:28:28,658 - DEBUG - VN ctest-vn-68339879 is not present in Agent 10.0.0.38 2025-12-09 13:28:28,658 - INFO - Validated that VN ctest-vn-68339879 is not in any agent 2025-12-09 13:28:28,674 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68339879 info 2025-12-09 13:28:28,674 - INFO - Deleting VN ctest-vn-83690736 2025-12-09 13:28:28,788 - DEBUG - Response for deleting network () 2025-12-09 13:28:28,788 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40c37f46-c0c8-48b3-9fdd-cb354be04970 2025-12-09 13:28:28,794 - DEBUG - Response Code: 404 2025-12-09 13:28:28,794 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-09 13:28:28,801 - DEBUG - Requesting: http://10.0.0.38:8082/domain/dcf73d1f-6d4f-4352-8d17-341963f61a92 2025-12-09 13:28:28,858 - DEBUG - Requesting: http://10.0.0.38:8082/project/897a9953-ed15-46b3-9512-63f263d7de34 2025-12-09 13:28:28,936 - INFO - Validated that VN ctest-vn-83690736 is not found in API Server 2025-12-09 13:28:28,947 - DEBUG - VN ctest-vn-83690736 is not present in Agent 10.0.0.38 2025-12-09 13:28:28,947 - INFO - Validated that VN ctest-vn-83690736 is not in any agent 2025-12-09 13:28:28,963 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83690736 info 2025-12-09 13:28:29,235 - DEBUG - No XMPP flaps were noticed during the test 2025-12-09 13:28:29,235 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-12-09 13:28:29,236 - INFO - -------------------------------------------------------------------------------- 2025-12-09 13:28:29,976 - INFO - Deleted project: ctest-TestBasicPolicy-22497653, ID : 897a9953-ed15-46b3-9512-63f263d7de34