2026-02-12 16:34:25,601 - INFO - Domain Default found not creating 2026-02-12 16:34:25,775 - INFO - Project ctest-TestBasicPolicy-50890750 not found, creating it 2026-02-12 16:34:26,242 - INFO - Created Project:ctest-TestBasicPolicy-50890750, ID : 02d843ed-a255-425b-960c-386f263b8e7d 2026-02-12 16:34:27,765 - INFO - ================================================================================ 2026-02-12 16:34:27,765 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 16:34:27,765 - 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-02-12 16:34:28,025 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2026-02-12 16:34:28,025 - INFO - Initial checks done. Running the testcase now 2026-02-12 16:34:28,025 - INFO - 2026-02-12 16:34:28,629 - DEBUG - Response for create_network : {'network': {'id': 'af03b981-e62d-4418-85fc-f8eee74f092b', 'name': 'ctest-vn-58091511', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-58091511'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:34:28,828 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bae6f53f-76e5-4fdf-b582-5ddb25fd1350', 'name': '', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'network_id': 'af03b981-e62d-4418-85fc-f8eee74f092b', 'ip_version': 4, 'cidr': '183.254.238.0/26', 'allocation_pools': [{'start': '183.254.238.2', 'end': '183.254.238.62'}], 'gateway_ip': '183.254.238.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.254.238.2', 'tags': [], 'project_id': '02d843eda255425b960c386f263b8e7d'}} 2026-02-12 16:34:28,848 - INFO - Created VN ctest-vn-58091511 2026-02-12 16:34:28,903 - DEBUG - VN ctest-vn-58091511 UUID is af03b981-e62d-4418-85fc-f8eee74f092b 2026-02-12 16:34:29,224 - DEBUG - Response for create_network : {'network': {'id': 'f2cdffcc-8375-42c4-9261-7c516a6e5869', 'name': 'ctest-vn-32875077', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-32875077'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:34:29,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfeb7885-d700-47df-a8e1-a2519d1d3f64', 'name': '', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'network_id': 'f2cdffcc-8375-42c4-9261-7c516a6e5869', 'ip_version': 4, 'cidr': '193.14.81.64/26', 'allocation_pools': [{'start': '193.14.81.66', 'end': '193.14.81.126'}], 'gateway_ip': '193.14.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.14.81.66', 'tags': [], 'project_id': '02d843eda255425b960c386f263b8e7d'}} 2026-02-12 16:34:29,434 - INFO - Created VN ctest-vn-32875077 2026-02-12 16:34:29,487 - DEBUG - VN ctest-vn-32875077 UUID is f2cdffcc-8375-42c4-9261-7c516a6e5869 2026-02-12 16:34:29,647 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511, 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-50890750:ctest-vn-32875077, 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-02-12 16:34:29,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af03b981-e62d-4418-85fc-f8eee74f092b', 'name': 'ctest-vn-58091511', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bae6f53f-76e5-4fdf-b582-5ddb25fd1350'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-58091511'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773']], 'subnet_ipam': [{'subnet_cidr': '183.254.238.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:34:30,219 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2cdffcc-8375-42c4-9261-7c516a6e5869', 'name': 'ctest-vn-32875077', 'tenant_id': '02d843eda255425b960c386f263b8e7d', 'project_id': '02d843eda255425b960c386f263b8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfeb7885-d700-47df-a8e1-a2519d1d3f64'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-vn-32875077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773']], 'subnet_ipam': [{'subnet_cidr': '193.14.81.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 16:34:30,367 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-12 16:34:30,668 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-12 16:34:30,700 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504 2026-02-12 16:34:30,714 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d 2026-02-12 16:34:30,786 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b 2026-02-12 16:34:30,796 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b 2026-02-12 16:34:30,806 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60 2026-02-12 16:34:30,815 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60 2026-02-12 16:34:30,821 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ca596434-9639-4ed6-83a4-9ecc154e4f22 2026-02-12 16:34:30,827 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 16:34:30,827 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b 2026-02-12 16:34:30,835 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60 2026-02-12 16:34:30,849 - INFO - Verified VN network id 10 for VN af03b981-e62d-4418-85fc-f8eee74f092b 2026-02-12 16:34:30,849 - INFO - Verifications in API Server for VN ctest-vn-58091511 passed 2026-02-12 16:34:30,849 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b 2026-02-12 16:34:30,859 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60 2026-02-12 16:34:30,866 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60 2026-02-12 16:34:30,873 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ca596434-9639-4ed6-83a4-9ecc154e4f22 2026-02-12 16:34:30,885 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50890750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12611127349131166744', 'uuid-lslong': '9654865406142122283'}, 'enable': 'true', 'created': '2026-02-12T16:34:28', 'last-modified': '2026-02-12T16:34:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964188'} 2026-02-12 16:34:30,891 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 16:34:30,891 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58091511 passed 2026-02-12 16:34:30,891 - DEBUG - ====Verifying policy data for ctest-vn-58091511 in API_Server ====== 2026-02-12 16:34:30,891 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-12 16:34:30,897 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504 2026-02-12 16:34:30,907 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d 2026-02-12 16:34:30,984 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/af03b981-e62d-4418-85fc-f8eee74f092b 2026-02-12 16:34:30,994 - DEBUG - ==>Verifying data for policy with id: ecf2b419-60fc-41d6-ba2e-04a6fc544507, fqn: ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773'] 2026-02-12 16:34:30,994 - INFO - VN ctest-vn-58091511 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 16:34:30,994 - DEBUG - Verifying the vn in opserver 2026-02-12 16:34:30,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511 virtual network link through opserver 10.0.0.242 2026-02-12 16:34:30,995 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-12 16:34:31,288 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-12 16:34:31,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511?flat'} 2026-02-12 16:34:31,362 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511 is found in opserver 2026-02-12 16:34:31,375 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 16:34:31,379 - DEBUG - VRF ids for VN ctest-vn-58091511: {} 2026-02-12 16:34:31,379 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-12 16:34:31,384 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504 2026-02-12 16:34:31,394 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d 2026-02-12 16:34:31,466 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869 2026-02-12 16:34:31,480 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869 2026-02-12 16:34:31,491 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18 2026-02-12 16:34:31,499 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18 2026-02-12 16:34:31,507 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/925ca767-d891-47d9-af1e-181651549176 2026-02-12 16:34:31,514 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 16:34:31,514 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869 2026-02-12 16:34:31,524 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18 2026-02-12 16:34:31,539 - INFO - Verified VN network id 11 for VN f2cdffcc-8375-42c4-9261-7c516a6e5869 2026-02-12 16:34:31,539 - INFO - Verifications in API Server for VN ctest-vn-32875077 passed 2026-02-12 16:34:31,539 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869 2026-02-12 16:34:31,548 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18 2026-02-12 16:34:31,556 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18 2026-02-12 16:34:31,572 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/925ca767-d891-47d9-af1e-181651549176 2026-02-12 16:34:31,586 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50890750', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17495921381248156356', 'uuid-lslong': '10547848491398223977'}, 'enable': 'true', 'created': '2026-02-12T16:34:29', 'last-modified': '2026-02-12T16:34:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434942'} 2026-02-12 16:34:31,593 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 16:34:31,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32875077 passed 2026-02-12 16:34:31,594 - DEBUG - ====Verifying policy data for ctest-vn-32875077 in API_Server ====== 2026-02-12 16:34:31,594 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-12 16:34:31,602 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504 2026-02-12 16:34:31,616 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d 2026-02-12 16:34:31,692 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/f2cdffcc-8375-42c4-9261-7c516a6e5869 2026-02-12 16:34:31,705 - DEBUG - ==>Verifying data for policy with id: ecf2b419-60fc-41d6-ba2e-04a6fc544507, fqn: ['default-domain', 'ctest-TestBasicPolicy-50890750', 'ctest-policy-allow-all-11497773'] 2026-02-12 16:34:31,705 - INFO - VN ctest-vn-32875077 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 16:34:31,705 - DEBUG - Verifying the vn in opserver 2026-02-12 16:34:31,705 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077 virtual network link through opserver 10.0.0.242 2026-02-12 16:34:31,705 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-02-12 16:34:31,716 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077?flat'} 2026-02-12 16:34:31,716 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-32875077 is found in opserver 2026-02-12 16:34:31,728 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 16:34:31,732 - DEBUG - VRF ids for VN ctest-vn-32875077: {} 2026-02-12 16:34:31,808 - DEBUG - Services list from nova: [, , ] 2026-02-12 16:34:32,926 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5322-1) 2026-02-12 16:34:34,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5322-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5322-1) 2026-02-12 16:34:34,118 - INFO - Waiting for VM ctest-TestBasicPolicy-50890750-89337433 to be up.. 2026-02-12 16:34:34,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 16:34:39,281 - DEBUG - VM is in ACTIVE state now 2026-02-12 16:34:39,282 - INFO - VM name : ctest-TestBasicPolicy-50890750-89337433 2026-02-12 16:34:39,357 - DEBUG - VM ctest-TestBasicPolicy-50890750-89337433 ID is a5b512a8-e1bf-4749-8cd8-0df4bcadb07c 2026-02-12 16:34:39,375 - DEBUG - VM ctest-TestBasicPolicy-50890750-89337433 launched on Node cn-jenkins-deploy-platform-ansible-os-5322-1 2026-02-12 16:34:39,455 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a5b512a8-e1bf-4749-8cd8-0df4bcadb07c 2026-02-12 16:34:39,464 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/3b20e4ea-1e68-4058-8e0d-553cd5f51d10 2026-02-12 16:34:42,725 - 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 1015ms') 2026-02-12 16:34:42,725 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50890750-89337433 failed! 2026-02-12 16:34:42,779 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50890750:ctest-vn-58091511 is 183.254.238.1 and allocation pool is NOT set 2026-02-12 16:34:44,843 - 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=7.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.95 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.954/5.868/7.783/1.914 ms') 2026-02-12 16:34:44,843 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50890750-89337433 passed 2026-02-12 16:34:44,995 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:34:44,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50890750-89337433, IP 183.254.238.3, Port 22 2026-02-12 16:34:45,062 - 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-02-12 16:34:45,141 - DEBUG - VM ctest-TestBasicPolicy-50890750-89337433 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 16:34:50,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:34:50,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50890750-89337433, IP 183.254.238.3, Port 22 2026-02-12 16:34:50,298 - DEBUG - VM ctest-TestBasicPolicy-50890750-89337433 is ready for SSH connections 2026-02-12 16:34:50,298 - INFO - Waiting for VM ctest-TestBasicPolicy-50890750-76490797 to be up.. 2026-02-12 16:34:50,380 - DEBUG - VM is in ACTIVE state now 2026-02-12 16:34:50,381 - INFO - VM name : ctest-TestBasicPolicy-50890750-76490797 2026-02-12 16:34:50,460 - DEBUG - VM ctest-TestBasicPolicy-50890750-76490797 ID is 4e0d0c3d-cea1-4e95-b5db-fed0d8781b5a 2026-02-12 16:34:50,460 - DEBUG - VM ctest-TestBasicPolicy-50890750-76490797 launched on Node cn-jenkins-deploy-platform-ansible-os-5322-1 2026-02-12 16:34:50,543 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4e0d0c3d-cea1-4e95-b5db-fed0d8781b5a 2026-02-12 16:34:50,551 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/8abe5c75-1fc3-45d4-8c95-7a35b88c7603 2026-02-12 16:34:51,784 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.492 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.492/1.719/2.947/1.227 ms') 2026-02-12 16:34:51,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50890750-76490797 passed 2026-02-12 16:34:51,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:34:51,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50890750-76490797, IP 193.14.81.67, Port 22 2026-02-12 16:34:52,095 - DEBUG - VM ctest-TestBasicPolicy-50890750-76490797 is ready for SSH connections 2026-02-12 16:34:52,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:34:52,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.14.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-12 16:34:52,095 - DEBUG - ping -s 56 -c 3 -W 1 193.14.81.67 2026-02-12 16:34:56,230 - DEBUG - PING 193.14.81.67 (193.14.81.67): 56 data bytes 64 bytes from 193.14.81.67: seq=0 ttl=63 time=4.021 ms 64 bytes from 193.14.81.67: seq=1 ttl=63 time=0.908 ms 64 bytes from 193.14.81.67: seq=2 ttl=63 time=1.012 ms --- 193.14.81.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/1.980/4.021 ms 2026-02-12 16:34:56,231 - INFO - Ping to IP 193.14.81.67 from VM ctest-TestBasicPolicy-50890750-89337433 passed 2026-02-12 16:34:56,411 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ecf2b419-60fc-41d6-ba2e-04a6fc544507", "href": "http://10.0.0.242:8082/network-policy/ecf2b419-60fc-41d6-ba2e-04a6fc544507"}} 2026-02-12 16:34:56,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 16:34:56,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.14.81.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-02-12 16:34:56,411 - DEBUG - ping -s 56 -c 3 -W 1 193.14.81.67 2026-02-12 16:34:59,659 - DEBUG - PING 193.14.81.67 (193.14.81.67): 56 data bytes --- 193.14.81.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 16:34:59,659 - WARNING - Ping to IP 193.14.81.67 from VM ctest-TestBasicPolicy-50890750-89337433 failed 2026-02-12 16:34:59,659 - INFO - Deleting VM ctest-TestBasicPolicy-50890750-76490797 2026-02-12 16:34:59,733 - INFO - Deleting VM ctest-TestBasicPolicy-50890750-89337433 2026-02-12 16:35:00,168 - INFO - Deleted policy ctest-policy-allow-all-11497773 2026-02-12 16:35:00,169 - INFO - Deleting VN ctest-vn-32875077 2026-02-12 16:35:00,216 - DEBUG - VN f2cdffcc-8375-42c4-9261-7c516a6e5869 still in use: Unable to complete operation on network f2cdffcc-8375-42c4-9261-7c516a6e5869. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83cfd323-ddf9-4088-aa8f-7574e15ecf77'] 2026-02-12 16:35:00,216 - WARNING - Deleting VN ctest-vn-32875077 failed..Will retry 2026-02-12 16:35:02,327 - DEBUG - Response for deleting network () 2026-02-12 16:35:02,327 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b0631722-fc4b-499e-be0a-cbcbe3a68e18 2026-02-12 16:35:02,334 - DEBUG - Response Code: 404 2026-02-12 16:35:02,334 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-12 16:35:02,339 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504 2026-02-12 16:35:02,393 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d 2026-02-12 16:35:02,468 - INFO - Validated that VN ctest-vn-32875077 is not found in API Server 2026-02-12 16:35:02,479 - DEBUG - VN ctest-vn-32875077 is not present in Agent 10.0.0.242 2026-02-12 16:35:02,479 - INFO - Validated that VN ctest-vn-32875077 is not in any agent 2026-02-12 16:35:02,494 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32875077 info 2026-02-12 16:35:02,494 - INFO - Deleting VN ctest-vn-58091511 2026-02-12 16:35:02,601 - DEBUG - Response for deleting network () 2026-02-12 16:35:02,601 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/60f53bb2-3ea2-48e0-a651-d5082153ef60 2026-02-12 16:35:02,607 - DEBUG - Response Code: 404 2026-02-12 16:35:02,607 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-02-12 16:35:02,616 - DEBUG - Requesting: http://10.0.0.242:8082/domain/918be9f3-2267-47eb-a196-34c41782e504 2026-02-12 16:35:02,674 - DEBUG - Requesting: http://10.0.0.242:8082/project/02d843ed-a255-425b-960c-386f263b8e7d 2026-02-12 16:35:02,745 - INFO - Validated that VN ctest-vn-58091511 is not found in API Server 2026-02-12 16:35:02,758 - DEBUG - VN ctest-vn-58091511 is not present in Agent 10.0.0.242 2026-02-12 16:35:02,758 - INFO - Validated that VN ctest-vn-58091511 is not in any agent 2026-02-12 16:35:02,776 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58091511 info 2026-02-12 16:35:03,038 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 16:35:03,038 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-02-12 16:35:03,038 - INFO - -------------------------------------------------------------------------------- 2026-02-12 16:35:03,755 - INFO - Deleted project: ctest-TestBasicPolicy-50890750, ID : 02d843ed-a255-425b-960c-386f263b8e7d