2025-10-13 02:00:34,643 - INFO - Domain Default found not creating 2025-10-13 02:00:34,799 - INFO - Project ctest-TestBasicPolicy-85385285 not found, creating it 2025-10-13 02:00:35,264 - INFO - Created Project:ctest-TestBasicPolicy-85385285, ID : 44124fdb-9705-42ca-bf51-b7a8bf1188e7 2025-10-13 02:00:36,664 - INFO - ================================================================================ 2025-10-13 02:00:36,664 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 02:00:36,664 - 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-13 02:00:36,917 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2025-10-13 02:00:36,917 - INFO - Initial checks done. Running the testcase now 2025-10-13 02:00:36,917 - INFO - 2025-10-13 02:00:37,451 - DEBUG - Response for create_network : {'network': {'id': '5d40bc32-a8de-406c-b896-ba0c87b7902b', 'name': 'ctest-vn-20513999', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-20513999'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:37,641 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db3aa2d3-c678-4018-a87a-08df2b252977', 'name': '', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'network_id': '5d40bc32-a8de-406c-b896-ba0c87b7902b', 'ip_version': 4, 'cidr': '28.206.29.64/26', 'allocation_pools': [{'start': '28.206.29.66', 'end': '28.206.29.126'}], 'gateway_ip': '28.206.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.206.29.66', 'tags': [], 'project_id': '44124fdb970542cabf51b7a8bf1188e7'}} 2025-10-13 02:00:37,660 - INFO - Created VN ctest-vn-20513999 2025-10-13 02:00:37,712 - DEBUG - VN ctest-vn-20513999 UUID is 5d40bc32-a8de-406c-b896-ba0c87b7902b 2025-10-13 02:00:38,037 - DEBUG - Response for create_network : {'network': {'id': '0836695c-62a8-4be3-b8b4-4c5afd548408', 'name': 'ctest-vn-75951449', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-75951449'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:38,239 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a40f5fb0-0afe-4d0a-b3a7-cd32d1467c2c', 'name': '', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'network_id': '0836695c-62a8-4be3-b8b4-4c5afd548408', 'ip_version': 4, 'cidr': '30.215.188.64/26', 'allocation_pools': [{'start': '30.215.188.66', 'end': '30.215.188.126'}], 'gateway_ip': '30.215.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.215.188.66', 'tags': [], 'project_id': '44124fdb970542cabf51b7a8bf1188e7'}} 2025-10-13 02:00:38,260 - INFO - Created VN ctest-vn-75951449 2025-10-13 02:00:38,312 - DEBUG - VN ctest-vn-75951449 UUID is 0836695c-62a8-4be3-b8b4-4c5afd548408 2025-10-13 02:00:38,420 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999, 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-85385285:ctest-vn-75951449, 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-13 02:00:38,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d40bc32-a8de-406c-b896-ba0c87b7902b', 'name': 'ctest-vn-20513999', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db3aa2d3-c678-4018-a87a-08df2b252977'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-20513999'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632']], 'subnet_ipam': [{'subnet_cidr': '28.206.29.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:38,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0836695c-62a8-4be3-b8b4-4c5afd548408', 'name': 'ctest-vn-75951449', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a40f5fb0-0afe-4d0a-b3a7-cd32d1467c2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-75951449'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632']], 'subnet_ipam': [{'subnet_cidr': '30.215.188.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 02:00:39,108 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-13 02:00:39,414 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-13 02:00:39,443 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c 2025-10-13 02:00:39,454 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7 2025-10-13 02:00:39,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b 2025-10-13 02:00:39,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b 2025-10-13 02:00:39,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce 2025-10-13 02:00:39,551 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce 2025-10-13 02:00:39,557 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44f5aebb-2922-4c02-a12a-5a51b58ec942 2025-10-13 02:00:39,563 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 02:00:39,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b 2025-10-13 02:00:39,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce 2025-10-13 02:00:39,583 - INFO - Verified VN network id 11 for VN 5d40bc32-a8de-406c-b896-ba0c87b7902b 2025-10-13 02:00:39,583 - INFO - Verifications in API Server for VN ctest-vn-20513999 passed 2025-10-13 02:00:39,583 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b 2025-10-13 02:00:39,593 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce 2025-10-13 02:00:39,599 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce 2025-10-13 02:00:39,605 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44f5aebb-2922-4c02-a12a-5a51b58ec942 2025-10-13 02:00:39,615 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85385285', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6719577569804304492', 'uuid-lslong': '13301023112464666667'}, 'enable': 'true', 'created': '2025-10-13T02:00:37', 'last-modified': '2025-10-13T02:00:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922862'} 2025-10-13 02:00:39,621 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 02:00:39,621 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20513999 passed 2025-10-13 02:00:39,621 - DEBUG - ====Verifying policy data for ctest-vn-20513999 in API_Server ====== 2025-10-13 02:00:39,621 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-13 02:00:39,627 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c 2025-10-13 02:00:39,636 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7 2025-10-13 02:00:39,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b 2025-10-13 02:00:39,712 - DEBUG - ==>Verifying data for policy with id: 42172fab-bd8a-4951-a59a-4290cfa8bb0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632'] 2025-10-13 02:00:39,712 - INFO - VN ctest-vn-20513999 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 02:00:39,713 - DEBUG - Verifying the vn in opserver 2025-10-13 02:00:39,713 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999 virtual network link through opserver 10.0.0.38 2025-10-13 02:00:39,713 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-13 02:00:40,008 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-13 02:00:40,058 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999?flat'} 2025-10-13 02:00:40,058 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999 is found in opserver 2025-10-13 02:00:40,068 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 02:00:40,073 - DEBUG - VRF ids for VN ctest-vn-20513999: {} 2025-10-13 02:00:40,073 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-13 02:00:40,077 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c 2025-10-13 02:00:40,086 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7 2025-10-13 02:00:40,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408 2025-10-13 02:00:40,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408 2025-10-13 02:00:40,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7 2025-10-13 02:00:40,175 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7 2025-10-13 02:00:40,180 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/42452b2a-de5e-424a-9e3e-8cd25986aae3 2025-10-13 02:00:40,186 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 02:00:40,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408 2025-10-13 02:00:40,192 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7 2025-10-13 02:00:40,203 - INFO - Verified VN network id 12 for VN 0836695c-62a8-4be3-b8b4-4c5afd548408 2025-10-13 02:00:40,203 - INFO - Verifications in API Server for VN ctest-vn-75951449 passed 2025-10-13 02:00:40,203 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408 2025-10-13 02:00:40,210 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7 2025-10-13 02:00:40,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7 2025-10-13 02:00:40,220 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/42452b2a-de5e-424a-9e3e-8cd25986aae3 2025-10-13 02:00:40,229 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85385285', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '591776246558903267', 'uuid-lslong': '13309346752467600392'}, 'enable': 'true', 'created': '2025-10-13T02:00:38', 'last-modified': '2025-10-13T02:00:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299577'} 2025-10-13 02:00:40,234 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 02:00:40,234 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75951449 passed 2025-10-13 02:00:40,234 - DEBUG - ====Verifying policy data for ctest-vn-75951449 in API_Server ====== 2025-10-13 02:00:40,234 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-13 02:00:40,239 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c 2025-10-13 02:00:40,251 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7 2025-10-13 02:00:40,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408 2025-10-13 02:00:40,331 - DEBUG - ==>Verifying data for policy with id: 42172fab-bd8a-4951-a59a-4290cfa8bb0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632'] 2025-10-13 02:00:40,331 - INFO - VN ctest-vn-75951449 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 02:00:40,331 - DEBUG - Verifying the vn in opserver 2025-10-13 02:00:40,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449 virtual network link through opserver 10.0.0.38 2025-10-13 02:00:40,331 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-13 02:00:40,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449?flat'} 2025-10-13 02:00:40,340 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449 is found in opserver 2025-10-13 02:00:40,349 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 02:00:40,352 - DEBUG - VRF ids for VN ctest-vn-75951449: {} 2025-10-13 02:00:40,412 - DEBUG - Services list from nova: [, , ] 2025-10-13 02:00:41,425 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4295-1) 2025-10-13 02:00:42,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4295-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4295-1) 2025-10-13 02:00:42,537 - INFO - Waiting for VM ctest-TestBasicPolicy-85385285-13026617 to be up.. 2025-10-13 02:00:42,612 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 02:00:47,687 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:00:47,688 - INFO - VM name : ctest-TestBasicPolicy-85385285-13026617 2025-10-13 02:00:47,765 - DEBUG - VM ctest-TestBasicPolicy-85385285-13026617 ID is 9bf0a38b-1767-45c9-a8db-5e13279acc60 2025-10-13 02:00:47,790 - DEBUG - VM ctest-TestBasicPolicy-85385285-13026617 launched on Node cn-jenkins-deploy-platform-ansible-os-4295-1 2025-10-13 02:00:47,869 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9bf0a38b-1767-45c9-a8db-5e13279acc60 2025-10-13 02:00:47,878 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/559510b1-57ea-4352-8a61-d4fb73983272 2025-10-13 02:00:51,129 - 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 1011ms') 2025-10-13 02:00:51,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85385285-13026617 failed! 2025-10-13 02:00:51,180 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999 is 28.206.29.65 and allocation pool is NOT set 2025-10-13 02:00:53,241 - 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=5.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/2.822/5.181/2.358 ms') 2025-10-13 02:00:53,241 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85385285-13026617 passed 2025-10-13 02:00:53,396 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:53,396 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85385285-13026617, IP 28.206.29.67, Port 22 2025-10-13 02:00:53,570 - DEBUG - VM ctest-TestBasicPolicy-85385285-13026617 is ready for SSH connections 2025-10-13 02:00:53,570 - INFO - Waiting for VM ctest-TestBasicPolicy-85385285-95975230 to be up.. 2025-10-13 02:00:53,645 - DEBUG - VM is in ACTIVE state now 2025-10-13 02:00:53,645 - INFO - VM name : ctest-TestBasicPolicy-85385285-95975230 2025-10-13 02:00:53,721 - DEBUG - VM ctest-TestBasicPolicy-85385285-95975230 ID is 8b71a01a-7320-4d01-8d0c-495522b6837d 2025-10-13 02:00:53,722 - DEBUG - VM ctest-TestBasicPolicy-85385285-95975230 launched on Node cn-jenkins-deploy-platform-ansible-os-4295-1 2025-10-13 02:00:53,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8b71a01a-7320-4d01-8d0c-495522b6837d 2025-10-13 02:00:53,808 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9a4dacc8-c41d-4223-86e8-e20aa7e58fce 2025-10-13 02:00:55,053 - 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=4.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.32 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 = 2.320/3.165/4.011/0.845 ms') 2025-10-13 02:00:55,053 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85385285-95975230 passed 2025-10-13 02:00:55,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:55,204 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85385285-95975230, IP 30.215.188.67, Port 22 2025-10-13 02:00:55,359 - DEBUG - VM ctest-TestBasicPolicy-85385285-95975230 is ready for SSH connections 2025-10-13 02:00:55,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:55,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.215.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-13 02:00:55,360 - DEBUG - ping -s 56 -c 3 -W 1 30.215.188.67 2025-10-13 02:00:59,379 - DEBUG - PING 30.215.188.67 (30.215.188.67): 56 data bytes 64 bytes from 30.215.188.67: seq=0 ttl=63 time=3.256 ms 64 bytes from 30.215.188.67: seq=1 ttl=63 time=0.921 ms 64 bytes from 30.215.188.67: seq=2 ttl=63 time=0.780 ms --- 30.215.188.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.780/1.652/3.256 ms 2025-10-13 02:00:59,379 - INFO - Ping to IP 30.215.188.67 from VM ctest-TestBasicPolicy-85385285-13026617 passed 2025-10-13 02:00:59,560 - DEBUG - Policy Update Response {"network-policy": {"uuid": "42172fab-bd8a-4951-a59a-4290cfa8bb0b", "href": "http://10.0.0.38:8082/network-policy/42172fab-bd8a-4951-a59a-4290cfa8bb0b"}} 2025-10-13 02:00:59,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 02:00:59,560 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 30.215.188.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-13 02:00:59,560 - DEBUG - ping -s 56 -c 3 -W 1 30.215.188.67 2025-10-13 02:01:02,762 - DEBUG - PING 30.215.188.67 (30.215.188.67): 56 data bytes --- 30.215.188.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 02:01:02,762 - WARNING - Ping to IP 30.215.188.67 from VM ctest-TestBasicPolicy-85385285-13026617 failed 2025-10-13 02:01:02,762 - INFO - Deleting VM ctest-TestBasicPolicy-85385285-95975230 2025-10-13 02:01:02,838 - INFO - Deleting VM ctest-TestBasicPolicy-85385285-13026617 2025-10-13 02:01:03,217 - INFO - Deleted policy ctest-policy-allow-all-29285632 2025-10-13 02:01:03,217 - INFO - Deleting VN ctest-vn-75951449 2025-10-13 02:01:03,249 - DEBUG - VN 0836695c-62a8-4be3-b8b4-4c5afd548408 still in use: Unable to complete operation on network 0836695c-62a8-4be3-b8b4-4c5afd548408. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a01d952b-9727-40f3-a642-462df34baf4a'] 2025-10-13 02:01:03,249 - WARNING - Deleting VN ctest-vn-75951449 failed..Will retry 2025-10-13 02:01:05,343 - DEBUG - Response for deleting network () 2025-10-13 02:01:05,343 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7 2025-10-13 02:01:05,347 - DEBUG - Response Code: 404 2025-10-13 02:01:05,347 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-13 02:01:05,353 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c 2025-10-13 02:01:05,405 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7 2025-10-13 02:01:05,476 - INFO - Validated that VN ctest-vn-75951449 is not found in API Server 2025-10-13 02:01:05,486 - DEBUG - VN ctest-vn-75951449 is not present in Agent 10.0.0.38 2025-10-13 02:01:05,486 - INFO - Validated that VN ctest-vn-75951449 is not in any agent 2025-10-13 02:01:05,498 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75951449 info 2025-10-13 02:01:05,498 - INFO - Deleting VN ctest-vn-20513999 2025-10-13 02:01:05,589 - DEBUG - Response for deleting network () 2025-10-13 02:01:05,589 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce 2025-10-13 02:01:05,597 - DEBUG - Response Code: 404 2025-10-13 02:01:05,597 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-13 02:01:05,605 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c 2025-10-13 02:01:05,660 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7 2025-10-13 02:01:05,727 - INFO - Validated that VN ctest-vn-20513999 is not found in API Server 2025-10-13 02:01:05,736 - DEBUG - VN ctest-vn-20513999 is not present in Agent 10.0.0.38 2025-10-13 02:01:05,736 - INFO - Validated that VN ctest-vn-20513999 is not in any agent 2025-10-13 02:01:05,749 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20513999 info 2025-10-13 02:01:06,006 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 02:01:06,006 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-13 02:01:06,006 - INFO - -------------------------------------------------------------------------------- 2025-10-13 02:01:06,698 - INFO - Deleted project: ctest-TestBasicPolicy-85385285, ID : 44124fdb-9705-42ca-bf51-b7a8bf1188e7