2025-09-18 01:50:07,649 - INFO - Domain Default found not creating 2025-09-18 01:50:07,780 - INFO - Project ctest-TestBasicPolicy-68073787 not found, creating it 2025-09-18 01:50:08,216 - INFO - Created Project:ctest-TestBasicPolicy-68073787, ID : b999d23e-1dee-496c-9255-454da6f053b6 2025-09-18 01:50:09,579 - INFO - ================================================================================ 2025-09-18 01:50:09,579 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 01:50:09,579 - 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-09-18 01:50:09,838 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-09-18 01:50:09,838 - INFO - Initial checks done. Running the testcase now 2025-09-18 01:50:09,838 - INFO - 2025-09-18 01:50:10,349 - DEBUG - Response for create_network : {'network': {'id': '34d3b5c2-57f5-43b7-870d-25054b1225c4', 'name': 'ctest-vn-80806268', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-80806268'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:50:10,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '25cb169f-7851-475a-985a-eb69424f081e', 'name': '', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'network_id': '34d3b5c2-57f5-43b7-870d-25054b1225c4', 'ip_version': 4, 'cidr': '163.88.10.0/26', 'allocation_pools': [{'start': '163.88.10.2', 'end': '163.88.10.62'}], 'gateway_ip': '163.88.10.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.88.10.2', 'tags': [], 'project_id': 'b999d23e1dee496c9255454da6f053b6'}} 2025-09-18 01:50:10,543 - INFO - Created VN ctest-vn-80806268 2025-09-18 01:50:10,593 - DEBUG - VN ctest-vn-80806268 UUID is 34d3b5c2-57f5-43b7-870d-25054b1225c4 2025-09-18 01:50:10,914 - DEBUG - Response for create_network : {'network': {'id': 'cf65b36a-4863-47c5-8c5b-281754101738', 'name': 'ctest-vn-46039305', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-46039305'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:50:11,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '3189b165-8fe3-4199-bb97-90e10760f2fb', 'name': '', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'network_id': 'cf65b36a-4863-47c5-8c5b-281754101738', 'ip_version': 4, 'cidr': '174.241.125.64/26', 'allocation_pools': [{'start': '174.241.125.66', 'end': '174.241.125.126'}], 'gateway_ip': '174.241.125.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.241.125.66', 'tags': [], 'project_id': 'b999d23e1dee496c9255454da6f053b6'}} 2025-09-18 01:50:11,103 - INFO - Created VN ctest-vn-46039305 2025-09-18 01:50:11,153 - DEBUG - VN ctest-vn-46039305 UUID is cf65b36a-4863-47c5-8c5b-281754101738 2025-09-18 01:50:11,297 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268, 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-68073787:ctest-vn-46039305, 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-09-18 01:50:11,578 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34d3b5c2-57f5-43b7-870d-25054b1225c4', 'name': 'ctest-vn-80806268', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['25cb169f-7851-475a-985a-eb69424f081e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-80806268'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911']], 'subnet_ipam': [{'subnet_cidr': '163.88.10.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:50:11,852 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf65b36a-4863-47c5-8c5b-281754101738', 'name': 'ctest-vn-46039305', 'tenant_id': 'b999d23e1dee496c9255454da6f053b6', 'project_id': 'b999d23e1dee496c9255454da6f053b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3189b165-8fe3-4199-bb97-90e10760f2fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-vn-46039305'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911']], 'subnet_ipam': [{'subnet_cidr': '174.241.125.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:50:12,006 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-18 01:50:12,295 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-18 01:50:12,320 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085 2025-09-18 01:50:12,331 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6 2025-09-18 01:50:12,400 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4 2025-09-18 01:50:12,409 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4 2025-09-18 01:50:12,416 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19 2025-09-18 01:50:12,422 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19 2025-09-18 01:50:12,428 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3f756220-85ca-422b-b7aa-d66aa712cf2d 2025-09-18 01:50:12,433 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 01:50:12,433 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4 2025-09-18 01:50:12,440 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19 2025-09-18 01:50:12,452 - INFO - Verified VN network id 12 for VN 34d3b5c2-57f5-43b7-870d-25054b1225c4 2025-09-18 01:50:12,452 - INFO - Verifications in API Server for VN ctest-vn-80806268 passed 2025-09-18 01:50:12,452 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4 2025-09-18 01:50:12,461 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19 2025-09-18 01:50:12,468 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19 2025-09-18 01:50:12,474 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3f756220-85ca-422b-b7aa-d66aa712cf2d 2025-09-18 01:50:12,483 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68073787', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3806585956362175415', 'uuid-lslong': '9731475074482054596'}, 'enable': 'true', 'created': '2025-09-18T01:50:10', 'last-modified': '2025-09-18T01:50:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924570'} 2025-09-18 01:50:12,489 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 01:50:12,489 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80806268 passed 2025-09-18 01:50:12,489 - DEBUG - ====Verifying policy data for ctest-vn-80806268 in API_Server ====== 2025-09-18 01:50:12,489 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-18 01:50:12,494 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085 2025-09-18 01:50:12,503 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6 2025-09-18 01:50:12,569 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/34d3b5c2-57f5-43b7-870d-25054b1225c4 2025-09-18 01:50:12,577 - DEBUG - ==>Verifying data for policy with id: 44a78b46-d5d4-457e-a265-9321d069606b, fqn: ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911'] 2025-09-18 01:50:12,577 - INFO - VN ctest-vn-80806268 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 01:50:12,577 - DEBUG - Verifying the vn in opserver 2025-09-18 01:50:12,577 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268 virtual network link through opserver 10.0.0.19 2025-09-18 01:50:12,578 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-09-18 01:50:12,868 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-09-18 01:50:12,917 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268?flat'} 2025-09-18 01:50:12,917 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268 is found in opserver 2025-09-18 01:50:12,926 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 01:50:12,929 - DEBUG - VRF ids for VN ctest-vn-80806268: {} 2025-09-18 01:50:12,929 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-18 01:50:12,934 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085 2025-09-18 01:50:12,943 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6 2025-09-18 01:50:13,014 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738 2025-09-18 01:50:13,025 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738 2025-09-18 01:50:13,033 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64 2025-09-18 01:50:13,040 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64 2025-09-18 01:50:13,046 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f0bd2478-0abc-451c-bf78-d039d10f1162 2025-09-18 01:50:13,051 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 01:50:13,051 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738 2025-09-18 01:50:13,058 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64 2025-09-18 01:50:13,069 - INFO - Verified VN network id 13 for VN cf65b36a-4863-47c5-8c5b-281754101738 2025-09-18 01:50:13,069 - INFO - Verifications in API Server for VN ctest-vn-46039305 passed 2025-09-18 01:50:13,069 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738 2025-09-18 01:50:13,076 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64 2025-09-18 01:50:13,081 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64 2025-09-18 01:50:13,086 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f0bd2478-0abc-451c-bf78-d039d10f1162 2025-09-18 01:50:13,094 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-68073787', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14944548207561230277', 'uuid-lslong': '10113721468850280248'}, 'enable': 'true', 'created': '2025-09-18T01:50:10', 'last-modified': '2025-09-18T01:50:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318788'} 2025-09-18 01:50:13,099 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 01:50:13,099 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46039305 passed 2025-09-18 01:50:13,099 - DEBUG - ====Verifying policy data for ctest-vn-46039305 in API_Server ====== 2025-09-18 01:50:13,099 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-18 01:50:13,103 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085 2025-09-18 01:50:13,111 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6 2025-09-18 01:50:13,176 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/cf65b36a-4863-47c5-8c5b-281754101738 2025-09-18 01:50:13,184 - DEBUG - ==>Verifying data for policy with id: 44a78b46-d5d4-457e-a265-9321d069606b, fqn: ['default-domain', 'ctest-TestBasicPolicy-68073787', 'ctest-policy-allow-all-76547911'] 2025-09-18 01:50:13,184 - INFO - VN ctest-vn-46039305 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 01:50:13,184 - DEBUG - Verifying the vn in opserver 2025-09-18 01:50:13,184 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305 virtual network link through opserver 10.0.0.19 2025-09-18 01:50:13,184 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2025-09-18 01:50:13,193 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305?flat'} 2025-09-18 01:50:13,194 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-46039305 is found in opserver 2025-09-18 01:50:13,202 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 01:50:13,206 - DEBUG - VRF ids for VN ctest-vn-46039305: {} 2025-09-18 01:50:13,261 - DEBUG - Services list from nova: [, , ] 2025-09-18 01:50:14,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1) 2025-09-18 01:50:15,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1) 2025-09-18 01:50:15,311 - INFO - Waiting for VM ctest-TestBasicPolicy-68073787-94159524 to be up.. 2025-09-18 01:50:15,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 01:50:20,455 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:50:20,455 - INFO - VM name : ctest-TestBasicPolicy-68073787-94159524 2025-09-18 01:50:20,526 - DEBUG - VM ctest-TestBasicPolicy-68073787-94159524 ID is c72ea06a-acb7-421a-a348-c74809ba5273 2025-09-18 01:50:20,542 - DEBUG - VM ctest-TestBasicPolicy-68073787-94159524 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1 2025-09-18 01:50:20,620 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c72ea06a-acb7-421a-a348-c74809ba5273 2025-09-18 01:50:20,628 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/83a7920d-bab9-4004-b1f0-80dce51b327a 2025-09-18 01:50:23,885 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-09-18 01:50:23,885 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68073787-94159524 failed! 2025-09-18 01:50:23,941 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-68073787:ctest-vn-80806268 is 163.88.10.1 and allocation pool is NOT set 2025-09-18 01:50:26,009 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.346 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.346/2.991/5.636/2.645 ms') 2025-09-18 01:50:26,009 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-68073787-94159524 passed 2025-09-18 01:50:26,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:50:26,169 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68073787-94159524, IP 163.88.10.3, Port 22 2025-09-18 01:50:26,320 - DEBUG - VM ctest-TestBasicPolicy-68073787-94159524 is ready for SSH connections 2025-09-18 01:50:26,320 - INFO - Waiting for VM ctest-TestBasicPolicy-68073787-99729551 to be up.. 2025-09-18 01:50:26,389 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:50:26,389 - INFO - VM name : ctest-TestBasicPolicy-68073787-99729551 2025-09-18 01:50:26,456 - DEBUG - VM ctest-TestBasicPolicy-68073787-99729551 ID is f0b51b16-252a-4c9a-b128-6dea9435c2bd 2025-09-18 01:50:26,456 - DEBUG - VM ctest-TestBasicPolicy-68073787-99729551 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1 2025-09-18 01:50:26,521 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f0b51b16-252a-4c9a-b128-6dea9435c2bd 2025-09-18 01:50:26,528 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/abd9f5d4-8eb8-4a12-b0e6-5cdf7ba2057b 2025-09-18 01:50:27,757 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.871/3.368/1.497 ms') 2025-09-18 01:50:27,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-68073787-99729551 passed 2025-09-18 01:50:27,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:50:27,909 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-68073787-99729551, IP 174.241.125.67, Port 22 2025-09-18 01:50:28,068 - DEBUG - VM ctest-TestBasicPolicy-68073787-99729551 is ready for SSH connections 2025-09-18 01:50:28,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:50:28,068 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.241.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:50:28,068 - DEBUG - ping -s 56 -c 3 -W 1 174.241.125.67 2025-09-18 01:50:31,727 - DEBUG - PING 174.241.125.67 (174.241.125.67): 56 data bytes 64 bytes from 174.241.125.67: seq=0 ttl=63 time=3.450 ms 64 bytes from 174.241.125.67: seq=1 ttl=63 time=0.976 ms 64 bytes from 174.241.125.67: seq=2 ttl=63 time=0.873 ms --- 174.241.125.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/1.766/3.450 ms 2025-09-18 01:50:31,727 - INFO - Ping to IP 174.241.125.67 from VM ctest-TestBasicPolicy-68073787-94159524 passed 2025-09-18 01:50:31,897 - DEBUG - Policy Update Response {"network-policy": {"uuid": "44a78b46-d5d4-457e-a265-9321d069606b", "href": "http://10.0.0.19:8082/network-policy/44a78b46-d5d4-457e-a265-9321d069606b"}} 2025-09-18 01:50:31,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:50:31,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.241.125.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:50:31,897 - DEBUG - ping -s 56 -c 3 -W 1 174.241.125.67 2025-09-18 01:50:35,092 - DEBUG - PING 174.241.125.67 (174.241.125.67): 56 data bytes --- 174.241.125.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 01:50:35,092 - WARNING - Ping to IP 174.241.125.67 from VM ctest-TestBasicPolicy-68073787-94159524 failed 2025-09-18 01:50:35,092 - INFO - Deleting VM ctest-TestBasicPolicy-68073787-99729551 2025-09-18 01:50:35,158 - INFO - Deleting VM ctest-TestBasicPolicy-68073787-94159524 2025-09-18 01:50:35,484 - INFO - Deleted policy ctest-policy-allow-all-76547911 2025-09-18 01:50:35,484 - INFO - Deleting VN ctest-vn-46039305 2025-09-18 01:50:35,517 - DEBUG - VN cf65b36a-4863-47c5-8c5b-281754101738 still in use: Unable to complete operation on network cf65b36a-4863-47c5-8c5b-281754101738. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6d302577-a797-4559-b3f9-710a5d165e03'] 2025-09-18 01:50:35,517 - WARNING - Deleting VN ctest-vn-46039305 failed..Will retry 2025-09-18 01:50:37,610 - DEBUG - Response for deleting network () 2025-09-18 01:50:37,610 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/47d6e29e-da80-47b6-a908-e674013d6f64 2025-09-18 01:50:37,614 - DEBUG - Response Code: 404 2025-09-18 01:50:37,614 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-18 01:50:37,618 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085 2025-09-18 01:50:37,670 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6 2025-09-18 01:50:37,737 - INFO - Validated that VN ctest-vn-46039305 is not found in API Server 2025-09-18 01:50:37,745 - DEBUG - VN ctest-vn-46039305 is not present in Agent 10.0.0.19 2025-09-18 01:50:37,745 - INFO - Validated that VN ctest-vn-46039305 is not in any agent 2025-09-18 01:50:37,756 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46039305 info 2025-09-18 01:50:37,756 - INFO - Deleting VN ctest-vn-80806268 2025-09-18 01:50:37,863 - DEBUG - Response for deleting network () 2025-09-18 01:50:37,863 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cadfc80d-7934-42c6-89f0-d7d3ff32ba19 2025-09-18 01:50:37,869 - DEBUG - Response Code: 404 2025-09-18 01:50:37,870 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2025-09-18 01:50:37,874 - DEBUG - Requesting: http://10.0.0.19:8082/domain/f150ecda-b6d6-4e81-b4f4-7b8830876085 2025-09-18 01:50:37,925 - DEBUG - Requesting: http://10.0.0.19:8082/project/b999d23e-1dee-496c-9255-454da6f053b6 2025-09-18 01:50:37,998 - INFO - Validated that VN ctest-vn-80806268 is not found in API Server 2025-09-18 01:50:38,005 - DEBUG - VN ctest-vn-80806268 is not present in Agent 10.0.0.19 2025-09-18 01:50:38,005 - INFO - Validated that VN ctest-vn-80806268 is not in any agent 2025-09-18 01:50:38,016 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80806268 info 2025-09-18 01:50:38,277 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 01:50:38,277 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-18 01:50:38,277 - INFO - -------------------------------------------------------------------------------- 2025-09-18 01:50:38,942 - INFO - Deleted project: ctest-TestBasicPolicy-68073787, ID : b999d23e-1dee-496c-9255-454da6f053b6