2025-08-22 09:33:27,545 - INFO - Domain Default found not creating 2025-08-22 09:33:27,672 - INFO - Project ctest-TestBasicPolicy-15627690 not found, creating it 2025-08-22 09:33:28,114 - INFO - Created Project:ctest-TestBasicPolicy-15627690, ID : dbd2833c-01ff-4d21-a075-2153568fcabe 2025-08-22 09:33:29,561 - INFO - ================================================================================ 2025-08-22 09:33:29,561 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-22 09:33:29,561 - 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-08-22 09:33:29,817 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-22 09:33:29,817 - INFO - Initial checks done. Running the testcase now 2025-08-22 09:33:29,817 - INFO - 2025-08-22 09:33:30,434 - DEBUG - Response for create_network : {'network': {'id': '762841a6-b25b-434a-bdd3-af9c4454811b', 'name': 'ctest-vn-91471578', 'tenant_id': 'dbd2833c01ff4d21a0752153568fcabe', 'project_id': 'dbd2833c01ff4d21a0752153568fcabe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-vn-91471578'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:33:30,655 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fda1213f-a126-4da1-9398-0bf1c08c7c03', 'name': '', 'tenant_id': 'dbd2833c01ff4d21a0752153568fcabe', 'network_id': '762841a6-b25b-434a-bdd3-af9c4454811b', 'ip_version': 4, 'cidr': '95.254.76.64/26', 'allocation_pools': [{'start': '95.254.76.66', 'end': '95.254.76.126'}], 'gateway_ip': '95.254.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.254.76.66', 'tags': [], 'project_id': 'dbd2833c01ff4d21a0752153568fcabe'}} 2025-08-22 09:33:30,676 - INFO - Created VN ctest-vn-91471578 2025-08-22 09:33:30,732 - DEBUG - VN ctest-vn-91471578 UUID is 762841a6-b25b-434a-bdd3-af9c4454811b 2025-08-22 09:33:31,065 - DEBUG - Response for create_network : {'network': {'id': '1e81f43a-2328-4e3b-b9bf-18115989aa47', 'name': 'ctest-vn-75482194', 'tenant_id': 'dbd2833c01ff4d21a0752153568fcabe', 'project_id': 'dbd2833c01ff4d21a0752153568fcabe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-vn-75482194'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:33:31,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecd5299b-f335-4533-bf78-445baa54d7ce', 'name': '', 'tenant_id': 'dbd2833c01ff4d21a0752153568fcabe', 'network_id': '1e81f43a-2328-4e3b-b9bf-18115989aa47', 'ip_version': 4, 'cidr': '137.223.123.192/26', 'allocation_pools': [{'start': '137.223.123.194', 'end': '137.223.123.254'}], 'gateway_ip': '137.223.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.223.123.194', 'tags': [], 'project_id': 'dbd2833c01ff4d21a0752153568fcabe'}} 2025-08-22 09:33:31,318 - INFO - Created VN ctest-vn-75482194 2025-08-22 09:33:31,372 - DEBUG - VN ctest-vn-75482194 UUID is 1e81f43a-2328-4e3b-b9bf-18115989aa47 2025-08-22 09:33:31,491 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-91471578, 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-15627690:ctest-vn-75482194, 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-08-22 09:33:31,795 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '762841a6-b25b-434a-bdd3-af9c4454811b', 'name': 'ctest-vn-91471578', 'tenant_id': 'dbd2833c01ff4d21a0752153568fcabe', 'project_id': 'dbd2833c01ff4d21a0752153568fcabe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fda1213f-a126-4da1-9398-0bf1c08c7c03'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-vn-91471578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-policy-allow-all-13235357']], 'subnet_ipam': [{'subnet_cidr': '95.254.76.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:33:32,034 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1e81f43a-2328-4e3b-b9bf-18115989aa47', 'name': 'ctest-vn-75482194', 'tenant_id': 'dbd2833c01ff4d21a0752153568fcabe', 'project_id': 'dbd2833c01ff4d21a0752153568fcabe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecd5299b-f335-4533-bf78-445baa54d7ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-vn-75482194'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-policy-allow-all-13235357']], 'subnet_ipam': [{'subnet_cidr': '137.223.123.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:33:32,208 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-22 09:33:32,519 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-22 09:33:32,543 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0c3e497b-1878-4bee-9c2e-f7ee6289bb72 2025-08-22 09:33:32,555 - DEBUG - Requesting: http://10.0.0.48:8082/project/dbd2833c-01ff-4d21-a075-2153568fcabe 2025-08-22 09:33:32,630 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/762841a6-b25b-434a-bdd3-af9c4454811b 2025-08-22 09:33:32,641 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/762841a6-b25b-434a-bdd3-af9c4454811b 2025-08-22 09:33:32,650 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ca198014-e238-49a0-8802-abefbc261f5f 2025-08-22 09:33:32,657 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ca198014-e238-49a0-8802-abefbc261f5f 2025-08-22 09:33:32,664 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9043a33f-0957-4105-94ea-c6a9520d3329 2025-08-22 09:33:32,670 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 09:33:32,670 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/762841a6-b25b-434a-bdd3-af9c4454811b 2025-08-22 09:33:32,679 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ca198014-e238-49a0-8802-abefbc261f5f 2025-08-22 09:33:32,692 - INFO - Verified VN network id 11 for VN 762841a6-b25b-434a-bdd3-af9c4454811b 2025-08-22 09:33:32,693 - INFO - Verifications in API Server for VN ctest-vn-91471578 passed 2025-08-22 09:33:32,693 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/762841a6-b25b-434a-bdd3-af9c4454811b 2025-08-22 09:33:32,702 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ca198014-e238-49a0-8802-abefbc261f5f 2025-08-22 09:33:32,709 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ca198014-e238-49a0-8802-abefbc261f5f 2025-08-22 09:33:32,716 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/9043a33f-0957-4105-94ea-c6a9520d3329 2025-08-22 09:33:32,728 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-91471578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15627690', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8514127279756624714', 'uuid-lslong': '13678469578950476059'}, 'enable': 'true', 'created': '2025-08-22T09:33:30', 'last-modified': '2025-08-22T09:33:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.966431'} 2025-08-22 09:33:32,734 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 09:33:32,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91471578 passed 2025-08-22 09:33:32,735 - DEBUG - ====Verifying policy data for ctest-vn-91471578 in API_Server ====== 2025-08-22 09:33:32,735 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-22 09:33:32,741 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0c3e497b-1878-4bee-9c2e-f7ee6289bb72 2025-08-22 09:33:32,757 - DEBUG - Requesting: http://10.0.0.48:8082/project/dbd2833c-01ff-4d21-a075-2153568fcabe 2025-08-22 09:33:32,832 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/762841a6-b25b-434a-bdd3-af9c4454811b 2025-08-22 09:33:32,841 - DEBUG - ==>Verifying data for policy with id: e6741900-d641-4553-86fe-3d30a0b46bd5, fqn: ['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-policy-allow-all-13235357'] 2025-08-22 09:33:32,841 - INFO - VN ctest-vn-91471578 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 09:33:32,841 - DEBUG - Verifying the vn in opserver 2025-08-22 09:33:32,841 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-91471578 virtual network link through opserver 10.0.0.48 2025-08-22 09:33:32,841 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-22 09:33:33,131 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-22 09:33:33,181 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-91471578', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-91471578?flat'} 2025-08-22 09:33:33,181 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-91471578 is found in opserver 2025-08-22 09:33:33,191 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 09:33:33,196 - DEBUG - VRF ids for VN ctest-vn-91471578: {} 2025-08-22 09:33:33,196 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-22 09:33:33,202 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0c3e497b-1878-4bee-9c2e-f7ee6289bb72 2025-08-22 09:33:33,212 - DEBUG - Requesting: http://10.0.0.48:8082/project/dbd2833c-01ff-4d21-a075-2153568fcabe 2025-08-22 09:33:33,283 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1e81f43a-2328-4e3b-b9bf-18115989aa47 2025-08-22 09:33:33,295 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1e81f43a-2328-4e3b-b9bf-18115989aa47 2025-08-22 09:33:33,304 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/202d60e6-a2ea-49a5-9d49-0a468a256d22 2025-08-22 09:33:33,310 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/202d60e6-a2ea-49a5-9d49-0a468a256d22 2025-08-22 09:33:33,316 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1375fd51-6dd9-4879-a5f0-6c594372c5e3 2025-08-22 09:33:33,322 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 09:33:33,322 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1e81f43a-2328-4e3b-b9bf-18115989aa47 2025-08-22 09:33:33,330 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/202d60e6-a2ea-49a5-9d49-0a468a256d22 2025-08-22 09:33:33,342 - INFO - Verified VN network id 12 for VN 1e81f43a-2328-4e3b-b9bf-18115989aa47 2025-08-22 09:33:33,342 - INFO - Verifications in API Server for VN ctest-vn-75482194 passed 2025-08-22 09:33:33,343 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1e81f43a-2328-4e3b-b9bf-18115989aa47 2025-08-22 09:33:33,351 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/202d60e6-a2ea-49a5-9d49-0a468a256d22 2025-08-22 09:33:33,357 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/202d60e6-a2ea-49a5-9d49-0a468a256d22 2025-08-22 09:33:33,364 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/1375fd51-6dd9-4879-a5f0-6c594372c5e3 2025-08-22 09:33:33,374 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-75482194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15627690', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2198306623668637243', 'uuid-lslong': '13384443080364108359'}, 'enable': 'true', 'created': '2025-08-22T09:33:31', 'last-modified': '2025-08-22T09:33:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368906'} 2025-08-22 09:33:33,382 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 09:33:33,383 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75482194 passed 2025-08-22 09:33:33,383 - DEBUG - ====Verifying policy data for ctest-vn-75482194 in API_Server ====== 2025-08-22 09:33:33,383 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-22 09:33:33,388 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0c3e497b-1878-4bee-9c2e-f7ee6289bb72 2025-08-22 09:33:33,398 - DEBUG - Requesting: http://10.0.0.48:8082/project/dbd2833c-01ff-4d21-a075-2153568fcabe 2025-08-22 09:33:33,474 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/1e81f43a-2328-4e3b-b9bf-18115989aa47 2025-08-22 09:33:33,484 - DEBUG - ==>Verifying data for policy with id: e6741900-d641-4553-86fe-3d30a0b46bd5, fqn: ['default-domain', 'ctest-TestBasicPolicy-15627690', 'ctest-policy-allow-all-13235357'] 2025-08-22 09:33:33,484 - INFO - VN ctest-vn-75482194 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 09:33:33,484 - DEBUG - Verifying the vn in opserver 2025-08-22 09:33:33,484 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-75482194 virtual network link through opserver 10.0.0.48 2025-08-22 09:33:33,484 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-22 09:33:33,496 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-75482194', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-75482194?flat'} 2025-08-22 09:33:33,496 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-75482194 is found in opserver 2025-08-22 09:33:33,507 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 09:33:33,512 - DEBUG - VRF ids for VN ctest-vn-75482194: {} 2025-08-22 09:33:33,563 - DEBUG - Services list from nova: [, , ] 2025-08-22 09:33:34,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1) 2025-08-22 09:33:35,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1) 2025-08-22 09:33:35,652 - INFO - Waiting for VM ctest-TestBasicPolicy-15627690-75160081 to be up.. 2025-08-22 09:33:35,732 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 09:33:40,823 - DEBUG - VM is in ACTIVE state now 2025-08-22 09:33:40,823 - INFO - VM name : ctest-TestBasicPolicy-15627690-75160081 2025-08-22 09:33:40,899 - DEBUG - VM ctest-TestBasicPolicy-15627690-75160081 ID is 16118080-6b7f-45a6-a8af-9262b75d2732 2025-08-22 09:33:40,916 - DEBUG - VM ctest-TestBasicPolicy-15627690-75160081 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1 2025-08-22 09:33:40,981 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/16118080-6b7f-45a6-a8af-9262b75d2732 2025-08-22 09:33:40,989 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ef9b54e3-8ff0-43da-8029-ae40f735afb3 2025-08-22 09:33:44,263 - 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 1028ms') 2025-08-22 09:33:44,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15627690-75160081 failed! 2025-08-22 09:33:44,320 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15627690:ctest-vn-91471578 is 95.254.76.65 and allocation pool is NOT set 2025-08-22 09:33:46,382 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.874/3.312/1.437 ms') 2025-08-22 09:33:46,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15627690-75160081 passed 2025-08-22 09:33:46,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:33:46,544 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15627690-75160081, IP 95.254.76.67, Port 22 2025-08-22 09:33:46,699 - DEBUG - VM ctest-TestBasicPolicy-15627690-75160081 is ready for SSH connections 2025-08-22 09:33:46,699 - INFO - Waiting for VM ctest-TestBasicPolicy-15627690-34726943 to be up.. 2025-08-22 09:33:46,767 - DEBUG - VM is in ACTIVE state now 2025-08-22 09:33:46,767 - INFO - VM name : ctest-TestBasicPolicy-15627690-34726943 2025-08-22 09:33:46,834 - DEBUG - VM ctest-TestBasicPolicy-15627690-34726943 ID is e1f501af-264d-4c73-a3d5-b55fc567e7cc 2025-08-22 09:33:46,834 - DEBUG - VM ctest-TestBasicPolicy-15627690-34726943 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1 2025-08-22 09:33:46,983 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/e1f501af-264d-4c73-a3d5-b55fc567e7cc 2025-08-22 09:33:46,991 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/8bf8fd6f-d306-42c1-ae8d-3b9deb4ef8a2 2025-08-22 09:33:48,222 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.311 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.311/1.687/3.063/1.376 ms') 2025-08-22 09:33:48,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15627690-34726943 passed 2025-08-22 09:33:48,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:33:48,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15627690-34726943, IP 137.223.123.195, Port 22 2025-08-22 09:33:48,531 - DEBUG - VM ctest-TestBasicPolicy-15627690-34726943 is ready for SSH connections 2025-08-22 09:33:48,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:33:48,531 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.223.123.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:33:48,531 - DEBUG - ping -s 56 -c 3 -W 1 137.223.123.195 2025-08-22 09:33:52,219 - DEBUG - PING 137.223.123.195 (137.223.123.195): 56 data bytes 64 bytes from 137.223.123.195: seq=0 ttl=63 time=3.225 ms 64 bytes from 137.223.123.195: seq=1 ttl=63 time=0.706 ms 64 bytes from 137.223.123.195: seq=2 ttl=63 time=0.803 ms --- 137.223.123.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.706/1.578/3.225 ms 2025-08-22 09:33:52,219 - INFO - Ping to IP 137.223.123.195 from VM ctest-TestBasicPolicy-15627690-75160081 passed 2025-08-22 09:33:52,399 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e6741900-d641-4553-86fe-3d30a0b46bd5", "href": "http://10.0.0.48:8082/network-policy/e6741900-d641-4553-86fe-3d30a0b46bd5"}} 2025-08-22 09:33:52,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:33:52,400 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.223.123.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:33:52,400 - DEBUG - ping -s 56 -c 3 -W 1 137.223.123.195 2025-08-22 09:33:55,625 - DEBUG - PING 137.223.123.195 (137.223.123.195): 56 data bytes --- 137.223.123.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 09:33:55,626 - WARNING - Ping to IP 137.223.123.195 from VM ctest-TestBasicPolicy-15627690-75160081 failed 2025-08-22 09:33:55,626 - INFO - Deleting VM ctest-TestBasicPolicy-15627690-34726943 2025-08-22 09:33:55,688 - INFO - Deleting VM ctest-TestBasicPolicy-15627690-75160081 2025-08-22 09:33:56,061 - INFO - Deleted policy ctest-policy-allow-all-13235357 2025-08-22 09:33:56,061 - INFO - Deleting VN ctest-vn-75482194 2025-08-22 09:33:56,098 - DEBUG - VN 1e81f43a-2328-4e3b-b9bf-18115989aa47 still in use: Unable to complete operation on network 1e81f43a-2328-4e3b-b9bf-18115989aa47. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ce7da92d-2d06-4261-a246-5840750a0291'] 2025-08-22 09:33:56,098 - WARNING - Deleting VN ctest-vn-75482194 failed..Will retry 2025-08-22 09:33:58,214 - DEBUG - Response for deleting network () 2025-08-22 09:33:58,215 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/202d60e6-a2ea-49a5-9d49-0a468a256d22 2025-08-22 09:33:58,220 - DEBUG - Response Code: 404 2025-08-22 09:33:58,220 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-22 09:33:58,225 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0c3e497b-1878-4bee-9c2e-f7ee6289bb72 2025-08-22 09:33:58,278 - DEBUG - Requesting: http://10.0.0.48:8082/project/dbd2833c-01ff-4d21-a075-2153568fcabe 2025-08-22 09:33:58,350 - INFO - Validated that VN ctest-vn-75482194 is not found in API Server 2025-08-22 09:33:58,361 - DEBUG - VN ctest-vn-75482194 is not present in Agent 10.0.0.48 2025-08-22 09:33:58,361 - INFO - Validated that VN ctest-vn-75482194 is not in any agent 2025-08-22 09:33:58,376 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75482194 info 2025-08-22 09:33:58,376 - INFO - Deleting VN ctest-vn-91471578 2025-08-22 09:33:58,471 - DEBUG - Response for deleting network () 2025-08-22 09:33:58,471 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/ca198014-e238-49a0-8802-abefbc261f5f 2025-08-22 09:33:58,475 - DEBUG - Response Code: 404 2025-08-22 09:33:58,476 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-22 09:33:58,482 - DEBUG - Requesting: http://10.0.0.48:8082/domain/0c3e497b-1878-4bee-9c2e-f7ee6289bb72 2025-08-22 09:33:58,537 - DEBUG - Requesting: http://10.0.0.48:8082/project/dbd2833c-01ff-4d21-a075-2153568fcabe 2025-08-22 09:33:58,608 - INFO - Validated that VN ctest-vn-91471578 is not found in API Server 2025-08-22 09:33:58,618 - DEBUG - VN ctest-vn-91471578 is not present in Agent 10.0.0.48 2025-08-22 09:33:58,618 - INFO - Validated that VN ctest-vn-91471578 is not in any agent 2025-08-22 09:33:58,634 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91471578 info 2025-08-22 09:33:58,901 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 09:33:58,901 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-22 09:33:58,901 - INFO - -------------------------------------------------------------------------------- 2025-08-22 09:33:59,562 - INFO - Deleted project: ctest-TestBasicPolicy-15627690, ID : dbd2833c-01ff-4d21-a075-2153568fcabe