2025-08-11 20:53:09,184 - INFO - Domain Default found not creating 2025-08-11 20:53:09,332 - INFO - Project ctest-TestBasicPolicy-59225811 not found, creating it 2025-08-11 20:53:09,781 - INFO - Created Project:ctest-TestBasicPolicy-59225811, ID : a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4 2025-08-11 20:53:11,162 - INFO - ================================================================================ 2025-08-11 20:53:11,162 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 20:53:11,162 - 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 2025-08-11 20:53:11,420 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-11 20:53:11,420 - INFO - Initial checks done. Running the testcase now 2025-08-11 20:53:11,420 - INFO - 2025-08-11 20:53:11,947 - DEBUG - Response for create_network : {'network': {'id': '3fe3dfcc-5d4b-4557-9a10-fa425eaf489a', 'name': 'ctest-vn-09105209', 'tenant_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'project_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-vn-09105209'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:53:12,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '29e7cce2-4126-4e32-8cfb-5a65e2aa1ece', 'name': '', 'tenant_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'network_id': '3fe3dfcc-5d4b-4557-9a10-fa425eaf489a', 'ip_version': 4, 'cidr': '34.4.123.0/26', 'allocation_pools': [{'start': '34.4.123.2', 'end': '34.4.123.62'}], 'gateway_ip': '34.4.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.4.123.2', 'tags': [], 'project_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4'}} 2025-08-11 20:53:12,118 - INFO - Created VN ctest-vn-09105209 2025-08-11 20:53:12,169 - DEBUG - VN ctest-vn-09105209 UUID is 3fe3dfcc-5d4b-4557-9a10-fa425eaf489a 2025-08-11 20:53:12,481 - DEBUG - Response for create_network : {'network': {'id': '50675eae-417e-4d4d-837e-3fa1f8f536be', 'name': 'ctest-vn-49695967', 'tenant_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'project_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-vn-49695967'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:53:12,663 - DEBUG - Response for create_subnet : {'subnet': {'id': '1097798c-3a7f-4b3a-8839-4005b1a8146b', 'name': '', 'tenant_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'network_id': '50675eae-417e-4d4d-837e-3fa1f8f536be', 'ip_version': 4, 'cidr': '201.165.2.64/26', 'allocation_pools': [{'start': '201.165.2.66', 'end': '201.165.2.126'}], 'gateway_ip': '201.165.2.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.165.2.66', 'tags': [], 'project_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4'}} 2025-08-11 20:53:12,679 - INFO - Created VN ctest-vn-49695967 2025-08-11 20:53:12,729 - DEBUG - VN ctest-vn-49695967 UUID is 50675eae-417e-4d4d-837e-3fa1f8f536be 2025-08-11 20:53:12,873 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-09105209, 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-59225811:ctest-vn-49695967, 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] 2025-08-11 20:53:13,158 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fe3dfcc-5d4b-4557-9a10-fa425eaf489a', 'name': 'ctest-vn-09105209', 'tenant_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'project_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29e7cce2-4126-4e32-8cfb-5a65e2aa1ece'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-vn-09105209'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-policy-allow-all-15940403']], 'subnet_ipam': [{'subnet_cidr': '34.4.123.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:53:13,397 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '50675eae-417e-4d4d-837e-3fa1f8f536be', 'name': 'ctest-vn-49695967', 'tenant_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'project_id': 'a9ac12f4ad714e68ba846b0ad8ab25d4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1097798c-3a7f-4b3a-8839-4005b1a8146b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-vn-49695967'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-policy-allow-all-15940403']], 'subnet_ipam': [{'subnet_cidr': '201.165.2.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:53:13,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 20:53:13,869 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 20:53:13,900 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1296c912-2bce-4e84-8f34-bf42d334220c 2025-08-11 20:53:13,915 - DEBUG - Requesting: http://10.0.0.38:8082/project/a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4 2025-08-11 20:53:13,987 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fe3dfcc-5d4b-4557-9a10-fa425eaf489a 2025-08-11 20:53:14,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fe3dfcc-5d4b-4557-9a10-fa425eaf489a 2025-08-11 20:53:14,026 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/149ff870-b245-4236-9207-db06f0417eeb 2025-08-11 20:53:14,034 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/149ff870-b245-4236-9207-db06f0417eeb 2025-08-11 20:53:14,040 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/36a0c3db-dd26-403e-aeff-81702815f8d1 2025-08-11 20:53:14,047 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 20:53:14,047 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fe3dfcc-5d4b-4557-9a10-fa425eaf489a 2025-08-11 20:53:14,055 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/149ff870-b245-4236-9207-db06f0417eeb 2025-08-11 20:53:14,069 - INFO - Verified VN network id 11 for VN 3fe3dfcc-5d4b-4557-9a10-fa425eaf489a 2025-08-11 20:53:14,069 - INFO - Verifications in API Server for VN ctest-vn-09105209 passed 2025-08-11 20:53:14,069 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fe3dfcc-5d4b-4557-9a10-fa425eaf489a 2025-08-11 20:53:14,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/149ff870-b245-4236-9207-db06f0417eeb 2025-08-11 20:53:14,086 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/149ff870-b245-4236-9207-db06f0417eeb 2025-08-11 20:53:14,093 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/36a0c3db-dd26-403e-aeff-81702815f8d1 2025-08-11 20:53:14,104 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-09105209', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59225811', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4603769312934315351', 'uuid-lslong': '11101648244431603866'}, 'enable': 'true', 'created': '2025-08-11T20:53:11', 'last-modified': '2025-08-11T20:53:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.970471'} 2025-08-11 20:53:14,110 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 20:53:14,110 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09105209 passed 2025-08-11 20:53:14,111 - DEBUG - ====Verifying policy data for ctest-vn-09105209 in API_Server ====== 2025-08-11 20:53:14,111 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 20:53:14,116 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1296c912-2bce-4e84-8f34-bf42d334220c 2025-08-11 20:53:14,127 - DEBUG - Requesting: http://10.0.0.38:8082/project/a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4 2025-08-11 20:53:14,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3fe3dfcc-5d4b-4557-9a10-fa425eaf489a 2025-08-11 20:53:14,211 - DEBUG - ==>Verifying data for policy with id: a8286ee8-c130-4b67-a2df-eb9161beda81, fqn: ['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-policy-allow-all-15940403'] 2025-08-11 20:53:14,211 - INFO - VN ctest-vn-09105209 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 20:53:14,211 - DEBUG - Verifying the vn in opserver 2025-08-11 20:53:14,211 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-09105209 virtual network link through opserver 10.0.0.38 2025-08-11 20:53:14,212 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 20:53:14,501 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 20:53:14,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-09105209', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-09105209?flat'} 2025-08-11 20:53:14,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-09105209 is found in opserver 2025-08-11 20:53:14,562 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 20:53:14,568 - DEBUG - VRF ids for VN ctest-vn-09105209: {} 2025-08-11 20:53:14,568 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 20:53:14,573 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1296c912-2bce-4e84-8f34-bf42d334220c 2025-08-11 20:53:14,585 - DEBUG - Requesting: http://10.0.0.38:8082/project/a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4 2025-08-11 20:53:14,658 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/50675eae-417e-4d4d-837e-3fa1f8f536be 2025-08-11 20:53:14,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/50675eae-417e-4d4d-837e-3fa1f8f536be 2025-08-11 20:53:14,678 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/04860321-94a8-47fc-a9ae-864fa7e9d595 2025-08-11 20:53:14,685 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/04860321-94a8-47fc-a9ae-864fa7e9d595 2025-08-11 20:53:14,693 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8f8d9cae-6949-4709-b414-1d2964ef1431 2025-08-11 20:53:14,699 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 20:53:14,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/50675eae-417e-4d4d-837e-3fa1f8f536be 2025-08-11 20:53:14,709 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/04860321-94a8-47fc-a9ae-864fa7e9d595 2025-08-11 20:53:14,723 - INFO - Verified VN network id 12 for VN 50675eae-417e-4d4d-837e-3fa1f8f536be 2025-08-11 20:53:14,723 - INFO - Verifications in API Server for VN ctest-vn-49695967 passed 2025-08-11 20:53:14,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/50675eae-417e-4d4d-837e-3fa1f8f536be 2025-08-11 20:53:14,732 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/04860321-94a8-47fc-a9ae-864fa7e9d595 2025-08-11 20:53:14,740 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/04860321-94a8-47fc-a9ae-864fa7e9d595 2025-08-11 20:53:14,748 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/8f8d9cae-6949-4709-b414-1d2964ef1431 2025-08-11 20:53:14,762 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-49695967', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59225811', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5793703548151549261', 'uuid-lslong': '9475080630933206718'}, 'enable': 'true', 'created': '2025-08-11T20:53:12', 'last-modified': '2025-08-11T20:53:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.391510'} 2025-08-11 20:53:14,770 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 20:53:14,770 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49695967 passed 2025-08-11 20:53:14,770 - DEBUG - ====Verifying policy data for ctest-vn-49695967 in API_Server ====== 2025-08-11 20:53:14,770 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 20:53:14,776 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1296c912-2bce-4e84-8f34-bf42d334220c 2025-08-11 20:53:14,788 - DEBUG - Requesting: http://10.0.0.38:8082/project/a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4 2025-08-11 20:53:14,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/50675eae-417e-4d4d-837e-3fa1f8f536be 2025-08-11 20:53:14,868 - DEBUG - ==>Verifying data for policy with id: a8286ee8-c130-4b67-a2df-eb9161beda81, fqn: ['default-domain', 'ctest-TestBasicPolicy-59225811', 'ctest-policy-allow-all-15940403'] 2025-08-11 20:53:14,868 - INFO - VN ctest-vn-49695967 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 20:53:14,868 - DEBUG - Verifying the vn in opserver 2025-08-11 20:53:14,868 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-49695967 virtual network link through opserver 10.0.0.38 2025-08-11 20:53:14,869 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 20:53:14,879 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-49695967', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-49695967?flat'} 2025-08-11 20:53:14,880 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-49695967 is found in opserver 2025-08-11 20:53:14,890 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 20:53:14,895 - DEBUG - VRF ids for VN ctest-vn-49695967: {} 2025-08-11 20:53:14,945 - DEBUG - Services list from nova: [, , ] 2025-08-11 20:53:15,901 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3822-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3822-1) 2025-08-11 20:53:16,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3822-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3822-1) 2025-08-11 20:53:16,970 - INFO - Waiting for VM ctest-TestBasicPolicy-59225811-12320171 to be up.. 2025-08-11 20:53:17,037 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 20:53:22,104 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:53:22,104 - INFO - VM name : ctest-TestBasicPolicy-59225811-12320171 2025-08-11 20:53:22,168 - DEBUG - VM ctest-TestBasicPolicy-59225811-12320171 ID is 713ebeb0-544c-439f-ba8e-a9b5cc7f2189 2025-08-11 20:53:22,184 - DEBUG - VM ctest-TestBasicPolicy-59225811-12320171 launched on Node cn-jenkins-deploy-platform-ansible-os-3822-1 2025-08-11 20:53:22,246 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/713ebeb0-544c-439f-ba8e-a9b5cc7f2189 2025-08-11 20:53:22,254 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ddb0620b-0989-4846-972d-f47478f46921 2025-08-11 20:53:25,492 - 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') 2025-08-11 20:53:25,492 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59225811-12320171 failed! 2025-08-11 20:53:25,545 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59225811:ctest-vn-09105209 is 34.4.123.1 and allocation pool is NOT set 2025-08-11 20:53:27,603 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/2.913/5.418/2.504 ms') 2025-08-11 20:53:27,603 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59225811-12320171 passed 2025-08-11 20:53:27,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:53:27,753 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59225811-12320171, IP 34.4.123.3, Port 22 2025-08-11 20:53:27,904 - DEBUG - VM ctest-TestBasicPolicy-59225811-12320171 is ready for SSH connections 2025-08-11 20:53:27,904 - INFO - Waiting for VM ctest-TestBasicPolicy-59225811-16099443 to be up.. 2025-08-11 20:53:27,968 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:53:27,968 - INFO - VM name : ctest-TestBasicPolicy-59225811-16099443 2025-08-11 20:53:28,027 - DEBUG - VM ctest-TestBasicPolicy-59225811-16099443 ID is 869268b1-ea2d-4363-a927-0d077cd26384 2025-08-11 20:53:28,027 - DEBUG - VM ctest-TestBasicPolicy-59225811-16099443 launched on Node cn-jenkins-deploy-platform-ansible-os-3822-1 2025-08-11 20:53:28,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/869268b1-ea2d-4363-a927-0d077cd26384 2025-08-11 20:53:28,094 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6f834e28-814c-430d-9771-ed8999922fdb 2025-08-11 20:53:29,322 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.509/2.633/1.123 ms') 2025-08-11 20:53:29,323 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59225811-16099443 passed 2025-08-11 20:53:29,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:53:29,473 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59225811-16099443, IP 201.165.2.67, Port 22 2025-08-11 20:53:29,628 - DEBUG - VM ctest-TestBasicPolicy-59225811-16099443 is ready for SSH connections 2025-08-11 20:53:29,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:53:29,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.165.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 20:53:29,629 - DEBUG - ping -s 56 -c 3 -W 1 201.165.2.67 2025-08-11 20:53:33,275 - DEBUG - PING 201.165.2.67 (201.165.2.67): 56 data bytes 64 bytes from 201.165.2.67: seq=0 ttl=63 time=3.251 ms 64 bytes from 201.165.2.67: seq=1 ttl=63 time=0.760 ms 64 bytes from 201.165.2.67: seq=2 ttl=63 time=0.709 ms --- 201.165.2.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.709/1.573/3.251 ms 2025-08-11 20:53:33,276 - INFO - Ping to IP 201.165.2.67 from VM ctest-TestBasicPolicy-59225811-12320171 passed 2025-08-11 20:53:33,449 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a8286ee8-c130-4b67-a2df-eb9161beda81", "href": "http://10.0.0.38:8082/network-policy/a8286ee8-c130-4b67-a2df-eb9161beda81"}} 2025-08-11 20:53:33,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:53:33,449 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.165.2.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-11 20:53:33,449 - DEBUG - ping -s 56 -c 3 -W 1 201.165.2.67 2025-08-11 20:53:36,654 - DEBUG - PING 201.165.2.67 (201.165.2.67): 56 data bytes --- 201.165.2.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 20:53:36,654 - WARNING - Ping to IP 201.165.2.67 from VM ctest-TestBasicPolicy-59225811-12320171 failed 2025-08-11 20:53:36,654 - INFO - Deleting VM ctest-TestBasicPolicy-59225811-16099443 2025-08-11 20:53:36,799 - INFO - Deleting VM ctest-TestBasicPolicy-59225811-12320171 2025-08-11 20:53:37,398 - INFO - Deleted policy ctest-policy-allow-all-15940403 2025-08-11 20:53:37,398 - INFO - Deleting VN ctest-vn-49695967 2025-08-11 20:53:37,452 - DEBUG - VN 50675eae-417e-4d4d-837e-3fa1f8f536be still in use: Unable to complete operation on network 50675eae-417e-4d4d-837e-3fa1f8f536be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0c57f384-e47d-40de-bd58-7e3a0713a572'] 2025-08-11 20:53:37,452 - WARNING - Deleting VN ctest-vn-49695967 failed..Will retry 2025-08-11 20:53:39,556 - DEBUG - Response for deleting network () 2025-08-11 20:53:39,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/04860321-94a8-47fc-a9ae-864fa7e9d595 2025-08-11 20:53:39,562 - DEBUG - Response Code: 404 2025-08-11 20:53:39,562 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 20:53:39,567 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1296c912-2bce-4e84-8f34-bf42d334220c 2025-08-11 20:53:39,623 - DEBUG - Requesting: http://10.0.0.38:8082/project/a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4 2025-08-11 20:53:39,694 - INFO - Validated that VN ctest-vn-49695967 is not found in API Server 2025-08-11 20:53:39,704 - DEBUG - VN ctest-vn-49695967 is not present in Agent 10.0.0.38 2025-08-11 20:53:39,704 - INFO - Validated that VN ctest-vn-49695967 is not in any agent 2025-08-11 20:53:39,718 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49695967 info 2025-08-11 20:53:39,718 - INFO - Deleting VN ctest-vn-09105209 2025-08-11 20:53:39,813 - DEBUG - Response for deleting network () 2025-08-11 20:53:39,813 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/149ff870-b245-4236-9207-db06f0417eeb 2025-08-11 20:53:39,817 - DEBUG - Response Code: 404 2025-08-11 20:53:39,818 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-11 20:53:39,822 - DEBUG - Requesting: http://10.0.0.38:8082/domain/1296c912-2bce-4e84-8f34-bf42d334220c 2025-08-11 20:53:39,878 - DEBUG - Requesting: http://10.0.0.38:8082/project/a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4 2025-08-11 20:53:39,945 - INFO - Validated that VN ctest-vn-09105209 is not found in API Server 2025-08-11 20:53:39,955 - DEBUG - VN ctest-vn-09105209 is not present in Agent 10.0.0.38 2025-08-11 20:53:39,955 - INFO - Validated that VN ctest-vn-09105209 is not in any agent 2025-08-11 20:53:39,969 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09105209 info 2025-08-11 20:53:40,222 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 20:53:40,222 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 20:53:40,222 - INFO - -------------------------------------------------------------------------------- 2025-08-11 20:53:40,865 - INFO - Deleted project: ctest-TestBasicPolicy-59225811, ID : a9ac12f4-ad71-4e68-ba84-6b0ad8ab25d4