2026-02-23 02:00:38,444 - INFO - Domain Default found not creating 2026-02-23 02:00:38,627 - INFO - Project ctest-TestBasicPolicy-44725500 not found, creating it 2026-02-23 02:00:39,101 - INFO - Created Project:ctest-TestBasicPolicy-44725500, ID : bb82ec74-04a3-49bc-9492-03089fe6e946 2026-02-23 02:00:40,657 - INFO - ================================================================================ 2026-02-23 02:00:40,657 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-23 02:00:40,658 - 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-23 02:00:40,917 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2026-02-23 02:00:40,917 - INFO - Initial checks done. Running the testcase now 2026-02-23 02:00:40,917 - INFO - 2026-02-23 02:00:41,483 - DEBUG - Response for create_network : {'network': {'id': '85093e76-148d-418c-af4b-c2fab79327e5', 'name': 'ctest-vn-03546520', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-03546520'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:00:41,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '48981109-c78a-4f1f-b1a4-c2043ad972cd', 'name': '', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'network_id': '85093e76-148d-418c-af4b-c2fab79327e5', 'ip_version': 4, 'cidr': '187.148.234.64/26', 'allocation_pools': [{'start': '187.148.234.66', 'end': '187.148.234.126'}], 'gateway_ip': '187.148.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.148.234.66', 'tags': [], 'project_id': 'bb82ec7404a349bc949203089fe6e946'}} 2026-02-23 02:00:41,706 - INFO - Created VN ctest-vn-03546520 2026-02-23 02:00:41,760 - DEBUG - VN ctest-vn-03546520 UUID is 85093e76-148d-418c-af4b-c2fab79327e5 2026-02-23 02:00:42,065 - DEBUG - Response for create_network : {'network': {'id': 'c7643bec-4d45-440b-89f2-fcd5649a08e8', 'name': 'ctest-vn-59966594', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-59966594'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:00:42,237 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbb73afa-a2b4-4310-b7ca-70064292093b', 'name': '', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'network_id': 'c7643bec-4d45-440b-89f2-fcd5649a08e8', 'ip_version': 4, 'cidr': '52.154.161.0/26', 'allocation_pools': [{'start': '52.154.161.2', 'end': '52.154.161.62'}], 'gateway_ip': '52.154.161.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.154.161.2', 'tags': [], 'project_id': 'bb82ec7404a349bc949203089fe6e946'}} 2026-02-23 02:00:42,257 - INFO - Created VN ctest-vn-59966594 2026-02-23 02:00:42,312 - DEBUG - VN ctest-vn-59966594 UUID is c7643bec-4d45-440b-89f2-fcd5649a08e8 2026-02-23 02:00:42,434 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520, 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-44725500:ctest-vn-59966594, 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-23 02:00:42,758 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85093e76-148d-418c-af4b-c2fab79327e5', 'name': 'ctest-vn-03546520', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48981109-c78a-4f1f-b1a4-c2043ad972cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-03546520'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912']], 'subnet_ipam': [{'subnet_cidr': '187.148.234.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:00:42,994 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7643bec-4d45-440b-89f2-fcd5649a08e8', 'name': 'ctest-vn-59966594', 'tenant_id': 'bb82ec7404a349bc949203089fe6e946', 'project_id': 'bb82ec7404a349bc949203089fe6e946', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dbb73afa-a2b4-4310-b7ca-70064292093b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-vn-59966594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912']], 'subnet_ipam': [{'subnet_cidr': '52.154.161.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:00:43,168 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-23 02:00:43,471 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-23 02:00:43,506 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a 2026-02-23 02:00:43,519 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946 2026-02-23 02:00:43,594 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5 2026-02-23 02:00:43,605 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5 2026-02-23 02:00:43,614 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a 2026-02-23 02:00:43,622 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a 2026-02-23 02:00:43,631 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/efd83795-360f-4a59-b081-ad4bb4691674 2026-02-23 02:00:43,638 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 02:00:43,638 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5 2026-02-23 02:00:43,646 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a 2026-02-23 02:00:43,661 - INFO - Verified VN network id 11 for VN 85093e76-148d-418c-af4b-c2fab79327e5 2026-02-23 02:00:43,661 - INFO - Verifications in API Server for VN ctest-vn-03546520 passed 2026-02-23 02:00:43,661 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5 2026-02-23 02:00:43,671 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a 2026-02-23 02:00:43,679 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a 2026-02-23 02:00:43,688 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/efd83795-360f-4a59-b081-ad4bb4691674 2026-02-23 02:00:43,700 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44725500', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9586261958706676108', 'uuid-lslong': '12631403961968175077'}, 'enable': 'true', 'created': '2026-02-23T02:00:41', 'last-modified': '2026-02-23T02:00:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968695'} 2026-02-23 02:00:43,705 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-23 02:00:43,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03546520 passed 2026-02-23 02:00:43,706 - DEBUG - ====Verifying policy data for ctest-vn-03546520 in API_Server ====== 2026-02-23 02:00:43,706 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-23 02:00:43,711 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a 2026-02-23 02:00:43,723 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946 2026-02-23 02:00:43,795 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/85093e76-148d-418c-af4b-c2fab79327e5 2026-02-23 02:00:43,805 - DEBUG - ==>Verifying data for policy with id: 42867348-3bdf-49fe-b49a-d5d41f8cfd85, fqn: ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912'] 2026-02-23 02:00:43,806 - INFO - VN ctest-vn-03546520 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 02:00:43,806 - DEBUG - Verifying the vn in opserver 2026-02-23 02:00:43,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520 virtual network link through opserver 10.0.0.41 2026-02-23 02:00:43,806 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-23 02:00:44,104 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-23 02:00:44,174 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520?flat'} 2026-02-23 02:00:44,174 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520 is found in opserver 2026-02-23 02:00:44,185 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 02:00:44,190 - DEBUG - VRF ids for VN ctest-vn-03546520: {} 2026-02-23 02:00:44,190 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-23 02:00:44,195 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a 2026-02-23 02:00:44,207 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946 2026-02-23 02:00:44,280 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8 2026-02-23 02:00:44,293 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8 2026-02-23 02:00:44,302 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175 2026-02-23 02:00:44,309 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175 2026-02-23 02:00:44,316 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/adb17212-53e5-4fdf-a6cd-8bda99c316f1 2026-02-23 02:00:44,324 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 02:00:44,324 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8 2026-02-23 02:00:44,334 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175 2026-02-23 02:00:44,350 - INFO - Verified VN network id 12 for VN c7643bec-4d45-440b-89f2-fcd5649a08e8 2026-02-23 02:00:44,350 - INFO - Verifications in API Server for VN ctest-vn-59966594 passed 2026-02-23 02:00:44,350 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8 2026-02-23 02:00:44,363 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175 2026-02-23 02:00:44,374 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175 2026-02-23 02:00:44,382 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/adb17212-53e5-4fdf-a6cd-8bda99c316f1 2026-02-23 02:00:44,392 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-44725500', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14367674597313430539', 'uuid-lslong': '9940285321006156008'}, 'enable': 'true', 'created': '2026-02-23T02:00:42', 'last-modified': '2026-02-23T02:00:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422143'} 2026-02-23 02:00:44,398 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-23 02:00:44,398 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59966594 passed 2026-02-23 02:00:44,398 - DEBUG - ====Verifying policy data for ctest-vn-59966594 in API_Server ====== 2026-02-23 02:00:44,398 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-23 02:00:44,404 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a 2026-02-23 02:00:44,415 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946 2026-02-23 02:00:44,487 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/c7643bec-4d45-440b-89f2-fcd5649a08e8 2026-02-23 02:00:44,496 - DEBUG - ==>Verifying data for policy with id: 42867348-3bdf-49fe-b49a-d5d41f8cfd85, fqn: ['default-domain', 'ctest-TestBasicPolicy-44725500', 'ctest-policy-allow-all-21856912'] 2026-02-23 02:00:44,496 - INFO - VN ctest-vn-59966594 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-23 02:00:44,497 - DEBUG - Verifying the vn in opserver 2026-02-23 02:00:44,497 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594 virtual network link through opserver 10.0.0.41 2026-02-23 02:00:44,497 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-23 02:00:44,508 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594?flat'} 2026-02-23 02:00:44,508 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-59966594 is found in opserver 2026-02-23 02:00:44,516 - DEBUG - Do not have enough data to verify VN in agent 2026-02-23 02:00:44,521 - DEBUG - VRF ids for VN ctest-vn-59966594: {} 2026-02-23 02:00:44,581 - DEBUG - Services list from nova: [, , ] 2026-02-23 02:00:45,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5384-1) 2026-02-23 02:00:46,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5384-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5384-1) 2026-02-23 02:00:46,867 - INFO - Waiting for VM ctest-TestBasicPolicy-44725500-12970326 to be up.. 2026-02-23 02:00:46,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 02:00:52,038 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:00:52,039 - INFO - VM name : ctest-TestBasicPolicy-44725500-12970326 2026-02-23 02:00:52,124 - DEBUG - VM ctest-TestBasicPolicy-44725500-12970326 ID is 9ef53082-dd61-43f7-ab4c-0d6be061c5e8 2026-02-23 02:00:52,147 - DEBUG - VM ctest-TestBasicPolicy-44725500-12970326 launched on Node cn-jenkins-deploy-platform-ansible-os-5384-1 2026-02-23 02:00:52,227 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9ef53082-dd61-43f7-ab4c-0d6be061c5e8 2026-02-23 02:00:52,239 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f476730d-bd62-463e-b700-b56ac8948f07 2026-02-23 02:00:55,510 - 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-23 02:00:55,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44725500-12970326 failed! 2026-02-23 02:00:55,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-44725500:ctest-vn-03546520 is 187.148.234.65 and allocation pool is NOT set 2026-02-23 02:00:57,626 - 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=6.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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 = 2.690/4.478/6.266/1.788 ms') 2026-02-23 02:00:57,626 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-44725500-12970326 passed 2026-02-23 02:00:57,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:00:57,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44725500-12970326, IP 187.148.234.67, Port 22 2026-02-23 02:00:57,846 - 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-23 02:00:57,946 - DEBUG - VM ctest-TestBasicPolicy-44725500-12970326 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 02:01:02,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:01:02,947 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44725500-12970326, IP 187.148.234.67, Port 22 2026-02-23 02:01:03,103 - DEBUG - VM ctest-TestBasicPolicy-44725500-12970326 is ready for SSH connections 2026-02-23 02:01:03,103 - INFO - Waiting for VM ctest-TestBasicPolicy-44725500-44433286 to be up.. 2026-02-23 02:01:03,192 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:01:03,192 - INFO - VM name : ctest-TestBasicPolicy-44725500-44433286 2026-02-23 02:01:03,274 - DEBUG - VM ctest-TestBasicPolicy-44725500-44433286 ID is 9f0ea2d1-9af3-445c-8f19-b9a6927327fb 2026-02-23 02:01:03,274 - DEBUG - VM ctest-TestBasicPolicy-44725500-44433286 launched on Node cn-jenkins-deploy-platform-ansible-os-5384-1 2026-02-23 02:01:03,368 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/9f0ea2d1-9af3-445c-8f19-b9a6927327fb 2026-02-23 02:01:03,380 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d75de302-1772-40fd-8b59-03b4d5166938 2026-02-23 02:01:04,625 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.530/1.702/2.875/1.172 ms') 2026-02-23 02:01:04,626 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-44725500-44433286 passed 2026-02-23 02:01:04,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:01:04,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-44725500-44433286, IP 52.154.161.3, Port 22 2026-02-23 02:01:04,935 - DEBUG - VM ctest-TestBasicPolicy-44725500-44433286 is ready for SSH connections 2026-02-23 02:01:04,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:01:04,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.154.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-23 02:01:04,935 - DEBUG - ping -s 56 -c 3 -W 1 52.154.161.3 2026-02-23 02:01:08,995 - DEBUG - PING 52.154.161.3 (52.154.161.3): 56 data bytes 64 bytes from 52.154.161.3: seq=0 ttl=63 time=4.969 ms 64 bytes from 52.154.161.3: seq=1 ttl=63 time=1.479 ms 64 bytes from 52.154.161.3: seq=2 ttl=63 time=1.126 ms --- 52.154.161.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.126/2.524/4.969 ms 2026-02-23 02:01:08,995 - INFO - Ping to IP 52.154.161.3 from VM ctest-TestBasicPolicy-44725500-12970326 passed 2026-02-23 02:01:09,176 - DEBUG - Policy Update Response {"network-policy": {"uuid": "42867348-3bdf-49fe-b49a-d5d41f8cfd85", "href": "http://10.0.0.41:8082/network-policy/42867348-3bdf-49fe-b49a-d5d41f8cfd85"}} 2026-02-23 02:01:09,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:01:09,176 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.154.161.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-23 02:01:09,176 - DEBUG - ping -s 56 -c 3 -W 1 52.154.161.3 2026-02-23 02:01:12,430 - DEBUG - PING 52.154.161.3 (52.154.161.3): 56 data bytes --- 52.154.161.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-23 02:01:12,430 - WARNING - Ping to IP 52.154.161.3 from VM ctest-TestBasicPolicy-44725500-12970326 failed 2026-02-23 02:01:12,430 - INFO - Deleting VM ctest-TestBasicPolicy-44725500-44433286 2026-02-23 02:01:12,509 - INFO - Deleting VM ctest-TestBasicPolicy-44725500-12970326 2026-02-23 02:01:12,930 - INFO - Deleted policy ctest-policy-allow-all-21856912 2026-02-23 02:01:12,930 - INFO - Deleting VN ctest-vn-59966594 2026-02-23 02:01:12,978 - DEBUG - VN c7643bec-4d45-440b-89f2-fcd5649a08e8 still in use: Unable to complete operation on network c7643bec-4d45-440b-89f2-fcd5649a08e8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be3386cb-d45a-4a0d-a271-4aa39351f74b'] 2026-02-23 02:01:12,978 - WARNING - Deleting VN ctest-vn-59966594 failed..Will retry 2026-02-23 02:01:15,088 - DEBUG - Response for deleting network () 2026-02-23 02:01:15,088 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/262b2400-9d50-412f-b117-517ba4c09175 2026-02-23 02:01:15,094 - DEBUG - Response Code: 404 2026-02-23 02:01:15,095 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-23 02:01:15,100 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a 2026-02-23 02:01:15,156 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946 2026-02-23 02:01:15,231 - INFO - Validated that VN ctest-vn-59966594 is not found in API Server 2026-02-23 02:01:15,240 - DEBUG - VN ctest-vn-59966594 is not present in Agent 10.0.0.41 2026-02-23 02:01:15,240 - INFO - Validated that VN ctest-vn-59966594 is not in any agent 2026-02-23 02:01:15,256 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59966594 info 2026-02-23 02:01:15,256 - INFO - Deleting VN ctest-vn-03546520 2026-02-23 02:01:15,364 - DEBUG - Response for deleting network () 2026-02-23 02:01:15,364 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/55276063-01e0-40a6-bba1-593f73310d1a 2026-02-23 02:01:15,369 - DEBUG - Response Code: 404 2026-02-23 02:01:15,369 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-23 02:01:15,376 - DEBUG - Requesting: http://10.0.0.41:8082/domain/39e639d9-c827-4853-b1af-cd594887292a 2026-02-23 02:01:15,429 - DEBUG - Requesting: http://10.0.0.41:8082/project/bb82ec74-04a3-49bc-9492-03089fe6e946 2026-02-23 02:01:15,504 - INFO - Validated that VN ctest-vn-03546520 is not found in API Server 2026-02-23 02:01:15,513 - DEBUG - VN ctest-vn-03546520 is not present in Agent 10.0.0.41 2026-02-23 02:01:15,513 - INFO - Validated that VN ctest-vn-03546520 is not in any agent 2026-02-23 02:01:15,526 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03546520 info 2026-02-23 02:01:15,794 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 02:01:15,794 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-23 02:01:15,794 - INFO - -------------------------------------------------------------------------------- 2026-02-23 02:01:16,499 - INFO - Deleted project: ctest-TestBasicPolicy-44725500, ID : bb82ec74-04a3-49bc-9492-03089fe6e946