2024-12-30 02:26:07,033 - INFO - Domain Default found not creating 2024-12-30 02:26:07,180 - INFO - Project ctest-TestBasicPolicy-93285439 not found, creating it 2024-12-30 02:26:07,622 - INFO - Created Project:ctest-TestBasicPolicy-93285439, ID : 07e3a404-0e5b-4b90-be53-f1c7addd23ad 2024-12-30 02:26:09,063 - INFO - ================================================================================ 2024-12-30 02:26:09,064 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-12-30 02:26:09,064 - 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 2024-12-30 02:26:09,318 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.0.0.17': '0'}} with 2024-12-30 02:26:09,318 - INFO - Initial checks done. Running the testcase now 2024-12-30 02:26:09,318 - INFO - 2024-12-30 02:26:09,855 - DEBUG - Response for create_network : {'network': {'id': 'b10f1964-3e3d-4121-8e1d-401025d23afc', 'name': 'ctest-vn-74054730', 'tenant_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'project_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-vn-74054730'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:26:10,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e25e093-9736-4566-aba7-a4e415c63b87', 'name': '', 'tenant_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'network_id': 'b10f1964-3e3d-4121-8e1d-401025d23afc', 'ip_version': 4, 'cidr': '48.195.76.0/26', 'allocation_pools': [{'start': '48.195.76.2', 'end': '48.195.76.62'}], 'gateway_ip': '48.195.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.195.76.2', 'tags': [], 'project_id': '07e3a4040e5b4b90be53f1c7addd23ad'}} 2024-12-30 02:26:10,033 - INFO - Created VN ctest-vn-74054730 2024-12-30 02:26:10,083 - DEBUG - VN ctest-vn-74054730 UUID is b10f1964-3e3d-4121-8e1d-401025d23afc 2024-12-30 02:26:10,399 - DEBUG - Response for create_network : {'network': {'id': 'a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23', 'name': 'ctest-vn-04241932', 'tenant_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'project_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-vn-04241932'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:26:10,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b524a4-a976-4bd2-9756-d00fe1e8e49f', 'name': '', 'tenant_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'network_id': 'a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23', 'ip_version': 4, 'cidr': '114.116.252.0/26', 'allocation_pools': [{'start': '114.116.252.2', 'end': '114.116.252.62'}], 'gateway_ip': '114.116.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.116.252.2', 'tags': [], 'project_id': '07e3a4040e5b4b90be53f1c7addd23ad'}} 2024-12-30 02:26:10,618 - INFO - Created VN ctest-vn-04241932 2024-12-30 02:26:10,671 - DEBUG - VN ctest-vn-04241932 UUID is a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 2024-12-30 02:26:10,823 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-74054730, 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-93285439:ctest-vn-04241932, 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] 2024-12-30 02:26:11,112 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b10f1964-3e3d-4121-8e1d-401025d23afc', 'name': 'ctest-vn-74054730', 'tenant_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'project_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e25e093-9736-4566-aba7-a4e415c63b87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-vn-74054730'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-policy-allow-all-40726210']], 'subnet_ipam': [{'subnet_cidr': '48.195.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:26:11,334 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23', 'name': 'ctest-vn-04241932', 'tenant_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'project_id': '07e3a4040e5b4b90be53f1c7addd23ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16b524a4-a976-4bd2-9756-d00fe1e8e49f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-vn-04241932'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-policy-allow-all-40726210']], 'subnet_ipam': [{'subnet_cidr': '114.116.252.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-12-30 02:26:11,483 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-30 02:26:11,781 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-30 02:26:11,809 - DEBUG - Requesting: http://10.0.0.17:8082/domain/30bd2ff1-da41-468d-a29e-6955620cabf2 2024-12-30 02:26:11,823 - DEBUG - Requesting: http://10.0.0.17:8082/project/07e3a404-0e5b-4b90-be53-f1c7addd23ad 2024-12-30 02:26:11,894 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b10f1964-3e3d-4121-8e1d-401025d23afc 2024-12-30 02:26:11,905 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b10f1964-3e3d-4121-8e1d-401025d23afc 2024-12-30 02:26:11,915 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a2f26cac-79f9-4a56-8430-798c20b6893b 2024-12-30 02:26:11,922 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a2f26cac-79f9-4a56-8430-798c20b6893b 2024-12-30 02:26:11,929 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/3499d73c-fcf0-41c0-bd53-46685678fb50 2024-12-30 02:26:11,935 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 02:26:11,935 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b10f1964-3e3d-4121-8e1d-401025d23afc 2024-12-30 02:26:11,945 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a2f26cac-79f9-4a56-8430-798c20b6893b 2024-12-30 02:26:11,959 - INFO - Verified VN network id 9 for VN b10f1964-3e3d-4121-8e1d-401025d23afc 2024-12-30 02:26:11,959 - INFO - Verifications in API Server for VN ctest-vn-74054730 passed 2024-12-30 02:26:11,959 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b10f1964-3e3d-4121-8e1d-401025d23afc 2024-12-30 02:26:11,971 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a2f26cac-79f9-4a56-8430-798c20b6893b 2024-12-30 02:26:11,984 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a2f26cac-79f9-4a56-8430-798c20b6893b 2024-12-30 02:26:11,991 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/3499d73c-fcf0-41c0-bd53-46685678fb50 2024-12-30 02:26:12,004 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-74054730', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93285439', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12758444187695530273', 'uuid-lslong': '10240411565808564988'}, 'enable': 'true', 'created': '2024-12-30T02:26:09', 'last-modified': '2024-12-30T02:26:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913704'} 2024-12-30 02:26:12,013 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-12-30 02:26:12,014 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74054730 passed 2024-12-30 02:26:12,014 - DEBUG - ====Verifying policy data for ctest-vn-74054730 in API_Server ====== 2024-12-30 02:26:12,014 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-30 02:26:12,021 - DEBUG - Requesting: http://10.0.0.17:8082/domain/30bd2ff1-da41-468d-a29e-6955620cabf2 2024-12-30 02:26:12,033 - DEBUG - Requesting: http://10.0.0.17:8082/project/07e3a404-0e5b-4b90-be53-f1c7addd23ad 2024-12-30 02:26:12,108 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/b10f1964-3e3d-4121-8e1d-401025d23afc 2024-12-30 02:26:12,120 - DEBUG - ==>Verifying data for policy with id: ca5def65-c212-4461-a8c4-3b3aa9643671, fqn: ['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-policy-allow-all-40726210'] 2024-12-30 02:26:12,120 - INFO - VN ctest-vn-74054730 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 02:26:12,120 - DEBUG - Verifying the vn in opserver 2024-12-30 02:26:12,120 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-74054730 virtual network link through opserver 10.0.0.17 2024-12-30 02:26:12,121 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-12-30 02:26:12,417 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-12-30 02:26:12,472 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-74054730', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-74054730?flat'} 2024-12-30 02:26:12,472 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-74054730 is found in opserver 2024-12-30 02:26:12,486 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 02:26:12,491 - DEBUG - VRF ids for VN ctest-vn-74054730: {} 2024-12-30 02:26:12,491 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-30 02:26:12,497 - DEBUG - Requesting: http://10.0.0.17:8082/domain/30bd2ff1-da41-468d-a29e-6955620cabf2 2024-12-30 02:26:12,512 - DEBUG - Requesting: http://10.0.0.17:8082/project/07e3a404-0e5b-4b90-be53-f1c7addd23ad 2024-12-30 02:26:12,584 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 2024-12-30 02:26:12,598 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 2024-12-30 02:26:12,608 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3c527a7f-b254-410c-854a-bb2ac27df423 2024-12-30 02:26:12,615 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3c527a7f-b254-410c-854a-bb2ac27df423 2024-12-30 02:26:12,623 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/2f4b30c8-9969-45e5-baae-bc568d48e65a 2024-12-30 02:26:12,631 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 02:26:12,632 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 2024-12-30 02:26:12,646 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3c527a7f-b254-410c-854a-bb2ac27df423 2024-12-30 02:26:12,661 - INFO - Verified VN network id 10 for VN a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 2024-12-30 02:26:12,661 - INFO - Verifications in API Server for VN ctest-vn-04241932 passed 2024-12-30 02:26:12,661 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 2024-12-30 02:26:12,671 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3c527a7f-b254-410c-854a-bb2ac27df423 2024-12-30 02:26:12,681 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3c527a7f-b254-410c-854a-bb2ac27df423 2024-12-30 02:26:12,689 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/2f4b30c8-9969-45e5-baae-bc568d48e65a 2024-12-30 02:26:12,702 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-04241932', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93285439', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12086053298703453336', 'uuid-lslong': '11322278048588140323'}, 'enable': 'true', 'created': '2024-12-30T02:26:10', 'last-modified': '2024-12-30T02:26:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.385575'} 2024-12-30 02:26:12,709 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-12-30 02:26:12,709 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04241932 passed 2024-12-30 02:26:12,709 - DEBUG - ====Verifying policy data for ctest-vn-04241932 in API_Server ====== 2024-12-30 02:26:12,709 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-30 02:26:12,714 - DEBUG - Requesting: http://10.0.0.17:8082/domain/30bd2ff1-da41-468d-a29e-6955620cabf2 2024-12-30 02:26:12,729 - DEBUG - Requesting: http://10.0.0.17:8082/project/07e3a404-0e5b-4b90-be53-f1c7addd23ad 2024-12-30 02:26:12,802 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 2024-12-30 02:26:12,811 - DEBUG - ==>Verifying data for policy with id: ca5def65-c212-4461-a8c4-3b3aa9643671, fqn: ['default-domain', 'ctest-TestBasicPolicy-93285439', 'ctest-policy-allow-all-40726210'] 2024-12-30 02:26:12,811 - INFO - VN ctest-vn-04241932 Policy verification: verify_vn_policy_in_api_server, status: True 2024-12-30 02:26:12,811 - DEBUG - Verifying the vn in opserver 2024-12-30 02:26:12,811 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-04241932 virtual network link through opserver 10.0.0.17 2024-12-30 02:26:12,811 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2024-12-30 02:26:12,820 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-04241932', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-04241932?flat'} 2024-12-30 02:26:12,820 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-04241932 is found in opserver 2024-12-30 02:26:12,830 - DEBUG - Do not have enough data to verify VN in agent 2024-12-30 02:26:12,835 - DEBUG - VRF ids for VN ctest-vn-04241932: {} 2024-12-30 02:26:12,891 - DEBUG - Services list from nova: [, , ] 2024-12-30 02:26:13,887 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2502-1) 2024-12-30 02:26:15,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2502-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2502-1) 2024-12-30 02:26:15,085 - INFO - Waiting for VM ctest-TestBasicPolicy-93285439-31593370 to be up.. 2024-12-30 02:26:15,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 02:26:20,245 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:26:20,245 - INFO - VM name : ctest-TestBasicPolicy-93285439-31593370 2024-12-30 02:26:20,348 - DEBUG - VM ctest-TestBasicPolicy-93285439-31593370 ID is 565f1a87-6c3b-4602-b7eb-e5953a7f723f 2024-12-30 02:26:20,371 - DEBUG - VM ctest-TestBasicPolicy-93285439-31593370 launched on Node cn-jenkins-deploy-platform-ansible-os-2502-1. 2024-12-30 02:26:20,458 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/565f1a87-6c3b-4602-b7eb-e5953a7f723f 2024-12-30 02:26:20,466 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/08b03c74-41b7-45f6-814a-935fb38f7fd4 2024-12-30 02:26:23,728 - 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 1020ms') 2024-12-30 02:26:23,728 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93285439-31593370 failed! 2024-12-30 02:26:23,792 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93285439:ctest-vn-74054730 is 48.195.76.1 and allocation pool is NOT set 2024-12-30 02:26:25,849 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.635/2.840/1.204 ms') 2024-12-30 02:26:25,849 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93285439-31593370 passed 2024-12-30 02:26:25,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:26:26,000 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93285439-31593370, IP 48.195.76.3, Port 22 2024-12-30 02:26:26,151 - DEBUG - VM ctest-TestBasicPolicy-93285439-31593370 is ready for SSH connections 2024-12-30 02:26:26,151 - INFO - Waiting for VM ctest-TestBasicPolicy-93285439-69309271 to be up.. 2024-12-30 02:26:26,220 - DEBUG - VM is in ACTIVE state now 2024-12-30 02:26:26,220 - INFO - VM name : ctest-TestBasicPolicy-93285439-69309271 2024-12-30 02:26:26,292 - DEBUG - VM ctest-TestBasicPolicy-93285439-69309271 ID is 8b035aca-ebf8-436d-beef-9245d5eab631 2024-12-30 02:26:26,293 - DEBUG - VM ctest-TestBasicPolicy-93285439-69309271 launched on Node cn-jenkins-deploy-platform-ansible-os-2502-1. 2024-12-30 02:26:26,373 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/8b035aca-ebf8-436d-beef-9245d5eab631 2024-12-30 02:26:26,383 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/ad7df214-8f81-46b2-b35c-08e45d933818 2024-12-30 02:26:27,637 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.379 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.379/1.690/3.002/1.311 ms') 2024-12-30 02:26:27,637 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93285439-69309271 passed 2024-12-30 02:26:27,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:26:27,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93285439-69309271, IP 114.116.252.3, Port 22 2024-12-30 02:26:27,943 - DEBUG - VM ctest-TestBasicPolicy-93285439-69309271 is ready for SSH connections 2024-12-30 02:26:27,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:26:27,944 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.116.252.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-30 02:26:27,944 - DEBUG - ping -s 56 -c 3 -W 1 114.116.252.3 2024-12-30 02:26:31,614 - DEBUG - PING 114.116.252.3 (114.116.252.3): 56 data bytes 64 bytes from 114.116.252.3: seq=0 ttl=63 time=3.441 ms 64 bytes from 114.116.252.3: seq=1 ttl=63 time=0.767 ms 64 bytes from 114.116.252.3: seq=2 ttl=63 time=1.009 ms --- 114.116.252.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.767/1.739/3.441 ms 2024-12-30 02:26:31,614 - INFO - Ping to IP 114.116.252.3 from VM ctest-TestBasicPolicy-93285439-31593370 passed 2024-12-30 02:26:31,791 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ca5def65-c212-4461-a8c4-3b3aa9643671", "href": "http://10.0.0.17:8082/network-policy/ca5def65-c212-4461-a8c4-3b3aa9643671"}} 2024-12-30 02:26:31,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 02:26:31,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.116.252.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-12-30 02:26:31,792 - DEBUG - ping -s 56 -c 3 -W 1 114.116.252.3 2024-12-30 02:26:34,990 - DEBUG - PING 114.116.252.3 (114.116.252.3): 56 data bytes --- 114.116.252.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-12-30 02:26:34,990 - WARNING - Ping to IP 114.116.252.3 from VM ctest-TestBasicPolicy-93285439-31593370 failed 2024-12-30 02:26:34,990 - INFO - Deleting VM ctest-TestBasicPolicy-93285439-69309271 2024-12-30 02:26:35,058 - INFO - Deleting VM ctest-TestBasicPolicy-93285439-31593370 2024-12-30 02:26:35,410 - INFO - Deleted policy ctest-policy-allow-all-40726210 2024-12-30 02:26:35,410 - INFO - Deleting VN ctest-vn-04241932 2024-12-30 02:26:35,446 - DEBUG - VN a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23 still in use: Unable to complete operation on network a7ba4970-c5a8-4c98-9d20-cfe5ae4c8f23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a739997-18cb-4e31-9c62-af84e5b63a44'] 2024-12-30 02:26:35,446 - WARNING - Deleting VN ctest-vn-04241932 failed..Will retry 2024-12-30 02:26:37,563 - DEBUG - Response for deleting network () 2024-12-30 02:26:37,564 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/3c527a7f-b254-410c-854a-bb2ac27df423 2024-12-30 02:26:37,569 - DEBUG - Response Code: 404 2024-12-30 02:26:37,569 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-30 02:26:37,576 - DEBUG - Requesting: http://10.0.0.17:8082/domain/30bd2ff1-da41-468d-a29e-6955620cabf2 2024-12-30 02:26:37,639 - DEBUG - Requesting: http://10.0.0.17:8082/project/07e3a404-0e5b-4b90-be53-f1c7addd23ad 2024-12-30 02:26:37,715 - INFO - Validated that VN ctest-vn-04241932 is not found in API Server 2024-12-30 02:26:37,726 - DEBUG - VN ctest-vn-04241932 is not present in Agent 10.0.0.17 2024-12-30 02:26:37,726 - INFO - Validated that VN ctest-vn-04241932 is not in any agent 2024-12-30 02:26:37,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04241932 info 2024-12-30 02:26:37,743 - INFO - Deleting VN ctest-vn-74054730 2024-12-30 02:26:37,850 - DEBUG - Response for deleting network () 2024-12-30 02:26:37,851 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/a2f26cac-79f9-4a56-8430-798c20b6893b 2024-12-30 02:26:37,860 - DEBUG - Response Code: 404 2024-12-30 02:26:37,860 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2024-12-30 02:26:37,866 - DEBUG - Requesting: http://10.0.0.17:8082/domain/30bd2ff1-da41-468d-a29e-6955620cabf2 2024-12-30 02:26:37,921 - DEBUG - Requesting: http://10.0.0.17:8082/project/07e3a404-0e5b-4b90-be53-f1c7addd23ad 2024-12-30 02:26:37,996 - INFO - Validated that VN ctest-vn-74054730 is not found in API Server 2024-12-30 02:26:38,007 - DEBUG - VN ctest-vn-74054730 is not present in Agent 10.0.0.17 2024-12-30 02:26:38,007 - INFO - Validated that VN ctest-vn-74054730 is not in any agent 2024-12-30 02:26:38,022 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74054730 info 2024-12-30 02:26:38,277 - DEBUG - No XMPP flaps were noticed during the test 2024-12-30 02:26:38,278 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2024-12-30 02:26:38,278 - INFO - -------------------------------------------------------------------------------- 2024-12-30 02:26:38,942 - INFO - Deleted project: ctest-TestBasicPolicy-93285439, ID : 07e3a404-0e5b-4b90-be53-f1c7addd23ad