2025-10-17 08:37:43,036 - INFO - Domain Default found not creating 2025-10-17 08:37:43,210 - INFO - Project ctest-TestBasicPolicy-09573462 not found, creating it 2025-10-17 08:37:43,652 - INFO - Created Project:ctest-TestBasicPolicy-09573462, ID : de32742d-c05a-4ca8-848b-bea24daba623 2025-10-17 08:37:45,000 - INFO - ================================================================================ 2025-10-17 08:37:45,000 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-17 08:37:45,000 - 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-10-17 08:37:45,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-17 08:37:45,254 - INFO - Initial checks done. Running the testcase now 2025-10-17 08:37:45,254 - INFO - 2025-10-17 08:37:45,771 - DEBUG - Response for create_network : {'network': {'id': 'b25ac6f6-8357-43f3-918b-7a7519d64a91', 'name': 'ctest-vn-44819867', 'tenant_id': 'de32742dc05a4ca8848bbea24daba623', 'project_id': 'de32742dc05a4ca8848bbea24daba623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-vn-44819867'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:37:45,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c03bd427-2d4e-4855-8f17-12610783ee8b', 'name': '', 'tenant_id': 'de32742dc05a4ca8848bbea24daba623', 'network_id': 'b25ac6f6-8357-43f3-918b-7a7519d64a91', 'ip_version': 4, 'cidr': '17.231.242.64/26', 'allocation_pools': [{'start': '17.231.242.66', 'end': '17.231.242.126'}], 'gateway_ip': '17.231.242.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.231.242.66', 'tags': [], 'project_id': 'de32742dc05a4ca8848bbea24daba623'}} 2025-10-17 08:37:46,009 - INFO - Created VN ctest-vn-44819867 2025-10-17 08:37:46,066 - DEBUG - VN ctest-vn-44819867 UUID is b25ac6f6-8357-43f3-918b-7a7519d64a91 2025-10-17 08:37:46,381 - DEBUG - Response for create_network : {'network': {'id': 'e80389e8-4c39-4ee4-8950-c3982b5656eb', 'name': 'ctest-vn-95678808', 'tenant_id': 'de32742dc05a4ca8848bbea24daba623', 'project_id': 'de32742dc05a4ca8848bbea24daba623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-vn-95678808'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:37:46,543 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b3667e3-cd2e-4092-8b73-b5e7107c9102', 'name': '', 'tenant_id': 'de32742dc05a4ca8848bbea24daba623', 'network_id': 'e80389e8-4c39-4ee4-8950-c3982b5656eb', 'ip_version': 4, 'cidr': '218.252.77.192/26', 'allocation_pools': [{'start': '218.252.77.194', 'end': '218.252.77.254'}], 'gateway_ip': '218.252.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.252.77.194', 'tags': [], 'project_id': 'de32742dc05a4ca8848bbea24daba623'}} 2025-10-17 08:37:46,562 - INFO - Created VN ctest-vn-95678808 2025-10-17 08:37:46,614 - DEBUG - VN ctest-vn-95678808 UUID is e80389e8-4c39-4ee4-8950-c3982b5656eb 2025-10-17 08:37:46,761 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-44819867, 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-09573462:ctest-vn-95678808, 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-10-17 08:37:47,062 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b25ac6f6-8357-43f3-918b-7a7519d64a91', 'name': 'ctest-vn-44819867', 'tenant_id': 'de32742dc05a4ca8848bbea24daba623', 'project_id': 'de32742dc05a4ca8848bbea24daba623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c03bd427-2d4e-4855-8f17-12610783ee8b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-vn-44819867'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-policy-allow-all-04773831']], 'subnet_ipam': [{'subnet_cidr': '17.231.242.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:37:47,275 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e80389e8-4c39-4ee4-8950-c3982b5656eb', 'name': 'ctest-vn-95678808', 'tenant_id': 'de32742dc05a4ca8848bbea24daba623', 'project_id': 'de32742dc05a4ca8848bbea24daba623', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0b3667e3-cd2e-4092-8b73-b5e7107c9102'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-vn-95678808'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-policy-allow-all-04773831']], 'subnet_ipam': [{'subnet_cidr': '218.252.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:37:47,434 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-17 08:37:47,722 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-17 08:37:47,754 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb4f9b30-d70f-4a95-aa17-c59d60681efe 2025-10-17 08:37:47,765 - DEBUG - Requesting: http://10.0.0.38:8082/project/de32742d-c05a-4ca8-848b-bea24daba623 2025-10-17 08:37:47,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b25ac6f6-8357-43f3-918b-7a7519d64a91 2025-10-17 08:37:47,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b25ac6f6-8357-43f3-918b-7a7519d64a91 2025-10-17 08:37:47,854 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/af1988ed-e4f2-414c-95b1-696f4cf8bccc 2025-10-17 08:37:47,861 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/af1988ed-e4f2-414c-95b1-696f4cf8bccc 2025-10-17 08:37:47,866 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f022503-f836-4eba-911d-309f04e52336 2025-10-17 08:37:47,871 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 08:37:47,871 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b25ac6f6-8357-43f3-918b-7a7519d64a91 2025-10-17 08:37:47,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/af1988ed-e4f2-414c-95b1-696f4cf8bccc 2025-10-17 08:37:47,891 - INFO - Verified VN network id 12 for VN b25ac6f6-8357-43f3-918b-7a7519d64a91 2025-10-17 08:37:47,891 - INFO - Verifications in API Server for VN ctest-vn-44819867 passed 2025-10-17 08:37:47,891 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b25ac6f6-8357-43f3-918b-7a7519d64a91 2025-10-17 08:37:47,899 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/af1988ed-e4f2-414c-95b1-696f4cf8bccc 2025-10-17 08:37:47,904 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/af1988ed-e4f2-414c-95b1-696f4cf8bccc 2025-10-17 08:37:47,909 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9f022503-f836-4eba-911d-309f04e52336 2025-10-17 08:37:47,921 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-44819867', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09573462', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12851803248722920435', 'uuid-lslong': '10487610800625568401'}, 'enable': 'true', 'created': '2025-10-17T08:37:45', 'last-modified': '2025-10-17T08:37:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.878076'} 2025-10-17 08:37:47,928 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-17 08:37:47,928 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44819867 passed 2025-10-17 08:37:47,928 - DEBUG - ====Verifying policy data for ctest-vn-44819867 in API_Server ====== 2025-10-17 08:37:47,929 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-17 08:37:47,934 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb4f9b30-d70f-4a95-aa17-c59d60681efe 2025-10-17 08:37:47,944 - DEBUG - Requesting: http://10.0.0.38:8082/project/de32742d-c05a-4ca8-848b-bea24daba623 2025-10-17 08:37:48,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b25ac6f6-8357-43f3-918b-7a7519d64a91 2025-10-17 08:37:48,024 - DEBUG - ==>Verifying data for policy with id: 38222394-e0c5-4de3-927e-1c7c844d7f10, fqn: ['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-policy-allow-all-04773831'] 2025-10-17 08:37:48,024 - INFO - VN ctest-vn-44819867 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 08:37:48,024 - DEBUG - Verifying the vn in opserver 2025-10-17 08:37:48,024 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-44819867 virtual network link through opserver 10.0.0.38 2025-10-17 08:37:48,025 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-17 08:37:48,318 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-17 08:37:48,373 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-44819867', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-44819867?flat'} 2025-10-17 08:37:48,373 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-44819867 is found in opserver 2025-10-17 08:37:48,382 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 08:37:48,386 - DEBUG - VRF ids for VN ctest-vn-44819867: {} 2025-10-17 08:37:48,386 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-17 08:37:48,391 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb4f9b30-d70f-4a95-aa17-c59d60681efe 2025-10-17 08:37:48,401 - DEBUG - Requesting: http://10.0.0.38:8082/project/de32742d-c05a-4ca8-848b-bea24daba623 2025-10-17 08:37:48,470 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e80389e8-4c39-4ee4-8950-c3982b5656eb 2025-10-17 08:37:48,481 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e80389e8-4c39-4ee4-8950-c3982b5656eb 2025-10-17 08:37:48,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb469636-c2bf-481f-8519-4ee6151eb007 2025-10-17 08:37:48,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb469636-c2bf-481f-8519-4ee6151eb007 2025-10-17 08:37:48,500 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ef5b6c5-5d87-4918-bc3e-4e601970a1f1 2025-10-17 08:37:48,506 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 08:37:48,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e80389e8-4c39-4ee4-8950-c3982b5656eb 2025-10-17 08:37:48,514 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb469636-c2bf-481f-8519-4ee6151eb007 2025-10-17 08:37:48,526 - INFO - Verified VN network id 13 for VN e80389e8-4c39-4ee4-8950-c3982b5656eb 2025-10-17 08:37:48,526 - INFO - Verifications in API Server for VN ctest-vn-95678808 passed 2025-10-17 08:37:48,526 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e80389e8-4c39-4ee4-8950-c3982b5656eb 2025-10-17 08:37:48,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb469636-c2bf-481f-8519-4ee6151eb007 2025-10-17 08:37:48,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb469636-c2bf-481f-8519-4ee6151eb007 2025-10-17 08:37:48,544 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ef5b6c5-5d87-4918-bc3e-4e601970a1f1 2025-10-17 08:37:48,553 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-95678808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09573462', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16718357872533655268', 'uuid-lslong': '9894623439662503659'}, 'enable': 'true', 'created': '2025-10-17T08:37:46', 'last-modified': '2025-10-17T08:37:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318404'} 2025-10-17 08:37:48,558 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-17 08:37:48,558 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95678808 passed 2025-10-17 08:37:48,558 - DEBUG - ====Verifying policy data for ctest-vn-95678808 in API_Server ====== 2025-10-17 08:37:48,558 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-17 08:37:48,562 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb4f9b30-d70f-4a95-aa17-c59d60681efe 2025-10-17 08:37:48,571 - DEBUG - Requesting: http://10.0.0.38:8082/project/de32742d-c05a-4ca8-848b-bea24daba623 2025-10-17 08:37:48,636 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e80389e8-4c39-4ee4-8950-c3982b5656eb 2025-10-17 08:37:48,645 - DEBUG - ==>Verifying data for policy with id: 38222394-e0c5-4de3-927e-1c7c844d7f10, fqn: ['default-domain', 'ctest-TestBasicPolicy-09573462', 'ctest-policy-allow-all-04773831'] 2025-10-17 08:37:48,645 - INFO - VN ctest-vn-95678808 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-17 08:37:48,645 - DEBUG - Verifying the vn in opserver 2025-10-17 08:37:48,645 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-95678808 virtual network link through opserver 10.0.0.38 2025-10-17 08:37:48,645 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-17 08:37:48,653 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-95678808', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-95678808?flat'} 2025-10-17 08:37:48,654 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-95678808 is found in opserver 2025-10-17 08:37:48,662 - DEBUG - Do not have enough data to verify VN in agent 2025-10-17 08:37:48,666 - DEBUG - VRF ids for VN ctest-vn-95678808: {} 2025-10-17 08:37:48,719 - DEBUG - Services list from nova: [, , ] 2025-10-17 08:37:49,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4353-1) 2025-10-17 08:37:50,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4353-1) 2025-10-17 08:37:50,827 - INFO - Waiting for VM ctest-TestBasicPolicy-09573462-78275917 to be up.. 2025-10-17 08:37:50,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 08:37:55,996 - DEBUG - VM is in ACTIVE state now 2025-10-17 08:37:55,996 - INFO - VM name : ctest-TestBasicPolicy-09573462-78275917 2025-10-17 08:37:56,072 - DEBUG - VM ctest-TestBasicPolicy-09573462-78275917 ID is e92d9b07-4b2d-4073-971c-13c3b9df93d3 2025-10-17 08:37:56,095 - DEBUG - VM ctest-TestBasicPolicy-09573462-78275917 launched on Node cn-jenkins-deploy-platform-ansible-os-4353-1 2025-10-17 08:37:56,171 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e92d9b07-4b2d-4073-971c-13c3b9df93d3 2025-10-17 08:37:56,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3ab9dc9c-84bd-4c82-9011-145150982132 2025-10-17 08:37:59,435 - 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 1019ms') 2025-10-17 08:37:59,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09573462-78275917 failed! 2025-10-17 08:37:59,490 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09573462:ctest-vn-44819867 is 17.231.242.65 and allocation pool is NOT set 2025-10-17 08:38:01,545 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.983 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.983/2.122/3.262/1.139 ms') 2025-10-17 08:38:01,546 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09573462-78275917 passed 2025-10-17 08:38:01,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:38:01,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09573462-78275917, IP 17.231.242.67, Port 22 2025-10-17 08:38:01,849 - DEBUG - VM ctest-TestBasicPolicy-09573462-78275917 is ready for SSH connections 2025-10-17 08:38:01,849 - INFO - Waiting for VM ctest-TestBasicPolicy-09573462-84310268 to be up.. 2025-10-17 08:38:01,928 - DEBUG - VM is in ACTIVE state now 2025-10-17 08:38:01,928 - INFO - VM name : ctest-TestBasicPolicy-09573462-84310268 2025-10-17 08:38:02,009 - DEBUG - VM ctest-TestBasicPolicy-09573462-84310268 ID is de1e24a1-1cfd-4f0f-8788-f0b86db4513e 2025-10-17 08:38:02,009 - DEBUG - VM ctest-TestBasicPolicy-09573462-84310268 launched on Node cn-jenkins-deploy-platform-ansible-os-4353-1 2025-10-17 08:38:02,080 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/de1e24a1-1cfd-4f0f-8788-f0b86db4513e 2025-10-17 08:38:02,089 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6512f44c-5478-4f90-ba1a-0bfbd2624b11 2025-10-17 08:38:03,322 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.388 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.388/2.107/3.827/1.719 ms') 2025-10-17 08:38:03,322 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09573462-84310268 passed 2025-10-17 08:38:03,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:38:03,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09573462-84310268, IP 218.252.77.195, Port 22 2025-10-17 08:38:03,628 - DEBUG - VM ctest-TestBasicPolicy-09573462-84310268 is ready for SSH connections 2025-10-17 08:38:03,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:38:03,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.252.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:38:03,629 - DEBUG - ping -s 56 -c 3 -W 1 218.252.77.195 2025-10-17 08:38:07,608 - DEBUG - PING 218.252.77.195 (218.252.77.195): 56 data bytes 64 bytes from 218.252.77.195: seq=0 ttl=63 time=4.009 ms 64 bytes from 218.252.77.195: seq=1 ttl=63 time=1.128 ms 64 bytes from 218.252.77.195: seq=2 ttl=63 time=0.827 ms --- 218.252.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.988/4.009 ms 2025-10-17 08:38:07,608 - INFO - Ping to IP 218.252.77.195 from VM ctest-TestBasicPolicy-09573462-78275917 passed 2025-10-17 08:38:07,785 - DEBUG - Policy Update Response {"network-policy": {"uuid": "38222394-e0c5-4de3-927e-1c7c844d7f10", "href": "http://10.0.0.38:8082/network-policy/38222394-e0c5-4de3-927e-1c7c844d7f10"}} 2025-10-17 08:38:07,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:38:07,786 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.252.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:38:07,786 - DEBUG - ping -s 56 -c 3 -W 1 218.252.77.195 2025-10-17 08:38:10,996 - DEBUG - PING 218.252.77.195 (218.252.77.195): 56 data bytes --- 218.252.77.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 08:38:10,996 - WARNING - Ping to IP 218.252.77.195 from VM ctest-TestBasicPolicy-09573462-78275917 failed 2025-10-17 08:38:10,996 - INFO - Deleting VM ctest-TestBasicPolicy-09573462-84310268 2025-10-17 08:38:11,068 - INFO - Deleting VM ctest-TestBasicPolicy-09573462-78275917 2025-10-17 08:38:11,433 - INFO - Deleted policy ctest-policy-allow-all-04773831 2025-10-17 08:38:11,433 - INFO - Deleting VN ctest-vn-95678808 2025-10-17 08:38:11,469 - DEBUG - VN e80389e8-4c39-4ee4-8950-c3982b5656eb still in use: Unable to complete operation on network e80389e8-4c39-4ee4-8950-c3982b5656eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3baa1b1a-90ad-42ed-bef1-3da3fe67ef97'] 2025-10-17 08:38:11,469 - WARNING - Deleting VN ctest-vn-95678808 failed..Will retry 2025-10-17 08:38:13,561 - DEBUG - Response for deleting network () 2025-10-17 08:38:13,561 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb469636-c2bf-481f-8519-4ee6151eb007 2025-10-17 08:38:13,566 - DEBUG - Response Code: 404 2025-10-17 08:38:13,566 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-17 08:38:13,570 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb4f9b30-d70f-4a95-aa17-c59d60681efe 2025-10-17 08:38:13,624 - DEBUG - Requesting: http://10.0.0.38:8082/project/de32742d-c05a-4ca8-848b-bea24daba623 2025-10-17 08:38:13,703 - INFO - Validated that VN ctest-vn-95678808 is not found in API Server 2025-10-17 08:38:13,712 - DEBUG - VN ctest-vn-95678808 is not present in Agent 10.0.0.38 2025-10-17 08:38:13,713 - INFO - Validated that VN ctest-vn-95678808 is not in any agent 2025-10-17 08:38:13,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95678808 info 2025-10-17 08:38:13,724 - INFO - Deleting VN ctest-vn-44819867 2025-10-17 08:38:13,810 - DEBUG - Response for deleting network () 2025-10-17 08:38:13,811 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/af1988ed-e4f2-414c-95b1-696f4cf8bccc 2025-10-17 08:38:13,816 - DEBUG - Response Code: 404 2025-10-17 08:38:13,817 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-17 08:38:13,824 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb4f9b30-d70f-4a95-aa17-c59d60681efe 2025-10-17 08:38:13,879 - DEBUG - Requesting: http://10.0.0.38:8082/project/de32742d-c05a-4ca8-848b-bea24daba623 2025-10-17 08:38:13,954 - INFO - Validated that VN ctest-vn-44819867 is not found in API Server 2025-10-17 08:38:13,966 - DEBUG - VN ctest-vn-44819867 is not present in Agent 10.0.0.38 2025-10-17 08:38:13,966 - INFO - Validated that VN ctest-vn-44819867 is not in any agent 2025-10-17 08:38:13,981 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44819867 info 2025-10-17 08:38:14,234 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 08:38:14,234 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-17 08:38:14,234 - INFO - -------------------------------------------------------------------------------- 2025-10-17 08:38:14,897 - INFO - Deleted project: ctest-TestBasicPolicy-09573462, ID : de32742d-c05a-4ca8-848b-bea24daba623