2026-11-08 21:09:13,508 - INFO - Domain Default found not creating 2026-11-08 21:09:13,703 - INFO - Project ctest-TestBasicPolicy-96830693 not found, creating it 2026-11-08 21:09:14,219 - INFO - Created Project:ctest-TestBasicPolicy-96830693, ID : 88357426-0687-4b0c-9cff-f68981f1ec00 2026-11-08 21:09:15,971 - INFO - ================================================================================ 2026-11-08 21:09:15,972 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-08 21:09:15,972 - 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-11-08 21:09:16,242 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with 2026-11-08 21:09:16,242 - INFO - Initial checks done. Running the testcase now 2026-11-08 21:09:16,242 - INFO - 2026-11-08 21:09:16,871 - DEBUG - Response for create_network : {'network': {'id': '9efdccf1-381e-4a64-b881-de4f485bdc7c', 'name': 'ctest-vn-20754581', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-20754581'], 'port_security_enabled': True, 'description': ''}} 2026-11-08 21:09:17,032 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e213957-c469-4965-8480-f810b1ff75fb', 'name': '', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'network_id': '9efdccf1-381e-4a64-b881-de4f485bdc7c', 'ip_version': 4, 'cidr': '24.34.186.64/26', 'allocation_pools': [{'start': '24.34.186.66', 'end': '24.34.186.126'}], 'gateway_ip': '24.34.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.34.186.66', 'tags': [], 'project_id': '8835742606874b0c9cfff68981f1ec00'}} 2026-11-08 21:09:17,051 - INFO - Created VN ctest-vn-20754581 2026-11-08 21:09:17,102 - DEBUG - VN ctest-vn-20754581 UUID is 9efdccf1-381e-4a64-b881-de4f485bdc7c 2026-11-08 21:09:17,393 - DEBUG - Response for create_network : {'network': {'id': '76e18629-58a7-40ed-9b36-11bf82e54152', 'name': 'ctest-vn-99331896', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-99331896'], 'port_security_enabled': True, 'description': ''}} 2026-11-08 21:09:17,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '0834a6de-e4d4-4709-bf62-80875938977b', 'name': '', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'network_id': '76e18629-58a7-40ed-9b36-11bf82e54152', 'ip_version': 4, 'cidr': '115.215.133.128/26', 'allocation_pools': [{'start': '115.215.133.130', 'end': '115.215.133.190'}], 'gateway_ip': '115.215.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.215.133.130', 'tags': [], 'project_id': '8835742606874b0c9cfff68981f1ec00'}} 2026-11-08 21:09:17,632 - INFO - Created VN ctest-vn-99331896 2026-11-08 21:09:17,686 - DEBUG - VN ctest-vn-99331896 UUID is 76e18629-58a7-40ed-9b36-11bf82e54152 2026-11-08 21:09:17,806 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581, 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-96830693:ctest-vn-99331896, 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-11-08 21:09:18,111 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9efdccf1-381e-4a64-b881-de4f485bdc7c', 'name': 'ctest-vn-20754581', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9e213957-c469-4965-8480-f810b1ff75fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-20754581'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200']], 'subnet_ipam': [{'subnet_cidr': '24.34.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-08 21:09:18,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76e18629-58a7-40ed-9b36-11bf82e54152', 'name': 'ctest-vn-99331896', 'tenant_id': '8835742606874b0c9cfff68981f1ec00', 'project_id': '8835742606874b0c9cfff68981f1ec00', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0834a6de-e4d4-4709-bf62-80875938977b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-vn-99331896'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200']], 'subnet_ipam': [{'subnet_cidr': '115.215.133.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-08 21:09:18,522 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-08 21:09:18,914 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-08 21:09:18,947 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3 2026-11-08 21:09:18,960 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00 2026-11-08 21:09:19,032 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c 2026-11-08 21:09:19,045 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c 2026-11-08 21:09:19,055 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57 2026-11-08 21:09:19,064 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57 2026-11-08 21:09:19,071 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e1268c19-37c7-4af5-9209-b2a161a51994 2026-11-08 21:09:19,078 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-08 21:09:19,078 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c 2026-11-08 21:09:19,088 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57 2026-11-08 21:09:19,103 - INFO - Verified VN network id 12 for VN 9efdccf1-381e-4a64-b881-de4f485bdc7c 2026-11-08 21:09:19,104 - INFO - Verifications in API Server for VN ctest-vn-20754581 passed 2026-11-08 21:09:19,104 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c 2026-11-08 21:09:19,115 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57 2026-11-08 21:09:19,122 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57 2026-11-08 21:09:19,131 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/e1268c19-37c7-4af5-9209-b2a161a51994 2026-11-08 21:09:19,145 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96830693', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11456538363501103716', 'uuid-lslong': '13295152007072177276'}, 'enable': 'true', 'created': '2026-11-08T21:09:16', 'last-modified': '2026-11-08T21:09:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.055262'} 2026-11-08 21:09:19,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-08 21:09:19,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20754581 passed 2026-11-08 21:09:19,153 - DEBUG - ====Verifying policy data for ctest-vn-20754581 in API_Server ====== 2026-11-08 21:09:19,154 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-08 21:09:19,159 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3 2026-11-08 21:09:19,172 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00 2026-11-08 21:09:19,247 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/9efdccf1-381e-4a64-b881-de4f485bdc7c 2026-11-08 21:09:19,258 - DEBUG - ==>Verifying data for policy with id: a8b4e1b4-0785-44d8-a88d-44853093e2a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200'] 2026-11-08 21:09:19,258 - INFO - VN ctest-vn-20754581 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-08 21:09:19,258 - DEBUG - Verifying the vn in opserver 2026-11-08 21:09:19,258 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581 virtual network link through opserver 10.0.0.185 2026-11-08 21:09:19,259 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-08 21:09:19,629 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-08 21:09:19,689 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581?flat'} 2026-11-08 21:09:19,689 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581 is found in opserver 2026-11-08 21:09:19,701 - DEBUG - Do not have enough data to verify VN in agent 2026-11-08 21:09:19,706 - DEBUG - VRF ids for VN ctest-vn-20754581: {} 2026-11-08 21:09:19,706 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-08 21:09:19,712 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3 2026-11-08 21:09:19,723 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00 2026-11-08 21:09:19,794 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152 2026-11-08 21:09:19,807 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152 2026-11-08 21:09:19,820 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302 2026-11-08 21:09:19,829 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302 2026-11-08 21:09:19,837 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/602464da-ef15-4e3d-bded-364953628dac 2026-11-08 21:09:19,843 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-08 21:09:19,843 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152 2026-11-08 21:09:19,853 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302 2026-11-08 21:09:19,869 - INFO - Verified VN network id 13 for VN 76e18629-58a7-40ed-9b36-11bf82e54152 2026-11-08 21:09:19,869 - INFO - Verifications in API Server for VN ctest-vn-99331896 passed 2026-11-08 21:09:19,869 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152 2026-11-08 21:09:19,879 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302 2026-11-08 21:09:19,886 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302 2026-11-08 21:09:19,894 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/602464da-ef15-4e3d-bded-364953628dac 2026-11-08 21:09:19,908 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96830693', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8566275478374531309', 'uuid-lslong': '11184146238853693778'}, 'enable': 'true', 'created': '2026-11-08T21:09:17', 'last-modified': '2026-11-08T21:09:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.582462'} 2026-11-08 21:09:19,917 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-08 21:09:19,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99331896 passed 2026-11-08 21:09:19,917 - DEBUG - ====Verifying policy data for ctest-vn-99331896 in API_Server ====== 2026-11-08 21:09:19,917 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-08 21:09:19,923 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3 2026-11-08 21:09:19,936 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00 2026-11-08 21:09:20,008 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/76e18629-58a7-40ed-9b36-11bf82e54152 2026-11-08 21:09:20,020 - DEBUG - ==>Verifying data for policy with id: a8b4e1b4-0785-44d8-a88d-44853093e2a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-96830693', 'ctest-policy-allow-all-29739200'] 2026-11-08 21:09:20,020 - INFO - VN ctest-vn-99331896 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-08 21:09:20,020 - DEBUG - Verifying the vn in opserver 2026-11-08 21:09:20,020 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896 virtual network link through opserver 10.0.0.185 2026-11-08 21:09:20,020 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-08 21:09:20,031 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896?flat'} 2026-11-08 21:09:20,031 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-99331896 is found in opserver 2026-11-08 21:09:20,043 - DEBUG - Do not have enough data to verify VN in agent 2026-11-08 21:09:20,049 - DEBUG - VRF ids for VN ctest-vn-99331896: {} 2026-11-08 21:09:20,115 - DEBUG - Services list from nova: [, , ] 2026-11-08 21:09:20,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6498-1) 2026-11-08 21:09:20,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6498-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6498-1) 2026-11-08 21:09:20,877 - INFO - Waiting for VM ctest-TestBasicPolicy-96830693-35394947 to be up.. 2026-11-08 21:09:20,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:09:26,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:09:31,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:09:36,187 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:09:41,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:09:46,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:09:51,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:09:56,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-08 21:10:01,618 - DEBUG - VM is in ACTIVE state now 2026-11-08 21:10:01,618 - INFO - VM name : ctest-TestBasicPolicy-96830693-35394947 2026-11-08 21:10:01,705 - DEBUG - VM ctest-TestBasicPolicy-96830693-35394947 ID is b3ccabbd-1489-4400-ad74-0776064d043f 2026-11-08 21:10:01,728 - DEBUG - VM ctest-TestBasicPolicy-96830693-35394947 launched on Node cn-jenkins-deploy-platform-ansible-os-6498-1 2026-11-08 21:10:01,814 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/b3ccabbd-1489-4400-ad74-0776064d043f 2026-11-08 21:10:01,824 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/4242b9d0-06a7-4736-8ea5-e07e058318bd 2026-11-08 21:10:05,085 - 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 1012ms') 2026-11-08 21:10:05,085 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96830693-35394947 failed! 2026-11-08 21:10:05,142 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96830693:ctest-vn-20754581 is 24.34.186.65 and allocation pool is NOT set 2026-11-08 21:10:07,216 - 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=16.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.43 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.432/10.034/16.637/6.602 ms') 2026-11-08 21:10:07,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96830693-35394947 passed 2026-11-08 21:10:07,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-08 21:10:07,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96830693-35394947, IP 24.34.186.67, Port 22 2026-11-08 21:10:07,544 - DEBUG - VM ctest-TestBasicPolicy-96830693-35394947 is ready for SSH connections 2026-11-08 21:10:07,544 - INFO - Waiting for VM ctest-TestBasicPolicy-96830693-41175953 to be up.. 2026-11-08 21:10:07,637 - DEBUG - VM is in ACTIVE state now 2026-11-08 21:10:07,637 - INFO - VM name : ctest-TestBasicPolicy-96830693-41175953 2026-11-08 21:10:07,725 - DEBUG - VM ctest-TestBasicPolicy-96830693-41175953 ID is c60f215e-5961-479e-b52b-fd8e0ac6fab0 2026-11-08 21:10:07,725 - DEBUG - VM ctest-TestBasicPolicy-96830693-41175953 launched on Node cn-jenkins-deploy-platform-ansible-os-6498-1 2026-11-08 21:10:07,819 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/c60f215e-5961-479e-b52b-fd8e0ac6fab0 2026-11-08 21:10:07,829 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/bafa8e38-05d0-42b8-b82a-0fe46fb2e56f 2026-11-08 21:10:09,082 - 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=11.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.26 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 = 2.260/6.992/11.724/4.732 ms') 2026-11-08 21:10:09,082 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96830693-41175953 passed 2026-11-08 21:10:09,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-08 21:10:09,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96830693-41175953, IP 115.215.133.131, Port 22 2026-11-08 21:10:09,305 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-08 21:10:09,398 - DEBUG - VM ctest-TestBasicPolicy-96830693-41175953 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-08 21:10:14,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-08 21:10:14,399 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96830693-41175953, IP 115.215.133.131, Port 22 2026-11-08 21:10:14,577 - DEBUG - VM ctest-TestBasicPolicy-96830693-41175953 is ready for SSH connections 2026-11-08 21:10:14,577 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-08 21:10:14,577 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.215.133.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-08 21:10:14,577 - DEBUG - ping -s 56 -c 3 -W 1 115.215.133.131 2026-11-08 21:10:18,740 - DEBUG - PING 115.215.133.131 (115.215.133.131): 56 data bytes 64 bytes from 115.215.133.131: seq=0 ttl=63 time=4.246 ms 64 bytes from 115.215.133.131: seq=1 ttl=63 time=1.275 ms 64 bytes from 115.215.133.131: seq=2 ttl=63 time=0.890 ms --- 115.215.133.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.890/2.137/4.246 ms 2026-11-08 21:10:18,740 - INFO - Ping to IP 115.215.133.131 from VM ctest-TestBasicPolicy-96830693-35394947 passed 2026-11-08 21:10:18,930 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a8b4e1b4-0785-44d8-a88d-44853093e2a6", "href": "http://10.0.0.185:8082/network-policy/a8b4e1b4-0785-44d8-a88d-44853093e2a6"}} 2026-11-08 21:10:18,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-08 21:10:18,930 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.215.133.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-08 21:10:18,930 - DEBUG - ping -s 56 -c 3 -W 1 115.215.133.131 2026-11-08 21:10:22,084 - DEBUG - PING 115.215.133.131 (115.215.133.131): 56 data bytes 64 bytes from 115.215.133.131: seq=0 ttl=63 time=2.002 ms --- 115.215.133.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.002/2.002/2.002 ms 2026-11-08 21:10:22,084 - WARNING - Ping to IP 115.215.133.131 from VM ctest-TestBasicPolicy-96830693-35394947 failed 2026-11-08 21:10:22,084 - INFO - Deleting VM ctest-TestBasicPolicy-96830693-41175953 2026-11-08 21:10:22,172 - INFO - Deleting VM ctest-TestBasicPolicy-96830693-35394947 2026-11-08 21:10:22,545 - INFO - Deleted policy ctest-policy-allow-all-29739200 2026-11-08 21:10:22,545 - INFO - Deleting VN ctest-vn-99331896 2026-11-08 21:10:22,587 - DEBUG - VN 76e18629-58a7-40ed-9b36-11bf82e54152 still in use: Unable to complete operation on network 76e18629-58a7-40ed-9b36-11bf82e54152. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f12ad135-444e-4d0d-a09e-f629278413ac'] 2026-11-08 21:10:22,587 - WARNING - Deleting VN ctest-vn-99331896 failed..Will retry 2026-11-08 21:10:24,625 - DEBUG - VN 76e18629-58a7-40ed-9b36-11bf82e54152 still in use: Unable to complete operation on network 76e18629-58a7-40ed-9b36-11bf82e54152. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dcd83e61-8f53-4cc0-b62b-044fd1ba8431'] 2026-11-08 21:10:24,626 - WARNING - Deleting VN ctest-vn-99331896 failed..Will retry 2026-11-08 21:10:26,740 - DEBUG - Response for deleting network () 2026-11-08 21:10:26,740 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/0eed6be7-2b62-429f-8271-cda716494302 2026-11-08 21:10:26,749 - DEBUG - Response Code: 404 2026-11-08 21:10:26,749 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-08 21:10:26,756 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3 2026-11-08 21:10:26,814 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00 2026-11-08 21:10:26,889 - INFO - Validated that VN ctest-vn-99331896 is not found in API Server 2026-11-08 21:10:26,900 - DEBUG - VN ctest-vn-99331896 is not present in Agent 10.0.0.185 2026-11-08 21:10:26,900 - INFO - Validated that VN ctest-vn-99331896 is not in any agent 2026-11-08 21:10:26,919 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-99331896 info 2026-11-08 21:10:26,919 - INFO - Deleting VN ctest-vn-20754581 2026-11-08 21:10:27,035 - DEBUG - Response for deleting network () 2026-11-08 21:10:27,035 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/9e430ecb-0ec0-4576-b765-0c7e598efa57 2026-11-08 21:10:27,040 - DEBUG - Response Code: 404 2026-11-08 21:10:27,040 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-08 21:10:27,045 - DEBUG - Requesting: http://10.0.0.185:8082/domain/0448e5a9-7a6a-4f45-912f-ee98dbea47f3 2026-11-08 21:10:27,099 - DEBUG - Requesting: http://10.0.0.185:8082/project/88357426-0687-4b0c-9cff-f68981f1ec00 2026-11-08 21:10:27,172 - INFO - Validated that VN ctest-vn-20754581 is not found in API Server 2026-11-08 21:10:27,185 - DEBUG - VN ctest-vn-20754581 is not present in Agent 10.0.0.185 2026-11-08 21:10:27,185 - INFO - Validated that VN ctest-vn-20754581 is not in any agent 2026-11-08 21:10:27,201 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20754581 info 2026-11-08 21:10:27,509 - DEBUG - No XMPP flaps were noticed during the test
2026-11-08 21:10:27,509 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12]
2026-11-08 21:10:27,509 - INFO - -------------------------------------------------------------------------------- 2026-11-08 21:10:28,425 - INFO - Deleted project: ctest-TestBasicPolicy-96830693, ID : 88357426-0687-4b0c-9cff-f68981f1ec00