2025-04-15 18:12:47,300 - INFO - Domain Default found not creating 2025-04-15 18:12:47,442 - INFO - Project ctest-TestBasicPolicy-11855577 not found, creating it 2025-04-15 18:12:47,904 - INFO - Created Project:ctest-TestBasicPolicy-11855577, ID : 0e52831d-fd1e-45ab-834e-ab0d57d6d615 2025-04-15 18:12:49,453 - INFO - ================================================================================ 2025-04-15 18:12:49,453 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-15 18:12:49,453 - 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-04-15 18:12:49,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-15 18:12:49,718 - INFO - Initial checks done. Running the testcase now 2025-04-15 18:12:49,718 - INFO - 2025-04-15 18:12:50,339 - DEBUG - Response for create_network : {'network': {'id': '0645bb61-8346-4deb-ab20-3179de9e6aea', 'name': 'ctest-vn-92297036', 'tenant_id': '0e52831dfd1e45ab834eab0d57d6d615', 'project_id': '0e52831dfd1e45ab834eab0d57d6d615', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-vn-92297036'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 18:12:50,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '799bcedc-28f0-4458-97de-d9e7f218b719', 'name': '', 'tenant_id': '0e52831dfd1e45ab834eab0d57d6d615', 'network_id': '0645bb61-8346-4deb-ab20-3179de9e6aea', 'ip_version': 4, 'cidr': '53.206.131.64/26', 'allocation_pools': [{'start': '53.206.131.66', 'end': '53.206.131.126'}], 'gateway_ip': '53.206.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.206.131.66', 'tags': [], 'project_id': '0e52831dfd1e45ab834eab0d57d6d615'}} 2025-04-15 18:12:50,564 - INFO - Created VN ctest-vn-92297036 2025-04-15 18:12:50,618 - DEBUG - VN ctest-vn-92297036 UUID is 0645bb61-8346-4deb-ab20-3179de9e6aea 2025-04-15 18:12:50,901 - DEBUG - Response for create_network : {'network': {'id': '1487d083-d0ef-4b7f-b441-38a37cdbf7f8', 'name': 'ctest-vn-19531383', 'tenant_id': '0e52831dfd1e45ab834eab0d57d6d615', 'project_id': '0e52831dfd1e45ab834eab0d57d6d615', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-vn-19531383'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 18:12:51,085 - DEBUG - Response for create_subnet : {'subnet': {'id': '57515dd8-f89b-46aa-ba41-c8947523b92c', 'name': '', 'tenant_id': '0e52831dfd1e45ab834eab0d57d6d615', 'network_id': '1487d083-d0ef-4b7f-b441-38a37cdbf7f8', 'ip_version': 4, 'cidr': '34.192.241.128/26', 'allocation_pools': [{'start': '34.192.241.130', 'end': '34.192.241.190'}], 'gateway_ip': '34.192.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.192.241.130', 'tags': [], 'project_id': '0e52831dfd1e45ab834eab0d57d6d615'}} 2025-04-15 18:12:51,102 - INFO - Created VN ctest-vn-19531383 2025-04-15 18:12:51,154 - DEBUG - VN ctest-vn-19531383 UUID is 1487d083-d0ef-4b7f-b441-38a37cdbf7f8 2025-04-15 18:12:51,306 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-92297036, 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-11855577:ctest-vn-19531383, 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-04-15 18:12:51,599 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0645bb61-8346-4deb-ab20-3179de9e6aea', 'name': 'ctest-vn-92297036', 'tenant_id': '0e52831dfd1e45ab834eab0d57d6d615', 'project_id': '0e52831dfd1e45ab834eab0d57d6d615', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['799bcedc-28f0-4458-97de-d9e7f218b719'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-vn-92297036'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-policy-allow-all-37988943']], 'subnet_ipam': [{'subnet_cidr': '53.206.131.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 18:12:51,831 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1487d083-d0ef-4b7f-b441-38a37cdbf7f8', 'name': 'ctest-vn-19531383', 'tenant_id': '0e52831dfd1e45ab834eab0d57d6d615', 'project_id': '0e52831dfd1e45ab834eab0d57d6d615', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57515dd8-f89b-46aa-ba41-c8947523b92c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-vn-19531383'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-policy-allow-all-37988943']], 'subnet_ipam': [{'subnet_cidr': '34.192.241.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-15 18:12:52,006 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-15 18:12:52,300 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-15 18:12:52,337 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c 2025-04-15 18:12:52,352 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e52831d-fd1e-45ab-834e-ab0d57d6d615 2025-04-15 18:12:52,431 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0645bb61-8346-4deb-ab20-3179de9e6aea 2025-04-15 18:12:52,443 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0645bb61-8346-4deb-ab20-3179de9e6aea 2025-04-15 18:12:52,453 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d51bca9-b1b1-4bc4-9beb-07e85502ee8e 2025-04-15 18:12:52,462 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d51bca9-b1b1-4bc4-9beb-07e85502ee8e 2025-04-15 18:12:52,469 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dd2afa5d-7fc8-4fca-a23a-c2724a0eff9e 2025-04-15 18:12:52,476 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 18:12:52,476 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0645bb61-8346-4deb-ab20-3179de9e6aea 2025-04-15 18:12:52,486 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d51bca9-b1b1-4bc4-9beb-07e85502ee8e 2025-04-15 18:12:52,501 - INFO - Verified VN network id 8 for VN 0645bb61-8346-4deb-ab20-3179de9e6aea 2025-04-15 18:12:52,502 - INFO - Verifications in API Server for VN ctest-vn-92297036 passed 2025-04-15 18:12:52,502 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0645bb61-8346-4deb-ab20-3179de9e6aea 2025-04-15 18:12:52,515 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d51bca9-b1b1-4bc4-9beb-07e85502ee8e 2025-04-15 18:12:52,524 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d51bca9-b1b1-4bc4-9beb-07e85502ee8e 2025-04-15 18:12:52,532 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dd2afa5d-7fc8-4fca-a23a-c2724a0eff9e 2025-04-15 18:12:52,545 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-92297036', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11855577', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '451973365109247467', 'uuid-lslong': '12330910179236145898'}, 'enable': 'true', 'created': '2025-04-15T18:12:50', 'last-modified': '2025-04-15T18:12:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964745'} 2025-04-15 18:12:52,551 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-15 18:12:52,552 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92297036 passed 2025-04-15 18:12:52,552 - DEBUG - ====Verifying policy data for ctest-vn-92297036 in API_Server ====== 2025-04-15 18:12:52,552 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-15 18:12:52,558 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c 2025-04-15 18:12:52,570 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e52831d-fd1e-45ab-834e-ab0d57d6d615 2025-04-15 18:12:52,644 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0645bb61-8346-4deb-ab20-3179de9e6aea 2025-04-15 18:12:52,655 - DEBUG - ==>Verifying data for policy with id: 705274c3-b503-4985-bdc6-2fb22ae77903, fqn: ['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-policy-allow-all-37988943'] 2025-04-15 18:12:52,655 - INFO - VN ctest-vn-92297036 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 18:12:52,655 - DEBUG - Verifying the vn in opserver 2025-04-15 18:12:52,655 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-92297036 virtual network link through opserver 10.0.0.254 2025-04-15 18:12:52,655 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-15 18:12:52,947 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-15 18:12:53,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-92297036', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-92297036?flat'} 2025-04-15 18:12:53,003 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-92297036 is found in opserver 2025-04-15 18:12:53,014 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 18:12:53,019 - DEBUG - VRF ids for VN ctest-vn-92297036: {} 2025-04-15 18:12:53,019 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-15 18:12:53,026 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c 2025-04-15 18:12:53,043 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e52831d-fd1e-45ab-834e-ab0d57d6d615 2025-04-15 18:12:53,122 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1487d083-d0ef-4b7f-b441-38a37cdbf7f8 2025-04-15 18:12:53,136 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1487d083-d0ef-4b7f-b441-38a37cdbf7f8 2025-04-15 18:12:53,148 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4fb91d36-a9f8-45db-8655-8c91e78c723b 2025-04-15 18:12:53,157 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4fb91d36-a9f8-45db-8655-8c91e78c723b 2025-04-15 18:12:53,168 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6460b96e-c88c-4abc-911d-5038013e0f04 2025-04-15 18:12:53,175 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 18:12:53,175 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1487d083-d0ef-4b7f-b441-38a37cdbf7f8 2025-04-15 18:12:53,187 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4fb91d36-a9f8-45db-8655-8c91e78c723b 2025-04-15 18:12:53,204 - INFO - Verified VN network id 9 for VN 1487d083-d0ef-4b7f-b441-38a37cdbf7f8 2025-04-15 18:12:53,204 - INFO - Verifications in API Server for VN ctest-vn-19531383 passed 2025-04-15 18:12:53,204 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1487d083-d0ef-4b7f-b441-38a37cdbf7f8 2025-04-15 18:12:53,215 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4fb91d36-a9f8-45db-8655-8c91e78c723b 2025-04-15 18:12:53,223 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4fb91d36-a9f8-45db-8655-8c91e78c723b 2025-04-15 18:12:53,231 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/6460b96e-c88c-4abc-911d-5038013e0f04 2025-04-15 18:12:53,243 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-19531383', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11855577', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1479380267179133823', 'uuid-lslong': '12988725075138836472'}, 'enable': 'true', 'created': '2025-04-15T18:12:50', 'last-modified': '2025-04-15T18:12:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.430422'} 2025-04-15 18:12:53,250 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-15 18:12:53,250 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19531383 passed 2025-04-15 18:12:53,250 - DEBUG - ====Verifying policy data for ctest-vn-19531383 in API_Server ====== 2025-04-15 18:12:53,250 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-15 18:12:53,256 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c 2025-04-15 18:12:53,269 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e52831d-fd1e-45ab-834e-ab0d57d6d615 2025-04-15 18:12:53,345 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1487d083-d0ef-4b7f-b441-38a37cdbf7f8 2025-04-15 18:12:53,356 - DEBUG - ==>Verifying data for policy with id: 705274c3-b503-4985-bdc6-2fb22ae77903, fqn: ['default-domain', 'ctest-TestBasicPolicy-11855577', 'ctest-policy-allow-all-37988943'] 2025-04-15 18:12:53,356 - INFO - VN ctest-vn-19531383 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-15 18:12:53,356 - DEBUG - Verifying the vn in opserver 2025-04-15 18:12:53,356 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-19531383 virtual network link through opserver 10.0.0.254 2025-04-15 18:12:53,356 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-15 18:12:53,369 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-19531383', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-19531383?flat'} 2025-04-15 18:12:53,369 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-19531383 is found in opserver 2025-04-15 18:12:53,379 - DEBUG - Do not have enough data to verify VN in agent 2025-04-15 18:12:53,384 - DEBUG - VRF ids for VN ctest-vn-19531383: {} 2025-04-15 18:12:53,440 - DEBUG - Services list from nova: [, , ] 2025-04-15 18:12:54,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1) 2025-04-15 18:12:55,771 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3121-1) 2025-04-15 18:12:55,772 - INFO - Waiting for VM ctest-TestBasicPolicy-11855577-15213618 to be up.. 2025-04-15 18:12:55,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 18:13:00,937 - DEBUG - VM is in ACTIVE state now 2025-04-15 18:13:00,937 - INFO - VM name : ctest-TestBasicPolicy-11855577-15213618 2025-04-15 18:13:01,022 - DEBUG - VM ctest-TestBasicPolicy-11855577-15213618 ID is 08b90aa8-ade4-416c-af05-fde4f25751bb 2025-04-15 18:13:01,044 - DEBUG - VM ctest-TestBasicPolicy-11855577-15213618 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1 2025-04-15 18:13:01,132 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/08b90aa8-ade4-416c-af05-fde4f25751bb 2025-04-15 18:13:01,145 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/405110a5-d9b0-4b9b-b32a-3e94cea46a18 2025-04-15 18:13:04,363 - 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 1015ms') 2025-04-15 18:13:04,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11855577-15213618 failed! 2025-04-15 18:13:04,419 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-11855577:ctest-vn-92297036 is 53.206.131.65 and allocation pool is NOT set 2025-04-15 18:13:06,482 - 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=3.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 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.529/1.915/3.301/1.386 ms') 2025-04-15 18:13:06,482 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-11855577-15213618 passed 2025-04-15 18:13:06,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 18:13:06,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11855577-15213618, IP 53.206.131.67, Port 22 2025-04-15 18:13:06,813 - DEBUG - VM ctest-TestBasicPolicy-11855577-15213618 is ready for SSH connections 2025-04-15 18:13:06,813 - INFO - Waiting for VM ctest-TestBasicPolicy-11855577-88653662 to be up.. 2025-04-15 18:13:06,892 - DEBUG - VM is in ACTIVE state now 2025-04-15 18:13:06,893 - INFO - VM name : ctest-TestBasicPolicy-11855577-88653662 2025-04-15 18:13:06,965 - DEBUG - VM ctest-TestBasicPolicy-11855577-88653662 ID is 669e5294-6033-4a44-b79a-9bcc452cfe73 2025-04-15 18:13:06,965 - DEBUG - VM ctest-TestBasicPolicy-11855577-88653662 launched on Node cn-jenkins-deploy-platform-ansible-os-3121-1 2025-04-15 18:13:07,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/669e5294-6033-4a44-b79a-9bcc452cfe73 2025-04-15 18:13:07,056 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd84c262-5480-4486-bac6-9ccd8001f16f 2025-04-15 18:13:08,302 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/1.598/2.798/1.199 ms') 2025-04-15 18:13:08,302 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-11855577-88653662 passed 2025-04-15 18:13:08,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 18:13:08,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-11855577-88653662, IP 34.192.241.131, Port 22 2025-04-15 18:13:08,610 - DEBUG - VM ctest-TestBasicPolicy-11855577-88653662 is ready for SSH connections 2025-04-15 18:13:08,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 18:13:08,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.192.241.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-15 18:13:08,611 - DEBUG - ping -s 56 -c 3 -W 1 34.192.241.131 2025-04-15 18:13:12,695 - DEBUG - PING 34.192.241.131 (34.192.241.131): 56 data bytes 64 bytes from 34.192.241.131: seq=0 ttl=63 time=3.854 ms 64 bytes from 34.192.241.131: seq=1 ttl=63 time=1.001 ms 64 bytes from 34.192.241.131: seq=2 ttl=63 time=1.162 ms --- 34.192.241.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.001/2.005/3.854 ms 2025-04-15 18:13:12,695 - INFO - Ping to IP 34.192.241.131 from VM ctest-TestBasicPolicy-11855577-15213618 passed 2025-04-15 18:13:12,874 - DEBUG - Policy Update Response {"network-policy": {"uuid": "705274c3-b503-4985-bdc6-2fb22ae77903", "href": "http://10.0.0.254:8082/network-policy/705274c3-b503-4985-bdc6-2fb22ae77903"}} 2025-04-15 18:13:12,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 18:13:12,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.192.241.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-15 18:13:12,874 - DEBUG - ping -s 56 -c 3 -W 1 34.192.241.131 2025-04-15 18:13:16,080 - DEBUG - PING 34.192.241.131 (34.192.241.131): 56 data bytes --- 34.192.241.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-15 18:13:16,081 - WARNING - Ping to IP 34.192.241.131 from VM ctest-TestBasicPolicy-11855577-15213618 failed 2025-04-15 18:13:16,081 - INFO - Deleting VM ctest-TestBasicPolicy-11855577-88653662 2025-04-15 18:13:16,154 - INFO - Deleting VM ctest-TestBasicPolicy-11855577-15213618 2025-04-15 18:13:16,526 - INFO - Deleted policy ctest-policy-allow-all-37988943 2025-04-15 18:13:16,526 - INFO - Deleting VN ctest-vn-19531383 2025-04-15 18:13:16,567 - DEBUG - VN 1487d083-d0ef-4b7f-b441-38a37cdbf7f8 still in use: Unable to complete operation on network 1487d083-d0ef-4b7f-b441-38a37cdbf7f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f681e57e-ab60-46f3-84e2-8991acee893a'] 2025-04-15 18:13:16,567 - WARNING - Deleting VN ctest-vn-19531383 failed..Will retry 2025-04-15 18:13:18,682 - DEBUG - Response for deleting network () 2025-04-15 18:13:18,682 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/4fb91d36-a9f8-45db-8655-8c91e78c723b 2025-04-15 18:13:18,690 - DEBUG - Response Code: 404 2025-04-15 18:13:18,690 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-15 18:13:18,703 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c 2025-04-15 18:13:18,760 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e52831d-fd1e-45ab-834e-ab0d57d6d615 2025-04-15 18:13:18,832 - INFO - Validated that VN ctest-vn-19531383 is not found in API Server 2025-04-15 18:13:18,843 - DEBUG - VN ctest-vn-19531383 is not present in Agent 10.0.0.254 2025-04-15 18:13:18,843 - INFO - Validated that VN ctest-vn-19531383 is not in any agent 2025-04-15 18:13:18,859 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19531383 info 2025-04-15 18:13:18,859 - INFO - Deleting VN ctest-vn-92297036 2025-04-15 18:13:18,965 - DEBUG - Response for deleting network () 2025-04-15 18:13:18,965 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6d51bca9-b1b1-4bc4-9beb-07e85502ee8e 2025-04-15 18:13:18,972 - DEBUG - Response Code: 404 2025-04-15 18:13:18,972 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-15 18:13:18,978 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6ac681e4-2782-45eb-a063-ffd62b5ab77c 2025-04-15 18:13:19,033 - DEBUG - Requesting: http://10.0.0.254:8082/project/0e52831d-fd1e-45ab-834e-ab0d57d6d615 2025-04-15 18:13:19,103 - INFO - Validated that VN ctest-vn-92297036 is not found in API Server 2025-04-15 18:13:19,115 - DEBUG - VN ctest-vn-92297036 is not present in Agent 10.0.0.254 2025-04-15 18:13:19,115 - INFO - Validated that VN ctest-vn-92297036 is not in any agent 2025-04-15 18:13:19,132 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92297036 info 2025-04-15 18:13:19,389 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 18:13:19,389 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-15 18:13:19,389 - INFO - -------------------------------------------------------------------------------- 2025-04-15 18:13:20,100 - INFO - Deleted project: ctest-TestBasicPolicy-11855577, ID : 0e52831d-fd1e-45ab-834e-ab0d57d6d615