2026-08-21 05:08:02,190 - INFO - Domain Default found not creating 2026-08-21 05:08:02,388 - INFO - Project ctest-TestBasicPolicy-87876640 not found, creating it 2026-08-21 05:08:02,913 - INFO - Created Project:ctest-TestBasicPolicy-87876640, ID : 8fdedba0-a59a-44e0-9df3-43ffb5976ae1 2026-08-21 05:08:04,527 - INFO - ================================================================================ 2026-08-21 05:08:04,527 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 05:08:04,527 - 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-21 05:08:04,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0'}} with 2026-08-21 05:08:04,786 - INFO - Initial checks done. Running the testcase now 2026-08-21 05:08:04,786 - INFO - 2026-08-21 05:08:05,396 - DEBUG - Response for create_network : {'network': {'id': 'ebee96b7-0b08-4a7c-951c-da1066960b3e', 'name': 'ctest-vn-21893950', 'tenant_id': '8fdedba0a59a44e09df343ffb5976ae1', 'project_id': '8fdedba0a59a44e09df343ffb5976ae1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-vn-21893950'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:08:05,644 - DEBUG - Response for create_subnet : {'subnet': {'id': '580243c4-b54f-4523-9552-31a9891f3706', 'name': '', 'tenant_id': '8fdedba0a59a44e09df343ffb5976ae1', 'network_id': 'ebee96b7-0b08-4a7c-951c-da1066960b3e', 'ip_version': 4, 'cidr': '13.19.128.64/26', 'allocation_pools': [{'start': '13.19.128.66', 'end': '13.19.128.126'}], 'gateway_ip': '13.19.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.19.128.66', 'tags': [], 'project_id': '8fdedba0a59a44e09df343ffb5976ae1'}} 2026-08-21 05:08:05,663 - INFO - Created VN ctest-vn-21893950 2026-08-21 05:08:05,716 - DEBUG - VN ctest-vn-21893950 UUID is ebee96b7-0b08-4a7c-951c-da1066960b3e 2026-08-21 05:08:06,093 - DEBUG - Response for create_network : {'network': {'id': 'd443b461-056f-4cef-837a-4220a4b771c2', 'name': 'ctest-vn-97411169', 'tenant_id': '8fdedba0a59a44e09df343ffb5976ae1', 'project_id': '8fdedba0a59a44e09df343ffb5976ae1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-vn-97411169'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:08:06,334 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2975411-6f8c-4e06-b12c-620ec5ceafa9', 'name': '', 'tenant_id': '8fdedba0a59a44e09df343ffb5976ae1', 'network_id': 'd443b461-056f-4cef-837a-4220a4b771c2', 'ip_version': 4, 'cidr': '61.181.19.192/26', 'allocation_pools': [{'start': '61.181.19.194', 'end': '61.181.19.254'}], 'gateway_ip': '61.181.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.181.19.194', 'tags': [], 'project_id': '8fdedba0a59a44e09df343ffb5976ae1'}} 2026-08-21 05:08:06,353 - INFO - Created VN ctest-vn-97411169 2026-08-21 05:08:06,408 - DEBUG - VN ctest-vn-97411169 UUID is d443b461-056f-4cef-837a-4220a4b771c2 2026-08-21 05:08:06,525 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-21893950, 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-87876640:ctest-vn-97411169, 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-21 05:08:06,864 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ebee96b7-0b08-4a7c-951c-da1066960b3e', 'name': 'ctest-vn-21893950', 'tenant_id': '8fdedba0a59a44e09df343ffb5976ae1', 'project_id': '8fdedba0a59a44e09df343ffb5976ae1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['580243c4-b54f-4523-9552-31a9891f3706'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-vn-21893950'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-policy-allow-all-24808664']], 'subnet_ipam': [{'subnet_cidr': '13.19.128.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:08:07,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd443b461-056f-4cef-837a-4220a4b771c2', 'name': 'ctest-vn-97411169', 'tenant_id': '8fdedba0a59a44e09df343ffb5976ae1', 'project_id': '8fdedba0a59a44e09df343ffb5976ae1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2975411-6f8c-4e06-b12c-620ec5ceafa9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-vn-97411169'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-policy-allow-all-24808664']], 'subnet_ipam': [{'subnet_cidr': '61.181.19.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 05:08:07,308 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-21 05:08:07,659 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-21 05:08:07,695 - DEBUG - Requesting: http://10.0.0.250:8082/domain/4c8fc260-3709-44de-980f-9868b10dcaa7 2026-08-21 05:08:07,710 - DEBUG - Requesting: http://10.0.0.250:8082/project/8fdedba0-a59a-44e0-9df3-43ffb5976ae1 2026-08-21 05:08:07,790 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/ebee96b7-0b08-4a7c-951c-da1066960b3e 2026-08-21 05:08:07,805 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/ebee96b7-0b08-4a7c-951c-da1066960b3e 2026-08-21 05:08:07,817 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/844c1e27-c1f5-4bda-a0dd-016985f978bf 2026-08-21 05:08:07,827 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/844c1e27-c1f5-4bda-a0dd-016985f978bf 2026-08-21 05:08:07,835 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/72ba2d80-e652-462f-8671-e5243fed79df 2026-08-21 05:08:07,843 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 05:08:07,843 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/ebee96b7-0b08-4a7c-951c-da1066960b3e 2026-08-21 05:08:07,854 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/844c1e27-c1f5-4bda-a0dd-016985f978bf 2026-08-21 05:08:07,869 - INFO - Verified VN network id 11 for VN ebee96b7-0b08-4a7c-951c-da1066960b3e 2026-08-21 05:08:07,869 - INFO - Verifications in API Server for VN ctest-vn-21893950 passed 2026-08-21 05:08:07,869 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/ebee96b7-0b08-4a7c-951c-da1066960b3e 2026-08-21 05:08:07,879 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/844c1e27-c1f5-4bda-a0dd-016985f978bf 2026-08-21 05:08:07,889 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/844c1e27-c1f5-4bda-a0dd-016985f978bf 2026-08-21 05:08:07,897 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/72ba2d80-e652-462f-8671-e5243fed79df 2026-08-21 05:08:07,909 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-21893950', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87876640', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17000691356278475388', 'uuid-lslong': '10744702574974602046'}, 'enable': 'true', 'created': '2026-08-21T05:08:05', 'last-modified': '2026-08-21T05:08:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.082953'} 2026-08-21 05:08:07,916 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 05:08:07,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21893950 passed 2026-08-21 05:08:07,917 - DEBUG - ====Verifying policy data for ctest-vn-21893950 in API_Server ====== 2026-08-21 05:08:07,917 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-21 05:08:07,924 - DEBUG - Requesting: http://10.0.0.250:8082/domain/4c8fc260-3709-44de-980f-9868b10dcaa7 2026-08-21 05:08:07,937 - DEBUG - Requesting: http://10.0.0.250:8082/project/8fdedba0-a59a-44e0-9df3-43ffb5976ae1 2026-08-21 05:08:08,022 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/ebee96b7-0b08-4a7c-951c-da1066960b3e 2026-08-21 05:08:08,033 - DEBUG - ==>Verifying data for policy with id: 473cfecc-0a21-4697-b3cd-d7db389cddad, fqn: ['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-policy-allow-all-24808664'] 2026-08-21 05:08:08,034 - INFO - VN ctest-vn-21893950 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 05:08:08,034 - DEBUG - Verifying the vn in opserver 2026-08-21 05:08:08,034 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-21893950 virtual network link through opserver 10.0.0.250 2026-08-21 05:08:08,034 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-08-21 05:08:08,370 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-08-21 05:08:08,432 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-21893950', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-21893950?flat'} 2026-08-21 05:08:08,432 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-21893950 is found in opserver 2026-08-21 05:08:08,443 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 05:08:08,449 - DEBUG - VRF ids for VN ctest-vn-21893950: {} 2026-08-21 05:08:08,450 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-21 05:08:08,457 - DEBUG - Requesting: http://10.0.0.250:8082/domain/4c8fc260-3709-44de-980f-9868b10dcaa7 2026-08-21 05:08:08,469 - DEBUG - Requesting: http://10.0.0.250:8082/project/8fdedba0-a59a-44e0-9df3-43ffb5976ae1 2026-08-21 05:08:08,549 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/d443b461-056f-4cef-837a-4220a4b771c2 2026-08-21 05:08:08,563 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/d443b461-056f-4cef-837a-4220a4b771c2 2026-08-21 05:08:08,574 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/29bf63fb-fb22-4bef-b1a8-f2672f39d04f 2026-08-21 05:08:08,583 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/29bf63fb-fb22-4bef-b1a8-f2672f39d04f 2026-08-21 05:08:08,591 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/a70ec62e-c2ee-41a5-b4a9-c785cb83f4b1 2026-08-21 05:08:08,598 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 05:08:08,598 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/d443b461-056f-4cef-837a-4220a4b771c2 2026-08-21 05:08:08,609 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/29bf63fb-fb22-4bef-b1a8-f2672f39d04f 2026-08-21 05:08:08,627 - INFO - Verified VN network id 12 for VN d443b461-056f-4cef-837a-4220a4b771c2 2026-08-21 05:08:08,627 - INFO - Verifications in API Server for VN ctest-vn-97411169 passed 2026-08-21 05:08:08,627 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/d443b461-056f-4cef-837a-4220a4b771c2 2026-08-21 05:08:08,638 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/29bf63fb-fb22-4bef-b1a8-f2672f39d04f 2026-08-21 05:08:08,647 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/29bf63fb-fb22-4bef-b1a8-f2672f39d04f 2026-08-21 05:08:08,654 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/a70ec62e-c2ee-41a5-b4a9-c785cb83f4b1 2026-08-21 05:08:08,667 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-97411169', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87876640', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15295267088276344047', 'uuid-lslong': '9473957474097131970'}, 'enable': 'true', 'created': '2026-08-21T05:08:06', 'last-modified': '2026-08-21T05:08:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.576707'} 2026-08-21 05:08:08,673 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 05:08:08,673 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97411169 passed 2026-08-21 05:08:08,673 - DEBUG - ====Verifying policy data for ctest-vn-97411169 in API_Server ====== 2026-08-21 05:08:08,673 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-21 05:08:08,679 - DEBUG - Requesting: http://10.0.0.250:8082/domain/4c8fc260-3709-44de-980f-9868b10dcaa7 2026-08-21 05:08:08,691 - DEBUG - Requesting: http://10.0.0.250:8082/project/8fdedba0-a59a-44e0-9df3-43ffb5976ae1 2026-08-21 05:08:08,767 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/d443b461-056f-4cef-837a-4220a4b771c2 2026-08-21 05:08:08,776 - DEBUG - ==>Verifying data for policy with id: 473cfecc-0a21-4697-b3cd-d7db389cddad, fqn: ['default-domain', 'ctest-TestBasicPolicy-87876640', 'ctest-policy-allow-all-24808664'] 2026-08-21 05:08:08,776 - INFO - VN ctest-vn-97411169 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 05:08:08,776 - DEBUG - Verifying the vn in opserver 2026-08-21 05:08:08,776 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-97411169 virtual network link through opserver 10.0.0.250 2026-08-21 05:08:08,776 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-08-21 05:08:08,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-97411169', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-97411169?flat'} 2026-08-21 05:08:08,788 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-97411169 is found in opserver 2026-08-21 05:08:08,798 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 05:08:08,802 - DEBUG - VRF ids for VN ctest-vn-97411169: {} 2026-08-21 05:08:08,873 - DEBUG - Services list from nova: [, , ] 2026-08-21 05:08:09,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6197-1) 2026-08-21 05:08:09,768 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6197-1) 2026-08-21 05:08:09,768 - INFO - Waiting for VM ctest-TestBasicPolicy-87876640-01674482 to be up.. 2026-08-21 05:08:09,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:14,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:19,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:25,078 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:30,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:35,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:40,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:45,457 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 05:08:50,553 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:08:50,553 - INFO - VM name : ctest-TestBasicPolicy-87876640-01674482 2026-08-21 05:08:50,635 - DEBUG - VM ctest-TestBasicPolicy-87876640-01674482 ID is f229af47-2116-4b48-8b9c-46c0f5628724 2026-08-21 05:08:50,655 - DEBUG - VM ctest-TestBasicPolicy-87876640-01674482 launched on Node cn-jenkins-deploy-platform-ansible-os-6197-1 2026-08-21 05:08:50,736 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/f229af47-2116-4b48-8b9c-46c0f5628724 2026-08-21 05:08:50,746 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/2994b82e-36c9-413a-90c0-37fdb1b73608 2026-08-21 05:08:54,019 - 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=6.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 6.748/6.748/6.748/0.000 ms') 2026-08-21 05:08:54,019 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87876640-01674482 passed 2026-08-21 05:08:54,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:08:54,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87876640-01674482, IP 13.19.128.67, Port 22 2026-08-21 05:08:54,339 - DEBUG - VM ctest-TestBasicPolicy-87876640-01674482 is ready for SSH connections 2026-08-21 05:08:54,339 - INFO - Waiting for VM ctest-TestBasicPolicy-87876640-28780075 to be up.. 2026-08-21 05:08:54,421 - DEBUG - VM is in ACTIVE state now 2026-08-21 05:08:54,421 - INFO - VM name : ctest-TestBasicPolicy-87876640-28780075 2026-08-21 05:08:54,501 - DEBUG - VM ctest-TestBasicPolicy-87876640-28780075 ID is 7d5166d5-70c2-4c00-b779-daa57e427cda 2026-08-21 05:08:54,501 - DEBUG - VM ctest-TestBasicPolicy-87876640-28780075 launched on Node cn-jenkins-deploy-platform-ansible-os-6197-1 2026-08-21 05:08:54,578 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/7d5166d5-70c2-4c00-b779-daa57e427cda 2026-08-21 05:08:54,587 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/c7b8f470-03e8-46bf-b47b-f95fdac795ae 2026-08-21 05:08:57,863 - 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 1028ms') 2026-08-21 05:08:57,863 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87876640-28780075 failed! 2026-08-21 05:08:57,920 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87876640:ctest-vn-97411169 is 61.181.19.193 and allocation pool is NOT set 2026-08-21 05:08:59,990 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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 = 1.071/2.745/4.419/1.674 ms') 2026-08-21 05:08:59,991 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87876640-28780075 passed 2026-08-21 05:09:00,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:09:00,144 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87876640-28780075, IP 61.181.19.195, Port 22 2026-08-21 05:09:00,211 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-21 05:09:00,296 - DEBUG - VM ctest-TestBasicPolicy-87876640-28780075 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-21 05:09:05,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:09:05,297 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87876640-28780075, IP 61.181.19.195, Port 22 2026-08-21 05:09:05,471 - DEBUG - VM ctest-TestBasicPolicy-87876640-28780075 is ready for SSH connections 2026-08-21 05:09:05,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:09:05,471 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.181.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-08-21 05:09:05,471 - DEBUG - ping -s 56 -c 3 -W 1 61.181.19.195 2026-08-21 05:09:09,440 - DEBUG - PING 61.181.19.195 (61.181.19.195): 56 data bytes 64 bytes from 61.181.19.195: seq=0 ttl=63 time=4.555 ms 64 bytes from 61.181.19.195: seq=1 ttl=63 time=1.386 ms 64 bytes from 61.181.19.195: seq=2 ttl=63 time=1.073 ms --- 61.181.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.073/2.338/4.555 ms 2026-08-21 05:09:09,440 - INFO - Ping to IP 61.181.19.195 from VM ctest-TestBasicPolicy-87876640-01674482 passed 2026-08-21 05:09:09,632 - DEBUG - Policy Update Response {"network-policy": {"uuid": "473cfecc-0a21-4697-b3cd-d7db389cddad", "href": "http://10.0.0.250:8082/network-policy/473cfecc-0a21-4697-b3cd-d7db389cddad"}} 2026-08-21 05:09:09,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 05:09:09,632 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.181.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-08-21 05:09:09,632 - DEBUG - ping -s 56 -c 3 -W 1 61.181.19.195 2026-08-21 05:09:12,771 - DEBUG - PING 61.181.19.195 (61.181.19.195): 56 data bytes 64 bytes from 61.181.19.195: seq=0 ttl=63 time=1.579 ms --- 61.181.19.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.579/1.579/1.579 ms 2026-08-21 05:09:12,772 - WARNING - Ping to IP 61.181.19.195 from VM ctest-TestBasicPolicy-87876640-01674482 failed 2026-08-21 05:09:12,772 - INFO - Deleting VM ctest-TestBasicPolicy-87876640-28780075 2026-08-21 05:09:12,853 - INFO - Deleting VM ctest-TestBasicPolicy-87876640-01674482 2026-08-21 05:09:13,222 - INFO - Deleted policy ctest-policy-allow-all-24808664 2026-08-21 05:09:13,222 - INFO - Deleting VN ctest-vn-97411169 2026-08-21 05:09:13,258 - DEBUG - VN d443b461-056f-4cef-837a-4220a4b771c2 still in use: Unable to complete operation on network d443b461-056f-4cef-837a-4220a4b771c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ce3a019f-31df-48e5-a5bb-76cb9fe10680'] 2026-08-21 05:09:13,258 - WARNING - Deleting VN ctest-vn-97411169 failed..Will retry 2026-08-21 05:09:15,378 - DEBUG - Response for deleting network () 2026-08-21 05:09:15,378 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/29bf63fb-fb22-4bef-b1a8-f2672f39d04f 2026-08-21 05:09:15,387 - DEBUG - Response Code: 404 2026-08-21 05:09:15,388 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-21 05:09:15,395 - DEBUG - Requesting: http://10.0.0.250:8082/domain/4c8fc260-3709-44de-980f-9868b10dcaa7 2026-08-21 05:09:15,450 - DEBUG - Requesting: http://10.0.0.250:8082/project/8fdedba0-a59a-44e0-9df3-43ffb5976ae1 2026-08-21 05:09:15,524 - INFO - Validated that VN ctest-vn-97411169 is not found in API Server 2026-08-21 05:09:15,537 - DEBUG - VN ctest-vn-97411169 is not present in Agent 10.0.0.250 2026-08-21 05:09:15,537 - INFO - Validated that VN ctest-vn-97411169 is not in any agent 2026-08-21 05:09:15,554 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97411169 info 2026-08-21 05:09:15,554 - INFO - Deleting VN ctest-vn-21893950 2026-08-21 05:09:15,667 - DEBUG - Response for deleting network () 2026-08-21 05:09:15,668 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/844c1e27-c1f5-4bda-a0dd-016985f978bf 2026-08-21 05:09:15,677 - DEBUG - Response Code: 404 2026-08-21 05:09:15,677 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-08-21 05:09:15,684 - DEBUG - Requesting: http://10.0.0.250:8082/domain/4c8fc260-3709-44de-980f-9868b10dcaa7 2026-08-21 05:09:15,737 - DEBUG - Requesting: http://10.0.0.250:8082/project/8fdedba0-a59a-44e0-9df3-43ffb5976ae1 2026-08-21 05:09:15,822 - INFO - Validated that VN ctest-vn-21893950 is not found in API Server 2026-08-21 05:09:15,834 - DEBUG - VN ctest-vn-21893950 is not present in Agent 10.0.0.250 2026-08-21 05:09:15,834 - INFO - Validated that VN ctest-vn-21893950 is not in any agent 2026-08-21 05:09:15,851 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21893950 info 2026-08-21 05:09:16,121 - DEBUG - No XMPP flaps were noticed during the test 2026-08-21 05:09:16,122 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-08-21 05:09:16,122 - INFO - -------------------------------------------------------------------------------- 2026-08-21 05:09:16,840 - INFO - Deleted project: ctest-TestBasicPolicy-87876640, ID : 8fdedba0-a59a-44e0-9df3-43ffb5976ae1