2026-02-25 17:29:44,415 - INFO - Domain Default found not creating 2026-02-25 17:29:44,629 - INFO - Project ctest-TestBasicPolicy-39538741 not found, creating it 2026-02-25 17:29:45,098 - INFO - Created Project:ctest-TestBasicPolicy-39538741, ID : 00861736-847b-41f6-889e-e69ba08ab544 2026-02-25 17:29:46,574 - INFO - ================================================================================ 2026-02-25 17:29:46,574 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-25 17:29:46,574 - 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-25 17:29:46,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-02-25 17:29:46,835 - INFO - Initial checks done. Running the testcase now 2026-02-25 17:29:46,835 - INFO - 2026-02-25 17:29:47,375 - DEBUG - Response for create_network : {'network': {'id': '96a1994f-5d8b-4826-9b17-a53b5d38d954', 'name': 'ctest-vn-34607855', 'tenant_id': '00861736847b41f6889ee69ba08ab544', 'project_id': '00861736847b41f6889ee69ba08ab544', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-vn-34607855'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 17:29:47,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '5877fac2-b698-4493-a183-80b4571376b6', 'name': '', 'tenant_id': '00861736847b41f6889ee69ba08ab544', 'network_id': '96a1994f-5d8b-4826-9b17-a53b5d38d954', 'ip_version': 4, 'cidr': '219.126.99.128/26', 'allocation_pools': [{'start': '219.126.99.130', 'end': '219.126.99.190'}], 'gateway_ip': '219.126.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.126.99.130', 'tags': [], 'project_id': '00861736847b41f6889ee69ba08ab544'}} 2026-02-25 17:29:47,572 - INFO - Created VN ctest-vn-34607855 2026-02-25 17:29:47,624 - DEBUG - VN ctest-vn-34607855 UUID is 96a1994f-5d8b-4826-9b17-a53b5d38d954 2026-02-25 17:29:47,928 - DEBUG - Response for create_network : {'network': {'id': 'ee18d45b-6f1c-4dcb-9f18-177a4a87266b', 'name': 'ctest-vn-49109645', 'tenant_id': '00861736847b41f6889ee69ba08ab544', 'project_id': '00861736847b41f6889ee69ba08ab544', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-vn-49109645'], 'port_security_enabled': True, 'description': ''}} 2026-02-25 17:29:48,086 - DEBUG - Response for create_subnet : {'subnet': {'id': '57fcd280-d9dd-4bb6-8d76-2909df91d06e', 'name': '', 'tenant_id': '00861736847b41f6889ee69ba08ab544', 'network_id': 'ee18d45b-6f1c-4dcb-9f18-177a4a87266b', 'ip_version': 4, 'cidr': '21.50.52.192/26', 'allocation_pools': [{'start': '21.50.52.194', 'end': '21.50.52.254'}], 'gateway_ip': '21.50.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.50.52.194', 'tags': [], 'project_id': '00861736847b41f6889ee69ba08ab544'}} 2026-02-25 17:29:48,106 - INFO - Created VN ctest-vn-49109645 2026-02-25 17:29:48,161 - DEBUG - VN ctest-vn-49109645 UUID is ee18d45b-6f1c-4dcb-9f18-177a4a87266b 2026-02-25 17:29:48,282 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-34607855, 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-39538741:ctest-vn-49109645, 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-25 17:29:48,590 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96a1994f-5d8b-4826-9b17-a53b5d38d954', 'name': 'ctest-vn-34607855', 'tenant_id': '00861736847b41f6889ee69ba08ab544', 'project_id': '00861736847b41f6889ee69ba08ab544', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5877fac2-b698-4493-a183-80b4571376b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-vn-34607855'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-policy-allow-all-62303132']], 'subnet_ipam': [{'subnet_cidr': '219.126.99.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-25 17:29:48,807 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee18d45b-6f1c-4dcb-9f18-177a4a87266b', 'name': 'ctest-vn-49109645', 'tenant_id': '00861736847b41f6889ee69ba08ab544', 'project_id': '00861736847b41f6889ee69ba08ab544', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57fcd280-d9dd-4bb6-8d76-2909df91d06e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-vn-49109645'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-policy-allow-all-62303132']], 'subnet_ipam': [{'subnet_cidr': '21.50.52.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-25 17:29:48,972 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-25 17:29:49,268 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-25 17:29:49,300 - DEBUG - Requesting: http://10.0.0.19:8082/domain/668137d6-06f7-4b2a-9c46-5fb4cd41a302 2026-02-25 17:29:49,312 - DEBUG - Requesting: http://10.0.0.19:8082/project/00861736-847b-41f6-889e-e69ba08ab544 2026-02-25 17:29:49,383 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/96a1994f-5d8b-4826-9b17-a53b5d38d954 2026-02-25 17:29:49,392 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/96a1994f-5d8b-4826-9b17-a53b5d38d954 2026-02-25 17:29:49,400 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fe09415d-5d88-4f4d-8e11-15aceb9af257 2026-02-25 17:29:49,407 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fe09415d-5d88-4f4d-8e11-15aceb9af257 2026-02-25 17:29:49,413 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3cd209de-d3a6-4a60-9b15-ffbca466eaac 2026-02-25 17:29:49,418 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-25 17:29:49,418 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/96a1994f-5d8b-4826-9b17-a53b5d38d954 2026-02-25 17:29:49,426 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fe09415d-5d88-4f4d-8e11-15aceb9af257 2026-02-25 17:29:49,438 - INFO - Verified VN network id 11 for VN 96a1994f-5d8b-4826-9b17-a53b5d38d954 2026-02-25 17:29:49,438 - INFO - Verifications in API Server for VN ctest-vn-34607855 passed 2026-02-25 17:29:49,438 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/96a1994f-5d8b-4826-9b17-a53b5d38d954 2026-02-25 17:29:49,446 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fe09415d-5d88-4f4d-8e11-15aceb9af257 2026-02-25 17:29:49,453 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fe09415d-5d88-4f4d-8e11-15aceb9af257 2026-02-25 17:29:49,459 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3cd209de-d3a6-4a60-9b15-ffbca466eaac 2026-02-25 17:29:49,469 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-34607855', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39538741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10854125143090481190', 'uuid-lslong': '11175582674728835412'}, 'enable': 'true', 'created': '2026-02-25T17:29:47', 'last-modified': '2026-02-25T17:29:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.910598'} 2026-02-25 17:29:49,474 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-25 17:29:49,475 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34607855 passed 2026-02-25 17:29:49,475 - DEBUG - ====Verifying policy data for ctest-vn-34607855 in API_Server ====== 2026-02-25 17:29:49,475 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-25 17:29:49,481 - DEBUG - Requesting: http://10.0.0.19:8082/domain/668137d6-06f7-4b2a-9c46-5fb4cd41a302 2026-02-25 17:29:49,492 - DEBUG - Requesting: http://10.0.0.19:8082/project/00861736-847b-41f6-889e-e69ba08ab544 2026-02-25 17:29:49,565 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/96a1994f-5d8b-4826-9b17-a53b5d38d954 2026-02-25 17:29:49,574 - DEBUG - ==>Verifying data for policy with id: c0aa29cc-f9d0-4acd-9ea6-2a42e570e5a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-policy-allow-all-62303132'] 2026-02-25 17:29:49,574 - INFO - VN ctest-vn-34607855 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-25 17:29:49,574 - DEBUG - Verifying the vn in opserver 2026-02-25 17:29:49,574 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-34607855 virtual network link through opserver 10.0.0.19 2026-02-25 17:29:49,574 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-25 17:29:49,867 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-25 17:29:49,928 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-34607855', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-34607855?flat'} 2026-02-25 17:29:49,928 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-34607855 is found in opserver 2026-02-25 17:29:49,938 - DEBUG - Do not have enough data to verify VN in agent 2026-02-25 17:29:49,942 - DEBUG - VRF ids for VN ctest-vn-34607855: {} 2026-02-25 17:29:49,942 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-25 17:29:49,947 - DEBUG - Requesting: http://10.0.0.19:8082/domain/668137d6-06f7-4b2a-9c46-5fb4cd41a302 2026-02-25 17:29:49,958 - DEBUG - Requesting: http://10.0.0.19:8082/project/00861736-847b-41f6-889e-e69ba08ab544 2026-02-25 17:29:50,034 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ee18d45b-6f1c-4dcb-9f18-177a4a87266b 2026-02-25 17:29:50,045 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ee18d45b-6f1c-4dcb-9f18-177a4a87266b 2026-02-25 17:29:50,055 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/92da7e15-6311-43af-bef4-22087a0a0399 2026-02-25 17:29:50,063 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/92da7e15-6311-43af-bef4-22087a0a0399 2026-02-25 17:29:50,070 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e09beda0-a1bd-441b-b821-2e63dd418758 2026-02-25 17:29:50,076 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-25 17:29:50,076 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ee18d45b-6f1c-4dcb-9f18-177a4a87266b 2026-02-25 17:29:50,085 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/92da7e15-6311-43af-bef4-22087a0a0399 2026-02-25 17:29:50,099 - INFO - Verified VN network id 12 for VN ee18d45b-6f1c-4dcb-9f18-177a4a87266b 2026-02-25 17:29:50,099 - INFO - Verifications in API Server for VN ctest-vn-49109645 passed 2026-02-25 17:29:50,099 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ee18d45b-6f1c-4dcb-9f18-177a4a87266b 2026-02-25 17:29:50,108 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/92da7e15-6311-43af-bef4-22087a0a0399 2026-02-25 17:29:50,114 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/92da7e15-6311-43af-bef4-22087a0a0399 2026-02-25 17:29:50,121 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e09beda0-a1bd-441b-b821-2e63dd418758 2026-02-25 17:29:50,133 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-49109645', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39538741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17156696269639142859', 'uuid-lslong': '11463938665475417707'}, 'enable': 'true', 'created': '2026-02-25T17:29:47', 'last-modified': '2026-02-25T17:29:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337418'} 2026-02-25 17:29:50,140 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-25 17:29:50,140 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49109645 passed 2026-02-25 17:29:50,140 - DEBUG - ====Verifying policy data for ctest-vn-49109645 in API_Server ====== 2026-02-25 17:29:50,140 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-25 17:29:50,146 - DEBUG - Requesting: http://10.0.0.19:8082/domain/668137d6-06f7-4b2a-9c46-5fb4cd41a302 2026-02-25 17:29:50,157 - DEBUG - Requesting: http://10.0.0.19:8082/project/00861736-847b-41f6-889e-e69ba08ab544 2026-02-25 17:29:50,225 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ee18d45b-6f1c-4dcb-9f18-177a4a87266b 2026-02-25 17:29:50,233 - DEBUG - ==>Verifying data for policy with id: c0aa29cc-f9d0-4acd-9ea6-2a42e570e5a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-39538741', 'ctest-policy-allow-all-62303132'] 2026-02-25 17:29:50,233 - INFO - VN ctest-vn-49109645 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-25 17:29:50,233 - DEBUG - Verifying the vn in opserver 2026-02-25 17:29:50,233 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-49109645 virtual network link through opserver 10.0.0.19 2026-02-25 17:29:50,233 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-25 17:29:50,242 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-49109645', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-49109645?flat'} 2026-02-25 17:29:50,242 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-49109645 is found in opserver 2026-02-25 17:29:50,251 - DEBUG - Do not have enough data to verify VN in agent 2026-02-25 17:29:50,255 - DEBUG - VRF ids for VN ctest-vn-49109645: {} 2026-02-25 17:29:50,313 - DEBUG - Services list from nova: [, , ] 2026-02-25 17:29:51,364 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5398-1) 2026-02-25 17:29:52,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5398-1) 2026-02-25 17:29:52,659 - INFO - Waiting for VM ctest-TestBasicPolicy-39538741-18312648 to be up.. 2026-02-25 17:29:52,767 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-25 17:29:57,858 - DEBUG - VM is in ACTIVE state now 2026-02-25 17:29:57,858 - INFO - VM name : ctest-TestBasicPolicy-39538741-18312648 2026-02-25 17:29:57,934 - DEBUG - VM ctest-TestBasicPolicy-39538741-18312648 ID is 41032617-dedb-470c-b581-b8168a3c9551 2026-02-25 17:29:57,958 - DEBUG - VM ctest-TestBasicPolicy-39538741-18312648 launched on Node cn-jenkins-deploy-platform-ansible-os-5398-1 2026-02-25 17:29:58,040 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/41032617-dedb-470c-b581-b8168a3c9551 2026-02-25 17:29:58,049 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/2475adc4-77a6-4956-b13f-b0dbe2df2e31 2026-02-25 17:30:01,329 - 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 1029ms') 2026-02-25 17:30:01,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39538741-18312648 failed! 2026-02-25 17:30:01,385 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39538741:ctest-vn-34607855 is 219.126.99.129 and allocation pool is NOT set 2026-02-25 17:30:03,463 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.01 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 = 3.009/7.891/12.773/4.882 ms') 2026-02-25 17:30:03,463 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39538741-18312648 passed 2026-02-25 17:30:03,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 17:30:03,617 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39538741-18312648, IP 219.126.99.131, Port 22 2026-02-25 17:30:03,683 - 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-25 17:30:03,772 - DEBUG - VM ctest-TestBasicPolicy-39538741-18312648 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-25 17:30:08,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 17:30:08,773 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39538741-18312648, IP 219.126.99.131, Port 22 2026-02-25 17:30:08,947 - DEBUG - VM ctest-TestBasicPolicy-39538741-18312648 is ready for SSH connections 2026-02-25 17:30:08,947 - INFO - Waiting for VM ctest-TestBasicPolicy-39538741-25631646 to be up.. 2026-02-25 17:30:09,057 - DEBUG - VM is in ACTIVE state now 2026-02-25 17:30:09,058 - INFO - VM name : ctest-TestBasicPolicy-39538741-25631646 2026-02-25 17:30:09,150 - DEBUG - VM ctest-TestBasicPolicy-39538741-25631646 ID is 88b997ff-a3cb-4bb9-ab2f-dcf5e891b6f0 2026-02-25 17:30:09,150 - DEBUG - VM ctest-TestBasicPolicy-39538741-25631646 launched on Node cn-jenkins-deploy-platform-ansible-os-5398-1 2026-02-25 17:30:09,230 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/88b997ff-a3cb-4bb9-ab2f-dcf5e891b6f0 2026-02-25 17:30:09,239 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dabf923c-dee3-4397-b9ba-8630aad83407 2026-02-25 17:30:10,473 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.446/1.681/2.917/1.235 ms') 2026-02-25 17:30:10,474 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39538741-25631646 passed 2026-02-25 17:30:10,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 17:30:10,625 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39538741-25631646, IP 21.50.52.195, Port 22 2026-02-25 17:30:10,780 - DEBUG - VM ctest-TestBasicPolicy-39538741-25631646 is ready for SSH connections 2026-02-25 17:30:10,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 17:30:10,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.50.52.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-25 17:30:10,780 - DEBUG - ping -s 56 -c 3 -W 1 21.50.52.195 2026-02-25 17:30:14,860 - DEBUG - PING 21.50.52.195 (21.50.52.195): 56 data bytes 64 bytes from 21.50.52.195: seq=0 ttl=63 time=3.748 ms 64 bytes from 21.50.52.195: seq=1 ttl=63 time=1.071 ms 64 bytes from 21.50.52.195: seq=2 ttl=63 time=1.092 ms --- 21.50.52.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.071/1.970/3.748 ms 2026-02-25 17:30:14,860 - INFO - Ping to IP 21.50.52.195 from VM ctest-TestBasicPolicy-39538741-18312648 passed 2026-02-25 17:30:15,044 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c0aa29cc-f9d0-4acd-9ea6-2a42e570e5a4", "href": "http://10.0.0.19:8082/network-policy/c0aa29cc-f9d0-4acd-9ea6-2a42e570e5a4"}} 2026-02-25 17:30:15,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-25 17:30:15,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.50.52.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-25 17:30:15,045 - DEBUG - ping -s 56 -c 3 -W 1 21.50.52.195 2026-02-25 17:30:18,262 - DEBUG - PING 21.50.52.195 (21.50.52.195): 56 data bytes --- 21.50.52.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-25 17:30:18,262 - WARNING - Ping to IP 21.50.52.195 from VM ctest-TestBasicPolicy-39538741-18312648 failed 2026-02-25 17:30:18,262 - INFO - Deleting VM ctest-TestBasicPolicy-39538741-25631646 2026-02-25 17:30:18,334 - INFO - Deleting VM ctest-TestBasicPolicy-39538741-18312648 2026-02-25 17:30:18,710 - INFO - Deleted policy ctest-policy-allow-all-62303132 2026-02-25 17:30:18,711 - INFO - Deleting VN ctest-vn-49109645 2026-02-25 17:30:18,753 - DEBUG - VN ee18d45b-6f1c-4dcb-9f18-177a4a87266b still in use: Unable to complete operation on network ee18d45b-6f1c-4dcb-9f18-177a4a87266b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-81e0935a-35ec-4892-9b01-63f88cbc42ad'] 2026-02-25 17:30:18,753 - WARNING - Deleting VN ctest-vn-49109645 failed..Will retry 2026-02-25 17:30:20,859 - DEBUG - Response for deleting network () 2026-02-25 17:30:20,860 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/92da7e15-6311-43af-bef4-22087a0a0399 2026-02-25 17:30:20,865 - DEBUG - Response Code: 404 2026-02-25 17:30:20,865 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-25 17:30:20,871 - DEBUG - Requesting: http://10.0.0.19:8082/domain/668137d6-06f7-4b2a-9c46-5fb4cd41a302 2026-02-25 17:30:20,927 - DEBUG - Requesting: http://10.0.0.19:8082/project/00861736-847b-41f6-889e-e69ba08ab544 2026-02-25 17:30:21,006 - INFO - Validated that VN ctest-vn-49109645 is not found in API Server 2026-02-25 17:30:21,017 - DEBUG - VN ctest-vn-49109645 is not present in Agent 10.0.0.19 2026-02-25 17:30:21,017 - INFO - Validated that VN ctest-vn-49109645 is not in any agent 2026-02-25 17:30:21,033 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49109645 info 2026-02-25 17:30:21,033 - INFO - Deleting VN ctest-vn-34607855 2026-02-25 17:30:21,167 - DEBUG - Response for deleting network () 2026-02-25 17:30:21,167 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fe09415d-5d88-4f4d-8e11-15aceb9af257 2026-02-25 17:30:21,174 - DEBUG - Response Code: 404 2026-02-25 17:30:21,174 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-25 17:30:21,180 - DEBUG - Requesting: http://10.0.0.19:8082/domain/668137d6-06f7-4b2a-9c46-5fb4cd41a302 2026-02-25 17:30:21,233 - DEBUG - Requesting: http://10.0.0.19:8082/project/00861736-847b-41f6-889e-e69ba08ab544 2026-02-25 17:30:21,302 - INFO - Validated that VN ctest-vn-34607855 is not found in API Server 2026-02-25 17:30:21,312 - DEBUG - VN ctest-vn-34607855 is not present in Agent 10.0.0.19 2026-02-25 17:30:21,312 - INFO - Validated that VN ctest-vn-34607855 is not in any agent 2026-02-25 17:30:21,325 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34607855 info 2026-02-25 17:30:21,595 - DEBUG - No XMPP flaps were noticed during the test
2026-02-25 17:30:21,595 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-25 17:30:21,595 - INFO - -------------------------------------------------------------------------------- 2026-02-25 17:30:22,323 - INFO - Deleted project: ctest-TestBasicPolicy-39538741, ID : 00861736-847b-41f6-889e-e69ba08ab544