2026-01-23 16:28:32,417 - INFO - Domain Default found not creating 2026-01-23 16:28:32,642 - INFO - Project ctest-TestBasicPolicy-40267948 not found, creating it 2026-01-23 16:28:33,185 - INFO - Created Project:ctest-TestBasicPolicy-40267948, ID : 2e3d58fb-8bc0-4dd9-af05-d5695d12013d 2026-01-23 16:28:35,592 - INFO - ================================================================================ 2026-01-23 16:28:35,592 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-23 16:28:35,592 - 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-23 16:28:35,919 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-23 16:28:35,920 - INFO - Initial checks done. Running the testcase now 2026-01-23 16:28:35,920 - INFO - 2026-01-23 16:28:36,603 - DEBUG - Response for create_network : {'network': {'id': '19e9c8d6-384d-4b1e-aa74-352d280fa5ca', 'name': 'ctest-vn-80797531', 'tenant_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'project_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-vn-80797531'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 16:28:36,868 - DEBUG - Response for create_subnet : {'subnet': {'id': '4097acfe-0f23-481f-9dc3-31afb979f213', 'name': '', 'tenant_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'network_id': '19e9c8d6-384d-4b1e-aa74-352d280fa5ca', 'ip_version': 4, 'cidr': '199.217.66.64/26', 'allocation_pools': [{'start': '199.217.66.66', 'end': '199.217.66.126'}], 'gateway_ip': '199.217.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.217.66.66', 'tags': [], 'project_id': '2e3d58fb8bc04dd9af05d5695d12013d'}} 2026-01-23 16:28:36,904 - INFO - Created VN ctest-vn-80797531 2026-01-23 16:28:36,976 - DEBUG - VN ctest-vn-80797531 UUID is 19e9c8d6-384d-4b1e-aa74-352d280fa5ca 2026-01-23 16:28:37,480 - DEBUG - Response for create_network : {'network': {'id': 'd85939d8-b9b5-49a2-8ba3-6e0e673cd5d1', 'name': 'ctest-vn-66180491', 'tenant_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'project_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-vn-66180491'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 16:28:37,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '81ec78d0-458a-43ae-9614-417912760f90', 'name': '', 'tenant_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'network_id': 'd85939d8-b9b5-49a2-8ba3-6e0e673cd5d1', 'ip_version': 4, 'cidr': '12.172.11.192/26', 'allocation_pools': [{'start': '12.172.11.194', 'end': '12.172.11.254'}], 'gateway_ip': '12.172.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.172.11.194', 'tags': [], 'project_id': '2e3d58fb8bc04dd9af05d5695d12013d'}} 2026-01-23 16:28:37,820 - INFO - Created VN ctest-vn-66180491 2026-01-23 16:28:37,884 - DEBUG - VN ctest-vn-66180491 UUID is d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 2026-01-23 16:28:38,034 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-80797531, 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-40267948:ctest-vn-66180491, 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-23 16:28:38,452 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19e9c8d6-384d-4b1e-aa74-352d280fa5ca', 'name': 'ctest-vn-80797531', 'tenant_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'project_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4097acfe-0f23-481f-9dc3-31afb979f213'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-vn-80797531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-policy-allow-all-52062573']], 'subnet_ipam': [{'subnet_cidr': '199.217.66.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 16:28:38,789 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd85939d8-b9b5-49a2-8ba3-6e0e673cd5d1', 'name': 'ctest-vn-66180491', 'tenant_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'project_id': '2e3d58fb8bc04dd9af05d5695d12013d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['81ec78d0-458a-43ae-9614-417912760f90'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-vn-66180491'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-policy-allow-all-52062573']], 'subnet_ipam': [{'subnet_cidr': '12.172.11.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-23 16:28:38,980 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 16:28:39,296 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 16:28:39,381 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de3300cd-e344-4558-8a52-706b9d313c5d 2026-01-23 16:28:39,414 - DEBUG - Requesting: http://10.0.0.22:8082/project/2e3d58fb-8bc0-4dd9-af05-d5695d12013d 2026-01-23 16:28:39,542 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/19e9c8d6-384d-4b1e-aa74-352d280fa5ca 2026-01-23 16:28:39,567 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/19e9c8d6-384d-4b1e-aa74-352d280fa5ca 2026-01-23 16:28:39,581 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/98cf5bb3-4c68-4625-b6f8-0d030c4fe28a 2026-01-23 16:28:39,592 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/98cf5bb3-4c68-4625-b6f8-0d030c4fe28a 2026-01-23 16:28:39,601 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4c8c95f7-689e-438c-bf6b-0c9db63860d4 2026-01-23 16:28:39,613 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-23 16:28:39,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/19e9c8d6-384d-4b1e-aa74-352d280fa5ca 2026-01-23 16:28:39,635 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/98cf5bb3-4c68-4625-b6f8-0d030c4fe28a 2026-01-23 16:28:39,663 - INFO - Verified VN network id 11 for VN 19e9c8d6-384d-4b1e-aa74-352d280fa5ca 2026-01-23 16:28:39,664 - INFO - Verifications in API Server for VN ctest-vn-80797531 passed 2026-01-23 16:28:39,664 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/19e9c8d6-384d-4b1e-aa74-352d280fa5ca 2026-01-23 16:28:39,683 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/98cf5bb3-4c68-4625-b6f8-0d030c4fe28a 2026-01-23 16:28:39,692 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/98cf5bb3-4c68-4625-b6f8-0d030c4fe28a 2026-01-23 16:28:39,702 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/4c8c95f7-689e-438c-bf6b-0c9db63860d4 2026-01-23 16:28:39,718 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-80797531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40267948', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1867244342914927390', 'uuid-lslong': '12282500551808099786'}, 'enable': 'true', 'created': '2026-01-23T16:28:36', 'last-modified': '2026-01-23T16:28:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.314734'} 2026-01-23 16:28:39,726 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-23 16:28:39,726 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80797531 passed 2026-01-23 16:28:39,726 - DEBUG - ====Verifying policy data for ctest-vn-80797531 in API_Server ====== 2026-01-23 16:28:39,726 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 16:28:39,733 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de3300cd-e344-4558-8a52-706b9d313c5d 2026-01-23 16:28:39,748 - DEBUG - Requesting: http://10.0.0.22:8082/project/2e3d58fb-8bc0-4dd9-af05-d5695d12013d 2026-01-23 16:28:39,840 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/19e9c8d6-384d-4b1e-aa74-352d280fa5ca 2026-01-23 16:28:39,865 - DEBUG - ==>Verifying data for policy with id: 272360fd-06f6-4ecd-8c32-58a2964be26c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-policy-allow-all-52062573'] 2026-01-23 16:28:39,865 - INFO - VN ctest-vn-80797531 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 16:28:39,865 - DEBUG - Verifying the vn in opserver 2026-01-23 16:28:39,865 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-80797531 virtual network link through opserver 10.0.0.22 2026-01-23 16:28:39,865 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-23 16:28:40,218 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-23 16:28:40,730 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-80797531', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-80797531?flat'} 2026-01-23 16:28:40,730 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-80797531 is found in opserver 2026-01-23 16:28:40,758 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 16:28:40,772 - DEBUG - VRF ids for VN ctest-vn-80797531: {} 2026-01-23 16:28:40,772 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 16:28:40,786 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de3300cd-e344-4558-8a52-706b9d313c5d 2026-01-23 16:28:40,813 - DEBUG - Requesting: http://10.0.0.22:8082/project/2e3d58fb-8bc0-4dd9-af05-d5695d12013d 2026-01-23 16:28:40,939 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 2026-01-23 16:28:40,971 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 2026-01-23 16:28:40,993 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e14e4f1e-4c29-41d9-bcc8-6e5977ae9821 2026-01-23 16:28:41,009 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e14e4f1e-4c29-41d9-bcc8-6e5977ae9821 2026-01-23 16:28:41,026 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ea09ac46-7181-45d7-8f2d-ab7a6b7967a5 2026-01-23 16:28:41,038 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 16:28:41,038 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 2026-01-23 16:28:41,053 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e14e4f1e-4c29-41d9-bcc8-6e5977ae9821 2026-01-23 16:28:41,075 - INFO - Verified VN network id 12 for VN d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 2026-01-23 16:28:41,075 - INFO - Verifications in API Server for VN ctest-vn-66180491 passed 2026-01-23 16:28:41,075 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 2026-01-23 16:28:41,090 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e14e4f1e-4c29-41d9-bcc8-6e5977ae9821 2026-01-23 16:28:41,107 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e14e4f1e-4c29-41d9-bcc8-6e5977ae9821 2026-01-23 16:28:41,125 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ea09ac46-7181-45d7-8f2d-ab7a6b7967a5 2026-01-23 16:28:41,153 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-66180491', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40267948', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15589555188111067554', 'uuid-lslong': '10062007000616457681'}, 'enable': 'true', 'created': '2026-01-23T16:28:37', 'last-modified': '2026-01-23T16:28:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.413275'} 2026-01-23 16:28:41,170 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-23 16:28:41,170 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66180491 passed 2026-01-23 16:28:41,171 - DEBUG - ====Verifying policy data for ctest-vn-66180491 in API_Server ====== 2026-01-23 16:28:41,171 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 16:28:41,185 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de3300cd-e344-4558-8a52-706b9d313c5d 2026-01-23 16:28:41,218 - DEBUG - Requesting: http://10.0.0.22:8082/project/2e3d58fb-8bc0-4dd9-af05-d5695d12013d 2026-01-23 16:28:41,341 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 2026-01-23 16:28:41,369 - DEBUG - ==>Verifying data for policy with id: 272360fd-06f6-4ecd-8c32-58a2964be26c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40267948', 'ctest-policy-allow-all-52062573'] 2026-01-23 16:28:41,369 - INFO - VN ctest-vn-66180491 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-23 16:28:41,369 - DEBUG - Verifying the vn in opserver 2026-01-23 16:28:41,369 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-66180491 virtual network link through opserver 10.0.0.22 2026-01-23 16:28:41,369 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-23 16:28:41,393 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-66180491', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-66180491?flat'} 2026-01-23 16:28:41,393 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-66180491 is found in opserver 2026-01-23 16:28:41,417 - DEBUG - Do not have enough data to verify VN in agent 2026-01-23 16:28:41,431 - DEBUG - VRF ids for VN ctest-vn-66180491: {} 2026-01-23 16:28:41,570 - DEBUG - Services list from nova: [, , ] 2026-01-23 16:28:43,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5072-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5072-1) 2026-01-23 16:28:44,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5072-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5072-1) 2026-01-23 16:28:44,508 - INFO - Waiting for VM ctest-TestBasicPolicy-40267948-01676647 to be up.. 2026-01-23 16:28:44,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-23 16:28:49,777 - DEBUG - VM is in ACTIVE state now 2026-01-23 16:28:49,777 - INFO - VM name : ctest-TestBasicPolicy-40267948-01676647 2026-01-23 16:28:49,896 - DEBUG - VM ctest-TestBasicPolicy-40267948-01676647 ID is aabe082a-7ab4-4298-bb67-83de6d8be9a8 2026-01-23 16:28:49,921 - DEBUG - VM ctest-TestBasicPolicy-40267948-01676647 launched on Node cn-jenkins-deploy-platform-ansible-os-5072-1 2026-01-23 16:28:50,047 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aabe082a-7ab4-4298-bb67-83de6d8be9a8 2026-01-23 16:28:50,065 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6227d05a-39f8-4c42-a801-90a08886b410 2026-01-23 16:28:53,373 - 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 1003ms') 2026-01-23 16:28:53,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40267948-01676647 failed! 2026-01-23 16:28:53,456 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40267948:ctest-vn-80797531 is 199.217.66.65 and allocation pool is NOT set 2026-01-23 16:28:55,543 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.82 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.822/4.874/6.926/2.052 ms') 2026-01-23 16:28:55,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40267948-01676647 passed 2026-01-23 16:28:55,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:28:55,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40267948-01676647, IP 199.217.66.67, Port 22 2026-01-23 16:28:55,805 - 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-23 16:28:55,954 - DEBUG - VM ctest-TestBasicPolicy-40267948-01676647 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-23 16:29:00,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:29:00,955 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40267948-01676647, IP 199.217.66.67, Port 22 2026-01-23 16:29:01,158 - DEBUG - VM ctest-TestBasicPolicy-40267948-01676647 is ready for SSH connections 2026-01-23 16:29:01,158 - INFO - Waiting for VM ctest-TestBasicPolicy-40267948-07073433 to be up.. 2026-01-23 16:29:01,360 - DEBUG - VM is in ACTIVE state now 2026-01-23 16:29:01,360 - INFO - VM name : ctest-TestBasicPolicy-40267948-07073433 2026-01-23 16:29:01,515 - DEBUG - VM ctest-TestBasicPolicy-40267948-07073433 ID is bb6e1e62-7072-4651-a0ac-172f3a26d07c 2026-01-23 16:29:01,515 - DEBUG - VM ctest-TestBasicPolicy-40267948-07073433 launched on Node cn-jenkins-deploy-platform-ansible-os-5072-1 2026-01-23 16:29:01,606 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bb6e1e62-7072-4651-a0ac-172f3a26d07c 2026-01-23 16:29:01,618 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bf1964d9-506e-44a7-9724-9033e2bd1ad4 2026-01-23 16:29:02,924 - 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=8.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/4.616/8.705/4.088 ms') 2026-01-23 16:29:02,925 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40267948-07073433 passed 2026-01-23 16:29:03,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:29:03,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40267948-07073433, IP 12.172.11.195, Port 22 2026-01-23 16:29:03,326 - DEBUG - VM ctest-TestBasicPolicy-40267948-07073433 is ready for SSH connections 2026-01-23 16:29:03,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:29:03,327 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.172.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 16:29:03,328 - DEBUG - ping -s 56 -c 3 -W 1 12.172.11.195 2026-01-23 16:29:07,923 - DEBUG - PING 12.172.11.195 (12.172.11.195): 56 data bytes 64 bytes from 12.172.11.195: seq=0 ttl=63 time=5.669 ms 64 bytes from 12.172.11.195: seq=1 ttl=63 time=1.533 ms 64 bytes from 12.172.11.195: seq=2 ttl=63 time=1.881 ms --- 12.172.11.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.533/3.027/5.669 ms 2026-01-23 16:29:07,923 - INFO - Ping to IP 12.172.11.195 from VM ctest-TestBasicPolicy-40267948-01676647 passed 2026-01-23 16:29:08,151 - DEBUG - Policy Update Response {"network-policy": {"uuid": "272360fd-06f6-4ecd-8c32-58a2964be26c", "href": "http://10.0.0.22:8082/network-policy/272360fd-06f6-4ecd-8c32-58a2964be26c"}} 2026-01-23 16:29:08,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 16:29:08,152 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.172.11.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-23 16:29:08,152 - DEBUG - ping -s 56 -c 3 -W 1 12.172.11.195 2026-01-23 16:29:11,445 - DEBUG - PING 12.172.11.195 (12.172.11.195): 56 data bytes 64 bytes from 12.172.11.195: seq=0 ttl=63 time=2.498 ms --- 12.172.11.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.498/2.498/2.498 ms 2026-01-23 16:29:11,446 - WARNING - Ping to IP 12.172.11.195 from VM ctest-TestBasicPolicy-40267948-01676647 failed 2026-01-23 16:29:11,446 - INFO - Deleting VM ctest-TestBasicPolicy-40267948-07073433 2026-01-23 16:29:11,570 - INFO - Deleting VM ctest-TestBasicPolicy-40267948-01676647 2026-01-23 16:29:12,094 - INFO - Deleted policy ctest-policy-allow-all-52062573 2026-01-23 16:29:12,095 - INFO - Deleting VN ctest-vn-66180491 2026-01-23 16:29:12,132 - DEBUG - VN d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1 still in use: Unable to complete operation on network d85939d8-b9b5-49a2-8ba3-6e0e673cd5d1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-96498b78-9abe-4822-8196-c26231b31c6c'] 2026-01-23 16:29:12,133 - WARNING - Deleting VN ctest-vn-66180491 failed..Will retry 2026-01-23 16:29:14,333 - DEBUG - Response for deleting network () 2026-01-23 16:29:14,333 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e14e4f1e-4c29-41d9-bcc8-6e5977ae9821 2026-01-23 16:29:14,346 - DEBUG - Response Code: 404 2026-01-23 16:29:14,346 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 16:29:14,354 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de3300cd-e344-4558-8a52-706b9d313c5d 2026-01-23 16:29:14,415 - DEBUG - Requesting: http://10.0.0.22:8082/project/2e3d58fb-8bc0-4dd9-af05-d5695d12013d 2026-01-23 16:29:14,528 - INFO - Validated that VN ctest-vn-66180491 is not found in API Server 2026-01-23 16:29:14,548 - DEBUG - VN ctest-vn-66180491 is not present in Agent 10.0.0.22 2026-01-23 16:29:14,548 - INFO - Validated that VN ctest-vn-66180491 is not in any agent 2026-01-23 16:29:14,578 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66180491 info 2026-01-23 16:29:14,578 - INFO - Deleting VN ctest-vn-80797531 2026-01-23 16:29:14,753 - DEBUG - Response for deleting network () 2026-01-23 16:29:14,754 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/98cf5bb3-4c68-4625-b6f8-0d030c4fe28a 2026-01-23 16:29:14,760 - DEBUG - Response Code: 404 2026-01-23 16:29:14,760 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-23 16:29:14,768 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de3300cd-e344-4558-8a52-706b9d313c5d 2026-01-23 16:29:14,830 - DEBUG - Requesting: http://10.0.0.22:8082/project/2e3d58fb-8bc0-4dd9-af05-d5695d12013d 2026-01-23 16:29:14,937 - INFO - Validated that VN ctest-vn-80797531 is not found in API Server 2026-01-23 16:29:14,950 - DEBUG - VN ctest-vn-80797531 is not present in Agent 10.0.0.22 2026-01-23 16:29:14,950 - INFO - Validated that VN ctest-vn-80797531 is not in any agent 2026-01-23 16:29:14,971 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80797531 info 2026-01-23 16:29:15,284 - DEBUG - No XMPP flaps were noticed during the test
2026-01-23 16:29:15,284 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-01-23 16:29:15,284 - INFO - -------------------------------------------------------------------------------- 2026-01-23 16:29:16,136 - INFO - Deleted project: ctest-TestBasicPolicy-40267948, ID : 2e3d58fb-8bc0-4dd9-af05-d5695d12013d