2025-01-27 16:09:43,416 - INFO - Domain Default found not creating 2025-01-27 16:09:43,561 - INFO - Project ctest-TestBasicPolicy-24698140 not found, creating it 2025-01-27 16:09:44,019 - INFO - Created Project:ctest-TestBasicPolicy-24698140, ID : ee5adaf0-c8d9-4fba-a670-aca8239da1c1 2025-01-27 16:09:45,512 - INFO - ================================================================================ 2025-01-27 16:09:45,512 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-27 16:09:45,512 - 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-27 16:09:45,768 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.6': '0'}} with 2025-01-27 16:09:45,768 - INFO - Initial checks done. Running the testcase now 2025-01-27 16:09:45,768 - INFO - 2025-01-27 16:09:46,840 - DEBUG - Response for create_network : {'network': {'id': 'f29cb2cf-560e-4a58-9c54-b0a893eadddf', 'name': 'ctest-vn-06469633', 'tenant_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'project_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-vn-06469633'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 16:09:47,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '63faf137-475f-437c-810c-b231f4c76ead', 'name': '', 'tenant_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'network_id': 'f29cb2cf-560e-4a58-9c54-b0a893eadddf', 'ip_version': 4, 'cidr': '40.51.56.128/26', 'allocation_pools': [{'start': '40.51.56.130', 'end': '40.51.56.190'}], 'gateway_ip': '40.51.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.51.56.130', 'tags': [], 'project_id': 'ee5adaf0c8d94fbaa670aca8239da1c1'}} 2025-01-27 16:09:47,096 - INFO - Created VN ctest-vn-06469633 2025-01-27 16:09:47,150 - DEBUG - VN ctest-vn-06469633 UUID is f29cb2cf-560e-4a58-9c54-b0a893eadddf 2025-01-27 16:09:47,470 - DEBUG - Response for create_network : {'network': {'id': '50839d05-d7fc-4bd3-84b9-43a3991ac9f2', 'name': 'ctest-vn-18040339', 'tenant_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'project_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-vn-18040339'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 16:09:47,661 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7f1b467-6dc9-4508-88ee-936d9cf2e406', 'name': '', 'tenant_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'network_id': '50839d05-d7fc-4bd3-84b9-43a3991ac9f2', 'ip_version': 4, 'cidr': '176.155.43.192/26', 'allocation_pools': [{'start': '176.155.43.194', 'end': '176.155.43.254'}], 'gateway_ip': '176.155.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.155.43.194', 'tags': [], 'project_id': 'ee5adaf0c8d94fbaa670aca8239da1c1'}} 2025-01-27 16:09:47,679 - INFO - Created VN ctest-vn-18040339 2025-01-27 16:09:47,730 - DEBUG - VN ctest-vn-18040339 UUID is 50839d05-d7fc-4bd3-84b9-43a3991ac9f2 2025-01-27 16:09:47,842 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-06469633, 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-24698140:ctest-vn-18040339, 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-27 16:09:48,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f29cb2cf-560e-4a58-9c54-b0a893eadddf', 'name': 'ctest-vn-06469633', 'tenant_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'project_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63faf137-475f-437c-810c-b231f4c76ead'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-vn-06469633'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-policy-allow-all-31431606']], 'subnet_ipam': [{'subnet_cidr': '40.51.56.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-27 16:09:48,398 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50839d05-d7fc-4bd3-84b9-43a3991ac9f2', 'name': 'ctest-vn-18040339', 'tenant_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'project_id': 'ee5adaf0c8d94fbaa670aca8239da1c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7f1b467-6dc9-4508-88ee-936d9cf2e406'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-vn-18040339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-policy-allow-all-31431606']], 'subnet_ipam': [{'subnet_cidr': '176.155.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-27 16:09:48,542 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-27 16:09:48,840 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-27 16:09:48,869 - DEBUG - Requesting: http://10.0.0.34:8082/domain/77406968-930b-497a-8a5c-f6be84654a5d 2025-01-27 16:09:48,883 - DEBUG - Requesting: http://10.0.0.34:8082/project/ee5adaf0-c8d9-4fba-a670-aca8239da1c1 2025-01-27 16:09:48,959 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/f29cb2cf-560e-4a58-9c54-b0a893eadddf 2025-01-27 16:09:48,970 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/f29cb2cf-560e-4a58-9c54-b0a893eadddf 2025-01-27 16:09:48,981 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d2be6e8b-971a-4d86-8129-2906b6277fc9 2025-01-27 16:09:48,990 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d2be6e8b-971a-4d86-8129-2906b6277fc9 2025-01-27 16:09:48,997 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/34e4da76-1419-4467-8a49-146563672260 2025-01-27 16:09:49,006 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-27 16:09:49,006 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/f29cb2cf-560e-4a58-9c54-b0a893eadddf 2025-01-27 16:09:49,017 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d2be6e8b-971a-4d86-8129-2906b6277fc9 2025-01-27 16:09:49,032 - INFO - Verified VN network id 8 for VN f29cb2cf-560e-4a58-9c54-b0a893eadddf 2025-01-27 16:09:49,032 - INFO - Verifications in API Server for VN ctest-vn-06469633 passed 2025-01-27 16:09:49,032 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/f29cb2cf-560e-4a58-9c54-b0a893eadddf 2025-01-27 16:09:49,042 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d2be6e8b-971a-4d86-8129-2906b6277fc9 2025-01-27 16:09:49,049 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d2be6e8b-971a-4d86-8129-2906b6277fc9 2025-01-27 16:09:49,056 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/34e4da76-1419-4467-8a49-146563672260 2025-01-27 16:09:49,070 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-06469633', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24698140', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17482044457117174360', 'uuid-lslong': '11264822806043090399'}, 'enable': 'true', 'created': '2025-01-27T16:09:46', 'last-modified': '2025-01-27T16:09:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956660'} 2025-01-27 16:09:49,077 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-27 16:09:49,077 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06469633 passed 2025-01-27 16:09:49,078 - DEBUG - ====Verifying policy data for ctest-vn-06469633 in API_Server ====== 2025-01-27 16:09:49,078 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-27 16:09:49,084 - DEBUG - Requesting: http://10.0.0.34:8082/domain/77406968-930b-497a-8a5c-f6be84654a5d 2025-01-27 16:09:49,096 - DEBUG - Requesting: http://10.0.0.34:8082/project/ee5adaf0-c8d9-4fba-a670-aca8239da1c1 2025-01-27 16:09:49,175 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/f29cb2cf-560e-4a58-9c54-b0a893eadddf 2025-01-27 16:09:49,186 - DEBUG - ==>Verifying data for policy with id: 33267a40-7637-436a-8214-0946f266d27a, fqn: ['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-policy-allow-all-31431606'] 2025-01-27 16:09:49,186 - INFO - VN ctest-vn-06469633 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-27 16:09:49,186 - DEBUG - Verifying the vn in opserver 2025-01-27 16:09:49,186 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-06469633 virtual network link through opserver 10.0.0.34 2025-01-27 16:09:49,186 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-27 16:09:49,477 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-27 16:09:49,531 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-06469633', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-06469633?flat'} 2025-01-27 16:09:49,531 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-06469633 is found in opserver 2025-01-27 16:09:49,543 - DEBUG - Do not have enough data to verify VN in agent 2025-01-27 16:09:49,549 - DEBUG - VRF ids for VN ctest-vn-06469633: {} 2025-01-27 16:09:49,549 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-27 16:09:49,554 - DEBUG - Requesting: http://10.0.0.34:8082/domain/77406968-930b-497a-8a5c-f6be84654a5d 2025-01-27 16:09:49,566 - DEBUG - Requesting: http://10.0.0.34:8082/project/ee5adaf0-c8d9-4fba-a670-aca8239da1c1 2025-01-27 16:09:49,638 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50839d05-d7fc-4bd3-84b9-43a3991ac9f2 2025-01-27 16:09:49,650 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50839d05-d7fc-4bd3-84b9-43a3991ac9f2 2025-01-27 16:09:49,660 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cd58c6c1-9925-48b5-8fdb-1f1aa757b0d2 2025-01-27 16:09:49,667 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cd58c6c1-9925-48b5-8fdb-1f1aa757b0d2 2025-01-27 16:09:49,675 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/4066aa9f-0fff-42f9-b6df-30de8f15afd7 2025-01-27 16:09:49,682 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-27 16:09:49,682 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50839d05-d7fc-4bd3-84b9-43a3991ac9f2 2025-01-27 16:09:49,691 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cd58c6c1-9925-48b5-8fdb-1f1aa757b0d2 2025-01-27 16:09:49,706 - INFO - Verified VN network id 9 for VN 50839d05-d7fc-4bd3-84b9-43a3991ac9f2 2025-01-27 16:09:49,706 - INFO - Verifications in API Server for VN ctest-vn-18040339 passed 2025-01-27 16:09:49,706 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50839d05-d7fc-4bd3-84b9-43a3991ac9f2 2025-01-27 16:09:49,717 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cd58c6c1-9925-48b5-8fdb-1f1aa757b0d2 2025-01-27 16:09:49,725 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cd58c6c1-9925-48b5-8fdb-1f1aa757b0d2 2025-01-27 16:09:49,733 - DEBUG - Requesting: http://10.0.0.34:8082/route-target/4066aa9f-0fff-42f9-b6df-30de8f15afd7 2025-01-27 16:09:49,745 - DEBUG - Control-node 10.0.0.34 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-18040339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24698140', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5801653393407364051', 'uuid-lslong': '9563749653625358834'}, 'enable': 'true', 'created': '2025-01-27T16:09:47', 'last-modified': '2025-01-27T16:09:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.381420'} 2025-01-27 16:09:49,752 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-27 16:09:49,752 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18040339 passed 2025-01-27 16:09:49,752 - DEBUG - ====Verifying policy data for ctest-vn-18040339 in API_Server ====== 2025-01-27 16:09:49,752 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-27 16:09:49,758 - DEBUG - Requesting: http://10.0.0.34:8082/domain/77406968-930b-497a-8a5c-f6be84654a5d 2025-01-27 16:09:49,770 - DEBUG - Requesting: http://10.0.0.34:8082/project/ee5adaf0-c8d9-4fba-a670-aca8239da1c1 2025-01-27 16:09:49,843 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-network/50839d05-d7fc-4bd3-84b9-43a3991ac9f2 2025-01-27 16:09:49,853 - DEBUG - ==>Verifying data for policy with id: 33267a40-7637-436a-8214-0946f266d27a, fqn: ['default-domain', 'ctest-TestBasicPolicy-24698140', 'ctest-policy-allow-all-31431606'] 2025-01-27 16:09:49,853 - INFO - VN ctest-vn-18040339 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-27 16:09:49,853 - DEBUG - Verifying the vn in opserver 2025-01-27 16:09:49,853 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-18040339 virtual network link through opserver 10.0.0.34 2025-01-27 16:09:49,853 - DEBUG - Requesting: http://10.0.0.34:8081/analytics/uves/virtual-networks 2025-01-27 16:09:49,865 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-18040339', 'href': 'http://10.0.0.34:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-18040339?flat'} 2025-01-27 16:09:49,865 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-18040339 is found in opserver 2025-01-27 16:09:49,876 - DEBUG - Do not have enough data to verify VN in agent 2025-01-27 16:09:49,881 - DEBUG - VRF ids for VN ctest-vn-18040339: {} 2025-01-27 16:09:49,936 - DEBUG - Services list from nova: [, , ] 2025-01-27 16:09:50,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2665-1) 2025-01-27 16:09:52,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2665-1) 2025-01-27 16:09:52,204 - INFO - Waiting for VM ctest-TestBasicPolicy-24698140-96522541 to be up.. 2025-01-27 16:09:52,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-27 16:09:57,371 - DEBUG - VM is in ACTIVE state now 2025-01-27 16:09:57,371 - INFO - VM name : ctest-TestBasicPolicy-24698140-96522541 2025-01-27 16:09:57,446 - DEBUG - VM ctest-TestBasicPolicy-24698140-96522541 ID is 52bd6f9d-f2ce-4e8c-87f7-291dd4b9ee28 2025-01-27 16:09:57,467 - DEBUG - VM ctest-TestBasicPolicy-24698140-96522541 launched on Node cn-jenkins-deploy-platform-ansible-os-2665-1 2025-01-27 16:09:57,541 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/52bd6f9d-f2ce-4e8c-87f7-291dd4b9ee28 2025-01-27 16:09:57,551 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/09a60eac-7314-4c02-822c-0b2a78a9d96a 2025-01-27 16:10:00,817 - 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 1031ms') 2025-01-27 16:10:00,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24698140-96522541 failed! 2025-01-27 16:10:00,874 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-24698140:ctest-vn-06469633 is 40.51.56.129 and allocation pool is NOT set 2025-01-27 16:10:02,934 - 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=9.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.402 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.402/4.761/9.121/4.359 ms') 2025-01-27 16:10:02,934 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24698140-96522541 passed 2025-01-27 16:10:03,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 16:10:03,082 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24698140-96522541, IP 40.51.56.131, Port 22 2025-01-27 16:10:03,239 - DEBUG - VM ctest-TestBasicPolicy-24698140-96522541 is ready for SSH connections 2025-01-27 16:10:03,240 - INFO - Waiting for VM ctest-TestBasicPolicy-24698140-18190788 to be up.. 2025-01-27 16:10:03,321 - DEBUG - VM is in ACTIVE state now 2025-01-27 16:10:03,322 - INFO - VM name : ctest-TestBasicPolicy-24698140-18190788 2025-01-27 16:10:03,397 - DEBUG - VM ctest-TestBasicPolicy-24698140-18190788 ID is 7c718eab-32e7-462a-b960-d7f9ba2c0e38 2025-01-27 16:10:03,397 - DEBUG - VM ctest-TestBasicPolicy-24698140-18190788 launched on Node cn-jenkins-deploy-platform-ansible-os-2665-1 2025-01-27 16:10:03,470 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/7c718eab-32e7-462a-b960-d7f9ba2c0e38 2025-01-27 16:10:03,479 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/96590908-e0dd-4a56-9d09-796d440df466 2025-01-27 16:10:04,722 - 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=7.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.873 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.873/4.323/7.773/3.450 ms') 2025-01-27 16:10:04,722 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24698140-18190788 passed 2025-01-27 16:10:04,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 16:10:04,874 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24698140-18190788, IP 176.155.43.195, Port 22 2025-01-27 16:10:05,038 - DEBUG - VM ctest-TestBasicPolicy-24698140-18190788 is ready for SSH connections 2025-01-27 16:10:05,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 16:10:05,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.155.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-27 16:10:05,039 - DEBUG - ping -s 56 -c 3 -W 1 176.155.43.195 2025-01-27 16:10:09,082 - DEBUG - PING 176.155.43.195 (176.155.43.195): 56 data bytes 64 bytes from 176.155.43.195: seq=0 ttl=63 time=4.039 ms 64 bytes from 176.155.43.195: seq=1 ttl=63 time=0.838 ms 64 bytes from 176.155.43.195: seq=2 ttl=63 time=0.851 ms --- 176.155.43.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.909/4.039 ms 2025-01-27 16:10:09,083 - INFO - Ping to IP 176.155.43.195 from VM ctest-TestBasicPolicy-24698140-96522541 passed 2025-01-27 16:10:09,266 - DEBUG - Policy Update Response {"network-policy": {"uuid": "33267a40-7637-436a-8214-0946f266d27a", "href": "http://10.0.0.34:8082/network-policy/33267a40-7637-436a-8214-0946f266d27a"}} 2025-01-27 16:10:09,266 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 16:10:09,266 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.155.43.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2025-01-27 16:10:09,267 - DEBUG - ping -s 56 -c 3 -W 1 176.155.43.195 2025-01-27 16:10:12,465 - DEBUG - PING 176.155.43.195 (176.155.43.195): 56 data bytes --- 176.155.43.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-27 16:10:12,465 - WARNING - Ping to IP 176.155.43.195 from VM ctest-TestBasicPolicy-24698140-96522541 failed 2025-01-27 16:10:12,466 - INFO - Deleting VM ctest-TestBasicPolicy-24698140-18190788 2025-01-27 16:10:12,536 - INFO - Deleting VM ctest-TestBasicPolicy-24698140-96522541 2025-01-27 16:10:12,913 - INFO - Deleted policy ctest-policy-allow-all-31431606 2025-01-27 16:10:12,913 - INFO - Deleting VN ctest-vn-18040339 2025-01-27 16:10:12,962 - DEBUG - VN 50839d05-d7fc-4bd3-84b9-43a3991ac9f2 still in use: Unable to complete operation on network 50839d05-d7fc-4bd3-84b9-43a3991ac9f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ac0b740-8516-48f3-8330-0482bc9af937'] 2025-01-27 16:10:12,962 - WARNING - Deleting VN ctest-vn-18040339 failed..Will retry 2025-01-27 16:10:15,056 - DEBUG - Response for deleting network () 2025-01-27 16:10:15,056 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/cd58c6c1-9925-48b5-8fdb-1f1aa757b0d2 2025-01-27 16:10:15,061 - DEBUG - Response Code: 404 2025-01-27 16:10:15,061 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-27 16:10:15,067 - DEBUG - Requesting: http://10.0.0.34:8082/domain/77406968-930b-497a-8a5c-f6be84654a5d 2025-01-27 16:10:15,124 - DEBUG - Requesting: http://10.0.0.34:8082/project/ee5adaf0-c8d9-4fba-a670-aca8239da1c1 2025-01-27 16:10:15,198 - INFO - Validated that VN ctest-vn-18040339 is not found in API Server 2025-01-27 16:10:15,209 - DEBUG - VN ctest-vn-18040339 is not present in Agent 10.0.0.34 2025-01-27 16:10:15,209 - INFO - Validated that VN ctest-vn-18040339 is not in any agent 2025-01-27 16:10:15,226 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18040339 info 2025-01-27 16:10:15,227 - INFO - Deleting VN ctest-vn-06469633 2025-01-27 16:10:15,325 - DEBUG - Response for deleting network () 2025-01-27 16:10:15,325 - DEBUG - Requesting: http://10.0.0.34:8082/routing-instance/d2be6e8b-971a-4d86-8129-2906b6277fc9 2025-01-27 16:10:15,331 - DEBUG - Response Code: 404 2025-01-27 16:10:15,331 - DEBUG - Requesting: http://10.0.0.34:8082/domains 2025-01-27 16:10:15,337 - DEBUG - Requesting: http://10.0.0.34:8082/domain/77406968-930b-497a-8a5c-f6be84654a5d 2025-01-27 16:10:15,393 - DEBUG - Requesting: http://10.0.0.34:8082/project/ee5adaf0-c8d9-4fba-a670-aca8239da1c1 2025-01-27 16:10:15,462 - INFO - Validated that VN ctest-vn-06469633 is not found in API Server 2025-01-27 16:10:15,475 - DEBUG - VN ctest-vn-06469633 is not present in Agent 10.0.0.34 2025-01-27 16:10:15,475 - INFO - Validated that VN ctest-vn-06469633 is not in any agent 2025-01-27 16:10:15,492 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06469633 info 2025-01-27 16:10:15,748 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 16:10:15,748 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-27 16:10:15,749 - INFO - -------------------------------------------------------------------------------- 2025-01-27 16:10:16,409 - INFO - Deleted project: ctest-TestBasicPolicy-24698140, ID : ee5adaf0-c8d9-4fba-a670-aca8239da1c1