2025-07-15 16:36:11,919 - INFO - Domain Default found not creating 2025-07-15 16:36:12,092 - INFO - Project ctest-TestBasicPolicy-78932198 not found, creating it 2025-07-15 16:36:12,586 - INFO - Created Project:ctest-TestBasicPolicy-78932198, ID : 0c27fd20-cd7d-4963-888c-12f8851ae8ad 2025-07-15 16:36:14,180 - INFO - ================================================================================ 2025-07-15 16:36:14,180 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-15 16:36:14,181 - 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-07-15 16:36:14,436 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-15 16:36:14,436 - INFO - Initial checks done. Running the testcase now 2025-07-15 16:36:14,436 - INFO - 2025-07-15 16:36:15,050 - DEBUG - Response for create_network : {'network': {'id': 'fbe4a79b-c2c4-4aab-b370-b0de9598c842', 'name': 'ctest-vn-39251649', 'tenant_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'project_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-vn-39251649'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:36:15,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '3db15a30-fc4a-4346-9510-2793f5328075', 'name': '', 'tenant_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'network_id': 'fbe4a79b-c2c4-4aab-b370-b0de9598c842', 'ip_version': 4, 'cidr': '54.247.135.128/26', 'allocation_pools': [{'start': '54.247.135.130', 'end': '54.247.135.190'}], 'gateway_ip': '54.247.135.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.247.135.130', 'tags': [], 'project_id': '0c27fd20cd7d4963888c12f8851ae8ad'}} 2025-07-15 16:36:15,244 - INFO - Created VN ctest-vn-39251649 2025-07-15 16:36:15,297 - DEBUG - VN ctest-vn-39251649 UUID is fbe4a79b-c2c4-4aab-b370-b0de9598c842 2025-07-15 16:36:15,649 - DEBUG - Response for create_network : {'network': {'id': '8c85ea7a-ea99-49cd-ac45-4854f46208e1', 'name': 'ctest-vn-39528464', 'tenant_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'project_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-vn-39528464'], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:36:15,869 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c31ab0c2-dfaf-4e2b-97dc-5f6b206eeeb9', 'name': '', 'tenant_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'network_id': '8c85ea7a-ea99-49cd-ac45-4854f46208e1', 'ip_version': 4, 'cidr': '15.77.5.64/26', 'allocation_pools': [{'start': '15.77.5.66', 'end': '15.77.5.126'}], 'gateway_ip': '15.77.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.77.5.66', 'tags': [], 'project_id': '0c27fd20cd7d4963888c12f8851ae8ad'}} 2025-07-15 16:36:15,896 - INFO - Created VN ctest-vn-39528464 2025-07-15 16:36:15,953 - DEBUG - VN ctest-vn-39528464 UUID is 8c85ea7a-ea99-49cd-ac45-4854f46208e1 2025-07-15 16:36:16,083 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39251649, 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-78932198:ctest-vn-39528464, 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-07-15 16:36:16,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbe4a79b-c2c4-4aab-b370-b0de9598c842', 'name': 'ctest-vn-39251649', 'tenant_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'project_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3db15a30-fc4a-4346-9510-2793f5328075'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-vn-39251649'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-policy-allow-all-09969926']], 'subnet_ipam': [{'subnet_cidr': '54.247.135.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:36:16,644 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8c85ea7a-ea99-49cd-ac45-4854f46208e1', 'name': 'ctest-vn-39528464', 'tenant_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'project_id': '0c27fd20cd7d4963888c12f8851ae8ad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c31ab0c2-dfaf-4e2b-97dc-5f6b206eeeb9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-vn-39528464'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-policy-allow-all-09969926']], 'subnet_ipam': [{'subnet_cidr': '15.77.5.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-15 16:36:16,813 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 16:36:17,123 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 16:36:17,161 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6b7d9eb-2a2a-4501-b2d6-f326d1ef284b 2025-07-15 16:36:17,176 - DEBUG - Requesting: http://10.0.0.50:8082/project/0c27fd20-cd7d-4963-888c-12f8851ae8ad 2025-07-15 16:36:17,254 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fbe4a79b-c2c4-4aab-b370-b0de9598c842 2025-07-15 16:36:17,266 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fbe4a79b-c2c4-4aab-b370-b0de9598c842 2025-07-15 16:36:17,280 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a50351-2993-43ea-adc6-adf71290b7dc 2025-07-15 16:36:17,290 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a50351-2993-43ea-adc6-adf71290b7dc 2025-07-15 16:36:17,305 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0be4a0e6-3360-4248-a782-7d21d84f85b5 2025-07-15 16:36:17,316 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-15 16:36:17,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fbe4a79b-c2c4-4aab-b370-b0de9598c842 2025-07-15 16:36:17,328 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a50351-2993-43ea-adc6-adf71290b7dc 2025-07-15 16:36:17,349 - INFO - Verified VN network id 8 for VN fbe4a79b-c2c4-4aab-b370-b0de9598c842 2025-07-15 16:36:17,349 - INFO - Verifications in API Server for VN ctest-vn-39251649 passed 2025-07-15 16:36:17,349 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fbe4a79b-c2c4-4aab-b370-b0de9598c842 2025-07-15 16:36:17,362 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a50351-2993-43ea-adc6-adf71290b7dc 2025-07-15 16:36:17,374 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a50351-2993-43ea-adc6-adf71290b7dc 2025-07-15 16:36:17,386 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0be4a0e6-3360-4248-a782-7d21d84f85b5 2025-07-15 16:36:17,400 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39251649', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78932198', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18150816685639355051', 'uuid-lslong': '12930029000219740226'}, 'enable': 'true', 'created': '2025-07-15T16:36:15', 'last-modified': '2025-07-15T16:36:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.020742'} 2025-07-15 16:36:17,409 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-15 16:36:17,409 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39251649 passed 2025-07-15 16:36:17,410 - DEBUG - ====Verifying policy data for ctest-vn-39251649 in API_Server ====== 2025-07-15 16:36:17,410 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 16:36:17,420 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6b7d9eb-2a2a-4501-b2d6-f326d1ef284b 2025-07-15 16:36:17,436 - DEBUG - Requesting: http://10.0.0.50:8082/project/0c27fd20-cd7d-4963-888c-12f8851ae8ad 2025-07-15 16:36:17,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fbe4a79b-c2c4-4aab-b370-b0de9598c842 2025-07-15 16:36:17,542 - DEBUG - ==>Verifying data for policy with id: c1d76032-7ec5-4e20-95da-2eb53b35dcca, fqn: ['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-policy-allow-all-09969926'] 2025-07-15 16:36:17,542 - INFO - VN ctest-vn-39251649 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-15 16:36:17,543 - DEBUG - Verifying the vn in opserver 2025-07-15 16:36:17,543 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39251649 virtual network link through opserver 10.0.0.50 2025-07-15 16:36:17,543 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 16:36:17,841 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 16:36:17,908 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39251649', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39251649?flat'} 2025-07-15 16:36:17,908 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39251649 is found in opserver 2025-07-15 16:36:17,921 - DEBUG - Do not have enough data to verify VN in agent 2025-07-15 16:36:17,927 - DEBUG - VRF ids for VN ctest-vn-39251649: {} 2025-07-15 16:36:17,927 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 16:36:17,936 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6b7d9eb-2a2a-4501-b2d6-f326d1ef284b 2025-07-15 16:36:17,950 - DEBUG - Requesting: http://10.0.0.50:8082/project/0c27fd20-cd7d-4963-888c-12f8851ae8ad 2025-07-15 16:36:18,030 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c85ea7a-ea99-49cd-ac45-4854f46208e1 2025-07-15 16:36:18,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c85ea7a-ea99-49cd-ac45-4854f46208e1 2025-07-15 16:36:18,055 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e9a206a4-6e6e-4225-9315-a7d012f02a30 2025-07-15 16:36:18,065 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e9a206a4-6e6e-4225-9315-a7d012f02a30 2025-07-15 16:36:18,075 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/abd19c19-3344-4783-9c66-2b88f17e128f 2025-07-15 16:36:18,084 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-15 16:36:18,084 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c85ea7a-ea99-49cd-ac45-4854f46208e1 2025-07-15 16:36:18,098 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e9a206a4-6e6e-4225-9315-a7d012f02a30 2025-07-15 16:36:18,116 - INFO - Verified VN network id 9 for VN 8c85ea7a-ea99-49cd-ac45-4854f46208e1 2025-07-15 16:36:18,116 - INFO - Verifications in API Server for VN ctest-vn-39528464 passed 2025-07-15 16:36:18,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c85ea7a-ea99-49cd-ac45-4854f46208e1 2025-07-15 16:36:18,128 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e9a206a4-6e6e-4225-9315-a7d012f02a30 2025-07-15 16:36:18,139 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e9a206a4-6e6e-4225-9315-a7d012f02a30 2025-07-15 16:36:18,147 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/abd19c19-3344-4783-9c66-2b88f17e128f 2025-07-15 16:36:18,162 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39528464', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78932198', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10125757150855252429', 'uuid-lslong': '12413407477631158497'}, 'enable': 'true', 'created': '2025-07-15T16:36:15', 'last-modified': '2025-07-15T16:36:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.549083'} 2025-07-15 16:36:18,169 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-15 16:36:18,169 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39528464 passed 2025-07-15 16:36:18,170 - DEBUG - ====Verifying policy data for ctest-vn-39528464 in API_Server ====== 2025-07-15 16:36:18,170 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 16:36:18,179 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6b7d9eb-2a2a-4501-b2d6-f326d1ef284b 2025-07-15 16:36:18,193 - DEBUG - Requesting: http://10.0.0.50:8082/project/0c27fd20-cd7d-4963-888c-12f8851ae8ad 2025-07-15 16:36:18,273 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8c85ea7a-ea99-49cd-ac45-4854f46208e1 2025-07-15 16:36:18,284 - DEBUG - ==>Verifying data for policy with id: c1d76032-7ec5-4e20-95da-2eb53b35dcca, fqn: ['default-domain', 'ctest-TestBasicPolicy-78932198', 'ctest-policy-allow-all-09969926'] 2025-07-15 16:36:18,284 - INFO - VN ctest-vn-39528464 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-15 16:36:18,285 - DEBUG - Verifying the vn in opserver 2025-07-15 16:36:18,285 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39528464 virtual network link through opserver 10.0.0.50 2025-07-15 16:36:18,285 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-15 16:36:18,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39528464', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39528464?flat'} 2025-07-15 16:36:18,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39528464 is found in opserver 2025-07-15 16:36:18,312 - DEBUG - Do not have enough data to verify VN in agent 2025-07-15 16:36:18,319 - DEBUG - VRF ids for VN ctest-vn-39528464: {} 2025-07-15 16:36:18,407 - DEBUG - Services list from nova: [, , ] 2025-07-15 16:36:19,612 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3639-1) 2025-07-15 16:36:20,827 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3639-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3639-1) 2025-07-15 16:36:20,827 - INFO - Waiting for VM ctest-TestBasicPolicy-78932198-01278842 to be up.. 2025-07-15 16:36:20,910 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-15 16:36:26,008 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:36:26,008 - INFO - VM name : ctest-TestBasicPolicy-78932198-01278842 2025-07-15 16:36:26,106 - DEBUG - VM ctest-TestBasicPolicy-78932198-01278842 ID is c13948d2-8558-4b46-8af4-7327e6a19f1c 2025-07-15 16:36:26,126 - DEBUG - VM ctest-TestBasicPolicy-78932198-01278842 launched on Node cn-jenkins-deploy-platform-ansible-os-3639-1 2025-07-15 16:36:26,220 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c13948d2-8558-4b46-8af4-7327e6a19f1c 2025-07-15 16:36:26,231 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/58bb54f5-b612-4b02-8656-71ad752c94c3 2025-07-15 16:36:29,503 - 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 1018ms') 2025-07-15 16:36:29,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78932198-01278842 failed! 2025-07-15 16:36:29,561 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-78932198:ctest-vn-39251649 is 54.247.135.129 and allocation pool is NOT set 2025-07-15 16:36:31,632 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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.924/7.268/12.612/5.344 ms') 2025-07-15 16:36:31,632 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-78932198-01278842 passed 2025-07-15 16:36:31,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:36:31,789 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78932198-01278842, IP 54.247.135.131, Port 22 2025-07-15 16:36:31,963 - DEBUG - VM ctest-TestBasicPolicy-78932198-01278842 is ready for SSH connections 2025-07-15 16:36:31,963 - INFO - Waiting for VM ctest-TestBasicPolicy-78932198-41332132 to be up.. 2025-07-15 16:36:32,051 - DEBUG - VM is in ACTIVE state now 2025-07-15 16:36:32,051 - INFO - VM name : ctest-TestBasicPolicy-78932198-41332132 2025-07-15 16:36:32,134 - DEBUG - VM ctest-TestBasicPolicy-78932198-41332132 ID is b211c954-e9bd-4410-8a83-46a903f8bb87 2025-07-15 16:36:32,134 - DEBUG - VM ctest-TestBasicPolicy-78932198-41332132 launched on Node cn-jenkins-deploy-platform-ansible-os-3639-1 2025-07-15 16:36:32,216 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b211c954-e9bd-4410-8a83-46a903f8bb87 2025-07-15 16:36:32,228 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8003e176-f1ea-463c-b11d-6ab2c8b3966f 2025-07-15 16:36:33,487 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.124/2.531/3.939/1.407 ms') 2025-07-15 16:36:33,488 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-78932198-41332132 passed 2025-07-15 16:36:33,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:36:33,641 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-78932198-41332132, IP 15.77.5.67, Port 22 2025-07-15 16:36:33,796 - DEBUG - VM ctest-TestBasicPolicy-78932198-41332132 is ready for SSH connections 2025-07-15 16:36:33,797 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:36:33,797 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.77.5.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 16:36:33,797 - DEBUG - ping -s 56 -c 3 -W 1 15.77.5.67 2025-07-15 16:36:37,875 - DEBUG - PING 15.77.5.67 (15.77.5.67): 56 data bytes 64 bytes from 15.77.5.67: seq=0 ttl=63 time=5.103 ms 64 bytes from 15.77.5.67: seq=1 ttl=63 time=1.005 ms 64 bytes from 15.77.5.67: seq=2 ttl=63 time=1.366 ms --- 15.77.5.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.005/2.491/5.103 ms 2025-07-15 16:36:37,875 - INFO - Ping to IP 15.77.5.67 from VM ctest-TestBasicPolicy-78932198-01278842 passed 2025-07-15 16:36:38,065 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c1d76032-7ec5-4e20-95da-2eb53b35dcca", "href": "http://10.0.0.50:8082/network-policy/c1d76032-7ec5-4e20-95da-2eb53b35dcca"}} 2025-07-15 16:36:38,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-15 16:36:38,065 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.77.5.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-15 16:36:38,066 - DEBUG - ping -s 56 -c 3 -W 1 15.77.5.67 2025-07-15 16:36:41,274 - DEBUG - PING 15.77.5.67 (15.77.5.67): 56 data bytes --- 15.77.5.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-15 16:36:41,274 - WARNING - Ping to IP 15.77.5.67 from VM ctest-TestBasicPolicy-78932198-01278842 failed 2025-07-15 16:36:41,274 - INFO - Deleting VM ctest-TestBasicPolicy-78932198-41332132 2025-07-15 16:36:41,360 - INFO - Deleting VM ctest-TestBasicPolicy-78932198-01278842 2025-07-15 16:36:41,969 - INFO - Deleted policy ctest-policy-allow-all-09969926 2025-07-15 16:36:41,970 - INFO - Deleting VN ctest-vn-39528464 2025-07-15 16:36:42,043 - DEBUG - VN 8c85ea7a-ea99-49cd-ac45-4854f46208e1 still in use: Unable to complete operation on network 8c85ea7a-ea99-49cd-ac45-4854f46208e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba303fd7-b788-4e38-9563-fdc38082ea27'] 2025-07-15 16:36:42,043 - WARNING - Deleting VN ctest-vn-39528464 failed..Will retry 2025-07-15 16:36:44,179 - DEBUG - Response for deleting network () 2025-07-15 16:36:44,179 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e9a206a4-6e6e-4225-9315-a7d012f02a30 2025-07-15 16:36:44,189 - DEBUG - Response Code: 404 2025-07-15 16:36:44,190 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 16:36:44,197 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6b7d9eb-2a2a-4501-b2d6-f326d1ef284b 2025-07-15 16:36:44,254 - DEBUG - Requesting: http://10.0.0.50:8082/project/0c27fd20-cd7d-4963-888c-12f8851ae8ad 2025-07-15 16:36:44,335 - INFO - Validated that VN ctest-vn-39528464 is not found in API Server 2025-07-15 16:36:44,347 - DEBUG - VN ctest-vn-39528464 is not present in Agent 10.0.0.50 2025-07-15 16:36:44,347 - INFO - Validated that VN ctest-vn-39528464 is not in any agent 2025-07-15 16:36:44,367 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39528464 info 2025-07-15 16:36:44,367 - INFO - Deleting VN ctest-vn-39251649 2025-07-15 16:36:44,498 - DEBUG - Response for deleting network () 2025-07-15 16:36:44,498 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/46a50351-2993-43ea-adc6-adf71290b7dc 2025-07-15 16:36:44,504 - DEBUG - Response Code: 404 2025-07-15 16:36:44,504 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-07-15 16:36:44,511 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f6b7d9eb-2a2a-4501-b2d6-f326d1ef284b 2025-07-15 16:36:44,567 - DEBUG - Requesting: http://10.0.0.50:8082/project/0c27fd20-cd7d-4963-888c-12f8851ae8ad 2025-07-15 16:36:44,648 - INFO - Validated that VN ctest-vn-39251649 is not found in API Server 2025-07-15 16:36:44,660 - DEBUG - VN ctest-vn-39251649 is not present in Agent 10.0.0.50 2025-07-15 16:36:44,660 - INFO - Validated that VN ctest-vn-39251649 is not in any agent 2025-07-15 16:36:44,677 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39251649 info 2025-07-15 16:36:44,936 - DEBUG - No XMPP flaps were noticed during the test
2025-07-15 16:36:44,936 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-15 16:36:44,936 - INFO - -------------------------------------------------------------------------------- 2025-07-15 16:36:45,643 - INFO - Deleted project: ctest-TestBasicPolicy-78932198, ID : 0c27fd20-cd7d-4963-888c-12f8851ae8ad