2026-02-10 20:45:56,352 - INFO - Domain Default found not creating 2026-02-10 20:45:56,785 - INFO - Project ctest-TestBasicPolicy-53316915 not found, creating it 2026-02-10 20:45:57,543 - INFO - Created Project:ctest-TestBasicPolicy-53316915, ID : 795e34ef-2eeb-4807-a156-e9a61ec8c011 2026-02-10 20:45:59,793 - INFO - ================================================================================ 2026-02-10 20:45:59,794 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 20:45:59,794 - 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-10 20:46:00,057 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-02-10 20:46:00,057 - INFO - Initial checks done. Running the testcase now 2026-02-10 20:46:00,057 - INFO - 2026-02-10 20:46:00,724 - DEBUG - Response for create_network : {'network': {'id': '7a240e4e-1e48-4106-9017-18741b40b130', 'name': 'ctest-vn-68953721', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-68953721'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 20:46:00,915 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cee5d208-03a8-4108-9b19-00eae28c33a4', 'name': '', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'network_id': '7a240e4e-1e48-4106-9017-18741b40b130', 'ip_version': 4, 'cidr': '17.87.218.192/26', 'allocation_pools': [{'start': '17.87.218.194', 'end': '17.87.218.254'}], 'gateway_ip': '17.87.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.87.218.194', 'tags': [], 'project_id': '795e34ef2eeb4807a156e9a61ec8c011'}} 2026-02-10 20:46:00,941 - INFO - Created VN ctest-vn-68953721 2026-02-10 20:46:01,020 - DEBUG - VN ctest-vn-68953721 UUID is 7a240e4e-1e48-4106-9017-18741b40b130 2026-02-10 20:46:01,405 - DEBUG - Response for create_network : {'network': {'id': 'd799091d-ce99-4f0d-9511-1eee472f6e35', 'name': 'ctest-vn-20642906', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-20642906'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 20:46:01,617 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6cff23d-ee22-4828-9678-42c9f7cadd5a', 'name': '', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'network_id': 'd799091d-ce99-4f0d-9511-1eee472f6e35', 'ip_version': 4, 'cidr': '22.175.23.192/26', 'allocation_pools': [{'start': '22.175.23.194', 'end': '22.175.23.254'}], 'gateway_ip': '22.175.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.175.23.194', 'tags': [], 'project_id': '795e34ef2eeb4807a156e9a61ec8c011'}} 2026-02-10 20:46:01,634 - INFO - Created VN ctest-vn-20642906 2026-02-10 20:46:01,684 - DEBUG - VN ctest-vn-20642906 UUID is d799091d-ce99-4f0d-9511-1eee472f6e35 2026-02-10 20:46:01,841 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721, 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-53316915:ctest-vn-20642906, 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-10 20:46:02,218 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7a240e4e-1e48-4106-9017-18741b40b130', 'name': 'ctest-vn-68953721', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cee5d208-03a8-4108-9b19-00eae28c33a4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-68953721'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262']], 'subnet_ipam': [{'subnet_cidr': '17.87.218.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 20:46:02,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd799091d-ce99-4f0d-9511-1eee472f6e35', 'name': 'ctest-vn-20642906', 'tenant_id': '795e34ef2eeb4807a156e9a61ec8c011', 'project_id': '795e34ef2eeb4807a156e9a61ec8c011', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6cff23d-ee22-4828-9678-42c9f7cadd5a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-vn-20642906'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262']], 'subnet_ipam': [{'subnet_cidr': '22.175.23.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 20:46:02,720 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 20:46:03,018 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 20:46:03,069 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965 2026-02-10 20:46:03,094 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011 2026-02-10 20:46:03,181 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130 2026-02-10 20:46:03,192 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130 2026-02-10 20:46:03,202 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3 2026-02-10 20:46:03,209 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3 2026-02-10 20:46:03,217 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3c963a5b-ac02-4243-87dc-c42b2ffc5b69 2026-02-10 20:46:03,227 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 20:46:03,227 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130 2026-02-10 20:46:03,238 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3 2026-02-10 20:46:03,256 - INFO - Verified VN network id 11 for VN 7a240e4e-1e48-4106-9017-18741b40b130 2026-02-10 20:46:03,256 - INFO - Verifications in API Server for VN ctest-vn-68953721 passed 2026-02-10 20:46:03,256 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130 2026-02-10 20:46:03,267 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3 2026-02-10 20:46:03,275 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3 2026-02-10 20:46:03,284 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/3c963a5b-ac02-4243-87dc-c42b2ffc5b69 2026-02-10 20:46:03,299 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53316915', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8801175300467081478', 'uuid-lslong': '10382794352878465328'}, 'enable': 'true', 'created': '2026-02-10T20:46:00', 'last-modified': '2026-02-10T20:46:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.115667'} 2026-02-10 20:46:03,307 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 20:46:03,307 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68953721 passed 2026-02-10 20:46:03,307 - DEBUG - ====Verifying policy data for ctest-vn-68953721 in API_Server ====== 2026-02-10 20:46:03,307 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 20:46:03,314 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965 2026-02-10 20:46:03,325 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011 2026-02-10 20:46:03,428 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7a240e4e-1e48-4106-9017-18741b40b130 2026-02-10 20:46:03,446 - DEBUG - ==>Verifying data for policy with id: 39f4db7b-5f22-461d-87ab-a3490c70c58e, fqn: ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262'] 2026-02-10 20:46:03,446 - INFO - VN ctest-vn-68953721 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 20:46:03,446 - DEBUG - Verifying the vn in opserver 2026-02-10 20:46:03,446 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721 virtual network link through opserver 10.0.0.33 2026-02-10 20:46:03,447 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-10 20:46:03,793 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-10 20:46:03,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721?flat'} 2026-02-10 20:46:03,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721 is found in opserver 2026-02-10 20:46:03,883 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 20:46:03,888 - DEBUG - VRF ids for VN ctest-vn-68953721: {} 2026-02-10 20:46:03,888 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 20:46:03,894 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965 2026-02-10 20:46:03,911 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011 2026-02-10 20:46:04,002 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35 2026-02-10 20:46:04,020 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35 2026-02-10 20:46:04,034 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4 2026-02-10 20:46:04,043 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4 2026-02-10 20:46:04,053 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ead0001b-706d-4f65-84be-bb8254c91724 2026-02-10 20:46:04,062 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 20:46:04,062 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35 2026-02-10 20:46:04,076 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4 2026-02-10 20:46:04,098 - INFO - Verified VN network id 12 for VN d799091d-ce99-4f0d-9511-1eee472f6e35 2026-02-10 20:46:04,099 - INFO - Verifications in API Server for VN ctest-vn-20642906 passed 2026-02-10 20:46:04,099 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35 2026-02-10 20:46:04,113 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4 2026-02-10 20:46:04,125 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4 2026-02-10 20:46:04,134 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ead0001b-706d-4f65-84be-bb8254c91724 2026-02-10 20:46:04,153 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53316915', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15535458413216091917', 'uuid-lslong': '10741400595000684085'}, 'enable': 'true', 'created': '2026-02-10T20:46:01', 'last-modified': '2026-02-10T20:46:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.670013'} 2026-02-10 20:46:04,160 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 20:46:04,160 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20642906 passed 2026-02-10 20:46:04,160 - DEBUG - ====Verifying policy data for ctest-vn-20642906 in API_Server ====== 2026-02-10 20:46:04,160 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 20:46:04,167 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965 2026-02-10 20:46:04,180 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011 2026-02-10 20:46:04,269 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/d799091d-ce99-4f0d-9511-1eee472f6e35 2026-02-10 20:46:04,281 - DEBUG - ==>Verifying data for policy with id: 39f4db7b-5f22-461d-87ab-a3490c70c58e, fqn: ['default-domain', 'ctest-TestBasicPolicy-53316915', 'ctest-policy-allow-all-52653262'] 2026-02-10 20:46:04,282 - INFO - VN ctest-vn-20642906 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 20:46:04,282 - DEBUG - Verifying the vn in opserver 2026-02-10 20:46:04,282 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906 virtual network link through opserver 10.0.0.33 2026-02-10 20:46:04,282 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-10 20:46:04,292 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906?flat'} 2026-02-10 20:46:04,292 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-20642906 is found in opserver 2026-02-10 20:46:04,305 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 20:46:04,312 - DEBUG - VRF ids for VN ctest-vn-20642906: {} 2026-02-10 20:46:04,378 - DEBUG - Services list from nova: [, , ] 2026-02-10 20:46:05,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5287-1) 2026-02-10 20:46:07,131 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5287-1) 2026-02-10 20:46:07,132 - INFO - Waiting for VM ctest-TestBasicPolicy-53316915-63102194 to be up.. 2026-02-10 20:46:07,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 20:46:12,394 - DEBUG - VM is in ACTIVE state now 2026-02-10 20:46:12,394 - INFO - VM name : ctest-TestBasicPolicy-53316915-63102194 2026-02-10 20:46:12,497 - DEBUG - VM ctest-TestBasicPolicy-53316915-63102194 ID is 4eee0d1e-bc38-4479-b8a8-f7a996a69c3a 2026-02-10 20:46:12,522 - DEBUG - VM ctest-TestBasicPolicy-53316915-63102194 launched on Node cn-jenkins-deploy-platform-ansible-os-5287-1 2026-02-10 20:46:12,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4eee0d1e-bc38-4479-b8a8-f7a996a69c3a 2026-02-10 20:46:12,648 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ce5aa92-6471-4212-972b-e48b4a780ca9 2026-02-10 20:46:15,942 - 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-02-10 20:46:15,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53316915-63102194 failed! 2026-02-10 20:46:16,008 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53316915:ctest-vn-68953721 is 17.87.218.193 and allocation pool is NOT set 2026-02-10 20:46:20,100 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 3.171/3.171/3.171/0.000 ms') 2026-02-10 20:46:20,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53316915-63102194 passed 2026-02-10 20:46:20,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 20:46:20,272 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53316915-63102194, IP 17.87.218.195, Port 22 2026-02-10 20:46:20,350 - 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-10 20:46:20,556 - DEBUG - VM ctest-TestBasicPolicy-53316915-63102194 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-10 20:46:25,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 20:46:25,557 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53316915-63102194, IP 17.87.218.195, Port 22 2026-02-10 20:46:25,766 - DEBUG - VM ctest-TestBasicPolicy-53316915-63102194 is ready for SSH connections 2026-02-10 20:46:25,767 - INFO - Waiting for VM ctest-TestBasicPolicy-53316915-39702646 to be up.. 2026-02-10 20:46:25,955 - DEBUG - VM is in ACTIVE state now 2026-02-10 20:46:25,955 - INFO - VM name : ctest-TestBasicPolicy-53316915-39702646 2026-02-10 20:46:26,141 - DEBUG - VM ctest-TestBasicPolicy-53316915-39702646 ID is 1148781c-f14a-410b-a493-de5414613bac 2026-02-10 20:46:26,141 - DEBUG - VM ctest-TestBasicPolicy-53316915-39702646 launched on Node cn-jenkins-deploy-platform-ansible-os-5287-1 2026-02-10 20:46:26,337 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/1148781c-f14a-410b-a493-de5414613bac 2026-02-10 20:46:26,359 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3c7baf34-0ef0-4880-9a0c-0e7682073d22 2026-02-10 20:46:27,703 - 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=10.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.023/5.520/10.018/4.497 ms') 2026-02-10 20:46:27,704 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53316915-39702646 passed 2026-02-10 20:46:27,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 20:46:27,881 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53316915-39702646, IP 22.175.23.195, Port 22 2026-02-10 20:46:28,080 - DEBUG - VM ctest-TestBasicPolicy-53316915-39702646 is ready for SSH connections 2026-02-10 20:46:28,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 20:46:28,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.175.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-10 20:46:28,081 - DEBUG - ping -s 56 -c 3 -W 1 22.175.23.195 2026-02-10 20:46:32,602 - DEBUG - PING 22.175.23.195 (22.175.23.195): 56 data bytes 64 bytes from 22.175.23.195: seq=0 ttl=63 time=4.847 ms 64 bytes from 22.175.23.195: seq=1 ttl=63 time=1.668 ms 64 bytes from 22.175.23.195: seq=2 ttl=63 time=1.885 ms --- 22.175.23.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.668/2.800/4.847 ms 2026-02-10 20:46:32,602 - INFO - Ping to IP 22.175.23.195 from VM ctest-TestBasicPolicy-53316915-63102194 passed 2026-02-10 20:46:32,828 - DEBUG - Policy Update Response {"network-policy": {"uuid": "39f4db7b-5f22-461d-87ab-a3490c70c58e", "href": "http://10.0.0.33:8082/network-policy/39f4db7b-5f22-461d-87ab-a3490c70c58e"}} 2026-02-10 20:46:32,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 20:46:32,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.175.23.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-10 20:46:32,829 - DEBUG - ping -s 56 -c 3 -W 1 22.175.23.195 2026-02-10 20:46:36,085 - DEBUG - PING 22.175.23.195 (22.175.23.195): 56 data bytes 64 bytes from 22.175.23.195: seq=0 ttl=63 time=1.874 ms --- 22.175.23.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.874/1.874/1.874 ms 2026-02-10 20:46:36,085 - WARNING - Ping to IP 22.175.23.195 from VM ctest-TestBasicPolicy-53316915-63102194 failed 2026-02-10 20:46:36,086 - INFO - Deleting VM ctest-TestBasicPolicy-53316915-39702646 2026-02-10 20:46:36,250 - INFO - Deleting VM ctest-TestBasicPolicy-53316915-63102194 2026-02-10 20:46:36,851 - INFO - Deleted policy ctest-policy-allow-all-52653262 2026-02-10 20:46:36,851 - INFO - Deleting VN ctest-vn-20642906 2026-02-10 20:46:36,903 - DEBUG - VN d799091d-ce99-4f0d-9511-1eee472f6e35 still in use: Unable to complete operation on network d799091d-ce99-4f0d-9511-1eee472f6e35. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d721c961-06b6-41ee-b238-198250be84db'] 2026-02-10 20:46:36,903 - WARNING - Deleting VN ctest-vn-20642906 failed..Will retry 2026-02-10 20:46:39,144 - DEBUG - Response for deleting network () 2026-02-10 20:46:39,144 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/b9f89cf7-1047-4abb-bedb-ae2001909de4 2026-02-10 20:46:39,157 - DEBUG - Response Code: 404 2026-02-10 20:46:39,158 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 20:46:39,167 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965 2026-02-10 20:46:39,187 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011 2026-02-10 20:46:39,310 - INFO - Validated that VN ctest-vn-20642906 is not found in API Server 2026-02-10 20:46:39,333 - DEBUG - VN ctest-vn-20642906 is not present in Agent 10.0.0.33 2026-02-10 20:46:39,333 - INFO - Validated that VN ctest-vn-20642906 is not in any agent 2026-02-10 20:46:39,369 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20642906 info 2026-02-10 20:46:39,369 - INFO - Deleting VN ctest-vn-68953721 2026-02-10 20:46:39,611 - DEBUG - Response for deleting network () 2026-02-10 20:46:39,611 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/bd584c6d-c466-4f75-8fb3-10c1955d7da3 2026-02-10 20:46:39,625 - DEBUG - Response Code: 404 2026-02-10 20:46:39,625 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-10 20:46:39,633 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d7fb4692-c5cd-4053-b645-b89da6856965 2026-02-10 20:46:39,652 - DEBUG - Requesting: http://10.0.0.33:8082/project/795e34ef-2eeb-4807-a156-e9a61ec8c011 2026-02-10 20:46:39,752 - INFO - Validated that VN ctest-vn-68953721 is not found in API Server 2026-02-10 20:46:39,771 - DEBUG - VN ctest-vn-68953721 is not present in Agent 10.0.0.33 2026-02-10 20:46:39,771 - INFO - Validated that VN ctest-vn-68953721 is not in any agent 2026-02-10 20:46:39,808 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68953721 info 2026-02-10 20:46:40,137 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 20:46:40,138 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:41] 2026-02-10 20:46:40,138 - INFO - -------------------------------------------------------------------------------- 2026-02-10 20:46:41,049 - INFO - Deleted project: ctest-TestBasicPolicy-53316915, ID : 795e34ef-2eeb-4807-a156-e9a61ec8c011