2025-12-10 02:29:34,568 - INFO - Domain Default found not creating 2025-12-10 02:29:34,783 - INFO - Project ctest-TestBasicPolicy-38575230 not found, creating it 2025-12-10 02:29:35,284 - INFO - Created Project:ctest-TestBasicPolicy-38575230, ID : e91f065d-f079-4351-a58f-07774b352a51 2025-12-10 02:29:36,966 - INFO - ================================================================================ 2025-12-10 02:29:36,966 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-10 02:29:36,966 - 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-10 02:29:37,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-10 02:29:37,229 - INFO - Initial checks done. Running the testcase now 2025-12-10 02:29:37,229 - INFO - 2025-12-10 02:29:37,866 - DEBUG - Response for create_network : {'network': {'id': '93c3f74a-979e-4084-bae6-be1e4cf920c8', 'name': 'ctest-vn-34861721', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-34861721'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 02:29:38,052 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3acce3d-188f-405a-8886-d0069d5235eb', 'name': '', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'network_id': '93c3f74a-979e-4084-bae6-be1e4cf920c8', 'ip_version': 4, 'cidr': '27.38.15.64/26', 'allocation_pools': [{'start': '27.38.15.66', 'end': '27.38.15.126'}], 'gateway_ip': '27.38.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.38.15.66', 'tags': [], 'project_id': 'e91f065df0794351a58f07774b352a51'}} 2025-12-10 02:29:38,075 - INFO - Created VN ctest-vn-34861721 2025-12-10 02:29:38,128 - DEBUG - VN ctest-vn-34861721 UUID is 93c3f74a-979e-4084-bae6-be1e4cf920c8 2025-12-10 02:29:38,472 - DEBUG - Response for create_network : {'network': {'id': '821339c7-fab5-4c6d-8248-8523104f8282', 'name': 'ctest-vn-27015829', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-27015829'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 02:29:38,656 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbc43186-c137-4900-8a43-f64c2e9b9922', 'name': '', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'network_id': '821339c7-fab5-4c6d-8248-8523104f8282', 'ip_version': 4, 'cidr': '141.24.36.0/26', 'allocation_pools': [{'start': '141.24.36.2', 'end': '141.24.36.62'}], 'gateway_ip': '141.24.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.24.36.2', 'tags': [], 'project_id': 'e91f065df0794351a58f07774b352a51'}} 2025-12-10 02:29:38,677 - INFO - Created VN ctest-vn-27015829 2025-12-10 02:29:38,728 - DEBUG - VN ctest-vn-27015829 UUID is 821339c7-fab5-4c6d-8248-8523104f8282 2025-12-10 02:29:38,849 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721, 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-38575230:ctest-vn-27015829, 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-10 02:29:39,175 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93c3f74a-979e-4084-bae6-be1e4cf920c8', 'name': 'ctest-vn-34861721', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3acce3d-188f-405a-8886-d0069d5235eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-34861721'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963']], 'subnet_ipam': [{'subnet_cidr': '27.38.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 02:29:39,484 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '821339c7-fab5-4c6d-8248-8523104f8282', 'name': 'ctest-vn-27015829', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbc43186-c137-4900-8a43-f64c2e9b9922'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-27015829'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963']], 'subnet_ipam': [{'subnet_cidr': '141.24.36.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-10 02:29:39,632 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-10 02:29:39,984 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-10 02:29:40,021 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32 2025-12-10 02:29:40,036 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51 2025-12-10 02:29:40,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8 2025-12-10 02:29:40,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8 2025-12-10 02:29:40,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7 2025-12-10 02:29:40,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7 2025-12-10 02:29:40,155 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0cc2d756-dc55-4bc1-994d-aa89613592d0 2025-12-10 02:29:40,162 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 02:29:40,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8 2025-12-10 02:29:40,173 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7 2025-12-10 02:29:40,190 - INFO - Verified VN network id 12 for VN 93c3f74a-979e-4084-bae6-be1e4cf920c8 2025-12-10 02:29:40,190 - INFO - Verifications in API Server for VN ctest-vn-34861721 passed 2025-12-10 02:29:40,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8 2025-12-10 02:29:40,201 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7 2025-12-10 02:29:40,207 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7 2025-12-10 02:29:40,215 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0cc2d756-dc55-4bc1-994d-aa89613592d0 2025-12-10 02:29:40,227 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38575230', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10647625843777355908', 'uuid-lslong': '13467660773047738568'}, 'enable': 'true', 'created': '2025-12-10T02:29:37', 'last-modified': '2025-12-10T02:29:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.081332'} 2025-12-10 02:29:40,233 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-10 02:29:40,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34861721 passed 2025-12-10 02:29:40,233 - DEBUG - ====Verifying policy data for ctest-vn-34861721 in API_Server ====== 2025-12-10 02:29:40,234 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-10 02:29:40,240 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32 2025-12-10 02:29:40,257 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51 2025-12-10 02:29:40,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8 2025-12-10 02:29:40,343 - DEBUG - ==>Verifying data for policy with id: ea1fa2e4-450e-4a2b-a974-cc6a8844e2d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963'] 2025-12-10 02:29:40,343 - INFO - VN ctest-vn-34861721 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 02:29:40,343 - DEBUG - Verifying the vn in opserver 2025-12-10 02:29:40,343 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721 virtual network link through opserver 10.0.0.38 2025-12-10 02:29:40,343 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-10 02:29:40,679 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-10 02:29:40,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721?flat'} 2025-12-10 02:29:40,756 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721 is found in opserver 2025-12-10 02:29:40,767 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 02:29:40,772 - DEBUG - VRF ids for VN ctest-vn-34861721: {} 2025-12-10 02:29:40,772 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-10 02:29:40,779 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32 2025-12-10 02:29:40,791 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51 2025-12-10 02:29:40,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282 2025-12-10 02:29:40,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282 2025-12-10 02:29:40,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378 2025-12-10 02:29:40,905 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378 2025-12-10 02:29:40,914 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37699fd6-a9d1-4c89-a9e2-f63d29105af9 2025-12-10 02:29:40,922 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 02:29:40,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282 2025-12-10 02:29:40,934 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378 2025-12-10 02:29:40,951 - INFO - Verified VN network id 13 for VN 821339c7-fab5-4c6d-8248-8523104f8282 2025-12-10 02:29:40,951 - INFO - Verifications in API Server for VN ctest-vn-27015829 passed 2025-12-10 02:29:40,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282 2025-12-10 02:29:40,962 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378 2025-12-10 02:29:40,971 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378 2025-12-10 02:29:40,979 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37699fd6-a9d1-4c89-a9e2-f63d29105af9 2025-12-10 02:29:40,993 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38575230', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9372898780555594861', 'uuid-lslong': '9387899808897794690'}, 'enable': 'true', 'created': '2025-12-10T02:29:38', 'last-modified': '2025-12-10T02:29:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.584293'} 2025-12-10 02:29:40,999 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-10 02:29:40,999 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27015829 passed 2025-12-10 02:29:41,000 - DEBUG - ====Verifying policy data for ctest-vn-27015829 in API_Server ====== 2025-12-10 02:29:41,000 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-10 02:29:41,007 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32 2025-12-10 02:29:41,019 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51 2025-12-10 02:29:41,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282 2025-12-10 02:29:41,108 - DEBUG - ==>Verifying data for policy with id: ea1fa2e4-450e-4a2b-a974-cc6a8844e2d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963'] 2025-12-10 02:29:41,108 - INFO - VN ctest-vn-27015829 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-10 02:29:41,108 - DEBUG - Verifying the vn in opserver 2025-12-10 02:29:41,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829 virtual network link through opserver 10.0.0.38 2025-12-10 02:29:41,108 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-10 02:29:41,120 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829?flat'} 2025-12-10 02:29:41,120 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829 is found in opserver 2025-12-10 02:29:41,132 - DEBUG - Do not have enough data to verify VN in agent 2025-12-10 02:29:41,138 - DEBUG - VRF ids for VN ctest-vn-27015829: {} 2025-12-10 02:29:41,209 - DEBUG - Services list from nova: [, , ] 2025-12-10 02:29:42,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1) 2025-12-10 02:29:43,688 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1) 2025-12-10 02:29:43,689 - INFO - Waiting for VM ctest-TestBasicPolicy-38575230-70390531 to be up.. 2025-12-10 02:29:43,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 02:29:48,877 - DEBUG - VM is in ACTIVE state now 2025-12-10 02:29:48,877 - INFO - VM name : ctest-TestBasicPolicy-38575230-70390531 2025-12-10 02:29:48,959 - DEBUG - VM ctest-TestBasicPolicy-38575230-70390531 ID is 70b2b485-b2b1-4bd7-a213-0d032bd3bff3 2025-12-10 02:29:48,980 - DEBUG - VM ctest-TestBasicPolicy-38575230-70390531 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1 2025-12-10 02:29:49,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/70b2b485-b2b1-4bd7-a213-0d032bd3bff3 2025-12-10 02:29:49,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80acf416-d615-4aff-abb0-2333a4db71bb 2025-12-10 02:29:52,346 - 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 1013ms') 2025-12-10 02:29:52,346 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38575230-70390531 failed! 2025-12-10 02:29:52,400 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721 is 27.38.15.65 and allocation pool is NOT set 2025-12-10 02:29:54,463 - 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=5.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/3.099/5.786/2.686 ms') 2025-12-10 02:29:54,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38575230-70390531 passed 2025-12-10 02:29:54,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:29:54,616 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38575230-70390531, IP 27.38.15.67, Port 22 2025-12-10 02:29:54,783 - DEBUG - VM ctest-TestBasicPolicy-38575230-70390531 is ready for SSH connections 2025-12-10 02:29:54,783 - INFO - Waiting for VM ctest-TestBasicPolicy-38575230-72444864 to be up.. 2025-12-10 02:29:54,876 - DEBUG - VM is in ACTIVE state now 2025-12-10 02:29:54,876 - INFO - VM name : ctest-TestBasicPolicy-38575230-72444864 2025-12-10 02:29:54,963 - DEBUG - VM ctest-TestBasicPolicy-38575230-72444864 ID is 57f03384-e25c-451b-a268-883984684399 2025-12-10 02:29:54,963 - DEBUG - VM ctest-TestBasicPolicy-38575230-72444864 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1 2025-12-10 02:29:55,045 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/57f03384-e25c-451b-a268-883984684399 2025-12-10 02:29:55,054 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/67b44029-6e65-4ba6-a819-3046ef501356 2025-12-10 02:29:56,296 - 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=6.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.027/3.601/6.176/2.574 ms') 2025-12-10 02:29:56,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38575230-72444864 passed 2025-12-10 02:29:56,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:29:56,445 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38575230-72444864, IP 141.24.36.3, Port 22 2025-12-10 02:29:56,510 - 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-10 02:29:56,591 - DEBUG - VM ctest-TestBasicPolicy-38575230-72444864 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-10 02:30:01,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:30:01,592 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38575230-72444864, IP 141.24.36.3, Port 22 2025-12-10 02:30:01,758 - DEBUG - VM ctest-TestBasicPolicy-38575230-72444864 is ready for SSH connections 2025-12-10 02:30:01,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:30:01,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.24.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-10 02:30:01,759 - DEBUG - ping -s 56 -c 3 -W 1 141.24.36.3 2025-12-10 02:30:05,949 - DEBUG - PING 141.24.36.3 (141.24.36.3): 56 data bytes 64 bytes from 141.24.36.3: seq=0 ttl=63 time=4.304 ms 64 bytes from 141.24.36.3: seq=1 ttl=63 time=1.092 ms 64 bytes from 141.24.36.3: seq=2 ttl=63 time=0.904 ms --- 141.24.36.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.904/2.100/4.304 ms 2025-12-10 02:30:05,949 - INFO - Ping to IP 141.24.36.3 from VM ctest-TestBasicPolicy-38575230-70390531 passed 2025-12-10 02:30:06,128 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ea1fa2e4-450e-4a2b-a974-cc6a8844e2d3", "href": "http://10.0.0.38:8082/network-policy/ea1fa2e4-450e-4a2b-a974-cc6a8844e2d3"}} 2025-12-10 02:30:06,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:30:06,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.24.36.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-10 02:30:06,128 - DEBUG - ping -s 56 -c 3 -W 1 141.24.36.3 2025-12-10 02:30:09,367 - DEBUG - PING 141.24.36.3 (141.24.36.3): 56 data bytes --- 141.24.36.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-10 02:30:09,367 - WARNING - Ping to IP 141.24.36.3 from VM ctest-TestBasicPolicy-38575230-70390531 failed 2025-12-10 02:30:09,367 - INFO - Deleting VM ctest-TestBasicPolicy-38575230-72444864 2025-12-10 02:30:09,451 - INFO - Deleting VM ctest-TestBasicPolicy-38575230-70390531 2025-12-10 02:30:09,883 - INFO - Deleted policy ctest-policy-allow-all-19460963 2025-12-10 02:30:09,883 - INFO - Deleting VN ctest-vn-27015829 2025-12-10 02:30:09,923 - DEBUG - VN 821339c7-fab5-4c6d-8248-8523104f8282 still in use: Unable to complete operation on network 821339c7-fab5-4c6d-8248-8523104f8282. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6b2d6d7b-88dd-48f2-a235-d0852d89b996'] 2025-12-10 02:30:09,923 - WARNING - Deleting VN ctest-vn-27015829 failed..Will retry 2025-12-10 02:30:12,047 - DEBUG - Response for deleting network () 2025-12-10 02:30:12,047 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378 2025-12-10 02:30:12,054 - DEBUG - Response Code: 404 2025-12-10 02:30:12,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-10 02:30:12,060 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32 2025-12-10 02:30:12,119 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51 2025-12-10 02:30:12,200 - INFO - Validated that VN ctest-vn-27015829 is not found in API Server 2025-12-10 02:30:12,211 - DEBUG - VN ctest-vn-27015829 is not present in Agent 10.0.0.38 2025-12-10 02:30:12,211 - INFO - Validated that VN ctest-vn-27015829 is not in any agent 2025-12-10 02:30:12,227 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27015829 info 2025-12-10 02:30:12,228 - INFO - Deleting VN ctest-vn-34861721 2025-12-10 02:30:12,347 - DEBUG - Response for deleting network () 2025-12-10 02:30:12,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7 2025-12-10 02:30:12,353 - DEBUG - Response Code: 404 2025-12-10 02:30:12,353 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-10 02:30:12,363 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32 2025-12-10 02:30:12,420 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51 2025-12-10 02:30:12,503 - INFO - Validated that VN ctest-vn-34861721 is not found in API Server 2025-12-10 02:30:12,515 - DEBUG - VN ctest-vn-34861721 is not present in Agent 10.0.0.38 2025-12-10 02:30:12,515 - INFO - Validated that VN ctest-vn-34861721 is not in any agent 2025-12-10 02:30:12,532 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34861721 info 2025-12-10 02:30:12,806 - DEBUG - No XMPP flaps were noticed during the test 2025-12-10 02:30:12,806 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-12-10 02:30:12,806 - INFO - -------------------------------------------------------------------------------- 2025-12-10 02:30:13,583 - INFO - Deleted project: ctest-TestBasicPolicy-38575230, ID : e91f065d-f079-4351-a58f-07774b352a51