2026-01-28 21:11:48,433 - INFO - Domain Default found not creating 2026-01-28 21:11:48,604 - INFO - Project ctest-TestBasicPolicy-14790016 not found, creating it 2026-01-28 21:11:49,064 - INFO - Created Project:ctest-TestBasicPolicy-14790016, ID : 54e4f6cc-f350-460e-bbb4-c12190c914ab 2026-01-28 21:11:50,489 - INFO - ================================================================================ 2026-01-28 21:11:50,489 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 21:11:50,489 - 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-01-28 21:11:50,743 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.25': '0'}} with 2026-01-28 21:11:50,743 - INFO - Initial checks done. Running the testcase now 2026-01-28 21:11:50,743 - INFO - 2026-01-28 21:11:51,259 - DEBUG - Response for create_network : {'network': {'id': '8dc5a16e-d196-48f0-91bb-e71caf279af7', 'name': 'ctest-vn-81464687', 'tenant_id': '54e4f6ccf350460ebbb4c12190c914ab', 'project_id': '54e4f6ccf350460ebbb4c12190c914ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-vn-81464687'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:11:51,418 - DEBUG - Response for create_subnet : {'subnet': {'id': '40a984bc-aa31-490a-9d94-5cb79971cf77', 'name': '', 'tenant_id': '54e4f6ccf350460ebbb4c12190c914ab', 'network_id': '8dc5a16e-d196-48f0-91bb-e71caf279af7', 'ip_version': 4, 'cidr': '111.93.191.64/26', 'allocation_pools': [{'start': '111.93.191.66', 'end': '111.93.191.126'}], 'gateway_ip': '111.93.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.93.191.66', 'tags': [], 'project_id': '54e4f6ccf350460ebbb4c12190c914ab'}} 2026-01-28 21:11:51,436 - INFO - Created VN ctest-vn-81464687 2026-01-28 21:11:51,485 - DEBUG - VN ctest-vn-81464687 UUID is 8dc5a16e-d196-48f0-91bb-e71caf279af7 2026-01-28 21:11:51,817 - DEBUG - Response for create_network : {'network': {'id': 'ac5a0955-3b6a-422d-bf18-c2b4db9142cc', 'name': 'ctest-vn-84923404', 'tenant_id': '54e4f6ccf350460ebbb4c12190c914ab', 'project_id': '54e4f6ccf350460ebbb4c12190c914ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-vn-84923404'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:11:51,972 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfa931d6-924c-4e23-a71a-fd11103a4f6c', 'name': '', 'tenant_id': '54e4f6ccf350460ebbb4c12190c914ab', 'network_id': 'ac5a0955-3b6a-422d-bf18-c2b4db9142cc', 'ip_version': 4, 'cidr': '108.149.184.192/26', 'allocation_pools': [{'start': '108.149.184.194', 'end': '108.149.184.254'}], 'gateway_ip': '108.149.184.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.149.184.194', 'tags': [], 'project_id': '54e4f6ccf350460ebbb4c12190c914ab'}} 2026-01-28 21:11:51,989 - INFO - Created VN ctest-vn-84923404 2026-01-28 21:11:52,041 - DEBUG - VN ctest-vn-84923404 UUID is ac5a0955-3b6a-422d-bf18-c2b4db9142cc 2026-01-28 21:11:52,193 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-81464687, 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-14790016:ctest-vn-84923404, 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-01-28 21:11:52,485 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8dc5a16e-d196-48f0-91bb-e71caf279af7', 'name': 'ctest-vn-81464687', 'tenant_id': '54e4f6ccf350460ebbb4c12190c914ab', 'project_id': '54e4f6ccf350460ebbb4c12190c914ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40a984bc-aa31-490a-9d94-5cb79971cf77'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-vn-81464687'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-policy-allow-all-95857534']], 'subnet_ipam': [{'subnet_cidr': '111.93.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:11:52,706 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac5a0955-3b6a-422d-bf18-c2b4db9142cc', 'name': 'ctest-vn-84923404', 'tenant_id': '54e4f6ccf350460ebbb4c12190c914ab', 'project_id': '54e4f6ccf350460ebbb4c12190c914ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfa931d6-924c-4e23-a71a-fd11103a4f6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-vn-84923404'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-policy-allow-all-95857534']], 'subnet_ipam': [{'subnet_cidr': '108.149.184.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:11:52,846 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-28 21:11:53,148 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-28 21:11:53,177 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a31b1a39-d592-4763-9c1e-78138a49fb25 2026-01-28 21:11:53,188 - DEBUG - Requesting: http://10.0.0.242:8082/project/54e4f6cc-f350-460e-bbb4-c12190c914ab 2026-01-28 21:11:53,258 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8dc5a16e-d196-48f0-91bb-e71caf279af7 2026-01-28 21:11:53,268 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8dc5a16e-d196-48f0-91bb-e71caf279af7 2026-01-28 21:11:53,277 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7443130c-8815-49f1-8fcf-db1119e3a121 2026-01-28 21:11:53,284 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7443130c-8815-49f1-8fcf-db1119e3a121 2026-01-28 21:11:53,290 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/962983ae-f824-437d-9dc4-d408325b12f2 2026-01-28 21:11:53,295 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:11:53,295 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8dc5a16e-d196-48f0-91bb-e71caf279af7 2026-01-28 21:11:53,302 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7443130c-8815-49f1-8fcf-db1119e3a121 2026-01-28 21:11:53,315 - INFO - Verified VN network id 11 for VN 8dc5a16e-d196-48f0-91bb-e71caf279af7 2026-01-28 21:11:53,315 - INFO - Verifications in API Server for VN ctest-vn-81464687 passed 2026-01-28 21:11:53,316 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8dc5a16e-d196-48f0-91bb-e71caf279af7 2026-01-28 21:11:53,324 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7443130c-8815-49f1-8fcf-db1119e3a121 2026-01-28 21:11:53,329 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7443130c-8815-49f1-8fcf-db1119e3a121 2026-01-28 21:11:53,335 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/962983ae-f824-437d-9dc4-d408325b12f2 2026-01-28 21:11:53,344 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-81464687', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14790016', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10215748827094599920', 'uuid-lslong': '10501241066528152311'}, 'enable': 'true', 'created': '2026-01-28T21:11:51', 'last-modified': '2026-01-28T21:11:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876854'} 2026-01-28 21:11:53,350 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:11:53,350 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81464687 passed 2026-01-28 21:11:53,350 - DEBUG - ====Verifying policy data for ctest-vn-81464687 in API_Server ====== 2026-01-28 21:11:53,350 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-28 21:11:53,357 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a31b1a39-d592-4763-9c1e-78138a49fb25 2026-01-28 21:11:53,367 - DEBUG - Requesting: http://10.0.0.242:8082/project/54e4f6cc-f350-460e-bbb4-c12190c914ab 2026-01-28 21:11:53,434 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8dc5a16e-d196-48f0-91bb-e71caf279af7 2026-01-28 21:11:53,442 - DEBUG - ==>Verifying data for policy with id: 18cda7f1-500a-48ec-9742-9ba920ec2248, fqn: ['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-policy-allow-all-95857534'] 2026-01-28 21:11:53,443 - INFO - VN ctest-vn-81464687 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:11:53,443 - DEBUG - Verifying the vn in opserver 2026-01-28 21:11:53,443 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-81464687 virtual network link through opserver 10.0.0.242 2026-01-28 21:11:53,443 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-28 21:11:53,737 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-28 21:11:53,794 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-81464687', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-81464687?flat'} 2026-01-28 21:11:53,794 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-81464687 is found in opserver 2026-01-28 21:11:53,804 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:11:53,809 - DEBUG - VRF ids for VN ctest-vn-81464687: {} 2026-01-28 21:11:53,809 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-28 21:11:53,814 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a31b1a39-d592-4763-9c1e-78138a49fb25 2026-01-28 21:11:53,824 - DEBUG - Requesting: http://10.0.0.242:8082/project/54e4f6cc-f350-460e-bbb4-c12190c914ab 2026-01-28 21:11:53,894 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac5a0955-3b6a-422d-bf18-c2b4db9142cc 2026-01-28 21:11:53,904 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac5a0955-3b6a-422d-bf18-c2b4db9142cc 2026-01-28 21:11:53,912 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/10c0b2e6-8678-48bc-9440-58e3ed26d493 2026-01-28 21:11:53,918 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/10c0b2e6-8678-48bc-9440-58e3ed26d493 2026-01-28 21:11:53,923 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5b8bdb42-14dc-48d4-8a03-11bdd259ba82 2026-01-28 21:11:53,929 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:11:53,929 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac5a0955-3b6a-422d-bf18-c2b4db9142cc 2026-01-28 21:11:53,936 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/10c0b2e6-8678-48bc-9440-58e3ed26d493 2026-01-28 21:11:53,948 - INFO - Verified VN network id 12 for VN ac5a0955-3b6a-422d-bf18-c2b4db9142cc 2026-01-28 21:11:53,948 - INFO - Verifications in API Server for VN ctest-vn-84923404 passed 2026-01-28 21:11:53,948 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac5a0955-3b6a-422d-bf18-c2b4db9142cc 2026-01-28 21:11:53,956 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/10c0b2e6-8678-48bc-9440-58e3ed26d493 2026-01-28 21:11:53,961 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/10c0b2e6-8678-48bc-9440-58e3ed26d493 2026-01-28 21:11:53,967 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5b8bdb42-14dc-48d4-8a03-11bdd259ba82 2026-01-28 21:11:53,978 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-84923404', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14790016', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12419249184101253677', 'uuid-lslong': '13769969942718923468'}, 'enable': 'true', 'created': '2026-01-28T21:11:51', 'last-modified': '2026-01-28T21:11:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295041'} 2026-01-28 21:11:53,984 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:11:53,984 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84923404 passed 2026-01-28 21:11:53,984 - DEBUG - ====Verifying policy data for ctest-vn-84923404 in API_Server ====== 2026-01-28 21:11:53,984 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-28 21:11:53,990 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a31b1a39-d592-4763-9c1e-78138a49fb25 2026-01-28 21:11:54,000 - DEBUG - Requesting: http://10.0.0.242:8082/project/54e4f6cc-f350-460e-bbb4-c12190c914ab 2026-01-28 21:11:54,068 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/ac5a0955-3b6a-422d-bf18-c2b4db9142cc 2026-01-28 21:11:54,076 - DEBUG - ==>Verifying data for policy with id: 18cda7f1-500a-48ec-9742-9ba920ec2248, fqn: ['default-domain', 'ctest-TestBasicPolicy-14790016', 'ctest-policy-allow-all-95857534'] 2026-01-28 21:11:54,076 - INFO - VN ctest-vn-84923404 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:11:54,076 - DEBUG - Verifying the vn in opserver 2026-01-28 21:11:54,077 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-84923404 virtual network link through opserver 10.0.0.242 2026-01-28 21:11:54,077 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-01-28 21:11:54,085 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-84923404', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-84923404?flat'} 2026-01-28 21:11:54,085 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-84923404 is found in opserver 2026-01-28 21:11:54,094 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:11:54,098 - DEBUG - VRF ids for VN ctest-vn-84923404: {} 2026-01-28 21:11:54,155 - DEBUG - Services list from nova: [, , ] 2026-01-28 21:11:55,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5105-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5105-1) 2026-01-28 21:11:56,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5105-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5105-1) 2026-01-28 21:11:56,384 - INFO - Waiting for VM ctest-TestBasicPolicy-14790016-24594006 to be up.. 2026-01-28 21:11:56,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 21:12:01,544 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:12:01,544 - INFO - VM name : ctest-TestBasicPolicy-14790016-24594006 2026-01-28 21:12:01,618 - DEBUG - VM ctest-TestBasicPolicy-14790016-24594006 ID is fd5560aa-3ad5-4883-9c0c-eb5539538f3f 2026-01-28 21:12:01,635 - DEBUG - VM ctest-TestBasicPolicy-14790016-24594006 launched on Node cn-jenkins-deploy-platform-ansible-os-5105-1 2026-01-28 21:12:01,707 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/fd5560aa-3ad5-4883-9c0c-eb5539538f3f 2026-01-28 21:12:01,718 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/abc26f4c-2fa1-4f2c-beec-0e173cfe4ea7 2026-01-28 21:12:04,968 - 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-01-28 21:12:04,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14790016-24594006 failed! 2026-01-28 21:12:05,021 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14790016:ctest-vn-81464687 is 111.93.191.65 and allocation pool is NOT set 2026-01-28 21:12:07,079 - 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=3.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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 = 0.380/1.965/3.551/1.585 ms') 2026-01-28 21:12:07,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14790016-24594006 passed 2026-01-28 21:12:07,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:12:07,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14790016-24594006, IP 111.93.191.67, Port 22 2026-01-28 21:12:07,289 - 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-01-28 21:12:07,367 - DEBUG - VM ctest-TestBasicPolicy-14790016-24594006 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 21:12:12,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:12:12,368 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14790016-24594006, IP 111.93.191.67, Port 22 2026-01-28 21:12:12,529 - DEBUG - VM ctest-TestBasicPolicy-14790016-24594006 is ready for SSH connections 2026-01-28 21:12:12,529 - INFO - Waiting for VM ctest-TestBasicPolicy-14790016-58481891 to be up.. 2026-01-28 21:12:12,600 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:12:12,600 - INFO - VM name : ctest-TestBasicPolicy-14790016-58481891 2026-01-28 21:12:12,672 - DEBUG - VM ctest-TestBasicPolicy-14790016-58481891 ID is 7d342623-ad33-47f8-8eb4-e7247300a472 2026-01-28 21:12:12,672 - DEBUG - VM ctest-TestBasicPolicy-14790016-58481891 launched on Node cn-jenkins-deploy-platform-ansible-os-5105-1 2026-01-28 21:12:12,746 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7d342623-ad33-47f8-8eb4-e7247300a472 2026-01-28 21:12:12,754 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2253678e-a6f2-4087-90fc-9bd92e019d52 2026-01-28 21:12:13,983 - 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=3.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.373 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.373/1.926/3.480/1.553 ms') 2026-01-28 21:12:13,983 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14790016-58481891 passed 2026-01-28 21:12:14,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:12:14,134 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14790016-58481891, IP 108.149.184.195, Port 22 2026-01-28 21:12:14,301 - DEBUG - VM ctest-TestBasicPolicy-14790016-58481891 is ready for SSH connections 2026-01-28 21:12:14,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:12:14,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.149.184.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-28 21:12:14,302 - DEBUG - ping -s 56 -c 3 -W 1 108.149.184.195 2026-01-28 21:12:18,300 - DEBUG - PING 108.149.184.195 (108.149.184.195): 56 data bytes 64 bytes from 108.149.184.195: seq=0 ttl=63 time=3.574 ms 64 bytes from 108.149.184.195: seq=1 ttl=63 time=0.970 ms 64 bytes from 108.149.184.195: seq=2 ttl=63 time=0.874 ms --- 108.149.184.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.806/3.574 ms 2026-01-28 21:12:18,300 - INFO - Ping to IP 108.149.184.195 from VM ctest-TestBasicPolicy-14790016-24594006 passed 2026-01-28 21:12:18,481 - DEBUG - Policy Update Response {"network-policy": {"uuid": "18cda7f1-500a-48ec-9742-9ba920ec2248", "href": "http://10.0.0.242:8082/network-policy/18cda7f1-500a-48ec-9742-9ba920ec2248"}} 2026-01-28 21:12:18,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:12:18,481 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.149.184.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-01-28 21:12:18,481 - DEBUG - ping -s 56 -c 3 -W 1 108.149.184.195 2026-01-28 21:12:21,679 - DEBUG - PING 108.149.184.195 (108.149.184.195): 56 data bytes --- 108.149.184.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 21:12:21,679 - WARNING - Ping to IP 108.149.184.195 from VM ctest-TestBasicPolicy-14790016-24594006 failed 2026-01-28 21:12:21,679 - INFO - Deleting VM ctest-TestBasicPolicy-14790016-58481891 2026-01-28 21:12:21,748 - INFO - Deleting VM ctest-TestBasicPolicy-14790016-24594006 2026-01-28 21:12:22,091 - INFO - Deleted policy ctest-policy-allow-all-95857534 2026-01-28 21:12:22,091 - INFO - Deleting VN ctest-vn-84923404 2026-01-28 21:12:22,121 - DEBUG - VN ac5a0955-3b6a-422d-bf18-c2b4db9142cc still in use: Unable to complete operation on network ac5a0955-3b6a-422d-bf18-c2b4db9142cc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab56de5d-3890-4740-8071-f0e0d2fe231b'] 2026-01-28 21:12:22,122 - WARNING - Deleting VN ctest-vn-84923404 failed..Will retry 2026-01-28 21:12:24,212 - DEBUG - Response for deleting network () 2026-01-28 21:12:24,212 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/10c0b2e6-8678-48bc-9440-58e3ed26d493 2026-01-28 21:12:24,220 - DEBUG - Response Code: 404 2026-01-28 21:12:24,220 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-28 21:12:24,225 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a31b1a39-d592-4763-9c1e-78138a49fb25 2026-01-28 21:12:24,278 - DEBUG - Requesting: http://10.0.0.242:8082/project/54e4f6cc-f350-460e-bbb4-c12190c914ab 2026-01-28 21:12:24,346 - INFO - Validated that VN ctest-vn-84923404 is not found in API Server 2026-01-28 21:12:24,355 - DEBUG - VN ctest-vn-84923404 is not present in Agent 10.0.0.242 2026-01-28 21:12:24,355 - INFO - Validated that VN ctest-vn-84923404 is not in any agent 2026-01-28 21:12:24,367 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84923404 info 2026-01-28 21:12:24,367 - INFO - Deleting VN ctest-vn-81464687 2026-01-28 21:12:24,458 - DEBUG - Response for deleting network () 2026-01-28 21:12:24,458 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7443130c-8815-49f1-8fcf-db1119e3a121 2026-01-28 21:12:24,467 - DEBUG - Response Code: 404 2026-01-28 21:12:24,467 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-01-28 21:12:24,472 - DEBUG - Requesting: http://10.0.0.242:8082/domain/a31b1a39-d592-4763-9c1e-78138a49fb25 2026-01-28 21:12:24,526 - DEBUG - Requesting: http://10.0.0.242:8082/project/54e4f6cc-f350-460e-bbb4-c12190c914ab 2026-01-28 21:12:24,596 - INFO - Validated that VN ctest-vn-81464687 is not found in API Server 2026-01-28 21:12:24,604 - DEBUG - VN ctest-vn-81464687 is not present in Agent 10.0.0.242 2026-01-28 21:12:24,604 - INFO - Validated that VN ctest-vn-81464687 is not in any agent 2026-01-28 21:12:24,617 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81464687 info 2026-01-28 21:12:24,891 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 21:12:24,891 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-01-28 21:12:24,892 - INFO - -------------------------------------------------------------------------------- 2026-01-28 21:12:25,570 - INFO - Deleted project: ctest-TestBasicPolicy-14790016, ID : 54e4f6cc-f350-460e-bbb4-c12190c914ab