2025-11-04 07:23:59,805 - INFO - Domain Default found not creating 2025-11-04 07:23:59,921 - INFO - Project ctest-TestBasicPolicy-19415881 not found, creating it 2025-11-04 07:24:00,378 - INFO - Created Project:ctest-TestBasicPolicy-19415881, ID : 2c0b4b83-4196-4147-a8b9-081446e8125c 2025-11-04 07:24:01,813 - INFO - ================================================================================ 2025-11-04 07:24:01,814 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-04 07:24:01,814 - 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-11-04 07:24:02,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-04 07:24:02,076 - INFO - Initial checks done. Running the testcase now 2025-11-04 07:24:02,076 - INFO - 2025-11-04 07:24:02,619 - DEBUG - Response for create_network : {'network': {'id': '83e28f68-1464-4480-b451-b96f4c8a3682', 'name': 'ctest-vn-28972871', 'tenant_id': '2c0b4b8341964147a8b9081446e8125c', 'project_id': '2c0b4b8341964147a8b9081446e8125c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-vn-28972871'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 07:24:02,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '9acb2535-9fc1-4968-b707-39bf3f6c3ec1', 'name': '', 'tenant_id': '2c0b4b8341964147a8b9081446e8125c', 'network_id': '83e28f68-1464-4480-b451-b96f4c8a3682', 'ip_version': 4, 'cidr': '33.159.17.64/26', 'allocation_pools': [{'start': '33.159.17.66', 'end': '33.159.17.126'}], 'gateway_ip': '33.159.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.159.17.66', 'tags': [], 'project_id': '2c0b4b8341964147a8b9081446e8125c'}} 2025-11-04 07:24:02,818 - INFO - Created VN ctest-vn-28972871 2025-11-04 07:24:02,871 - DEBUG - VN ctest-vn-28972871 UUID is 83e28f68-1464-4480-b451-b96f4c8a3682 2025-11-04 07:24:03,164 - DEBUG - Response for create_network : {'network': {'id': '44944d24-b990-4782-aad5-07c57e645943', 'name': 'ctest-vn-96342883', 'tenant_id': '2c0b4b8341964147a8b9081446e8125c', 'project_id': '2c0b4b8341964147a8b9081446e8125c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-vn-96342883'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 07:24:03,320 - DEBUG - Response for create_subnet : {'subnet': {'id': 'beba77c3-b39e-4cbc-80bb-d5659d3caa31', 'name': '', 'tenant_id': '2c0b4b8341964147a8b9081446e8125c', 'network_id': '44944d24-b990-4782-aad5-07c57e645943', 'ip_version': 4, 'cidr': '147.129.20.128/26', 'allocation_pools': [{'start': '147.129.20.130', 'end': '147.129.20.190'}], 'gateway_ip': '147.129.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.129.20.130', 'tags': [], 'project_id': '2c0b4b8341964147a8b9081446e8125c'}} 2025-11-04 07:24:03,333 - INFO - Created VN ctest-vn-96342883 2025-11-04 07:24:03,383 - DEBUG - VN ctest-vn-96342883 UUID is 44944d24-b990-4782-aad5-07c57e645943 2025-11-04 07:24:03,519 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-28972871, 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-19415881:ctest-vn-96342883, 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-11-04 07:24:03,805 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83e28f68-1464-4480-b451-b96f4c8a3682', 'name': 'ctest-vn-28972871', 'tenant_id': '2c0b4b8341964147a8b9081446e8125c', 'project_id': '2c0b4b8341964147a8b9081446e8125c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9acb2535-9fc1-4968-b707-39bf3f6c3ec1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-vn-28972871'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-policy-allow-all-05380320']], 'subnet_ipam': [{'subnet_cidr': '33.159.17.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 07:24:04,025 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44944d24-b990-4782-aad5-07c57e645943', 'name': 'ctest-vn-96342883', 'tenant_id': '2c0b4b8341964147a8b9081446e8125c', 'project_id': '2c0b4b8341964147a8b9081446e8125c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['beba77c3-b39e-4cbc-80bb-d5659d3caa31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-vn-96342883'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-policy-allow-all-05380320']], 'subnet_ipam': [{'subnet_cidr': '147.129.20.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-04 07:24:04,183 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 07:24:04,502 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 07:24:04,521 - DEBUG - Requesting: http://10.0.0.50:8082/domain/252812c3-bbf3-48b8-8f11-d640e38f27f8 2025-11-04 07:24:04,531 - DEBUG - Requesting: http://10.0.0.50:8082/project/2c0b4b83-4196-4147-a8b9-081446e8125c 2025-11-04 07:24:04,598 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83e28f68-1464-4480-b451-b96f4c8a3682 2025-11-04 07:24:04,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83e28f68-1464-4480-b451-b96f4c8a3682 2025-11-04 07:24:04,615 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/372e8777-f298-4ce6-9be7-542a90581efb 2025-11-04 07:24:04,620 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/372e8777-f298-4ce6-9be7-542a90581efb 2025-11-04 07:24:04,625 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b80a7945-6657-4d3c-8e07-6138c32fc4e2 2025-11-04 07:24:04,630 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 07:24:04,630 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83e28f68-1464-4480-b451-b96f4c8a3682 2025-11-04 07:24:04,636 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/372e8777-f298-4ce6-9be7-542a90581efb 2025-11-04 07:24:04,650 - INFO - Verified VN network id 11 for VN 83e28f68-1464-4480-b451-b96f4c8a3682 2025-11-04 07:24:04,650 - INFO - Verifications in API Server for VN ctest-vn-28972871 passed 2025-11-04 07:24:04,650 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83e28f68-1464-4480-b451-b96f4c8a3682 2025-11-04 07:24:04,659 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/372e8777-f298-4ce6-9be7-542a90581efb 2025-11-04 07:24:04,665 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/372e8777-f298-4ce6-9be7-542a90581efb 2025-11-04 07:24:04,670 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b80a7945-6657-4d3c-8e07-6138c32fc4e2 2025-11-04 07:24:04,680 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-28972871', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19415881', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9503315840886654080', 'uuid-lslong': '12993370287617226370'}, 'enable': 'true', 'created': '2025-11-04T07:24:02', 'last-modified': '2025-11-04T07:24:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894957'} 2025-11-04 07:24:04,686 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-04 07:24:04,686 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28972871 passed 2025-11-04 07:24:04,686 - DEBUG - ====Verifying policy data for ctest-vn-28972871 in API_Server ====== 2025-11-04 07:24:04,686 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 07:24:04,691 - DEBUG - Requesting: http://10.0.0.50:8082/domain/252812c3-bbf3-48b8-8f11-d640e38f27f8 2025-11-04 07:24:04,700 - DEBUG - Requesting: http://10.0.0.50:8082/project/2c0b4b83-4196-4147-a8b9-081446e8125c 2025-11-04 07:24:04,770 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/83e28f68-1464-4480-b451-b96f4c8a3682 2025-11-04 07:24:04,780 - DEBUG - ==>Verifying data for policy with id: 8a622f5f-f1dc-4131-8877-0f3999ff857f, fqn: ['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-policy-allow-all-05380320'] 2025-11-04 07:24:04,780 - INFO - VN ctest-vn-28972871 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 07:24:04,780 - DEBUG - Verifying the vn in opserver 2025-11-04 07:24:04,780 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-28972871 virtual network link through opserver 10.0.0.50 2025-11-04 07:24:04,780 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 07:24:05,093 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 07:24:05,137 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-28972871', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-28972871?flat'} 2025-11-04 07:24:05,137 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-28972871 is found in opserver 2025-11-04 07:24:05,146 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 07:24:05,150 - DEBUG - VRF ids for VN ctest-vn-28972871: {} 2025-11-04 07:24:05,150 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 07:24:05,154 - DEBUG - Requesting: http://10.0.0.50:8082/domain/252812c3-bbf3-48b8-8f11-d640e38f27f8 2025-11-04 07:24:05,164 - DEBUG - Requesting: http://10.0.0.50:8082/project/2c0b4b83-4196-4147-a8b9-081446e8125c 2025-11-04 07:24:05,234 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44944d24-b990-4782-aad5-07c57e645943 2025-11-04 07:24:05,244 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44944d24-b990-4782-aad5-07c57e645943 2025-11-04 07:24:05,252 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2332a341-978d-4de6-b6e3-6340fc4a7f54 2025-11-04 07:24:05,258 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2332a341-978d-4de6-b6e3-6340fc4a7f54 2025-11-04 07:24:05,263 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ad5c90ae-fe61-43c0-8f04-04352154dfda 2025-11-04 07:24:05,270 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 07:24:05,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44944d24-b990-4782-aad5-07c57e645943 2025-11-04 07:24:05,277 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2332a341-978d-4de6-b6e3-6340fc4a7f54 2025-11-04 07:24:05,288 - INFO - Verified VN network id 12 for VN 44944d24-b990-4782-aad5-07c57e645943 2025-11-04 07:24:05,289 - INFO - Verifications in API Server for VN ctest-vn-96342883 passed 2025-11-04 07:24:05,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44944d24-b990-4782-aad5-07c57e645943 2025-11-04 07:24:05,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2332a341-978d-4de6-b6e3-6340fc4a7f54 2025-11-04 07:24:05,302 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2332a341-978d-4de6-b6e3-6340fc4a7f54 2025-11-04 07:24:05,307 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ad5c90ae-fe61-43c0-8f04-04352154dfda 2025-11-04 07:24:05,318 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-96342883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19415881', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4941659511259678594', 'uuid-lslong': '12309753701297576259'}, 'enable': 'true', 'created': '2025-11-04T07:24:03', 'last-modified': '2025-11-04T07:24:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312381'} 2025-11-04 07:24:05,322 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-04 07:24:05,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96342883 passed 2025-11-04 07:24:05,322 - DEBUG - ====Verifying policy data for ctest-vn-96342883 in API_Server ====== 2025-11-04 07:24:05,323 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 07:24:05,327 - DEBUG - Requesting: http://10.0.0.50:8082/domain/252812c3-bbf3-48b8-8f11-d640e38f27f8 2025-11-04 07:24:05,335 - DEBUG - Requesting: http://10.0.0.50:8082/project/2c0b4b83-4196-4147-a8b9-081446e8125c 2025-11-04 07:24:05,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/44944d24-b990-4782-aad5-07c57e645943 2025-11-04 07:24:05,412 - DEBUG - ==>Verifying data for policy with id: 8a622f5f-f1dc-4131-8877-0f3999ff857f, fqn: ['default-domain', 'ctest-TestBasicPolicy-19415881', 'ctest-policy-allow-all-05380320'] 2025-11-04 07:24:05,412 - INFO - VN ctest-vn-96342883 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-04 07:24:05,412 - DEBUG - Verifying the vn in opserver 2025-11-04 07:24:05,412 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-96342883 virtual network link through opserver 10.0.0.50 2025-11-04 07:24:05,412 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-04 07:24:05,421 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-96342883', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-96342883?flat'} 2025-11-04 07:24:05,421 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19415881:ctest-vn-96342883 is found in opserver 2025-11-04 07:24:05,430 - DEBUG - Do not have enough data to verify VN in agent 2025-11-04 07:24:05,433 - DEBUG - VRF ids for VN ctest-vn-96342883: {} 2025-11-04 07:24:05,491 - DEBUG - Services list from nova: [, , ] 2025-11-04 07:24:06,496 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4614-1) 2025-11-04 07:24:07,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4614-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4614-1) 2025-11-04 07:24:07,593 - INFO - Waiting for VM ctest-TestBasicPolicy-19415881-33977211 to be up.. 2025-11-04 07:24:07,690 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 07:24:12,764 - DEBUG - VM is in ACTIVE state now 2025-11-04 07:24:12,765 - INFO - VM name : ctest-TestBasicPolicy-19415881-33977211 2025-11-04 07:24:12,835 - DEBUG - VM ctest-TestBasicPolicy-19415881-33977211 ID is dd828edc-7337-4502-8b13-da668c46dd72 2025-11-04 07:24:12,852 - DEBUG - VM ctest-TestBasicPolicy-19415881-33977211 launched on Node cn-jenkins-deploy-platform-ansible-os-4614-1 2025-11-04 07:24:12,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/dd828edc-7337-4502-8b13-da668c46dd72 2025-11-04 07:24:12,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6995e934-3596-43f9-bdb1-576e4e90c33f 2025-11-04 07:24:16,176 - 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=2 ttl=63 time=10.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 10.370/10.370/10.370/0.000 ms') 2025-11-04 07:24:16,176 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19415881-33977211 passed 2025-11-04 07:24:16,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 07:24:16,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19415881-33977211, IP 33.159.17.67, Port 22 2025-11-04 07:24:16,487 - DEBUG - VM ctest-TestBasicPolicy-19415881-33977211 is ready for SSH connections 2025-11-04 07:24:16,487 - INFO - Waiting for VM ctest-TestBasicPolicy-19415881-00450246 to be up.. 2025-11-04 07:24:16,557 - DEBUG - VM is in ACTIVE state now 2025-11-04 07:24:16,557 - INFO - VM name : ctest-TestBasicPolicy-19415881-00450246 2025-11-04 07:24:16,625 - DEBUG - VM ctest-TestBasicPolicy-19415881-00450246 ID is 8d03a9f1-ad44-4971-b8f7-06ce8ff900fe 2025-11-04 07:24:16,625 - DEBUG - VM ctest-TestBasicPolicy-19415881-00450246 launched on Node cn-jenkins-deploy-platform-ansible-os-4614-1 2025-11-04 07:24:16,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8d03a9f1-ad44-4971-b8f7-06ce8ff900fe 2025-11-04 07:24:16,695 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/00eeabe5-8c03-45fe-902c-8b06877a5bd6 2025-11-04 07:24:17,922 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.415/1.727/3.039/1.312 ms') 2025-11-04 07:24:17,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19415881-00450246 passed 2025-11-04 07:24:18,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 07:24:18,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19415881-00450246, IP 147.129.20.131, Port 22 2025-11-04 07:24:18,222 - DEBUG - VM ctest-TestBasicPolicy-19415881-00450246 is ready for SSH connections 2025-11-04 07:24:18,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 07:24:18,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.129.20.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 07:24:18,222 - DEBUG - ping -s 56 -c 3 -W 1 147.129.20.131 2025-11-04 07:24:21,836 - DEBUG - PING 147.129.20.131 (147.129.20.131): 56 data bytes 64 bytes from 147.129.20.131: seq=0 ttl=63 time=3.555 ms 64 bytes from 147.129.20.131: seq=1 ttl=63 time=0.765 ms 64 bytes from 147.129.20.131: seq=2 ttl=63 time=0.713 ms --- 147.129.20.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.713/1.677/3.555 ms 2025-11-04 07:24:21,836 - INFO - Ping to IP 147.129.20.131 from VM ctest-TestBasicPolicy-19415881-33977211 passed 2025-11-04 07:24:22,007 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8a622f5f-f1dc-4131-8877-0f3999ff857f", "href": "http://10.0.0.50:8082/network-policy/8a622f5f-f1dc-4131-8877-0f3999ff857f"}} 2025-11-04 07:24:22,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 07:24:22,007 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.129.20.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-04 07:24:22,008 - DEBUG - ping -s 56 -c 3 -W 1 147.129.20.131 2025-11-04 07:24:25,136 - DEBUG - PING 147.129.20.131 (147.129.20.131): 56 data bytes 64 bytes from 147.129.20.131: seq=0 ttl=63 time=1.250 ms --- 147.129.20.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.250/1.250/1.250 ms 2025-11-04 07:24:25,136 - WARNING - Ping to IP 147.129.20.131 from VM ctest-TestBasicPolicy-19415881-33977211 failed 2025-11-04 07:24:25,136 - INFO - Deleting VM ctest-TestBasicPolicy-19415881-00450246 2025-11-04 07:24:25,199 - INFO - Deleting VM ctest-TestBasicPolicy-19415881-33977211 2025-11-04 07:24:25,523 - INFO - Deleted policy ctest-policy-allow-all-05380320 2025-11-04 07:24:25,523 - INFO - Deleting VN ctest-vn-96342883 2025-11-04 07:24:25,558 - DEBUG - VN 44944d24-b990-4782-aad5-07c57e645943 still in use: Unable to complete operation on network 44944d24-b990-4782-aad5-07c57e645943. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1851687-4875-4f58-9d91-1646fc37e79f'] 2025-11-04 07:24:25,558 - WARNING - Deleting VN ctest-vn-96342883 failed..Will retry 2025-11-04 07:24:27,637 - DEBUG - Response for deleting network () 2025-11-04 07:24:27,637 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2332a341-978d-4de6-b6e3-6340fc4a7f54 2025-11-04 07:24:27,642 - DEBUG - Response Code: 404 2025-11-04 07:24:27,642 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 07:24:27,646 - DEBUG - Requesting: http://10.0.0.50:8082/domain/252812c3-bbf3-48b8-8f11-d640e38f27f8 2025-11-04 07:24:27,700 - DEBUG - Requesting: http://10.0.0.50:8082/project/2c0b4b83-4196-4147-a8b9-081446e8125c 2025-11-04 07:24:27,767 - INFO - Validated that VN ctest-vn-96342883 is not found in API Server 2025-11-04 07:24:27,776 - DEBUG - VN ctest-vn-96342883 is not present in Agent 10.0.0.50 2025-11-04 07:24:27,776 - INFO - Validated that VN ctest-vn-96342883 is not in any agent 2025-11-04 07:24:27,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96342883 info 2025-11-04 07:24:27,790 - INFO - Deleting VN ctest-vn-28972871 2025-11-04 07:24:27,908 - DEBUG - Response for deleting network () 2025-11-04 07:24:27,908 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/372e8777-f298-4ce6-9be7-542a90581efb 2025-11-04 07:24:27,919 - DEBUG - Response Code: 404 2025-11-04 07:24:27,919 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-04 07:24:27,926 - DEBUG - Requesting: http://10.0.0.50:8082/domain/252812c3-bbf3-48b8-8f11-d640e38f27f8 2025-11-04 07:24:27,979 - DEBUG - Requesting: http://10.0.0.50:8082/project/2c0b4b83-4196-4147-a8b9-081446e8125c 2025-11-04 07:24:28,047 - INFO - Validated that VN ctest-vn-28972871 is not found in API Server 2025-11-04 07:24:28,056 - DEBUG - VN ctest-vn-28972871 is not present in Agent 10.0.0.50 2025-11-04 07:24:28,056 - INFO - Validated that VN ctest-vn-28972871 is not in any agent 2025-11-04 07:24:28,068 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28972871 info 2025-11-04 07:24:28,323 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 07:24:28,323 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:27]
2025-11-04 07:24:28,323 - INFO - -------------------------------------------------------------------------------- 2025-11-04 07:24:29,006 - INFO - Deleted project: ctest-TestBasicPolicy-19415881, ID : 2c0b4b83-4196-4147-a8b9-081446e8125c