2025-02-13 02:40:21,117 - INFO - Domain Default found not creating 2025-02-13 02:40:21,281 - INFO - Project ctest-TestBasicPolicy-89357875 not found, creating it 2025-02-13 02:40:21,759 - INFO - Created Project:ctest-TestBasicPolicy-89357875, ID : 427c7aa4-874d-47e0-9742-86f69b88d7d5 2025-02-13 02:40:23,252 - INFO - ================================================================================ 2025-02-13 02:40:23,253 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-13 02:40:23,253 - 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-13 02:40:23,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.28': '0'}} with 2025-02-13 02:40:23,509 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:40:23,509 - INFO - 2025-02-13 02:40:24,100 - DEBUG - Response for create_network : {'network': {'id': '52878362-7cd8-47ff-b545-561cd6aa15c8', 'name': 'ctest-vn-87664047', 'tenant_id': '427c7aa4874d47e0974286f69b88d7d5', 'project_id': '427c7aa4874d47e0974286f69b88d7d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-vn-87664047'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:40:24,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '63a3833b-d85d-49af-b397-0ad62c8da241', 'name': '', 'tenant_id': '427c7aa4874d47e0974286f69b88d7d5', 'network_id': '52878362-7cd8-47ff-b545-561cd6aa15c8', 'ip_version': 4, 'cidr': '19.210.95.64/26', 'allocation_pools': [{'start': '19.210.95.66', 'end': '19.210.95.126'}], 'gateway_ip': '19.210.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.210.95.66', 'tags': [], 'project_id': '427c7aa4874d47e0974286f69b88d7d5'}} 2025-02-13 02:40:24,301 - INFO - Created VN ctest-vn-87664047 2025-02-13 02:40:24,358 - DEBUG - VN ctest-vn-87664047 UUID is 52878362-7cd8-47ff-b545-561cd6aa15c8 2025-02-13 02:40:24,665 - DEBUG - Response for create_network : {'network': {'id': 'bdf32eae-4649-4357-84d7-76b2391c10e0', 'name': 'ctest-vn-28582992', 'tenant_id': '427c7aa4874d47e0974286f69b88d7d5', 'project_id': '427c7aa4874d47e0974286f69b88d7d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-vn-28582992'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:40:24,826 - DEBUG - Response for create_subnet : {'subnet': {'id': '438235f0-8243-4671-babd-411de3ac1196', 'name': '', 'tenant_id': '427c7aa4874d47e0974286f69b88d7d5', 'network_id': 'bdf32eae-4649-4357-84d7-76b2391c10e0', 'ip_version': 4, 'cidr': '36.154.91.128/26', 'allocation_pools': [{'start': '36.154.91.130', 'end': '36.154.91.190'}], 'gateway_ip': '36.154.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.154.91.130', 'tags': [], 'project_id': '427c7aa4874d47e0974286f69b88d7d5'}} 2025-02-13 02:40:24,846 - INFO - Created VN ctest-vn-28582992 2025-02-13 02:40:24,902 - DEBUG - VN ctest-vn-28582992 UUID is bdf32eae-4649-4357-84d7-76b2391c10e0 2025-02-13 02:40:25,026 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-87664047, 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-89357875:ctest-vn-28582992, 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-13 02:40:25,341 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52878362-7cd8-47ff-b545-561cd6aa15c8', 'name': 'ctest-vn-87664047', 'tenant_id': '427c7aa4874d47e0974286f69b88d7d5', 'project_id': '427c7aa4874d47e0974286f69b88d7d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63a3833b-d85d-49af-b397-0ad62c8da241'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-vn-87664047'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-policy-allow-all-36512079']], 'subnet_ipam': [{'subnet_cidr': '19.210.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:40:25,645 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bdf32eae-4649-4357-84d7-76b2391c10e0', 'name': 'ctest-vn-28582992', 'tenant_id': '427c7aa4874d47e0974286f69b88d7d5', 'project_id': '427c7aa4874d47e0974286f69b88d7d5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['438235f0-8243-4671-babd-411de3ac1196'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-vn-28582992'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-policy-allow-all-36512079']], 'subnet_ipam': [{'subnet_cidr': '36.154.91.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:40:25,815 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-02-13 02:40:26,116 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-02-13 02:40:26,150 - DEBUG - Requesting: http://10.0.0.47:8082/domain/a0bf9ba0-4b35-4d0f-83ad-34dc947abcf6 2025-02-13 02:40:26,168 - DEBUG - Requesting: http://10.0.0.47:8082/project/427c7aa4-874d-47e0-9742-86f69b88d7d5 2025-02-13 02:40:26,256 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/52878362-7cd8-47ff-b545-561cd6aa15c8 2025-02-13 02:40:26,275 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/52878362-7cd8-47ff-b545-561cd6aa15c8 2025-02-13 02:40:26,293 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/bddd0231-c6c2-4df8-a960-3a581bdcfc3b 2025-02-13 02:40:26,303 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/bddd0231-c6c2-4df8-a960-3a581bdcfc3b 2025-02-13 02:40:26,313 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/32db682b-6fa3-40cf-801d-9e11c1f4675b 2025-02-13 02:40:26,323 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 02:40:26,323 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/52878362-7cd8-47ff-b545-561cd6aa15c8 2025-02-13 02:40:26,336 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/bddd0231-c6c2-4df8-a960-3a581bdcfc3b 2025-02-13 02:40:26,357 - INFO - Verified VN network id 9 for VN 52878362-7cd8-47ff-b545-561cd6aa15c8 2025-02-13 02:40:26,357 - INFO - Verifications in API Server for VN ctest-vn-87664047 passed 2025-02-13 02:40:26,357 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/52878362-7cd8-47ff-b545-561cd6aa15c8 2025-02-13 02:40:26,371 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/bddd0231-c6c2-4df8-a960-3a581bdcfc3b 2025-02-13 02:40:26,382 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/bddd0231-c6c2-4df8-a960-3a581bdcfc3b 2025-02-13 02:40:26,391 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/32db682b-6fa3-40cf-801d-9e11c1f4675b 2025-02-13 02:40:26,406 - DEBUG - Control-node 10.0.0.47 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-87664047', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89357875', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5946866291990611967', 'uuid-lslong': '13061940976118535624'}, 'enable': 'true', 'created': '2025-02-13T02:40:24', 'last-modified': '2025-02-13T02:40:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084662'} 2025-02-13 02:40:26,413 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-13 02:40:26,413 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87664047 passed 2025-02-13 02:40:26,413 - DEBUG - ====Verifying policy data for ctest-vn-87664047 in API_Server ====== 2025-02-13 02:40:26,413 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-02-13 02:40:26,420 - DEBUG - Requesting: http://10.0.0.47:8082/domain/a0bf9ba0-4b35-4d0f-83ad-34dc947abcf6 2025-02-13 02:40:26,435 - DEBUG - Requesting: http://10.0.0.47:8082/project/427c7aa4-874d-47e0-9742-86f69b88d7d5 2025-02-13 02:40:26,518 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/52878362-7cd8-47ff-b545-561cd6aa15c8 2025-02-13 02:40:26,531 - DEBUG - ==>Verifying data for policy with id: 422b1819-7bd3-47da-87d2-06369cf865cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-policy-allow-all-36512079'] 2025-02-13 02:40:26,532 - INFO - VN ctest-vn-87664047 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:40:26,532 - DEBUG - Verifying the vn in opserver 2025-02-13 02:40:26,532 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-87664047 virtual network link through opserver 10.0.0.47 2025-02-13 02:40:26,532 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-02-13 02:40:26,833 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-02-13 02:40:26,897 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-87664047', 'href': 'http://10.0.0.47:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-87664047?flat'} 2025-02-13 02:40:26,897 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-87664047 is found in opserver 2025-02-13 02:40:26,910 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:40:26,917 - DEBUG - VRF ids for VN ctest-vn-87664047: {} 2025-02-13 02:40:26,918 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-02-13 02:40:26,925 - DEBUG - Requesting: http://10.0.0.47:8082/domain/a0bf9ba0-4b35-4d0f-83ad-34dc947abcf6 2025-02-13 02:40:26,940 - DEBUG - Requesting: http://10.0.0.47:8082/project/427c7aa4-874d-47e0-9742-86f69b88d7d5 2025-02-13 02:40:27,020 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/bdf32eae-4649-4357-84d7-76b2391c10e0 2025-02-13 02:40:27,036 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/bdf32eae-4649-4357-84d7-76b2391c10e0 2025-02-13 02:40:27,048 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/74ac3ccf-aa15-451a-bdd0-514c951f0f8f 2025-02-13 02:40:27,057 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/74ac3ccf-aa15-451a-bdd0-514c951f0f8f 2025-02-13 02:40:27,066 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/a94c1c9b-af52-442d-b845-1e9c19047e65 2025-02-13 02:40:27,076 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:40:27,076 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/bdf32eae-4649-4357-84d7-76b2391c10e0 2025-02-13 02:40:27,089 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/74ac3ccf-aa15-451a-bdd0-514c951f0f8f 2025-02-13 02:40:27,107 - INFO - Verified VN network id 10 for VN bdf32eae-4649-4357-84d7-76b2391c10e0 2025-02-13 02:40:27,107 - INFO - Verifications in API Server for VN ctest-vn-28582992 passed 2025-02-13 02:40:27,107 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/bdf32eae-4649-4357-84d7-76b2391c10e0 2025-02-13 02:40:27,120 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/74ac3ccf-aa15-451a-bdd0-514c951f0f8f 2025-02-13 02:40:27,130 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/74ac3ccf-aa15-451a-bdd0-514c951f0f8f 2025-02-13 02:40:27,141 - DEBUG - Requesting: http://10.0.0.47:8082/route-target/a94c1c9b-af52-442d-b845-1e9c19047e65 2025-02-13 02:40:27,157 - DEBUG - Control-node 10.0.0.47 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-28582992', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-89357875', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13687335018547462999', 'uuid-lslong': '9572250040833675488'}, 'enable': 'true', 'created': '2025-02-13T02:40:24', 'last-modified': '2025-02-13T02:40:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.593044'} 2025-02-13 02:40:27,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-13 02:40:27,166 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28582992 passed 2025-02-13 02:40:27,167 - DEBUG - ====Verifying policy data for ctest-vn-28582992 in API_Server ====== 2025-02-13 02:40:27,167 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-02-13 02:40:27,175 - DEBUG - Requesting: http://10.0.0.47:8082/domain/a0bf9ba0-4b35-4d0f-83ad-34dc947abcf6 2025-02-13 02:40:27,191 - DEBUG - Requesting: http://10.0.0.47:8082/project/427c7aa4-874d-47e0-9742-86f69b88d7d5 2025-02-13 02:40:27,274 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-network/bdf32eae-4649-4357-84d7-76b2391c10e0 2025-02-13 02:40:27,290 - DEBUG - ==>Verifying data for policy with id: 422b1819-7bd3-47da-87d2-06369cf865cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-89357875', 'ctest-policy-allow-all-36512079'] 2025-02-13 02:40:27,290 - INFO - VN ctest-vn-28582992 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-13 02:40:27,290 - DEBUG - Verifying the vn in opserver 2025-02-13 02:40:27,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-28582992 virtual network link through opserver 10.0.0.47 2025-02-13 02:40:27,290 - DEBUG - Requesting: http://10.0.0.47:8081/analytics/uves/virtual-networks 2025-02-13 02:40:27,305 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-28582992', 'href': 'http://10.0.0.47:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-28582992?flat'} 2025-02-13 02:40:27,305 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-28582992 is found in opserver 2025-02-13 02:40:27,319 - DEBUG - Do not have enough data to verify VN in agent 2025-02-13 02:40:27,326 - DEBUG - VRF ids for VN ctest-vn-28582992: {} 2025-02-13 02:40:27,394 - DEBUG - Services list from nova: [, , ] 2025-02-13 02:40:28,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2732-1) 2025-02-13 02:40:29,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2732-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2732-1) 2025-02-13 02:40:29,917 - INFO - Waiting for VM ctest-TestBasicPolicy-89357875-54545869 to be up.. 2025-02-13 02:40:30,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:40:35,113 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:40:35,113 - INFO - VM name : ctest-TestBasicPolicy-89357875-54545869 2025-02-13 02:40:35,197 - DEBUG - VM ctest-TestBasicPolicy-89357875-54545869 ID is 8a199840-3622-40b6-88e8-4344bf53d74d 2025-02-13 02:40:35,217 - DEBUG - VM ctest-TestBasicPolicy-89357875-54545869 launched on Node cn-jenkins-deploy-platform-ansible-os-2732-1 2025-02-13 02:40:35,309 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/8a199840-3622-40b6-88e8-4344bf53d74d 2025-02-13 02:40:35,321 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/16b449a3-f4df-4756-b481-6fd91c73848d 2025-02-13 02:40:38,596 - 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 1021ms') 2025-02-13 02:40:38,597 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89357875-54545869 failed! 2025-02-13 02:40:38,655 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-89357875:ctest-vn-87664047 is 19.210.95.65 and allocation pool is NOT set 2025-02-13 02:40:40,718 - 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.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.861 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.861/5.625/10.389/4.764 ms') 2025-02-13 02:40:40,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-89357875-54545869 passed 2025-02-13 02:40:40,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:40,871 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89357875-54545869, IP 19.210.95.67, Port 22 2025-02-13 02:40:41,026 - DEBUG - VM ctest-TestBasicPolicy-89357875-54545869 is ready for SSH connections 2025-02-13 02:40:41,026 - INFO - Waiting for VM ctest-TestBasicPolicy-89357875-77359010 to be up.. 2025-02-13 02:40:41,115 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:40:41,115 - INFO - VM name : ctest-TestBasicPolicy-89357875-77359010 2025-02-13 02:40:41,196 - DEBUG - VM ctest-TestBasicPolicy-89357875-77359010 ID is fc4e23bc-6b2d-4df0-a34c-24c6461f95fa 2025-02-13 02:40:41,196 - DEBUG - VM ctest-TestBasicPolicy-89357875-77359010 launched on Node cn-jenkins-deploy-platform-ansible-os-2732-1 2025-02-13 02:40:41,289 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/fc4e23bc-6b2d-4df0-a34c-24c6461f95fa 2025-02-13 02:40:41,304 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/a5e53e42-2743-479c-8af7-a58f8d931489 2025-02-13 02:40:42,569 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.810 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.810/1.875/2.941/1.065 ms') 2025-02-13 02:40:42,569 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-89357875-77359010 passed 2025-02-13 02:40:42,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:42,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-89357875-77359010, IP 36.154.91.131, Port 22 2025-02-13 02:40:42,884 - DEBUG - VM ctest-TestBasicPolicy-89357875-77359010 is ready for SSH connections 2025-02-13 02:40:42,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:42,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.154.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-02-13 02:40:42,884 - DEBUG - ping -s 56 -c 3 -W 1 36.154.91.131 2025-02-13 02:40:46,593 - DEBUG - PING 36.154.91.131 (36.154.91.131): 56 data bytes 64 bytes from 36.154.91.131: seq=0 ttl=63 time=3.402 ms 64 bytes from 36.154.91.131: seq=1 ttl=63 time=0.915 ms 64 bytes from 36.154.91.131: seq=2 ttl=63 time=1.268 ms --- 36.154.91.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/1.861/3.402 ms 2025-02-13 02:40:46,593 - INFO - Ping to IP 36.154.91.131 from VM ctest-TestBasicPolicy-89357875-54545869 passed 2025-02-13 02:40:46,782 - DEBUG - Policy Update Response {"network-policy": {"uuid": "422b1819-7bd3-47da-87d2-06369cf865cd", "href": "http://10.0.0.47:8082/network-policy/422b1819-7bd3-47da-87d2-06369cf865cd"}} 2025-02-13 02:40:46,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:46,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.154.91.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2025-02-13 02:40:46,783 - DEBUG - ping -s 56 -c 3 -W 1 36.154.91.131 2025-02-13 02:40:50,009 - DEBUG - PING 36.154.91.131 (36.154.91.131): 56 data bytes 64 bytes from 36.154.91.131: seq=0 ttl=63 time=1.930 ms --- 36.154.91.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.930/1.930/1.930 ms 2025-02-13 02:40:50,009 - WARNING - Ping to IP 36.154.91.131 from VM ctest-TestBasicPolicy-89357875-54545869 failed 2025-02-13 02:40:50,009 - INFO - Deleting VM ctest-TestBasicPolicy-89357875-77359010 2025-02-13 02:40:50,093 - INFO - Deleting VM ctest-TestBasicPolicy-89357875-54545869 2025-02-13 02:40:50,512 - INFO - Deleted policy ctest-policy-allow-all-36512079 2025-02-13 02:40:50,512 - INFO - Deleting VN ctest-vn-28582992 2025-02-13 02:40:50,557 - DEBUG - VN bdf32eae-4649-4357-84d7-76b2391c10e0 still in use: Unable to complete operation on network bdf32eae-4649-4357-84d7-76b2391c10e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7123399-7b52-47b6-9aeb-1819a6f64e83'] 2025-02-13 02:40:50,557 - WARNING - Deleting VN ctest-vn-28582992 failed..Will retry 2025-02-13 02:40:52,675 - DEBUG - Response for deleting network () 2025-02-13 02:40:52,675 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/74ac3ccf-aa15-451a-bdd0-514c951f0f8f 2025-02-13 02:40:52,686 - DEBUG - Response Code: 404 2025-02-13 02:40:52,687 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-02-13 02:40:52,694 - DEBUG - Requesting: http://10.0.0.47:8082/domain/a0bf9ba0-4b35-4d0f-83ad-34dc947abcf6 2025-02-13 02:40:52,749 - DEBUG - Requesting: http://10.0.0.47:8082/project/427c7aa4-874d-47e0-9742-86f69b88d7d5 2025-02-13 02:40:52,826 - INFO - Validated that VN ctest-vn-28582992 is not found in API Server 2025-02-13 02:40:52,838 - DEBUG - VN ctest-vn-28582992 is not present in Agent 10.0.0.47 2025-02-13 02:40:52,838 - INFO - Validated that VN ctest-vn-28582992 is not in any agent 2025-02-13 02:40:52,855 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28582992 info 2025-02-13 02:40:52,855 - INFO - Deleting VN ctest-vn-87664047 2025-02-13 02:40:52,973 - DEBUG - Response for deleting network () 2025-02-13 02:40:52,973 - DEBUG - Requesting: http://10.0.0.47:8082/routing-instance/bddd0231-c6c2-4df8-a960-3a581bdcfc3b 2025-02-13 02:40:52,984 - DEBUG - Response Code: 404 2025-02-13 02:40:52,984 - DEBUG - Requesting: http://10.0.0.47:8082/domains 2025-02-13 02:40:52,991 - DEBUG - Requesting: http://10.0.0.47:8082/domain/a0bf9ba0-4b35-4d0f-83ad-34dc947abcf6 2025-02-13 02:40:53,044 - DEBUG - Requesting: http://10.0.0.47:8082/project/427c7aa4-874d-47e0-9742-86f69b88d7d5 2025-02-13 02:40:53,124 - INFO - Validated that VN ctest-vn-87664047 is not found in API Server 2025-02-13 02:40:53,137 - DEBUG - VN ctest-vn-87664047 is not present in Agent 10.0.0.47 2025-02-13 02:40:53,137 - INFO - Validated that VN ctest-vn-87664047 is not in any agent 2025-02-13 02:40:53,155 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87664047 info 2025-02-13 02:40:53,413 - DEBUG - No XMPP flaps were noticed during the test 2025-02-13 02:40:53,413 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-13 02:40:53,413 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:40:54,115 - INFO - Deleted project: ctest-TestBasicPolicy-89357875, ID : 427c7aa4-874d-47e0-9742-86f69b88d7d5