2025-10-15 07:19:26,240 - INFO - Domain Default found not creating 2025-10-15 07:19:26,385 - INFO - Project ctest-TestBasicPolicy-74300013 not found, creating it 2025-10-15 07:19:26,855 - INFO - Created Project:ctest-TestBasicPolicy-74300013, ID : 00de25f4-2e65-4e04-b50c-f317ca8e49c6 2025-10-15 07:19:28,232 - INFO - ================================================================================ 2025-10-15 07:19:28,232 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-15 07:19:28,232 - 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-15 07:19:28,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.5': '0'}} with 2025-10-15 07:19:28,484 - INFO - Initial checks done. Running the testcase now 2025-10-15 07:19:28,484 - INFO - 2025-10-15 07:19:29,015 - DEBUG - Response for create_network : {'network': {'id': 'afbba729-4096-43d3-9f4a-1abecb9bcbc9', 'name': 'ctest-vn-60413292', 'tenant_id': '00de25f42e654e04b50cf317ca8e49c6', 'project_id': '00de25f42e654e04b50cf317ca8e49c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-vn-60413292'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 07:19:29,197 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e13a0f5b-0703-48e5-84eb-5e3134102703', 'name': '', 'tenant_id': '00de25f42e654e04b50cf317ca8e49c6', 'network_id': 'afbba729-4096-43d3-9f4a-1abecb9bcbc9', 'ip_version': 4, 'cidr': '136.68.72.64/26', 'allocation_pools': [{'start': '136.68.72.66', 'end': '136.68.72.126'}], 'gateway_ip': '136.68.72.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.68.72.66', 'tags': [], 'project_id': '00de25f42e654e04b50cf317ca8e49c6'}} 2025-10-15 07:19:29,214 - INFO - Created VN ctest-vn-60413292 2025-10-15 07:19:29,271 - DEBUG - VN ctest-vn-60413292 UUID is afbba729-4096-43d3-9f4a-1abecb9bcbc9 2025-10-15 07:19:29,565 - DEBUG - Response for create_network : {'network': {'id': '10f1d2ae-fc9f-4194-8b04-36b38ddf92ee', 'name': 'ctest-vn-71375382', 'tenant_id': '00de25f42e654e04b50cf317ca8e49c6', 'project_id': '00de25f42e654e04b50cf317ca8e49c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-vn-71375382'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 07:19:29,768 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3fa3cdb-ea9d-43a4-b36d-858a60088795', 'name': '', 'tenant_id': '00de25f42e654e04b50cf317ca8e49c6', 'network_id': '10f1d2ae-fc9f-4194-8b04-36b38ddf92ee', 'ip_version': 4, 'cidr': '61.192.76.64/26', 'allocation_pools': [{'start': '61.192.76.66', 'end': '61.192.76.126'}], 'gateway_ip': '61.192.76.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.192.76.66', 'tags': [], 'project_id': '00de25f42e654e04b50cf317ca8e49c6'}} 2025-10-15 07:19:29,785 - INFO - Created VN ctest-vn-71375382 2025-10-15 07:19:29,839 - DEBUG - VN ctest-vn-71375382 UUID is 10f1d2ae-fc9f-4194-8b04-36b38ddf92ee 2025-10-15 07:19:29,966 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-60413292, 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-74300013:ctest-vn-71375382, 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-15 07:19:30,267 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afbba729-4096-43d3-9f4a-1abecb9bcbc9', 'name': 'ctest-vn-60413292', 'tenant_id': '00de25f42e654e04b50cf317ca8e49c6', 'project_id': '00de25f42e654e04b50cf317ca8e49c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e13a0f5b-0703-48e5-84eb-5e3134102703'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-vn-60413292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-policy-allow-all-14270864']], 'subnet_ipam': [{'subnet_cidr': '136.68.72.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 07:19:30,535 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '10f1d2ae-fc9f-4194-8b04-36b38ddf92ee', 'name': 'ctest-vn-71375382', 'tenant_id': '00de25f42e654e04b50cf317ca8e49c6', 'project_id': '00de25f42e654e04b50cf317ca8e49c6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c3fa3cdb-ea9d-43a4-b36d-858a60088795'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-vn-71375382'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-policy-allow-all-14270864']], 'subnet_ipam': [{'subnet_cidr': '61.192.76.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 07:19:30,691 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 07:19:30,985 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 07:19:31,011 - DEBUG - Requesting: http://10.0.0.27:8082/domain/662f29fa-8ce3-41f7-b69f-a208ab0d77d9 2025-10-15 07:19:31,023 - DEBUG - Requesting: http://10.0.0.27:8082/project/00de25f4-2e65-4e04-b50c-f317ca8e49c6 2025-10-15 07:19:31,092 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/afbba729-4096-43d3-9f4a-1abecb9bcbc9 2025-10-15 07:19:31,101 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/afbba729-4096-43d3-9f4a-1abecb9bcbc9 2025-10-15 07:19:31,109 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e126a27a-4cce-473a-ad66-f4d81f6fb7d7 2025-10-15 07:19:31,114 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e126a27a-4cce-473a-ad66-f4d81f6fb7d7 2025-10-15 07:19:31,120 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e6df3f98-d484-4a6b-8477-805fd2effe3f 2025-10-15 07:19:31,125 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 07:19:31,125 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/afbba729-4096-43d3-9f4a-1abecb9bcbc9 2025-10-15 07:19:31,132 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e126a27a-4cce-473a-ad66-f4d81f6fb7d7 2025-10-15 07:19:31,144 - INFO - Verified VN network id 11 for VN afbba729-4096-43d3-9f4a-1abecb9bcbc9 2025-10-15 07:19:31,144 - INFO - Verifications in API Server for VN ctest-vn-60413292 passed 2025-10-15 07:19:31,144 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/afbba729-4096-43d3-9f4a-1abecb9bcbc9 2025-10-15 07:19:31,152 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e126a27a-4cce-473a-ad66-f4d81f6fb7d7 2025-10-15 07:19:31,159 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e126a27a-4cce-473a-ad66-f4d81f6fb7d7 2025-10-15 07:19:31,164 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/e6df3f98-d484-4a6b-8477-805fd2effe3f 2025-10-15 07:19:31,175 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-60413292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74300013', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12662898572901368787', 'uuid-lslong': '11478016007069223881'}, 'enable': 'true', 'created': '2025-10-15T07:19:28', 'last-modified': '2025-10-15T07:19:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928402'} 2025-10-15 07:19:31,180 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 07:19:31,180 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60413292 passed 2025-10-15 07:19:31,180 - DEBUG - ====Verifying policy data for ctest-vn-60413292 in API_Server ====== 2025-10-15 07:19:31,180 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 07:19:31,185 - DEBUG - Requesting: http://10.0.0.27:8082/domain/662f29fa-8ce3-41f7-b69f-a208ab0d77d9 2025-10-15 07:19:31,193 - DEBUG - Requesting: http://10.0.0.27:8082/project/00de25f4-2e65-4e04-b50c-f317ca8e49c6 2025-10-15 07:19:31,259 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/afbba729-4096-43d3-9f4a-1abecb9bcbc9 2025-10-15 07:19:31,269 - DEBUG - ==>Verifying data for policy with id: 5d939770-9eba-42e3-bff9-3cf2168b9a91, fqn: ['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-policy-allow-all-14270864'] 2025-10-15 07:19:31,269 - INFO - VN ctest-vn-60413292 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 07:19:31,269 - DEBUG - Verifying the vn in opserver 2025-10-15 07:19:31,269 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-60413292 virtual network link through opserver 10.0.0.27 2025-10-15 07:19:31,269 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-15 07:19:31,563 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-15 07:19:31,616 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-60413292', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-60413292?flat'} 2025-10-15 07:19:31,616 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-60413292 is found in opserver 2025-10-15 07:19:31,625 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 07:19:31,630 - DEBUG - VRF ids for VN ctest-vn-60413292: {} 2025-10-15 07:19:31,630 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 07:19:31,636 - DEBUG - Requesting: http://10.0.0.27:8082/domain/662f29fa-8ce3-41f7-b69f-a208ab0d77d9 2025-10-15 07:19:31,648 - DEBUG - Requesting: http://10.0.0.27:8082/project/00de25f4-2e65-4e04-b50c-f317ca8e49c6 2025-10-15 07:19:31,719 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/10f1d2ae-fc9f-4194-8b04-36b38ddf92ee 2025-10-15 07:19:31,729 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/10f1d2ae-fc9f-4194-8b04-36b38ddf92ee 2025-10-15 07:19:31,739 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5d8feb54-a4a2-4754-945c-6b753f9a019f 2025-10-15 07:19:31,745 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5d8feb54-a4a2-4754-945c-6b753f9a019f 2025-10-15 07:19:31,752 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/241f6b28-d99c-4ee8-b07d-6b4562992e61 2025-10-15 07:19:31,758 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 07:19:31,758 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/10f1d2ae-fc9f-4194-8b04-36b38ddf92ee 2025-10-15 07:19:31,766 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5d8feb54-a4a2-4754-945c-6b753f9a019f 2025-10-15 07:19:31,778 - INFO - Verified VN network id 12 for VN 10f1d2ae-fc9f-4194-8b04-36b38ddf92ee 2025-10-15 07:19:31,778 - INFO - Verifications in API Server for VN ctest-vn-71375382 passed 2025-10-15 07:19:31,778 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/10f1d2ae-fc9f-4194-8b04-36b38ddf92ee 2025-10-15 07:19:31,786 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5d8feb54-a4a2-4754-945c-6b753f9a019f 2025-10-15 07:19:31,793 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5d8feb54-a4a2-4754-945c-6b753f9a019f 2025-10-15 07:19:31,798 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/241f6b28-d99c-4ee8-b07d-6b4562992e61 2025-10-15 07:19:31,807 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-71375382', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74300013', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1220988622998552980', 'uuid-lslong': '10017191615986111214'}, 'enable': 'true', 'created': '2025-10-15T07:19:29', 'last-modified': '2025-10-15T07:19:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.339739'} 2025-10-15 07:19:31,812 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 07:19:31,812 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71375382 passed 2025-10-15 07:19:31,812 - DEBUG - ====Verifying policy data for ctest-vn-71375382 in API_Server ====== 2025-10-15 07:19:31,812 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 07:19:31,818 - DEBUG - Requesting: http://10.0.0.27:8082/domain/662f29fa-8ce3-41f7-b69f-a208ab0d77d9 2025-10-15 07:19:31,826 - DEBUG - Requesting: http://10.0.0.27:8082/project/00de25f4-2e65-4e04-b50c-f317ca8e49c6 2025-10-15 07:19:31,895 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/10f1d2ae-fc9f-4194-8b04-36b38ddf92ee 2025-10-15 07:19:31,903 - DEBUG - ==>Verifying data for policy with id: 5d939770-9eba-42e3-bff9-3cf2168b9a91, fqn: ['default-domain', 'ctest-TestBasicPolicy-74300013', 'ctest-policy-allow-all-14270864'] 2025-10-15 07:19:31,903 - INFO - VN ctest-vn-71375382 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 07:19:31,903 - DEBUG - Verifying the vn in opserver 2025-10-15 07:19:31,904 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-71375382 virtual network link through opserver 10.0.0.27 2025-10-15 07:19:31,904 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-15 07:19:31,911 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-71375382', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-71375382?flat'} 2025-10-15 07:19:31,911 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-71375382 is found in opserver 2025-10-15 07:19:31,919 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 07:19:31,922 - DEBUG - VRF ids for VN ctest-vn-71375382: {} 2025-10-15 07:19:31,975 - DEBUG - Services list from nova: [, , ] 2025-10-15 07:19:32,949 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4321-1) 2025-10-15 07:19:34,051 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4321-1) 2025-10-15 07:19:34,052 - INFO - Waiting for VM ctest-TestBasicPolicy-74300013-86129143 to be up.. 2025-10-15 07:19:34,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 07:19:39,195 - DEBUG - VM is in ACTIVE state now 2025-10-15 07:19:39,195 - INFO - VM name : ctest-TestBasicPolicy-74300013-86129143 2025-10-15 07:19:39,259 - DEBUG - VM ctest-TestBasicPolicy-74300013-86129143 ID is 1622c4bd-96eb-400c-bdd6-2020d6df7d59 2025-10-15 07:19:39,275 - DEBUG - VM ctest-TestBasicPolicy-74300013-86129143 launched on Node cn-jenkins-deploy-platform-ansible-os-4321-1 2025-10-15 07:19:39,340 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1622c4bd-96eb-400c-bdd6-2020d6df7d59 2025-10-15 07:19:39,348 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/dbb7b400-1273-4d31-9da4-cf63760c489a 2025-10-15 07:19:42,587 - 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 1003ms') 2025-10-15 07:19:42,587 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74300013-86129143 failed! 2025-10-15 07:19:42,639 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74300013:ctest-vn-60413292 is 136.68.72.65 and allocation pool is NOT set 2025-10-15 07:19:44,704 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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.418/1.576/2.735/1.158 ms') 2025-10-15 07:19:44,704 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74300013-86129143 passed 2025-10-15 07:19:44,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 07:19:44,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74300013-86129143, IP 136.68.72.67, Port 22 2025-10-15 07:19:45,011 - DEBUG - VM ctest-TestBasicPolicy-74300013-86129143 is ready for SSH connections 2025-10-15 07:19:45,011 - INFO - Waiting for VM ctest-TestBasicPolicy-74300013-25399390 to be up.. 2025-10-15 07:19:45,084 - DEBUG - VM is in ACTIVE state now 2025-10-15 07:19:45,084 - INFO - VM name : ctest-TestBasicPolicy-74300013-25399390 2025-10-15 07:19:45,149 - DEBUG - VM ctest-TestBasicPolicy-74300013-25399390 ID is 5a08d8c2-776b-44cd-bb28-e218da22f4e2 2025-10-15 07:19:45,149 - DEBUG - VM ctest-TestBasicPolicy-74300013-25399390 launched on Node cn-jenkins-deploy-platform-ansible-os-4321-1 2025-10-15 07:19:45,212 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/5a08d8c2-776b-44cd-bb28-e218da22f4e2 2025-10-15 07:19:45,220 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/cb2ab29a-27fc-4fcd-99d2-f24045fa17ce 2025-10-15 07:19:46,447 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/1.618/2.906/1.288 ms') 2025-10-15 07:19:46,447 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74300013-25399390 passed 2025-10-15 07:19:46,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 07:19:46,595 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74300013-25399390, IP 61.192.76.67, Port 22 2025-10-15 07:19:46,750 - DEBUG - VM ctest-TestBasicPolicy-74300013-25399390 is ready for SSH connections 2025-10-15 07:19:46,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 07:19:46,750 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.192.76.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-15 07:19:46,750 - DEBUG - ping -s 56 -c 3 -W 1 61.192.76.67 2025-10-15 07:19:50,753 - DEBUG - PING 61.192.76.67 (61.192.76.67): 56 data bytes 64 bytes from 61.192.76.67: seq=0 ttl=63 time=3.815 ms 64 bytes from 61.192.76.67: seq=1 ttl=63 time=0.928 ms 64 bytes from 61.192.76.67: seq=2 ttl=63 time=1.013 ms --- 61.192.76.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/1.918/3.815 ms 2025-10-15 07:19:50,753 - INFO - Ping to IP 61.192.76.67 from VM ctest-TestBasicPolicy-74300013-86129143 passed 2025-10-15 07:19:50,934 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5d939770-9eba-42e3-bff9-3cf2168b9a91", "href": "http://10.0.0.27:8082/network-policy/5d939770-9eba-42e3-bff9-3cf2168b9a91"}} 2025-10-15 07:19:50,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 07:19:50,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.192.76.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-15 07:19:50,935 - DEBUG - ping -s 56 -c 3 -W 1 61.192.76.67 2025-10-15 07:19:54,139 - DEBUG - PING 61.192.76.67 (61.192.76.67): 56 data bytes --- 61.192.76.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-15 07:19:54,139 - WARNING - Ping to IP 61.192.76.67 from VM ctest-TestBasicPolicy-74300013-86129143 failed 2025-10-15 07:19:54,139 - INFO - Deleting VM ctest-TestBasicPolicy-74300013-25399390 2025-10-15 07:19:54,201 - INFO - Deleting VM ctest-TestBasicPolicy-74300013-86129143 2025-10-15 07:19:54,541 - INFO - Deleted policy ctest-policy-allow-all-14270864 2025-10-15 07:19:54,541 - INFO - Deleting VN ctest-vn-71375382 2025-10-15 07:19:54,572 - DEBUG - VN 10f1d2ae-fc9f-4194-8b04-36b38ddf92ee still in use: Unable to complete operation on network 10f1d2ae-fc9f-4194-8b04-36b38ddf92ee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1a9e610a-69c9-48ef-ab84-a3746196baf3'] 2025-10-15 07:19:54,572 - WARNING - Deleting VN ctest-vn-71375382 failed..Will retry 2025-10-15 07:19:56,672 - DEBUG - Response for deleting network () 2025-10-15 07:19:56,672 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5d8feb54-a4a2-4754-945c-6b753f9a019f 2025-10-15 07:19:56,679 - DEBUG - Response Code: 404 2025-10-15 07:19:56,679 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 07:19:56,684 - DEBUG - Requesting: http://10.0.0.27:8082/domain/662f29fa-8ce3-41f7-b69f-a208ab0d77d9 2025-10-15 07:19:56,735 - DEBUG - Requesting: http://10.0.0.27:8082/project/00de25f4-2e65-4e04-b50c-f317ca8e49c6 2025-10-15 07:19:56,812 - INFO - Validated that VN ctest-vn-71375382 is not found in API Server 2025-10-15 07:19:56,820 - DEBUG - VN ctest-vn-71375382 is not present in Agent 10.0.0.27 2025-10-15 07:19:56,820 - INFO - Validated that VN ctest-vn-71375382 is not in any agent 2025-10-15 07:19:56,831 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71375382 info 2025-10-15 07:19:56,832 - INFO - Deleting VN ctest-vn-60413292 2025-10-15 07:19:56,924 - DEBUG - Response for deleting network () 2025-10-15 07:19:56,924 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/e126a27a-4cce-473a-ad66-f4d81f6fb7d7 2025-10-15 07:19:56,929 - DEBUG - Response Code: 404 2025-10-15 07:19:56,930 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 07:19:56,934 - DEBUG - Requesting: http://10.0.0.27:8082/domain/662f29fa-8ce3-41f7-b69f-a208ab0d77d9 2025-10-15 07:19:56,987 - DEBUG - Requesting: http://10.0.0.27:8082/project/00de25f4-2e65-4e04-b50c-f317ca8e49c6 2025-10-15 07:19:57,053 - INFO - Validated that VN ctest-vn-60413292 is not found in API Server 2025-10-15 07:19:57,061 - DEBUG - VN ctest-vn-60413292 is not present in Agent 10.0.0.27 2025-10-15 07:19:57,061 - INFO - Validated that VN ctest-vn-60413292 is not in any agent 2025-10-15 07:19:57,073 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60413292 info 2025-10-15 07:19:57,327 - DEBUG - No XMPP flaps were noticed during the test
2025-10-15 07:19:57,327 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-15 07:19:57,327 - INFO - -------------------------------------------------------------------------------- 2025-10-15 07:19:57,977 - INFO - Deleted project: ctest-TestBasicPolicy-74300013, ID : 00de25f4-2e65-4e04-b50c-f317ca8e49c6