2025-02-10 15:12:18,298 - INFO - Domain Default found not creating 2025-02-10 15:12:18,453 - INFO - Project ctest-TestBasicPolicy-57345574 not found, creating it 2025-02-10 15:12:18,924 - INFO - Created Project:ctest-TestBasicPolicy-57345574, ID : 37bc9c3f-9fd8-48f7-a1d1-4f98c693e121 2025-02-10 15:12:20,369 - INFO - ================================================================================ 2025-02-10 15:12:20,369 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-10 15:12:20,369 - 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-02-10 15:12:20,626 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.25': '0'}} with 2025-02-10 15:12:20,626 - INFO - Initial checks done. Running the testcase now 2025-02-10 15:12:20,626 - INFO - 2025-02-10 15:12:21,173 - DEBUG - Response for create_network : {'network': {'id': 'c6fae5b1-c789-4de3-8ab4-eeae923821f4', 'name': 'ctest-vn-67594942', 'tenant_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'project_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-vn-67594942'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 15:12:21,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '2414bd6b-d3ce-4f61-9e1a-c0956a460b6c', 'name': '', 'tenant_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'network_id': 'c6fae5b1-c789-4de3-8ab4-eeae923821f4', 'ip_version': 4, 'cidr': '4.161.52.0/26', 'allocation_pools': [{'start': '4.161.52.2', 'end': '4.161.52.62'}], 'gateway_ip': '4.161.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.161.52.2', 'tags': [], 'project_id': '37bc9c3f9fd848f7a1d14f98c693e121'}} 2025-02-10 15:12:21,354 - INFO - Created VN ctest-vn-67594942 2025-02-10 15:12:21,408 - DEBUG - VN ctest-vn-67594942 UUID is c6fae5b1-c789-4de3-8ab4-eeae923821f4 2025-02-10 15:12:21,714 - DEBUG - Response for create_network : {'network': {'id': 'f6396dbb-1039-43b5-963e-fcfddf549efa', 'name': 'ctest-vn-54155000', 'tenant_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'project_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-vn-54155000'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 15:12:21,892 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5fabe12-12bb-4b59-9387-16f9f62693a0', 'name': '', 'tenant_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'network_id': 'f6396dbb-1039-43b5-963e-fcfddf549efa', 'ip_version': 4, 'cidr': '64.135.87.192/26', 'allocation_pools': [{'start': '64.135.87.194', 'end': '64.135.87.254'}], 'gateway_ip': '64.135.87.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.135.87.194', 'tags': [], 'project_id': '37bc9c3f9fd848f7a1d14f98c693e121'}} 2025-02-10 15:12:21,913 - INFO - Created VN ctest-vn-54155000 2025-02-10 15:12:21,968 - DEBUG - VN ctest-vn-54155000 UUID is f6396dbb-1039-43b5-963e-fcfddf549efa 2025-02-10 15:12:22,085 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-67594942, 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-57345574:ctest-vn-54155000, 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-02-10 15:12:22,410 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6fae5b1-c789-4de3-8ab4-eeae923821f4', 'name': 'ctest-vn-67594942', 'tenant_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'project_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2414bd6b-d3ce-4f61-9e1a-c0956a460b6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-vn-67594942'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-policy-allow-all-15255625']], 'subnet_ipam': [{'subnet_cidr': '4.161.52.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 15:12:22,652 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6396dbb-1039-43b5-963e-fcfddf549efa', 'name': 'ctest-vn-54155000', 'tenant_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'project_id': '37bc9c3f9fd848f7a1d14f98c693e121', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5fabe12-12bb-4b59-9387-16f9f62693a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-vn-54155000'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-policy-allow-all-15255625']], 'subnet_ipam': [{'subnet_cidr': '64.135.87.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 15:12:22,812 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-10 15:12:23,117 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-10 15:12:23,147 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c8d964ff-baea-4c1b-b632-63aa5a697bf8 2025-02-10 15:12:23,160 - DEBUG - Requesting: http://10.0.0.24:8082/project/37bc9c3f-9fd8-48f7-a1d1-4f98c693e121 2025-02-10 15:12:23,233 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c6fae5b1-c789-4de3-8ab4-eeae923821f4 2025-02-10 15:12:23,245 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c6fae5b1-c789-4de3-8ab4-eeae923821f4 2025-02-10 15:12:23,256 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/28c0549b-41be-4ec4-9084-31cccafc812e 2025-02-10 15:12:23,264 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/28c0549b-41be-4ec4-9084-31cccafc812e 2025-02-10 15:12:23,272 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/4a4962d7-9b20-40d3-ba20-e92b88497b28 2025-02-10 15:12:23,279 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 15:12:23,279 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c6fae5b1-c789-4de3-8ab4-eeae923821f4 2025-02-10 15:12:23,291 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/28c0549b-41be-4ec4-9084-31cccafc812e 2025-02-10 15:12:23,309 - INFO - Verified VN network id 8 for VN c6fae5b1-c789-4de3-8ab4-eeae923821f4 2025-02-10 15:12:23,309 - INFO - Verifications in API Server for VN ctest-vn-67594942 passed 2025-02-10 15:12:23,309 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c6fae5b1-c789-4de3-8ab4-eeae923821f4 2025-02-10 15:12:23,322 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/28c0549b-41be-4ec4-9084-31cccafc812e 2025-02-10 15:12:23,330 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/28c0549b-41be-4ec4-9084-31cccafc812e 2025-02-10 15:12:23,338 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/4a4962d7-9b20-40d3-ba20-e92b88497b28 2025-02-10 15:12:23,351 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-67594942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57345574', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14338024915407031779', 'uuid-lslong': '9994875906586845684'}, 'enable': 'true', 'created': '2025-02-10T15:12:21', 'last-modified': '2025-02-10T15:12:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986768'} 2025-02-10 15:12:23,358 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 15:12:23,358 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67594942 passed 2025-02-10 15:12:23,358 - DEBUG - ====Verifying policy data for ctest-vn-67594942 in API_Server ====== 2025-02-10 15:12:23,358 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-10 15:12:23,363 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c8d964ff-baea-4c1b-b632-63aa5a697bf8 2025-02-10 15:12:23,375 - DEBUG - Requesting: http://10.0.0.24:8082/project/37bc9c3f-9fd8-48f7-a1d1-4f98c693e121 2025-02-10 15:12:23,451 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/c6fae5b1-c789-4de3-8ab4-eeae923821f4 2025-02-10 15:12:23,462 - DEBUG - ==>Verifying data for policy with id: 715ccaf1-745b-48e8-845b-232905ab5826, fqn: ['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-policy-allow-all-15255625'] 2025-02-10 15:12:23,462 - INFO - VN ctest-vn-67594942 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 15:12:23,462 - DEBUG - Verifying the vn in opserver 2025-02-10 15:12:23,462 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-67594942 virtual network link through opserver 10.0.0.24 2025-02-10 15:12:23,462 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-10 15:12:23,756 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-10 15:12:23,813 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-67594942', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-67594942?flat'} 2025-02-10 15:12:23,813 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-67594942 is found in opserver 2025-02-10 15:12:23,825 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 15:12:23,830 - DEBUG - VRF ids for VN ctest-vn-67594942: {} 2025-02-10 15:12:23,831 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-10 15:12:23,837 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c8d964ff-baea-4c1b-b632-63aa5a697bf8 2025-02-10 15:12:23,851 - DEBUG - Requesting: http://10.0.0.24:8082/project/37bc9c3f-9fd8-48f7-a1d1-4f98c693e121 2025-02-10 15:12:23,932 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f6396dbb-1039-43b5-963e-fcfddf549efa 2025-02-10 15:12:23,948 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f6396dbb-1039-43b5-963e-fcfddf549efa 2025-02-10 15:12:23,960 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/503e88cb-a3bc-4451-8a8e-96b1687402e5 2025-02-10 15:12:23,970 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/503e88cb-a3bc-4451-8a8e-96b1687402e5 2025-02-10 15:12:23,978 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/6b181195-8a7f-4572-96bb-1a7bbc83188a 2025-02-10 15:12:23,984 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 15:12:23,985 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f6396dbb-1039-43b5-963e-fcfddf549efa 2025-02-10 15:12:23,995 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/503e88cb-a3bc-4451-8a8e-96b1687402e5 2025-02-10 15:12:24,012 - INFO - Verified VN network id 9 for VN f6396dbb-1039-43b5-963e-fcfddf549efa 2025-02-10 15:12:24,012 - INFO - Verifications in API Server for VN ctest-vn-54155000 passed 2025-02-10 15:12:24,013 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f6396dbb-1039-43b5-963e-fcfddf549efa 2025-02-10 15:12:24,024 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/503e88cb-a3bc-4451-8a8e-96b1687402e5 2025-02-10 15:12:24,032 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/503e88cb-a3bc-4451-8a8e-96b1687402e5 2025-02-10 15:12:24,043 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/6b181195-8a7f-4572-96bb-1a7bbc83188a 2025-02-10 15:12:24,057 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-54155000', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57345574', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17742332857201279925', 'uuid-lslong': '10826368721549041402'}, 'enable': 'true', 'created': '2025-02-10T15:12:21', 'last-modified': '2025-02-10T15:12:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.424744'} 2025-02-10 15:12:24,064 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 15:12:24,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54155000 passed 2025-02-10 15:12:24,064 - DEBUG - ====Verifying policy data for ctest-vn-54155000 in API_Server ====== 2025-02-10 15:12:24,064 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-10 15:12:24,070 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c8d964ff-baea-4c1b-b632-63aa5a697bf8 2025-02-10 15:12:24,083 - DEBUG - Requesting: http://10.0.0.24:8082/project/37bc9c3f-9fd8-48f7-a1d1-4f98c693e121 2025-02-10 15:12:24,156 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/f6396dbb-1039-43b5-963e-fcfddf549efa 2025-02-10 15:12:24,166 - DEBUG - ==>Verifying data for policy with id: 715ccaf1-745b-48e8-845b-232905ab5826, fqn: ['default-domain', 'ctest-TestBasicPolicy-57345574', 'ctest-policy-allow-all-15255625'] 2025-02-10 15:12:24,166 - INFO - VN ctest-vn-54155000 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 15:12:24,166 - DEBUG - Verifying the vn in opserver 2025-02-10 15:12:24,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-54155000 virtual network link through opserver 10.0.0.24 2025-02-10 15:12:24,167 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2025-02-10 15:12:24,177 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-54155000', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-54155000?flat'} 2025-02-10 15:12:24,177 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-54155000 is found in opserver 2025-02-10 15:12:24,188 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 15:12:24,193 - DEBUG - VRF ids for VN ctest-vn-54155000: {} 2025-02-10 15:12:24,256 - DEBUG - Services list from nova: [, , ] 2025-02-10 15:12:25,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2714-1) 2025-02-10 15:12:26,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2714-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2714-1) 2025-02-10 15:12:26,522 - INFO - Waiting for VM ctest-TestBasicPolicy-57345574-03909554 to be up.. 2025-02-10 15:12:26,619 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 15:12:31,699 - DEBUG - VM is in ACTIVE state now 2025-02-10 15:12:31,699 - INFO - VM name : ctest-TestBasicPolicy-57345574-03909554 2025-02-10 15:12:31,775 - DEBUG - VM ctest-TestBasicPolicy-57345574-03909554 ID is b0ed4e53-85b5-42c5-a784-bd71c9acb7e2 2025-02-10 15:12:31,794 - DEBUG - VM ctest-TestBasicPolicy-57345574-03909554 launched on Node cn-jenkins-deploy-platform-ansible-os-2714-1 2025-02-10 15:12:31,869 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/b0ed4e53-85b5-42c5-a784-bd71c9acb7e2 2025-02-10 15:12:31,878 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/85bba63d-b1ef-42b7-a536-332e4a05d487 2025-02-10 15:12:35,133 - 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-02-10 15:12:35,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57345574-03909554 failed! 2025-02-10 15:12:35,192 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57345574:ctest-vn-67594942 is 4.161.52.1 and allocation pool is NOT set 2025-02-10 15:12:37,256 - 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=6.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.361 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.361/3.635/6.909/3.274 ms') 2025-02-10 15:12:37,257 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57345574-03909554 passed 2025-02-10 15:12:37,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 15:12:37,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57345574-03909554, IP 4.161.52.3, Port 22 2025-02-10 15:12:37,567 - DEBUG - VM ctest-TestBasicPolicy-57345574-03909554 is ready for SSH connections 2025-02-10 15:12:37,567 - INFO - Waiting for VM ctest-TestBasicPolicy-57345574-59764839 to be up.. 2025-02-10 15:12:37,656 - DEBUG - VM is in ACTIVE state now 2025-02-10 15:12:37,656 - INFO - VM name : ctest-TestBasicPolicy-57345574-59764839 2025-02-10 15:12:37,742 - DEBUG - VM ctest-TestBasicPolicy-57345574-59764839 ID is 1cd6ce4d-9d16-49cb-b5ec-db4cd644fa92 2025-02-10 15:12:37,742 - DEBUG - VM ctest-TestBasicPolicy-57345574-59764839 launched on Node cn-jenkins-deploy-platform-ansible-os-2714-1 2025-02-10 15:12:37,821 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/1cd6ce4d-9d16-49cb-b5ec-db4cd644fa92 2025-02-10 15:12:37,832 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/664e3af4-4b39-49f5-b171-8a65379c0344 2025-02-10 15:12:39,086 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.12 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 = 2.121/2.957/3.793/0.836 ms') 2025-02-10 15:12:39,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57345574-59764839 passed 2025-02-10 15:12:39,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 15:12:39,240 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57345574-59764839, IP 64.135.87.195, Port 22 2025-02-10 15:12:39,399 - DEBUG - VM ctest-TestBasicPolicy-57345574-59764839 is ready for SSH connections 2025-02-10 15:12:39,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 15:12:39,399 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.135.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-10 15:12:39,400 - DEBUG - ping -s 56 -c 3 -W 1 64.135.87.195 2025-02-10 15:12:43,108 - DEBUG - PING 64.135.87.195 (64.135.87.195): 56 data bytes 64 bytes from 64.135.87.195: seq=0 ttl=63 time=3.475 ms 64 bytes from 64.135.87.195: seq=1 ttl=63 time=0.758 ms 64 bytes from 64.135.87.195: seq=2 ttl=63 time=1.251 ms --- 64.135.87.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.758/1.828/3.475 ms 2025-02-10 15:12:43,108 - INFO - Ping to IP 64.135.87.195 from VM ctest-TestBasicPolicy-57345574-03909554 passed 2025-02-10 15:12:43,288 - DEBUG - Policy Update Response {"network-policy": {"uuid": "715ccaf1-745b-48e8-845b-232905ab5826", "href": "http://10.0.0.24:8082/network-policy/715ccaf1-745b-48e8-845b-232905ab5826"}} 2025-02-10 15:12:43,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 15:12:43,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.135.87.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-10 15:12:43,288 - DEBUG - ping -s 56 -c 3 -W 1 64.135.87.195 2025-02-10 15:12:46,511 - DEBUG - PING 64.135.87.195 (64.135.87.195): 56 data bytes 64 bytes from 64.135.87.195: seq=0 ttl=63 time=1.520 ms --- 64.135.87.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.520/1.520/1.520 ms 2025-02-10 15:12:46,511 - WARNING - Ping to IP 64.135.87.195 from VM ctest-TestBasicPolicy-57345574-03909554 failed 2025-02-10 15:12:46,511 - INFO - Deleting VM ctest-TestBasicPolicy-57345574-59764839 2025-02-10 15:12:46,584 - INFO - Deleting VM ctest-TestBasicPolicy-57345574-03909554 2025-02-10 15:12:46,996 - INFO - Deleted policy ctest-policy-allow-all-15255625 2025-02-10 15:12:46,996 - INFO - Deleting VN ctest-vn-54155000 2025-02-10 15:12:47,037 - DEBUG - VN f6396dbb-1039-43b5-963e-fcfddf549efa still in use: Unable to complete operation on network f6396dbb-1039-43b5-963e-fcfddf549efa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b5b9f103-9dcc-4932-af0f-2c712459a4ac'] 2025-02-10 15:12:47,037 - WARNING - Deleting VN ctest-vn-54155000 failed..Will retry 2025-02-10 15:12:49,149 - DEBUG - Response for deleting network () 2025-02-10 15:12:49,149 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/503e88cb-a3bc-4451-8a8e-96b1687402e5 2025-02-10 15:12:49,156 - DEBUG - Response Code: 404 2025-02-10 15:12:49,156 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-10 15:12:49,162 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c8d964ff-baea-4c1b-b632-63aa5a697bf8 2025-02-10 15:12:49,218 - DEBUG - Requesting: http://10.0.0.24:8082/project/37bc9c3f-9fd8-48f7-a1d1-4f98c693e121 2025-02-10 15:12:49,292 - INFO - Validated that VN ctest-vn-54155000 is not found in API Server 2025-02-10 15:12:49,304 - DEBUG - VN ctest-vn-54155000 is not present in Agent 10.0.0.24 2025-02-10 15:12:49,304 - INFO - Validated that VN ctest-vn-54155000 is not in any agent 2025-02-10 15:12:49,321 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54155000 info 2025-02-10 15:12:49,321 - INFO - Deleting VN ctest-vn-67594942 2025-02-10 15:12:49,443 - DEBUG - Response for deleting network () 2025-02-10 15:12:49,443 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/28c0549b-41be-4ec4-9084-31cccafc812e 2025-02-10 15:12:49,450 - DEBUG - Response Code: 404 2025-02-10 15:12:49,451 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2025-02-10 15:12:49,460 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c8d964ff-baea-4c1b-b632-63aa5a697bf8 2025-02-10 15:12:49,514 - DEBUG - Requesting: http://10.0.0.24:8082/project/37bc9c3f-9fd8-48f7-a1d1-4f98c693e121 2025-02-10 15:12:49,587 - INFO - Validated that VN ctest-vn-67594942 is not found in API Server 2025-02-10 15:12:49,599 - DEBUG - VN ctest-vn-67594942 is not present in Agent 10.0.0.24 2025-02-10 15:12:49,599 - INFO - Validated that VN ctest-vn-67594942 is not in any agent 2025-02-10 15:12:49,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67594942 info 2025-02-10 15:12:49,870 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 15:12:49,870 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-02-10 15:12:49,870 - INFO - -------------------------------------------------------------------------------- 2025-02-10 15:12:50,541 - INFO - Deleted project: ctest-TestBasicPolicy-57345574, ID : 37bc9c3f-9fd8-48f7-a1d1-4f98c693e121