2025-10-08 12:49:48,035 - INFO - Domain Default found not creating 2025-10-08 12:49:48,171 - INFO - Project ctest-TestBasicPolicy-19794268 not found, creating it 2025-10-08 12:49:48,604 - INFO - Created Project:ctest-TestBasicPolicy-19794268, ID : 1eda5d24-9e5c-4881-9a9c-74ef6e64e93f 2025-10-08 12:49:50,532 - INFO - ================================================================================ 2025-10-08 12:49:50,532 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-08 12:49:50,532 - 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-10-08 12:49:50,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-08 12:49:50,786 - INFO - Initial checks done. Running the testcase now 2025-10-08 12:49:50,786 - INFO - 2025-10-08 12:49:51,289 - DEBUG - Response for create_network : {'network': {'id': '304e9f4c-45ae-43c7-91d5-03e0adc56f3c', 'name': 'ctest-vn-24861962', 'tenant_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'project_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-vn-24861962'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 12:49:51,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '305af033-4f67-4aa4-b7c3-1cf0815d2fd5', 'name': '', 'tenant_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'network_id': '304e9f4c-45ae-43c7-91d5-03e0adc56f3c', 'ip_version': 4, 'cidr': '205.113.43.192/26', 'allocation_pools': [{'start': '205.113.43.194', 'end': '205.113.43.254'}], 'gateway_ip': '205.113.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.113.43.194', 'tags': [], 'project_id': '1eda5d249e5c48819a9c74ef6e64e93f'}} 2025-10-08 12:49:51,490 - INFO - Created VN ctest-vn-24861962 2025-10-08 12:49:51,542 - DEBUG - VN ctest-vn-24861962 UUID is 304e9f4c-45ae-43c7-91d5-03e0adc56f3c 2025-10-08 12:49:51,848 - DEBUG - Response for create_network : {'network': {'id': 'a1d13722-7f4b-424f-bc23-57aa4db4eca1', 'name': 'ctest-vn-54552671', 'tenant_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'project_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-vn-54552671'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 12:49:52,047 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fedbd77d-92dd-4ed9-9f61-29264042d3a3', 'name': '', 'tenant_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'network_id': 'a1d13722-7f4b-424f-bc23-57aa4db4eca1', 'ip_version': 4, 'cidr': '147.204.37.128/26', 'allocation_pools': [{'start': '147.204.37.130', 'end': '147.204.37.190'}], 'gateway_ip': '147.204.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.204.37.130', 'tags': [], 'project_id': '1eda5d249e5c48819a9c74ef6e64e93f'}} 2025-10-08 12:49:52,063 - INFO - Created VN ctest-vn-54552671 2025-10-08 12:49:52,114 - DEBUG - VN ctest-vn-54552671 UUID is a1d13722-7f4b-424f-bc23-57aa4db4eca1 2025-10-08 12:49:52,265 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-24861962, 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-19794268:ctest-vn-54552671, 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-10-08 12:49:52,557 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '304e9f4c-45ae-43c7-91d5-03e0adc56f3c', 'name': 'ctest-vn-24861962', 'tenant_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'project_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['305af033-4f67-4aa4-b7c3-1cf0815d2fd5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-vn-24861962'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-policy-allow-all-52409927']], 'subnet_ipam': [{'subnet_cidr': '205.113.43.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 12:49:52,828 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1d13722-7f4b-424f-bc23-57aa4db4eca1', 'name': 'ctest-vn-54552671', 'tenant_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'project_id': '1eda5d249e5c48819a9c74ef6e64e93f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fedbd77d-92dd-4ed9-9f61-29264042d3a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-vn-54552671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-policy-allow-all-52409927']], 'subnet_ipam': [{'subnet_cidr': '147.204.37.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-08 12:49:52,982 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-08 12:49:53,272 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-08 12:49:53,297 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccda1354-36e4-4eba-bf2a-3d55d380c7d4 2025-10-08 12:49:53,308 - DEBUG - Requesting: http://10.0.0.254:8082/project/1eda5d24-9e5c-4881-9a9c-74ef6e64e93f 2025-10-08 12:49:53,386 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/304e9f4c-45ae-43c7-91d5-03e0adc56f3c 2025-10-08 12:49:53,398 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/304e9f4c-45ae-43c7-91d5-03e0adc56f3c 2025-10-08 12:49:53,408 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/15d5ddcd-29bc-49fb-9b57-97c0c5d462ff 2025-10-08 12:49:53,416 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/15d5ddcd-29bc-49fb-9b57-97c0c5d462ff 2025-10-08 12:49:53,423 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ae7e5b96-0745-4f74-a223-7c9493edbcbd 2025-10-08 12:49:53,428 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 12:49:53,428 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/304e9f4c-45ae-43c7-91d5-03e0adc56f3c 2025-10-08 12:49:53,436 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/15d5ddcd-29bc-49fb-9b57-97c0c5d462ff 2025-10-08 12:49:53,448 - INFO - Verified VN network id 11 for VN 304e9f4c-45ae-43c7-91d5-03e0adc56f3c 2025-10-08 12:49:53,448 - INFO - Verifications in API Server for VN ctest-vn-24861962 passed 2025-10-08 12:49:53,448 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/304e9f4c-45ae-43c7-91d5-03e0adc56f3c 2025-10-08 12:49:53,457 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/15d5ddcd-29bc-49fb-9b57-97c0c5d462ff 2025-10-08 12:49:53,466 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/15d5ddcd-29bc-49fb-9b57-97c0c5d462ff 2025-10-08 12:49:53,473 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ae7e5b96-0745-4f74-a223-7c9493edbcbd 2025-10-08 12:49:53,486 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-24861962', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19794268', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3480894711939351495', 'uuid-lslong': '10508309569061875516'}, 'enable': 'true', 'created': '2025-10-08T12:49:51', 'last-modified': '2025-10-08T12:49:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948939'} 2025-10-08 12:49:53,493 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-08 12:49:53,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24861962 passed 2025-10-08 12:49:53,493 - DEBUG - ====Verifying policy data for ctest-vn-24861962 in API_Server ====== 2025-10-08 12:49:53,494 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-08 12:49:53,499 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccda1354-36e4-4eba-bf2a-3d55d380c7d4 2025-10-08 12:49:53,509 - DEBUG - Requesting: http://10.0.0.254:8082/project/1eda5d24-9e5c-4881-9a9c-74ef6e64e93f 2025-10-08 12:49:53,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/304e9f4c-45ae-43c7-91d5-03e0adc56f3c 2025-10-08 12:49:53,585 - DEBUG - ==>Verifying data for policy with id: 71baeb4d-ec54-45b3-81ac-b4cef9b9394d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-policy-allow-all-52409927'] 2025-10-08 12:49:53,585 - INFO - VN ctest-vn-24861962 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 12:49:53,585 - DEBUG - Verifying the vn in opserver 2025-10-08 12:49:53,585 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-24861962 virtual network link through opserver 10.0.0.254 2025-10-08 12:49:53,586 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-08 12:49:53,873 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-08 12:49:53,920 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-24861962', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-24861962?flat'} 2025-10-08 12:49:53,920 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-24861962 is found in opserver 2025-10-08 12:49:53,929 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 12:49:53,932 - DEBUG - VRF ids for VN ctest-vn-24861962: {} 2025-10-08 12:49:53,933 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-08 12:49:53,937 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccda1354-36e4-4eba-bf2a-3d55d380c7d4 2025-10-08 12:49:53,946 - DEBUG - Requesting: http://10.0.0.254:8082/project/1eda5d24-9e5c-4881-9a9c-74ef6e64e93f 2025-10-08 12:49:54,013 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1d13722-7f4b-424f-bc23-57aa4db4eca1 2025-10-08 12:49:54,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1d13722-7f4b-424f-bc23-57aa4db4eca1 2025-10-08 12:49:54,031 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ed86a304-979e-4d93-b379-2cc22f4f2aa5 2025-10-08 12:49:54,037 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ed86a304-979e-4d93-b379-2cc22f4f2aa5 2025-10-08 12:49:54,043 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3c5918c8-e065-41d7-b8d8-ebdcb2d34c8b 2025-10-08 12:49:54,048 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 12:49:54,048 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1d13722-7f4b-424f-bc23-57aa4db4eca1 2025-10-08 12:49:54,056 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ed86a304-979e-4d93-b379-2cc22f4f2aa5 2025-10-08 12:49:54,067 - INFO - Verified VN network id 12 for VN a1d13722-7f4b-424f-bc23-57aa4db4eca1 2025-10-08 12:49:54,067 - INFO - Verifications in API Server for VN ctest-vn-54552671 passed 2025-10-08 12:49:54,067 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1d13722-7f4b-424f-bc23-57aa4db4eca1 2025-10-08 12:49:54,075 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ed86a304-979e-4d93-b379-2cc22f4f2aa5 2025-10-08 12:49:54,081 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ed86a304-979e-4d93-b379-2cc22f4f2aa5 2025-10-08 12:49:54,086 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3c5918c8-e065-41d7-b8d8-ebdcb2d34c8b 2025-10-08 12:49:54,095 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-54552671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19794268', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11660161531542979151', 'uuid-lslong': '13556775692275084449'}, 'enable': 'true', 'created': '2025-10-08T12:49:51', 'last-modified': '2025-10-08T12:49:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.335336'} 2025-10-08 12:49:54,100 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-08 12:49:54,101 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54552671 passed 2025-10-08 12:49:54,101 - DEBUG - ====Verifying policy data for ctest-vn-54552671 in API_Server ====== 2025-10-08 12:49:54,101 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-08 12:49:54,106 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccda1354-36e4-4eba-bf2a-3d55d380c7d4 2025-10-08 12:49:54,116 - DEBUG - Requesting: http://10.0.0.254:8082/project/1eda5d24-9e5c-4881-9a9c-74ef6e64e93f 2025-10-08 12:49:54,180 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a1d13722-7f4b-424f-bc23-57aa4db4eca1 2025-10-08 12:49:54,187 - DEBUG - ==>Verifying data for policy with id: 71baeb4d-ec54-45b3-81ac-b4cef9b9394d, fqn: ['default-domain', 'ctest-TestBasicPolicy-19794268', 'ctest-policy-allow-all-52409927'] 2025-10-08 12:49:54,187 - INFO - VN ctest-vn-54552671 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-08 12:49:54,188 - DEBUG - Verifying the vn in opserver 2025-10-08 12:49:54,188 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-54552671 virtual network link through opserver 10.0.0.254 2025-10-08 12:49:54,188 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-08 12:49:54,195 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-54552671', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-54552671?flat'} 2025-10-08 12:49:54,195 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-54552671 is found in opserver 2025-10-08 12:49:54,203 - DEBUG - Do not have enough data to verify VN in agent 2025-10-08 12:49:54,207 - DEBUG - VRF ids for VN ctest-vn-54552671: {} 2025-10-08 12:49:54,256 - DEBUG - Services list from nova: [, , ] 2025-10-08 12:49:55,216 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1) 2025-10-08 12:49:56,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1) 2025-10-08 12:49:56,283 - INFO - Waiting for VM ctest-TestBasicPolicy-19794268-06723823 to be up.. 2025-10-08 12:49:56,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 12:50:01,422 - DEBUG - VM is in ACTIVE state now 2025-10-08 12:50:01,422 - INFO - VM name : ctest-TestBasicPolicy-19794268-06723823 2025-10-08 12:50:01,488 - DEBUG - VM ctest-TestBasicPolicy-19794268-06723823 ID is a9f100fa-4769-4d8f-b310-ead65dad10d2 2025-10-08 12:50:01,507 - DEBUG - VM ctest-TestBasicPolicy-19794268-06723823 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1 2025-10-08 12:50:01,568 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a9f100fa-4769-4d8f-b310-ead65dad10d2 2025-10-08 12:50:01,576 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c9af9481-6ecc-4e42-bbbc-aef83fc72758 2025-10-08 12:50:04,825 - 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 1019ms') 2025-10-08 12:50:04,826 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19794268-06723823 failed! 2025-10-08 12:50:04,882 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19794268:ctest-vn-24861962 is 205.113.43.193 and allocation pool is NOT set 2025-10-08 12:50:06,948 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/2.156/3.869/1.713 ms') 2025-10-08 12:50:06,948 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19794268-06723823 passed 2025-10-08 12:50:07,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:50:07,094 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19794268-06723823, IP 205.113.43.195, Port 22 2025-10-08 12:50:07,245 - DEBUG - VM ctest-TestBasicPolicy-19794268-06723823 is ready for SSH connections 2025-10-08 12:50:07,245 - INFO - Waiting for VM ctest-TestBasicPolicy-19794268-98255423 to be up.. 2025-10-08 12:50:07,316 - DEBUG - VM is in ACTIVE state now 2025-10-08 12:50:07,316 - INFO - VM name : ctest-TestBasicPolicy-19794268-98255423 2025-10-08 12:50:07,381 - DEBUG - VM ctest-TestBasicPolicy-19794268-98255423 ID is b206340b-41a3-4643-af9c-e0f1cc6e6281 2025-10-08 12:50:07,381 - DEBUG - VM ctest-TestBasicPolicy-19794268-98255423 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1 2025-10-08 12:50:07,450 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b206340b-41a3-4643-af9c-e0f1cc6e6281 2025-10-08 12:50:07,456 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9ab788fe-1e56-4ea1-9b9c-974db7f0e0cf 2025-10-08 12:50:08,682 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.674/2.960/1.285 ms') 2025-10-08 12:50:08,682 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19794268-98255423 passed 2025-10-08 12:50:08,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:50:08,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19794268-98255423, IP 147.204.37.131, Port 22 2025-10-08 12:50:08,985 - DEBUG - VM ctest-TestBasicPolicy-19794268-98255423 is ready for SSH connections 2025-10-08 12:50:08,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:50:08,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.204.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 12:50:08,985 - DEBUG - ping -s 56 -c 3 -W 1 147.204.37.131 2025-10-08 12:50:12,658 - DEBUG - PING 147.204.37.131 (147.204.37.131): 56 data bytes 64 bytes from 147.204.37.131: seq=0 ttl=63 time=3.557 ms 64 bytes from 147.204.37.131: seq=1 ttl=63 time=0.733 ms 64 bytes from 147.204.37.131: seq=2 ttl=63 time=0.762 ms --- 147.204.37.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.733/1.684/3.557 ms 2025-10-08 12:50:12,659 - INFO - Ping to IP 147.204.37.131 from VM ctest-TestBasicPolicy-19794268-06723823 passed 2025-10-08 12:50:12,829 - DEBUG - Policy Update Response {"network-policy": {"uuid": "71baeb4d-ec54-45b3-81ac-b4cef9b9394d", "href": "http://10.0.0.254:8082/network-policy/71baeb4d-ec54-45b3-81ac-b4cef9b9394d"}} 2025-10-08 12:50:12,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:50:12,830 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.204.37.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 12:50:12,830 - DEBUG - ping -s 56 -c 3 -W 1 147.204.37.131 2025-10-08 12:50:16,042 - DEBUG - PING 147.204.37.131 (147.204.37.131): 56 data bytes --- 147.204.37.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 12:50:16,042 - WARNING - Ping to IP 147.204.37.131 from VM ctest-TestBasicPolicy-19794268-06723823 failed 2025-10-08 12:50:16,042 - INFO - Deleting VM ctest-TestBasicPolicy-19794268-98255423 2025-10-08 12:50:16,101 - INFO - Deleting VM ctest-TestBasicPolicy-19794268-06723823 2025-10-08 12:50:16,455 - INFO - Deleted policy ctest-policy-allow-all-52409927 2025-10-08 12:50:16,455 - INFO - Deleting VN ctest-vn-54552671 2025-10-08 12:50:16,487 - DEBUG - VN a1d13722-7f4b-424f-bc23-57aa4db4eca1 still in use: Unable to complete operation on network a1d13722-7f4b-424f-bc23-57aa4db4eca1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c632ee03-95fc-4915-9eb1-6c91df95d63c'] 2025-10-08 12:50:16,487 - WARNING - Deleting VN ctest-vn-54552671 failed..Will retry 2025-10-08 12:50:18,586 - DEBUG - Response for deleting network () 2025-10-08 12:50:18,586 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ed86a304-979e-4d93-b379-2cc22f4f2aa5 2025-10-08 12:50:18,591 - DEBUG - Response Code: 404 2025-10-08 12:50:18,592 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-08 12:50:18,596 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccda1354-36e4-4eba-bf2a-3d55d380c7d4 2025-10-08 12:50:18,654 - DEBUG - Requesting: http://10.0.0.254:8082/project/1eda5d24-9e5c-4881-9a9c-74ef6e64e93f 2025-10-08 12:50:18,726 - INFO - Validated that VN ctest-vn-54552671 is not found in API Server 2025-10-08 12:50:18,736 - DEBUG - VN ctest-vn-54552671 is not present in Agent 10.0.0.254 2025-10-08 12:50:18,736 - INFO - Validated that VN ctest-vn-54552671 is not in any agent 2025-10-08 12:50:18,747 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54552671 info 2025-10-08 12:50:18,747 - INFO - Deleting VN ctest-vn-24861962 2025-10-08 12:50:18,839 - DEBUG - Response for deleting network () 2025-10-08 12:50:18,839 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/15d5ddcd-29bc-49fb-9b57-97c0c5d462ff 2025-10-08 12:50:18,843 - DEBUG - Response Code: 404 2025-10-08 12:50:18,843 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-08 12:50:18,849 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ccda1354-36e4-4eba-bf2a-3d55d380c7d4 2025-10-08 12:50:18,902 - DEBUG - Requesting: http://10.0.0.254:8082/project/1eda5d24-9e5c-4881-9a9c-74ef6e64e93f 2025-10-08 12:50:18,969 - INFO - Validated that VN ctest-vn-24861962 is not found in API Server 2025-10-08 12:50:18,978 - DEBUG - VN ctest-vn-24861962 is not present in Agent 10.0.0.254 2025-10-08 12:50:18,978 - INFO - Validated that VN ctest-vn-24861962 is not in any agent 2025-10-08 12:50:18,990 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24861962 info 2025-10-08 12:50:19,242 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 12:50:19,242 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-08 12:50:19,242 - INFO - -------------------------------------------------------------------------------- 2025-10-08 12:50:19,902 - INFO - Deleted project: ctest-TestBasicPolicy-19794268, ID : 1eda5d24-9e5c-4881-9a9c-74ef6e64e93f