2025-08-31 04:50:38,103 - INFO - Domain Default found not creating 2025-08-31 04:50:38,231 - INFO - Project ctest-TestBasicPolicy-76212262 not found, creating it 2025-08-31 04:50:38,668 - INFO - Created Project:ctest-TestBasicPolicy-76212262, ID : c09db8a8-0d39-4c04-bb99-ff0fbc312c56 2025-08-31 04:50:40,065 - INFO - ================================================================================ 2025-08-31 04:50:40,065 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-31 04:50:40,065 - 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-08-31 04:50:40,319 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-31 04:50:40,319 - INFO - Initial checks done. Running the testcase now 2025-08-31 04:50:40,319 - INFO - 2025-08-31 04:50:40,837 - DEBUG - Response for create_network : {'network': {'id': 'a1f491ed-135e-4a05-8e81-dcfca214a84e', 'name': 'ctest-vn-65320825', 'tenant_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'project_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-vn-65320825'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:50:41,036 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c24c08fc-1b1a-4ac5-934e-5c341b0ba9e5', 'name': '', 'tenant_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'network_id': 'a1f491ed-135e-4a05-8e81-dcfca214a84e', 'ip_version': 4, 'cidr': '157.105.130.128/26', 'allocation_pools': [{'start': '157.105.130.130', 'end': '157.105.130.190'}], 'gateway_ip': '157.105.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.105.130.130', 'tags': [], 'project_id': 'c09db8a80d394c04bb99ff0fbc312c56'}} 2025-08-31 04:50:41,055 - INFO - Created VN ctest-vn-65320825 2025-08-31 04:50:41,109 - DEBUG - VN ctest-vn-65320825 UUID is a1f491ed-135e-4a05-8e81-dcfca214a84e 2025-08-31 04:50:41,416 - DEBUG - Response for create_network : {'network': {'id': 'eb6095a9-9702-4ea2-adb3-d4b0fb628aef', 'name': 'ctest-vn-85917755', 'tenant_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'project_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-vn-85917755'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:50:41,603 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfb2a975-bad4-43b4-ad04-231622530d95', 'name': '', 'tenant_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'network_id': 'eb6095a9-9702-4ea2-adb3-d4b0fb628aef', 'ip_version': 4, 'cidr': '173.236.154.0/26', 'allocation_pools': [{'start': '173.236.154.2', 'end': '173.236.154.62'}], 'gateway_ip': '173.236.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.236.154.2', 'tags': [], 'project_id': 'c09db8a80d394c04bb99ff0fbc312c56'}} 2025-08-31 04:50:41,618 - INFO - Created VN ctest-vn-85917755 2025-08-31 04:50:41,669 - DEBUG - VN ctest-vn-85917755 UUID is eb6095a9-9702-4ea2-adb3-d4b0fb628aef 2025-08-31 04:50:41,821 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-65320825, 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-76212262:ctest-vn-85917755, 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-08-31 04:50:42,136 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1f491ed-135e-4a05-8e81-dcfca214a84e', 'name': 'ctest-vn-65320825', 'tenant_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'project_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c24c08fc-1b1a-4ac5-934e-5c341b0ba9e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-vn-65320825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-policy-allow-all-43886464']], 'subnet_ipam': [{'subnet_cidr': '157.105.130.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:50:42,369 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb6095a9-9702-4ea2-adb3-d4b0fb628aef', 'name': 'ctest-vn-85917755', 'tenant_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'project_id': 'c09db8a80d394c04bb99ff0fbc312c56', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfb2a975-bad4-43b4-ad04-231622530d95'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-vn-85917755'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-policy-allow-all-43886464']], 'subnet_ipam': [{'subnet_cidr': '173.236.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 04:50:42,525 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 04:50:42,827 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 04:50:42,854 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f35531d7-55d8-4054-8913-bc0315ee7054 2025-08-31 04:50:42,865 - DEBUG - Requesting: http://10.0.0.50:8082/project/c09db8a8-0d39-4c04-bb99-ff0fbc312c56 2025-08-31 04:50:42,947 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1f491ed-135e-4a05-8e81-dcfca214a84e 2025-08-31 04:50:42,960 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1f491ed-135e-4a05-8e81-dcfca214a84e 2025-08-31 04:50:42,970 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a562c504-db0a-4a57-8dc5-64ce73620609 2025-08-31 04:50:42,981 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a562c504-db0a-4a57-8dc5-64ce73620609 2025-08-31 04:50:42,989 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fd52adc1-c39e-45a3-98c5-0f7b70ea9342 2025-08-31 04:50:42,997 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 04:50:42,997 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1f491ed-135e-4a05-8e81-dcfca214a84e 2025-08-31 04:50:43,006 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a562c504-db0a-4a57-8dc5-64ce73620609 2025-08-31 04:50:43,019 - INFO - Verified VN network id 12 for VN a1f491ed-135e-4a05-8e81-dcfca214a84e 2025-08-31 04:50:43,019 - INFO - Verifications in API Server for VN ctest-vn-65320825 passed 2025-08-31 04:50:43,019 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1f491ed-135e-4a05-8e81-dcfca214a84e 2025-08-31 04:50:43,027 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a562c504-db0a-4a57-8dc5-64ce73620609 2025-08-31 04:50:43,033 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a562c504-db0a-4a57-8dc5-64ce73620609 2025-08-31 04:50:43,041 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fd52adc1-c39e-45a3-98c5-0f7b70ea9342 2025-08-31 04:50:43,052 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-65320825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76212262', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11670112981842020869', 'uuid-lslong': '10268731602990573646'}, 'enable': 'true', 'created': '2025-08-31T04:50:40', 'last-modified': '2025-08-31T04:50:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948683'} 2025-08-31 04:50:43,057 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 04:50:43,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65320825 passed 2025-08-31 04:50:43,058 - DEBUG - ====Verifying policy data for ctest-vn-65320825 in API_Server ====== 2025-08-31 04:50:43,058 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 04:50:43,062 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f35531d7-55d8-4054-8913-bc0315ee7054 2025-08-31 04:50:43,072 - DEBUG - Requesting: http://10.0.0.50:8082/project/c09db8a8-0d39-4c04-bb99-ff0fbc312c56 2025-08-31 04:50:43,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1f491ed-135e-4a05-8e81-dcfca214a84e 2025-08-31 04:50:43,151 - DEBUG - ==>Verifying data for policy with id: af995212-0257-47a1-a0a5-e7a5ba60ca7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-policy-allow-all-43886464'] 2025-08-31 04:50:43,151 - INFO - VN ctest-vn-65320825 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 04:50:43,151 - DEBUG - Verifying the vn in opserver 2025-08-31 04:50:43,151 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-65320825 virtual network link through opserver 10.0.0.50 2025-08-31 04:50:43,151 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-31 04:50:43,444 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-31 04:50:43,496 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-65320825', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-65320825?flat'} 2025-08-31 04:50:43,496 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-65320825 is found in opserver 2025-08-31 04:50:43,506 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 04:50:43,510 - DEBUG - VRF ids for VN ctest-vn-65320825: {} 2025-08-31 04:50:43,510 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 04:50:43,515 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f35531d7-55d8-4054-8913-bc0315ee7054 2025-08-31 04:50:43,524 - DEBUG - Requesting: http://10.0.0.50:8082/project/c09db8a8-0d39-4c04-bb99-ff0fbc312c56 2025-08-31 04:50:43,600 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eb6095a9-9702-4ea2-adb3-d4b0fb628aef 2025-08-31 04:50:43,614 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eb6095a9-9702-4ea2-adb3-d4b0fb628aef 2025-08-31 04:50:43,622 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6466eaf9-6d88-43bb-ad13-dfb7ca04b3b5 2025-08-31 04:50:43,628 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6466eaf9-6d88-43bb-ad13-dfb7ca04b3b5 2025-08-31 04:50:43,633 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4ea805fd-00fc-4581-9486-55765d12a5ec 2025-08-31 04:50:43,639 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 04:50:43,639 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eb6095a9-9702-4ea2-adb3-d4b0fb628aef 2025-08-31 04:50:43,645 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6466eaf9-6d88-43bb-ad13-dfb7ca04b3b5 2025-08-31 04:50:43,658 - INFO - Verified VN network id 13 for VN eb6095a9-9702-4ea2-adb3-d4b0fb628aef 2025-08-31 04:50:43,658 - INFO - Verifications in API Server for VN ctest-vn-85917755 passed 2025-08-31 04:50:43,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eb6095a9-9702-4ea2-adb3-d4b0fb628aef 2025-08-31 04:50:43,666 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6466eaf9-6d88-43bb-ad13-dfb7ca04b3b5 2025-08-31 04:50:43,671 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6466eaf9-6d88-43bb-ad13-dfb7ca04b3b5 2025-08-31 04:50:43,677 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4ea805fd-00fc-4581-9486-55765d12a5ec 2025-08-31 04:50:43,688 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-85917755', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76212262', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16960720752292810402', 'uuid-lslong': '12516581645989612271'}, 'enable': 'true', 'created': '2025-08-31T04:50:41', 'last-modified': '2025-08-31T04:50:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.335795'} 2025-08-31 04:50:43,694 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 04:50:43,694 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85917755 passed 2025-08-31 04:50:43,695 - DEBUG - ====Verifying policy data for ctest-vn-85917755 in API_Server ====== 2025-08-31 04:50:43,695 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 04:50:43,699 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f35531d7-55d8-4054-8913-bc0315ee7054 2025-08-31 04:50:43,707 - DEBUG - Requesting: http://10.0.0.50:8082/project/c09db8a8-0d39-4c04-bb99-ff0fbc312c56 2025-08-31 04:50:43,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/eb6095a9-9702-4ea2-adb3-d4b0fb628aef 2025-08-31 04:50:43,782 - DEBUG - ==>Verifying data for policy with id: af995212-0257-47a1-a0a5-e7a5ba60ca7e, fqn: ['default-domain', 'ctest-TestBasicPolicy-76212262', 'ctest-policy-allow-all-43886464'] 2025-08-31 04:50:43,782 - INFO - VN ctest-vn-85917755 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 04:50:43,782 - DEBUG - Verifying the vn in opserver 2025-08-31 04:50:43,782 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-85917755 virtual network link through opserver 10.0.0.50 2025-08-31 04:50:43,782 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-31 04:50:43,791 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-85917755', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-85917755?flat'} 2025-08-31 04:50:43,791 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-85917755 is found in opserver 2025-08-31 04:50:43,799 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 04:50:43,804 - DEBUG - VRF ids for VN ctest-vn-85917755: {} 2025-08-31 04:50:43,870 - DEBUG - Services list from nova: [, , ] 2025-08-31 04:50:44,833 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1) 2025-08-31 04:50:45,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3987-1) 2025-08-31 04:50:45,882 - INFO - Waiting for VM ctest-TestBasicPolicy-76212262-82040057 to be up.. 2025-08-31 04:50:45,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 04:50:51,015 - DEBUG - VM is in ACTIVE state now 2025-08-31 04:50:51,015 - INFO - VM name : ctest-TestBasicPolicy-76212262-82040057 2025-08-31 04:50:51,083 - DEBUG - VM ctest-TestBasicPolicy-76212262-82040057 ID is aafb650b-d615-47ef-bb70-2ef8fdfe63a2 2025-08-31 04:50:51,100 - DEBUG - VM ctest-TestBasicPolicy-76212262-82040057 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1 2025-08-31 04:50:51,164 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aafb650b-d615-47ef-bb70-2ef8fdfe63a2 2025-08-31 04:50:51,171 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1544b7a7-5253-419f-8841-39da55acfb20 2025-08-31 04:50:54,432 - 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 1031ms') 2025-08-31 04:50:54,432 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76212262-82040057 failed! 2025-08-31 04:50:54,485 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76212262:ctest-vn-65320825 is 157.105.130.129 and allocation pool is NOT set 2025-08-31 04:50:56,551 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.911 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.911/1.939/2.967/1.028 ms') 2025-08-31 04:50:56,551 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76212262-82040057 passed 2025-08-31 04:50:56,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:50:56,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76212262-82040057, IP 157.105.130.131, Port 22 2025-08-31 04:50:56,869 - DEBUG - VM ctest-TestBasicPolicy-76212262-82040057 is ready for SSH connections 2025-08-31 04:50:56,869 - INFO - Waiting for VM ctest-TestBasicPolicy-76212262-02530500 to be up.. 2025-08-31 04:50:56,939 - DEBUG - VM is in ACTIVE state now 2025-08-31 04:50:56,939 - INFO - VM name : ctest-TestBasicPolicy-76212262-02530500 2025-08-31 04:50:57,006 - DEBUG - VM ctest-TestBasicPolicy-76212262-02530500 ID is 9415472f-26e1-497d-8c0a-8f148ff30a70 2025-08-31 04:50:57,006 - DEBUG - VM ctest-TestBasicPolicy-76212262-02530500 launched on Node cn-jenkins-deploy-platform-ansible-os-3987-1 2025-08-31 04:50:57,080 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9415472f-26e1-497d-8c0a-8f148ff30a70 2025-08-31 04:50:57,089 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7da68ea9-57bc-40ea-ac7c-fad8857195be 2025-08-31 04:50:58,340 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.664 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.664/1.684/2.704/1.020 ms') 2025-08-31 04:50:58,340 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76212262-02530500 passed 2025-08-31 04:50:58,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:50:58,485 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76212262-02530500, IP 173.236.154.3, Port 22 2025-08-31 04:50:58,641 - DEBUG - VM ctest-TestBasicPolicy-76212262-02530500 is ready for SSH connections 2025-08-31 04:50:58,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:50:58,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.236.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:50:58,641 - DEBUG - ping -s 56 -c 3 -W 1 173.236.154.3 2025-08-31 04:51:02,346 - DEBUG - PING 173.236.154.3 (173.236.154.3): 56 data bytes 64 bytes from 173.236.154.3: seq=0 ttl=63 time=3.097 ms 64 bytes from 173.236.154.3: seq=1 ttl=63 time=0.999 ms 64 bytes from 173.236.154.3: seq=2 ttl=63 time=0.655 ms --- 173.236.154.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.655/1.583/3.097 ms 2025-08-31 04:51:02,346 - INFO - Ping to IP 173.236.154.3 from VM ctest-TestBasicPolicy-76212262-82040057 passed 2025-08-31 04:51:02,513 - DEBUG - Policy Update Response {"network-policy": {"uuid": "af995212-0257-47a1-a0a5-e7a5ba60ca7e", "href": "http://10.0.0.50:8082/network-policy/af995212-0257-47a1-a0a5-e7a5ba60ca7e"}} 2025-08-31 04:51:02,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 04:51:02,513 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.236.154.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-31 04:51:02,513 - DEBUG - ping -s 56 -c 3 -W 1 173.236.154.3 2025-08-31 04:51:05,712 - DEBUG - PING 173.236.154.3 (173.236.154.3): 56 data bytes --- 173.236.154.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 04:51:05,712 - WARNING - Ping to IP 173.236.154.3 from VM ctest-TestBasicPolicy-76212262-82040057 failed 2025-08-31 04:51:05,712 - INFO - Deleting VM ctest-TestBasicPolicy-76212262-02530500 2025-08-31 04:51:05,775 - INFO - Deleting VM ctest-TestBasicPolicy-76212262-82040057 2025-08-31 04:51:06,112 - INFO - Deleted policy ctest-policy-allow-all-43886464 2025-08-31 04:51:06,112 - INFO - Deleting VN ctest-vn-85917755 2025-08-31 04:51:06,146 - DEBUG - VN eb6095a9-9702-4ea2-adb3-d4b0fb628aef still in use: Unable to complete operation on network eb6095a9-9702-4ea2-adb3-d4b0fb628aef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbda4d91-b212-4509-aa8d-50ec435bbfba'] 2025-08-31 04:51:06,146 - WARNING - Deleting VN ctest-vn-85917755 failed..Will retry 2025-08-31 04:51:08,244 - DEBUG - Response for deleting network () 2025-08-31 04:51:08,244 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6466eaf9-6d88-43bb-ad13-dfb7ca04b3b5 2025-08-31 04:51:08,251 - DEBUG - Response Code: 404 2025-08-31 04:51:08,251 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 04:51:08,256 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f35531d7-55d8-4054-8913-bc0315ee7054 2025-08-31 04:51:08,307 - DEBUG - Requesting: http://10.0.0.50:8082/project/c09db8a8-0d39-4c04-bb99-ff0fbc312c56 2025-08-31 04:51:08,381 - INFO - Validated that VN ctest-vn-85917755 is not found in API Server 2025-08-31 04:51:08,394 - DEBUG - VN ctest-vn-85917755 is not present in Agent 10.0.0.50 2025-08-31 04:51:08,394 - INFO - Validated that VN ctest-vn-85917755 is not in any agent 2025-08-31 04:51:08,408 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85917755 info 2025-08-31 04:51:08,408 - INFO - Deleting VN ctest-vn-65320825 2025-08-31 04:51:08,509 - DEBUG - Response for deleting network () 2025-08-31 04:51:08,509 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a562c504-db0a-4a57-8dc5-64ce73620609 2025-08-31 04:51:08,515 - DEBUG - Response Code: 404 2025-08-31 04:51:08,515 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-08-31 04:51:08,519 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f35531d7-55d8-4054-8913-bc0315ee7054 2025-08-31 04:51:08,574 - DEBUG - Requesting: http://10.0.0.50:8082/project/c09db8a8-0d39-4c04-bb99-ff0fbc312c56 2025-08-31 04:51:08,649 - INFO - Validated that VN ctest-vn-65320825 is not found in API Server 2025-08-31 04:51:08,658 - DEBUG - VN ctest-vn-65320825 is not present in Agent 10.0.0.50 2025-08-31 04:51:08,658 - INFO - Validated that VN ctest-vn-65320825 is not in any agent 2025-08-31 04:51:08,669 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65320825 info 2025-08-31 04:51:08,922 - DEBUG - No XMPP flaps were noticed during the test
2025-08-31 04:51:08,922 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-31 04:51:08,922 - INFO - -------------------------------------------------------------------------------- 2025-08-31 04:51:09,581 - INFO - Deleted project: ctest-TestBasicPolicy-76212262, ID : c09db8a8-0d39-4c04-bb99-ff0fbc312c56