2025-03-26 22:58:39,217 - INFO - Domain Default found not creating 2025-03-26 22:58:39,373 - INFO - Project ctest-TestBasicPolicy-80584547 not found, creating it 2025-03-26 22:58:39,844 - INFO - Created Project:ctest-TestBasicPolicy-80584547, ID : 068ddf52-3c26-4cd2-9d49-bbf9a21bb560 2025-03-26 22:58:41,293 - INFO - ================================================================================ 2025-03-26 22:58:41,293 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-03-26 22:58:41,293 - 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-03-26 22:58:41,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.18': '0'}} with 2025-03-26 22:58:41,548 - INFO - Initial checks done. Running the testcase now 2025-03-26 22:58:41,548 - INFO - 2025-03-26 22:58:42,101 - DEBUG - Response for create_network : {'network': {'id': '7e85c036-7c66-4121-aa9e-0fccaf5b6304', 'name': 'ctest-vn-98661665', 'tenant_id': '068ddf523c264cd29d49bbf9a21bb560', 'project_id': '068ddf523c264cd29d49bbf9a21bb560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-vn-98661665'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 22:58:42,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '7bb6b06e-20a4-4455-880a-7220daddefee', 'name': '', 'tenant_id': '068ddf523c264cd29d49bbf9a21bb560', 'network_id': '7e85c036-7c66-4121-aa9e-0fccaf5b6304', 'ip_version': 4, 'cidr': '7.56.48.128/26', 'allocation_pools': [{'start': '7.56.48.130', 'end': '7.56.48.190'}], 'gateway_ip': '7.56.48.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.56.48.130', 'tags': [], 'project_id': '068ddf523c264cd29d49bbf9a21bb560'}} 2025-03-26 22:58:42,322 - INFO - Created VN ctest-vn-98661665 2025-03-26 22:58:42,374 - DEBUG - VN ctest-vn-98661665 UUID is 7e85c036-7c66-4121-aa9e-0fccaf5b6304 2025-03-26 22:58:42,688 - DEBUG - Response for create_network : {'network': {'id': '4840fdb1-a1cc-44f8-96de-5d92da13cb8e', 'name': 'ctest-vn-18669373', 'tenant_id': '068ddf523c264cd29d49bbf9a21bb560', 'project_id': '068ddf523c264cd29d49bbf9a21bb560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-vn-18669373'], 'port_security_enabled': True, 'description': ''}} 2025-03-26 22:58:42,902 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db1c1c39-1b50-4ec9-8e26-2e8fe4aa93ab', 'name': '', 'tenant_id': '068ddf523c264cd29d49bbf9a21bb560', 'network_id': '4840fdb1-a1cc-44f8-96de-5d92da13cb8e', 'ip_version': 4, 'cidr': '189.46.245.64/26', 'allocation_pools': [{'start': '189.46.245.66', 'end': '189.46.245.126'}], 'gateway_ip': '189.46.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.46.245.66', 'tags': [], 'project_id': '068ddf523c264cd29d49bbf9a21bb560'}} 2025-03-26 22:58:42,922 - INFO - Created VN ctest-vn-18669373 2025-03-26 22:58:42,974 - DEBUG - VN ctest-vn-18669373 UUID is 4840fdb1-a1cc-44f8-96de-5d92da13cb8e 2025-03-26 22:58:43,086 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-98661665, 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-80584547:ctest-vn-18669373, 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-03-26 22:58:43,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e85c036-7c66-4121-aa9e-0fccaf5b6304', 'name': 'ctest-vn-98661665', 'tenant_id': '068ddf523c264cd29d49bbf9a21bb560', 'project_id': '068ddf523c264cd29d49bbf9a21bb560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7bb6b06e-20a4-4455-880a-7220daddefee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-vn-98661665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-policy-allow-all-06946701']], 'subnet_ipam': [{'subnet_cidr': '7.56.48.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-26 22:58:43,628 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4840fdb1-a1cc-44f8-96de-5d92da13cb8e', 'name': 'ctest-vn-18669373', 'tenant_id': '068ddf523c264cd29d49bbf9a21bb560', 'project_id': '068ddf523c264cd29d49bbf9a21bb560', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db1c1c39-1b50-4ec9-8e26-2e8fe4aa93ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-vn-18669373'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-policy-allow-all-06946701']], 'subnet_ipam': [{'subnet_cidr': '189.46.245.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-03-26 22:58:43,786 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-26 22:58:44,082 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-26 22:58:44,112 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9acd1c2f-c409-4ba8-a6b9-16e238118788 2025-03-26 22:58:44,127 - DEBUG - Requesting: http://10.0.0.37:8082/project/068ddf52-3c26-4cd2-9d49-bbf9a21bb560 2025-03-26 22:58:44,208 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7e85c036-7c66-4121-aa9e-0fccaf5b6304 2025-03-26 22:58:44,220 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7e85c036-7c66-4121-aa9e-0fccaf5b6304 2025-03-26 22:58:44,234 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/2a62b43e-67f6-4abc-810d-a833e2c11341 2025-03-26 22:58:44,244 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/2a62b43e-67f6-4abc-810d-a833e2c11341 2025-03-26 22:58:44,252 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/766e67bf-047b-4882-93b1-9e337b87e301 2025-03-26 22:58:44,261 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-26 22:58:44,261 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7e85c036-7c66-4121-aa9e-0fccaf5b6304 2025-03-26 22:58:44,274 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/2a62b43e-67f6-4abc-810d-a833e2c11341 2025-03-26 22:58:44,293 - INFO - Verified VN network id 8 for VN 7e85c036-7c66-4121-aa9e-0fccaf5b6304 2025-03-26 22:58:44,293 - INFO - Verifications in API Server for VN ctest-vn-98661665 passed 2025-03-26 22:58:44,293 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7e85c036-7c66-4121-aa9e-0fccaf5b6304 2025-03-26 22:58:44,306 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/2a62b43e-67f6-4abc-810d-a833e2c11341 2025-03-26 22:58:44,315 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/2a62b43e-67f6-4abc-810d-a833e2c11341 2025-03-26 22:58:44,322 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/766e67bf-047b-4882-93b1-9e337b87e301 2025-03-26 22:58:44,335 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-98661665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80584547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9116904360929280289', 'uuid-lslong': '12294281404557779716'}, 'enable': 'true', 'created': '2025-03-26T22:58:42', 'last-modified': '2025-03-26T22:58:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972344'} 2025-03-26 22:58:44,343 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-03-26 22:58:44,343 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98661665 passed 2025-03-26 22:58:44,343 - DEBUG - ====Verifying policy data for ctest-vn-98661665 in API_Server ====== 2025-03-26 22:58:44,343 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-26 22:58:44,349 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9acd1c2f-c409-4ba8-a6b9-16e238118788 2025-03-26 22:58:44,361 - DEBUG - Requesting: http://10.0.0.37:8082/project/068ddf52-3c26-4cd2-9d49-bbf9a21bb560 2025-03-26 22:58:44,434 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/7e85c036-7c66-4121-aa9e-0fccaf5b6304 2025-03-26 22:58:44,445 - DEBUG - ==>Verifying data for policy with id: 49d12e5b-ddea-4282-9484-38116fc4eb07, fqn: ['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-policy-allow-all-06946701'] 2025-03-26 22:58:44,445 - INFO - VN ctest-vn-98661665 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-26 22:58:44,445 - DEBUG - Verifying the vn in opserver 2025-03-26 22:58:44,445 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-98661665 virtual network link through opserver 10.0.0.37 2025-03-26 22:58:44,446 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-26 22:58:44,737 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-26 22:58:44,806 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-98661665', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-98661665?flat'} 2025-03-26 22:58:44,806 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-98661665 is found in opserver 2025-03-26 22:58:44,820 - DEBUG - Do not have enough data to verify VN in agent 2025-03-26 22:58:44,829 - DEBUG - VRF ids for VN ctest-vn-98661665: {} 2025-03-26 22:58:44,830 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-26 22:58:44,837 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9acd1c2f-c409-4ba8-a6b9-16e238118788 2025-03-26 22:58:44,850 - DEBUG - Requesting: http://10.0.0.37:8082/project/068ddf52-3c26-4cd2-9d49-bbf9a21bb560 2025-03-26 22:58:44,924 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/4840fdb1-a1cc-44f8-96de-5d92da13cb8e 2025-03-26 22:58:44,938 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/4840fdb1-a1cc-44f8-96de-5d92da13cb8e 2025-03-26 22:58:44,949 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/94f89701-fee0-4ce3-bb45-2c6ebba46539 2025-03-26 22:58:44,956 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/94f89701-fee0-4ce3-bb45-2c6ebba46539 2025-03-26 22:58:44,964 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/3a687da8-366c-4c28-b634-30c0b1a3e103 2025-03-26 22:58:44,972 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-26 22:58:44,972 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/4840fdb1-a1cc-44f8-96de-5d92da13cb8e 2025-03-26 22:58:44,982 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/94f89701-fee0-4ce3-bb45-2c6ebba46539 2025-03-26 22:58:44,999 - INFO - Verified VN network id 9 for VN 4840fdb1-a1cc-44f8-96de-5d92da13cb8e 2025-03-26 22:58:44,999 - INFO - Verifications in API Server for VN ctest-vn-18669373 passed 2025-03-26 22:58:44,999 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/4840fdb1-a1cc-44f8-96de-5d92da13cb8e 2025-03-26 22:58:45,012 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/94f89701-fee0-4ce3-bb45-2c6ebba46539 2025-03-26 22:58:45,021 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/94f89701-fee0-4ce3-bb45-2c6ebba46539 2025-03-26 22:58:45,029 - DEBUG - Requesting: http://10.0.0.37:8082/route-target/3a687da8-366c-4c28-b634-30c0b1a3e103 2025-03-26 22:58:45,043 - DEBUG - Control-node 10.0.0.37 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-18669373', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80584547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5206440108605850872', 'uuid-lslong': '10871229435824294798'}, 'enable': 'true', 'created': '2025-03-26T22:58:42', 'last-modified': '2025-03-26T22:58:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434728'} 2025-03-26 22:58:45,050 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-03-26 22:58:45,050 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-18669373 passed 2025-03-26 22:58:45,051 - DEBUG - ====Verifying policy data for ctest-vn-18669373 in API_Server ====== 2025-03-26 22:58:45,051 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-26 22:58:45,057 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9acd1c2f-c409-4ba8-a6b9-16e238118788 2025-03-26 22:58:45,069 - DEBUG - Requesting: http://10.0.0.37:8082/project/068ddf52-3c26-4cd2-9d49-bbf9a21bb560 2025-03-26 22:58:45,142 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-network/4840fdb1-a1cc-44f8-96de-5d92da13cb8e 2025-03-26 22:58:45,152 - DEBUG - ==>Verifying data for policy with id: 49d12e5b-ddea-4282-9484-38116fc4eb07, fqn: ['default-domain', 'ctest-TestBasicPolicy-80584547', 'ctest-policy-allow-all-06946701'] 2025-03-26 22:58:45,152 - INFO - VN ctest-vn-18669373 Policy verification: verify_vn_policy_in_api_server, status: True 2025-03-26 22:58:45,152 - DEBUG - Verifying the vn in opserver 2025-03-26 22:58:45,152 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-18669373 virtual network link through opserver 10.0.0.37 2025-03-26 22:58:45,152 - DEBUG - Requesting: http://10.0.0.37:8081/analytics/uves/virtual-networks 2025-03-26 22:58:45,164 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-18669373', 'href': 'http://10.0.0.37:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-18669373?flat'} 2025-03-26 22:58:45,164 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-18669373 is found in opserver 2025-03-26 22:58:45,176 - DEBUG - Do not have enough data to verify VN in agent 2025-03-26 22:58:45,181 - DEBUG - VRF ids for VN ctest-vn-18669373: {} 2025-03-26 22:58:45,238 - DEBUG - Services list from nova: [, , ] 2025-03-26 22:58:46,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2961-1) 2025-03-26 22:58:47,566 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2961-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2961-1) 2025-03-26 22:58:47,567 - INFO - Waiting for VM ctest-TestBasicPolicy-80584547-42954824 to be up.. 2025-03-26 22:58:47,664 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-26 22:58:52,746 - DEBUG - VM is in ACTIVE state now 2025-03-26 22:58:52,746 - INFO - VM name : ctest-TestBasicPolicy-80584547-42954824 2025-03-26 22:58:52,826 - DEBUG - VM ctest-TestBasicPolicy-80584547-42954824 ID is d8829100-de3c-4e11-a4b1-01692db5b0bd 2025-03-26 22:58:52,844 - DEBUG - VM ctest-TestBasicPolicy-80584547-42954824 launched on Node cn-jenkins-deploy-platform-ansible-os-2961-1 2025-03-26 22:58:52,917 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/d8829100-de3c-4e11-a4b1-01692db5b0bd 2025-03-26 22:58:52,927 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/4a33bc35-bbd9-40b1-835b-3e4c0e0c0fc7 2025-03-26 22:58:56,197 - 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 1026ms') 2025-03-26 22:58:56,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80584547-42954824 failed! 2025-03-26 22:58:56,255 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80584547:ctest-vn-98661665 is 7.56.48.129 and allocation pool is NOT set 2025-03-26 22:58:58,311 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.330 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.330/3.311/6.293/2.981 ms') 2025-03-26 22:58:58,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80584547-42954824 passed 2025-03-26 22:58:58,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 22:58:58,466 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80584547-42954824, IP 7.56.48.131, Port 22 2025-03-26 22:58:58,621 - DEBUG - VM ctest-TestBasicPolicy-80584547-42954824 is ready for SSH connections 2025-03-26 22:58:58,621 - INFO - Waiting for VM ctest-TestBasicPolicy-80584547-21654921 to be up.. 2025-03-26 22:58:58,702 - DEBUG - VM is in ACTIVE state now 2025-03-26 22:58:58,702 - INFO - VM name : ctest-TestBasicPolicy-80584547-21654921 2025-03-26 22:58:58,789 - DEBUG - VM ctest-TestBasicPolicy-80584547-21654921 ID is e7d8ad4a-ce6d-47d3-a598-737233295904 2025-03-26 22:58:58,790 - DEBUG - VM ctest-TestBasicPolicy-80584547-21654921 launched on Node cn-jenkins-deploy-platform-ansible-os-2961-1 2025-03-26 22:58:58,884 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/e7d8ad4a-ce6d-47d3-a598-737233295904 2025-03-26 22:58:58,895 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/a65bcd91-0d2a-41ed-a6bb-1268b45f8737 2025-03-26 22:59:00,140 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/2.083/3.715/1.631 ms') 2025-03-26 22:59:00,140 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80584547-21654921 passed 2025-03-26 22:59:00,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 22:59:00,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80584547-21654921, IP 189.46.245.67, Port 22 2025-03-26 22:59:00,442 - DEBUG - VM ctest-TestBasicPolicy-80584547-21654921 is ready for SSH connections 2025-03-26 22:59:00,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 22:59:00,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.46.245.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-26 22:59:00,443 - DEBUG - ping -s 56 -c 3 -W 1 189.46.245.67 2025-03-26 22:59:04,145 - DEBUG - PING 189.46.245.67 (189.46.245.67): 56 data bytes 64 bytes from 189.46.245.67: seq=0 ttl=63 time=3.746 ms 64 bytes from 189.46.245.67: seq=1 ttl=63 time=0.840 ms 64 bytes from 189.46.245.67: seq=2 ttl=63 time=0.810 ms --- 189.46.245.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.798/3.746 ms 2025-03-26 22:59:04,146 - INFO - Ping to IP 189.46.245.67 from VM ctest-TestBasicPolicy-80584547-42954824 passed 2025-03-26 22:59:04,330 - DEBUG - Policy Update Response {"network-policy": {"uuid": "49d12e5b-ddea-4282-9484-38116fc4eb07", "href": "http://10.0.0.37:8082/network-policy/49d12e5b-ddea-4282-9484-38116fc4eb07"}} 2025-03-26 22:59:04,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-26 22:59:04,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.46.245.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2025-03-26 22:59:04,330 - DEBUG - ping -s 56 -c 3 -W 1 189.46.245.67 2025-03-26 22:59:07,543 - DEBUG - PING 189.46.245.67 (189.46.245.67): 56 data bytes 64 bytes from 189.46.245.67: seq=0 ttl=63 time=1.356 ms --- 189.46.245.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.356/1.356/1.356 ms 2025-03-26 22:59:07,543 - WARNING - Ping to IP 189.46.245.67 from VM ctest-TestBasicPolicy-80584547-42954824 failed 2025-03-26 22:59:07,543 - INFO - Deleting VM ctest-TestBasicPolicy-80584547-21654921 2025-03-26 22:59:07,608 - INFO - Deleting VM ctest-TestBasicPolicy-80584547-42954824 2025-03-26 22:59:08,040 - INFO - Deleted policy ctest-policy-allow-all-06946701 2025-03-26 22:59:08,040 - INFO - Deleting VN ctest-vn-18669373 2025-03-26 22:59:08,075 - DEBUG - VN 4840fdb1-a1cc-44f8-96de-5d92da13cb8e still in use: Unable to complete operation on network 4840fdb1-a1cc-44f8-96de-5d92da13cb8e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea17435c-8cf8-4700-b25d-6ed9de7d62b7'] 2025-03-26 22:59:08,075 - WARNING - Deleting VN ctest-vn-18669373 failed..Will retry 2025-03-26 22:59:10,190 - DEBUG - Response for deleting network () 2025-03-26 22:59:10,190 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/94f89701-fee0-4ce3-bb45-2c6ebba46539 2025-03-26 22:59:10,196 - DEBUG - Response Code: 404 2025-03-26 22:59:10,197 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-26 22:59:10,203 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9acd1c2f-c409-4ba8-a6b9-16e238118788 2025-03-26 22:59:10,262 - DEBUG - Requesting: http://10.0.0.37:8082/project/068ddf52-3c26-4cd2-9d49-bbf9a21bb560 2025-03-26 22:59:10,342 - INFO - Validated that VN ctest-vn-18669373 is not found in API Server 2025-03-26 22:59:10,355 - DEBUG - VN ctest-vn-18669373 is not present in Agent 10.0.0.37 2025-03-26 22:59:10,355 - INFO - Validated that VN ctest-vn-18669373 is not in any agent 2025-03-26 22:59:10,372 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-18669373 info 2025-03-26 22:59:10,372 - INFO - Deleting VN ctest-vn-98661665 2025-03-26 22:59:10,487 - DEBUG - Response for deleting network () 2025-03-26 22:59:10,487 - DEBUG - Requesting: http://10.0.0.37:8082/routing-instance/2a62b43e-67f6-4abc-810d-a833e2c11341 2025-03-26 22:59:10,494 - DEBUG - Response Code: 404 2025-03-26 22:59:10,494 - DEBUG - Requesting: http://10.0.0.37:8082/domains 2025-03-26 22:59:10,500 - DEBUG - Requesting: http://10.0.0.37:8082/domain/9acd1c2f-c409-4ba8-a6b9-16e238118788 2025-03-26 22:59:10,557 - DEBUG - Requesting: http://10.0.0.37:8082/project/068ddf52-3c26-4cd2-9d49-bbf9a21bb560 2025-03-26 22:59:10,638 - INFO - Validated that VN ctest-vn-98661665 is not found in API Server 2025-03-26 22:59:10,650 - DEBUG - VN ctest-vn-98661665 is not present in Agent 10.0.0.37 2025-03-26 22:59:10,650 - INFO - Validated that VN ctest-vn-98661665 is not in any agent 2025-03-26 22:59:10,668 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98661665 info 2025-03-26 22:59:10,925 - DEBUG - No XMPP flaps were noticed during the test 2025-03-26 22:59:10,925 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-03-26 22:59:10,925 - INFO - -------------------------------------------------------------------------------- 2025-03-26 22:59:11,607 - INFO - Deleted project: ctest-TestBasicPolicy-80584547, ID : 068ddf52-3c26-4cd2-9d49-bbf9a21bb560