2026-04-23 21:43:43,145 - INFO - Domain Default found not creating 2026-04-23 21:43:43,308 - INFO - Project ctest-TestBasicPolicy-66200471 not found, creating it 2026-04-23 21:43:43,811 - INFO - Created Project:ctest-TestBasicPolicy-66200471, ID : abc5399d-4525-445d-885f-02f283f2ca9b 2026-04-23 21:43:45,251 - INFO - ================================================================================ 2026-04-23 21:43:45,251 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-23 21:43:45,251 - 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-23 21:43:45,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-04-23 21:43:45,508 - INFO - Initial checks done. Running the testcase now 2026-04-23 21:43:45,508 - INFO - 2026-04-23 21:43:46,030 - DEBUG - Response for create_network : {'network': {'id': 'ee288cb8-8c8f-47d1-b085-ad01d22a3d5d', 'name': 'ctest-vn-09028706', 'tenant_id': 'abc5399d4525445d885f02f283f2ca9b', 'project_id': 'abc5399d4525445d885f02f283f2ca9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-vn-09028706'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 21:43:46,193 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f16b3bf-2737-4487-bc32-ed0f29c3cd87', 'name': '', 'tenant_id': 'abc5399d4525445d885f02f283f2ca9b', 'network_id': 'ee288cb8-8c8f-47d1-b085-ad01d22a3d5d', 'ip_version': 4, 'cidr': '133.7.175.64/26', 'allocation_pools': [{'start': '133.7.175.66', 'end': '133.7.175.126'}], 'gateway_ip': '133.7.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.7.175.66', 'tags': [], 'project_id': 'abc5399d4525445d885f02f283f2ca9b'}} 2026-04-23 21:43:46,209 - INFO - Created VN ctest-vn-09028706 2026-04-23 21:43:46,259 - DEBUG - VN ctest-vn-09028706 UUID is ee288cb8-8c8f-47d1-b085-ad01d22a3d5d 2026-04-23 21:43:46,590 - DEBUG - Response for create_network : {'network': {'id': '98858138-1329-43b5-8ad8-79fbadf9a43d', 'name': 'ctest-vn-35861653', 'tenant_id': 'abc5399d4525445d885f02f283f2ca9b', 'project_id': 'abc5399d4525445d885f02f283f2ca9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-vn-35861653'], 'port_security_enabled': True, 'description': ''}} 2026-04-23 21:43:46,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b37c0ff-fec4-4e4e-9302-214de7bd455e', 'name': '', 'tenant_id': 'abc5399d4525445d885f02f283f2ca9b', 'network_id': '98858138-1329-43b5-8ad8-79fbadf9a43d', 'ip_version': 4, 'cidr': '197.187.102.192/26', 'allocation_pools': [{'start': '197.187.102.194', 'end': '197.187.102.254'}], 'gateway_ip': '197.187.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.187.102.194', 'tags': [], 'project_id': 'abc5399d4525445d885f02f283f2ca9b'}} 2026-04-23 21:43:46,774 - INFO - Created VN ctest-vn-35861653 2026-04-23 21:43:46,827 - DEBUG - VN ctest-vn-35861653 UUID is 98858138-1329-43b5-8ad8-79fbadf9a43d 2026-04-23 21:43:46,971 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-09028706, 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-66200471:ctest-vn-35861653, 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-23 21:43:47,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ee288cb8-8c8f-47d1-b085-ad01d22a3d5d', 'name': 'ctest-vn-09028706', 'tenant_id': 'abc5399d4525445d885f02f283f2ca9b', 'project_id': 'abc5399d4525445d885f02f283f2ca9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f16b3bf-2737-4487-bc32-ed0f29c3cd87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-vn-09028706'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-policy-allow-all-28397104']], 'subnet_ipam': [{'subnet_cidr': '133.7.175.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-23 21:43:47,481 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98858138-1329-43b5-8ad8-79fbadf9a43d', 'name': 'ctest-vn-35861653', 'tenant_id': 'abc5399d4525445d885f02f283f2ca9b', 'project_id': 'abc5399d4525445d885f02f283f2ca9b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b37c0ff-fec4-4e4e-9302-214de7bd455e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-vn-35861653'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-policy-allow-all-28397104']], 'subnet_ipam': [{'subnet_cidr': '197.187.102.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-23 21:43:47,647 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-23 21:43:47,950 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-23 21:43:47,980 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6ee3bd72-fd30-42cf-9cd5-2f93adf9b2a6 2026-04-23 21:43:47,990 - DEBUG - Requesting: http://10.0.0.33:8082/project/abc5399d-4525-445d-885f-02f283f2ca9b 2026-04-23 21:43:48,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ee288cb8-8c8f-47d1-b085-ad01d22a3d5d 2026-04-23 21:43:48,073 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ee288cb8-8c8f-47d1-b085-ad01d22a3d5d 2026-04-23 21:43:48,081 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/48a3c70a-9e2e-4226-86d0-c62f8654a121 2026-04-23 21:43:48,088 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/48a3c70a-9e2e-4226-86d0-c62f8654a121 2026-04-23 21:43:48,094 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9437bdb4-bf31-4bc6-bf16-257918d42586 2026-04-23 21:43:48,100 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-23 21:43:48,100 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ee288cb8-8c8f-47d1-b085-ad01d22a3d5d 2026-04-23 21:43:48,108 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/48a3c70a-9e2e-4226-86d0-c62f8654a121 2026-04-23 21:43:48,121 - INFO - Verified VN network id 11 for VN ee288cb8-8c8f-47d1-b085-ad01d22a3d5d 2026-04-23 21:43:48,121 - INFO - Verifications in API Server for VN ctest-vn-09028706 passed 2026-04-23 21:43:48,121 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ee288cb8-8c8f-47d1-b085-ad01d22a3d5d 2026-04-23 21:43:48,129 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/48a3c70a-9e2e-4226-86d0-c62f8654a121 2026-04-23 21:43:48,135 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/48a3c70a-9e2e-4226-86d0-c62f8654a121 2026-04-23 21:43:48,141 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/9437bdb4-bf31-4bc6-bf16-257918d42586 2026-04-23 21:43:48,151 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-09028706', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66200471', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17161121104355346385', 'uuid-lslong': '12719762945910390109'}, 'enable': 'true', 'created': '2026-04-23T21:43:46', 'last-modified': '2026-04-23T21:43:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908477'} 2026-04-23 21:43:48,158 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-23 21:43:48,158 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09028706 passed 2026-04-23 21:43:48,158 - DEBUG - ====Verifying policy data for ctest-vn-09028706 in API_Server ====== 2026-04-23 21:43:48,158 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-23 21:43:48,163 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6ee3bd72-fd30-42cf-9cd5-2f93adf9b2a6 2026-04-23 21:43:48,173 - DEBUG - Requesting: http://10.0.0.33:8082/project/abc5399d-4525-445d-885f-02f283f2ca9b 2026-04-23 21:43:48,240 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ee288cb8-8c8f-47d1-b085-ad01d22a3d5d 2026-04-23 21:43:48,248 - DEBUG - ==>Verifying data for policy with id: e5781560-6afc-4dc7-8350-08fae10afeb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-policy-allow-all-28397104'] 2026-04-23 21:43:48,248 - INFO - VN ctest-vn-09028706 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-23 21:43:48,248 - DEBUG - Verifying the vn in opserver 2026-04-23 21:43:48,248 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-09028706 virtual network link through opserver 10.0.0.33 2026-04-23 21:43:48,248 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-23 21:43:48,539 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-23 21:43:48,598 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-09028706', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-09028706?flat'} 2026-04-23 21:43:48,598 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-09028706 is found in opserver 2026-04-23 21:43:48,607 - DEBUG - Do not have enough data to verify VN in agent 2026-04-23 21:43:48,611 - DEBUG - VRF ids for VN ctest-vn-09028706: {} 2026-04-23 21:43:48,612 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-23 21:43:48,616 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6ee3bd72-fd30-42cf-9cd5-2f93adf9b2a6 2026-04-23 21:43:48,626 - DEBUG - Requesting: http://10.0.0.33:8082/project/abc5399d-4525-445d-885f-02f283f2ca9b 2026-04-23 21:43:48,697 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98858138-1329-43b5-8ad8-79fbadf9a43d 2026-04-23 21:43:48,707 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98858138-1329-43b5-8ad8-79fbadf9a43d 2026-04-23 21:43:48,715 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a203b1ec-9475-4f81-868c-329869d3817c 2026-04-23 21:43:48,723 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a203b1ec-9475-4f81-868c-329869d3817c 2026-04-23 21:43:48,730 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6efcfc81-1d5c-4052-abaa-2a6d69de5928 2026-04-23 21:43:48,737 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-23 21:43:48,737 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98858138-1329-43b5-8ad8-79fbadf9a43d 2026-04-23 21:43:48,747 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a203b1ec-9475-4f81-868c-329869d3817c 2026-04-23 21:43:48,762 - INFO - Verified VN network id 12 for VN 98858138-1329-43b5-8ad8-79fbadf9a43d 2026-04-23 21:43:48,762 - INFO - Verifications in API Server for VN ctest-vn-35861653 passed 2026-04-23 21:43:48,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98858138-1329-43b5-8ad8-79fbadf9a43d 2026-04-23 21:43:48,771 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a203b1ec-9475-4f81-868c-329869d3817c 2026-04-23 21:43:48,777 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a203b1ec-9475-4f81-868c-329869d3817c 2026-04-23 21:43:48,783 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6efcfc81-1d5c-4052-abaa-2a6d69de5928 2026-04-23 21:43:48,797 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-35861653', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66200471', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10990332543507186613', 'uuid-lslong': '10004880694066127933'}, 'enable': 'true', 'created': '2026-04-23T21:43:46', 'last-modified': '2026-04-23T21:43:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.342176'} 2026-04-23 21:43:48,803 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-23 21:43:48,803 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35861653 passed 2026-04-23 21:43:48,803 - DEBUG - ====Verifying policy data for ctest-vn-35861653 in API_Server ====== 2026-04-23 21:43:48,803 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-23 21:43:48,808 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6ee3bd72-fd30-42cf-9cd5-2f93adf9b2a6 2026-04-23 21:43:48,819 - DEBUG - Requesting: http://10.0.0.33:8082/project/abc5399d-4525-445d-885f-02f283f2ca9b 2026-04-23 21:43:48,887 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/98858138-1329-43b5-8ad8-79fbadf9a43d 2026-04-23 21:43:48,897 - DEBUG - ==>Verifying data for policy with id: e5781560-6afc-4dc7-8350-08fae10afeb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-66200471', 'ctest-policy-allow-all-28397104'] 2026-04-23 21:43:48,897 - INFO - VN ctest-vn-35861653 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-23 21:43:48,897 - DEBUG - Verifying the vn in opserver 2026-04-23 21:43:48,898 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-35861653 virtual network link through opserver 10.0.0.33 2026-04-23 21:43:48,898 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-04-23 21:43:48,907 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-35861653', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-35861653?flat'} 2026-04-23 21:43:48,907 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-35861653 is found in opserver 2026-04-23 21:43:48,916 - DEBUG - Do not have enough data to verify VN in agent 2026-04-23 21:43:48,920 - DEBUG - VRF ids for VN ctest-vn-35861653: {} 2026-04-23 21:43:48,974 - DEBUG - Services list from nova: [, , ] 2026-04-23 21:43:49,971 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5679-1) 2026-04-23 21:43:51,107 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5679-1) 2026-04-23 21:43:51,107 - INFO - Waiting for VM ctest-TestBasicPolicy-66200471-59572957 to be up.. 2026-04-23 21:43:51,192 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-23 21:43:56,261 - DEBUG - VM is in ACTIVE state now 2026-04-23 21:43:56,261 - INFO - VM name : ctest-TestBasicPolicy-66200471-59572957 2026-04-23 21:43:56,329 - DEBUG - VM ctest-TestBasicPolicy-66200471-59572957 ID is a343755d-5050-4d0c-a018-f369167467fe 2026-04-23 21:43:56,348 - DEBUG - VM ctest-TestBasicPolicy-66200471-59572957 launched on Node cn-jenkins-deploy-platform-ansible-os-5679-1 2026-04-23 21:43:56,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a343755d-5050-4d0c-a018-f369167467fe 2026-04-23 21:43:56,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96ca449a-0ea7-458a-a7bb-e025ce8f6333 2026-04-23 21:43:59,697 - 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 1027ms') 2026-04-23 21:43:59,697 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66200471-59572957 failed! 2026-04-23 21:43:59,755 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66200471:ctest-vn-09028706 is 133.7.175.65 and allocation pool is NOT set 2026-04-23 21:44:01,822 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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.128/3.229/5.330/2.101 ms') 2026-04-23 21:44:01,822 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66200471-59572957 passed 2026-04-23 21:44:01,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 21:44:01,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66200471-59572957, IP 133.7.175.67, Port 22 2026-04-23 21:44:02,130 - DEBUG - VM ctest-TestBasicPolicy-66200471-59572957 is ready for SSH connections 2026-04-23 21:44:02,131 - INFO - Waiting for VM ctest-TestBasicPolicy-66200471-24164104 to be up.. 2026-04-23 21:44:02,215 - DEBUG - VM is in ACTIVE state now 2026-04-23 21:44:02,215 - INFO - VM name : ctest-TestBasicPolicy-66200471-24164104 2026-04-23 21:44:02,284 - DEBUG - VM ctest-TestBasicPolicy-66200471-24164104 ID is e873b304-b5ed-4766-9748-a4f48b0b2d2b 2026-04-23 21:44:02,284 - DEBUG - VM ctest-TestBasicPolicy-66200471-24164104 launched on Node cn-jenkins-deploy-platform-ansible-os-5679-1 2026-04-23 21:44:02,358 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e873b304-b5ed-4766-9748-a4f48b0b2d2b 2026-04-23 21:44:02,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/94cc7240-185a-4ecd-8b4d-303455aaf518 2026-04-23 21:44:03,603 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.596/2.713/1.117 ms') 2026-04-23 21:44:03,603 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66200471-24164104 passed 2026-04-23 21:44:03,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 21:44:03,751 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66200471-24164104, IP 197.187.102.195, Port 22 2026-04-23 21:44:03,911 - DEBUG - VM ctest-TestBasicPolicy-66200471-24164104 is ready for SSH connections 2026-04-23 21:44:03,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 21:44:03,911 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.187.102.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-23 21:44:03,911 - DEBUG - ping -s 56 -c 3 -W 1 197.187.102.195 2026-04-23 21:44:08,083 - DEBUG - PING 197.187.102.195 (197.187.102.195): 56 data bytes 64 bytes from 197.187.102.195: seq=0 ttl=63 time=3.628 ms 64 bytes from 197.187.102.195: seq=1 ttl=63 time=0.889 ms 64 bytes from 197.187.102.195: seq=2 ttl=63 time=0.794 ms --- 197.187.102.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.794/1.770/3.628 ms 2026-04-23 21:44:08,083 - INFO - Ping to IP 197.187.102.195 from VM ctest-TestBasicPolicy-66200471-59572957 passed 2026-04-23 21:44:08,263 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e5781560-6afc-4dc7-8350-08fae10afeb8", "href": "http://10.0.0.33:8082/network-policy/e5781560-6afc-4dc7-8350-08fae10afeb8"}} 2026-04-23 21:44:08,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-23 21:44:08,263 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.187.102.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-04-23 21:44:08,263 - DEBUG - ping -s 56 -c 3 -W 1 197.187.102.195 2026-04-23 21:44:11,475 - DEBUG - PING 197.187.102.195 (197.187.102.195): 56 data bytes --- 197.187.102.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-23 21:44:11,475 - WARNING - Ping to IP 197.187.102.195 from VM ctest-TestBasicPolicy-66200471-59572957 failed 2026-04-23 21:44:11,475 - INFO - Deleting VM ctest-TestBasicPolicy-66200471-24164104 2026-04-23 21:44:11,540 - INFO - Deleting VM ctest-TestBasicPolicy-66200471-59572957 2026-04-23 21:44:11,937 - INFO - Deleted policy ctest-policy-allow-all-28397104 2026-04-23 21:44:11,937 - INFO - Deleting VN ctest-vn-35861653 2026-04-23 21:44:11,989 - DEBUG - VN 98858138-1329-43b5-8ad8-79fbadf9a43d still in use: Unable to complete operation on network 98858138-1329-43b5-8ad8-79fbadf9a43d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-da695960-8f3d-4fe0-8e9f-4a434182d4eb'] 2026-04-23 21:44:11,989 - WARNING - Deleting VN ctest-vn-35861653 failed..Will retry 2026-04-23 21:44:14,087 - DEBUG - Response for deleting network () 2026-04-23 21:44:14,087 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a203b1ec-9475-4f81-868c-329869d3817c 2026-04-23 21:44:14,093 - DEBUG - Response Code: 404 2026-04-23 21:44:14,094 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-23 21:44:14,099 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6ee3bd72-fd30-42cf-9cd5-2f93adf9b2a6 2026-04-23 21:44:14,156 - DEBUG - Requesting: http://10.0.0.33:8082/project/abc5399d-4525-445d-885f-02f283f2ca9b 2026-04-23 21:44:14,225 - INFO - Validated that VN ctest-vn-35861653 is not found in API Server 2026-04-23 21:44:14,235 - DEBUG - VN ctest-vn-35861653 is not present in Agent 10.0.0.33 2026-04-23 21:44:14,235 - INFO - Validated that VN ctest-vn-35861653 is not in any agent 2026-04-23 21:44:14,248 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35861653 info 2026-04-23 21:44:14,248 - INFO - Deleting VN ctest-vn-09028706 2026-04-23 21:44:14,354 - DEBUG - Response for deleting network () 2026-04-23 21:44:14,354 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/48a3c70a-9e2e-4226-86d0-c62f8654a121 2026-04-23 21:44:14,361 - DEBUG - Response Code: 404 2026-04-23 21:44:14,361 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-04-23 21:44:14,365 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6ee3bd72-fd30-42cf-9cd5-2f93adf9b2a6 2026-04-23 21:44:14,417 - DEBUG - Requesting: http://10.0.0.33:8082/project/abc5399d-4525-445d-885f-02f283f2ca9b 2026-04-23 21:44:14,488 - INFO - Validated that VN ctest-vn-09028706 is not found in API Server 2026-04-23 21:44:14,497 - DEBUG - VN ctest-vn-09028706 is not present in Agent 10.0.0.33 2026-04-23 21:44:14,497 - INFO - Validated that VN ctest-vn-09028706 is not in any agent 2026-04-23 21:44:14,510 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09028706 info 2026-04-23 21:44:14,767 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 21:44:14,767 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-04-23 21:44:14,767 - INFO - -------------------------------------------------------------------------------- 2026-04-23 21:44:15,424 - INFO - Deleted project: ctest-TestBasicPolicy-66200471, ID : abc5399d-4525-445d-885f-02f283f2ca9b