2025-12-05 17:08:27,417 - INFO - Domain Default found not creating 2025-12-05 17:08:27,615 - INFO - Project ctest-TestBasicPolicy-00362068 not found, creating it 2025-12-05 17:08:28,106 - INFO - Created Project:ctest-TestBasicPolicy-00362068, ID : ca741435-0db5-4e20-b127-33e0bb7f05bb 2025-12-05 17:08:29,690 - INFO - ================================================================================ 2025-12-05 17:08:29,690 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-05 17:08:29,690 - 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-05 17:08:29,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-05 17:08:29,954 - INFO - Initial checks done. Running the testcase now 2025-12-05 17:08:29,954 - INFO - 2025-12-05 17:08:30,533 - DEBUG - Response for create_network : {'network': {'id': '274ebc50-ebdc-4693-8224-201eb9d08759', 'name': 'ctest-vn-52339147', 'tenant_id': 'ca7414350db54e20b12733e0bb7f05bb', 'project_id': 'ca7414350db54e20b12733e0bb7f05bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-vn-52339147'], 'port_security_enabled': True, 'description': ''}} 2025-12-05 17:08:30,753 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a05d32b5-38e8-48c5-909a-453bbb143511', 'name': '', 'tenant_id': 'ca7414350db54e20b12733e0bb7f05bb', 'network_id': '274ebc50-ebdc-4693-8224-201eb9d08759', 'ip_version': 4, 'cidr': '57.103.109.0/26', 'allocation_pools': [{'start': '57.103.109.2', 'end': '57.103.109.62'}], 'gateway_ip': '57.103.109.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.103.109.2', 'tags': [], 'project_id': 'ca7414350db54e20b12733e0bb7f05bb'}} 2025-12-05 17:08:30,774 - INFO - Created VN ctest-vn-52339147 2025-12-05 17:08:30,828 - DEBUG - VN ctest-vn-52339147 UUID is 274ebc50-ebdc-4693-8224-201eb9d08759 2025-12-05 17:08:31,149 - DEBUG - Response for create_network : {'network': {'id': '07b6f766-8bed-4f15-b960-eaf194ad532a', 'name': 'ctest-vn-76690236', 'tenant_id': 'ca7414350db54e20b12733e0bb7f05bb', 'project_id': 'ca7414350db54e20b12733e0bb7f05bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-vn-76690236'], 'port_security_enabled': True, 'description': ''}} 2025-12-05 17:08:31,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '43e5b401-c942-4d1e-8db7-d0be5b1362f5', 'name': '', 'tenant_id': 'ca7414350db54e20b12733e0bb7f05bb', 'network_id': '07b6f766-8bed-4f15-b960-eaf194ad532a', 'ip_version': 4, 'cidr': '24.61.195.64/26', 'allocation_pools': [{'start': '24.61.195.66', 'end': '24.61.195.126'}], 'gateway_ip': '24.61.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.61.195.66', 'tags': [], 'project_id': 'ca7414350db54e20b12733e0bb7f05bb'}} 2025-12-05 17:08:31,313 - INFO - Created VN ctest-vn-76690236 2025-12-05 17:08:31,364 - DEBUG - VN ctest-vn-76690236 UUID is 07b6f766-8bed-4f15-b960-eaf194ad532a 2025-12-05 17:08:31,490 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-52339147, 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-00362068:ctest-vn-76690236, 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-05 17:08:31,789 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '274ebc50-ebdc-4693-8224-201eb9d08759', 'name': 'ctest-vn-52339147', 'tenant_id': 'ca7414350db54e20b12733e0bb7f05bb', 'project_id': 'ca7414350db54e20b12733e0bb7f05bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a05d32b5-38e8-48c5-909a-453bbb143511'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-vn-52339147'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-policy-allow-all-40754054']], 'subnet_ipam': [{'subnet_cidr': '57.103.109.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-05 17:08:32,027 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07b6f766-8bed-4f15-b960-eaf194ad532a', 'name': 'ctest-vn-76690236', 'tenant_id': 'ca7414350db54e20b12733e0bb7f05bb', 'project_id': 'ca7414350db54e20b12733e0bb7f05bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['43e5b401-c942-4d1e-8db7-d0be5b1362f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-vn-76690236'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-policy-allow-all-40754054']], 'subnet_ipam': [{'subnet_cidr': '24.61.195.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-05 17:08:32,199 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-05 17:08:32,504 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-05 17:08:32,543 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c991aa2b-5740-456b-9325-fa9e131690db 2025-12-05 17:08:32,557 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca741435-0db5-4e20-b127-33e0bb7f05bb 2025-12-05 17:08:32,636 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/274ebc50-ebdc-4693-8224-201eb9d08759 2025-12-05 17:08:32,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/274ebc50-ebdc-4693-8224-201eb9d08759 2025-12-05 17:08:32,657 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b441dd33-25f0-4140-ac83-e3819b5879ca 2025-12-05 17:08:32,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b441dd33-25f0-4140-ac83-e3819b5879ca 2025-12-05 17:08:32,672 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8cfc6be8-a77e-4245-bbbd-7212ec1b217a 2025-12-05 17:08:32,679 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-05 17:08:32,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/274ebc50-ebdc-4693-8224-201eb9d08759 2025-12-05 17:08:32,688 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b441dd33-25f0-4140-ac83-e3819b5879ca 2025-12-05 17:08:32,703 - INFO - Verified VN network id 11 for VN 274ebc50-ebdc-4693-8224-201eb9d08759 2025-12-05 17:08:32,704 - INFO - Verifications in API Server for VN ctest-vn-52339147 passed 2025-12-05 17:08:32,704 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/274ebc50-ebdc-4693-8224-201eb9d08759 2025-12-05 17:08:32,713 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b441dd33-25f0-4140-ac83-e3819b5879ca 2025-12-05 17:08:32,720 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b441dd33-25f0-4140-ac83-e3819b5879ca 2025-12-05 17:08:32,727 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8cfc6be8-a77e-4245-bbbd-7212ec1b217a 2025-12-05 17:08:32,740 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-52339147', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00362068', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2832408271403107987', 'uuid-lslong': '9377655640430774105'}, 'enable': 'true', 'created': '2025-12-05T17:08:30', 'last-modified': '2025-12-05T17:08:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974302'} 2025-12-05 17:08:32,746 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-05 17:08:32,746 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52339147 passed 2025-12-05 17:08:32,747 - DEBUG - ====Verifying policy data for ctest-vn-52339147 in API_Server ====== 2025-12-05 17:08:32,747 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-05 17:08:32,754 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c991aa2b-5740-456b-9325-fa9e131690db 2025-12-05 17:08:32,766 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca741435-0db5-4e20-b127-33e0bb7f05bb 2025-12-05 17:08:32,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/274ebc50-ebdc-4693-8224-201eb9d08759 2025-12-05 17:08:32,851 - DEBUG - ==>Verifying data for policy with id: 080ec9b2-c65b-4c50-862d-37827039a2ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-policy-allow-all-40754054'] 2025-12-05 17:08:32,851 - INFO - VN ctest-vn-52339147 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-05 17:08:32,851 - DEBUG - Verifying the vn in opserver 2025-12-05 17:08:32,851 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-52339147 virtual network link through opserver 10.0.0.38 2025-12-05 17:08:32,852 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-05 17:08:33,161 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-05 17:08:33,234 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-52339147', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-52339147?flat'} 2025-12-05 17:08:33,234 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-52339147 is found in opserver 2025-12-05 17:08:33,245 - DEBUG - Do not have enough data to verify VN in agent 2025-12-05 17:08:33,250 - DEBUG - VRF ids for VN ctest-vn-52339147: {} 2025-12-05 17:08:33,250 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-05 17:08:33,256 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c991aa2b-5740-456b-9325-fa9e131690db 2025-12-05 17:08:33,270 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca741435-0db5-4e20-b127-33e0bb7f05bb 2025-12-05 17:08:33,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07b6f766-8bed-4f15-b960-eaf194ad532a 2025-12-05 17:08:33,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07b6f766-8bed-4f15-b960-eaf194ad532a 2025-12-05 17:08:33,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/73065819-4753-4959-a573-0e3a6a1d4080 2025-12-05 17:08:33,384 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/73065819-4753-4959-a573-0e3a6a1d4080 2025-12-05 17:08:33,392 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9c71091f-b9ee-4eac-a492-e3ce56cb5b42 2025-12-05 17:08:33,402 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-05 17:08:33,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07b6f766-8bed-4f15-b960-eaf194ad532a 2025-12-05 17:08:33,411 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/73065819-4753-4959-a573-0e3a6a1d4080 2025-12-05 17:08:33,428 - INFO - Verified VN network id 12 for VN 07b6f766-8bed-4f15-b960-eaf194ad532a 2025-12-05 17:08:33,428 - INFO - Verifications in API Server for VN ctest-vn-76690236 passed 2025-12-05 17:08:33,428 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07b6f766-8bed-4f15-b960-eaf194ad532a 2025-12-05 17:08:33,439 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/73065819-4753-4959-a573-0e3a6a1d4080 2025-12-05 17:08:33,448 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/73065819-4753-4959-a573-0e3a6a1d4080 2025-12-05 17:08:33,458 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9c71091f-b9ee-4eac-a492-e3ce56cb5b42 2025-12-05 17:08:33,473 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-76690236', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00362068', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '555903623833145109', 'uuid-lslong': '13357934818083296042'}, 'enable': 'true', 'created': '2025-12-05T17:08:31', 'last-modified': '2025-12-05T17:08:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.474478'} 2025-12-05 17:08:33,479 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-05 17:08:33,479 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76690236 passed 2025-12-05 17:08:33,479 - DEBUG - ====Verifying policy data for ctest-vn-76690236 in API_Server ====== 2025-12-05 17:08:33,479 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-05 17:08:33,487 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c991aa2b-5740-456b-9325-fa9e131690db 2025-12-05 17:08:33,498 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca741435-0db5-4e20-b127-33e0bb7f05bb 2025-12-05 17:08:33,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/07b6f766-8bed-4f15-b960-eaf194ad532a 2025-12-05 17:08:33,581 - DEBUG - ==>Verifying data for policy with id: 080ec9b2-c65b-4c50-862d-37827039a2ec, fqn: ['default-domain', 'ctest-TestBasicPolicy-00362068', 'ctest-policy-allow-all-40754054'] 2025-12-05 17:08:33,581 - INFO - VN ctest-vn-76690236 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-05 17:08:33,581 - DEBUG - Verifying the vn in opserver 2025-12-05 17:08:33,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-76690236 virtual network link through opserver 10.0.0.38 2025-12-05 17:08:33,581 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-05 17:08:33,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-76690236', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-76690236?flat'} 2025-12-05 17:08:33,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-76690236 is found in opserver 2025-12-05 17:08:33,602 - DEBUG - Do not have enough data to verify VN in agent 2025-12-05 17:08:33,606 - DEBUG - VRF ids for VN ctest-vn-76690236: {} 2025-12-05 17:08:33,669 - DEBUG - Services list from nova: [, , ] 2025-12-05 17:08:34,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4848-1) 2025-12-05 17:08:35,947 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4848-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4848-1) 2025-12-05 17:08:35,947 - INFO - Waiting for VM ctest-TestBasicPolicy-00362068-55499690 to be up.. 2025-12-05 17:08:36,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-05 17:08:41,122 - DEBUG - VM is in ACTIVE state now 2025-12-05 17:08:41,122 - INFO - VM name : ctest-TestBasicPolicy-00362068-55499690 2025-12-05 17:08:41,207 - DEBUG - VM ctest-TestBasicPolicy-00362068-55499690 ID is 67c9bb21-b09b-46df-89fb-0f91ac29c215 2025-12-05 17:08:41,232 - DEBUG - VM ctest-TestBasicPolicy-00362068-55499690 launched on Node cn-jenkins-deploy-platform-ansible-os-4848-1 2025-12-05 17:08:41,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67c9bb21-b09b-46df-89fb-0f91ac29c215 2025-12-05 17:08:41,338 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2b0d3724-8e16-426e-b886-d5fe7fcc3565 2025-12-05 17:08:44,592 - 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-05 17:08:44,592 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00362068-55499690 failed! 2025-12-05 17:08:44,647 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00362068:ctest-vn-52339147 is 57.103.109.1 and allocation pool is NOT set 2025-12-05 17:08:46,709 - 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=8.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.612 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.612/4.651/8.690/4.039 ms') 2025-12-05 17:08:46,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00362068-55499690 passed 2025-12-05 17:08:46,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 17:08:46,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00362068-55499690, IP 57.103.109.3, Port 22 2025-12-05 17:08:47,035 - DEBUG - VM ctest-TestBasicPolicy-00362068-55499690 is ready for SSH connections 2025-12-05 17:08:47,036 - INFO - Waiting for VM ctest-TestBasicPolicy-00362068-38739313 to be up.. 2025-12-05 17:08:47,128 - DEBUG - VM is in ACTIVE state now 2025-12-05 17:08:47,128 - INFO - VM name : ctest-TestBasicPolicy-00362068-38739313 2025-12-05 17:08:47,206 - DEBUG - VM ctest-TestBasicPolicy-00362068-38739313 ID is c6f02f46-0144-465b-8bc3-c854b7818f9b 2025-12-05 17:08:47,206 - DEBUG - VM ctest-TestBasicPolicy-00362068-38739313 launched on Node cn-jenkins-deploy-platform-ansible-os-4848-1 2025-12-05 17:08:47,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c6f02f46-0144-465b-8bc3-c854b7818f9b 2025-12-05 17:08:47,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e9d47ff-de45-41b8-9b66-8a0da8f8ed2f 2025-12-05 17:08:48,579 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.77 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 = 1.768/3.149/4.530/1.381 ms') 2025-12-05 17:08:48,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00362068-38739313 passed 2025-12-05 17:08:48,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 17:08:48,732 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00362068-38739313, IP 24.61.195.67, Port 22 2025-12-05 17:08:48,798 - 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-05 17:08:48,895 - DEBUG - VM ctest-TestBasicPolicy-00362068-38739313 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-05 17:08:53,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 17:08:53,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00362068-38739313, IP 24.61.195.67, Port 22 2025-12-05 17:08:54,061 - DEBUG - VM ctest-TestBasicPolicy-00362068-38739313 is ready for SSH connections 2025-12-05 17:08:54,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 17:08:54,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.61.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-05 17:08:54,061 - DEBUG - ping -s 56 -c 3 -W 1 24.61.195.67 2025-12-05 17:08:58,254 - DEBUG - PING 24.61.195.67 (24.61.195.67): 56 data bytes 64 bytes from 24.61.195.67: seq=0 ttl=63 time=5.212 ms 64 bytes from 24.61.195.67: seq=1 ttl=63 time=0.932 ms 64 bytes from 24.61.195.67: seq=2 ttl=63 time=1.163 ms --- 24.61.195.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.932/2.435/5.212 ms 2025-12-05 17:08:58,254 - INFO - Ping to IP 24.61.195.67 from VM ctest-TestBasicPolicy-00362068-55499690 passed 2025-12-05 17:08:58,435 - DEBUG - Policy Update Response {"network-policy": {"uuid": "080ec9b2-c65b-4c50-862d-37827039a2ec", "href": "http://10.0.0.38:8082/network-policy/080ec9b2-c65b-4c50-862d-37827039a2ec"}} 2025-12-05 17:08:58,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-05 17:08:58,435 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.61.195.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-05 17:08:58,436 - DEBUG - ping -s 56 -c 3 -W 1 24.61.195.67 2025-12-05 17:09:01,652 - DEBUG - PING 24.61.195.67 (24.61.195.67): 56 data bytes --- 24.61.195.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-05 17:09:01,652 - WARNING - Ping to IP 24.61.195.67 from VM ctest-TestBasicPolicy-00362068-55499690 failed 2025-12-05 17:09:01,652 - INFO - Deleting VM ctest-TestBasicPolicy-00362068-38739313 2025-12-05 17:09:01,747 - INFO - Deleting VM ctest-TestBasicPolicy-00362068-55499690 2025-12-05 17:09:02,213 - INFO - Deleted policy ctest-policy-allow-all-40754054 2025-12-05 17:09:02,214 - INFO - Deleting VN ctest-vn-76690236 2025-12-05 17:09:02,262 - DEBUG - VN 07b6f766-8bed-4f15-b960-eaf194ad532a still in use: Unable to complete operation on network 07b6f766-8bed-4f15-b960-eaf194ad532a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ec902b9-acff-406a-affe-8e3ea5215958'] 2025-12-05 17:09:02,262 - WARNING - Deleting VN ctest-vn-76690236 failed..Will retry 2025-12-05 17:09:04,364 - DEBUG - Response for deleting network () 2025-12-05 17:09:04,364 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/73065819-4753-4959-a573-0e3a6a1d4080 2025-12-05 17:09:04,371 - DEBUG - Response Code: 404 2025-12-05 17:09:04,372 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-05 17:09:04,380 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c991aa2b-5740-456b-9325-fa9e131690db 2025-12-05 17:09:04,435 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca741435-0db5-4e20-b127-33e0bb7f05bb 2025-12-05 17:09:04,514 - INFO - Validated that VN ctest-vn-76690236 is not found in API Server 2025-12-05 17:09:04,524 - DEBUG - VN ctest-vn-76690236 is not present in Agent 10.0.0.38 2025-12-05 17:09:04,524 - INFO - Validated that VN ctest-vn-76690236 is not in any agent 2025-12-05 17:09:04,538 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76690236 info 2025-12-05 17:09:04,538 - INFO - Deleting VN ctest-vn-52339147 2025-12-05 17:09:04,648 - DEBUG - Response for deleting network () 2025-12-05 17:09:04,648 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b441dd33-25f0-4140-ac83-e3819b5879ca 2025-12-05 17:09:04,656 - DEBUG - Response Code: 404 2025-12-05 17:09:04,656 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-05 17:09:04,663 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c991aa2b-5740-456b-9325-fa9e131690db 2025-12-05 17:09:04,718 - DEBUG - Requesting: http://10.0.0.38:8082/project/ca741435-0db5-4e20-b127-33e0bb7f05bb 2025-12-05 17:09:04,792 - INFO - Validated that VN ctest-vn-52339147 is not found in API Server 2025-12-05 17:09:04,803 - DEBUG - VN ctest-vn-52339147 is not present in Agent 10.0.0.38 2025-12-05 17:09:04,803 - INFO - Validated that VN ctest-vn-52339147 is not in any agent 2025-12-05 17:09:04,818 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52339147 info 2025-12-05 17:09:05,081 - DEBUG - No XMPP flaps were noticed during the test
2025-12-05 17:09:05,081 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2025-12-05 17:09:05,081 - INFO - -------------------------------------------------------------------------------- 2025-12-05 17:09:05,798 - INFO - Deleted project: ctest-TestBasicPolicy-00362068, ID : ca741435-0db5-4e20-b127-33e0bb7f05bb