2025-08-19 15:27:13,795 - INFO - Domain Default found not creating 2025-08-19 15:27:13,907 - INFO - Project ctest-TestBasicPolicy-54108162 not found, creating it 2025-08-19 15:27:14,351 - INFO - Created Project:ctest-TestBasicPolicy-54108162, ID : d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e 2025-08-19 15:27:15,720 - INFO - ================================================================================ 2025-08-19 15:27:15,721 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-19 15:27:15,721 - 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-19 15:27:15,968 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-08-19 15:27:15,968 - INFO - Initial checks done. Running the testcase now 2025-08-19 15:27:15,968 - INFO - 2025-08-19 15:27:16,480 - DEBUG - Response for create_network : {'network': {'id': 'bd6dba36-0815-46a9-873d-3bff72a7562f', 'name': 'ctest-vn-83007059', 'tenant_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'project_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-vn-83007059'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 15:27:16,696 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a50eac13-f78e-44e1-864a-8edbe1043d7e', 'name': '', 'tenant_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'network_id': 'bd6dba36-0815-46a9-873d-3bff72a7562f', 'ip_version': 4, 'cidr': '221.172.190.64/26', 'allocation_pools': [{'start': '221.172.190.66', 'end': '221.172.190.126'}], 'gateway_ip': '221.172.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.172.190.66', 'tags': [], 'project_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e'}} 2025-08-19 15:27:16,711 - INFO - Created VN ctest-vn-83007059 2025-08-19 15:27:16,767 - DEBUG - VN ctest-vn-83007059 UUID is bd6dba36-0815-46a9-873d-3bff72a7562f 2025-08-19 15:27:17,064 - DEBUG - Response for create_network : {'network': {'id': '63b3445b-b7a2-402f-b9cf-b6d4769e4e6a', 'name': 'ctest-vn-80616101', 'tenant_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'project_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-vn-80616101'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 15:27:17,238 - DEBUG - Response for create_subnet : {'subnet': {'id': '59cc7f57-dcd0-4f83-995f-62ca9fd99727', 'name': '', 'tenant_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'network_id': '63b3445b-b7a2-402f-b9cf-b6d4769e4e6a', 'ip_version': 4, 'cidr': '66.14.122.0/26', 'allocation_pools': [{'start': '66.14.122.2', 'end': '66.14.122.62'}], 'gateway_ip': '66.14.122.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.14.122.2', 'tags': [], 'project_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e'}} 2025-08-19 15:27:17,254 - INFO - Created VN ctest-vn-80616101 2025-08-19 15:27:17,311 - DEBUG - VN ctest-vn-80616101 UUID is 63b3445b-b7a2-402f-b9cf-b6d4769e4e6a 2025-08-19 15:27:17,455 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-83007059, 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-54108162:ctest-vn-80616101, 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-19 15:27:17,753 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bd6dba36-0815-46a9-873d-3bff72a7562f', 'name': 'ctest-vn-83007059', 'tenant_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'project_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a50eac13-f78e-44e1-864a-8edbe1043d7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-vn-83007059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-policy-allow-all-51640799']], 'subnet_ipam': [{'subnet_cidr': '221.172.190.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 15:27:17,960 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63b3445b-b7a2-402f-b9cf-b6d4769e4e6a', 'name': 'ctest-vn-80616101', 'tenant_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'project_id': 'd791e16c7d2d4e95b7d8c7f85ffc5b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59cc7f57-dcd0-4f83-995f-62ca9fd99727'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-vn-80616101'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-policy-allow-all-51640799']], 'subnet_ipam': [{'subnet_cidr': '66.14.122.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-19 15:27:18,123 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-19 15:27:18,411 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-19 15:27:18,436 - DEBUG - Requesting: http://10.0.0.49:8082/domain/40c8ee2e-6a09-4a45-b7f4-39b8251a7cd8 2025-08-19 15:27:18,448 - DEBUG - Requesting: http://10.0.0.49:8082/project/d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e 2025-08-19 15:27:18,520 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd6dba36-0815-46a9-873d-3bff72a7562f 2025-08-19 15:27:18,530 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd6dba36-0815-46a9-873d-3bff72a7562f 2025-08-19 15:27:18,538 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/88536a40-4d90-4652-ac2f-3c1ad5ecaae8 2025-08-19 15:27:18,543 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/88536a40-4d90-4652-ac2f-3c1ad5ecaae8 2025-08-19 15:27:18,549 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/1570e18e-32a5-4368-94ca-66ba8f2e3636 2025-08-19 15:27:18,554 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 15:27:18,554 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd6dba36-0815-46a9-873d-3bff72a7562f 2025-08-19 15:27:18,562 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/88536a40-4d90-4652-ac2f-3c1ad5ecaae8 2025-08-19 15:27:18,574 - INFO - Verified VN network id 11 for VN bd6dba36-0815-46a9-873d-3bff72a7562f 2025-08-19 15:27:18,574 - INFO - Verifications in API Server for VN ctest-vn-83007059 passed 2025-08-19 15:27:18,574 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd6dba36-0815-46a9-873d-3bff72a7562f 2025-08-19 15:27:18,582 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/88536a40-4d90-4652-ac2f-3c1ad5ecaae8 2025-08-19 15:27:18,588 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/88536a40-4d90-4652-ac2f-3c1ad5ecaae8 2025-08-19 15:27:18,594 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/1570e18e-32a5-4368-94ca-66ba8f2e3636 2025-08-19 15:27:18,606 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-83007059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54108162', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13649770786856453801', 'uuid-lslong': '9745011137025889839'}, 'enable': 'true', 'created': '2025-08-19T15:27:16', 'last-modified': '2025-08-19T15:27:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886915'} 2025-08-19 15:27:18,612 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-19 15:27:18,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83007059 passed 2025-08-19 15:27:18,612 - DEBUG - ====Verifying policy data for ctest-vn-83007059 in API_Server ====== 2025-08-19 15:27:18,612 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-19 15:27:18,616 - DEBUG - Requesting: http://10.0.0.49:8082/domain/40c8ee2e-6a09-4a45-b7f4-39b8251a7cd8 2025-08-19 15:27:18,626 - DEBUG - Requesting: http://10.0.0.49:8082/project/d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e 2025-08-19 15:27:18,697 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/bd6dba36-0815-46a9-873d-3bff72a7562f 2025-08-19 15:27:18,706 - DEBUG - ==>Verifying data for policy with id: deb4e748-858d-49f2-911e-9f41da438992, fqn: ['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-policy-allow-all-51640799'] 2025-08-19 15:27:18,706 - INFO - VN ctest-vn-83007059 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 15:27:18,706 - DEBUG - Verifying the vn in opserver 2025-08-19 15:27:18,706 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-83007059 virtual network link through opserver 10.0.0.49 2025-08-19 15:27:18,707 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-19 15:27:18,997 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-19 15:27:19,046 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-83007059', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-83007059?flat'} 2025-08-19 15:27:19,046 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-83007059 is found in opserver 2025-08-19 15:27:19,056 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 15:27:19,061 - DEBUG - VRF ids for VN ctest-vn-83007059: {} 2025-08-19 15:27:19,061 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-19 15:27:19,066 - DEBUG - Requesting: http://10.0.0.49:8082/domain/40c8ee2e-6a09-4a45-b7f4-39b8251a7cd8 2025-08-19 15:27:19,076 - DEBUG - Requesting: http://10.0.0.49:8082/project/d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e 2025-08-19 15:27:19,149 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/63b3445b-b7a2-402f-b9cf-b6d4769e4e6a 2025-08-19 15:27:19,160 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/63b3445b-b7a2-402f-b9cf-b6d4769e4e6a 2025-08-19 15:27:19,168 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/258909b2-9238-43d3-b7d8-9152ed11ce36 2025-08-19 15:27:19,175 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/258909b2-9238-43d3-b7d8-9152ed11ce36 2025-08-19 15:27:19,181 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/3b50aaee-4327-49d8-b8d9-c96cf1c0abe6 2025-08-19 15:27:19,187 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 15:27:19,187 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/63b3445b-b7a2-402f-b9cf-b6d4769e4e6a 2025-08-19 15:27:19,195 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/258909b2-9238-43d3-b7d8-9152ed11ce36 2025-08-19 15:27:19,207 - INFO - Verified VN network id 12 for VN 63b3445b-b7a2-402f-b9cf-b6d4769e4e6a 2025-08-19 15:27:19,207 - INFO - Verifications in API Server for VN ctest-vn-80616101 passed 2025-08-19 15:27:19,207 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/63b3445b-b7a2-402f-b9cf-b6d4769e4e6a 2025-08-19 15:27:19,215 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/258909b2-9238-43d3-b7d8-9152ed11ce36 2025-08-19 15:27:19,221 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/258909b2-9238-43d3-b7d8-9152ed11ce36 2025-08-19 15:27:19,227 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/3b50aaee-4327-49d8-b8d9-c96cf1c0abe6 2025-08-19 15:27:19,238 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-80616101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54108162', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7184160991299649583', 'uuid-lslong': '13389121240835182186'}, 'enable': 'true', 'created': '2025-08-19T15:27:17', 'last-modified': '2025-08-19T15:27:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.295573'} 2025-08-19 15:27:19,244 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-19 15:27:19,246 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80616101 passed 2025-08-19 15:27:19,246 - DEBUG - ====Verifying policy data for ctest-vn-80616101 in API_Server ====== 2025-08-19 15:27:19,246 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-19 15:27:19,251 - DEBUG - Requesting: http://10.0.0.49:8082/domain/40c8ee2e-6a09-4a45-b7f4-39b8251a7cd8 2025-08-19 15:27:19,261 - DEBUG - Requesting: http://10.0.0.49:8082/project/d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e 2025-08-19 15:27:19,328 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/63b3445b-b7a2-402f-b9cf-b6d4769e4e6a 2025-08-19 15:27:19,336 - DEBUG - ==>Verifying data for policy with id: deb4e748-858d-49f2-911e-9f41da438992, fqn: ['default-domain', 'ctest-TestBasicPolicy-54108162', 'ctest-policy-allow-all-51640799'] 2025-08-19 15:27:19,337 - INFO - VN ctest-vn-80616101 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-19 15:27:19,337 - DEBUG - Verifying the vn in opserver 2025-08-19 15:27:19,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-80616101 virtual network link through opserver 10.0.0.49 2025-08-19 15:27:19,337 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-08-19 15:27:19,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-80616101', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-80616101?flat'} 2025-08-19 15:27:19,345 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-80616101 is found in opserver 2025-08-19 15:27:19,355 - DEBUG - Do not have enough data to verify VN in agent 2025-08-19 15:27:19,359 - DEBUG - VRF ids for VN ctest-vn-80616101: {} 2025-08-19 15:27:19,405 - DEBUG - Services list from nova: [, , ] 2025-08-19 15:27:20,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3886-1) 2025-08-19 15:27:21,419 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3886-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3886-1) 2025-08-19 15:27:21,420 - INFO - Waiting for VM ctest-TestBasicPolicy-54108162-23713159 to be up.. 2025-08-19 15:27:21,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 15:27:26,557 - DEBUG - VM is in ACTIVE state now 2025-08-19 15:27:26,557 - INFO - VM name : ctest-TestBasicPolicy-54108162-23713159 2025-08-19 15:27:26,616 - DEBUG - VM ctest-TestBasicPolicy-54108162-23713159 ID is 11a48bbd-f2a5-49aa-ac8c-fba5007c5f55 2025-08-19 15:27:26,632 - DEBUG - VM ctest-TestBasicPolicy-54108162-23713159 launched on Node cn-jenkins-deploy-platform-ansible-os-3886-1 2025-08-19 15:27:26,693 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/11a48bbd-f2a5-49aa-ac8c-fba5007c5f55 2025-08-19 15:27:26,700 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/4d868b7a-f68b-44de-825f-bf2bcce0a204 2025-08-19 15:27:29,962 - 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 1028ms') 2025-08-19 15:27:29,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54108162-23713159 failed! 2025-08-19 15:27:30,015 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54108162:ctest-vn-83007059 is 221.172.190.65 and allocation pool is NOT set 2025-08-19 15:27:32,077 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.319 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.319/2.392/4.466/2.073 ms') 2025-08-19 15:27:32,078 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54108162-23713159 passed 2025-08-19 15:27:32,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 15:27:32,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54108162-23713159, IP 221.172.190.67, Port 22 2025-08-19 15:27:32,378 - DEBUG - VM ctest-TestBasicPolicy-54108162-23713159 is ready for SSH connections 2025-08-19 15:27:32,378 - INFO - Waiting for VM ctest-TestBasicPolicy-54108162-24626836 to be up.. 2025-08-19 15:27:32,440 - DEBUG - VM is in ACTIVE state now 2025-08-19 15:27:32,440 - INFO - VM name : ctest-TestBasicPolicy-54108162-24626836 2025-08-19 15:27:32,496 - DEBUG - VM ctest-TestBasicPolicy-54108162-24626836 ID is 1d038769-6cb5-4518-aee3-6b0f24d81915 2025-08-19 15:27:32,496 - DEBUG - VM ctest-TestBasicPolicy-54108162-24626836 launched on Node cn-jenkins-deploy-platform-ansible-os-3886-1 2025-08-19 15:27:32,632 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1d038769-6cb5-4518-aee3-6b0f24d81915 2025-08-19 15:27:32,640 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/c489a603-14a5-4a46-ac85-559c3dd432fb 2025-08-19 15:27:33,866 - 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.346 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.346/1.490/2.634/1.144 ms') 2025-08-19 15:27:33,867 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54108162-24626836 passed 2025-08-19 15:27:34,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 15:27:34,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54108162-24626836, IP 66.14.122.3, Port 22 2025-08-19 15:27:34,174 - DEBUG - VM ctest-TestBasicPolicy-54108162-24626836 is ready for SSH connections 2025-08-19 15:27:34,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 15:27:34,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.14.122.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-19 15:27:34,175 - DEBUG - ping -s 56 -c 3 -W 1 66.14.122.3 2025-08-19 15:27:38,099 - DEBUG - PING 66.14.122.3 (66.14.122.3): 56 data bytes 64 bytes from 66.14.122.3: seq=0 ttl=63 time=3.142 ms 64 bytes from 66.14.122.3: seq=1 ttl=63 time=0.716 ms 64 bytes from 66.14.122.3: seq=2 ttl=63 time=0.655 ms --- 66.14.122.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.655/1.504/3.142 ms 2025-08-19 15:27:38,099 - INFO - Ping to IP 66.14.122.3 from VM ctest-TestBasicPolicy-54108162-23713159 passed 2025-08-19 15:27:38,279 - DEBUG - Policy Update Response {"network-policy": {"uuid": "deb4e748-858d-49f2-911e-9f41da438992", "href": "http://10.0.0.49:8082/network-policy/deb4e748-858d-49f2-911e-9f41da438992"}} 2025-08-19 15:27:38,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 15:27:38,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.14.122.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-19 15:27:38,279 - DEBUG - ping -s 56 -c 3 -W 1 66.14.122.3 2025-08-19 15:27:41,471 - DEBUG - PING 66.14.122.3 (66.14.122.3): 56 data bytes 64 bytes from 66.14.122.3: seq=0 ttl=63 time=1.152 ms --- 66.14.122.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.152/1.152/1.152 ms 2025-08-19 15:27:41,471 - WARNING - Ping to IP 66.14.122.3 from VM ctest-TestBasicPolicy-54108162-23713159 failed 2025-08-19 15:27:41,471 - INFO - Deleting VM ctest-TestBasicPolicy-54108162-24626836 2025-08-19 15:27:41,527 - INFO - Deleting VM ctest-TestBasicPolicy-54108162-23713159 2025-08-19 15:27:41,866 - INFO - Deleted policy ctest-policy-allow-all-51640799 2025-08-19 15:27:41,866 - INFO - Deleting VN ctest-vn-80616101 2025-08-19 15:27:41,899 - DEBUG - VN 63b3445b-b7a2-402f-b9cf-b6d4769e4e6a still in use: Unable to complete operation on network 63b3445b-b7a2-402f-b9cf-b6d4769e4e6a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-66d11d4e-3eaa-42f9-bcce-c45766682485'] 2025-08-19 15:27:41,899 - WARNING - Deleting VN ctest-vn-80616101 failed..Will retry 2025-08-19 15:27:43,986 - DEBUG - Response for deleting network () 2025-08-19 15:27:43,986 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/258909b2-9238-43d3-b7d8-9152ed11ce36 2025-08-19 15:27:43,994 - DEBUG - Response Code: 404 2025-08-19 15:27:43,995 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-19 15:27:43,999 - DEBUG - Requesting: http://10.0.0.49:8082/domain/40c8ee2e-6a09-4a45-b7f4-39b8251a7cd8 2025-08-19 15:27:44,051 - DEBUG - Requesting: http://10.0.0.49:8082/project/d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e 2025-08-19 15:27:44,123 - INFO - Validated that VN ctest-vn-80616101 is not found in API Server 2025-08-19 15:27:44,135 - DEBUG - VN ctest-vn-80616101 is not present in Agent 10.0.0.49 2025-08-19 15:27:44,135 - INFO - Validated that VN ctest-vn-80616101 is not in any agent 2025-08-19 15:27:44,149 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80616101 info 2025-08-19 15:27:44,149 - INFO - Deleting VN ctest-vn-83007059 2025-08-19 15:27:44,249 - DEBUG - Response for deleting network () 2025-08-19 15:27:44,249 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/88536a40-4d90-4652-ac2f-3c1ad5ecaae8 2025-08-19 15:27:44,254 - DEBUG - Response Code: 404 2025-08-19 15:27:44,254 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-08-19 15:27:44,260 - DEBUG - Requesting: http://10.0.0.49:8082/domain/40c8ee2e-6a09-4a45-b7f4-39b8251a7cd8 2025-08-19 15:27:44,312 - DEBUG - Requesting: http://10.0.0.49:8082/project/d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e 2025-08-19 15:27:44,381 - INFO - Validated that VN ctest-vn-83007059 is not found in API Server 2025-08-19 15:27:44,392 - DEBUG - VN ctest-vn-83007059 is not present in Agent 10.0.0.49 2025-08-19 15:27:44,392 - INFO - Validated that VN ctest-vn-83007059 is not in any agent 2025-08-19 15:27:44,405 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-83007059 info 2025-08-19 15:27:44,656 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 15:27:44,656 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-19 15:27:44,656 - INFO - -------------------------------------------------------------------------------- 2025-08-19 15:27:45,311 - INFO - Deleted project: ctest-TestBasicPolicy-54108162, ID : d791e16c-7d2d-4e95-b7d8-c7f85ffc5b8e