2025-04-27 10:36:20,778 - INFO - Domain Default found not creating 2025-04-27 10:36:20,893 - INFO - Project ctest-TestBasicPolicy-71444248 not found, creating it 2025-04-27 10:36:21,352 - INFO - Created Project:ctest-TestBasicPolicy-71444248, ID : 976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4 2025-04-27 10:36:22,688 - INFO - ================================================================================ 2025-04-27 10:36:22,688 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-27 10:36:22,689 - 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-04-27 10:36:22,943 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-27 10:36:22,943 - INFO - Initial checks done. Running the testcase now 2025-04-27 10:36:22,943 - INFO - 2025-04-27 10:36:23,442 - DEBUG - Response for create_network : {'network': {'id': '96bd993d-21e4-46ca-97d9-e39ed53f4a03', 'name': 'ctest-vn-82559917', 'tenant_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'project_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-vn-82559917'], 'port_security_enabled': True, 'description': ''}} 2025-04-27 10:36:23,572 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd01bece4-4bf3-4c6d-a05f-30d593edb79e', 'name': '', 'tenant_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'network_id': '96bd993d-21e4-46ca-97d9-e39ed53f4a03', 'ip_version': 4, 'cidr': '3.179.52.128/26', 'allocation_pools': [{'start': '3.179.52.130', 'end': '3.179.52.190'}], 'gateway_ip': '3.179.52.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.179.52.130', 'tags': [], 'project_id': '976d3399f8f849acae8acf4eb8ad8ad4'}} 2025-04-27 10:36:23,587 - INFO - Created VN ctest-vn-82559917 2025-04-27 10:36:23,638 - DEBUG - VN ctest-vn-82559917 UUID is 96bd993d-21e4-46ca-97d9-e39ed53f4a03 2025-04-27 10:36:23,936 - DEBUG - Response for create_network : {'network': {'id': '7819287b-d9b6-408b-ae36-24d88cf9901e', 'name': 'ctest-vn-11769171', 'tenant_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'project_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-vn-11769171'], 'port_security_enabled': True, 'description': ''}} 2025-04-27 10:36:24,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '56622aef-69c7-49a6-8c30-362d89851f5a', 'name': '', 'tenant_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'network_id': '7819287b-d9b6-408b-ae36-24d88cf9901e', 'ip_version': 4, 'cidr': '132.80.9.128/26', 'allocation_pools': [{'start': '132.80.9.130', 'end': '132.80.9.190'}], 'gateway_ip': '132.80.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.80.9.130', 'tags': [], 'project_id': '976d3399f8f849acae8acf4eb8ad8ad4'}} 2025-04-27 10:36:24,090 - INFO - Created VN ctest-vn-11769171 2025-04-27 10:36:24,146 - DEBUG - VN ctest-vn-11769171 UUID is 7819287b-d9b6-408b-ae36-24d88cf9901e 2025-04-27 10:36:24,290 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-82559917, 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-71444248:ctest-vn-11769171, 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-04-27 10:36:24,574 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96bd993d-21e4-46ca-97d9-e39ed53f4a03', 'name': 'ctest-vn-82559917', 'tenant_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'project_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d01bece4-4bf3-4c6d-a05f-30d593edb79e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-vn-82559917'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-policy-allow-all-54227660']], 'subnet_ipam': [{'subnet_cidr': '3.179.52.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-27 10:36:24,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7819287b-d9b6-408b-ae36-24d88cf9901e', 'name': 'ctest-vn-11769171', 'tenant_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'project_id': '976d3399f8f849acae8acf4eb8ad8ad4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56622aef-69c7-49a6-8c30-362d89851f5a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-vn-11769171'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-policy-allow-all-54227660']], 'subnet_ipam': [{'subnet_cidr': '132.80.9.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-27 10:36:24,950 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 10:36:25,236 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 10:36:25,261 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6eafa1c1-7fe5-48ec-a19c-2778dac634bc 2025-04-27 10:36:25,273 - DEBUG - Requesting: http://10.0.0.38:8082/project/976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4 2025-04-27 10:36:25,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96bd993d-21e4-46ca-97d9-e39ed53f4a03 2025-04-27 10:36:25,358 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96bd993d-21e4-46ca-97d9-e39ed53f4a03 2025-04-27 10:36:25,366 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43f2c41c-bf56-442e-886c-2e503e2c1288 2025-04-27 10:36:25,372 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43f2c41c-bf56-442e-886c-2e503e2c1288 2025-04-27 10:36:25,378 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05541d5b-8e74-4e83-9ba1-56401e2a8186 2025-04-27 10:36:25,383 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-27 10:36:25,383 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96bd993d-21e4-46ca-97d9-e39ed53f4a03 2025-04-27 10:36:25,391 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43f2c41c-bf56-442e-886c-2e503e2c1288 2025-04-27 10:36:25,403 - INFO - Verified VN network id 8 for VN 96bd993d-21e4-46ca-97d9-e39ed53f4a03 2025-04-27 10:36:25,403 - INFO - Verifications in API Server for VN ctest-vn-82559917 passed 2025-04-27 10:36:25,403 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96bd993d-21e4-46ca-97d9-e39ed53f4a03 2025-04-27 10:36:25,411 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43f2c41c-bf56-442e-886c-2e503e2c1288 2025-04-27 10:36:25,416 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43f2c41c-bf56-442e-886c-2e503e2c1288 2025-04-27 10:36:25,423 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/05541d5b-8e74-4e83-9ba1-56401e2a8186 2025-04-27 10:36:25,435 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-82559917', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71444248', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10862006364128167626', 'uuid-lslong': '10942027040995363331'}, 'enable': 'true', 'created': '2025-04-27T10:36:23', 'last-modified': '2025-04-27T10:36:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886653'} 2025-04-27 10:36:25,441 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-27 10:36:25,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82559917 passed 2025-04-27 10:36:25,442 - DEBUG - ====Verifying policy data for ctest-vn-82559917 in API_Server ====== 2025-04-27 10:36:25,442 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 10:36:25,446 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6eafa1c1-7fe5-48ec-a19c-2778dac634bc 2025-04-27 10:36:25,458 - DEBUG - Requesting: http://10.0.0.38:8082/project/976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4 2025-04-27 10:36:25,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96bd993d-21e4-46ca-97d9-e39ed53f4a03 2025-04-27 10:36:25,538 - DEBUG - ==>Verifying data for policy with id: fa61040d-7451-4d59-9b38-2d2f8739a073, fqn: ['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-policy-allow-all-54227660'] 2025-04-27 10:36:25,538 - INFO - VN ctest-vn-82559917 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-27 10:36:25,538 - DEBUG - Verifying the vn in opserver 2025-04-27 10:36:25,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-82559917 virtual network link through opserver 10.0.0.38 2025-04-27 10:36:25,539 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-27 10:36:25,824 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-27 10:36:25,871 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-82559917', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-82559917?flat'} 2025-04-27 10:36:25,871 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-82559917 is found in opserver 2025-04-27 10:36:25,881 - DEBUG - Do not have enough data to verify VN in agent 2025-04-27 10:36:25,886 - DEBUG - VRF ids for VN ctest-vn-82559917: {} 2025-04-27 10:36:25,886 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 10:36:25,890 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6eafa1c1-7fe5-48ec-a19c-2778dac634bc 2025-04-27 10:36:25,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4 2025-04-27 10:36:25,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7819287b-d9b6-408b-ae36-24d88cf9901e 2025-04-27 10:36:25,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7819287b-d9b6-408b-ae36-24d88cf9901e 2025-04-27 10:36:26,000 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb1e2f1c-d334-47d5-9eab-7f56a1fbac94 2025-04-27 10:36:26,007 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb1e2f1c-d334-47d5-9eab-7f56a1fbac94 2025-04-27 10:36:26,013 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e5afba4-6678-4f85-a078-ce801f486796 2025-04-27 10:36:26,020 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-27 10:36:26,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7819287b-d9b6-408b-ae36-24d88cf9901e 2025-04-27 10:36:26,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb1e2f1c-d334-47d5-9eab-7f56a1fbac94 2025-04-27 10:36:26,040 - INFO - Verified VN network id 9 for VN 7819287b-d9b6-408b-ae36-24d88cf9901e 2025-04-27 10:36:26,040 - INFO - Verifications in API Server for VN ctest-vn-11769171 passed 2025-04-27 10:36:26,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7819287b-d9b6-408b-ae36-24d88cf9901e 2025-04-27 10:36:26,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb1e2f1c-d334-47d5-9eab-7f56a1fbac94 2025-04-27 10:36:26,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb1e2f1c-d334-47d5-9eab-7f56a1fbac94 2025-04-27 10:36:26,060 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e5afba4-6678-4f85-a078-ce801f486796 2025-04-27 10:36:26,071 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-11769171', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71444248', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8653992671367807115', 'uuid-lslong': '12553261523838537758'}, 'enable': 'true', 'created': '2025-04-27T10:36:23', 'last-modified': '2025-04-27T10:36:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.307454'} 2025-04-27 10:36:26,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-27 10:36:26,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11769171 passed 2025-04-27 10:36:26,078 - DEBUG - ====Verifying policy data for ctest-vn-11769171 in API_Server ====== 2025-04-27 10:36:26,078 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 10:36:26,084 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6eafa1c1-7fe5-48ec-a19c-2778dac634bc 2025-04-27 10:36:26,095 - DEBUG - Requesting: http://10.0.0.38:8082/project/976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4 2025-04-27 10:36:26,166 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7819287b-d9b6-408b-ae36-24d88cf9901e 2025-04-27 10:36:26,176 - DEBUG - ==>Verifying data for policy with id: fa61040d-7451-4d59-9b38-2d2f8739a073, fqn: ['default-domain', 'ctest-TestBasicPolicy-71444248', 'ctest-policy-allow-all-54227660'] 2025-04-27 10:36:26,176 - INFO - VN ctest-vn-11769171 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-27 10:36:26,176 - DEBUG - Verifying the vn in opserver 2025-04-27 10:36:26,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-11769171 virtual network link through opserver 10.0.0.38 2025-04-27 10:36:26,176 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-27 10:36:26,188 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-11769171', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-11769171?flat'} 2025-04-27 10:36:26,188 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-11769171 is found in opserver 2025-04-27 10:36:26,200 - DEBUG - Do not have enough data to verify VN in agent 2025-04-27 10:36:26,204 - DEBUG - VRF ids for VN ctest-vn-11769171: {} 2025-04-27 10:36:26,252 - DEBUG - Services list from nova: [, , ] 2025-04-27 10:36:27,188 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3227-1) 2025-04-27 10:36:28,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3227-1) 2025-04-27 10:36:28,324 - INFO - Waiting for VM ctest-TestBasicPolicy-71444248-36064966 to be up.. 2025-04-27 10:36:28,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-27 10:36:33,460 - DEBUG - VM is in ACTIVE state now 2025-04-27 10:36:33,460 - INFO - VM name : ctest-TestBasicPolicy-71444248-36064966 2025-04-27 10:36:33,519 - DEBUG - VM ctest-TestBasicPolicy-71444248-36064966 ID is bf045db8-d839-4879-9873-c3f98f411a1c 2025-04-27 10:36:33,535 - DEBUG - VM ctest-TestBasicPolicy-71444248-36064966 launched on Node cn-jenkins-deploy-platform-ansible-os-3227-1 2025-04-27 10:36:33,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bf045db8-d839-4879-9873-c3f98f411a1c 2025-04-27 10:36:33,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ed636e94-f3b5-435f-aab5-8e530f7ebf26 2025-04-27 10:36:36,844 - 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 1004ms') 2025-04-27 10:36:36,844 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71444248-36064966 failed! 2025-04-27 10:36:36,902 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71444248:ctest-vn-82559917 is 3.179.52.129 and allocation pool is NOT set 2025-04-27 10:36:38,969 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.290 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.290/1.632/2.974/1.342 ms') 2025-04-27 10:36:38,969 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71444248-36064966 passed 2025-04-27 10:36:39,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 10:36:39,118 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71444248-36064966, IP 3.179.52.131, Port 22 2025-04-27 10:36:39,274 - DEBUG - VM ctest-TestBasicPolicy-71444248-36064966 is ready for SSH connections 2025-04-27 10:36:39,274 - INFO - Waiting for VM ctest-TestBasicPolicy-71444248-82548620 to be up.. 2025-04-27 10:36:39,339 - DEBUG - VM is in ACTIVE state now 2025-04-27 10:36:39,339 - INFO - VM name : ctest-TestBasicPolicy-71444248-82548620 2025-04-27 10:36:39,396 - DEBUG - VM ctest-TestBasicPolicy-71444248-82548620 ID is 8d40920e-7441-40de-b791-e0e1a5e6ea8d 2025-04-27 10:36:39,396 - DEBUG - VM ctest-TestBasicPolicy-71444248-82548620 launched on Node cn-jenkins-deploy-platform-ansible-os-3227-1 2025-04-27 10:36:39,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d40920e-7441-40de-b791-e0e1a5e6ea8d 2025-04-27 10:36:39,461 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/585223d2-5b2f-40f1-ae74-777bdfc56715 2025-04-27 10:36:40,688 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.584/2.816/1.231 ms') 2025-04-27 10:36:40,688 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71444248-82548620 passed 2025-04-27 10:36:40,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 10:36:40,838 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71444248-82548620, IP 132.80.9.131, Port 22 2025-04-27 10:36:40,993 - DEBUG - VM ctest-TestBasicPolicy-71444248-82548620 is ready for SSH connections 2025-04-27 10:36:40,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 10:36:40,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.80.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-27 10:36:40,993 - DEBUG - ping -s 56 -c 3 -W 1 132.80.9.131 2025-04-27 10:36:44,807 - DEBUG - PING 132.80.9.131 (132.80.9.131): 56 data bytes 64 bytes from 132.80.9.131: seq=0 ttl=63 time=3.185 ms 64 bytes from 132.80.9.131: seq=1 ttl=63 time=0.688 ms 64 bytes from 132.80.9.131: seq=2 ttl=63 time=0.696 ms --- 132.80.9.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.688/1.523/3.185 ms 2025-04-27 10:36:44,807 - INFO - Ping to IP 132.80.9.131 from VM ctest-TestBasicPolicy-71444248-36064966 passed 2025-04-27 10:36:44,978 - DEBUG - Policy Update Response {"network-policy": {"uuid": "fa61040d-7451-4d59-9b38-2d2f8739a073", "href": "http://10.0.0.38:8082/network-policy/fa61040d-7451-4d59-9b38-2d2f8739a073"}} 2025-04-27 10:36:44,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-27 10:36:44,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.80.9.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-27 10:36:44,978 - DEBUG - ping -s 56 -c 3 -W 1 132.80.9.131 2025-04-27 10:36:48,173 - DEBUG - PING 132.80.9.131 (132.80.9.131): 56 data bytes --- 132.80.9.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-27 10:36:48,173 - WARNING - Ping to IP 132.80.9.131 from VM ctest-TestBasicPolicy-71444248-36064966 failed 2025-04-27 10:36:48,173 - INFO - Deleting VM ctest-TestBasicPolicy-71444248-82548620 2025-04-27 10:36:48,229 - INFO - Deleting VM ctest-TestBasicPolicy-71444248-36064966 2025-04-27 10:36:48,576 - INFO - Deleted policy ctest-policy-allow-all-54227660 2025-04-27 10:36:48,576 - INFO - Deleting VN ctest-vn-11769171 2025-04-27 10:36:48,609 - DEBUG - VN 7819287b-d9b6-408b-ae36-24d88cf9901e still in use: Unable to complete operation on network 7819287b-d9b6-408b-ae36-24d88cf9901e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e08d85c-750a-4cba-b35d-a361c767c972'] 2025-04-27 10:36:48,609 - WARNING - Deleting VN ctest-vn-11769171 failed..Will retry 2025-04-27 10:36:50,718 - DEBUG - Response for deleting network () 2025-04-27 10:36:50,718 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cb1e2f1c-d334-47d5-9eab-7f56a1fbac94 2025-04-27 10:36:50,724 - DEBUG - Response Code: 404 2025-04-27 10:36:50,724 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 10:36:50,728 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6eafa1c1-7fe5-48ec-a19c-2778dac634bc 2025-04-27 10:36:50,782 - DEBUG - Requesting: http://10.0.0.38:8082/project/976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4 2025-04-27 10:36:50,852 - INFO - Validated that VN ctest-vn-11769171 is not found in API Server 2025-04-27 10:36:50,862 - DEBUG - VN ctest-vn-11769171 is not present in Agent 10.0.0.38 2025-04-27 10:36:50,863 - INFO - Validated that VN ctest-vn-11769171 is not in any agent 2025-04-27 10:36:50,877 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11769171 info 2025-04-27 10:36:50,877 - INFO - Deleting VN ctest-vn-82559917 2025-04-27 10:36:50,968 - DEBUG - Response for deleting network () 2025-04-27 10:36:50,968 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/43f2c41c-bf56-442e-886c-2e503e2c1288 2025-04-27 10:36:50,973 - DEBUG - Response Code: 404 2025-04-27 10:36:50,974 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-27 10:36:50,978 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6eafa1c1-7fe5-48ec-a19c-2778dac634bc 2025-04-27 10:36:51,035 - DEBUG - Requesting: http://10.0.0.38:8082/project/976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4 2025-04-27 10:36:51,102 - INFO - Validated that VN ctest-vn-82559917 is not found in API Server 2025-04-27 10:36:51,113 - DEBUG - VN ctest-vn-82559917 is not present in Agent 10.0.0.38 2025-04-27 10:36:51,113 - INFO - Validated that VN ctest-vn-82559917 is not in any agent 2025-04-27 10:36:51,127 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82559917 info 2025-04-27 10:36:51,375 - DEBUG - No XMPP flaps were noticed during the test 2025-04-27 10:36:51,375 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-27 10:36:51,375 - INFO - -------------------------------------------------------------------------------- 2025-04-27 10:36:52,012 - INFO - Deleted project: ctest-TestBasicPolicy-71444248, ID : 976d3399-f8f8-49ac-ae8a-cf4eb8ad8ad4