2026-04-30 08:49:30,198 - INFO - Domain Default found not creating 2026-04-30 08:49:30,357 - INFO - Project ctest-TestBasicPolicy-17052297 not found, creating it 2026-04-30 08:49:30,813 - INFO - Created Project:ctest-TestBasicPolicy-17052297, ID : 14926f06-5283-4936-96f7-71692730e989 2026-04-30 08:49:32,264 - INFO - ================================================================================ 2026-04-30 08:49:32,264 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-30 08:49:32,265 - 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-04-30 08:49:32,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2026-04-30 08:49:32,519 - INFO - Initial checks done. Running the testcase now 2026-04-30 08:49:32,519 - INFO - 2026-04-30 08:49:33,057 - DEBUG - Response for create_network : {'network': {'id': '74e1a27e-64bb-48c2-a7a9-af67da08e2a1', 'name': 'ctest-vn-66884014', 'tenant_id': '14926f065283493696f771692730e989', 'project_id': '14926f065283493696f771692730e989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-vn-66884014'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 08:49:33,231 - DEBUG - Response for create_subnet : {'subnet': {'id': '22b143bd-8e95-4302-b4b4-8016b6618671', 'name': '', 'tenant_id': '14926f065283493696f771692730e989', 'network_id': '74e1a27e-64bb-48c2-a7a9-af67da08e2a1', 'ip_version': 4, 'cidr': '148.250.3.192/26', 'allocation_pools': [{'start': '148.250.3.194', 'end': '148.250.3.254'}], 'gateway_ip': '148.250.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.250.3.194', 'tags': [], 'project_id': '14926f065283493696f771692730e989'}} 2026-04-30 08:49:33,248 - INFO - Created VN ctest-vn-66884014 2026-04-30 08:49:33,302 - DEBUG - VN ctest-vn-66884014 UUID is 74e1a27e-64bb-48c2-a7a9-af67da08e2a1 2026-04-30 08:49:33,614 - DEBUG - Response for create_network : {'network': {'id': '2018d3c1-2dfa-420b-b69a-00fd54f5e6fe', 'name': 'ctest-vn-60876724', 'tenant_id': '14926f065283493696f771692730e989', 'project_id': '14926f065283493696f771692730e989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-vn-60876724'], 'port_security_enabled': True, 'description': ''}} 2026-04-30 08:49:33,761 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9c02133-ce3d-493b-a004-48dfe340cb53', 'name': '', 'tenant_id': '14926f065283493696f771692730e989', 'network_id': '2018d3c1-2dfa-420b-b69a-00fd54f5e6fe', 'ip_version': 4, 'cidr': '203.167.18.64/26', 'allocation_pools': [{'start': '203.167.18.66', 'end': '203.167.18.126'}], 'gateway_ip': '203.167.18.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.167.18.66', 'tags': [], 'project_id': '14926f065283493696f771692730e989'}} 2026-04-30 08:49:33,777 - INFO - Created VN ctest-vn-60876724 2026-04-30 08:49:33,827 - DEBUG - VN ctest-vn-60876724 UUID is 2018d3c1-2dfa-420b-b69a-00fd54f5e6fe 2026-04-30 08:49:33,978 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-66884014, 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-17052297:ctest-vn-60876724, 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-04-30 08:49:34,264 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74e1a27e-64bb-48c2-a7a9-af67da08e2a1', 'name': 'ctest-vn-66884014', 'tenant_id': '14926f065283493696f771692730e989', 'project_id': '14926f065283493696f771692730e989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22b143bd-8e95-4302-b4b4-8016b6618671'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-vn-66884014'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-policy-allow-all-45179151']], 'subnet_ipam': [{'subnet_cidr': '148.250.3.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 08:49:34,502 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2018d3c1-2dfa-420b-b69a-00fd54f5e6fe', 'name': 'ctest-vn-60876724', 'tenant_id': '14926f065283493696f771692730e989', 'project_id': '14926f065283493696f771692730e989', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9c02133-ce3d-493b-a004-48dfe340cb53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-vn-60876724'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-policy-allow-all-45179151']], 'subnet_ipam': [{'subnet_cidr': '203.167.18.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-30 08:49:34,663 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-30 08:49:34,954 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-30 08:49:34,983 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c3b964b-15ea-41d3-8ed5-71c6292fb419 2026-04-30 08:49:34,995 - DEBUG - Requesting: http://10.0.0.141:8082/project/14926f06-5283-4936-96f7-71692730e989 2026-04-30 08:49:35,064 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/74e1a27e-64bb-48c2-a7a9-af67da08e2a1 2026-04-30 08:49:35,075 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/74e1a27e-64bb-48c2-a7a9-af67da08e2a1 2026-04-30 08:49:35,085 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ffdae0b4-e484-4332-87da-1dbb2c399d48 2026-04-30 08:49:35,092 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ffdae0b4-e484-4332-87da-1dbb2c399d48 2026-04-30 08:49:35,099 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ceec1a70-782b-4038-8719-717821cee8bd 2026-04-30 08:49:35,106 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 08:49:35,106 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/74e1a27e-64bb-48c2-a7a9-af67da08e2a1 2026-04-30 08:49:35,116 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ffdae0b4-e484-4332-87da-1dbb2c399d48 2026-04-30 08:49:35,130 - INFO - Verified VN network id 11 for VN 74e1a27e-64bb-48c2-a7a9-af67da08e2a1 2026-04-30 08:49:35,130 - INFO - Verifications in API Server for VN ctest-vn-66884014 passed 2026-04-30 08:49:35,130 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/74e1a27e-64bb-48c2-a7a9-af67da08e2a1 2026-04-30 08:49:35,140 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ffdae0b4-e484-4332-87da-1dbb2c399d48 2026-04-30 08:49:35,147 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ffdae0b4-e484-4332-87da-1dbb2c399d48 2026-04-30 08:49:35,154 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ceec1a70-782b-4038-8719-717821cee8bd 2026-04-30 08:49:35,168 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-66884014', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17052297', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8422191441899112642', 'uuid-lslong': '12081380335972573857'}, 'enable': 'true', 'created': '2026-04-30T08:49:33', 'last-modified': '2026-04-30T08:49:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921906'} 2026-04-30 08:49:35,174 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-30 08:49:35,174 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66884014 passed 2026-04-30 08:49:35,174 - DEBUG - ====Verifying policy data for ctest-vn-66884014 in API_Server ====== 2026-04-30 08:49:35,174 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-30 08:49:35,180 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c3b964b-15ea-41d3-8ed5-71c6292fb419 2026-04-30 08:49:35,191 - DEBUG - Requesting: http://10.0.0.141:8082/project/14926f06-5283-4936-96f7-71692730e989 2026-04-30 08:49:35,255 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/74e1a27e-64bb-48c2-a7a9-af67da08e2a1 2026-04-30 08:49:35,263 - DEBUG - ==>Verifying data for policy with id: f2a3e113-a89d-4aef-861c-a3213c49ce0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-policy-allow-all-45179151'] 2026-04-30 08:49:35,263 - INFO - VN ctest-vn-66884014 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 08:49:35,263 - DEBUG - Verifying the vn in opserver 2026-04-30 08:49:35,263 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-66884014 virtual network link through opserver 10.0.0.141 2026-04-30 08:49:35,264 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-30 08:49:35,553 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-30 08:49:35,610 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-66884014', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-66884014?flat'} 2026-04-30 08:49:35,610 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-66884014 is found in opserver 2026-04-30 08:49:35,620 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 08:49:35,624 - DEBUG - VRF ids for VN ctest-vn-66884014: {} 2026-04-30 08:49:35,624 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-30 08:49:35,631 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c3b964b-15ea-41d3-8ed5-71c6292fb419 2026-04-30 08:49:35,640 - DEBUG - Requesting: http://10.0.0.141:8082/project/14926f06-5283-4936-96f7-71692730e989 2026-04-30 08:49:35,711 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2018d3c1-2dfa-420b-b69a-00fd54f5e6fe 2026-04-30 08:49:35,721 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2018d3c1-2dfa-420b-b69a-00fd54f5e6fe 2026-04-30 08:49:35,729 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5382748-9a11-4132-b3d2-9a3d85ea840f 2026-04-30 08:49:35,736 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5382748-9a11-4132-b3d2-9a3d85ea840f 2026-04-30 08:49:35,742 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ad2a6181-56a7-4272-965f-38f51cb913da 2026-04-30 08:49:35,747 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 08:49:35,747 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2018d3c1-2dfa-420b-b69a-00fd54f5e6fe 2026-04-30 08:49:35,755 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5382748-9a11-4132-b3d2-9a3d85ea840f 2026-04-30 08:49:35,769 - INFO - Verified VN network id 12 for VN 2018d3c1-2dfa-420b-b69a-00fd54f5e6fe 2026-04-30 08:49:35,769 - INFO - Verifications in API Server for VN ctest-vn-60876724 passed 2026-04-30 08:49:35,769 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2018d3c1-2dfa-420b-b69a-00fd54f5e6fe 2026-04-30 08:49:35,778 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5382748-9a11-4132-b3d2-9a3d85ea840f 2026-04-30 08:49:35,784 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5382748-9a11-4132-b3d2-9a3d85ea840f 2026-04-30 08:49:35,790 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/ad2a6181-56a7-4272-965f-38f51cb913da 2026-04-30 08:49:35,801 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-60876724', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-17052297', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2312831235308274187', 'uuid-lslong': '13157830349368452862'}, 'enable': 'true', 'created': '2026-04-30T08:49:33', 'last-modified': '2026-04-30T08:49:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325029'} 2026-04-30 08:49:35,809 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-30 08:49:35,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60876724 passed 2026-04-30 08:49:35,809 - DEBUG - ====Verifying policy data for ctest-vn-60876724 in API_Server ====== 2026-04-30 08:49:35,809 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-30 08:49:35,814 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c3b964b-15ea-41d3-8ed5-71c6292fb419 2026-04-30 08:49:35,824 - DEBUG - Requesting: http://10.0.0.141:8082/project/14926f06-5283-4936-96f7-71692730e989 2026-04-30 08:49:35,892 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2018d3c1-2dfa-420b-b69a-00fd54f5e6fe 2026-04-30 08:49:35,900 - DEBUG - ==>Verifying data for policy with id: f2a3e113-a89d-4aef-861c-a3213c49ce0e, fqn: ['default-domain', 'ctest-TestBasicPolicy-17052297', 'ctest-policy-allow-all-45179151'] 2026-04-30 08:49:35,900 - INFO - VN ctest-vn-60876724 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-30 08:49:35,900 - DEBUG - Verifying the vn in opserver 2026-04-30 08:49:35,900 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-60876724 virtual network link through opserver 10.0.0.141 2026-04-30 08:49:35,900 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2026-04-30 08:49:35,909 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-60876724', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-60876724?flat'} 2026-04-30 08:49:35,909 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-60876724 is found in opserver 2026-04-30 08:49:35,917 - DEBUG - Do not have enough data to verify VN in agent 2026-04-30 08:49:35,920 - DEBUG - VRF ids for VN ctest-vn-60876724: {} 2026-04-30 08:49:35,971 - DEBUG - Services list from nova: [, , ] 2026-04-30 08:49:36,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5729-1) 2026-04-30 08:49:38,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5729-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5729-1) 2026-04-30 08:49:38,369 - INFO - Waiting for VM ctest-TestBasicPolicy-17052297-31048206 to be up.. 2026-04-30 08:49:38,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-30 08:49:43,589 - DEBUG - VM is in ACTIVE state now 2026-04-30 08:49:43,590 - INFO - VM name : ctest-TestBasicPolicy-17052297-31048206 2026-04-30 08:49:43,667 - DEBUG - VM ctest-TestBasicPolicy-17052297-31048206 ID is 2793f254-91e4-4019-8fae-7c3dea12a79e 2026-04-30 08:49:43,687 - DEBUG - VM ctest-TestBasicPolicy-17052297-31048206 launched on Node cn-jenkins-deploy-platform-ansible-os-5729-1 2026-04-30 08:49:43,756 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/2793f254-91e4-4019-8fae-7c3dea12a79e 2026-04-30 08:49:43,764 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/69d2dde1-e321-40b5-89b8-b91428196d55 2026-04-30 08:49:47,004 - 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 1015ms') 2026-04-30 08:49:47,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17052297-31048206 failed! 2026-04-30 08:49:47,059 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-17052297:ctest-vn-66884014 is 148.250.3.193 and allocation pool is NOT set 2026-04-30 08:49:49,119 - 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=5.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.79 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.787/3.571/5.355/1.784 ms') 2026-04-30 08:49:49,119 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-17052297-31048206 passed 2026-04-30 08:49:49,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:49:49,271 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17052297-31048206, IP 148.250.3.195, Port 22 2026-04-30 08:49:49,336 - 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-04-30 08:49:49,421 - DEBUG - VM ctest-TestBasicPolicy-17052297-31048206 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-30 08:49:54,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:49:54,422 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17052297-31048206, IP 148.250.3.195, Port 22 2026-04-30 08:49:54,583 - DEBUG - VM ctest-TestBasicPolicy-17052297-31048206 is ready for SSH connections 2026-04-30 08:49:54,583 - INFO - Waiting for VM ctest-TestBasicPolicy-17052297-84585151 to be up.. 2026-04-30 08:49:54,653 - DEBUG - VM is in ACTIVE state now 2026-04-30 08:49:54,653 - INFO - VM name : ctest-TestBasicPolicy-17052297-84585151 2026-04-30 08:49:54,727 - DEBUG - VM ctest-TestBasicPolicy-17052297-84585151 ID is 181b7696-5101-4b3b-a9d1-98649a920ebd 2026-04-30 08:49:54,727 - DEBUG - VM ctest-TestBasicPolicy-17052297-84585151 launched on Node cn-jenkins-deploy-platform-ansible-os-5729-1 2026-04-30 08:49:54,795 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/181b7696-5101-4b3b-a9d1-98649a920ebd 2026-04-30 08:49:54,802 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d802613d-4289-4028-8a9f-4cf22f8bc809 2026-04-30 08:49:56,033 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.511/1.648/2.786/1.137 ms') 2026-04-30 08:49:56,033 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-17052297-84585151 passed 2026-04-30 08:49:56,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:49:56,183 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-17052297-84585151, IP 203.167.18.67, Port 22 2026-04-30 08:49:56,338 - DEBUG - VM ctest-TestBasicPolicy-17052297-84585151 is ready for SSH connections 2026-04-30 08:49:56,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:49:56,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.167.18.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-30 08:49:56,339 - DEBUG - ping -s 56 -c 3 -W 1 203.167.18.67 2026-04-30 08:50:00,023 - DEBUG - PING 203.167.18.67 (203.167.18.67): 56 data bytes 64 bytes from 203.167.18.67: seq=0 ttl=63 time=3.512 ms 64 bytes from 203.167.18.67: seq=1 ttl=63 time=0.893 ms 64 bytes from 203.167.18.67: seq=2 ttl=63 time=0.808 ms --- 203.167.18.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.737/3.512 ms 2026-04-30 08:50:00,023 - INFO - Ping to IP 203.167.18.67 from VM ctest-TestBasicPolicy-17052297-31048206 passed 2026-04-30 08:50:00,202 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f2a3e113-a89d-4aef-861c-a3213c49ce0e", "href": "http://10.0.0.141:8082/network-policy/f2a3e113-a89d-4aef-861c-a3213c49ce0e"}} 2026-04-30 08:50:00,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-30 08:50:00,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.167.18.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-04-30 08:50:00,203 - DEBUG - ping -s 56 -c 3 -W 1 203.167.18.67 2026-04-30 08:50:03,424 - DEBUG - PING 203.167.18.67 (203.167.18.67): 56 data bytes --- 203.167.18.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-30 08:50:03,424 - WARNING - Ping to IP 203.167.18.67 from VM ctest-TestBasicPolicy-17052297-31048206 failed 2026-04-30 08:50:03,424 - INFO - Deleting VM ctest-TestBasicPolicy-17052297-84585151 2026-04-30 08:50:03,496 - INFO - Deleting VM ctest-TestBasicPolicy-17052297-31048206 2026-04-30 08:50:03,865 - INFO - Deleted policy ctest-policy-allow-all-45179151 2026-04-30 08:50:03,865 - INFO - Deleting VN ctest-vn-60876724 2026-04-30 08:50:03,904 - DEBUG - VN 2018d3c1-2dfa-420b-b69a-00fd54f5e6fe still in use: Unable to complete operation on network 2018d3c1-2dfa-420b-b69a-00fd54f5e6fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab184244-9af8-4deb-96cd-ce5a42cf54ed'] 2026-04-30 08:50:03,904 - WARNING - Deleting VN ctest-vn-60876724 failed..Will retry 2026-04-30 08:50:06,022 - DEBUG - Response for deleting network () 2026-04-30 08:50:06,022 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/e5382748-9a11-4132-b3d2-9a3d85ea840f 2026-04-30 08:50:06,028 - DEBUG - Response Code: 404 2026-04-30 08:50:06,029 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-30 08:50:06,033 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c3b964b-15ea-41d3-8ed5-71c6292fb419 2026-04-30 08:50:06,094 - DEBUG - Requesting: http://10.0.0.141:8082/project/14926f06-5283-4936-96f7-71692730e989 2026-04-30 08:50:06,162 - INFO - Validated that VN ctest-vn-60876724 is not found in API Server 2026-04-30 08:50:06,177 - DEBUG - VN ctest-vn-60876724 is not present in Agent 10.0.0.141 2026-04-30 08:50:06,177 - INFO - Validated that VN ctest-vn-60876724 is not in any agent 2026-04-30 08:50:06,191 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60876724 info 2026-04-30 08:50:06,191 - INFO - Deleting VN ctest-vn-66884014 2026-04-30 08:50:06,294 - DEBUG - Response for deleting network () 2026-04-30 08:50:06,294 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ffdae0b4-e484-4332-87da-1dbb2c399d48 2026-04-30 08:50:06,299 - DEBUG - Response Code: 404 2026-04-30 08:50:06,299 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-04-30 08:50:06,303 - DEBUG - Requesting: http://10.0.0.141:8082/domain/3c3b964b-15ea-41d3-8ed5-71c6292fb419 2026-04-30 08:50:06,355 - DEBUG - Requesting: http://10.0.0.141:8082/project/14926f06-5283-4936-96f7-71692730e989 2026-04-30 08:50:06,426 - INFO - Validated that VN ctest-vn-66884014 is not found in API Server 2026-04-30 08:50:06,438 - DEBUG - VN ctest-vn-66884014 is not present in Agent 10.0.0.141 2026-04-30 08:50:06,438 - INFO - Validated that VN ctest-vn-66884014 is not in any agent 2026-04-30 08:50:06,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66884014 info 2026-04-30 08:50:06,708 - DEBUG - No XMPP flaps were noticed during the test 2026-04-30 08:50:06,708 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-04-30 08:50:06,708 - INFO - -------------------------------------------------------------------------------- 2026-04-30 08:50:07,384 - INFO - Deleted project: ctest-TestBasicPolicy-17052297, ID : 14926f06-5283-4936-96f7-71692730e989