2026-08-17 02:28:19,129 - INFO - Domain Default found not creating 2026-08-17 02:28:19,268 - INFO - Project ctest-TestBasicPolicy-18572077 not found, creating it 2026-08-17 02:28:19,719 - INFO - Created Project:ctest-TestBasicPolicy-18572077, ID : 46909105-23db-4bf6-a7c6-d45dee5fce41 2026-08-17 02:28:21,193 - INFO - ================================================================================ 2026-08-17 02:28:21,193 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 02:28:21,193 - 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-08-17 02:28:21,446 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-08-17 02:28:21,446 - INFO - Initial checks done. Running the testcase now 2026-08-17 02:28:21,446 - INFO - 2026-08-17 02:28:22,011 - DEBUG - Response for create_network : {'network': {'id': '7457e829-eb91-4f1a-9c20-da181cd17740', 'name': 'ctest-vn-27794389', 'tenant_id': '4690910523db4bf6a7c6d45dee5fce41', 'project_id': '4690910523db4bf6a7c6d45dee5fce41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-vn-27794389'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 02:28:22,160 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8ddbb6c-b387-4150-ab2c-c5c61edc5da3', 'name': '', 'tenant_id': '4690910523db4bf6a7c6d45dee5fce41', 'network_id': '7457e829-eb91-4f1a-9c20-da181cd17740', 'ip_version': 4, 'cidr': '165.131.216.64/26', 'allocation_pools': [{'start': '165.131.216.66', 'end': '165.131.216.126'}], 'gateway_ip': '165.131.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.131.216.66', 'tags': [], 'project_id': '4690910523db4bf6a7c6d45dee5fce41'}} 2026-08-17 02:28:22,176 - INFO - Created VN ctest-vn-27794389 2026-08-17 02:28:22,228 - DEBUG - VN ctest-vn-27794389 UUID is 7457e829-eb91-4f1a-9c20-da181cd17740 2026-08-17 02:28:22,555 - DEBUG - Response for create_network : {'network': {'id': '5fb6b2b4-a285-4826-a7fb-2b386699870f', 'name': 'ctest-vn-20868863', 'tenant_id': '4690910523db4bf6a7c6d45dee5fce41', 'project_id': '4690910523db4bf6a7c6d45dee5fce41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-vn-20868863'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 02:28:22,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0c5a4cc-506f-4ee2-b7a2-6626978bf681', 'name': '', 'tenant_id': '4690910523db4bf6a7c6d45dee5fce41', 'network_id': '5fb6b2b4-a285-4826-a7fb-2b386699870f', 'ip_version': 4, 'cidr': '171.172.38.64/26', 'allocation_pools': [{'start': '171.172.38.66', 'end': '171.172.38.126'}], 'gateway_ip': '171.172.38.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.172.38.66', 'tags': [], 'project_id': '4690910523db4bf6a7c6d45dee5fce41'}} 2026-08-17 02:28:22,759 - INFO - Created VN ctest-vn-20868863 2026-08-17 02:28:22,812 - DEBUG - VN ctest-vn-20868863 UUID is 5fb6b2b4-a285-4826-a7fb-2b386699870f 2026-08-17 02:28:22,956 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-27794389, 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-18572077:ctest-vn-20868863, 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-08-17 02:28:23,243 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7457e829-eb91-4f1a-9c20-da181cd17740', 'name': 'ctest-vn-27794389', 'tenant_id': '4690910523db4bf6a7c6d45dee5fce41', 'project_id': '4690910523db4bf6a7c6d45dee5fce41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b8ddbb6c-b387-4150-ab2c-c5c61edc5da3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-vn-27794389'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-policy-allow-all-82104224']], 'subnet_ipam': [{'subnet_cidr': '165.131.216.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 02:28:23,468 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5fb6b2b4-a285-4826-a7fb-2b386699870f', 'name': 'ctest-vn-20868863', 'tenant_id': '4690910523db4bf6a7c6d45dee5fce41', 'project_id': '4690910523db4bf6a7c6d45dee5fce41', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0c5a4cc-506f-4ee2-b7a2-6626978bf681'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-vn-20868863'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-policy-allow-all-82104224']], 'subnet_ipam': [{'subnet_cidr': '171.172.38.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 02:28:23,632 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-17 02:28:23,963 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-17 02:28:23,991 - DEBUG - Requesting: http://10.0.0.189:8082/domain/dfc0c64e-f091-468c-b4a2-c81ce920aea2 2026-08-17 02:28:24,004 - DEBUG - Requesting: http://10.0.0.189:8082/project/46909105-23db-4bf6-a7c6-d45dee5fce41 2026-08-17 02:28:24,079 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/7457e829-eb91-4f1a-9c20-da181cd17740 2026-08-17 02:28:24,090 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/7457e829-eb91-4f1a-9c20-da181cd17740 2026-08-17 02:28:24,099 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0266da7b-c055-441d-8ba6-6dc285262515 2026-08-17 02:28:24,107 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0266da7b-c055-441d-8ba6-6dc285262515 2026-08-17 02:28:24,113 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0ce3f9c7-3e1c-45d3-a3e1-34f5b043f43e 2026-08-17 02:28:24,118 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 02:28:24,118 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/7457e829-eb91-4f1a-9c20-da181cd17740 2026-08-17 02:28:24,126 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0266da7b-c055-441d-8ba6-6dc285262515 2026-08-17 02:28:24,138 - INFO - Verified VN network id 11 for VN 7457e829-eb91-4f1a-9c20-da181cd17740 2026-08-17 02:28:24,139 - INFO - Verifications in API Server for VN ctest-vn-27794389 passed 2026-08-17 02:28:24,139 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/7457e829-eb91-4f1a-9c20-da181cd17740 2026-08-17 02:28:24,146 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0266da7b-c055-441d-8ba6-6dc285262515 2026-08-17 02:28:24,152 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0266da7b-c055-441d-8ba6-6dc285262515 2026-08-17 02:28:24,158 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/0ce3f9c7-3e1c-45d3-a3e1-34f5b043f43e 2026-08-17 02:28:24,168 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-27794389', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18572077', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8383424498116939546', 'uuid-lslong': '11250231666269058880'}, 'enable': 'true', 'created': '2026-08-17T02:28:21', 'last-modified': '2026-08-17T02:28:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944290'} 2026-08-17 02:28:24,174 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 02:28:24,174 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27794389 passed 2026-08-17 02:28:24,175 - DEBUG - ====Verifying policy data for ctest-vn-27794389 in API_Server ====== 2026-08-17 02:28:24,175 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-17 02:28:24,180 - DEBUG - Requesting: http://10.0.0.189:8082/domain/dfc0c64e-f091-468c-b4a2-c81ce920aea2 2026-08-17 02:28:24,190 - DEBUG - Requesting: http://10.0.0.189:8082/project/46909105-23db-4bf6-a7c6-d45dee5fce41 2026-08-17 02:28:24,263 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/7457e829-eb91-4f1a-9c20-da181cd17740 2026-08-17 02:28:24,274 - DEBUG - ==>Verifying data for policy with id: 31cec547-fa08-4f9d-84ac-6fd349211c92, fqn: ['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-policy-allow-all-82104224'] 2026-08-17 02:28:24,274 - INFO - VN ctest-vn-27794389 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 02:28:24,274 - DEBUG - Verifying the vn in opserver 2026-08-17 02:28:24,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-27794389 virtual network link through opserver 10.0.0.189 2026-08-17 02:28:24,274 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-17 02:28:24,597 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-17 02:28:24,650 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-27794389', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-27794389?flat'} 2026-08-17 02:28:24,650 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-27794389 is found in opserver 2026-08-17 02:28:24,661 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 02:28:24,666 - DEBUG - VRF ids for VN ctest-vn-27794389: {} 2026-08-17 02:28:24,666 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-17 02:28:24,671 - DEBUG - Requesting: http://10.0.0.189:8082/domain/dfc0c64e-f091-468c-b4a2-c81ce920aea2 2026-08-17 02:28:24,680 - DEBUG - Requesting: http://10.0.0.189:8082/project/46909105-23db-4bf6-a7c6-d45dee5fce41 2026-08-17 02:28:24,751 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5fb6b2b4-a285-4826-a7fb-2b386699870f 2026-08-17 02:28:24,762 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5fb6b2b4-a285-4826-a7fb-2b386699870f 2026-08-17 02:28:24,770 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f56cca97-fdbb-4550-bf3e-388b3151e829 2026-08-17 02:28:24,775 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f56cca97-fdbb-4550-bf3e-388b3151e829 2026-08-17 02:28:24,781 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ac94dd69-012e-4411-b1b5-a8f0edd4ec7b 2026-08-17 02:28:24,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 02:28:24,786 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5fb6b2b4-a285-4826-a7fb-2b386699870f 2026-08-17 02:28:24,793 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f56cca97-fdbb-4550-bf3e-388b3151e829 2026-08-17 02:28:24,805 - INFO - Verified VN network id 12 for VN 5fb6b2b4-a285-4826-a7fb-2b386699870f 2026-08-17 02:28:24,806 - INFO - Verifications in API Server for VN ctest-vn-20868863 passed 2026-08-17 02:28:24,806 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5fb6b2b4-a285-4826-a7fb-2b386699870f 2026-08-17 02:28:24,814 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f56cca97-fdbb-4550-bf3e-388b3151e829 2026-08-17 02:28:24,820 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f56cca97-fdbb-4550-bf3e-388b3151e829 2026-08-17 02:28:24,826 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/ac94dd69-012e-4411-b1b5-a8f0edd4ec7b 2026-08-17 02:28:24,837 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-20868863', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18572077', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6896896368254994470', 'uuid-lslong': '12104315944727840527'}, 'enable': 'true', 'created': '2026-08-17T02:28:22', 'last-modified': '2026-08-17T02:28:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391001'} 2026-08-17 02:28:24,843 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 02:28:24,844 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20868863 passed 2026-08-17 02:28:24,844 - DEBUG - ====Verifying policy data for ctest-vn-20868863 in API_Server ====== 2026-08-17 02:28:24,844 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-17 02:28:24,848 - DEBUG - Requesting: http://10.0.0.189:8082/domain/dfc0c64e-f091-468c-b4a2-c81ce920aea2 2026-08-17 02:28:24,858 - DEBUG - Requesting: http://10.0.0.189:8082/project/46909105-23db-4bf6-a7c6-d45dee5fce41 2026-08-17 02:28:24,927 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/5fb6b2b4-a285-4826-a7fb-2b386699870f 2026-08-17 02:28:24,935 - DEBUG - ==>Verifying data for policy with id: 31cec547-fa08-4f9d-84ac-6fd349211c92, fqn: ['default-domain', 'ctest-TestBasicPolicy-18572077', 'ctest-policy-allow-all-82104224'] 2026-08-17 02:28:24,936 - INFO - VN ctest-vn-20868863 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 02:28:24,936 - DEBUG - Verifying the vn in opserver 2026-08-17 02:28:24,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-20868863 virtual network link through opserver 10.0.0.189 2026-08-17 02:28:24,936 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-17 02:28:24,944 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-20868863', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-20868863?flat'} 2026-08-17 02:28:24,944 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-20868863 is found in opserver 2026-08-17 02:28:24,953 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 02:28:24,957 - DEBUG - VRF ids for VN ctest-vn-20868863: {} 2026-08-17 02:28:25,007 - DEBUG - Services list from nova: [, , ] 2026-08-17 02:28:25,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6168-1) 2026-08-17 02:28:25,765 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6168-1) 2026-08-17 02:28:25,765 - INFO - Waiting for VM ctest-TestBasicPolicy-18572077-89730144 to be up.. 2026-08-17 02:28:25,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:28:30,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:28:35,952 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:28:41,025 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:28:46,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:28:51,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:28:56,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:29:01,330 - DEBUG - VM is in ACTIVE state now 2026-08-17 02:29:01,331 - INFO - VM name : ctest-TestBasicPolicy-18572077-89730144 2026-08-17 02:29:01,404 - DEBUG - VM ctest-TestBasicPolicy-18572077-89730144 ID is 782f1402-320b-4b41-8e08-dd7ac8f3a0ba 2026-08-17 02:29:01,423 - DEBUG - VM ctest-TestBasicPolicy-18572077-89730144 launched on Node cn-jenkins-deploy-platform-ansible-os-6168-1 2026-08-17 02:29:01,496 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/782f1402-320b-4b41-8e08-dd7ac8f3a0ba 2026-08-17 02:29:01,505 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/c5ac1618-9a73-447e-9fab-20e7f970d147 2026-08-17 02:29:04,786 - 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 1030ms') 2026-08-17 02:29:04,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18572077-89730144 failed! 2026-08-17 02:29:04,840 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-27794389 is 165.131.216.65 and allocation pool is NOT set 2026-08-17 02:29:06,901 - 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=9.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.229 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.229/4.797/9.366/4.568 ms') 2026-08-17 02:29:06,901 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-18572077-89730144 passed 2026-08-17 02:29:07,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 02:29:07,052 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18572077-89730144, IP 165.131.216.67, Port 22 2026-08-17 02:29:07,208 - DEBUG - VM ctest-TestBasicPolicy-18572077-89730144 is ready for SSH connections 2026-08-17 02:29:07,208 - INFO - Waiting for VM ctest-TestBasicPolicy-18572077-85723876 to be up.. 2026-08-17 02:29:07,281 - DEBUG - VM is in ACTIVE state now 2026-08-17 02:29:07,281 - INFO - VM name : ctest-TestBasicPolicy-18572077-85723876 2026-08-17 02:29:07,350 - DEBUG - VM ctest-TestBasicPolicy-18572077-85723876 ID is bb8b8232-b26b-4af3-8782-5fa8f896072a 2026-08-17 02:29:07,350 - DEBUG - VM ctest-TestBasicPolicy-18572077-85723876 launched on Node cn-jenkins-deploy-platform-ansible-os-6168-1 2026-08-17 02:29:07,423 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/bb8b8232-b26b-4af3-8782-5fa8f896072a 2026-08-17 02:29:07,431 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/da011bb2-60df-4751-847e-42624b666ca1 2026-08-17 02:29:10,705 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2026-08-17 02:29:10,705 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18572077-85723876 failed! 2026-08-17 02:29:10,760 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-18572077:ctest-vn-20868863 is 171.172.38.65 and allocation pool is NOT set 2026-08-17 02:29:12,824 - 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=5.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.895 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.895/3.209/5.523/2.314 ms') 2026-08-17 02:29:12,824 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-18572077-85723876 passed 2026-08-17 02:29:12,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 02:29:12,972 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-18572077-85723876, IP 171.172.38.67, Port 22 2026-08-17 02:29:13,127 - DEBUG - VM ctest-TestBasicPolicy-18572077-85723876 is ready for SSH connections 2026-08-17 02:29:13,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 02:29:13,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.172.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-08-17 02:29:13,128 - DEBUG - ping -s 56 -c 3 -W 1 171.172.38.67 2026-08-17 02:29:16,978 - DEBUG - PING 171.172.38.67 (171.172.38.67): 56 data bytes 64 bytes from 171.172.38.67: seq=0 ttl=63 time=4.300 ms 64 bytes from 171.172.38.67: seq=1 ttl=63 time=2.433 ms 64 bytes from 171.172.38.67: seq=2 ttl=63 time=0.982 ms --- 171.172.38.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/2.571/4.300 ms 2026-08-17 02:29:16,978 - INFO - Ping to IP 171.172.38.67 from VM ctest-TestBasicPolicy-18572077-89730144 passed 2026-08-17 02:29:17,189 - DEBUG - Policy Update Response {"network-policy": {"uuid": "31cec547-fa08-4f9d-84ac-6fd349211c92", "href": "http://10.0.0.189:8082/network-policy/31cec547-fa08-4f9d-84ac-6fd349211c92"}} 2026-08-17 02:29:17,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 02:29:17,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 171.172.38.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-08-17 02:29:17,189 - DEBUG - ping -s 56 -c 3 -W 1 171.172.38.67 2026-08-17 02:29:20,314 - DEBUG - PING 171.172.38.67 (171.172.38.67): 56 data bytes 64 bytes from 171.172.38.67: seq=0 ttl=63 time=1.889 ms --- 171.172.38.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.889/1.889/1.889 ms 2026-08-17 02:29:20,314 - WARNING - Ping to IP 171.172.38.67 from VM ctest-TestBasicPolicy-18572077-89730144 failed 2026-08-17 02:29:20,314 - INFO - Deleting VM ctest-TestBasicPolicy-18572077-85723876 2026-08-17 02:29:20,383 - INFO - Deleting VM ctest-TestBasicPolicy-18572077-89730144 2026-08-17 02:29:20,714 - INFO - Deleted policy ctest-policy-allow-all-82104224 2026-08-17 02:29:20,714 - INFO - Deleting VN ctest-vn-20868863 2026-08-17 02:29:20,744 - DEBUG - VN 5fb6b2b4-a285-4826-a7fb-2b386699870f still in use: Unable to complete operation on network 5fb6b2b4-a285-4826-a7fb-2b386699870f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eef36b5c-2d45-4e93-af8b-096388fd0e8e'] 2026-08-17 02:29:20,744 - WARNING - Deleting VN ctest-vn-20868863 failed..Will retry 2026-08-17 02:29:22,846 - DEBUG - Response for deleting network () 2026-08-17 02:29:22,846 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f56cca97-fdbb-4550-bf3e-388b3151e829 2026-08-17 02:29:22,853 - DEBUG - Response Code: 404 2026-08-17 02:29:22,854 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-17 02:29:22,858 - DEBUG - Requesting: http://10.0.0.189:8082/domain/dfc0c64e-f091-468c-b4a2-c81ce920aea2 2026-08-17 02:29:22,914 - DEBUG - Requesting: http://10.0.0.189:8082/project/46909105-23db-4bf6-a7c6-d45dee5fce41 2026-08-17 02:29:22,986 - INFO - Validated that VN ctest-vn-20868863 is not found in API Server 2026-08-17 02:29:22,997 - DEBUG - VN ctest-vn-20868863 is not present in Agent 10.0.0.189 2026-08-17 02:29:22,998 - INFO - Validated that VN ctest-vn-20868863 is not in any agent 2026-08-17 02:29:23,015 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20868863 info 2026-08-17 02:29:23,015 - INFO - Deleting VN ctest-vn-27794389 2026-08-17 02:29:23,106 - DEBUG - Response for deleting network () 2026-08-17 02:29:23,106 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0266da7b-c055-441d-8ba6-6dc285262515 2026-08-17 02:29:23,111 - DEBUG - Response Code: 404 2026-08-17 02:29:23,112 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-17 02:29:23,119 - DEBUG - Requesting: http://10.0.0.189:8082/domain/dfc0c64e-f091-468c-b4a2-c81ce920aea2 2026-08-17 02:29:23,173 - DEBUG - Requesting: http://10.0.0.189:8082/project/46909105-23db-4bf6-a7c6-d45dee5fce41 2026-08-17 02:29:23,243 - INFO - Validated that VN ctest-vn-27794389 is not found in API Server 2026-08-17 02:29:23,256 - DEBUG - VN ctest-vn-27794389 is not present in Agent 10.0.0.189 2026-08-17 02:29:23,256 - INFO - Validated that VN ctest-vn-27794389 is not in any agent 2026-08-17 02:29:23,271 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27794389 info 2026-08-17 02:29:23,533 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 02:29:23,533 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:02]
2026-08-17 02:29:23,533 - INFO - -------------------------------------------------------------------------------- 2026-08-17 02:29:24,216 - INFO - Deleted project: ctest-TestBasicPolicy-18572077, ID : 46909105-23db-4bf6-a7c6-d45dee5fce41