2025-12-11 02:21:59,723 - INFO - Domain Default found not creating 2025-12-11 02:21:59,873 - INFO - Project ctest-TestBasicPolicy-84568668 not found, creating it 2025-12-11 02:22:00,311 - INFO - Created Project:ctest-TestBasicPolicy-84568668, ID : 3b30b565-5d2c-447b-bb06-f610bcb104e3 2025-12-11 02:22:01,743 - INFO - ================================================================================ 2025-12-11 02:22:01,743 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-11 02:22:01,743 - 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-11 02:22:01,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.192': '0'}} with 2025-12-11 02:22:01,999 - INFO - Initial checks done. Running the testcase now 2025-12-11 02:22:01,999 - INFO - 2025-12-11 02:22:02,549 - DEBUG - Response for create_network : {'network': {'id': 'c50c9538-03a5-4b13-a3a2-51b235cc87c5', 'name': 'ctest-vn-15520073', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-15520073'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:22:02,697 - DEBUG - Response for create_subnet : {'subnet': {'id': 'defa22fb-9f16-454f-9ef0-dc7042993846', 'name': '', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'network_id': 'c50c9538-03a5-4b13-a3a2-51b235cc87c5', 'ip_version': 4, 'cidr': '109.90.94.128/26', 'allocation_pools': [{'start': '109.90.94.130', 'end': '109.90.94.190'}], 'gateway_ip': '109.90.94.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.90.94.130', 'tags': [], 'project_id': '3b30b5655d2c447bbb06f610bcb104e3'}} 2025-12-11 02:22:02,712 - INFO - Created VN ctest-vn-15520073 2025-12-11 02:22:02,767 - DEBUG - VN ctest-vn-15520073 UUID is c50c9538-03a5-4b13-a3a2-51b235cc87c5 2025-12-11 02:22:03,115 - DEBUG - Response for create_network : {'network': {'id': '327ff7a2-15ff-46fb-8482-05e8b262495b', 'name': 'ctest-vn-48523359', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-48523359'], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:22:03,263 - DEBUG - Response for create_subnet : {'subnet': {'id': '653bc70e-fd99-49be-8d09-b4fee0888352', 'name': '', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'network_id': '327ff7a2-15ff-46fb-8482-05e8b262495b', 'ip_version': 4, 'cidr': '175.192.17.64/26', 'allocation_pools': [{'start': '175.192.17.66', 'end': '175.192.17.126'}], 'gateway_ip': '175.192.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.192.17.66', 'tags': [], 'project_id': '3b30b5655d2c447bbb06f610bcb104e3'}} 2025-12-11 02:22:03,281 - INFO - Created VN ctest-vn-48523359 2025-12-11 02:22:03,331 - DEBUG - VN ctest-vn-48523359 UUID is 327ff7a2-15ff-46fb-8482-05e8b262495b 2025-12-11 02:22:03,479 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073, 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-84568668:ctest-vn-48523359, 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-11 02:22:03,778 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c50c9538-03a5-4b13-a3a2-51b235cc87c5', 'name': 'ctest-vn-15520073', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['defa22fb-9f16-454f-9ef0-dc7042993846'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-15520073'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765']], 'subnet_ipam': [{'subnet_cidr': '109.90.94.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:22:03,985 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '327ff7a2-15ff-46fb-8482-05e8b262495b', 'name': 'ctest-vn-48523359', 'tenant_id': '3b30b5655d2c447bbb06f610bcb104e3', 'project_id': '3b30b5655d2c447bbb06f610bcb104e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['653bc70e-fd99-49be-8d09-b4fee0888352'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-vn-48523359'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765']], 'subnet_ipam': [{'subnet_cidr': '175.192.17.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-11 02:22:04,151 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 02:22:04,439 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 02:22:04,474 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21 2025-12-11 02:22:04,485 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3 2025-12-11 02:22:04,553 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5 2025-12-11 02:22:04,562 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5 2025-12-11 02:22:04,570 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83 2025-12-11 02:22:04,576 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83 2025-12-11 02:22:04,581 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/082f9889-1515-49e2-a78e-47b5eb94f4a8 2025-12-11 02:22:04,591 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 02:22:04,591 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5 2025-12-11 02:22:04,600 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83 2025-12-11 02:22:04,611 - INFO - Verified VN network id 12 for VN c50c9538-03a5-4b13-a3a2-51b235cc87c5 2025-12-11 02:22:04,612 - INFO - Verifications in API Server for VN ctest-vn-15520073 passed 2025-12-11 02:22:04,612 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5 2025-12-11 02:22:04,619 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83 2025-12-11 02:22:04,625 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83 2025-12-11 02:22:04,631 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/082f9889-1515-49e2-a78e-47b5eb94f4a8 2025-12-11 02:22:04,642 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84568668', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14198887793004202771', 'uuid-lslong': '11791076600258004933'}, 'enable': 'true', 'created': '2025-12-11T02:22:02', 'last-modified': '2025-12-11T02:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893693'} 2025-12-11 02:22:04,648 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-11 02:22:04,648 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15520073 passed 2025-12-11 02:22:04,649 - DEBUG - ====Verifying policy data for ctest-vn-15520073 in API_Server ====== 2025-12-11 02:22:04,649 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 02:22:04,655 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21 2025-12-11 02:22:04,664 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3 2025-12-11 02:22:04,731 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c50c9538-03a5-4b13-a3a2-51b235cc87c5 2025-12-11 02:22:04,740 - DEBUG - ==>Verifying data for policy with id: 6b3cb6b6-60c9-4b82-a019-3d12b03f9d24, fqn: ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765'] 2025-12-11 02:22:04,740 - INFO - VN ctest-vn-15520073 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 02:22:04,740 - DEBUG - Verifying the vn in opserver 2025-12-11 02:22:04,740 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073 virtual network link through opserver 10.0.0.242 2025-12-11 02:22:04,740 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-12-11 02:22:05,029 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-12-11 02:22:05,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073?flat'} 2025-12-11 02:22:05,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073 is found in opserver 2025-12-11 02:22:05,095 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 02:22:05,099 - DEBUG - VRF ids for VN ctest-vn-15520073: {} 2025-12-11 02:22:05,099 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 02:22:05,104 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21 2025-12-11 02:22:05,115 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3 2025-12-11 02:22:05,186 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b 2025-12-11 02:22:05,197 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b 2025-12-11 02:22:05,206 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489 2025-12-11 02:22:05,212 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489 2025-12-11 02:22:05,218 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/06a2d35d-4378-4b65-9484-c3c589fdbfa2 2025-12-11 02:22:05,223 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 02:22:05,223 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b 2025-12-11 02:22:05,231 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489 2025-12-11 02:22:05,241 - INFO - Verified VN network id 13 for VN 327ff7a2-15ff-46fb-8482-05e8b262495b 2025-12-11 02:22:05,241 - INFO - Verifications in API Server for VN ctest-vn-48523359 passed 2025-12-11 02:22:05,241 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b 2025-12-11 02:22:05,248 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489 2025-12-11 02:22:05,254 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489 2025-12-11 02:22:05,259 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/06a2d35d-4378-4b65-9484-c3c589fdbfa2 2025-12-11 02:22:05,268 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84568668', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3638899299464464123', 'uuid-lslong': '9548200656962210139'}, 'enable': 'true', 'created': '2025-12-11T02:22:03', 'last-modified': '2025-12-11T02:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299157'} 2025-12-11 02:22:05,273 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-11 02:22:05,273 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48523359 passed 2025-12-11 02:22:05,273 - DEBUG - ====Verifying policy data for ctest-vn-48523359 in API_Server ====== 2025-12-11 02:22:05,273 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 02:22:05,278 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21 2025-12-11 02:22:05,287 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3 2025-12-11 02:22:05,357 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/327ff7a2-15ff-46fb-8482-05e8b262495b 2025-12-11 02:22:05,365 - DEBUG - ==>Verifying data for policy with id: 6b3cb6b6-60c9-4b82-a019-3d12b03f9d24, fqn: ['default-domain', 'ctest-TestBasicPolicy-84568668', 'ctest-policy-allow-all-00641765'] 2025-12-11 02:22:05,365 - INFO - VN ctest-vn-48523359 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-11 02:22:05,365 - DEBUG - Verifying the vn in opserver 2025-12-11 02:22:05,365 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359 virtual network link through opserver 10.0.0.242 2025-12-11 02:22:05,365 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-12-11 02:22:05,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359?flat'} 2025-12-11 02:22:05,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-48523359 is found in opserver 2025-12-11 02:22:05,382 - DEBUG - Do not have enough data to verify VN in agent 2025-12-11 02:22:05,386 - DEBUG - VRF ids for VN ctest-vn-48523359: {} 2025-12-11 02:22:05,437 - DEBUG - Services list from nova: [, , ] 2025-12-11 02:22:06,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4879-1) 2025-12-11 02:22:07,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4879-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4879-1) 2025-12-11 02:22:07,629 - INFO - Waiting for VM ctest-TestBasicPolicy-84568668-76604397 to be up.. 2025-12-11 02:22:07,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-11 02:22:12,856 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:22:12,856 - INFO - VM name : ctest-TestBasicPolicy-84568668-76604397 2025-12-11 02:22:12,948 - DEBUG - VM ctest-TestBasicPolicy-84568668-76604397 ID is 33cb5928-703e-4972-a5c9-bf9f46ed70b9 2025-12-11 02:22:12,969 - DEBUG - VM ctest-TestBasicPolicy-84568668-76604397 launched on Node cn-jenkins-deploy-platform-ansible-os-4879-1 2025-12-11 02:22:13,050 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/33cb5928-703e-4972-a5c9-bf9f46ed70b9 2025-12-11 02:22:13,058 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/118da0af-1b10-4972-8aa6-58673c0e142f 2025-12-11 02:22:16,306 - 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') 2025-12-11 02:22:16,307 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84568668-76604397 failed! 2025-12-11 02:22:16,363 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-84568668:ctest-vn-15520073 is 109.90.94.129 and allocation pool is NOT set 2025-12-11 02:22:18,427 - 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.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.865/3.317/1.451 ms') 2025-12-11 02:22:18,428 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-84568668-76604397 passed 2025-12-11 02:22:18,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:22:18,583 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84568668-76604397, IP 109.90.94.131, Port 22 2025-12-11 02:22:18,738 - DEBUG - VM ctest-TestBasicPolicy-84568668-76604397 is ready for SSH connections 2025-12-11 02:22:18,738 - INFO - Waiting for VM ctest-TestBasicPolicy-84568668-35053405 to be up.. 2025-12-11 02:22:18,809 - DEBUG - VM is in ACTIVE state now 2025-12-11 02:22:18,809 - INFO - VM name : ctest-TestBasicPolicy-84568668-35053405 2025-12-11 02:22:18,880 - DEBUG - VM ctest-TestBasicPolicy-84568668-35053405 ID is 80b2fd9c-7417-4b98-b516-a786094663ca 2025-12-11 02:22:18,880 - DEBUG - VM ctest-TestBasicPolicy-84568668-35053405 launched on Node cn-jenkins-deploy-platform-ansible-os-4879-1 2025-12-11 02:22:18,946 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/80b2fd9c-7417-4b98-b516-a786094663ca 2025-12-11 02:22:18,953 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d6d99f6f-c071-4a74-aa87-6e559088f2d6 2025-12-11 02:22:20,179 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.998 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.998/2.702/4.406/1.704 ms') 2025-12-11 02:22:20,179 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-84568668-35053405 passed 2025-12-11 02:22:20,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:22:20,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84568668-35053405, IP 175.192.17.67, Port 22 2025-12-11 02:22:20,422 - 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-11 02:22:20,492 - DEBUG - VM ctest-TestBasicPolicy-84568668-35053405 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-11 02:22:25,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:22:25,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-84568668-35053405, IP 175.192.17.67, Port 22 2025-12-11 02:22:25,650 - DEBUG - VM ctest-TestBasicPolicy-84568668-35053405 is ready for SSH connections 2025-12-11 02:22:25,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:22:25,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.192.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 02:22:25,650 - DEBUG - ping -s 56 -c 3 -W 1 175.192.17.67 2025-12-11 02:22:29,633 - DEBUG - PING 175.192.17.67 (175.192.17.67): 56 data bytes 64 bytes from 175.192.17.67: seq=0 ttl=63 time=4.727 ms 64 bytes from 175.192.17.67: seq=1 ttl=63 time=0.904 ms 64 bytes from 175.192.17.67: seq=2 ttl=63 time=0.766 ms --- 175.192.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/2.132/4.727 ms 2025-12-11 02:22:29,633 - INFO - Ping to IP 175.192.17.67 from VM ctest-TestBasicPolicy-84568668-76604397 passed 2025-12-11 02:22:29,806 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6b3cb6b6-60c9-4b82-a019-3d12b03f9d24", "href": "http://10.0.0.242:8082/network-policy/6b3cb6b6-60c9-4b82-a019-3d12b03f9d24"}} 2025-12-11 02:22:29,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-11 02:22:29,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.192.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-12-11 02:22:29,807 - DEBUG - ping -s 56 -c 3 -W 1 175.192.17.67 2025-12-11 02:22:33,012 - DEBUG - PING 175.192.17.67 (175.192.17.67): 56 data bytes --- 175.192.17.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-11 02:22:33,013 - WARNING - Ping to IP 175.192.17.67 from VM ctest-TestBasicPolicy-84568668-76604397 failed 2025-12-11 02:22:33,013 - INFO - Deleting VM ctest-TestBasicPolicy-84568668-35053405 2025-12-11 02:22:33,079 - INFO - Deleting VM ctest-TestBasicPolicy-84568668-76604397 2025-12-11 02:22:33,424 - INFO - Deleted policy ctest-policy-allow-all-00641765 2025-12-11 02:22:33,424 - INFO - Deleting VN ctest-vn-48523359 2025-12-11 02:22:33,455 - DEBUG - VN 327ff7a2-15ff-46fb-8482-05e8b262495b still in use: Unable to complete operation on network 327ff7a2-15ff-46fb-8482-05e8b262495b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea656459-c11a-49a6-b38a-730232f995ff'] 2025-12-11 02:22:33,455 - WARNING - Deleting VN ctest-vn-48523359 failed..Will retry 2025-12-11 02:22:35,552 - DEBUG - Response for deleting network () 2025-12-11 02:22:35,552 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d625fac7-f6ef-44b2-b53e-3b589d151489 2025-12-11 02:22:35,559 - DEBUG - Response Code: 404 2025-12-11 02:22:35,559 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 02:22:35,566 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21 2025-12-11 02:22:35,624 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3 2025-12-11 02:22:35,690 - INFO - Validated that VN ctest-vn-48523359 is not found in API Server 2025-12-11 02:22:35,699 - DEBUG - VN ctest-vn-48523359 is not present in Agent 10.0.0.242 2025-12-11 02:22:35,700 - INFO - Validated that VN ctest-vn-48523359 is not in any agent 2025-12-11 02:22:35,711 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48523359 info 2025-12-11 02:22:35,711 - INFO - Deleting VN ctest-vn-15520073 2025-12-11 02:22:35,800 - DEBUG - Response for deleting network () 2025-12-11 02:22:35,800 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/46680fe8-1dea-4211-b6fc-b1c122c8fc83 2025-12-11 02:22:35,805 - DEBUG - Response Code: 404 2025-12-11 02:22:35,805 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-12-11 02:22:35,810 - DEBUG - Requesting: http://10.0.0.242:8082/domain/237449a6-9453-454e-a944-67a755542c21 2025-12-11 02:22:35,863 - DEBUG - Requesting: http://10.0.0.242:8082/project/3b30b565-5d2c-447b-bb06-f610bcb104e3 2025-12-11 02:22:35,932 - INFO - Validated that VN ctest-vn-15520073 is not found in API Server 2025-12-11 02:22:35,940 - DEBUG - VN ctest-vn-15520073 is not present in Agent 10.0.0.242 2025-12-11 02:22:35,940 - INFO - Validated that VN ctest-vn-15520073 is not in any agent 2025-12-11 02:22:35,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15520073 info 2025-12-11 02:22:36,207 - DEBUG - No XMPP flaps were noticed during the test 2025-12-11 02:22:36,207 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-12-11 02:22:36,207 - INFO - -------------------------------------------------------------------------------- 2025-12-11 02:22:36,887 - INFO - Deleted project: ctest-TestBasicPolicy-84568668, ID : 3b30b565-5d2c-447b-bb06-f610bcb104e3