2025-01-08 23:24:54,564 - INFO - Domain Default found not creating 2025-01-08 23:24:54,706 - INFO - Project ctest-TestBasicPolicy-81329807 not found, creating it 2025-01-08 23:24:55,142 - INFO - Created Project:ctest-TestBasicPolicy-81329807, ID : 6754574e-5013-4cfe-8016-0162a129ff0f 2025-01-08 23:24:56,519 - INFO - ================================================================================ 2025-01-08 23:24:56,519 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-08 23:24:56,519 - 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-01-08 23:24:56,770 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.6': '0'}} with 2025-01-08 23:24:56,770 - INFO - Initial checks done. Running the testcase now 2025-01-08 23:24:56,770 - INFO - 2025-01-08 23:24:57,287 - DEBUG - Response for create_network : {'network': {'id': '9765202b-3358-4791-a349-f20facff30d1', 'name': 'ctest-vn-96782346', 'tenant_id': '6754574e50134cfe80160162a129ff0f', 'project_id': '6754574e50134cfe80160162a129ff0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-vn-96782346'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 23:24:57,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dae35c63-42bd-4d75-88f2-1b1a8d9c42b7', 'name': '', 'tenant_id': '6754574e50134cfe80160162a129ff0f', 'network_id': '9765202b-3358-4791-a349-f20facff30d1', 'ip_version': 4, 'cidr': '100.131.208.128/26', 'allocation_pools': [{'start': '100.131.208.130', 'end': '100.131.208.190'}], 'gateway_ip': '100.131.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.131.208.130', 'tags': [], 'project_id': '6754574e50134cfe80160162a129ff0f'}} 2025-01-08 23:24:57,519 - INFO - Created VN ctest-vn-96782346 2025-01-08 23:24:57,570 - DEBUG - VN ctest-vn-96782346 UUID is 9765202b-3358-4791-a349-f20facff30d1 2025-01-08 23:24:57,874 - DEBUG - Response for create_network : {'network': {'id': 'f558a95a-3283-419e-802c-5aad63eb9b74', 'name': 'ctest-vn-83555692', 'tenant_id': '6754574e50134cfe80160162a129ff0f', 'project_id': '6754574e50134cfe80160162a129ff0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-vn-83555692'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 23:24:58,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '121b384e-d137-47a3-84a2-305fa73c9ce2', 'name': '', 'tenant_id': '6754574e50134cfe80160162a129ff0f', 'network_id': 'f558a95a-3283-419e-802c-5aad63eb9b74', 'ip_version': 4, 'cidr': '116.233.237.192/26', 'allocation_pools': [{'start': '116.233.237.194', 'end': '116.233.237.254'}], 'gateway_ip': '116.233.237.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.233.237.194', 'tags': [], 'project_id': '6754574e50134cfe80160162a129ff0f'}} 2025-01-08 23:24:58,061 - INFO - Created VN ctest-vn-83555692 2025-01-08 23:24:58,114 - DEBUG - VN ctest-vn-83555692 UUID is f558a95a-3283-419e-802c-5aad63eb9b74 2025-01-08 23:24:58,262 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-96782346, 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-81329807:ctest-vn-83555692, 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-01-08 23:24:58,557 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9765202b-3358-4791-a349-f20facff30d1', 'name': 'ctest-vn-96782346', 'tenant_id': '6754574e50134cfe80160162a129ff0f', 'project_id': '6754574e50134cfe80160162a129ff0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dae35c63-42bd-4d75-88f2-1b1a8d9c42b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-vn-96782346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-policy-allow-all-85637448']], 'subnet_ipam': [{'subnet_cidr': '100.131.208.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 23:24:58,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f558a95a-3283-419e-802c-5aad63eb9b74', 'name': 'ctest-vn-83555692', 'tenant_id': '6754574e50134cfe80160162a129ff0f', 'project_id': '6754574e50134cfe80160162a129ff0f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['121b384e-d137-47a3-84a2-305fa73c9ce2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-vn-83555692'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-policy-allow-all-85637448']], 'subnet_ipam': [{'subnet_cidr': '116.233.237.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 23:24:58,950 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 23:24:59,241 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 23:24:59,267 - DEBUG - Requesting: http://10.0.0.41:8082/domain/513f6ed0-987d-4f08-8d72-938c0e28b7ec 2025-01-08 23:24:59,279 - DEBUG - Requesting: http://10.0.0.41:8082/project/6754574e-5013-4cfe-8016-0162a129ff0f 2025-01-08 23:24:59,351 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9765202b-3358-4791-a349-f20facff30d1 2025-01-08 23:24:59,362 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9765202b-3358-4791-a349-f20facff30d1 2025-01-08 23:24:59,371 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/28051aac-c399-48a8-80a0-68a583348772 2025-01-08 23:24:59,378 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/28051aac-c399-48a8-80a0-68a583348772 2025-01-08 23:24:59,384 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b62e4a2d-8559-40a3-ba42-475e956ff28f 2025-01-08 23:24:59,390 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 23:24:59,390 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9765202b-3358-4791-a349-f20facff30d1 2025-01-08 23:24:59,399 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/28051aac-c399-48a8-80a0-68a583348772 2025-01-08 23:24:59,412 - INFO - Verified VN network id 8 for VN 9765202b-3358-4791-a349-f20facff30d1 2025-01-08 23:24:59,412 - INFO - Verifications in API Server for VN ctest-vn-96782346 passed 2025-01-08 23:24:59,412 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9765202b-3358-4791-a349-f20facff30d1 2025-01-08 23:24:59,423 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/28051aac-c399-48a8-80a0-68a583348772 2025-01-08 23:24:59,429 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/28051aac-c399-48a8-80a0-68a583348772 2025-01-08 23:24:59,436 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b62e4a2d-8559-40a3-ba42-475e956ff28f 2025-01-08 23:24:59,449 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-96782346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81329807', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10909161042292000657', 'uuid-lslong': '11766201650622968017'}, 'enable': 'true', 'created': '2025-01-08T23:24:57', 'last-modified': '2025-01-08T23:24:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911165'} 2025-01-08 23:24:59,456 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 23:24:59,456 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96782346 passed 2025-01-08 23:24:59,456 - DEBUG - ====Verifying policy data for ctest-vn-96782346 in API_Server ====== 2025-01-08 23:24:59,456 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 23:24:59,462 - DEBUG - Requesting: http://10.0.0.41:8082/domain/513f6ed0-987d-4f08-8d72-938c0e28b7ec 2025-01-08 23:24:59,472 - DEBUG - Requesting: http://10.0.0.41:8082/project/6754574e-5013-4cfe-8016-0162a129ff0f 2025-01-08 23:24:59,541 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/9765202b-3358-4791-a349-f20facff30d1 2025-01-08 23:24:59,552 - DEBUG - ==>Verifying data for policy with id: aa111644-1478-44f5-8ff4-01f6ca6fbd0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-policy-allow-all-85637448'] 2025-01-08 23:24:59,552 - INFO - VN ctest-vn-96782346 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 23:24:59,552 - DEBUG - Verifying the vn in opserver 2025-01-08 23:24:59,552 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-96782346 virtual network link through opserver 10.0.0.41 2025-01-08 23:24:59,552 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-08 23:24:59,845 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-08 23:24:59,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-96782346', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-96782346?flat'} 2025-01-08 23:24:59,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-96782346 is found in opserver 2025-01-08 23:24:59,906 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 23:24:59,912 - DEBUG - VRF ids for VN ctest-vn-96782346: {} 2025-01-08 23:24:59,912 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 23:24:59,918 - DEBUG - Requesting: http://10.0.0.41:8082/domain/513f6ed0-987d-4f08-8d72-938c0e28b7ec 2025-01-08 23:24:59,928 - DEBUG - Requesting: http://10.0.0.41:8082/project/6754574e-5013-4cfe-8016-0162a129ff0f 2025-01-08 23:24:59,998 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f558a95a-3283-419e-802c-5aad63eb9b74 2025-01-08 23:25:00,012 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f558a95a-3283-419e-802c-5aad63eb9b74 2025-01-08 23:25:00,024 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/be1bef56-cdc8-4fac-976b-db23302c13db 2025-01-08 23:25:00,034 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/be1bef56-cdc8-4fac-976b-db23302c13db 2025-01-08 23:25:00,042 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c99e3c7a-89b2-40eb-bcec-02d7613f0c62 2025-01-08 23:25:00,049 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 23:25:00,049 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f558a95a-3283-419e-802c-5aad63eb9b74 2025-01-08 23:25:00,058 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/be1bef56-cdc8-4fac-976b-db23302c13db 2025-01-08 23:25:00,072 - INFO - Verified VN network id 9 for VN f558a95a-3283-419e-802c-5aad63eb9b74 2025-01-08 23:25:00,072 - INFO - Verifications in API Server for VN ctest-vn-83555692 passed 2025-01-08 23:25:00,072 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f558a95a-3283-419e-802c-5aad63eb9b74 2025-01-08 23:25:00,081 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/be1bef56-cdc8-4fac-976b-db23302c13db 2025-01-08 23:25:00,087 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/be1bef56-cdc8-4fac-976b-db23302c13db 2025-01-08 23:25:00,094 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c99e3c7a-89b2-40eb-bcec-02d7613f0c62 2025-01-08 23:25:00,106 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-83555692', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81329807', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17679066542102495646', 'uuid-lslong': '9235856636582271860'}, 'enable': 'true', 'created': '2025-01-08T23:24:57', 'last-modified': '2025-01-08T23:24:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.341848'} 2025-01-08 23:25:00,112 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 23:25:00,112 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83555692 passed 2025-01-08 23:25:00,112 - DEBUG - ====Verifying policy data for ctest-vn-83555692 in API_Server ====== 2025-01-08 23:25:00,112 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 23:25:00,119 - DEBUG - Requesting: http://10.0.0.41:8082/domain/513f6ed0-987d-4f08-8d72-938c0e28b7ec 2025-01-08 23:25:00,130 - DEBUG - Requesting: http://10.0.0.41:8082/project/6754574e-5013-4cfe-8016-0162a129ff0f 2025-01-08 23:25:00,200 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f558a95a-3283-419e-802c-5aad63eb9b74 2025-01-08 23:25:00,209 - DEBUG - ==>Verifying data for policy with id: aa111644-1478-44f5-8ff4-01f6ca6fbd0f, fqn: ['default-domain', 'ctest-TestBasicPolicy-81329807', 'ctest-policy-allow-all-85637448'] 2025-01-08 23:25:00,209 - INFO - VN ctest-vn-83555692 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 23:25:00,209 - DEBUG - Verifying the vn in opserver 2025-01-08 23:25:00,209 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-83555692 virtual network link through opserver 10.0.0.41 2025-01-08 23:25:00,209 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-08 23:25:00,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-83555692', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-83555692?flat'} 2025-01-08 23:25:00,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-83555692 is found in opserver 2025-01-08 23:25:00,229 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 23:25:00,233 - DEBUG - VRF ids for VN ctest-vn-83555692: {} 2025-01-08 23:25:00,282 - DEBUG - Services list from nova: [, , ] 2025-01-08 23:25:01,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2571-1) 2025-01-08 23:25:02,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2571-1) 2025-01-08 23:25:02,600 - INFO - Waiting for VM ctest-TestBasicPolicy-81329807-51234241 to be up.. 2025-01-08 23:25:02,668 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 23:25:07,740 - DEBUG - VM is in ACTIVE state now 2025-01-08 23:25:07,740 - INFO - VM name : ctest-TestBasicPolicy-81329807-51234241 2025-01-08 23:25:07,806 - DEBUG - VM ctest-TestBasicPolicy-81329807-51234241 ID is ad17ffdd-b853-4ab6-8376-f3ee6440a58d 2025-01-08 23:25:07,827 - DEBUG - VM ctest-TestBasicPolicy-81329807-51234241 launched on Node cn-jenkins-deploy-platform-ansible-os-2571-1 2025-01-08 23:25:07,892 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/ad17ffdd-b853-4ab6-8376-f3ee6440a58d 2025-01-08 23:25:07,901 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1312c08c-7b12-483d-a0cf-b2d12dbee7b6 2025-01-08 23:25:11,164 - 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 1032ms') 2025-01-08 23:25:11,164 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81329807-51234241 failed! 2025-01-08 23:25:11,218 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-81329807:ctest-vn-96782346 is 100.131.208.129 and allocation pool is NOT set 2025-01-08 23:25:13,281 - 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=2.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.413 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.413/1.632/2.852/1.219 ms') 2025-01-08 23:25:13,281 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-81329807-51234241 passed 2025-01-08 23:25:13,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:25:13,430 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81329807-51234241, IP 100.131.208.131, Port 22 2025-01-08 23:25:13,585 - DEBUG - VM ctest-TestBasicPolicy-81329807-51234241 is ready for SSH connections 2025-01-08 23:25:13,585 - INFO - Waiting for VM ctest-TestBasicPolicy-81329807-14636344 to be up.. 2025-01-08 23:25:13,659 - DEBUG - VM is in ACTIVE state now 2025-01-08 23:25:13,659 - INFO - VM name : ctest-TestBasicPolicy-81329807-14636344 2025-01-08 23:25:13,725 - DEBUG - VM ctest-TestBasicPolicy-81329807-14636344 ID is 8d9a43b4-931b-47e5-bb16-eecb9d94ab74 2025-01-08 23:25:13,725 - DEBUG - VM ctest-TestBasicPolicy-81329807-14636344 launched on Node cn-jenkins-deploy-platform-ansible-os-2571-1 2025-01-08 23:25:13,789 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8d9a43b4-931b-47e5-bb16-eecb9d94ab74 2025-01-08 23:25:13,796 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6a6b9556-7f2c-40ba-b9b7-33e3cdefa133 2025-01-08 23:25:15,027 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 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.375/1.519/2.663/1.144 ms') 2025-01-08 23:25:15,027 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-81329807-14636344 passed 2025-01-08 23:25:15,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:25:15,174 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-81329807-14636344, IP 116.233.237.195, Port 22 2025-01-08 23:25:15,333 - DEBUG - VM ctest-TestBasicPolicy-81329807-14636344 is ready for SSH connections 2025-01-08 23:25:15,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:25:15,333 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.233.237.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-08 23:25:15,334 - DEBUG - ping -s 56 -c 3 -W 1 116.233.237.195 2025-01-08 23:25:19,302 - DEBUG - PING 116.233.237.195 (116.233.237.195): 56 data bytes 64 bytes from 116.233.237.195: seq=0 ttl=63 time=3.185 ms 64 bytes from 116.233.237.195: seq=1 ttl=63 time=0.868 ms 64 bytes from 116.233.237.195: seq=2 ttl=63 time=0.705 ms --- 116.233.237.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.586/3.185 ms 2025-01-08 23:25:19,302 - INFO - Ping to IP 116.233.237.195 from VM ctest-TestBasicPolicy-81329807-51234241 passed 2025-01-08 23:25:19,481 - DEBUG - Policy Update Response {"network-policy": {"uuid": "aa111644-1478-44f5-8ff4-01f6ca6fbd0f", "href": "http://10.0.0.41:8082/network-policy/aa111644-1478-44f5-8ff4-01f6ca6fbd0f"}} 2025-01-08 23:25:19,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 23:25:19,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.233.237.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-08 23:25:19,482 - DEBUG - ping -s 56 -c 3 -W 1 116.233.237.195 2025-01-08 23:25:22,688 - DEBUG - PING 116.233.237.195 (116.233.237.195): 56 data bytes --- 116.233.237.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-08 23:25:22,688 - WARNING - Ping to IP 116.233.237.195 from VM ctest-TestBasicPolicy-81329807-51234241 failed 2025-01-08 23:25:22,689 - INFO - Deleting VM ctest-TestBasicPolicy-81329807-14636344 2025-01-08 23:25:22,747 - INFO - Deleting VM ctest-TestBasicPolicy-81329807-51234241 2025-01-08 23:25:23,137 - INFO - Deleted policy ctest-policy-allow-all-85637448 2025-01-08 23:25:23,137 - INFO - Deleting VN ctest-vn-83555692 2025-01-08 23:25:23,170 - DEBUG - VN f558a95a-3283-419e-802c-5aad63eb9b74 still in use: Unable to complete operation on network f558a95a-3283-419e-802c-5aad63eb9b74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11455726-d87a-4b8a-ab9d-77ab348cc91a'] 2025-01-08 23:25:23,170 - WARNING - Deleting VN ctest-vn-83555692 failed..Will retry 2025-01-08 23:25:25,289 - DEBUG - Response for deleting network () 2025-01-08 23:25:25,289 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/be1bef56-cdc8-4fac-976b-db23302c13db 2025-01-08 23:25:25,295 - DEBUG - Response Code: 404 2025-01-08 23:25:25,295 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 23:25:25,300 - DEBUG - Requesting: http://10.0.0.41:8082/domain/513f6ed0-987d-4f08-8d72-938c0e28b7ec 2025-01-08 23:25:25,361 - DEBUG - Requesting: http://10.0.0.41:8082/project/6754574e-5013-4cfe-8016-0162a129ff0f 2025-01-08 23:25:25,431 - INFO - Validated that VN ctest-vn-83555692 is not found in API Server 2025-01-08 23:25:25,441 - DEBUG - VN ctest-vn-83555692 is not present in Agent 10.0.0.41 2025-01-08 23:25:25,441 - INFO - Validated that VN ctest-vn-83555692 is not in any agent 2025-01-08 23:25:25,458 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83555692 info 2025-01-08 23:25:25,458 - INFO - Deleting VN ctest-vn-96782346 2025-01-08 23:25:25,550 - DEBUG - Response for deleting network () 2025-01-08 23:25:25,550 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/28051aac-c399-48a8-80a0-68a583348772 2025-01-08 23:25:25,557 - DEBUG - Response Code: 404 2025-01-08 23:25:25,558 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 23:25:25,562 - DEBUG - Requesting: http://10.0.0.41:8082/domain/513f6ed0-987d-4f08-8d72-938c0e28b7ec 2025-01-08 23:25:25,615 - DEBUG - Requesting: http://10.0.0.41:8082/project/6754574e-5013-4cfe-8016-0162a129ff0f 2025-01-08 23:25:25,686 - INFO - Validated that VN ctest-vn-96782346 is not found in API Server 2025-01-08 23:25:25,696 - DEBUG - VN ctest-vn-96782346 is not present in Agent 10.0.0.41 2025-01-08 23:25:25,696 - INFO - Validated that VN ctest-vn-96782346 is not in any agent 2025-01-08 23:25:25,710 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96782346 info 2025-01-08 23:25:25,959 - DEBUG - No XMPP flaps were noticed during the test 2025-01-08 23:25:25,959 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-01-08 23:25:25,959 - INFO - -------------------------------------------------------------------------------- 2025-01-08 23:25:26,605 - INFO - Deleted project: ctest-TestBasicPolicy-81329807, ID : 6754574e-5013-4cfe-8016-0162a129ff0f