2025-01-14 08:36:55,155 - INFO - Domain Default found not creating 2025-01-14 08:36:55,957 - INFO - Project ctest-TestBasicPolicy-13068520 not found, creating it 2025-01-14 08:36:56,421 - INFO - Created Project:ctest-TestBasicPolicy-13068520, ID : e8457963-3478-4cde-97b4-591b1bbc723f 2025-01-14 08:36:57,894 - INFO - ================================================================================ 2025-01-14 08:36:57,894 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-14 08:36:57,894 - 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-14 08:36:58,152 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-01-14 08:36:58,152 - INFO - Initial checks done. Running the testcase now 2025-01-14 08:36:58,152 - INFO - 2025-01-14 08:36:58,753 - DEBUG - Response for create_network : {'network': {'id': '36b2d1b6-775e-41ec-9fa4-aa2652774567', 'name': 'ctest-vn-35143664', 'tenant_id': 'e845796334784cde97b4591b1bbc723f', 'project_id': 'e845796334784cde97b4591b1bbc723f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-vn-35143664'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:36:58,917 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ce880e4-5745-4cc7-99f3-59b739f3ddc2', 'name': '', 'tenant_id': 'e845796334784cde97b4591b1bbc723f', 'network_id': '36b2d1b6-775e-41ec-9fa4-aa2652774567', 'ip_version': 4, 'cidr': '112.15.218.192/26', 'allocation_pools': [{'start': '112.15.218.194', 'end': '112.15.218.254'}], 'gateway_ip': '112.15.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.15.218.194', 'tags': [], 'project_id': 'e845796334784cde97b4591b1bbc723f'}} 2025-01-14 08:36:58,936 - INFO - Created VN ctest-vn-35143664 2025-01-14 08:36:58,989 - DEBUG - VN ctest-vn-35143664 UUID is 36b2d1b6-775e-41ec-9fa4-aa2652774567 2025-01-14 08:36:59,327 - DEBUG - Response for create_network : {'network': {'id': '6e8291bc-e6d5-4e61-bf37-8b0b13a11150', 'name': 'ctest-vn-18273319', 'tenant_id': 'e845796334784cde97b4591b1bbc723f', 'project_id': 'e845796334784cde97b4591b1bbc723f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-vn-18273319'], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:36:59,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cb861aa-8712-4065-9163-89830b36bf1c', 'name': '', 'tenant_id': 'e845796334784cde97b4591b1bbc723f', 'network_id': '6e8291bc-e6d5-4e61-bf37-8b0b13a11150', 'ip_version': 4, 'cidr': '12.253.107.0/26', 'allocation_pools': [{'start': '12.253.107.2', 'end': '12.253.107.62'}], 'gateway_ip': '12.253.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.253.107.2', 'tags': [], 'project_id': 'e845796334784cde97b4591b1bbc723f'}} 2025-01-14 08:36:59,573 - INFO - Created VN ctest-vn-18273319 2025-01-14 08:36:59,625 - DEBUG - VN ctest-vn-18273319 UUID is 6e8291bc-e6d5-4e61-bf37-8b0b13a11150 2025-01-14 08:36:59,745 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-35143664, 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-13068520:ctest-vn-18273319, 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-14 08:37:00,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '36b2d1b6-775e-41ec-9fa4-aa2652774567', 'name': 'ctest-vn-35143664', 'tenant_id': 'e845796334784cde97b4591b1bbc723f', 'project_id': 'e845796334784cde97b4591b1bbc723f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ce880e4-5745-4cc7-99f3-59b739f3ddc2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-vn-35143664'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-policy-allow-all-10513805']], 'subnet_ipam': [{'subnet_cidr': '112.15.218.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:37:00,301 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e8291bc-e6d5-4e61-bf37-8b0b13a11150', 'name': 'ctest-vn-18273319', 'tenant_id': 'e845796334784cde97b4591b1bbc723f', 'project_id': 'e845796334784cde97b4591b1bbc723f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0cb861aa-8712-4065-9163-89830b36bf1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-vn-18273319'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-policy-allow-all-10513805']], 'subnet_ipam': [{'subnet_cidr': '12.253.107.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-14 08:37:00,461 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-01-14 08:37:00,786 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-01-14 08:37:00,823 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f88dec7-cf9e-4945-aeae-339a7fb7b6a8 2025-01-14 08:37:00,838 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8457963-3478-4cde-97b4-591b1bbc723f 2025-01-14 08:37:00,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36b2d1b6-775e-41ec-9fa4-aa2652774567 2025-01-14 08:37:00,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36b2d1b6-775e-41ec-9fa4-aa2652774567 2025-01-14 08:37:00,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/532b87c9-0be1-4f0d-80ca-4b6fcc2ba949 2025-01-14 08:37:00,952 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/532b87c9-0be1-4f0d-80ca-4b6fcc2ba949 2025-01-14 08:37:00,961 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8aab0a1c-c71b-4ddf-b83e-d770cd062fc1 2025-01-14 08:37:00,968 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 08:37:00,968 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36b2d1b6-775e-41ec-9fa4-aa2652774567 2025-01-14 08:37:00,981 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/532b87c9-0be1-4f0d-80ca-4b6fcc2ba949 2025-01-14 08:37:01,003 - INFO - Verified VN network id 8 for VN 36b2d1b6-775e-41ec-9fa4-aa2652774567 2025-01-14 08:37:01,003 - INFO - Verifications in API Server for VN ctest-vn-35143664 passed 2025-01-14 08:37:01,003 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36b2d1b6-775e-41ec-9fa4-aa2652774567 2025-01-14 08:37:01,016 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/532b87c9-0be1-4f0d-80ca-4b6fcc2ba949 2025-01-14 08:37:01,023 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/532b87c9-0be1-4f0d-80ca-4b6fcc2ba949 2025-01-14 08:37:01,031 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8aab0a1c-c71b-4ddf-b83e-d770cd062fc1 2025-01-14 08:37:01,046 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-35143664', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13068520', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3941443205519524332', 'uuid-lslong': '11503506429780116839'}, 'enable': 'true', 'created': '2025-01-14T08:36:58', 'last-modified': '2025-01-14T08:37:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.022012'} 2025-01-14 08:37:01,053 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-14 08:37:01,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35143664 passed 2025-01-14 08:37:01,053 - DEBUG - ====Verifying policy data for ctest-vn-35143664 in API_Server ====== 2025-01-14 08:37:01,053 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-01-14 08:37:01,061 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f88dec7-cf9e-4945-aeae-339a7fb7b6a8 2025-01-14 08:37:01,073 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8457963-3478-4cde-97b4-591b1bbc723f 2025-01-14 08:37:01,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/36b2d1b6-775e-41ec-9fa4-aa2652774567 2025-01-14 08:37:01,158 - DEBUG - ==>Verifying data for policy with id: 00c91d51-119f-4826-88ad-eb8d39a0f45d, fqn: ['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-policy-allow-all-10513805'] 2025-01-14 08:37:01,158 - INFO - VN ctest-vn-35143664 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 08:37:01,158 - DEBUG - Verifying the vn in opserver 2025-01-14 08:37:01,158 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-35143664 virtual network link through opserver 10.0.0.38 2025-01-14 08:37:01,158 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-01-14 08:37:01,451 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-01-14 08:37:01,509 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-35143664', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-35143664?flat'} 2025-01-14 08:37:01,509 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-35143664 is found in opserver 2025-01-14 08:37:01,521 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 08:37:01,527 - DEBUG - VRF ids for VN ctest-vn-35143664: {} 2025-01-14 08:37:01,527 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-01-14 08:37:01,533 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f88dec7-cf9e-4945-aeae-339a7fb7b6a8 2025-01-14 08:37:01,547 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8457963-3478-4cde-97b4-591b1bbc723f 2025-01-14 08:37:01,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e8291bc-e6d5-4e61-bf37-8b0b13a11150 2025-01-14 08:37:01,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e8291bc-e6d5-4e61-bf37-8b0b13a11150 2025-01-14 08:37:01,651 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84f705e4-82fa-4e43-9a12-db35854748f1 2025-01-14 08:37:01,661 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84f705e4-82fa-4e43-9a12-db35854748f1 2025-01-14 08:37:01,670 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e7a070a5-b2d8-483f-afcf-8eda73b3d4e4 2025-01-14 08:37:01,677 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 08:37:01,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e8291bc-e6d5-4e61-bf37-8b0b13a11150 2025-01-14 08:37:01,688 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84f705e4-82fa-4e43-9a12-db35854748f1 2025-01-14 08:37:01,705 - INFO - Verified VN network id 9 for VN 6e8291bc-e6d5-4e61-bf37-8b0b13a11150 2025-01-14 08:37:01,705 - INFO - Verifications in API Server for VN ctest-vn-18273319 passed 2025-01-14 08:37:01,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e8291bc-e6d5-4e61-bf37-8b0b13a11150 2025-01-14 08:37:01,716 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84f705e4-82fa-4e43-9a12-db35854748f1 2025-01-14 08:37:01,725 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84f705e4-82fa-4e43-9a12-db35854748f1 2025-01-14 08:37:01,734 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e7a070a5-b2d8-483f-afcf-8eda73b3d4e4 2025-01-14 08:37:01,749 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-18273319', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13068520', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7963087331657076321', 'uuid-lslong': '13778634464653545808'}, 'enable': 'true', 'created': '2025-01-14T08:36:59', 'last-modified': '2025-01-14T08:37:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476549'} 2025-01-14 08:37:01,756 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-14 08:37:01,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18273319 passed 2025-01-14 08:37:01,756 - DEBUG - ====Verifying policy data for ctest-vn-18273319 in API_Server ====== 2025-01-14 08:37:01,756 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-01-14 08:37:01,762 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f88dec7-cf9e-4945-aeae-339a7fb7b6a8 2025-01-14 08:37:01,777 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8457963-3478-4cde-97b4-591b1bbc723f 2025-01-14 08:37:01,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e8291bc-e6d5-4e61-bf37-8b0b13a11150 2025-01-14 08:37:01,862 - DEBUG - ==>Verifying data for policy with id: 00c91d51-119f-4826-88ad-eb8d39a0f45d, fqn: ['default-domain', 'ctest-TestBasicPolicy-13068520', 'ctest-policy-allow-all-10513805'] 2025-01-14 08:37:01,862 - INFO - VN ctest-vn-18273319 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-14 08:37:01,862 - DEBUG - Verifying the vn in opserver 2025-01-14 08:37:01,862 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-18273319 virtual network link through opserver 10.0.0.38 2025-01-14 08:37:01,862 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-01-14 08:37:01,874 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-18273319', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-18273319?flat'} 2025-01-14 08:37:01,875 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-18273319 is found in opserver 2025-01-14 08:37:01,887 - DEBUG - Do not have enough data to verify VN in agent 2025-01-14 08:37:01,892 - DEBUG - VRF ids for VN ctest-vn-18273319: {} 2025-01-14 08:37:01,956 - DEBUG - Services list from nova: [, , ] 2025-01-14 08:37:02,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2621-1) 2025-01-14 08:37:04,277 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2621-1) 2025-01-14 08:37:04,277 - INFO - Waiting for VM ctest-TestBasicPolicy-13068520-12948575 to be up.. 2025-01-14 08:37:04,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-14 08:37:09,454 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:37:09,454 - INFO - VM name : ctest-TestBasicPolicy-13068520-12948575 2025-01-14 08:37:09,549 - DEBUG - VM ctest-TestBasicPolicy-13068520-12948575 ID is b8f3c504-3c24-4b86-8323-08a00ab0944b 2025-01-14 08:37:09,570 - DEBUG - VM ctest-TestBasicPolicy-13068520-12948575 launched on Node cn-jenkins-deploy-platform-ansible-os-2621-1 2025-01-14 08:37:09,653 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b8f3c504-3c24-4b86-8323-08a00ab0944b 2025-01-14 08:37:09,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/df48bebb-3bd8-4336-b476-a983c0896614 2025-01-14 08:37:12,951 - 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 1034ms') 2025-01-14 08:37:12,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13068520-12948575 failed! 2025-01-14 08:37:13,009 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13068520:ctest-vn-35143664 is 112.15.218.193 and allocation pool is NOT set 2025-01-14 08:37:15,070 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.624 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.624/5.471/10.318/4.847 ms') 2025-01-14 08:37:15,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13068520-12948575 passed 2025-01-14 08:37:15,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:37:15,230 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13068520-12948575, IP 112.15.218.195, Port 22 2025-01-14 08:37:15,388 - DEBUG - VM ctest-TestBasicPolicy-13068520-12948575 is ready for SSH connections 2025-01-14 08:37:15,388 - INFO - Waiting for VM ctest-TestBasicPolicy-13068520-27359582 to be up.. 2025-01-14 08:37:15,473 - DEBUG - VM is in ACTIVE state now 2025-01-14 08:37:15,474 - INFO - VM name : ctest-TestBasicPolicy-13068520-27359582 2025-01-14 08:37:15,565 - DEBUG - VM ctest-TestBasicPolicy-13068520-27359582 ID is 0d2b9cc3-efc5-4bc7-bec8-c2053c655ff4 2025-01-14 08:37:15,565 - DEBUG - VM ctest-TestBasicPolicy-13068520-27359582 launched on Node cn-jenkins-deploy-platform-ansible-os-2621-1 2025-01-14 08:37:15,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0d2b9cc3-efc5-4bc7-bec8-c2053c655ff4 2025-01-14 08:37:15,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fd4a71de-fcb9-46c5-8a3a-dd1894e464ef 2025-01-14 08:37:16,903 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/2.186/3.878/1.691 ms') 2025-01-14 08:37:16,903 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13068520-27359582 passed 2025-01-14 08:37:17,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:37:17,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13068520-27359582, IP 12.253.107.3, Port 22 2025-01-14 08:37:17,227 - DEBUG - VM ctest-TestBasicPolicy-13068520-27359582 is ready for SSH connections 2025-01-14 08:37:17,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:37:17,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.253.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-01-14 08:37:17,227 - DEBUG - ping -s 56 -c 3 -W 1 12.253.107.3 2025-01-14 08:37:20,911 - DEBUG - PING 12.253.107.3 (12.253.107.3): 56 data bytes 64 bytes from 12.253.107.3: seq=0 ttl=63 time=3.642 ms 64 bytes from 12.253.107.3: seq=1 ttl=63 time=0.821 ms 64 bytes from 12.253.107.3: seq=2 ttl=63 time=1.177 ms --- 12.253.107.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.821/1.880/3.642 ms 2025-01-14 08:37:20,911 - INFO - Ping to IP 12.253.107.3 from VM ctest-TestBasicPolicy-13068520-12948575 passed 2025-01-14 08:37:21,101 - DEBUG - Policy Update Response {"network-policy": {"uuid": "00c91d51-119f-4826-88ad-eb8d39a0f45d", "href": "http://10.0.0.38:8082/network-policy/00c91d51-119f-4826-88ad-eb8d39a0f45d"}} 2025-01-14 08:37:21,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-14 08:37:21,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.253.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-01-14 08:37:21,102 - DEBUG - ping -s 56 -c 3 -W 1 12.253.107.3 2025-01-14 08:37:24,310 - DEBUG - PING 12.253.107.3 (12.253.107.3): 56 data bytes --- 12.253.107.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-14 08:37:24,311 - WARNING - Ping to IP 12.253.107.3 from VM ctest-TestBasicPolicy-13068520-12948575 failed 2025-01-14 08:37:24,311 - INFO - Deleting VM ctest-TestBasicPolicy-13068520-27359582 2025-01-14 08:37:24,381 - INFO - Deleting VM ctest-TestBasicPolicy-13068520-12948575 2025-01-14 08:37:24,797 - INFO - Deleted policy ctest-policy-allow-all-10513805 2025-01-14 08:37:24,797 - INFO - Deleting VN ctest-vn-18273319 2025-01-14 08:37:24,837 - DEBUG - VN 6e8291bc-e6d5-4e61-bf37-8b0b13a11150 still in use: Unable to complete operation on network 6e8291bc-e6d5-4e61-bf37-8b0b13a11150. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3cd3eec-4fe8-49a5-a43e-3724d43019ab'] 2025-01-14 08:37:24,837 - WARNING - Deleting VN ctest-vn-18273319 failed..Will retry 2025-01-14 08:37:26,947 - DEBUG - Response for deleting network () 2025-01-14 08:37:26,947 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/84f705e4-82fa-4e43-9a12-db35854748f1 2025-01-14 08:37:26,955 - DEBUG - Response Code: 404 2025-01-14 08:37:26,955 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-01-14 08:37:26,961 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f88dec7-cf9e-4945-aeae-339a7fb7b6a8 2025-01-14 08:37:27,015 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8457963-3478-4cde-97b4-591b1bbc723f 2025-01-14 08:37:27,089 - INFO - Validated that VN ctest-vn-18273319 is not found in API Server 2025-01-14 08:37:27,101 - DEBUG - VN ctest-vn-18273319 is not present in Agent 10.0.0.38 2025-01-14 08:37:27,101 - INFO - Validated that VN ctest-vn-18273319 is not in any agent 2025-01-14 08:37:27,120 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18273319 info 2025-01-14 08:37:27,120 - INFO - Deleting VN ctest-vn-35143664 2025-01-14 08:37:27,240 - DEBUG - Response for deleting network () 2025-01-14 08:37:27,241 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/532b87c9-0be1-4f0d-80ca-4b6fcc2ba949 2025-01-14 08:37:27,248 - DEBUG - Response Code: 404 2025-01-14 08:37:27,249 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-01-14 08:37:27,255 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f88dec7-cf9e-4945-aeae-339a7fb7b6a8 2025-01-14 08:37:27,311 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8457963-3478-4cde-97b4-591b1bbc723f 2025-01-14 08:37:27,389 - INFO - Validated that VN ctest-vn-35143664 is not found in API Server 2025-01-14 08:37:27,403 - DEBUG - VN ctest-vn-35143664 is not present in Agent 10.0.0.38 2025-01-14 08:37:27,403 - INFO - Validated that VN ctest-vn-35143664 is not in any agent 2025-01-14 08:37:27,422 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35143664 info 2025-01-14 08:37:27,679 - DEBUG - No XMPP flaps were noticed during the test 2025-01-14 08:37:27,679 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-14 08:37:27,679 - INFO - -------------------------------------------------------------------------------- 2025-01-14 08:37:28,374 - INFO - Deleted project: ctest-TestBasicPolicy-13068520, ID : e8457963-3478-4cde-97b4-591b1bbc723f