2026-07-17 18:09:00,446 - INFO - Domain Default found not creating 2026-07-17 18:09:00,644 - INFO - Project ctest-TestBasicPolicy-87161483 not found, creating it 2026-07-17 18:09:01,169 - INFO - Created Project:ctest-TestBasicPolicy-87161483, ID : 4e0a0462-be19-4219-bfc0-92c59e4e2434 2026-07-17 18:09:02,945 - INFO - ================================================================================ 2026-07-17 18:09:02,945 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-17 18:09:02,945 - 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 2026-07-17 18:09:03,222 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-17 18:09:03,222 - INFO - Initial checks done. Running the testcase now 2026-07-17 18:09:03,222 - INFO - 2026-07-17 18:09:03,905 - DEBUG - Response for create_network : {'network': {'id': '1f05b48a-4ea9-4d93-b1b8-ce057c943305', 'name': 'ctest-vn-45416041', 'tenant_id': '4e0a0462be194219bfc092c59e4e2434', 'project_id': '4e0a0462be194219bfc092c59e4e2434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-vn-45416041'], 'port_security_enabled': True, 'description': ''}} 2026-07-17 18:09:04,097 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b80575e4-18e9-4a8f-a285-cd8a1102485b', 'name': '', 'tenant_id': '4e0a0462be194219bfc092c59e4e2434', 'network_id': '1f05b48a-4ea9-4d93-b1b8-ce057c943305', 'ip_version': 4, 'cidr': '65.110.44.192/26', 'allocation_pools': [{'start': '65.110.44.194', 'end': '65.110.44.254'}], 'gateway_ip': '65.110.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.110.44.194', 'tags': [], 'project_id': '4e0a0462be194219bfc092c59e4e2434'}} 2026-07-17 18:09:04,117 - INFO - Created VN ctest-vn-45416041 2026-07-17 18:09:04,174 - DEBUG - VN ctest-vn-45416041 UUID is 1f05b48a-4ea9-4d93-b1b8-ce057c943305 2026-07-17 18:09:04,488 - DEBUG - Response for create_network : {'network': {'id': '6931af6f-7a01-4bf2-b1ae-88ce0b5624e4', 'name': 'ctest-vn-05430835', 'tenant_id': '4e0a0462be194219bfc092c59e4e2434', 'project_id': '4e0a0462be194219bfc092c59e4e2434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-vn-05430835'], 'port_security_enabled': True, 'description': ''}} 2026-07-17 18:09:04,704 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c3a713b-98a6-4e42-a894-10e9f887971c', 'name': '', 'tenant_id': '4e0a0462be194219bfc092c59e4e2434', 'network_id': '6931af6f-7a01-4bf2-b1ae-88ce0b5624e4', 'ip_version': 4, 'cidr': '81.245.58.128/26', 'allocation_pools': [{'start': '81.245.58.130', 'end': '81.245.58.190'}], 'gateway_ip': '81.245.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.245.58.130', 'tags': [], 'project_id': '4e0a0462be194219bfc092c59e4e2434'}} 2026-07-17 18:09:04,722 - INFO - Created VN ctest-vn-05430835 2026-07-17 18:09:04,782 - DEBUG - VN ctest-vn-05430835 UUID is 6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 2026-07-17 18:09:04,929 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-45416041, 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-87161483:ctest-vn-05430835, 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] 2026-07-17 18:09:05,258 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f05b48a-4ea9-4d93-b1b8-ce057c943305', 'name': 'ctest-vn-45416041', 'tenant_id': '4e0a0462be194219bfc092c59e4e2434', 'project_id': '4e0a0462be194219bfc092c59e4e2434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b80575e4-18e9-4a8f-a285-cd8a1102485b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-vn-45416041'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-policy-allow-all-52095680']], 'subnet_ipam': [{'subnet_cidr': '65.110.44.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-17 18:09:05,524 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6931af6f-7a01-4bf2-b1ae-88ce0b5624e4', 'name': 'ctest-vn-05430835', 'tenant_id': '4e0a0462be194219bfc092c59e4e2434', 'project_id': '4e0a0462be194219bfc092c59e4e2434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c3a713b-98a6-4e42-a894-10e9f887971c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-vn-05430835'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-policy-allow-all-52095680']], 'subnet_ipam': [{'subnet_cidr': '81.245.58.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-17 18:09:05,698 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-17 18:09:06,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-17 18:09:06,118 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f880a7f-de93-44ce-aa16-f69437742e26 2026-07-17 18:09:06,134 - DEBUG - Requesting: http://10.0.0.38:8082/project/4e0a0462-be19-4219-bfc0-92c59e4e2434 2026-07-17 18:09:06,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f05b48a-4ea9-4d93-b1b8-ce057c943305 2026-07-17 18:09:06,226 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f05b48a-4ea9-4d93-b1b8-ce057c943305 2026-07-17 18:09:06,236 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/717b2ed8-97e4-4bcd-bc89-316906c6db21 2026-07-17 18:09:06,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/717b2ed8-97e4-4bcd-bc89-316906c6db21 2026-07-17 18:09:06,250 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6094c0e5-53c6-4284-9c72-a9868e8b8c42 2026-07-17 18:09:06,257 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-17 18:09:06,257 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f05b48a-4ea9-4d93-b1b8-ce057c943305 2026-07-17 18:09:06,266 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/717b2ed8-97e4-4bcd-bc89-316906c6db21 2026-07-17 18:09:06,282 - INFO - Verified VN network id 11 for VN 1f05b48a-4ea9-4d93-b1b8-ce057c943305 2026-07-17 18:09:06,282 - INFO - Verifications in API Server for VN ctest-vn-45416041 passed 2026-07-17 18:09:06,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f05b48a-4ea9-4d93-b1b8-ce057c943305 2026-07-17 18:09:06,293 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/717b2ed8-97e4-4bcd-bc89-316906c6db21 2026-07-17 18:09:06,300 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/717b2ed8-97e4-4bcd-bc89-316906c6db21 2026-07-17 18:09:06,307 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6094c0e5-53c6-4284-9c72-a9868e8b8c42 2026-07-17 18:09:06,321 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-45416041', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87161483', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2235391296177524115', 'uuid-lslong': '12806212063388250885'}, 'enable': 'true', 'created': '2026-07-17T18:09:03', 'last-modified': '2026-07-17T18:09:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.090718'} 2026-07-17 18:09:06,329 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-17 18:09:06,329 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45416041 passed 2026-07-17 18:09:06,329 - DEBUG - ====Verifying policy data for ctest-vn-45416041 in API_Server ====== 2026-07-17 18:09:06,329 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-17 18:09:06,337 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f880a7f-de93-44ce-aa16-f69437742e26 2026-07-17 18:09:06,353 - DEBUG - Requesting: http://10.0.0.38:8082/project/4e0a0462-be19-4219-bfc0-92c59e4e2434 2026-07-17 18:09:06,433 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1f05b48a-4ea9-4d93-b1b8-ce057c943305 2026-07-17 18:09:06,445 - DEBUG - ==>Verifying data for policy with id: 28f8fb24-49e4-4118-9c89-0b562adaa29b, fqn: ['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-policy-allow-all-52095680'] 2026-07-17 18:09:06,446 - INFO - VN ctest-vn-45416041 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-17 18:09:06,446 - DEBUG - Verifying the vn in opserver 2026-07-17 18:09:06,446 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-45416041 virtual network link through opserver 10.0.0.38 2026-07-17 18:09:06,446 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-17 18:09:06,812 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-17 18:09:06,869 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-45416041', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-45416041?flat'} 2026-07-17 18:09:06,869 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-45416041 is found in opserver 2026-07-17 18:09:06,881 - DEBUG - Do not have enough data to verify VN in agent 2026-07-17 18:09:06,887 - DEBUG - VRF ids for VN ctest-vn-45416041: {} 2026-07-17 18:09:06,887 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-17 18:09:06,893 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f880a7f-de93-44ce-aa16-f69437742e26 2026-07-17 18:09:06,904 - DEBUG - Requesting: http://10.0.0.38:8082/project/4e0a0462-be19-4219-bfc0-92c59e4e2434 2026-07-17 18:09:06,978 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 2026-07-17 18:09:06,990 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 2026-07-17 18:09:06,999 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a12d829d-53c4-4738-a116-4587c7fbed4e 2026-07-17 18:09:07,007 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a12d829d-53c4-4738-a116-4587c7fbed4e 2026-07-17 18:09:07,014 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/059fcf25-046e-4431-a466-1ee136ed284c 2026-07-17 18:09:07,021 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-17 18:09:07,021 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 2026-07-17 18:09:07,031 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a12d829d-53c4-4738-a116-4587c7fbed4e 2026-07-17 18:09:07,045 - INFO - Verified VN network id 12 for VN 6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 2026-07-17 18:09:07,046 - INFO - Verifications in API Server for VN ctest-vn-05430835 passed 2026-07-17 18:09:07,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 2026-07-17 18:09:07,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a12d829d-53c4-4738-a116-4587c7fbed4e 2026-07-17 18:09:07,062 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a12d829d-53c4-4738-a116-4587c7fbed4e 2026-07-17 18:09:07,070 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/059fcf25-046e-4431-a466-1ee136ed284c 2026-07-17 18:09:07,089 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-05430835', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87161483', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7580032541164391410', 'uuid-lslong': '12803321209195734244'}, 'enable': 'true', 'created': '2026-07-17T18:09:04', 'last-modified': '2026-07-17T18:09:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.598236'} 2026-07-17 18:09:07,096 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-17 18:09:07,096 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05430835 passed 2026-07-17 18:09:07,096 - DEBUG - ====Verifying policy data for ctest-vn-05430835 in API_Server ====== 2026-07-17 18:09:07,097 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-17 18:09:07,103 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f880a7f-de93-44ce-aa16-f69437742e26 2026-07-17 18:09:07,116 - DEBUG - Requesting: http://10.0.0.38:8082/project/4e0a0462-be19-4219-bfc0-92c59e4e2434 2026-07-17 18:09:07,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 2026-07-17 18:09:07,202 - DEBUG - ==>Verifying data for policy with id: 28f8fb24-49e4-4118-9c89-0b562adaa29b, fqn: ['default-domain', 'ctest-TestBasicPolicy-87161483', 'ctest-policy-allow-all-52095680'] 2026-07-17 18:09:07,202 - INFO - VN ctest-vn-05430835 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-17 18:09:07,202 - DEBUG - Verifying the vn in opserver 2026-07-17 18:09:07,202 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-05430835 virtual network link through opserver 10.0.0.38 2026-07-17 18:09:07,202 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-17 18:09:07,214 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-05430835', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-05430835?flat'} 2026-07-17 18:09:07,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-05430835 is found in opserver 2026-07-17 18:09:07,226 - DEBUG - Do not have enough data to verify VN in agent 2026-07-17 18:09:07,232 - DEBUG - VRF ids for VN ctest-vn-05430835: {} 2026-07-17 18:09:07,303 - DEBUG - Services list from nova: [, , ] 2026-07-17 18:09:07,782 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6099-1) 2026-07-17 18:09:08,187 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6099-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6099-1) 2026-07-17 18:09:08,187 - INFO - Waiting for VM ctest-TestBasicPolicy-87161483-49178467 to be up.. 2026-07-17 18:09:08,231 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:13,293 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:18,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:23,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:28,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:33,667 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:38,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:43,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-17 18:09:48,964 - DEBUG - VM is in ACTIVE state now 2026-07-17 18:09:48,964 - INFO - VM name : ctest-TestBasicPolicy-87161483-49178467 2026-07-17 18:09:49,055 - DEBUG - VM ctest-TestBasicPolicy-87161483-49178467 ID is 3849f90a-5151-484b-9f22-2854e5a6a0d0 2026-07-17 18:09:49,081 - DEBUG - VM ctest-TestBasicPolicy-87161483-49178467 launched on Node cn-jenkins-deploy-platform-ansible-os-6099-1 2026-07-17 18:09:49,180 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3849f90a-5151-484b-9f22-2854e5a6a0d0 2026-07-17 18:09:49,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e39bb326-b8f7-499e-a80e-7650b17218a0 2026-07-17 18:09:52,439 - 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 1005ms') 2026-07-17 18:09:52,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87161483-49178467 failed! 2026-07-17 18:09:52,498 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87161483:ctest-vn-45416041 is 65.110.44.193 and allocation pool is NOT set 2026-07-17 18:09:56,567 - 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=2 ttl=63 time=7.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 7.743/7.743/7.743/0.000 ms') 2026-07-17 18:09:56,567 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87161483-49178467 passed 2026-07-17 18:09:56,722 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:09:56,722 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87161483-49178467, IP 65.110.44.195, Port 22 2026-07-17 18:09:56,892 - DEBUG - VM ctest-TestBasicPolicy-87161483-49178467 is ready for SSH connections 2026-07-17 18:09:56,892 - INFO - Waiting for VM ctest-TestBasicPolicy-87161483-64137983 to be up.. 2026-07-17 18:09:56,975 - DEBUG - VM is in ACTIVE state now 2026-07-17 18:09:56,975 - INFO - VM name : ctest-TestBasicPolicy-87161483-64137983 2026-07-17 18:09:57,069 - DEBUG - VM ctest-TestBasicPolicy-87161483-64137983 ID is bc38e504-740a-4040-a367-3ff66c091617 2026-07-17 18:09:57,069 - DEBUG - VM ctest-TestBasicPolicy-87161483-64137983 launched on Node cn-jenkins-deploy-platform-ansible-os-6099-1 2026-07-17 18:09:57,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bc38e504-740a-4040-a367-3ff66c091617 2026-07-17 18:09:57,174 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9721be76-9fcf-4b46-b50a-cba91671bada 2026-07-17 18:09:58,433 - 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=6.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.82 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 = 1.824/4.134/6.444/2.310 ms') 2026-07-17 18:09:58,433 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87161483-64137983 passed 2026-07-17 18:09:58,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:09:58,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87161483-64137983, IP 81.245.58.131, Port 22 2026-07-17 18:09:58,756 - DEBUG - VM ctest-TestBasicPolicy-87161483-64137983 is ready for SSH connections 2026-07-17 18:09:58,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:09:58,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.245.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-17 18:09:58,756 - DEBUG - ping -s 56 -c 3 -W 1 81.245.58.131 2026-07-17 18:10:02,965 - DEBUG - PING 81.245.58.131 (81.245.58.131): 56 data bytes 64 bytes from 81.245.58.131: seq=0 ttl=63 time=4.586 ms 64 bytes from 81.245.58.131: seq=1 ttl=63 time=1.862 ms 64 bytes from 81.245.58.131: seq=2 ttl=63 time=1.463 ms --- 81.245.58.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.463/2.637/4.586 ms 2026-07-17 18:10:02,965 - INFO - Ping to IP 81.245.58.131 from VM ctest-TestBasicPolicy-87161483-49178467 passed 2026-07-17 18:10:03,161 - DEBUG - Policy Update Response {"network-policy": {"uuid": "28f8fb24-49e4-4118-9c89-0b562adaa29b", "href": "http://10.0.0.38:8082/network-policy/28f8fb24-49e4-4118-9c89-0b562adaa29b"}} 2026-07-17 18:10:03,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-17 18:10:03,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 81.245.58.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-17 18:10:03,162 - DEBUG - ping -s 56 -c 3 -W 1 81.245.58.131 2026-07-17 18:10:06,290 - DEBUG - PING 81.245.58.131 (81.245.58.131): 56 data bytes 64 bytes from 81.245.58.131: seq=0 ttl=63 time=1.921 ms --- 81.245.58.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.921/1.921/1.921 ms 2026-07-17 18:10:06,290 - WARNING - Ping to IP 81.245.58.131 from VM ctest-TestBasicPolicy-87161483-49178467 failed 2026-07-17 18:10:06,290 - INFO - Deleting VM ctest-TestBasicPolicy-87161483-64137983 2026-07-17 18:10:06,398 - INFO - Deleting VM ctest-TestBasicPolicy-87161483-49178467 2026-07-17 18:10:06,815 - INFO - Deleted policy ctest-policy-allow-all-52095680 2026-07-17 18:10:06,815 - INFO - Deleting VN ctest-vn-05430835 2026-07-17 18:10:06,851 - DEBUG - VN 6931af6f-7a01-4bf2-b1ae-88ce0b5624e4 still in use: Unable to complete operation on network 6931af6f-7a01-4bf2-b1ae-88ce0b5624e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a588b853-76d4-4f15-8da5-a18157bd9a91'] 2026-07-17 18:10:06,852 - WARNING - Deleting VN ctest-vn-05430835 failed..Will retry 2026-07-17 18:10:08,992 - DEBUG - Response for deleting network () 2026-07-17 18:10:08,992 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a12d829d-53c4-4738-a116-4587c7fbed4e 2026-07-17 18:10:09,000 - DEBUG - Response Code: 404 2026-07-17 18:10:09,000 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-17 18:10:09,006 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f880a7f-de93-44ce-aa16-f69437742e26 2026-07-17 18:10:09,065 - DEBUG - Requesting: http://10.0.0.38:8082/project/4e0a0462-be19-4219-bfc0-92c59e4e2434 2026-07-17 18:10:09,144 - INFO - Validated that VN ctest-vn-05430835 is not found in API Server 2026-07-17 18:10:09,155 - DEBUG - VN ctest-vn-05430835 is not present in Agent 10.0.0.38 2026-07-17 18:10:09,155 - INFO - Validated that VN ctest-vn-05430835 is not in any agent 2026-07-17 18:10:09,176 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05430835 info 2026-07-17 18:10:09,176 - INFO - Deleting VN ctest-vn-45416041 2026-07-17 18:10:09,354 - DEBUG - Response for deleting network () 2026-07-17 18:10:09,355 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/717b2ed8-97e4-4bcd-bc89-316906c6db21 2026-07-17 18:10:09,362 - DEBUG - Response Code: 404 2026-07-17 18:10:09,362 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-17 18:10:09,369 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5f880a7f-de93-44ce-aa16-f69437742e26 2026-07-17 18:10:09,423 - DEBUG - Requesting: http://10.0.0.38:8082/project/4e0a0462-be19-4219-bfc0-92c59e4e2434 2026-07-17 18:10:09,500 - INFO - Validated that VN ctest-vn-45416041 is not found in API Server 2026-07-17 18:10:09,511 - DEBUG - VN ctest-vn-45416041 is not present in Agent 10.0.0.38 2026-07-17 18:10:09,511 - INFO - Validated that VN ctest-vn-45416041 is not in any agent 2026-07-17 18:10:09,531 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45416041 info 2026-07-17 18:10:09,801 - DEBUG - No XMPP flaps were noticed during the test
2026-07-17 18:10:09,801 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:07]
2026-07-17 18:10:09,801 - INFO - -------------------------------------------------------------------------------- 2026-07-17 18:10:10,637 - INFO - Deleted project: ctest-TestBasicPolicy-87161483, ID : 4e0a0462-be19-4219-bfc0-92c59e4e2434