2025-09-15 02:02:10,277 - INFO - Domain Default found not creating 2025-09-15 02:02:10,423 - INFO - Project ctest-TestBasicPolicy-68130510 not found, creating it 2025-09-15 02:02:10,863 - INFO - Created Project:ctest-TestBasicPolicy-68130510, ID : 4b7770ad-8271-4cca-a84b-7feb8c38878a 2025-09-15 02:02:12,287 - INFO - ================================================================================ 2025-09-15 02:02:12,287 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-15 02:02:12,288 - 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-09-15 02:02:12,543 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 02:02:12,543 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:02:12,543 - INFO - 2025-09-15 02:02:13,614 - DEBUG - Response for create_network : {'network': {'id': '39053e39-13fd-49e4-b1ea-3deec03b831a', 'name': 'ctest-vn-64444486', 'tenant_id': '4b7770ad82714ccaa84b7feb8c38878a', 'project_id': '4b7770ad82714ccaa84b7feb8c38878a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-vn-64444486'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:02:13,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '054bbee3-3caf-48f0-b6c9-693ac5e7fc72', 'name': '', 'tenant_id': '4b7770ad82714ccaa84b7feb8c38878a', 'network_id': '39053e39-13fd-49e4-b1ea-3deec03b831a', 'ip_version': 4, 'cidr': '20.240.237.64/26', 'allocation_pools': [{'start': '20.240.237.66', 'end': '20.240.237.126'}], 'gateway_ip': '20.240.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.240.237.66', 'tags': [], 'project_id': '4b7770ad82714ccaa84b7feb8c38878a'}} 2025-09-15 02:02:13,787 - INFO - Created VN ctest-vn-64444486 2025-09-15 02:02:13,837 - DEBUG - VN ctest-vn-64444486 UUID is 39053e39-13fd-49e4-b1ea-3deec03b831a 2025-09-15 02:02:14,137 - DEBUG - Response for create_network : {'network': {'id': '1b35559e-187e-44bc-aa7d-9fe886b95ba5', 'name': 'ctest-vn-39636267', 'tenant_id': '4b7770ad82714ccaa84b7feb8c38878a', 'project_id': '4b7770ad82714ccaa84b7feb8c38878a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-vn-39636267'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:02:14,312 - DEBUG - Response for create_subnet : {'subnet': {'id': '3b5392d6-6c77-4b32-8902-aefe938fd0d4', 'name': '', 'tenant_id': '4b7770ad82714ccaa84b7feb8c38878a', 'network_id': '1b35559e-187e-44bc-aa7d-9fe886b95ba5', 'ip_version': 4, 'cidr': '209.70.151.192/26', 'allocation_pools': [{'start': '209.70.151.194', 'end': '209.70.151.254'}], 'gateway_ip': '209.70.151.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.70.151.194', 'tags': [], 'project_id': '4b7770ad82714ccaa84b7feb8c38878a'}} 2025-09-15 02:02:14,328 - INFO - Created VN ctest-vn-39636267 2025-09-15 02:02:14,377 - DEBUG - VN ctest-vn-39636267 UUID is 1b35559e-187e-44bc-aa7d-9fe886b95ba5 2025-09-15 02:02:14,488 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-64444486, 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-68130510:ctest-vn-39636267, 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-09-15 02:02:14,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '39053e39-13fd-49e4-b1ea-3deec03b831a', 'name': 'ctest-vn-64444486', 'tenant_id': '4b7770ad82714ccaa84b7feb8c38878a', 'project_id': '4b7770ad82714ccaa84b7feb8c38878a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['054bbee3-3caf-48f0-b6c9-693ac5e7fc72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-vn-64444486'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-policy-allow-all-98004502']], 'subnet_ipam': [{'subnet_cidr': '20.240.237.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:02:15,054 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1b35559e-187e-44bc-aa7d-9fe886b95ba5', 'name': 'ctest-vn-39636267', 'tenant_id': '4b7770ad82714ccaa84b7feb8c38878a', 'project_id': '4b7770ad82714ccaa84b7feb8c38878a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3b5392d6-6c77-4b32-8902-aefe938fd0d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-vn-39636267'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-policy-allow-all-98004502']], 'subnet_ipam': [{'subnet_cidr': '209.70.151.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:02:15,205 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 02:02:15,512 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 02:02:15,545 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ac83a039-4cbb-4139-aca9-fb3f5fba8a51 2025-09-15 02:02:15,556 - DEBUG - Requesting: http://10.0.0.254:8082/project/4b7770ad-8271-4cca-a84b-7feb8c38878a 2025-09-15 02:02:15,628 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/39053e39-13fd-49e4-b1ea-3deec03b831a 2025-09-15 02:02:15,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/39053e39-13fd-49e4-b1ea-3deec03b831a 2025-09-15 02:02:15,648 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/003399f9-4ca6-4716-8dd9-da3c125a0251 2025-09-15 02:02:15,655 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/003399f9-4ca6-4716-8dd9-da3c125a0251 2025-09-15 02:02:15,661 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/efa90ae9-2a9a-41eb-83d2-3ff8dee3cfe2 2025-09-15 02:02:15,667 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 02:02:15,667 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/39053e39-13fd-49e4-b1ea-3deec03b831a 2025-09-15 02:02:15,675 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/003399f9-4ca6-4716-8dd9-da3c125a0251 2025-09-15 02:02:15,688 - INFO - Verified VN network id 12 for VN 39053e39-13fd-49e4-b1ea-3deec03b831a 2025-09-15 02:02:15,688 - INFO - Verifications in API Server for VN ctest-vn-64444486 passed 2025-09-15 02:02:15,688 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/39053e39-13fd-49e4-b1ea-3deec03b831a 2025-09-15 02:02:15,696 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/003399f9-4ca6-4716-8dd9-da3c125a0251 2025-09-15 02:02:15,705 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/003399f9-4ca6-4716-8dd9-da3c125a0251 2025-09-15 02:02:15,712 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/efa90ae9-2a9a-41eb-83d2-3ff8dee3cfe2 2025-09-15 02:02:15,723 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-64444486', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68130510', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4108758649914870244', 'uuid-lslong': '12820127384900174618'}, 'enable': 'true', 'created': '2025-09-15T02:02:13', 'last-modified': '2025-09-15T02:02:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957500'} 2025-09-15 02:02:15,728 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-15 02:02:15,728 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64444486 passed 2025-09-15 02:02:15,728 - DEBUG - ====Verifying policy data for ctest-vn-64444486 in API_Server ====== 2025-09-15 02:02:15,728 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 02:02:15,733 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ac83a039-4cbb-4139-aca9-fb3f5fba8a51 2025-09-15 02:02:15,743 - DEBUG - Requesting: http://10.0.0.254:8082/project/4b7770ad-8271-4cca-a84b-7feb8c38878a 2025-09-15 02:02:15,824 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/39053e39-13fd-49e4-b1ea-3deec03b831a 2025-09-15 02:02:15,834 - DEBUG - ==>Verifying data for policy with id: 6cd59b28-cf06-414f-ba76-cb35aa815b92, fqn: ['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-policy-allow-all-98004502'] 2025-09-15 02:02:15,834 - INFO - VN ctest-vn-64444486 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 02:02:15,834 - DEBUG - Verifying the vn in opserver 2025-09-15 02:02:15,834 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-64444486 virtual network link through opserver 10.0.0.254 2025-09-15 02:02:15,834 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-15 02:02:16,124 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-15 02:02:16,173 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-64444486', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-64444486?flat'} 2025-09-15 02:02:16,173 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-64444486 is found in opserver 2025-09-15 02:02:16,182 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 02:02:16,186 - DEBUG - VRF ids for VN ctest-vn-64444486: {} 2025-09-15 02:02:16,186 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 02:02:16,190 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ac83a039-4cbb-4139-aca9-fb3f5fba8a51 2025-09-15 02:02:16,199 - DEBUG - Requesting: http://10.0.0.254:8082/project/4b7770ad-8271-4cca-a84b-7feb8c38878a 2025-09-15 02:02:16,269 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1b35559e-187e-44bc-aa7d-9fe886b95ba5 2025-09-15 02:02:16,279 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1b35559e-187e-44bc-aa7d-9fe886b95ba5 2025-09-15 02:02:16,288 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb44de38-ba40-4a6a-bbbb-adaa655e3243 2025-09-15 02:02:16,295 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb44de38-ba40-4a6a-bbbb-adaa655e3243 2025-09-15 02:02:16,301 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dc744fdd-87cc-4b6d-9345-d8495b7f5f56 2025-09-15 02:02:16,307 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 02:02:16,307 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1b35559e-187e-44bc-aa7d-9fe886b95ba5 2025-09-15 02:02:16,314 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb44de38-ba40-4a6a-bbbb-adaa655e3243 2025-09-15 02:02:16,327 - INFO - Verified VN network id 13 for VN 1b35559e-187e-44bc-aa7d-9fe886b95ba5 2025-09-15 02:02:16,327 - INFO - Verifications in API Server for VN ctest-vn-39636267 passed 2025-09-15 02:02:16,327 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1b35559e-187e-44bc-aa7d-9fe886b95ba5 2025-09-15 02:02:16,334 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb44de38-ba40-4a6a-bbbb-adaa655e3243 2025-09-15 02:02:16,340 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb44de38-ba40-4a6a-bbbb-adaa655e3243 2025-09-15 02:02:16,346 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dc744fdd-87cc-4b6d-9345-d8495b7f5f56 2025-09-15 02:02:16,357 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-39636267', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68130510', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1960567350293841084', 'uuid-lslong': '12285151179578104741'}, 'enable': 'true', 'created': '2025-09-15T02:02:14', 'last-modified': '2025-09-15T02:02:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.365257'} 2025-09-15 02:02:16,363 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-15 02:02:16,363 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39636267 passed 2025-09-15 02:02:16,363 - DEBUG - ====Verifying policy data for ctest-vn-39636267 in API_Server ====== 2025-09-15 02:02:16,363 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 02:02:16,368 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ac83a039-4cbb-4139-aca9-fb3f5fba8a51 2025-09-15 02:02:16,377 - DEBUG - Requesting: http://10.0.0.254:8082/project/4b7770ad-8271-4cca-a84b-7feb8c38878a 2025-09-15 02:02:16,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/1b35559e-187e-44bc-aa7d-9fe886b95ba5 2025-09-15 02:02:16,461 - DEBUG - ==>Verifying data for policy with id: 6cd59b28-cf06-414f-ba76-cb35aa815b92, fqn: ['default-domain', 'ctest-TestBasicPolicy-68130510', 'ctest-policy-allow-all-98004502'] 2025-09-15 02:02:16,461 - INFO - VN ctest-vn-39636267 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-15 02:02:16,461 - DEBUG - Verifying the vn in opserver 2025-09-15 02:02:16,461 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-39636267 virtual network link through opserver 10.0.0.254 2025-09-15 02:02:16,461 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-15 02:02:16,475 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-39636267', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-39636267?flat'} 2025-09-15 02:02:16,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-39636267 is found in opserver 2025-09-15 02:02:16,488 - DEBUG - Do not have enough data to verify VN in agent 2025-09-15 02:02:16,492 - DEBUG - VRF ids for VN ctest-vn-39636267: {} 2025-09-15 02:02:16,543 - DEBUG - Services list from nova: [, , ] 2025-09-15 02:02:17,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1) 2025-09-15 02:02:18,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1) 2025-09-15 02:02:18,647 - INFO - Waiting for VM ctest-TestBasicPolicy-68130510-37933686 to be up.. 2025-09-15 02:02:18,730 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 02:02:23,812 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:02:23,813 - INFO - VM name : ctest-TestBasicPolicy-68130510-37933686 2025-09-15 02:02:23,886 - DEBUG - VM ctest-TestBasicPolicy-68130510-37933686 ID is 6ff648fb-fc57-4e4b-9497-373b7119b378 2025-09-15 02:02:23,908 - DEBUG - VM ctest-TestBasicPolicy-68130510-37933686 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1 2025-09-15 02:02:23,984 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6ff648fb-fc57-4e4b-9497-373b7119b378 2025-09-15 02:02:23,994 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/314558a8-e80a-4f9a-8e51-deb42e0160a1 2025-09-15 02:02:27,211 - 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 1013ms') 2025-09-15 02:02:27,211 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68130510-37933686 failed! 2025-09-15 02:02:27,265 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68130510:ctest-vn-64444486 is 20.240.237.65 and allocation pool is NOT set 2025-09-15 02:02:29,329 - 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=7.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.288 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.288/3.826/7.364/3.538 ms') 2025-09-15 02:02:29,329 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68130510-37933686 passed 2025-09-15 02:02:29,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:02:29,478 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68130510-37933686, IP 20.240.237.67, Port 22 2025-09-15 02:02:29,647 - DEBUG - VM ctest-TestBasicPolicy-68130510-37933686 is ready for SSH connections 2025-09-15 02:02:29,647 - INFO - Waiting for VM ctest-TestBasicPolicy-68130510-99839241 to be up.. 2025-09-15 02:02:29,720 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:02:29,720 - INFO - VM name : ctest-TestBasicPolicy-68130510-99839241 2025-09-15 02:02:29,789 - DEBUG - VM ctest-TestBasicPolicy-68130510-99839241 ID is 6ba5150c-f0a7-4b75-8fd8-eb231e09ec72 2025-09-15 02:02:29,790 - DEBUG - VM ctest-TestBasicPolicy-68130510-99839241 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1 2025-09-15 02:02:29,856 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6ba5150c-f0a7-4b75-8fd8-eb231e09ec72 2025-09-15 02:02:29,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4da6b3d8-e446-415d-b353-24b22c4560db 2025-09-15 02:02:31,097 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/2.185/3.967/1.781 ms') 2025-09-15 02:02:31,097 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68130510-99839241 passed 2025-09-15 02:02:31,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:02:31,245 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68130510-99839241, IP 209.70.151.195, Port 22 2025-09-15 02:02:31,408 - DEBUG - VM ctest-TestBasicPolicy-68130510-99839241 is ready for SSH connections 2025-09-15 02:02:31,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:02:31,408 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.70.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 02:02:31,408 - DEBUG - ping -s 56 -c 3 -W 1 209.70.151.195 2025-09-15 02:02:35,106 - DEBUG - PING 209.70.151.195 (209.70.151.195): 56 data bytes 64 bytes from 209.70.151.195: seq=0 ttl=63 time=3.738 ms 64 bytes from 209.70.151.195: seq=1 ttl=63 time=0.977 ms 64 bytes from 209.70.151.195: seq=2 ttl=63 time=0.791 ms --- 209.70.151.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.791/1.835/3.738 ms 2025-09-15 02:02:35,106 - INFO - Ping to IP 209.70.151.195 from VM ctest-TestBasicPolicy-68130510-37933686 passed 2025-09-15 02:02:35,285 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6cd59b28-cf06-414f-ba76-cb35aa815b92", "href": "http://10.0.0.254:8082/network-policy/6cd59b28-cf06-414f-ba76-cb35aa815b92"}} 2025-09-15 02:02:35,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:02:35,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.70.151.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 02:02:35,285 - DEBUG - ping -s 56 -c 3 -W 1 209.70.151.195 2025-09-15 02:02:38,484 - DEBUG - PING 209.70.151.195 (209.70.151.195): 56 data bytes --- 209.70.151.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 02:02:38,484 - WARNING - Ping to IP 209.70.151.195 from VM ctest-TestBasicPolicy-68130510-37933686 failed 2025-09-15 02:02:38,484 - INFO - Deleting VM ctest-TestBasicPolicy-68130510-99839241 2025-09-15 02:02:38,553 - INFO - Deleting VM ctest-TestBasicPolicy-68130510-37933686 2025-09-15 02:02:38,903 - INFO - Deleted policy ctest-policy-allow-all-98004502 2025-09-15 02:02:38,903 - INFO - Deleting VN ctest-vn-39636267 2025-09-15 02:02:38,935 - DEBUG - VN 1b35559e-187e-44bc-aa7d-9fe886b95ba5 still in use: Unable to complete operation on network 1b35559e-187e-44bc-aa7d-9fe886b95ba5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8bab210c-d877-4eab-8443-2fe5ef05ac38'] 2025-09-15 02:02:38,935 - WARNING - Deleting VN ctest-vn-39636267 failed..Will retry 2025-09-15 02:02:41,035 - DEBUG - Response for deleting network () 2025-09-15 02:02:41,035 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fb44de38-ba40-4a6a-bbbb-adaa655e3243 2025-09-15 02:02:41,039 - DEBUG - Response Code: 404 2025-09-15 02:02:41,040 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 02:02:41,044 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ac83a039-4cbb-4139-aca9-fb3f5fba8a51 2025-09-15 02:02:41,108 - DEBUG - Requesting: http://10.0.0.254:8082/project/4b7770ad-8271-4cca-a84b-7feb8c38878a 2025-09-15 02:02:41,178 - INFO - Validated that VN ctest-vn-39636267 is not found in API Server 2025-09-15 02:02:41,188 - DEBUG - VN ctest-vn-39636267 is not present in Agent 10.0.0.254 2025-09-15 02:02:41,188 - INFO - Validated that VN ctest-vn-39636267 is not in any agent 2025-09-15 02:02:41,200 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39636267 info 2025-09-15 02:02:41,201 - INFO - Deleting VN ctest-vn-64444486 2025-09-15 02:02:41,295 - DEBUG - Response for deleting network () 2025-09-15 02:02:41,295 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/003399f9-4ca6-4716-8dd9-da3c125a0251 2025-09-15 02:02:41,302 - DEBUG - Response Code: 404 2025-09-15 02:02:41,302 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-15 02:02:41,307 - DEBUG - Requesting: http://10.0.0.254:8082/domain/ac83a039-4cbb-4139-aca9-fb3f5fba8a51 2025-09-15 02:02:41,357 - DEBUG - Requesting: http://10.0.0.254:8082/project/4b7770ad-8271-4cca-a84b-7feb8c38878a 2025-09-15 02:02:41,426 - INFO - Validated that VN ctest-vn-64444486 is not found in API Server 2025-09-15 02:02:41,436 - DEBUG - VN ctest-vn-64444486 is not present in Agent 10.0.0.254 2025-09-15 02:02:41,436 - INFO - Validated that VN ctest-vn-64444486 is not in any agent 2025-09-15 02:02:41,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64444486 info 2025-09-15 02:02:41,703 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 02:02:41,703 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-15 02:02:41,704 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:02:42,397 - INFO - Deleted project: ctest-TestBasicPolicy-68130510, ID : 4b7770ad-8271-4cca-a84b-7feb8c38878a