2026-02-16 17:11:51,704 - INFO - Domain Default found not creating 2026-02-16 17:11:51,850 - INFO - Project ctest-TestBasicPolicy-78201806 not found, creating it 2026-02-16 17:11:52,274 - INFO - Created Project:ctest-TestBasicPolicy-78201806, ID : bb409ca7-85c7-43bf-bbe7-25626a180526 2026-02-16 17:11:53,686 - INFO - ================================================================================ 2026-02-16 17:11:53,686 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-16 17:11:53,686 - 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-16 17:11:53,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-02-16 17:11:53,941 - INFO - Initial checks done. Running the testcase now 2026-02-16 17:11:53,941 - INFO - 2026-02-16 17:11:54,470 - DEBUG - Response for create_network : {'network': {'id': 'f12d7d5c-2b88-44bd-9045-729374bd86f3', 'name': 'ctest-vn-33907483', 'tenant_id': 'bb409ca785c743bfbbe725626a180526', 'project_id': 'bb409ca785c743bfbbe725626a180526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-vn-33907483'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 17:11:54,641 - DEBUG - Response for create_subnet : {'subnet': {'id': '35900049-dd0f-40db-9d85-3c59488e5ece', 'name': '', 'tenant_id': 'bb409ca785c743bfbbe725626a180526', 'network_id': 'f12d7d5c-2b88-44bd-9045-729374bd86f3', 'ip_version': 4, 'cidr': '121.73.93.64/26', 'allocation_pools': [{'start': '121.73.93.66', 'end': '121.73.93.126'}], 'gateway_ip': '121.73.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.73.93.66', 'tags': [], 'project_id': 'bb409ca785c743bfbbe725626a180526'}} 2026-02-16 17:11:54,656 - INFO - Created VN ctest-vn-33907483 2026-02-16 17:11:54,707 - DEBUG - VN ctest-vn-33907483 UUID is f12d7d5c-2b88-44bd-9045-729374bd86f3 2026-02-16 17:11:54,974 - DEBUG - Response for create_network : {'network': {'id': '1ead9f0f-d507-47b7-b925-2d4f0998ae07', 'name': 'ctest-vn-90906258', 'tenant_id': 'bb409ca785c743bfbbe725626a180526', 'project_id': 'bb409ca785c743bfbbe725626a180526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-vn-90906258'], 'port_security_enabled': True, 'description': ''}} 2026-02-16 17:11:55,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '18037222-ee67-4ca8-8ea7-9cf6f19c9db5', 'name': '', 'tenant_id': 'bb409ca785c743bfbbe725626a180526', 'network_id': '1ead9f0f-d507-47b7-b925-2d4f0998ae07', 'ip_version': 4, 'cidr': '149.226.179.192/26', 'allocation_pools': [{'start': '149.226.179.194', 'end': '149.226.179.254'}], 'gateway_ip': '149.226.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.226.179.194', 'tags': [], 'project_id': 'bb409ca785c743bfbbe725626a180526'}} 2026-02-16 17:11:55,173 - INFO - Created VN ctest-vn-90906258 2026-02-16 17:11:55,223 - DEBUG - VN ctest-vn-90906258 UUID is 1ead9f0f-d507-47b7-b925-2d4f0998ae07 2026-02-16 17:11:55,341 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-33907483, 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-78201806:ctest-vn-90906258, 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-16 17:11:55,631 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f12d7d5c-2b88-44bd-9045-729374bd86f3', 'name': 'ctest-vn-33907483', 'tenant_id': 'bb409ca785c743bfbbe725626a180526', 'project_id': 'bb409ca785c743bfbbe725626a180526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['35900049-dd0f-40db-9d85-3c59488e5ece'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-vn-33907483'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-policy-allow-all-33077295']], 'subnet_ipam': [{'subnet_cidr': '121.73.93.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 17:11:55,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1ead9f0f-d507-47b7-b925-2d4f0998ae07', 'name': 'ctest-vn-90906258', 'tenant_id': 'bb409ca785c743bfbbe725626a180526', 'project_id': 'bb409ca785c743bfbbe725626a180526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['18037222-ee67-4ca8-8ea7-9cf6f19c9db5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-vn-90906258'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-policy-allow-all-33077295']], 'subnet_ipam': [{'subnet_cidr': '149.226.179.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-16 17:11:55,995 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 17:11:56,297 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 17:11:56,369 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bea2ab5-06ab-4276-b47e-ddb4f6e2a72b 2026-02-16 17:11:56,380 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb409ca7-85c7-43bf-bbe7-25626a180526 2026-02-16 17:11:56,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f12d7d5c-2b88-44bd-9045-729374bd86f3 2026-02-16 17:11:56,468 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f12d7d5c-2b88-44bd-9045-729374bd86f3 2026-02-16 17:11:56,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348dc7d3-3d72-4f1a-ae10-696ef1f8e100 2026-02-16 17:11:56,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348dc7d3-3d72-4f1a-ae10-696ef1f8e100 2026-02-16 17:11:56,489 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/81ffb195-5bd7-4699-994e-502be9b326d4 2026-02-16 17:11:56,495 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 17:11:56,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f12d7d5c-2b88-44bd-9045-729374bd86f3 2026-02-16 17:11:56,503 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348dc7d3-3d72-4f1a-ae10-696ef1f8e100 2026-02-16 17:11:56,517 - INFO - Verified VN network id 11 for VN f12d7d5c-2b88-44bd-9045-729374bd86f3 2026-02-16 17:11:56,518 - INFO - Verifications in API Server for VN ctest-vn-33907483 passed 2026-02-16 17:11:56,518 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f12d7d5c-2b88-44bd-9045-729374bd86f3 2026-02-16 17:11:56,527 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348dc7d3-3d72-4f1a-ae10-696ef1f8e100 2026-02-16 17:11:56,533 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348dc7d3-3d72-4f1a-ae10-696ef1f8e100 2026-02-16 17:11:56,538 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/81ffb195-5bd7-4699-994e-502be9b326d4 2026-02-16 17:11:56,548 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-33907483', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78201806', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17378684371913426109', 'uuid-lslong': '10395841292498994931'}, 'enable': 'true', 'created': '2026-02-16T17:11:54', 'last-modified': '2026-02-16T17:11:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.945126'} 2026-02-16 17:11:56,556 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-16 17:11:56,556 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33907483 passed 2026-02-16 17:11:56,556 - DEBUG - ====Verifying policy data for ctest-vn-33907483 in API_Server ====== 2026-02-16 17:11:56,556 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 17:11:56,561 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bea2ab5-06ab-4276-b47e-ddb4f6e2a72b 2026-02-16 17:11:56,570 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb409ca7-85c7-43bf-bbe7-25626a180526 2026-02-16 17:11:56,635 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f12d7d5c-2b88-44bd-9045-729374bd86f3 2026-02-16 17:11:56,643 - DEBUG - ==>Verifying data for policy with id: d826631b-8c29-48e8-8d03-e74e6bbfe1ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-policy-allow-all-33077295'] 2026-02-16 17:11:56,643 - INFO - VN ctest-vn-33907483 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 17:11:56,644 - DEBUG - Verifying the vn in opserver 2026-02-16 17:11:56,644 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-33907483 virtual network link through opserver 10.0.0.38 2026-02-16 17:11:56,644 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-16 17:11:56,932 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-16 17:11:56,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-33907483', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-33907483?flat'} 2026-02-16 17:11:56,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-33907483 is found in opserver 2026-02-16 17:11:57,008 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 17:11:57,012 - DEBUG - VRF ids for VN ctest-vn-33907483: {} 2026-02-16 17:11:57,012 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 17:11:57,018 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bea2ab5-06ab-4276-b47e-ddb4f6e2a72b 2026-02-16 17:11:57,031 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb409ca7-85c7-43bf-bbe7-25626a180526 2026-02-16 17:11:57,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ead9f0f-d507-47b7-b925-2d4f0998ae07 2026-02-16 17:11:57,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ead9f0f-d507-47b7-b925-2d4f0998ae07 2026-02-16 17:11:57,121 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba0d5f-f7a6-4380-9346-a90d96c77ff8 2026-02-16 17:11:57,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba0d5f-f7a6-4380-9346-a90d96c77ff8 2026-02-16 17:11:57,133 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f2c04aaf-899f-41bc-b7e4-a574c06ac15e 2026-02-16 17:11:57,139 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 17:11:57,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ead9f0f-d507-47b7-b925-2d4f0998ae07 2026-02-16 17:11:57,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba0d5f-f7a6-4380-9346-a90d96c77ff8 2026-02-16 17:11:57,160 - INFO - Verified VN network id 12 for VN 1ead9f0f-d507-47b7-b925-2d4f0998ae07 2026-02-16 17:11:57,160 - INFO - Verifications in API Server for VN ctest-vn-90906258 passed 2026-02-16 17:11:57,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ead9f0f-d507-47b7-b925-2d4f0998ae07 2026-02-16 17:11:57,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba0d5f-f7a6-4380-9346-a90d96c77ff8 2026-02-16 17:11:57,178 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba0d5f-f7a6-4380-9346-a90d96c77ff8 2026-02-16 17:11:57,185 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f2c04aaf-899f-41bc-b7e4-a574c06ac15e 2026-02-16 17:11:57,195 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-90906258', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78201806', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2210597882456131511', 'uuid-lslong': '13341119288641629703'}, 'enable': 'true', 'created': '2026-02-16T17:11:54', 'last-modified': '2026-02-16T17:11:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.367659'} 2026-02-16 17:11:57,200 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-16 17:11:57,200 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90906258 passed 2026-02-16 17:11:57,200 - DEBUG - ====Verifying policy data for ctest-vn-90906258 in API_Server ====== 2026-02-16 17:11:57,200 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 17:11:57,205 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bea2ab5-06ab-4276-b47e-ddb4f6e2a72b 2026-02-16 17:11:57,216 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb409ca7-85c7-43bf-bbe7-25626a180526 2026-02-16 17:11:57,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1ead9f0f-d507-47b7-b925-2d4f0998ae07 2026-02-16 17:11:57,296 - DEBUG - ==>Verifying data for policy with id: d826631b-8c29-48e8-8d03-e74e6bbfe1ce, fqn: ['default-domain', 'ctest-TestBasicPolicy-78201806', 'ctest-policy-allow-all-33077295'] 2026-02-16 17:11:57,296 - INFO - VN ctest-vn-90906258 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-16 17:11:57,296 - DEBUG - Verifying the vn in opserver 2026-02-16 17:11:57,296 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-90906258 virtual network link through opserver 10.0.0.38 2026-02-16 17:11:57,296 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-16 17:11:57,306 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-90906258', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-90906258?flat'} 2026-02-16 17:11:57,306 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-90906258 is found in opserver 2026-02-16 17:11:57,316 - DEBUG - Do not have enough data to verify VN in agent 2026-02-16 17:11:57,321 - DEBUG - VRF ids for VN ctest-vn-90906258: {} 2026-02-16 17:11:57,376 - DEBUG - Services list from nova: [, , ] 2026-02-16 17:11:58,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5338-1) 2026-02-16 17:11:59,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5338-1) 2026-02-16 17:11:59,446 - INFO - Waiting for VM ctest-TestBasicPolicy-78201806-68467907 to be up.. 2026-02-16 17:11:59,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-16 17:12:04,604 - DEBUG - VM is in ACTIVE state now 2026-02-16 17:12:04,604 - INFO - VM name : ctest-TestBasicPolicy-78201806-68467907 2026-02-16 17:12:04,677 - DEBUG - VM ctest-TestBasicPolicy-78201806-68467907 ID is 816efe07-db52-48b2-bdfd-a8f533e73ae9 2026-02-16 17:12:04,697 - DEBUG - VM ctest-TestBasicPolicy-78201806-68467907 launched on Node cn-jenkins-deploy-platform-ansible-os-5338-1 2026-02-16 17:12:04,764 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/816efe07-db52-48b2-bdfd-a8f533e73ae9 2026-02-16 17:12:04,772 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d1d67437-2739-4d07-8e7e-11afdafc597f 2026-02-16 17:12:08,038 - 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 1023ms') 2026-02-16 17:12:08,038 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78201806-68467907 failed! 2026-02-16 17:12:08,095 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78201806:ctest-vn-33907483 is 121.73.93.65 and allocation pool is NOT set 2026-02-16 17:12:10,156 - 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=3.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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 = 1.000/2.135/3.271/1.135 ms') 2026-02-16 17:12:10,156 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78201806-68467907 passed 2026-02-16 17:12:10,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 17:12:10,303 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78201806-68467907, IP 121.73.93.67, Port 22 2026-02-16 17:12:10,382 - 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-16 17:12:10,450 - DEBUG - VM ctest-TestBasicPolicy-78201806-68467907 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-16 17:12:15,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 17:12:15,451 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78201806-68467907, IP 121.73.93.67, Port 22 2026-02-16 17:12:15,619 - DEBUG - VM ctest-TestBasicPolicy-78201806-68467907 is ready for SSH connections 2026-02-16 17:12:15,619 - INFO - Waiting for VM ctest-TestBasicPolicy-78201806-86089172 to be up.. 2026-02-16 17:12:15,687 - DEBUG - VM is in ACTIVE state now 2026-02-16 17:12:15,687 - INFO - VM name : ctest-TestBasicPolicy-78201806-86089172 2026-02-16 17:12:15,758 - DEBUG - VM ctest-TestBasicPolicy-78201806-86089172 ID is 1c2e98aa-7127-47de-b09e-d8a0a7e4fd83 2026-02-16 17:12:15,758 - DEBUG - VM ctest-TestBasicPolicy-78201806-86089172 launched on Node cn-jenkins-deploy-platform-ansible-os-5338-1 2026-02-16 17:12:15,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1c2e98aa-7127-47de-b09e-d8a0a7e4fd83 2026-02-16 17:12:15,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57f3baaf-b9f5-4015-9f73-17167e6783a4 2026-02-16 17:12:17,065 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.550/2.708/1.158 ms') 2026-02-16 17:12:17,065 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78201806-86089172 passed 2026-02-16 17:12:17,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 17:12:17,211 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78201806-86089172, IP 149.226.179.195, Port 22 2026-02-16 17:12:17,363 - DEBUG - VM ctest-TestBasicPolicy-78201806-86089172 is ready for SSH connections 2026-02-16 17:12:17,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 17:12:17,363 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.226.179.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 17:12:17,363 - DEBUG - ping -s 56 -c 3 -W 1 149.226.179.195 2026-02-16 17:12:21,036 - DEBUG - PING 149.226.179.195 (149.226.179.195): 56 data bytes 64 bytes from 149.226.179.195: seq=0 ttl=63 time=3.681 ms 64 bytes from 149.226.179.195: seq=1 ttl=63 time=0.742 ms 64 bytes from 149.226.179.195: seq=2 ttl=63 time=0.798 ms --- 149.226.179.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.740/3.681 ms 2026-02-16 17:12:21,036 - INFO - Ping to IP 149.226.179.195 from VM ctest-TestBasicPolicy-78201806-68467907 passed 2026-02-16 17:12:21,211 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d826631b-8c29-48e8-8d03-e74e6bbfe1ce", "href": "http://10.0.0.38:8082/network-policy/d826631b-8c29-48e8-8d03-e74e6bbfe1ce"}} 2026-02-16 17:12:21,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-16 17:12:21,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.226.179.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-16 17:12:21,211 - DEBUG - ping -s 56 -c 3 -W 1 149.226.179.195 2026-02-16 17:12:24,422 - DEBUG - PING 149.226.179.195 (149.226.179.195): 56 data bytes --- 149.226.179.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-16 17:12:24,422 - WARNING - Ping to IP 149.226.179.195 from VM ctest-TestBasicPolicy-78201806-68467907 failed 2026-02-16 17:12:24,422 - INFO - Deleting VM ctest-TestBasicPolicy-78201806-86089172 2026-02-16 17:12:24,482 - INFO - Deleting VM ctest-TestBasicPolicy-78201806-68467907 2026-02-16 17:12:24,842 - INFO - Deleted policy ctest-policy-allow-all-33077295 2026-02-16 17:12:24,842 - INFO - Deleting VN ctest-vn-90906258 2026-02-16 17:12:24,879 - DEBUG - VN 1ead9f0f-d507-47b7-b925-2d4f0998ae07 still in use: Unable to complete operation on network 1ead9f0f-d507-47b7-b925-2d4f0998ae07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7c39ee5-862b-40bd-856d-6c43416869f3'] 2026-02-16 17:12:24,880 - WARNING - Deleting VN ctest-vn-90906258 failed..Will retry 2026-02-16 17:12:26,984 - DEBUG - Response for deleting network () 2026-02-16 17:12:26,984 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/53ba0d5f-f7a6-4380-9346-a90d96c77ff8 2026-02-16 17:12:26,993 - DEBUG - Response Code: 404 2026-02-16 17:12:26,993 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 17:12:26,998 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bea2ab5-06ab-4276-b47e-ddb4f6e2a72b 2026-02-16 17:12:27,047 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb409ca7-85c7-43bf-bbe7-25626a180526 2026-02-16 17:12:27,115 - INFO - Validated that VN ctest-vn-90906258 is not found in API Server 2026-02-16 17:12:27,123 - DEBUG - VN ctest-vn-90906258 is not present in Agent 10.0.0.38 2026-02-16 17:12:27,123 - INFO - Validated that VN ctest-vn-90906258 is not in any agent 2026-02-16 17:12:27,137 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90906258 info 2026-02-16 17:12:27,137 - INFO - Deleting VN ctest-vn-33907483 2026-02-16 17:12:27,225 - DEBUG - Response for deleting network () 2026-02-16 17:12:27,225 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/348dc7d3-3d72-4f1a-ae10-696ef1f8e100 2026-02-16 17:12:27,230 - DEBUG - Response Code: 404 2026-02-16 17:12:27,230 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-16 17:12:27,235 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9bea2ab5-06ab-4276-b47e-ddb4f6e2a72b 2026-02-16 17:12:27,288 - DEBUG - Requesting: http://10.0.0.38:8082/project/bb409ca7-85c7-43bf-bbe7-25626a180526 2026-02-16 17:12:27,355 - INFO - Validated that VN ctest-vn-33907483 is not found in API Server 2026-02-16 17:12:27,364 - DEBUG - VN ctest-vn-33907483 is not present in Agent 10.0.0.38 2026-02-16 17:12:27,364 - INFO - Validated that VN ctest-vn-33907483 is not in any agent 2026-02-16 17:12:27,377 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33907483 info 2026-02-16 17:12:27,632 - DEBUG - No XMPP flaps were noticed during the test 2026-02-16 17:12:27,632 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-16 17:12:27,632 - INFO - -------------------------------------------------------------------------------- 2026-02-16 17:12:28,286 - INFO - Deleted project: ctest-TestBasicPolicy-78201806, ID : bb409ca7-85c7-43bf-bbe7-25626a180526