2025-01-08 22:11:19,743 - INFO - Domain Default found not creating 2025-01-08 22:11:19,901 - INFO - Project ctest-TestBasicPolicy-93782663 not found, creating it 2025-01-08 22:11:20,400 - INFO - Created Project:ctest-TestBasicPolicy-93782663, ID : 1984219c-6c08-4be4-836b-b968c46da433 2025-01-08 22:11:21,845 - INFO - ================================================================================ 2025-01-08 22:11:21,845 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-08 22:11:21,845 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-01-08 22:11:22,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.22': '0'}} with 2025-01-08 22:11:22,099 - INFO - Initial checks done. Running the testcase now 2025-01-08 22:11:22,099 - INFO - 2025-01-08 22:11:22,658 - DEBUG - Response for create_network : {'network': {'id': 'b9f9c94f-7aa5-459b-af98-5e3dae620ab1', 'name': 'ctest-vn-10446090', 'tenant_id': '1984219c6c084be4836bb968c46da433', 'project_id': '1984219c6c084be4836bb968c46da433', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-vn-10446090'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 22:11:22,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '8dca28c3-e927-4c87-94a6-97200ed4972d', 'name': '', 'tenant_id': '1984219c6c084be4836bb968c46da433', 'network_id': 'b9f9c94f-7aa5-459b-af98-5e3dae620ab1', 'ip_version': 4, 'cidr': '112.62.64.128/26', 'allocation_pools': [{'start': '112.62.64.130', 'end': '112.62.64.190'}], 'gateway_ip': '112.62.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.62.64.130', 'tags': [], 'project_id': '1984219c6c084be4836bb968c46da433'}} 2025-01-08 22:11:22,863 - INFO - Created VN ctest-vn-10446090 2025-01-08 22:11:22,916 - DEBUG - VN ctest-vn-10446090 UUID is b9f9c94f-7aa5-459b-af98-5e3dae620ab1 2025-01-08 22:11:23,225 - DEBUG - Response for create_network : {'network': {'id': '6d357b64-0794-4aa5-8584-b780e8e28454', 'name': 'ctest-vn-35828845', 'tenant_id': '1984219c6c084be4836bb968c46da433', 'project_id': '1984219c6c084be4836bb968c46da433', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-vn-35828845'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 22:11:23,429 - DEBUG - Response for create_subnet : {'subnet': {'id': '56dc3729-89f9-422e-858f-4c5c7de6310a', 'name': '', 'tenant_id': '1984219c6c084be4836bb968c46da433', 'network_id': '6d357b64-0794-4aa5-8584-b780e8e28454', 'ip_version': 4, 'cidr': '160.226.196.64/26', 'allocation_pools': [{'start': '160.226.196.66', 'end': '160.226.196.126'}], 'gateway_ip': '160.226.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.226.196.66', 'tags': [], 'project_id': '1984219c6c084be4836bb968c46da433'}} 2025-01-08 22:11:23,449 - INFO - Created VN ctest-vn-35828845 2025-01-08 22:11:23,504 - DEBUG - VN ctest-vn-35828845 UUID is 6d357b64-0794-4aa5-8584-b780e8e28454 2025-01-08 22:11:23,633 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-10446090, 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-93782663:ctest-vn-35828845, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-01-08 22:11:23,939 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b9f9c94f-7aa5-459b-af98-5e3dae620ab1', 'name': 'ctest-vn-10446090', 'tenant_id': '1984219c6c084be4836bb968c46da433', 'project_id': '1984219c6c084be4836bb968c46da433', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8dca28c3-e927-4c87-94a6-97200ed4972d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-vn-10446090'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-policy-allow-all-49043705']], 'subnet_ipam': [{'subnet_cidr': '112.62.64.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 22:11:24,167 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d357b64-0794-4aa5-8584-b780e8e28454', 'name': 'ctest-vn-35828845', 'tenant_id': '1984219c6c084be4836bb968c46da433', 'project_id': '1984219c6c084be4836bb968c46da433', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56dc3729-89f9-422e-858f-4c5c7de6310a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-vn-35828845'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-policy-allow-all-49043705']], 'subnet_ipam': [{'subnet_cidr': '160.226.196.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-08 22:11:24,340 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 22:11:24,633 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 22:11:24,661 - DEBUG - Requesting: http://10.0.0.41:8082/domain/da76ebc5-fa76-4a9f-b6c1-7d12e152ace9 2025-01-08 22:11:24,675 - DEBUG - Requesting: http://10.0.0.41:8082/project/1984219c-6c08-4be4-836b-b968c46da433 2025-01-08 22:11:24,751 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b9f9c94f-7aa5-459b-af98-5e3dae620ab1 2025-01-08 22:11:24,765 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b9f9c94f-7aa5-459b-af98-5e3dae620ab1 2025-01-08 22:11:24,775 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/05390723-aa97-4833-ab3d-7fb517abde50 2025-01-08 22:11:24,784 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/05390723-aa97-4833-ab3d-7fb517abde50 2025-01-08 22:11:24,793 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b6e6dc56-e838-4499-9f23-65ea258fe899 2025-01-08 22:11:24,801 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 22:11:24,801 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b9f9c94f-7aa5-459b-af98-5e3dae620ab1 2025-01-08 22:11:24,811 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/05390723-aa97-4833-ab3d-7fb517abde50 2025-01-08 22:11:24,827 - INFO - Verified VN network id 7 for VN b9f9c94f-7aa5-459b-af98-5e3dae620ab1 2025-01-08 22:11:24,827 - INFO - Verifications in API Server for VN ctest-vn-10446090 passed 2025-01-08 22:11:24,827 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b9f9c94f-7aa5-459b-af98-5e3dae620ab1 2025-01-08 22:11:24,838 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/05390723-aa97-4833-ab3d-7fb517abde50 2025-01-08 22:11:24,846 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/05390723-aa97-4833-ab3d-7fb517abde50 2025-01-08 22:11:24,854 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b6e6dc56-e838-4499-9f23-65ea258fe899 2025-01-08 22:11:24,867 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-10446090', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93782663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13400963509414872475', 'uuid-lslong': '12652966772109085361'}, 'enable': 'true', 'created': '2025-01-08T22:11:22', 'last-modified': '2025-01-08T22:11:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959574'} 2025-01-08 22:11:24,873 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-08 22:11:24,873 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10446090 passed 2025-01-08 22:11:24,874 - DEBUG - ====Verifying policy data for ctest-vn-10446090 in API_Server ====== 2025-01-08 22:11:24,874 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 22:11:24,880 - DEBUG - Requesting: http://10.0.0.41:8082/domain/da76ebc5-fa76-4a9f-b6c1-7d12e152ace9 2025-01-08 22:11:24,892 - DEBUG - Requesting: http://10.0.0.41:8082/project/1984219c-6c08-4be4-836b-b968c46da433 2025-01-08 22:11:24,965 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/b9f9c94f-7aa5-459b-af98-5e3dae620ab1 2025-01-08 22:11:24,975 - DEBUG - ==>Verifying data for policy with id: be4193ba-20a8-47a7-a5c9-bfd28f1a8446, fqn: ['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-policy-allow-all-49043705'] 2025-01-08 22:11:24,976 - INFO - VN ctest-vn-10446090 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 22:11:24,976 - DEBUG - Verifying the vn in opserver 2025-01-08 22:11:24,976 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-10446090 virtual network link through opserver 10.0.0.41 2025-01-08 22:11:24,976 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-08 22:11:25,269 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-08 22:11:25,327 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-10446090', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-10446090?flat'} 2025-01-08 22:11:25,327 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-10446090 is found in opserver 2025-01-08 22:11:25,339 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 22:11:25,344 - DEBUG - VRF ids for VN ctest-vn-10446090: {} 2025-01-08 22:11:25,344 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 22:11:25,350 - DEBUG - Requesting: http://10.0.0.41:8082/domain/da76ebc5-fa76-4a9f-b6c1-7d12e152ace9 2025-01-08 22:11:25,361 - DEBUG - Requesting: http://10.0.0.41:8082/project/1984219c-6c08-4be4-836b-b968c46da433 2025-01-08 22:11:25,438 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6d357b64-0794-4aa5-8584-b780e8e28454 2025-01-08 22:11:25,450 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6d357b64-0794-4aa5-8584-b780e8e28454 2025-01-08 22:11:25,460 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b0395076-c519-4609-867b-8bc51e190e3f 2025-01-08 22:11:25,468 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b0395076-c519-4609-867b-8bc51e190e3f 2025-01-08 22:11:25,475 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/68f3c812-b523-4134-b348-37e6f8779c07 2025-01-08 22:11:25,483 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 22:11:25,483 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6d357b64-0794-4aa5-8584-b780e8e28454 2025-01-08 22:11:25,494 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b0395076-c519-4609-867b-8bc51e190e3f 2025-01-08 22:11:25,509 - INFO - Verified VN network id 8 for VN 6d357b64-0794-4aa5-8584-b780e8e28454 2025-01-08 22:11:25,509 - INFO - Verifications in API Server for VN ctest-vn-35828845 passed 2025-01-08 22:11:25,509 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6d357b64-0794-4aa5-8584-b780e8e28454 2025-01-08 22:11:25,519 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b0395076-c519-4609-867b-8bc51e190e3f 2025-01-08 22:11:25,528 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b0395076-c519-4609-867b-8bc51e190e3f 2025-01-08 22:11:25,538 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/68f3c812-b523-4134-b348-37e6f8779c07 2025-01-08 22:11:25,550 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-35828845', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93782663', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7869331593453914789', 'uuid-lslong': '9621016468261078100'}, 'enable': 'true', 'created': '2025-01-08T22:11:23', 'last-modified': '2025-01-08T22:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403830'} 2025-01-08 22:11:25,557 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-08 22:11:25,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35828845 passed 2025-01-08 22:11:25,557 - DEBUG - ====Verifying policy data for ctest-vn-35828845 in API_Server ====== 2025-01-08 22:11:25,557 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 22:11:25,565 - DEBUG - Requesting: http://10.0.0.41:8082/domain/da76ebc5-fa76-4a9f-b6c1-7d12e152ace9 2025-01-08 22:11:25,581 - DEBUG - Requesting: http://10.0.0.41:8082/project/1984219c-6c08-4be4-836b-b968c46da433 2025-01-08 22:11:25,649 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/6d357b64-0794-4aa5-8584-b780e8e28454 2025-01-08 22:11:25,659 - DEBUG - ==>Verifying data for policy with id: be4193ba-20a8-47a7-a5c9-bfd28f1a8446, fqn: ['default-domain', 'ctest-TestBasicPolicy-93782663', 'ctest-policy-allow-all-49043705'] 2025-01-08 22:11:25,659 - INFO - VN ctest-vn-35828845 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-08 22:11:25,660 - DEBUG - Verifying the vn in opserver 2025-01-08 22:11:25,660 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-35828845 virtual network link through opserver 10.0.0.41 2025-01-08 22:11:25,660 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-01-08 22:11:25,671 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-35828845', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-35828845?flat'} 2025-01-08 22:11:25,671 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-35828845 is found in opserver 2025-01-08 22:11:25,682 - DEBUG - Do not have enough data to verify VN in agent 2025-01-08 22:11:25,688 - DEBUG - VRF ids for VN ctest-vn-35828845: {} 2025-01-08 22:11:25,752 - DEBUG - Services list from nova: [, , ] 2025-01-08 22:11:26,884 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2570-1) 2025-01-08 22:11:28,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2570-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2570-1) 2025-01-08 22:11:28,090 - INFO - Waiting for VM ctest-TestBasicPolicy-93782663-77612591 to be up.. 2025-01-08 22:11:28,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 22:11:33,253 - DEBUG - VM is in ACTIVE state now 2025-01-08 22:11:33,253 - INFO - VM name : ctest-TestBasicPolicy-93782663-77612591 2025-01-08 22:11:33,338 - DEBUG - VM ctest-TestBasicPolicy-93782663-77612591 ID is 2158b2e8-3f29-4c79-903e-f37ece1c57b1 2025-01-08 22:11:33,359 - DEBUG - VM ctest-TestBasicPolicy-93782663-77612591 launched on Node cn-jenkins-deploy-platform-ansible-os-2570-1 2025-01-08 22:11:33,441 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2158b2e8-3f29-4c79-903e-f37ece1c57b1 2025-01-08 22:11:33,453 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/19eda485-394c-44c4-a290-250bcbd29b91 2025-01-08 22:11:36,717 - 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 1023ms') 2025-01-08 22:11:36,717 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93782663-77612591 failed! 2025-01-08 22:11:36,772 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93782663:ctest-vn-10446090 is 112.62.64.129 and allocation pool is NOT set 2025-01-08 22:11:38,834 - 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=5.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.892 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.892/3.256/5.620/2.364 ms') 2025-01-08 22:11:38,834 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93782663-77612591 passed 2025-01-08 22:11:38,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 22:11:38,985 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93782663-77612591, IP 112.62.64.131, Port 22 2025-01-08 22:11:39,140 - DEBUG - VM ctest-TestBasicPolicy-93782663-77612591 is ready for SSH connections 2025-01-08 22:11:39,140 - INFO - Waiting for VM ctest-TestBasicPolicy-93782663-67983195 to be up.. 2025-01-08 22:11:39,217 - DEBUG - VM is in ACTIVE state now 2025-01-08 22:11:39,218 - INFO - VM name : ctest-TestBasicPolicy-93782663-67983195 2025-01-08 22:11:39,313 - DEBUG - VM ctest-TestBasicPolicy-93782663-67983195 ID is 6a5aab88-6eaf-4fe6-9278-0313151eac03 2025-01-08 22:11:39,314 - DEBUG - VM ctest-TestBasicPolicy-93782663-67983195 launched on Node cn-jenkins-deploy-platform-ansible-os-2570-1 2025-01-08 22:11:39,390 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6a5aab88-6eaf-4fe6-9278-0313151eac03 2025-01-08 22:11:39,399 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a1bdc03a-93c0-4938-ba1f-2de8c820af43 2025-01-08 22:11:40,639 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 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.408/2.041/3.674/1.633 ms') 2025-01-08 22:11:40,640 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93782663-67983195 passed 2025-01-08 22:11:40,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 22:11:40,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93782663-67983195, IP 160.226.196.67, Port 22 2025-01-08 22:11:40,960 - DEBUG - VM ctest-TestBasicPolicy-93782663-67983195 is ready for SSH connections 2025-01-08 22:11:40,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 22:11:40,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.226.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-08 22:11:40,961 - DEBUG - ping -s 56 -c 3 -W 1 160.226.196.67 2025-01-08 22:11:44,649 - DEBUG - PING 160.226.196.67 (160.226.196.67): 56 data bytes 64 bytes from 160.226.196.67: seq=0 ttl=63 time=3.808 ms 64 bytes from 160.226.196.67: seq=1 ttl=63 time=0.773 ms 64 bytes from 160.226.196.67: seq=2 ttl=63 time=1.126 ms --- 160.226.196.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.773/1.902/3.808 ms 2025-01-08 22:11:44,649 - INFO - Ping to IP 160.226.196.67 from VM ctest-TestBasicPolicy-93782663-77612591 passed 2025-01-08 22:11:44,820 - DEBUG - Policy Update Response {"network-policy": {"uuid": "be4193ba-20a8-47a7-a5c9-bfd28f1a8446", "href": "http://10.0.0.41:8082/network-policy/be4193ba-20a8-47a7-a5c9-bfd28f1a8446"}} 2025-01-08 22:11:44,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 22:11:44,820 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.226.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-01-08 22:11:44,821 - DEBUG - ping -s 56 -c 3 -W 1 160.226.196.67 2025-01-08 22:11:48,035 - DEBUG - PING 160.226.196.67 (160.226.196.67): 56 data bytes 64 bytes from 160.226.196.67: seq=0 ttl=63 time=1.589 ms --- 160.226.196.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.589/1.589/1.589 ms 2025-01-08 22:11:48,035 - WARNING - Ping to IP 160.226.196.67 from VM ctest-TestBasicPolicy-93782663-77612591 failed 2025-01-08 22:11:48,035 - INFO - Deleting VM ctest-TestBasicPolicy-93782663-67983195 2025-01-08 22:11:48,103 - INFO - Deleting VM ctest-TestBasicPolicy-93782663-77612591 2025-01-08 22:11:48,495 - INFO - Deleted policy ctest-policy-allow-all-49043705 2025-01-08 22:11:48,496 - INFO - Deleting VN ctest-vn-35828845 2025-01-08 22:11:48,536 - DEBUG - VN 6d357b64-0794-4aa5-8584-b780e8e28454 still in use: Unable to complete operation on network 6d357b64-0794-4aa5-8584-b780e8e28454. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3905b023-a8cf-42d1-903b-f3a013701643'] 2025-01-08 22:11:48,536 - WARNING - Deleting VN ctest-vn-35828845 failed..Will retry 2025-01-08 22:11:50,642 - DEBUG - Response for deleting network () 2025-01-08 22:11:50,642 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b0395076-c519-4609-867b-8bc51e190e3f 2025-01-08 22:11:50,648 - DEBUG - Response Code: 404 2025-01-08 22:11:50,648 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 22:11:50,654 - DEBUG - Requesting: http://10.0.0.41:8082/domain/da76ebc5-fa76-4a9f-b6c1-7d12e152ace9 2025-01-08 22:11:50,714 - DEBUG - Requesting: http://10.0.0.41:8082/project/1984219c-6c08-4be4-836b-b968c46da433 2025-01-08 22:11:50,796 - INFO - Validated that VN ctest-vn-35828845 is not found in API Server 2025-01-08 22:11:50,807 - DEBUG - VN ctest-vn-35828845 is not present in Agent 10.0.0.41 2025-01-08 22:11:50,807 - INFO - Validated that VN ctest-vn-35828845 is not in any agent 2025-01-08 22:11:50,824 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35828845 info 2025-01-08 22:11:50,824 - INFO - Deleting VN ctest-vn-10446090 2025-01-08 22:11:50,935 - DEBUG - Response for deleting network () 2025-01-08 22:11:50,935 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/05390723-aa97-4833-ab3d-7fb517abde50 2025-01-08 22:11:50,948 - DEBUG - Response Code: 404 2025-01-08 22:11:50,948 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-01-08 22:11:50,955 - DEBUG - Requesting: http://10.0.0.41:8082/domain/da76ebc5-fa76-4a9f-b6c1-7d12e152ace9 2025-01-08 22:11:51,014 - DEBUG - Requesting: http://10.0.0.41:8082/project/1984219c-6c08-4be4-836b-b968c46da433 2025-01-08 22:11:51,087 - INFO - Validated that VN ctest-vn-10446090 is not found in API Server 2025-01-08 22:11:51,098 - DEBUG - VN ctest-vn-10446090 is not present in Agent 10.0.0.41 2025-01-08 22:11:51,098 - INFO - Validated that VN ctest-vn-10446090 is not in any agent 2025-01-08 22:11:51,114 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-10446090 info 2025-01-08 22:11:51,372 - DEBUG - No XMPP flaps were noticed during the test
2025-01-08 22:11:51,372 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-01-08 22:11:51,372 - INFO - -------------------------------------------------------------------------------- 2025-01-08 22:11:52,081 - INFO - Deleted project: ctest-TestBasicPolicy-93782663, ID : 1984219c-6c08-4be4-836b-b968c46da433