2026-04-24 15:38:30,810 - INFO - Domain Default found not creating 2026-04-24 15:38:31,363 - INFO - Project ctest-TestBasicPolicy-70497181 not found, creating it 2026-04-24 15:38:32,165 - INFO - Created Project:ctest-TestBasicPolicy-70497181, ID : fcc22cba-a3b0-4671-bf0b-8702b047b914 2026-04-24 15:38:33,813 - INFO - ================================================================================ 2026-04-24 15:38:33,813 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-24 15:38:33,814 - 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-04-24 15:38:34,074 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-24 15:38:34,074 - INFO - Initial checks done. Running the testcase now 2026-04-24 15:38:34,074 - INFO - 2026-04-24 15:38:34,675 - DEBUG - Response for create_network : {'network': {'id': 'fe6114db-9a60-4c39-9892-3e2cfd303f0e', 'name': 'ctest-vn-99716136', 'tenant_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'project_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-vn-99716136'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 15:38:34,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '81000ef9-f5a0-4dd9-b639-1f8b78d8b6c8', 'name': '', 'tenant_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'network_id': 'fe6114db-9a60-4c39-9892-3e2cfd303f0e', 'ip_version': 4, 'cidr': '141.55.54.64/26', 'allocation_pools': [{'start': '141.55.54.66', 'end': '141.55.54.126'}], 'gateway_ip': '141.55.54.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.55.54.66', 'tags': [], 'project_id': 'fcc22cbaa3b04671bf0b8702b047b914'}} 2026-04-24 15:38:34,946 - INFO - Created VN ctest-vn-99716136 2026-04-24 15:38:35,007 - DEBUG - VN ctest-vn-99716136 UUID is fe6114db-9a60-4c39-9892-3e2cfd303f0e 2026-04-24 15:38:35,333 - DEBUG - Response for create_network : {'network': {'id': 'c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b', 'name': 'ctest-vn-76738686', 'tenant_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'project_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-vn-76738686'], 'port_security_enabled': True, 'description': ''}} 2026-04-24 15:38:35,546 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad33c1f0-62f9-4999-969a-18fe9f6fbbc3', 'name': '', 'tenant_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'network_id': 'c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b', 'ip_version': 4, 'cidr': '36.166.229.128/26', 'allocation_pools': [{'start': '36.166.229.130', 'end': '36.166.229.190'}], 'gateway_ip': '36.166.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.166.229.130', 'tags': [], 'project_id': 'fcc22cbaa3b04671bf0b8702b047b914'}} 2026-04-24 15:38:35,568 - INFO - Created VN ctest-vn-76738686 2026-04-24 15:38:35,623 - DEBUG - VN ctest-vn-76738686 UUID is c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b 2026-04-24 15:38:35,744 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-99716136, 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-70497181:ctest-vn-76738686, 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-04-24 15:38:36,056 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe6114db-9a60-4c39-9892-3e2cfd303f0e', 'name': 'ctest-vn-99716136', 'tenant_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'project_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['81000ef9-f5a0-4dd9-b639-1f8b78d8b6c8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-vn-99716136'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-policy-allow-all-51725161']], 'subnet_ipam': [{'subnet_cidr': '141.55.54.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 15:38:36,307 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b', 'name': 'ctest-vn-76738686', 'tenant_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'project_id': 'fcc22cbaa3b04671bf0b8702b047b914', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad33c1f0-62f9-4999-969a-18fe9f6fbbc3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-vn-76738686'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-policy-allow-all-51725161']], 'subnet_ipam': [{'subnet_cidr': '36.166.229.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-24 15:38:36,471 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-24 15:38:36,776 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-24 15:38:36,816 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a3a65c3-ba3f-44f9-93ee-6b7268143718 2026-04-24 15:38:36,829 - DEBUG - Requesting: http://10.0.0.33:8082/project/fcc22cba-a3b0-4671-bf0b-8702b047b914 2026-04-24 15:38:36,919 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fe6114db-9a60-4c39-9892-3e2cfd303f0e 2026-04-24 15:38:36,932 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fe6114db-9a60-4c39-9892-3e2cfd303f0e 2026-04-24 15:38:36,942 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0db1880b-0d8d-4c33-8732-45ad2415aeac 2026-04-24 15:38:36,950 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0db1880b-0d8d-4c33-8732-45ad2415aeac 2026-04-24 15:38:36,958 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/55ff52b2-193e-40d1-a2e6-0cc43bc7586a 2026-04-24 15:38:36,966 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 15:38:36,966 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fe6114db-9a60-4c39-9892-3e2cfd303f0e 2026-04-24 15:38:36,979 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0db1880b-0d8d-4c33-8732-45ad2415aeac 2026-04-24 15:38:37,003 - INFO - Verified VN network id 9 for VN fe6114db-9a60-4c39-9892-3e2cfd303f0e 2026-04-24 15:38:37,004 - INFO - Verifications in API Server for VN ctest-vn-99716136 passed 2026-04-24 15:38:37,004 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fe6114db-9a60-4c39-9892-3e2cfd303f0e 2026-04-24 15:38:37,016 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0db1880b-0d8d-4c33-8732-45ad2415aeac 2026-04-24 15:38:37,025 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0db1880b-0d8d-4c33-8732-45ad2415aeac 2026-04-24 15:38:37,035 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/55ff52b2-193e-40d1-a2e6-0cc43bc7586a 2026-04-24 15:38:37,051 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-99716136', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70497181', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18329954891795024953', 'uuid-lslong': '10993918003312082702'}, 'enable': 'true', 'created': '2026-04-24T15:38:34', 'last-modified': '2026-04-24T15:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.023699'} 2026-04-24 15:38:37,059 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-24 15:38:37,059 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99716136 passed 2026-04-24 15:38:37,059 - DEBUG - ====Verifying policy data for ctest-vn-99716136 in API_Server ====== 2026-04-24 15:38:37,059 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-24 15:38:37,066 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a3a65c3-ba3f-44f9-93ee-6b7268143718 2026-04-24 15:38:37,079 - DEBUG - Requesting: http://10.0.0.33:8082/project/fcc22cba-a3b0-4671-bf0b-8702b047b914 2026-04-24 15:38:37,157 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fe6114db-9a60-4c39-9892-3e2cfd303f0e 2026-04-24 15:38:37,168 - DEBUG - ==>Verifying data for policy with id: d51e5b08-86c1-45e1-a3aa-02f39a333095, fqn: ['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-policy-allow-all-51725161'] 2026-04-24 15:38:37,168 - INFO - VN ctest-vn-99716136 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 15:38:37,168 - DEBUG - Verifying the vn in opserver 2026-04-24 15:38:37,169 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-99716136 virtual network link through opserver 10.0.0.33 2026-04-24 15:38:37,169 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-24 15:38:37,478 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-24 15:38:37,555 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-99716136', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-99716136?flat'} 2026-04-24 15:38:37,555 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-99716136 is found in opserver 2026-04-24 15:38:37,568 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 15:38:37,574 - DEBUG - VRF ids for VN ctest-vn-99716136: {} 2026-04-24 15:38:37,574 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-24 15:38:37,581 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a3a65c3-ba3f-44f9-93ee-6b7268143718 2026-04-24 15:38:37,593 - DEBUG - Requesting: http://10.0.0.33:8082/project/fcc22cba-a3b0-4671-bf0b-8702b047b914 2026-04-24 15:38:37,667 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b 2026-04-24 15:38:37,680 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b 2026-04-24 15:38:37,690 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d0f9af0b-e02a-4bd0-8472-fb83cda33d42 2026-04-24 15:38:37,698 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d0f9af0b-e02a-4bd0-8472-fb83cda33d42 2026-04-24 15:38:37,707 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/22734380-f725-4d12-8520-26f62c13ee0a 2026-04-24 15:38:37,715 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 15:38:37,715 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b 2026-04-24 15:38:37,725 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d0f9af0b-e02a-4bd0-8472-fb83cda33d42 2026-04-24 15:38:37,742 - INFO - Verified VN network id 10 for VN c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b 2026-04-24 15:38:37,743 - INFO - Verifications in API Server for VN ctest-vn-76738686 passed 2026-04-24 15:38:37,743 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b 2026-04-24 15:38:37,754 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d0f9af0b-e02a-4bd0-8472-fb83cda33d42 2026-04-24 15:38:37,762 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d0f9af0b-e02a-4bd0-8472-fb83cda33d42 2026-04-24 15:38:37,771 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/22734380-f725-4d12-8520-26f62c13ee0a 2026-04-24 15:38:37,786 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-76738686', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70497181', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14314203944990034491', 'uuid-lslong': '13664646866913590619'}, 'enable': 'true', 'created': '2026-04-24T15:38:35', 'last-modified': '2026-04-24T15:38:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508467'} 2026-04-24 15:38:37,792 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-24 15:38:37,792 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76738686 passed 2026-04-24 15:38:37,793 - DEBUG - ====Verifying policy data for ctest-vn-76738686 in API_Server ====== 2026-04-24 15:38:37,793 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-24 15:38:37,801 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a3a65c3-ba3f-44f9-93ee-6b7268143718 2026-04-24 15:38:37,813 - DEBUG - Requesting: http://10.0.0.33:8082/project/fcc22cba-a3b0-4671-bf0b-8702b047b914 2026-04-24 15:38:37,892 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b 2026-04-24 15:38:37,903 - DEBUG - ==>Verifying data for policy with id: d51e5b08-86c1-45e1-a3aa-02f39a333095, fqn: ['default-domain', 'ctest-TestBasicPolicy-70497181', 'ctest-policy-allow-all-51725161'] 2026-04-24 15:38:37,903 - INFO - VN ctest-vn-76738686 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-24 15:38:37,903 - DEBUG - Verifying the vn in opserver 2026-04-24 15:38:37,903 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-76738686 virtual network link through opserver 10.0.0.33 2026-04-24 15:38:37,903 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-24 15:38:37,915 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-76738686', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-76738686?flat'} 2026-04-24 15:38:37,915 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-76738686 is found in opserver 2026-04-24 15:38:37,926 - DEBUG - Do not have enough data to verify VN in agent 2026-04-24 15:38:37,931 - DEBUG - VRF ids for VN ctest-vn-76738686: {} 2026-04-24 15:38:38,009 - DEBUG - Services list from nova: [, , ] 2026-04-24 15:38:39,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5682-1) 2026-04-24 15:38:40,444 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5682-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5682-1) 2026-04-24 15:38:40,444 - INFO - Waiting for VM ctest-TestBasicPolicy-70497181-50162498 to be up.. 2026-04-24 15:38:40,554 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-24 15:38:45,649 - DEBUG - VM is in ACTIVE state now 2026-04-24 15:38:45,649 - INFO - VM name : ctest-TestBasicPolicy-70497181-50162498 2026-04-24 15:38:45,740 - DEBUG - VM ctest-TestBasicPolicy-70497181-50162498 ID is 80cff4f8-24df-4f24-b14b-d716abb42e6b 2026-04-24 15:38:45,762 - DEBUG - VM ctest-TestBasicPolicy-70497181-50162498 launched on Node cn-jenkins-deploy-platform-ansible-os-5682-1 2026-04-24 15:38:45,850 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/80cff4f8-24df-4f24-b14b-d716abb42e6b 2026-04-24 15:38:45,861 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/be7cacf1-4afa-4959-8960-b6612bcf320a 2026-04-24 15:38:49,136 - 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 1021ms') 2026-04-24 15:38:49,137 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70497181-50162498 failed! 2026-04-24 15:38:49,191 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70497181:ctest-vn-99716136 is 141.55.54.65 and allocation pool is NOT set 2026-04-24 15:38:51,264 - 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=8.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.84 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 = 2.836/5.725/8.615/2.889 ms') 2026-04-24 15:38:51,264 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70497181-50162498 passed 2026-04-24 15:38:51,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:38:51,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70497181-50162498, IP 141.55.54.67, Port 22 2026-04-24 15:38:51,494 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-04-24 15:38:51,601 - DEBUG - VM ctest-TestBasicPolicy-70497181-50162498 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-24 15:38:56,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:38:56,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70497181-50162498, IP 141.55.54.67, Port 22 2026-04-24 15:38:56,790 - DEBUG - VM ctest-TestBasicPolicy-70497181-50162498 is ready for SSH connections 2026-04-24 15:38:56,791 - INFO - Waiting for VM ctest-TestBasicPolicy-70497181-04976073 to be up.. 2026-04-24 15:38:56,892 - DEBUG - VM is in ACTIVE state now 2026-04-24 15:38:56,892 - INFO - VM name : ctest-TestBasicPolicy-70497181-04976073 2026-04-24 15:38:56,991 - DEBUG - VM ctest-TestBasicPolicy-70497181-04976073 ID is 2a6519e9-ada1-4f62-8264-015216d0aac9 2026-04-24 15:38:56,992 - DEBUG - VM ctest-TestBasicPolicy-70497181-04976073 launched on Node cn-jenkins-deploy-platform-ansible-os-5682-1 2026-04-24 15:38:57,091 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2a6519e9-ada1-4f62-8264-015216d0aac9 2026-04-24 15:38:57,103 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/038f1de5-17c9-45f4-8912-f1391f28aadd 2026-04-24 15:38:58,355 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.489/2.407/4.326/1.918 ms') 2026-04-24 15:38:58,355 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70497181-04976073 passed 2026-04-24 15:38:58,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:38:58,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70497181-04976073, IP 36.166.229.131, Port 22 2026-04-24 15:38:58,676 - DEBUG - VM ctest-TestBasicPolicy-70497181-04976073 is ready for SSH connections 2026-04-24 15:38:58,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:38:58,676 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.166.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-24 15:38:58,676 - DEBUG - ping -s 56 -c 3 -W 1 36.166.229.131 2026-04-24 15:39:02,839 - DEBUG - PING 36.166.229.131 (36.166.229.131): 56 data bytes 64 bytes from 36.166.229.131: seq=0 ttl=63 time=3.763 ms 64 bytes from 36.166.229.131: seq=1 ttl=63 time=1.054 ms 64 bytes from 36.166.229.131: seq=2 ttl=63 time=1.699 ms --- 36.166.229.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.054/2.172/3.763 ms 2026-04-24 15:39:02,840 - INFO - Ping to IP 36.166.229.131 from VM ctest-TestBasicPolicy-70497181-50162498 passed 2026-04-24 15:39:03,023 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d51e5b08-86c1-45e1-a3aa-02f39a333095", "href": "http://10.0.0.33:8082/network-policy/d51e5b08-86c1-45e1-a3aa-02f39a333095"}} 2026-04-24 15:39:03,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-24 15:39:03,023 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.166.229.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-24 15:39:03,023 - DEBUG - ping -s 56 -c 3 -W 1 36.166.229.131 2026-04-24 15:39:06,258 - DEBUG - PING 36.166.229.131 (36.166.229.131): 56 data bytes --- 36.166.229.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-24 15:39:06,258 - WARNING - Ping to IP 36.166.229.131 from VM ctest-TestBasicPolicy-70497181-50162498 failed 2026-04-24 15:39:06,258 - INFO - Deleting VM ctest-TestBasicPolicy-70497181-04976073 2026-04-24 15:39:06,341 - INFO - Deleting VM ctest-TestBasicPolicy-70497181-50162498 2026-04-24 15:39:06,789 - INFO - Deleted policy ctest-policy-allow-all-51725161 2026-04-24 15:39:06,790 - INFO - Deleting VN ctest-vn-76738686 2026-04-24 15:39:06,833 - DEBUG - VN c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b still in use: Unable to complete operation on network c6a644a5-e7a0-4a3b-bda2-93ed5389fd5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7380d153-26a1-41c6-92a6-03dd800ed8c6'] 2026-04-24 15:39:06,833 - WARNING - Deleting VN ctest-vn-76738686 failed..Will retry 2026-04-24 15:39:08,951 - DEBUG - Response for deleting network () 2026-04-24 15:39:08,951 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d0f9af0b-e02a-4bd0-8472-fb83cda33d42 2026-04-24 15:39:08,957 - DEBUG - Response Code: 404 2026-04-24 15:39:08,957 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-24 15:39:08,965 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a3a65c3-ba3f-44f9-93ee-6b7268143718 2026-04-24 15:39:09,021 - DEBUG - Requesting: http://10.0.0.33:8082/project/fcc22cba-a3b0-4671-bf0b-8702b047b914 2026-04-24 15:39:09,101 - INFO - Validated that VN ctest-vn-76738686 is not found in API Server 2026-04-24 15:39:09,113 - DEBUG - VN ctest-vn-76738686 is not present in Agent 10.0.0.33 2026-04-24 15:39:09,113 - INFO - Validated that VN ctest-vn-76738686 is not in any agent 2026-04-24 15:39:09,129 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76738686 info 2026-04-24 15:39:09,129 - INFO - Deleting VN ctest-vn-99716136 2026-04-24 15:39:09,275 - DEBUG - Response for deleting network () 2026-04-24 15:39:09,275 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0db1880b-0d8d-4c33-8732-45ad2415aeac 2026-04-24 15:39:09,282 - DEBUG - Response Code: 404 2026-04-24 15:39:09,282 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-24 15:39:09,287 - DEBUG - Requesting: http://10.0.0.33:8082/domain/7a3a65c3-ba3f-44f9-93ee-6b7268143718 2026-04-24 15:39:09,340 - DEBUG - Requesting: http://10.0.0.33:8082/project/fcc22cba-a3b0-4671-bf0b-8702b047b914 2026-04-24 15:39:09,422 - INFO - Validated that VN ctest-vn-99716136 is not found in API Server 2026-04-24 15:39:09,433 - DEBUG - VN ctest-vn-99716136 is not present in Agent 10.0.0.33 2026-04-24 15:39:09,433 - INFO - Validated that VN ctest-vn-99716136 is not in any agent 2026-04-24 15:39:09,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99716136 info 2026-04-24 15:39:09,716 - DEBUG - No XMPP flaps were noticed during the test
2026-04-24 15:39:09,716 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-24 15:39:09,716 - INFO - -------------------------------------------------------------------------------- 2026-04-24 15:39:10,458 - INFO - Deleted project: ctest-TestBasicPolicy-70497181, ID : fcc22cba-a3b0-4671-bf0b-8702b047b914