2026-02-26 10:41:30,327 - INFO - Domain Default found not creating 2026-02-26 10:41:30,537 - INFO - Project ctest-TestBasicPolicy-41446436 not found, creating it 2026-02-26 10:41:31,033 - INFO - Created Project:ctest-TestBasicPolicy-41446436, ID : 16da68a1-1891-4cea-9503-262e8f657333 2026-02-26 10:41:32,734 - INFO - ================================================================================ 2026-02-26 10:41:32,735 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-26 10:41:32,735 - 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-26 10:41:33,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-02-26 10:41:33,008 - INFO - Initial checks done. Running the testcase now 2026-02-26 10:41:33,008 - INFO - 2026-02-26 10:41:33,660 - DEBUG - Response for create_network : {'network': {'id': '103e4356-b966-4f8d-8475-17c3f499ddee', 'name': 'ctest-vn-86579911', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-86579911'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:41:33,858 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9a59db8-5198-402e-b153-c5d2f2875b32', 'name': '', 'tenant_id': '16da68a118914cea9503262e8f657333', 'network_id': '103e4356-b966-4f8d-8475-17c3f499ddee', 'ip_version': 4, 'cidr': '103.32.7.0/26', 'allocation_pools': [{'start': '103.32.7.2', 'end': '103.32.7.62'}], 'gateway_ip': '103.32.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.32.7.2', 'tags': [], 'project_id': '16da68a118914cea9503262e8f657333'}} 2026-02-26 10:41:33,882 - INFO - Created VN ctest-vn-86579911 2026-02-26 10:41:33,935 - DEBUG - VN ctest-vn-86579911 UUID is 103e4356-b966-4f8d-8475-17c3f499ddee 2026-02-26 10:41:34,304 - DEBUG - Response for create_network : {'network': {'id': '8f82ea0b-38a2-44f7-a109-232dc4a67127', 'name': 'ctest-vn-07444310', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-07444310'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:41:34,477 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab69711c-dcc7-4940-9660-6664cafc7b14', 'name': '', 'tenant_id': '16da68a118914cea9503262e8f657333', 'network_id': '8f82ea0b-38a2-44f7-a109-232dc4a67127', 'ip_version': 4, 'cidr': '115.151.77.0/26', 'allocation_pools': [{'start': '115.151.77.2', 'end': '115.151.77.62'}], 'gateway_ip': '115.151.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.151.77.2', 'tags': [], 'project_id': '16da68a118914cea9503262e8f657333'}} 2026-02-26 10:41:34,504 - INFO - Created VN ctest-vn-07444310 2026-02-26 10:41:34,559 - DEBUG - VN ctest-vn-07444310 UUID is 8f82ea0b-38a2-44f7-a109-232dc4a67127 2026-02-26 10:41:34,692 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911, 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-41446436:ctest-vn-07444310, 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-26 10:41:34,998 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '103e4356-b966-4f8d-8475-17c3f499ddee', 'name': 'ctest-vn-86579911', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9a59db8-5198-402e-b153-c5d2f2875b32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-86579911'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813']], 'subnet_ipam': [{'subnet_cidr': '103.32.7.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:41:35,257 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f82ea0b-38a2-44f7-a109-232dc4a67127', 'name': 'ctest-vn-07444310', 'tenant_id': '16da68a118914cea9503262e8f657333', 'project_id': '16da68a118914cea9503262e8f657333', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ab69711c-dcc7-4940-9660-6664cafc7b14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-vn-07444310'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813']], 'subnet_ipam': [{'subnet_cidr': '115.151.77.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-26 10:41:35,424 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-26 10:41:35,731 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-26 10:41:35,775 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a 2026-02-26 10:41:35,790 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333 2026-02-26 10:41:35,869 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee 2026-02-26 10:41:35,881 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee 2026-02-26 10:41:35,894 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a 2026-02-26 10:41:35,902 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a 2026-02-26 10:41:35,911 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/dc15af76-b0d9-4219-86ab-f8b62a744c0e 2026-02-26 10:41:35,919 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 10:41:35,919 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee 2026-02-26 10:41:35,930 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a 2026-02-26 10:41:35,952 - INFO - Verified VN network id 11 for VN 103e4356-b966-4f8d-8475-17c3f499ddee 2026-02-26 10:41:35,952 - INFO - Verifications in API Server for VN ctest-vn-86579911 passed 2026-02-26 10:41:35,952 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee 2026-02-26 10:41:35,963 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a 2026-02-26 10:41:35,971 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a 2026-02-26 10:41:35,979 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/dc15af76-b0d9-4219-86ab-f8b62a744c0e 2026-02-26 10:41:35,992 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41446436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1170446992919646093', 'uuid-lslong': '9544561115671420398'}, 'enable': 'true', 'created': '2026-02-26T10:41:33', 'last-modified': '2026-02-26T10:41:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.016286'} 2026-02-26 10:41:35,999 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 10:41:35,999 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86579911 passed 2026-02-26 10:41:36,000 - DEBUG - ====Verifying policy data for ctest-vn-86579911 in API_Server ====== 2026-02-26 10:41:36,000 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-26 10:41:36,008 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a 2026-02-26 10:41:36,021 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333 2026-02-26 10:41:36,094 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/103e4356-b966-4f8d-8475-17c3f499ddee 2026-02-26 10:41:36,105 - DEBUG - ==>Verifying data for policy with id: 3d838aab-f4bb-4a34-b26b-6fc39f6c8ad3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813'] 2026-02-26 10:41:36,105 - INFO - VN ctest-vn-86579911 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 10:41:36,105 - DEBUG - Verifying the vn in opserver 2026-02-26 10:41:36,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911 virtual network link through opserver 10.0.0.41 2026-02-26 10:41:36,106 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-26 10:41:36,428 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-26 10:41:36,511 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911?flat'} 2026-02-26 10:41:36,511 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911 is found in opserver 2026-02-26 10:41:36,524 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 10:41:36,532 - DEBUG - VRF ids for VN ctest-vn-86579911: {} 2026-02-26 10:41:36,532 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-26 10:41:36,540 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a 2026-02-26 10:41:36,554 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333 2026-02-26 10:41:36,629 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127 2026-02-26 10:41:36,643 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127 2026-02-26 10:41:36,653 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b 2026-02-26 10:41:36,661 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b 2026-02-26 10:41:36,670 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/a20c3526-8235-488b-a5f2-8dbe3f724d00 2026-02-26 10:41:36,679 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 10:41:36,679 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127 2026-02-26 10:41:36,689 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b 2026-02-26 10:41:36,706 - INFO - Verified VN network id 12 for VN 8f82ea0b-38a2-44f7-a109-232dc4a67127 2026-02-26 10:41:36,706 - INFO - Verifications in API Server for VN ctest-vn-07444310 passed 2026-02-26 10:41:36,706 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127 2026-02-26 10:41:36,716 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b 2026-02-26 10:41:36,724 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b 2026-02-26 10:41:36,732 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/a20c3526-8235-488b-a5f2-8dbe3f724d00 2026-02-26 10:41:36,745 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41446436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10341085028311778551', 'uuid-lslong': '11603844594376536359'}, 'enable': 'true', 'created': '2026-02-26T10:41:34', 'last-modified': '2026-02-26T10:41:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520839'} 2026-02-26 10:41:36,751 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 10:41:36,752 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07444310 passed 2026-02-26 10:41:36,752 - DEBUG - ====Verifying policy data for ctest-vn-07444310 in API_Server ====== 2026-02-26 10:41:36,752 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-26 10:41:36,760 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a 2026-02-26 10:41:36,775 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333 2026-02-26 10:41:36,848 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/8f82ea0b-38a2-44f7-a109-232dc4a67127 2026-02-26 10:41:36,858 - DEBUG - ==>Verifying data for policy with id: 3d838aab-f4bb-4a34-b26b-6fc39f6c8ad3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41446436', 'ctest-policy-allow-all-95272813'] 2026-02-26 10:41:36,858 - INFO - VN ctest-vn-07444310 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 10:41:36,858 - DEBUG - Verifying the vn in opserver 2026-02-26 10:41:36,858 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310 virtual network link through opserver 10.0.0.41 2026-02-26 10:41:36,858 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-26 10:41:36,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310?flat'} 2026-02-26 10:41:36,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-07444310 is found in opserver 2026-02-26 10:41:36,880 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 10:41:36,885 - DEBUG - VRF ids for VN ctest-vn-07444310: {} 2026-02-26 10:41:36,958 - DEBUG - Services list from nova: [, , ] 2026-02-26 10:41:38,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5405-1) 2026-02-26 10:41:39,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5405-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5405-1) 2026-02-26 10:41:39,354 - INFO - Waiting for VM ctest-TestBasicPolicy-41446436-21386540 to be up.. 2026-02-26 10:41:39,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 10:41:44,566 - DEBUG - VM is in ACTIVE state now 2026-02-26 10:41:44,566 - INFO - VM name : ctest-TestBasicPolicy-41446436-21386540 2026-02-26 10:41:44,658 - DEBUG - VM ctest-TestBasicPolicy-41446436-21386540 ID is 6a5925a7-6221-421a-b295-a44fad8dca71 2026-02-26 10:41:44,683 - DEBUG - VM ctest-TestBasicPolicy-41446436-21386540 launched on Node cn-jenkins-deploy-platform-ansible-os-5405-1 2026-02-26 10:41:44,781 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6a5925a7-6221-421a-b295-a44fad8dca71 2026-02-26 10:41:44,791 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/37938a1c-fee2-4648-801d-319becbf5149 2026-02-26 10:41:48,058 - 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 1022ms') 2026-02-26 10:41:48,058 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41446436-21386540 failed! 2026-02-26 10:41:48,115 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41446436:ctest-vn-86579911 is 103.32.7.1 and allocation pool is NOT set 2026-02-26 10:41:50,182 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.16 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.157/5.217/7.278/2.060 ms') 2026-02-26 10:41:50,182 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41446436-21386540 passed 2026-02-26 10:41:50,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:41:50,335 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41446436-21386540, IP 103.32.7.3, Port 22 2026-02-26 10:41:50,504 - DEBUG - VM ctest-TestBasicPolicy-41446436-21386540 is ready for SSH connections 2026-02-26 10:41:50,505 - INFO - Waiting for VM ctest-TestBasicPolicy-41446436-17293605 to be up.. 2026-02-26 10:41:50,596 - DEBUG - VM is in ACTIVE state now 2026-02-26 10:41:50,597 - INFO - VM name : ctest-TestBasicPolicy-41446436-17293605 2026-02-26 10:41:50,685 - DEBUG - VM ctest-TestBasicPolicy-41446436-17293605 ID is 8f1d99d8-edef-4cd2-afe7-133b36413276 2026-02-26 10:41:50,685 - DEBUG - VM ctest-TestBasicPolicy-41446436-17293605 launched on Node cn-jenkins-deploy-platform-ansible-os-5405-1 2026-02-26 10:41:50,794 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8f1d99d8-edef-4cd2-afe7-133b36413276 2026-02-26 10:41:50,803 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/3b43255e-6d8e-47a0-817b-65fc97d3e8c4 2026-02-26 10:41:52,054 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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.128/2.699/4.271/1.571 ms') 2026-02-26 10:41:52,055 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41446436-17293605 passed 2026-02-26 10:41:52,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:41:52,211 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41446436-17293605, IP 115.151.77.3, Port 22 2026-02-26 10:41:52,393 - DEBUG - VM ctest-TestBasicPolicy-41446436-17293605 is ready for SSH connections 2026-02-26 10:41:52,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:41:52,393 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.151.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-26 10:41:52,393 - DEBUG - ping -s 56 -c 3 -W 1 115.151.77.3 2026-02-26 10:41:56,456 - DEBUG - PING 115.151.77.3 (115.151.77.3): 56 data bytes 64 bytes from 115.151.77.3: seq=0 ttl=63 time=4.041 ms 64 bytes from 115.151.77.3: seq=1 ttl=63 time=0.939 ms 64 bytes from 115.151.77.3: seq=2 ttl=63 time=1.417 ms --- 115.151.77.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.939/2.132/4.041 ms 2026-02-26 10:41:56,457 - INFO - Ping to IP 115.151.77.3 from VM ctest-TestBasicPolicy-41446436-21386540 passed 2026-02-26 10:41:56,647 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3d838aab-f4bb-4a34-b26b-6fc39f6c8ad3", "href": "http://10.0.0.41:8082/network-policy/3d838aab-f4bb-4a34-b26b-6fc39f6c8ad3"}} 2026-02-26 10:41:56,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 10:41:56,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.151.77.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-26 10:41:56,647 - DEBUG - ping -s 56 -c 3 -W 1 115.151.77.3 2026-02-26 10:41:59,877 - DEBUG - PING 115.151.77.3 (115.151.77.3): 56 data bytes --- 115.151.77.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-26 10:41:59,877 - WARNING - Ping to IP 115.151.77.3 from VM ctest-TestBasicPolicy-41446436-21386540 failed 2026-02-26 10:41:59,877 - INFO - Deleting VM ctest-TestBasicPolicy-41446436-17293605 2026-02-26 10:41:59,963 - INFO - Deleting VM ctest-TestBasicPolicy-41446436-21386540 2026-02-26 10:42:00,395 - INFO - Deleted policy ctest-policy-allow-all-95272813 2026-02-26 10:42:00,395 - INFO - Deleting VN ctest-vn-07444310 2026-02-26 10:42:00,444 - DEBUG - VN 8f82ea0b-38a2-44f7-a109-232dc4a67127 still in use: Unable to complete operation on network 8f82ea0b-38a2-44f7-a109-232dc4a67127. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93643363-3290-480d-9156-6de2538f641c'] 2026-02-26 10:42:00,445 - WARNING - Deleting VN ctest-vn-07444310 failed..Will retry 2026-02-26 10:42:02,564 - DEBUG - Response for deleting network () 2026-02-26 10:42:02,564 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5539eb72-6987-4156-9378-0817f5f0d43b 2026-02-26 10:42:02,571 - DEBUG - Response Code: 404 2026-02-26 10:42:02,571 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-26 10:42:02,578 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a 2026-02-26 10:42:02,633 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333 2026-02-26 10:42:02,711 - INFO - Validated that VN ctest-vn-07444310 is not found in API Server 2026-02-26 10:42:02,721 - DEBUG - VN ctest-vn-07444310 is not present in Agent 10.0.0.41 2026-02-26 10:42:02,721 - INFO - Validated that VN ctest-vn-07444310 is not in any agent 2026-02-26 10:42:02,738 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07444310 info 2026-02-26 10:42:02,738 - INFO - Deleting VN ctest-vn-86579911 2026-02-26 10:42:02,855 - DEBUG - Response for deleting network () 2026-02-26 10:42:02,855 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/a09d02b0-9669-4152-86bb-4431f6e4178a 2026-02-26 10:42:02,863 - DEBUG - Response Code: 404 2026-02-26 10:42:02,863 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-26 10:42:02,871 - DEBUG - Requesting: http://10.0.0.41:8082/domain/62a469fc-84b7-41c3-90b5-0670d8c8be9a 2026-02-26 10:42:02,924 - DEBUG - Requesting: http://10.0.0.41:8082/project/16da68a1-1891-4cea-9503-262e8f657333 2026-02-26 10:42:03,000 - INFO - Validated that VN ctest-vn-86579911 is not found in API Server 2026-02-26 10:42:03,010 - DEBUG - VN ctest-vn-86579911 is not present in Agent 10.0.0.41 2026-02-26 10:42:03,011 - INFO - Validated that VN ctest-vn-86579911 is not in any agent 2026-02-26 10:42:03,028 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86579911 info 2026-02-26 10:42:03,289 - DEBUG - No XMPP flaps were noticed during the test
2026-02-26 10:42:03,289 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2026-02-26 10:42:03,289 - INFO - -------------------------------------------------------------------------------- 2026-02-26 10:42:03,990 - INFO - Deleted project: ctest-TestBasicPolicy-41446436, ID : 16da68a1-1891-4cea-9503-262e8f657333