2026-05-30 07:09:15,921 - INFO - Domain Default found not creating 2026-05-30 07:09:16,116 - INFO - Project ctest-TestBasicPolicy-91414866 not found, creating it 2026-05-30 07:09:16,591 - INFO - Created Project:ctest-TestBasicPolicy-91414866, ID : cc372b7e-9cd0-4237-825f-d196fd776191 2026-05-30 07:09:18,114 - INFO - ================================================================================ 2026-05-30 07:09:18,114 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-30 07:09:18,114 - 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-05-30 07:09:18,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-30 07:09:18,372 - INFO - Initial checks done. Running the testcase now 2026-05-30 07:09:18,372 - INFO - 2026-05-30 07:09:18,941 - DEBUG - Response for create_network : {'network': {'id': 'da4e88df-b7d7-43ed-b44c-fedbfb00107c', 'name': 'ctest-vn-49351535', 'tenant_id': 'cc372b7e9cd04237825fd196fd776191', 'project_id': 'cc372b7e9cd04237825fd196fd776191', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-vn-49351535'], 'port_security_enabled': True, 'description': ''}} 2026-05-30 07:09:19,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '30e7101f-d155-4d0e-acd7-8124fa683034', 'name': '', 'tenant_id': 'cc372b7e9cd04237825fd196fd776191', 'network_id': 'da4e88df-b7d7-43ed-b44c-fedbfb00107c', 'ip_version': 4, 'cidr': '41.185.121.64/26', 'allocation_pools': [{'start': '41.185.121.66', 'end': '41.185.121.126'}], 'gateway_ip': '41.185.121.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.185.121.66', 'tags': [], 'project_id': 'cc372b7e9cd04237825fd196fd776191'}} 2026-05-30 07:09:19,122 - INFO - Created VN ctest-vn-49351535 2026-05-30 07:09:19,177 - DEBUG - VN ctest-vn-49351535 UUID is da4e88df-b7d7-43ed-b44c-fedbfb00107c 2026-05-30 07:09:19,505 - DEBUG - Response for create_network : {'network': {'id': '9e2232d0-e535-4f05-962e-12b27d19745b', 'name': 'ctest-vn-93178088', 'tenant_id': 'cc372b7e9cd04237825fd196fd776191', 'project_id': 'cc372b7e9cd04237825fd196fd776191', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-vn-93178088'], 'port_security_enabled': True, 'description': ''}} 2026-05-30 07:09:19,699 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5841e09-e49e-4612-9412-129c912e4ea3', 'name': '', 'tenant_id': 'cc372b7e9cd04237825fd196fd776191', 'network_id': '9e2232d0-e535-4f05-962e-12b27d19745b', 'ip_version': 4, 'cidr': '104.17.46.0/26', 'allocation_pools': [{'start': '104.17.46.2', 'end': '104.17.46.62'}], 'gateway_ip': '104.17.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '104.17.46.2', 'tags': [], 'project_id': 'cc372b7e9cd04237825fd196fd776191'}} 2026-05-30 07:09:19,720 - INFO - Created VN ctest-vn-93178088 2026-05-30 07:09:19,773 - DEBUG - VN ctest-vn-93178088 UUID is 9e2232d0-e535-4f05-962e-12b27d19745b 2026-05-30 07:09:19,900 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-49351535, 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-91414866:ctest-vn-93178088, 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-05-30 07:09:20,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da4e88df-b7d7-43ed-b44c-fedbfb00107c', 'name': 'ctest-vn-49351535', 'tenant_id': 'cc372b7e9cd04237825fd196fd776191', 'project_id': 'cc372b7e9cd04237825fd196fd776191', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30e7101f-d155-4d0e-acd7-8124fa683034'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-vn-49351535'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-policy-allow-all-14795455']], 'subnet_ipam': [{'subnet_cidr': '41.185.121.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-30 07:09:20,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9e2232d0-e535-4f05-962e-12b27d19745b', 'name': 'ctest-vn-93178088', 'tenant_id': 'cc372b7e9cd04237825fd196fd776191', 'project_id': 'cc372b7e9cd04237825fd196fd776191', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5841e09-e49e-4612-9412-129c912e4ea3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-vn-93178088'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-policy-allow-all-14795455']], 'subnet_ipam': [{'subnet_cidr': '104.17.46.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-30 07:09:20,601 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-30 07:09:20,898 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-30 07:09:20,933 - DEBUG - Requesting: http://10.0.0.38:8082/domain/897db3cc-3fb5-4aea-9506-17a610ce1f76 2026-05-30 07:09:20,946 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc372b7e-9cd0-4237-825f-d196fd776191 2026-05-30 07:09:21,018 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/da4e88df-b7d7-43ed-b44c-fedbfb00107c 2026-05-30 07:09:21,029 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/da4e88df-b7d7-43ed-b44c-fedbfb00107c 2026-05-30 07:09:21,039 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7dbc94f-2602-41a4-8f6a-6f548598e2c4 2026-05-30 07:09:21,046 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7dbc94f-2602-41a4-8f6a-6f548598e2c4 2026-05-30 07:09:21,054 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3e726b2d-cd4e-4906-9a1e-7699ea58fa27 2026-05-30 07:09:21,060 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-30 07:09:21,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/da4e88df-b7d7-43ed-b44c-fedbfb00107c 2026-05-30 07:09:21,070 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7dbc94f-2602-41a4-8f6a-6f548598e2c4 2026-05-30 07:09:21,084 - INFO - Verified VN network id 11 for VN da4e88df-b7d7-43ed-b44c-fedbfb00107c 2026-05-30 07:09:21,084 - INFO - Verifications in API Server for VN ctest-vn-49351535 passed 2026-05-30 07:09:21,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/da4e88df-b7d7-43ed-b44c-fedbfb00107c 2026-05-30 07:09:21,094 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7dbc94f-2602-41a4-8f6a-6f548598e2c4 2026-05-30 07:09:21,101 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7dbc94f-2602-41a4-8f6a-6f548598e2c4 2026-05-30 07:09:21,108 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3e726b2d-cd4e-4906-9a1e-7699ea58fa27 2026-05-30 07:09:21,124 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-49351535', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91414866', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15730661042895143917', 'uuid-lslong': '12992039245819416700'}, 'enable': 'true', 'created': '2026-05-30T07:09:18', 'last-modified': '2026-05-30T07:09:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.951148'} 2026-05-30 07:09:21,131 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-30 07:09:21,131 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49351535 passed 2026-05-30 07:09:21,131 - DEBUG - ====Verifying policy data for ctest-vn-49351535 in API_Server ====== 2026-05-30 07:09:21,131 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-30 07:09:21,137 - DEBUG - Requesting: http://10.0.0.38:8082/domain/897db3cc-3fb5-4aea-9506-17a610ce1f76 2026-05-30 07:09:21,151 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc372b7e-9cd0-4237-825f-d196fd776191 2026-05-30 07:09:21,225 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/da4e88df-b7d7-43ed-b44c-fedbfb00107c 2026-05-30 07:09:21,234 - DEBUG - ==>Verifying data for policy with id: 3f4f4a6d-e391-4f50-9e99-fc867f3db2b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-policy-allow-all-14795455'] 2026-05-30 07:09:21,234 - INFO - VN ctest-vn-49351535 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-30 07:09:21,235 - DEBUG - Verifying the vn in opserver 2026-05-30 07:09:21,235 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-49351535 virtual network link through opserver 10.0.0.38 2026-05-30 07:09:21,235 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-30 07:09:21,532 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-30 07:09:21,602 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-49351535', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-49351535?flat'} 2026-05-30 07:09:21,602 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-49351535 is found in opserver 2026-05-30 07:09:21,612 - DEBUG - Do not have enough data to verify VN in agent 2026-05-30 07:09:21,617 - DEBUG - VRF ids for VN ctest-vn-49351535: {} 2026-05-30 07:09:21,617 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-30 07:09:21,623 - DEBUG - Requesting: http://10.0.0.38:8082/domain/897db3cc-3fb5-4aea-9506-17a610ce1f76 2026-05-30 07:09:21,635 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc372b7e-9cd0-4237-825f-d196fd776191 2026-05-30 07:09:21,708 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9e2232d0-e535-4f05-962e-12b27d19745b 2026-05-30 07:09:21,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9e2232d0-e535-4f05-962e-12b27d19745b 2026-05-30 07:09:21,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/221c2dad-a446-479d-ba04-66b01a7154ed 2026-05-30 07:09:21,738 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/221c2dad-a446-479d-ba04-66b01a7154ed 2026-05-30 07:09:21,745 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/beab1b31-3e4e-43bc-94e4-db360f8bf7db 2026-05-30 07:09:21,752 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-30 07:09:21,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9e2232d0-e535-4f05-962e-12b27d19745b 2026-05-30 07:09:21,761 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/221c2dad-a446-479d-ba04-66b01a7154ed 2026-05-30 07:09:21,778 - INFO - Verified VN network id 12 for VN 9e2232d0-e535-4f05-962e-12b27d19745b 2026-05-30 07:09:21,778 - INFO - Verifications in API Server for VN ctest-vn-93178088 passed 2026-05-30 07:09:21,778 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9e2232d0-e535-4f05-962e-12b27d19745b 2026-05-30 07:09:21,787 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/221c2dad-a446-479d-ba04-66b01a7154ed 2026-05-30 07:09:21,795 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/221c2dad-a446-479d-ba04-66b01a7154ed 2026-05-30 07:09:21,804 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/beab1b31-3e4e-43bc-94e4-db360f8bf7db 2026-05-30 07:09:21,819 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-93178088', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91414866', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11394725879980838661', 'uuid-lslong': '10821607512430179419'}, 'enable': 'true', 'created': '2026-05-30T07:09:19', 'last-modified': '2026-05-30T07:09:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.414526'} 2026-05-30 07:09:21,826 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-30 07:09:21,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93178088 passed 2026-05-30 07:09:21,827 - DEBUG - ====Verifying policy data for ctest-vn-93178088 in API_Server ====== 2026-05-30 07:09:21,827 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-30 07:09:21,832 - DEBUG - Requesting: http://10.0.0.38:8082/domain/897db3cc-3fb5-4aea-9506-17a610ce1f76 2026-05-30 07:09:21,847 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc372b7e-9cd0-4237-825f-d196fd776191 2026-05-30 07:09:21,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9e2232d0-e535-4f05-962e-12b27d19745b 2026-05-30 07:09:21,930 - DEBUG - ==>Verifying data for policy with id: 3f4f4a6d-e391-4f50-9e99-fc867f3db2b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-91414866', 'ctest-policy-allow-all-14795455'] 2026-05-30 07:09:21,930 - INFO - VN ctest-vn-93178088 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-30 07:09:21,930 - DEBUG - Verifying the vn in opserver 2026-05-30 07:09:21,930 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-93178088 virtual network link through opserver 10.0.0.38 2026-05-30 07:09:21,930 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-30 07:09:21,940 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-93178088', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-93178088?flat'} 2026-05-30 07:09:21,940 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-93178088 is found in opserver 2026-05-30 07:09:21,949 - DEBUG - Do not have enough data to verify VN in agent 2026-05-30 07:09:21,954 - DEBUG - VRF ids for VN ctest-vn-93178088: {} 2026-05-30 07:09:22,012 - DEBUG - Services list from nova: [, , ] 2026-05-30 07:09:23,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5855-1) 2026-05-30 07:09:24,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5855-1) 2026-05-30 07:09:24,247 - INFO - Waiting for VM ctest-TestBasicPolicy-91414866-36070540 to be up.. 2026-05-30 07:09:24,346 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-30 07:09:29,444 - DEBUG - VM is in ACTIVE state now 2026-05-30 07:09:29,444 - INFO - VM name : ctest-TestBasicPolicy-91414866-36070540 2026-05-30 07:09:29,536 - DEBUG - VM ctest-TestBasicPolicy-91414866-36070540 ID is 1f9e0caa-9554-4251-85a7-2082039ac784 2026-05-30 07:09:29,557 - DEBUG - VM ctest-TestBasicPolicy-91414866-36070540 launched on Node cn-jenkins-deploy-platform-ansible-os-5855-1 2026-05-30 07:09:29,646 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1f9e0caa-9554-4251-85a7-2082039ac784 2026-05-30 07:09:29,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3b3c0dd2-5762-4cac-a749-952a18cba101 2026-05-30 07:09:32,911 - 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 1009ms') 2026-05-30 07:09:32,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91414866-36070540 failed! 2026-05-30 07:09:32,969 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91414866:ctest-vn-49351535 is 41.185.121.65 and allocation pool is NOT set 2026-05-30 07:09:35,032 - 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=9.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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.459/4.801/9.144/4.342 ms') 2026-05-30 07:09:35,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91414866-36070540 passed 2026-05-30 07:09:35,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:09:35,185 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91414866-36070540, IP 41.185.121.67, Port 22 2026-05-30 07:09:35,341 - DEBUG - VM ctest-TestBasicPolicy-91414866-36070540 is ready for SSH connections 2026-05-30 07:09:35,341 - INFO - Waiting for VM ctest-TestBasicPolicy-91414866-15259131 to be up.. 2026-05-30 07:09:35,423 - DEBUG - VM is in ACTIVE state now 2026-05-30 07:09:35,423 - INFO - VM name : ctest-TestBasicPolicy-91414866-15259131 2026-05-30 07:09:35,504 - DEBUG - VM ctest-TestBasicPolicy-91414866-15259131 ID is ba95bd80-cf7d-4637-b7d3-81d7ba76daa2 2026-05-30 07:09:35,504 - DEBUG - VM ctest-TestBasicPolicy-91414866-15259131 launched on Node cn-jenkins-deploy-platform-ansible-os-5855-1 2026-05-30 07:09:35,583 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ba95bd80-cf7d-4637-b7d3-81d7ba76daa2 2026-05-30 07:09:35,592 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6de663fa-48ac-4462-9a83-ed9b1f919a29 2026-05-30 07:09:36,832 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.809 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 = 0.809/1.873/2.937/1.064 ms') 2026-05-30 07:09:36,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91414866-15259131 passed 2026-05-30 07:09:36,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:09:36,985 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91414866-15259131, IP 104.17.46.3, Port 22 2026-05-30 07:09:37,041 - 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-05-30 07:09:37,118 - DEBUG - VM ctest-TestBasicPolicy-91414866-15259131 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-30 07:09:42,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:09:42,119 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91414866-15259131, IP 104.17.46.3, Port 22 2026-05-30 07:09:42,277 - DEBUG - VM ctest-TestBasicPolicy-91414866-15259131 is ready for SSH connections 2026-05-30 07:09:42,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:09:42,277 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.17.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-30 07:09:42,277 - DEBUG - ping -s 56 -c 3 -W 1 104.17.46.3 2026-05-30 07:09:46,367 - DEBUG - PING 104.17.46.3 (104.17.46.3): 56 data bytes 64 bytes from 104.17.46.3: seq=0 ttl=63 time=3.559 ms 64 bytes from 104.17.46.3: seq=1 ttl=63 time=0.949 ms 64 bytes from 104.17.46.3: seq=2 ttl=63 time=0.903 ms --- 104.17.46.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.903/1.803/3.559 ms 2026-05-30 07:09:46,367 - INFO - Ping to IP 104.17.46.3 from VM ctest-TestBasicPolicy-91414866-36070540 passed 2026-05-30 07:09:46,545 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3f4f4a6d-e391-4f50-9e99-fc867f3db2b9", "href": "http://10.0.0.38:8082/network-policy/3f4f4a6d-e391-4f50-9e99-fc867f3db2b9"}} 2026-05-30 07:09:46,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:09:46,545 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 104.17.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-30 07:09:46,545 - DEBUG - ping -s 56 -c 3 -W 1 104.17.46.3 2026-05-30 07:09:49,762 - DEBUG - PING 104.17.46.3 (104.17.46.3): 56 data bytes --- 104.17.46.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-30 07:09:49,762 - WARNING - Ping to IP 104.17.46.3 from VM ctest-TestBasicPolicy-91414866-36070540 failed 2026-05-30 07:09:49,762 - INFO - Deleting VM ctest-TestBasicPolicy-91414866-15259131 2026-05-30 07:09:49,840 - INFO - Deleting VM ctest-TestBasicPolicy-91414866-36070540 2026-05-30 07:09:50,283 - INFO - Deleted policy ctest-policy-allow-all-14795455 2026-05-30 07:09:50,283 - INFO - Deleting VN ctest-vn-93178088 2026-05-30 07:09:50,327 - DEBUG - VN 9e2232d0-e535-4f05-962e-12b27d19745b still in use: Unable to complete operation on network 9e2232d0-e535-4f05-962e-12b27d19745b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-58e6fbfa-9491-491f-bb47-eab587d755ad'] 2026-05-30 07:09:50,327 - WARNING - Deleting VN ctest-vn-93178088 failed..Will retry 2026-05-30 07:09:52,443 - DEBUG - Response for deleting network () 2026-05-30 07:09:52,443 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/221c2dad-a446-479d-ba04-66b01a7154ed 2026-05-30 07:09:52,450 - DEBUG - Response Code: 404 2026-05-30 07:09:52,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-30 07:09:52,456 - DEBUG - Requesting: http://10.0.0.38:8082/domain/897db3cc-3fb5-4aea-9506-17a610ce1f76 2026-05-30 07:09:52,511 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc372b7e-9cd0-4237-825f-d196fd776191 2026-05-30 07:09:52,582 - INFO - Validated that VN ctest-vn-93178088 is not found in API Server 2026-05-30 07:09:52,591 - DEBUG - VN ctest-vn-93178088 is not present in Agent 10.0.0.38 2026-05-30 07:09:52,591 - INFO - Validated that VN ctest-vn-93178088 is not in any agent 2026-05-30 07:09:52,606 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93178088 info 2026-05-30 07:09:52,606 - INFO - Deleting VN ctest-vn-49351535 2026-05-30 07:09:52,704 - DEBUG - Response for deleting network () 2026-05-30 07:09:52,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b7dbc94f-2602-41a4-8f6a-6f548598e2c4 2026-05-30 07:09:52,709 - DEBUG - Response Code: 404 2026-05-30 07:09:52,709 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-30 07:09:52,720 - DEBUG - Requesting: http://10.0.0.38:8082/domain/897db3cc-3fb5-4aea-9506-17a610ce1f76 2026-05-30 07:09:52,775 - DEBUG - Requesting: http://10.0.0.38:8082/project/cc372b7e-9cd0-4237-825f-d196fd776191 2026-05-30 07:09:52,850 - INFO - Validated that VN ctest-vn-49351535 is not found in API Server 2026-05-30 07:09:52,859 - DEBUG - VN ctest-vn-49351535 is not present in Agent 10.0.0.38 2026-05-30 07:09:52,859 - INFO - Validated that VN ctest-vn-49351535 is not in any agent 2026-05-30 07:09:52,875 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49351535 info 2026-05-30 07:09:53,131 - DEBUG - No XMPP flaps were noticed during the test
2026-05-30 07:09:53,131 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-30 07:09:53,131 - INFO - -------------------------------------------------------------------------------- 2026-05-30 07:09:53,831 - INFO - Deleted project: ctest-TestBasicPolicy-91414866, ID : cc372b7e-9cd0-4237-825f-d196fd776191