2025-11-10 10:16:27,386 - INFO - Domain Default found not creating 2025-11-10 10:16:27,543 - INFO - Project ctest-TestBasicPolicy-08881622 not found, creating it 2025-11-10 10:16:27,989 - INFO - Created Project:ctest-TestBasicPolicy-08881622, ID : 5365ce06-d361-423c-b6d4-661c6bbeadf3 2025-11-10 10:16:29,482 - INFO - ================================================================================ 2025-11-10 10:16:29,482 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-10 10:16:29,482 - 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-11-10 10:16:29,737 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-10 10:16:29,737 - INFO - Initial checks done. Running the testcase now 2025-11-10 10:16:29,737 - INFO - 2025-11-10 10:16:30,301 - DEBUG - Response for create_network : {'network': {'id': '8a03c058-dfb5-4361-be15-656706d334c8', 'name': 'ctest-vn-81056949', 'tenant_id': '5365ce06d361423cb6d4661c6bbeadf3', 'project_id': '5365ce06d361423cb6d4661c6bbeadf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-vn-81056949'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:16:30,512 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba233a55-db0f-44fb-ae0b-9999d03110e3', 'name': '', 'tenant_id': '5365ce06d361423cb6d4661c6bbeadf3', 'network_id': '8a03c058-dfb5-4361-be15-656706d334c8', 'ip_version': 4, 'cidr': '122.183.4.128/26', 'allocation_pools': [{'start': '122.183.4.130', 'end': '122.183.4.190'}], 'gateway_ip': '122.183.4.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.183.4.130', 'tags': [], 'project_id': '5365ce06d361423cb6d4661c6bbeadf3'}} 2025-11-10 10:16:30,528 - INFO - Created VN ctest-vn-81056949 2025-11-10 10:16:30,584 - DEBUG - VN ctest-vn-81056949 UUID is 8a03c058-dfb5-4361-be15-656706d334c8 2025-11-10 10:16:30,901 - DEBUG - Response for create_network : {'network': {'id': '98f8d84f-9417-46e4-b1fa-dcb0183c7d71', 'name': 'ctest-vn-99093471', 'tenant_id': '5365ce06d361423cb6d4661c6bbeadf3', 'project_id': '5365ce06d361423cb6d4661c6bbeadf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-vn-99093471'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:16:31,064 - DEBUG - Response for create_subnet : {'subnet': {'id': '60e210c5-ac18-4358-9ced-57235009ade3', 'name': '', 'tenant_id': '5365ce06d361423cb6d4661c6bbeadf3', 'network_id': '98f8d84f-9417-46e4-b1fa-dcb0183c7d71', 'ip_version': 4, 'cidr': '142.139.238.64/26', 'allocation_pools': [{'start': '142.139.238.66', 'end': '142.139.238.126'}], 'gateway_ip': '142.139.238.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.139.238.66', 'tags': [], 'project_id': '5365ce06d361423cb6d4661c6bbeadf3'}} 2025-11-10 10:16:31,081 - INFO - Created VN ctest-vn-99093471 2025-11-10 10:16:31,132 - DEBUG - VN ctest-vn-99093471 UUID is 98f8d84f-9417-46e4-b1fa-dcb0183c7d71 2025-11-10 10:16:31,248 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-81056949, 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-08881622:ctest-vn-99093471, 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-11-10 10:16:31,544 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8a03c058-dfb5-4361-be15-656706d334c8', 'name': 'ctest-vn-81056949', 'tenant_id': '5365ce06d361423cb6d4661c6bbeadf3', 'project_id': '5365ce06d361423cb6d4661c6bbeadf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba233a55-db0f-44fb-ae0b-9999d03110e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-vn-81056949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-policy-allow-all-31284141']], 'subnet_ipam': [{'subnet_cidr': '122.183.4.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:16:31,830 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98f8d84f-9417-46e4-b1fa-dcb0183c7d71', 'name': 'ctest-vn-99093471', 'tenant_id': '5365ce06d361423cb6d4661c6bbeadf3', 'project_id': '5365ce06d361423cb6d4661c6bbeadf3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['60e210c5-ac18-4358-9ced-57235009ade3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-vn-99093471'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-policy-allow-all-31284141']], 'subnet_ipam': [{'subnet_cidr': '142.139.238.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-10 10:16:31,992 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-10 10:16:32,316 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-10 10:16:32,345 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d86918c-2e88-44ad-a64b-7253ce0b2e2e 2025-11-10 10:16:32,356 - DEBUG - Requesting: http://10.0.0.50:8082/project/5365ce06-d361-423c-b6d4-661c6bbeadf3 2025-11-10 10:16:32,430 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8a03c058-dfb5-4361-be15-656706d334c8 2025-11-10 10:16:32,442 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8a03c058-dfb5-4361-be15-656706d334c8 2025-11-10 10:16:32,451 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ecca199-7fed-4f73-996b-112dca7f58b1 2025-11-10 10:16:32,457 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ecca199-7fed-4f73-996b-112dca7f58b1 2025-11-10 10:16:32,463 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c8f3ab90-e665-465f-bfc3-9dafa82867b9 2025-11-10 10:16:32,469 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 10:16:32,469 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8a03c058-dfb5-4361-be15-656706d334c8 2025-11-10 10:16:32,479 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ecca199-7fed-4f73-996b-112dca7f58b1 2025-11-10 10:16:32,493 - INFO - Verified VN network id 11 for VN 8a03c058-dfb5-4361-be15-656706d334c8 2025-11-10 10:16:32,493 - INFO - Verifications in API Server for VN ctest-vn-81056949 passed 2025-11-10 10:16:32,493 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8a03c058-dfb5-4361-be15-656706d334c8 2025-11-10 10:16:32,503 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ecca199-7fed-4f73-996b-112dca7f58b1 2025-11-10 10:16:32,510 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ecca199-7fed-4f73-996b-112dca7f58b1 2025-11-10 10:16:32,519 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c8f3ab90-e665-465f-bfc3-9dafa82867b9 2025-11-10 10:16:32,537 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-81056949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08881622', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9945003890107040609', 'uuid-lslong': '13696965334887773384'}, 'enable': 'true', 'created': '2025-11-10T10:16:30', 'last-modified': '2025-11-10T10:16:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021900'} 2025-11-10 10:16:32,545 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-10 10:16:32,545 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81056949 passed 2025-11-10 10:16:32,545 - DEBUG - ====Verifying policy data for ctest-vn-81056949 in API_Server ====== 2025-11-10 10:16:32,545 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-10 10:16:32,552 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d86918c-2e88-44ad-a64b-7253ce0b2e2e 2025-11-10 10:16:32,564 - DEBUG - Requesting: http://10.0.0.50:8082/project/5365ce06-d361-423c-b6d4-661c6bbeadf3 2025-11-10 10:16:32,635 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8a03c058-dfb5-4361-be15-656706d334c8 2025-11-10 10:16:32,644 - DEBUG - ==>Verifying data for policy with id: 542996f2-2307-49df-a92e-fa68967d59fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-policy-allow-all-31284141'] 2025-11-10 10:16:32,644 - INFO - VN ctest-vn-81056949 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 10:16:32,644 - DEBUG - Verifying the vn in opserver 2025-11-10 10:16:32,644 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-81056949 virtual network link through opserver 10.0.0.50 2025-11-10 10:16:32,644 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-10 10:16:32,963 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-10 10:16:33,019 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-81056949', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-81056949?flat'} 2025-11-10 10:16:33,019 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-81056949 is found in opserver 2025-11-10 10:16:33,028 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 10:16:33,032 - DEBUG - VRF ids for VN ctest-vn-81056949: {} 2025-11-10 10:16:33,032 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-10 10:16:33,037 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d86918c-2e88-44ad-a64b-7253ce0b2e2e 2025-11-10 10:16:33,047 - DEBUG - Requesting: http://10.0.0.50:8082/project/5365ce06-d361-423c-b6d4-661c6bbeadf3 2025-11-10 10:16:33,140 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/98f8d84f-9417-46e4-b1fa-dcb0183c7d71 2025-11-10 10:16:33,151 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/98f8d84f-9417-46e4-b1fa-dcb0183c7d71 2025-11-10 10:16:33,159 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/081f9b93-f86f-4664-bb3c-b11b24998fe7 2025-11-10 10:16:33,166 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/081f9b93-f86f-4664-bb3c-b11b24998fe7 2025-11-10 10:16:33,172 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c3239ef8-c421-4b67-b148-e51bba67c78a 2025-11-10 10:16:33,178 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 10:16:33,178 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/98f8d84f-9417-46e4-b1fa-dcb0183c7d71 2025-11-10 10:16:33,187 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/081f9b93-f86f-4664-bb3c-b11b24998fe7 2025-11-10 10:16:33,200 - INFO - Verified VN network id 12 for VN 98f8d84f-9417-46e4-b1fa-dcb0183c7d71 2025-11-10 10:16:33,200 - INFO - Verifications in API Server for VN ctest-vn-99093471 passed 2025-11-10 10:16:33,200 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/98f8d84f-9417-46e4-b1fa-dcb0183c7d71 2025-11-10 10:16:33,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/081f9b93-f86f-4664-bb3c-b11b24998fe7 2025-11-10 10:16:33,215 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/081f9b93-f86f-4664-bb3c-b11b24998fe7 2025-11-10 10:16:33,221 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c3239ef8-c421-4b67-b148-e51bba67c78a 2025-11-10 10:16:33,234 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-99093471', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08881622', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11022797924287858404', 'uuid-lslong': '12824805537769880945'}, 'enable': 'true', 'created': '2025-11-10T10:16:30', 'last-modified': '2025-11-10T10:16:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.475441'} 2025-11-10 10:16:33,240 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-10 10:16:33,240 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99093471 passed 2025-11-10 10:16:33,240 - DEBUG - ====Verifying policy data for ctest-vn-99093471 in API_Server ====== 2025-11-10 10:16:33,240 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-10 10:16:33,245 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d86918c-2e88-44ad-a64b-7253ce0b2e2e 2025-11-10 10:16:33,256 - DEBUG - Requesting: http://10.0.0.50:8082/project/5365ce06-d361-423c-b6d4-661c6bbeadf3 2025-11-10 10:16:33,325 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/98f8d84f-9417-46e4-b1fa-dcb0183c7d71 2025-11-10 10:16:33,335 - DEBUG - ==>Verifying data for policy with id: 542996f2-2307-49df-a92e-fa68967d59fb, fqn: ['default-domain', 'ctest-TestBasicPolicy-08881622', 'ctest-policy-allow-all-31284141'] 2025-11-10 10:16:33,335 - INFO - VN ctest-vn-99093471 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-10 10:16:33,335 - DEBUG - Verifying the vn in opserver 2025-11-10 10:16:33,335 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-99093471 virtual network link through opserver 10.0.0.50 2025-11-10 10:16:33,335 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-10 10:16:33,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-99093471', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-99093471?flat'} 2025-11-10 10:16:33,345 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08881622:ctest-vn-99093471 is found in opserver 2025-11-10 10:16:33,354 - DEBUG - Do not have enough data to verify VN in agent 2025-11-10 10:16:33,358 - DEBUG - VRF ids for VN ctest-vn-99093471: {} 2025-11-10 10:16:33,418 - DEBUG - Services list from nova: [, , ] 2025-11-10 10:16:34,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:16:35,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4679-1) 2025-11-10 10:16:35,609 - INFO - Waiting for VM ctest-TestBasicPolicy-08881622-38017037 to be up.. 2025-11-10 10:16:35,696 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 10:16:40,769 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:16:40,769 - INFO - VM name : ctest-TestBasicPolicy-08881622-38017037 2025-11-10 10:16:40,844 - DEBUG - VM ctest-TestBasicPolicy-08881622-38017037 ID is ddd26000-4af5-4e00-9813-403264a50e53 2025-11-10 10:16:40,865 - DEBUG - VM ctest-TestBasicPolicy-08881622-38017037 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:16:40,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ddd26000-4af5-4e00-9813-403264a50e53 2025-11-10 10:16:40,942 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b26ea602-5a14-4651-b877-11ed6938deb2 2025-11-10 10:16:44,200 - 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=2 ttl=63 time=10.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 9.999/9.999/9.999/0.000 ms') 2025-11-10 10:16:44,200 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-08881622-38017037 passed 2025-11-10 10:16:44,348 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:16:44,348 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08881622-38017037, IP 122.183.4.131, Port 22 2025-11-10 10:16:44,518 - DEBUG - VM ctest-TestBasicPolicy-08881622-38017037 is ready for SSH connections 2025-11-10 10:16:44,518 - INFO - Waiting for VM ctest-TestBasicPolicy-08881622-29404674 to be up.. 2025-11-10 10:16:44,593 - DEBUG - VM is in ACTIVE state now 2025-11-10 10:16:44,593 - INFO - VM name : ctest-TestBasicPolicy-08881622-29404674 2025-11-10 10:16:44,664 - DEBUG - VM ctest-TestBasicPolicy-08881622-29404674 ID is 04a0f044-d18c-423e-b334-7ea3e9ead864 2025-11-10 10:16:44,665 - DEBUG - VM ctest-TestBasicPolicy-08881622-29404674 launched on Node cn-jenkins-deploy-platform-ansible-os-4679-1 2025-11-10 10:16:44,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/04a0f044-d18c-423e-b334-7ea3e9ead864 2025-11-10 10:16:44,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bf1896e7-f6e4-4db0-be7e-e8a998b998d9 2025-11-10 10:16:45,981 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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.440/1.852/3.264/1.412 ms') 2025-11-10 10:16:45,981 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-08881622-29404674 passed 2025-11-10 10:16:46,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:16:46,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-08881622-29404674, IP 142.139.238.67, Port 22 2025-11-10 10:16:46,284 - DEBUG - VM ctest-TestBasicPolicy-08881622-29404674 is ready for SSH connections 2025-11-10 10:16:46,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:16:46,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.139.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:16:46,284 - DEBUG - ping -s 56 -c 3 -W 1 142.139.238.67 2025-11-10 10:16:50,236 - DEBUG - PING 142.139.238.67 (142.139.238.67): 56 data bytes 64 bytes from 142.139.238.67: seq=0 ttl=63 time=3.784 ms 64 bytes from 142.139.238.67: seq=1 ttl=63 time=0.877 ms 64 bytes from 142.139.238.67: seq=2 ttl=63 time=1.223 ms --- 142.139.238.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.877/1.961/3.784 ms 2025-11-10 10:16:50,237 - INFO - Ping to IP 142.139.238.67 from VM ctest-TestBasicPolicy-08881622-38017037 passed 2025-11-10 10:16:50,420 - DEBUG - Policy Update Response {"network-policy": {"uuid": "542996f2-2307-49df-a92e-fa68967d59fb", "href": "http://10.0.0.50:8082/network-policy/542996f2-2307-49df-a92e-fa68967d59fb"}} 2025-11-10 10:16:50,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 10:16:50,420 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.139.238.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-10 10:16:50,420 - DEBUG - ping -s 56 -c 3 -W 1 142.139.238.67 2025-11-10 10:16:53,549 - DEBUG - PING 142.139.238.67 (142.139.238.67): 56 data bytes 64 bytes from 142.139.238.67: seq=0 ttl=63 time=1.428 ms --- 142.139.238.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.428/1.428/1.428 ms 2025-11-10 10:16:53,550 - WARNING - Ping to IP 142.139.238.67 from VM ctest-TestBasicPolicy-08881622-38017037 failed 2025-11-10 10:16:53,550 - INFO - Deleting VM ctest-TestBasicPolicy-08881622-29404674 2025-11-10 10:16:53,625 - INFO - Deleting VM ctest-TestBasicPolicy-08881622-38017037 2025-11-10 10:16:53,981 - INFO - Deleted policy ctest-policy-allow-all-31284141 2025-11-10 10:16:53,981 - INFO - Deleting VN ctest-vn-99093471 2025-11-10 10:16:54,019 - DEBUG - VN 98f8d84f-9417-46e4-b1fa-dcb0183c7d71 still in use: Unable to complete operation on network 98f8d84f-9417-46e4-b1fa-dcb0183c7d71. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46577f4f-d58e-4f78-b778-dfc099a6f3a5'] 2025-11-10 10:16:54,020 - WARNING - Deleting VN ctest-vn-99093471 failed..Will retry 2025-11-10 10:16:56,123 - DEBUG - Response for deleting network () 2025-11-10 10:16:56,124 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/081f9b93-f86f-4664-bb3c-b11b24998fe7 2025-11-10 10:16:56,131 - DEBUG - Response Code: 404 2025-11-10 10:16:56,131 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-10 10:16:56,137 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d86918c-2e88-44ad-a64b-7253ce0b2e2e 2025-11-10 10:16:56,190 - DEBUG - Requesting: http://10.0.0.50:8082/project/5365ce06-d361-423c-b6d4-661c6bbeadf3 2025-11-10 10:16:56,263 - INFO - Validated that VN ctest-vn-99093471 is not found in API Server 2025-11-10 10:16:56,272 - DEBUG - VN ctest-vn-99093471 is not present in Agent 10.0.0.50 2025-11-10 10:16:56,272 - INFO - Validated that VN ctest-vn-99093471 is not in any agent 2025-11-10 10:16:56,287 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99093471 info 2025-11-10 10:16:56,287 - INFO - Deleting VN ctest-vn-81056949 2025-11-10 10:16:56,373 - DEBUG - Response for deleting network () 2025-11-10 10:16:56,374 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8ecca199-7fed-4f73-996b-112dca7f58b1 2025-11-10 10:16:56,378 - DEBUG - Response Code: 404 2025-11-10 10:16:56,378 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-10 10:16:56,387 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8d86918c-2e88-44ad-a64b-7253ce0b2e2e 2025-11-10 10:16:56,442 - DEBUG - Requesting: http://10.0.0.50:8082/project/5365ce06-d361-423c-b6d4-661c6bbeadf3 2025-11-10 10:16:56,512 - INFO - Validated that VN ctest-vn-81056949 is not found in API Server 2025-11-10 10:16:56,521 - DEBUG - VN ctest-vn-81056949 is not present in Agent 10.0.0.50 2025-11-10 10:16:56,521 - INFO - Validated that VN ctest-vn-81056949 is not in any agent 2025-11-10 10:16:56,534 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81056949 info 2025-11-10 10:16:56,793 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 10:16:56,793 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27] 2025-11-10 10:16:56,793 - INFO - -------------------------------------------------------------------------------- 2025-11-10 10:16:57,495 - INFO - Deleted project: ctest-TestBasicPolicy-08881622, ID : 5365ce06-d361-423c-b6d4-661c6bbeadf3