2025-01-27 02:36:57,885 - INFO - Domain Default found not creating 2025-01-27 02:36:58,021 - INFO - Project ctest-TestBasicPolicy-56969722 not found, creating it 2025-01-27 02:36:58,459 - INFO - Created Project:ctest-TestBasicPolicy-56969722, ID : b1b909ae-ec26-46d2-bbb4-f018752505df 2025-01-27 02:36:59,870 - INFO - ================================================================================ 2025-01-27 02:36:59,871 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-27 02:36:59,871 - 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 02:37:00,126 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with 2025-01-27 02:37:00,127 - INFO - Initial checks done. Running the testcase now 2025-01-27 02:37:00,127 - INFO - 2025-01-27 02:37:00,692 - DEBUG - Response for create_network : {'network': {'id': '36f36b01-d5a5-4190-844b-7c265152313c', 'name': 'ctest-vn-72279470', 'tenant_id': 'b1b909aeec2646d2bbb4f018752505df', 'project_id': 'b1b909aeec2646d2bbb4f018752505df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-vn-72279470'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:37:00,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '8436d201-ac42-41fa-90e0-f10eefe7434f', 'name': '', 'tenant_id': 'b1b909aeec2646d2bbb4f018752505df', 'network_id': '36f36b01-d5a5-4190-844b-7c265152313c', 'ip_version': 4, 'cidr': '66.35.132.192/26', 'allocation_pools': [{'start': '66.35.132.194', 'end': '66.35.132.254'}], 'gateway_ip': '66.35.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.35.132.194', 'tags': [], 'project_id': 'b1b909aeec2646d2bbb4f018752505df'}} 2025-01-27 02:37:00,875 - INFO - Created VN ctest-vn-72279470 2025-01-27 02:37:00,931 - DEBUG - VN ctest-vn-72279470 UUID is 36f36b01-d5a5-4190-844b-7c265152313c 2025-01-27 02:37:01,250 - DEBUG - Response for create_network : {'network': {'id': '36d8fe87-80ed-48a7-8fed-6ca1fcf309b4', 'name': 'ctest-vn-82395375', 'tenant_id': 'b1b909aeec2646d2bbb4f018752505df', 'project_id': 'b1b909aeec2646d2bbb4f018752505df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-vn-82395375'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:37:01,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f710220f-497a-4225-9ffb-21e26e108067', 'name': '', 'tenant_id': 'b1b909aeec2646d2bbb4f018752505df', 'network_id': '36d8fe87-80ed-48a7-8fed-6ca1fcf309b4', 'ip_version': 4, 'cidr': '86.123.145.128/26', 'allocation_pools': [{'start': '86.123.145.130', 'end': '86.123.145.190'}], 'gateway_ip': '86.123.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.123.145.130', 'tags': [], 'project_id': 'b1b909aeec2646d2bbb4f018752505df'}} 2025-01-27 02:37:01,472 - INFO - Created VN ctest-vn-82395375 2025-01-27 02:37:01,523 - DEBUG - VN ctest-vn-82395375 UUID is 36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 2025-01-27 02:37:01,679 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-72279470, 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-56969722:ctest-vn-82395375, 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 02:37:01,977 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36f36b01-d5a5-4190-844b-7c265152313c', 'name': 'ctest-vn-72279470', 'tenant_id': 'b1b909aeec2646d2bbb4f018752505df', 'project_id': 'b1b909aeec2646d2bbb4f018752505df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8436d201-ac42-41fa-90e0-f10eefe7434f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-vn-72279470'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-policy-allow-all-90915127']], 'subnet_ipam': [{'subnet_cidr': '66.35.132.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:37:02,172 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36d8fe87-80ed-48a7-8fed-6ca1fcf309b4', 'name': 'ctest-vn-82395375', 'tenant_id': 'b1b909aeec2646d2bbb4f018752505df', 'project_id': 'b1b909aeec2646d2bbb4f018752505df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f710220f-497a-4225-9ffb-21e26e108067'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-vn-82395375'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-policy-allow-all-90915127']], 'subnet_ipam': [{'subnet_cidr': '86.123.145.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:37:02,319 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-27 02:37:02,636 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-27 02:37:02,670 - DEBUG - Requesting: http://10.0.0.28:8082/domain/e62501aa-9f5c-4649-8ee6-32e0d845289e 2025-01-27 02:37:02,684 - DEBUG - Requesting: http://10.0.0.28:8082/project/b1b909ae-ec26-46d2-bbb4-f018752505df 2025-01-27 02:37:02,759 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36f36b01-d5a5-4190-844b-7c265152313c 2025-01-27 02:37:02,770 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36f36b01-d5a5-4190-844b-7c265152313c 2025-01-27 02:37:02,780 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/0c908ce7-6592-475e-9405-bb96fb38fab4 2025-01-27 02:37:02,788 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/0c908ce7-6592-475e-9405-bb96fb38fab4 2025-01-27 02:37:02,795 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/cb4bc7cf-d64e-4a38-8996-ab30bc81a035 2025-01-27 02:37:02,802 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-27 02:37:02,802 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36f36b01-d5a5-4190-844b-7c265152313c 2025-01-27 02:37:02,811 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/0c908ce7-6592-475e-9405-bb96fb38fab4 2025-01-27 02:37:02,829 - INFO - Verified VN network id 7 for VN 36f36b01-d5a5-4190-844b-7c265152313c 2025-01-27 02:37:02,829 - INFO - Verifications in API Server for VN ctest-vn-72279470 passed 2025-01-27 02:37:02,829 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36f36b01-d5a5-4190-844b-7c265152313c 2025-01-27 02:37:02,841 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/0c908ce7-6592-475e-9405-bb96fb38fab4 2025-01-27 02:37:02,848 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/0c908ce7-6592-475e-9405-bb96fb38fab4 2025-01-27 02:37:02,855 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/cb4bc7cf-d64e-4a38-8996-ab30bc81a035 2025-01-27 02:37:02,868 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-72279470', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56969722', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3959626153012314512', 'uuid-lslong': '9532849540274729276'}, 'enable': 'true', 'created': '2025-01-27T02:37:00', 'last-modified': '2025-01-27T02:37:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915436'} 2025-01-27 02:37:02,875 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-27 02:37:02,875 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72279470 passed 2025-01-27 02:37:02,875 - DEBUG - ====Verifying policy data for ctest-vn-72279470 in API_Server ====== 2025-01-27 02:37:02,875 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-27 02:37:02,881 - DEBUG - Requesting: http://10.0.0.28:8082/domain/e62501aa-9f5c-4649-8ee6-32e0d845289e 2025-01-27 02:37:02,892 - DEBUG - Requesting: http://10.0.0.28:8082/project/b1b909ae-ec26-46d2-bbb4-f018752505df 2025-01-27 02:37:02,963 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36f36b01-d5a5-4190-844b-7c265152313c 2025-01-27 02:37:02,973 - DEBUG - ==>Verifying data for policy with id: 24a43992-7ee7-4615-9efe-624ce2d99d8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-policy-allow-all-90915127'] 2025-01-27 02:37:02,973 - INFO - VN ctest-vn-72279470 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-27 02:37:02,973 - DEBUG - Verifying the vn in opserver 2025-01-27 02:37:02,973 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-72279470 virtual network link through opserver 10.0.0.28 2025-01-27 02:37:02,973 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-27 02:37:03,266 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-27 02:37:03,320 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-72279470', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-72279470?flat'} 2025-01-27 02:37:03,320 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-72279470 is found in opserver 2025-01-27 02:37:03,331 - DEBUG - Do not have enough data to verify VN in agent 2025-01-27 02:37:03,336 - DEBUG - VRF ids for VN ctest-vn-72279470: {} 2025-01-27 02:37:03,336 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-27 02:37:03,341 - DEBUG - Requesting: http://10.0.0.28:8082/domain/e62501aa-9f5c-4649-8ee6-32e0d845289e 2025-01-27 02:37:03,352 - DEBUG - Requesting: http://10.0.0.28:8082/project/b1b909ae-ec26-46d2-bbb4-f018752505df 2025-01-27 02:37:03,426 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 2025-01-27 02:37:03,437 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 2025-01-27 02:37:03,446 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daff7069-b8a4-4284-8ac7-cdd8e9420a63 2025-01-27 02:37:03,453 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daff7069-b8a4-4284-8ac7-cdd8e9420a63 2025-01-27 02:37:03,460 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/7dd6b2d1-15c9-4d65-8126-4e09d4228d52 2025-01-27 02:37:03,466 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-27 02:37:03,466 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 2025-01-27 02:37:03,475 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daff7069-b8a4-4284-8ac7-cdd8e9420a63 2025-01-27 02:37:03,487 - INFO - Verified VN network id 8 for VN 36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 2025-01-27 02:37:03,488 - INFO - Verifications in API Server for VN ctest-vn-82395375 passed 2025-01-27 02:37:03,488 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 2025-01-27 02:37:03,497 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daff7069-b8a4-4284-8ac7-cdd8e9420a63 2025-01-27 02:37:03,504 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daff7069-b8a4-4284-8ac7-cdd8e9420a63 2025-01-27 02:37:03,511 - DEBUG - Requesting: http://10.0.0.28:8082/route-target/7dd6b2d1-15c9-4d65-8126-4e09d4228d52 2025-01-27 02:37:03,522 - DEBUG - Control-node 10.0.0.28 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-82395375', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56969722', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3952188530954684583', 'uuid-lslong': '10371064959893440948'}, 'enable': 'true', 'created': '2025-01-27T02:37:01', 'last-modified': '2025-01-27T02:37:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.374086'} 2025-01-27 02:37:03,528 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-27 02:37:03,528 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82395375 passed 2025-01-27 02:37:03,529 - DEBUG - ====Verifying policy data for ctest-vn-82395375 in API_Server ====== 2025-01-27 02:37:03,529 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-27 02:37:03,534 - DEBUG - Requesting: http://10.0.0.28:8082/domain/e62501aa-9f5c-4649-8ee6-32e0d845289e 2025-01-27 02:37:03,544 - DEBUG - Requesting: http://10.0.0.28:8082/project/b1b909ae-ec26-46d2-bbb4-f018752505df 2025-01-27 02:37:03,617 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-network/36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 2025-01-27 02:37:03,626 - DEBUG - ==>Verifying data for policy with id: 24a43992-7ee7-4615-9efe-624ce2d99d8a, fqn: ['default-domain', 'ctest-TestBasicPolicy-56969722', 'ctest-policy-allow-all-90915127'] 2025-01-27 02:37:03,626 - INFO - VN ctest-vn-82395375 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-27 02:37:03,627 - DEBUG - Verifying the vn in opserver 2025-01-27 02:37:03,627 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-82395375 virtual network link through opserver 10.0.0.28 2025-01-27 02:37:03,627 - DEBUG - Requesting: http://10.0.0.28:8081/analytics/uves/virtual-networks 2025-01-27 02:37:03,638 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-82395375', 'href': 'http://10.0.0.28:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-82395375?flat'} 2025-01-27 02:37:03,638 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-82395375 is found in opserver 2025-01-27 02:37:03,649 - DEBUG - Do not have enough data to verify VN in agent 2025-01-27 02:37:03,654 - DEBUG - VRF ids for VN ctest-vn-82395375: {} 2025-01-27 02:37:03,707 - DEBUG - Services list from nova: [, , ] 2025-01-27 02:37:04,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2664-1) 2025-01-27 02:37:05,963 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2664-1) 2025-01-27 02:37:05,963 - INFO - Waiting for VM ctest-TestBasicPolicy-56969722-39042154 to be up.. 2025-01-27 02:37:06,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-27 02:37:11,152 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:37:11,152 - INFO - VM name : ctest-TestBasicPolicy-56969722-39042154 2025-01-27 02:37:11,240 - DEBUG - VM ctest-TestBasicPolicy-56969722-39042154 ID is 66ac112b-0ce7-45e0-ba61-1faceaa99500 2025-01-27 02:37:11,262 - DEBUG - VM ctest-TestBasicPolicy-56969722-39042154 launched on Node cn-jenkins-deploy-platform-ansible-os-2664-1 2025-01-27 02:37:11,352 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/66ac112b-0ce7-45e0-ba61-1faceaa99500 2025-01-27 02:37:11,362 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/c874d053-69cf-4ae9-9a9e-0d18cd0d9988 2025-01-27 02:37:14,606 - 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 1006ms') 2025-01-27 02:37:14,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56969722-39042154 failed! 2025-01-27 02:37:14,659 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56969722:ctest-vn-72279470 is 66.35.132.193 and allocation pool is NOT set 2025-01-27 02:37:16,720 - 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=8.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.433 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.433/4.542/8.651/4.109 ms') 2025-01-27 02:37:16,720 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56969722-39042154 passed 2025-01-27 02:37:16,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:37:16,875 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56969722-39042154, IP 66.35.132.195, Port 22 2025-01-27 02:37:17,031 - DEBUG - VM ctest-TestBasicPolicy-56969722-39042154 is ready for SSH connections 2025-01-27 02:37:17,031 - INFO - Waiting for VM ctest-TestBasicPolicy-56969722-60803294 to be up.. 2025-01-27 02:37:17,112 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:37:17,112 - INFO - VM name : ctest-TestBasicPolicy-56969722-60803294 2025-01-27 02:37:17,192 - DEBUG - VM ctest-TestBasicPolicy-56969722-60803294 ID is 66bf4e7d-b18c-4cf0-96b0-5cd73032c592 2025-01-27 02:37:17,193 - DEBUG - VM ctest-TestBasicPolicy-56969722-60803294 launched on Node cn-jenkins-deploy-platform-ansible-os-2664-1 2025-01-27 02:37:17,274 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/66bf4e7d-b18c-4cf0-96b0-5cd73032c592 2025-01-27 02:37:17,285 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/8527c507-5557-413f-8e6f-9e3664ceb9ff 2025-01-27 02:37:18,524 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.846 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.846/2.163/3.480/1.317 ms') 2025-01-27 02:37:18,524 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56969722-60803294 passed 2025-01-27 02:37:18,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:37:18,675 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56969722-60803294, IP 86.123.145.131, Port 22 2025-01-27 02:37:18,831 - DEBUG - VM ctest-TestBasicPolicy-56969722-60803294 is ready for SSH connections 2025-01-27 02:37:18,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:37:18,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.123.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-27 02:37:18,832 - DEBUG - ping -s 56 -c 3 -W 1 86.123.145.131 2025-01-27 02:37:22,575 - DEBUG - PING 86.123.145.131 (86.123.145.131): 56 data bytes 64 bytes from 86.123.145.131: seq=0 ttl=63 time=3.862 ms 64 bytes from 86.123.145.131: seq=1 ttl=63 time=0.811 ms 64 bytes from 86.123.145.131: seq=2 ttl=63 time=0.829 ms --- 86.123.145.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/1.834/3.862 ms 2025-01-27 02:37:22,575 - INFO - Ping to IP 86.123.145.131 from VM ctest-TestBasicPolicy-56969722-39042154 passed 2025-01-27 02:37:22,758 - DEBUG - Policy Update Response {"network-policy": {"uuid": "24a43992-7ee7-4615-9efe-624ce2d99d8a", "href": "http://10.0.0.28:8082/network-policy/24a43992-7ee7-4615-9efe-624ce2d99d8a"}} 2025-01-27 02:37:22,759 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:37:22,759 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.123.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-27 02:37:22,759 - DEBUG - ping -s 56 -c 3 -W 1 86.123.145.131 2025-01-27 02:37:25,962 - DEBUG - PING 86.123.145.131 (86.123.145.131): 56 data bytes --- 86.123.145.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-27 02:37:25,963 - WARNING - Ping to IP 86.123.145.131 from VM ctest-TestBasicPolicy-56969722-39042154 failed 2025-01-27 02:37:25,963 - INFO - Deleting VM ctest-TestBasicPolicy-56969722-60803294 2025-01-27 02:37:26,031 - INFO - Deleting VM ctest-TestBasicPolicy-56969722-39042154 2025-01-27 02:37:26,406 - INFO - Deleted policy ctest-policy-allow-all-90915127 2025-01-27 02:37:26,406 - INFO - Deleting VN ctest-vn-82395375 2025-01-27 02:37:26,444 - DEBUG - VN 36d8fe87-80ed-48a7-8fed-6ca1fcf309b4 still in use: Unable to complete operation on network 36d8fe87-80ed-48a7-8fed-6ca1fcf309b4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-63da503e-c4b6-46f2-a25f-f7fcc0355c08'] 2025-01-27 02:37:26,444 - WARNING - Deleting VN ctest-vn-82395375 failed..Will retry 2025-01-27 02:37:28,538 - DEBUG - Response for deleting network () 2025-01-27 02:37:28,539 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/daff7069-b8a4-4284-8ac7-cdd8e9420a63 2025-01-27 02:37:28,544 - DEBUG - Response Code: 404 2025-01-27 02:37:28,544 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-27 02:37:28,549 - DEBUG - Requesting: http://10.0.0.28:8082/domain/e62501aa-9f5c-4649-8ee6-32e0d845289e 2025-01-27 02:37:28,604 - DEBUG - Requesting: http://10.0.0.28:8082/project/b1b909ae-ec26-46d2-bbb4-f018752505df 2025-01-27 02:37:28,678 - INFO - Validated that VN ctest-vn-82395375 is not found in API Server 2025-01-27 02:37:28,688 - DEBUG - VN ctest-vn-82395375 is not present in Agent 10.0.0.28 2025-01-27 02:37:28,688 - INFO - Validated that VN ctest-vn-82395375 is not in any agent 2025-01-27 02:37:28,702 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82395375 info 2025-01-27 02:37:28,703 - INFO - Deleting VN ctest-vn-72279470 2025-01-27 02:37:28,798 - DEBUG - Response for deleting network () 2025-01-27 02:37:28,798 - DEBUG - Requesting: http://10.0.0.28:8082/routing-instance/0c908ce7-6592-475e-9405-bb96fb38fab4 2025-01-27 02:37:28,804 - DEBUG - Response Code: 404 2025-01-27 02:37:28,804 - DEBUG - Requesting: http://10.0.0.28:8082/domains 2025-01-27 02:37:28,813 - DEBUG - Requesting: http://10.0.0.28:8082/domain/e62501aa-9f5c-4649-8ee6-32e0d845289e 2025-01-27 02:37:28,868 - DEBUG - Requesting: http://10.0.0.28:8082/project/b1b909ae-ec26-46d2-bbb4-f018752505df 2025-01-27 02:37:28,944 - INFO - Validated that VN ctest-vn-72279470 is not found in API Server 2025-01-27 02:37:28,954 - DEBUG - VN ctest-vn-72279470 is not present in Agent 10.0.0.28 2025-01-27 02:37:28,954 - INFO - Validated that VN ctest-vn-72279470 is not in any agent 2025-01-27 02:37:28,970 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72279470 info 2025-01-27 02:37:29,225 - DEBUG - No XMPP flaps were noticed during the test 2025-01-27 02:37:29,225 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-27 02:37:29,225 - INFO - -------------------------------------------------------------------------------- 2025-01-27 02:37:29,886 - INFO - Deleted project: ctest-TestBasicPolicy-56969722, ID : b1b909ae-ec26-46d2-bbb4-f018752505df