2025-07-22 07:52:57,500 - INFO - Domain Default found not creating 2025-07-22 07:52:57,650 - INFO - Project ctest-TestBasicPolicy-38456887 not found, creating it 2025-07-22 07:52:58,100 - INFO - Created Project:ctest-TestBasicPolicy-38456887, ID : f86e0e57-b553-4ec6-9b10-7af9433a8ffd 2025-07-22 07:52:59,591 - INFO - ================================================================================ 2025-07-22 07:52:59,591 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-22 07:52:59,592 - 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-22 07:52:59,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-22 07:52:59,848 - INFO - Initial checks done. Running the testcase now 2025-07-22 07:52:59,848 - INFO - 2025-07-22 07:53:00,406 - DEBUG - Response for create_network : {'network': {'id': '91e43923-3fea-499b-a0df-f3b1e4fb1556', 'name': 'ctest-vn-77036302', 'tenant_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'project_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-vn-77036302'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 07:53:00,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '58282a69-e735-410d-a13c-71f7af54cd89', 'name': '', 'tenant_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'network_id': '91e43923-3fea-499b-a0df-f3b1e4fb1556', 'ip_version': 4, 'cidr': '128.115.228.0/26', 'allocation_pools': [{'start': '128.115.228.2', 'end': '128.115.228.62'}], 'gateway_ip': '128.115.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.115.228.2', 'tags': [], 'project_id': 'f86e0e57b5534ec69b107af9433a8ffd'}} 2025-07-22 07:53:00,741 - INFO - Created VN ctest-vn-77036302 2025-07-22 07:53:00,794 - DEBUG - VN ctest-vn-77036302 UUID is 91e43923-3fea-499b-a0df-f3b1e4fb1556 2025-07-22 07:53:01,093 - DEBUG - Response for create_network : {'network': {'id': 'f68cdbe5-169a-40d3-9c94-e4200b988a74', 'name': 'ctest-vn-86159049', 'tenant_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'project_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-vn-86159049'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 07:53:01,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5da3743-a9d1-4048-b16d-e48b4ded016e', 'name': '', 'tenant_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'network_id': 'f68cdbe5-169a-40d3-9c94-e4200b988a74', 'ip_version': 4, 'cidr': '195.211.214.128/26', 'allocation_pools': [{'start': '195.211.214.130', 'end': '195.211.214.190'}], 'gateway_ip': '195.211.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.211.214.130', 'tags': [], 'project_id': 'f86e0e57b5534ec69b107af9433a8ffd'}} 2025-07-22 07:53:01,288 - INFO - Created VN ctest-vn-86159049 2025-07-22 07:53:01,342 - DEBUG - VN ctest-vn-86159049 UUID is f68cdbe5-169a-40d3-9c94-e4200b988a74 2025-07-22 07:53:01,458 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-77036302, 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-38456887:ctest-vn-86159049, 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-22 07:53:01,766 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91e43923-3fea-499b-a0df-f3b1e4fb1556', 'name': 'ctest-vn-77036302', 'tenant_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'project_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58282a69-e735-410d-a13c-71f7af54cd89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-vn-77036302'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-policy-allow-all-62096395']], 'subnet_ipam': [{'subnet_cidr': '128.115.228.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 07:53:02,013 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f68cdbe5-169a-40d3-9c94-e4200b988a74', 'name': 'ctest-vn-86159049', 'tenant_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'project_id': 'f86e0e57b5534ec69b107af9433a8ffd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a5da3743-a9d1-4048-b16d-e48b4ded016e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-vn-86159049'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-policy-allow-all-62096395']], 'subnet_ipam': [{'subnet_cidr': '195.211.214.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-22 07:53:02,186 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 07:53:02,478 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 07:53:02,507 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d227d1e8-3258-4421-87af-e95b7c7be9af 2025-07-22 07:53:02,525 - DEBUG - Requesting: http://10.0.0.254:8082/project/f86e0e57-b553-4ec6-9b10-7af9433a8ffd 2025-07-22 07:53:02,610 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/91e43923-3fea-499b-a0df-f3b1e4fb1556 2025-07-22 07:53:02,623 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/91e43923-3fea-499b-a0df-f3b1e4fb1556 2025-07-22 07:53:02,634 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a82fb69-6c26-4feb-9ca7-86716de96d3a 2025-07-22 07:53:02,642 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a82fb69-6c26-4feb-9ca7-86716de96d3a 2025-07-22 07:53:02,651 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5f9f430a-9592-433d-bb93-5cbb326f593f 2025-07-22 07:53:02,658 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 07:53:02,658 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/91e43923-3fea-499b-a0df-f3b1e4fb1556 2025-07-22 07:53:02,670 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a82fb69-6c26-4feb-9ca7-86716de96d3a 2025-07-22 07:53:02,691 - INFO - Verified VN network id 8 for VN 91e43923-3fea-499b-a0df-f3b1e4fb1556 2025-07-22 07:53:02,691 - INFO - Verifications in API Server for VN ctest-vn-77036302 passed 2025-07-22 07:53:02,691 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/91e43923-3fea-499b-a0df-f3b1e4fb1556 2025-07-22 07:53:02,702 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a82fb69-6c26-4feb-9ca7-86716de96d3a 2025-07-22 07:53:02,712 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a82fb69-6c26-4feb-9ca7-86716de96d3a 2025-07-22 07:53:02,721 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/5f9f430a-9592-433d-bb93-5cbb326f593f 2025-07-22 07:53:02,735 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-77036302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38456887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10512590253748537755', 'uuid-lslong': '11592251911251367254'}, 'enable': 'true', 'created': '2025-07-22T07:53:00', 'last-modified': '2025-07-22T07:53:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993081'} 2025-07-22 07:53:02,742 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 07:53:02,742 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77036302 passed 2025-07-22 07:53:02,742 - DEBUG - ====Verifying policy data for ctest-vn-77036302 in API_Server ====== 2025-07-22 07:53:02,742 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 07:53:02,749 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d227d1e8-3258-4421-87af-e95b7c7be9af 2025-07-22 07:53:02,765 - DEBUG - Requesting: http://10.0.0.254:8082/project/f86e0e57-b553-4ec6-9b10-7af9433a8ffd 2025-07-22 07:53:02,840 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/91e43923-3fea-499b-a0df-f3b1e4fb1556 2025-07-22 07:53:02,850 - DEBUG - ==>Verifying data for policy with id: e13f628f-b41e-4aba-b776-e16c87536d9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-policy-allow-all-62096395'] 2025-07-22 07:53:02,850 - INFO - VN ctest-vn-77036302 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 07:53:02,850 - DEBUG - Verifying the vn in opserver 2025-07-22 07:53:02,850 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-77036302 virtual network link through opserver 10.0.0.254 2025-07-22 07:53:02,850 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 07:53:03,152 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 07:53:03,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-77036302', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-77036302?flat'} 2025-07-22 07:53:03,216 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-77036302 is found in opserver 2025-07-22 07:53:03,228 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 07:53:03,234 - DEBUG - VRF ids for VN ctest-vn-77036302: {} 2025-07-22 07:53:03,234 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 07:53:03,240 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d227d1e8-3258-4421-87af-e95b7c7be9af 2025-07-22 07:53:03,252 - DEBUG - Requesting: http://10.0.0.254:8082/project/f86e0e57-b553-4ec6-9b10-7af9433a8ffd 2025-07-22 07:53:03,327 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f68cdbe5-169a-40d3-9c94-e4200b988a74 2025-07-22 07:53:03,340 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f68cdbe5-169a-40d3-9c94-e4200b988a74 2025-07-22 07:53:03,351 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8260957c-7cb6-494b-8779-be14fc268c06 2025-07-22 07:53:03,361 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8260957c-7cb6-494b-8779-be14fc268c06 2025-07-22 07:53:03,369 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e094b02f-fbd5-4363-83ec-d49b39d27031 2025-07-22 07:53:03,378 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 07:53:03,378 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f68cdbe5-169a-40d3-9c94-e4200b988a74 2025-07-22 07:53:03,388 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8260957c-7cb6-494b-8779-be14fc268c06 2025-07-22 07:53:03,404 - INFO - Verified VN network id 9 for VN f68cdbe5-169a-40d3-9c94-e4200b988a74 2025-07-22 07:53:03,404 - INFO - Verifications in API Server for VN ctest-vn-86159049 passed 2025-07-22 07:53:03,404 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f68cdbe5-169a-40d3-9c94-e4200b988a74 2025-07-22 07:53:03,415 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8260957c-7cb6-494b-8779-be14fc268c06 2025-07-22 07:53:03,423 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8260957c-7cb6-494b-8779-be14fc268c06 2025-07-22 07:53:03,431 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e094b02f-fbd5-4363-83ec-d49b39d27031 2025-07-22 07:53:03,445 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-86159049', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38456887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17765816407042965715', 'uuid-lslong': '11282893792754567796'}, 'enable': 'true', 'created': '2025-07-22T07:53:01', 'last-modified': '2025-07-22T07:53:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.456537'} 2025-07-22 07:53:03,452 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-22 07:53:03,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86159049 passed 2025-07-22 07:53:03,452 - DEBUG - ====Verifying policy data for ctest-vn-86159049 in API_Server ====== 2025-07-22 07:53:03,452 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 07:53:03,459 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d227d1e8-3258-4421-87af-e95b7c7be9af 2025-07-22 07:53:03,471 - DEBUG - Requesting: http://10.0.0.254:8082/project/f86e0e57-b553-4ec6-9b10-7af9433a8ffd 2025-07-22 07:53:03,544 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/f68cdbe5-169a-40d3-9c94-e4200b988a74 2025-07-22 07:53:03,554 - DEBUG - ==>Verifying data for policy with id: e13f628f-b41e-4aba-b776-e16c87536d9c, fqn: ['default-domain', 'ctest-TestBasicPolicy-38456887', 'ctest-policy-allow-all-62096395'] 2025-07-22 07:53:03,554 - INFO - VN ctest-vn-86159049 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-22 07:53:03,554 - DEBUG - Verifying the vn in opserver 2025-07-22 07:53:03,554 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-86159049 virtual network link through opserver 10.0.0.254 2025-07-22 07:53:03,554 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 07:53:03,567 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-86159049', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-86159049?flat'} 2025-07-22 07:53:03,567 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-86159049 is found in opserver 2025-07-22 07:53:03,579 - DEBUG - Do not have enough data to verify VN in agent 2025-07-22 07:53:03,584 - DEBUG - VRF ids for VN ctest-vn-86159049: {} 2025-07-22 07:53:03,643 - DEBUG - Services list from nova: [, , ] 2025-07-22 07:53:04,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3684-1) 2025-07-22 07:53:05,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3684-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3684-1) 2025-07-22 07:53:05,996 - INFO - Waiting for VM ctest-TestBasicPolicy-38456887-57910181 to be up.. 2025-07-22 07:53:06,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 07:53:11,164 - DEBUG - VM is in ACTIVE state now 2025-07-22 07:53:11,164 - INFO - VM name : ctest-TestBasicPolicy-38456887-57910181 2025-07-22 07:53:11,240 - DEBUG - VM ctest-TestBasicPolicy-38456887-57910181 ID is e3716f1b-cfd0-4ee0-aaa7-ef872975067c 2025-07-22 07:53:11,257 - DEBUG - VM ctest-TestBasicPolicy-38456887-57910181 launched on Node cn-jenkins-deploy-platform-ansible-os-3684-1 2025-07-22 07:53:11,331 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e3716f1b-cfd0-4ee0-aaa7-ef872975067c 2025-07-22 07:53:11,341 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aea3138d-e61b-485e-a24a-64630d88a2cb 2025-07-22 07:53:14,543 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2025-07-22 07:53:14,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38456887-57910181 failed! 2025-07-22 07:53:14,602 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38456887:ctest-vn-77036302 is 128.115.228.1 and allocation pool is NOT set 2025-07-22 07:53:16,659 - 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.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.412 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.412/2.860/5.309/2.448 ms') 2025-07-22 07:53:16,659 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38456887-57910181 passed 2025-07-22 07:53:16,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 07:53:16,806 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38456887-57910181, IP 128.115.228.3, Port 22 2025-07-22 07:53:16,966 - DEBUG - VM ctest-TestBasicPolicy-38456887-57910181 is ready for SSH connections 2025-07-22 07:53:16,967 - INFO - Waiting for VM ctest-TestBasicPolicy-38456887-65053075 to be up.. 2025-07-22 07:53:17,045 - DEBUG - VM is in ACTIVE state now 2025-07-22 07:53:17,045 - INFO - VM name : ctest-TestBasicPolicy-38456887-65053075 2025-07-22 07:53:17,134 - DEBUG - VM ctest-TestBasicPolicy-38456887-65053075 ID is ee6a83bc-2e83-422f-9736-b3baa57f1b35 2025-07-22 07:53:17,134 - DEBUG - VM ctest-TestBasicPolicy-38456887-65053075 launched on Node cn-jenkins-deploy-platform-ansible-os-3684-1 2025-07-22 07:53:17,213 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ee6a83bc-2e83-422f-9736-b3baa57f1b35 2025-07-22 07:53:17,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/74ef91ff-4e60-4e90-9cf1-f95964556b6e 2025-07-22 07:53:18,464 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.670/2.838/1.168 ms') 2025-07-22 07:53:18,464 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38456887-65053075 passed 2025-07-22 07:53:18,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 07:53:18,614 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38456887-65053075, IP 195.211.214.131, Port 22 2025-07-22 07:53:18,765 - DEBUG - VM ctest-TestBasicPolicy-38456887-65053075 is ready for SSH connections 2025-07-22 07:53:18,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 07:53:18,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.211.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-22 07:53:18,766 - DEBUG - ping -s 56 -c 3 -W 1 195.211.214.131 2025-07-22 07:53:22,430 - DEBUG - PING 195.211.214.131 (195.211.214.131): 56 data bytes 64 bytes from 195.211.214.131: seq=0 ttl=63 time=3.226 ms 64 bytes from 195.211.214.131: seq=1 ttl=63 time=0.887 ms 64 bytes from 195.211.214.131: seq=2 ttl=63 time=1.194 ms --- 195.211.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/1.769/3.226 ms 2025-07-22 07:53:22,430 - INFO - Ping to IP 195.211.214.131 from VM ctest-TestBasicPolicy-38456887-57910181 passed 2025-07-22 07:53:22,618 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e13f628f-b41e-4aba-b776-e16c87536d9c", "href": "http://10.0.0.254:8082/network-policy/e13f628f-b41e-4aba-b776-e16c87536d9c"}} 2025-07-22 07:53:22,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 07:53:22,618 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.211.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-22 07:53:22,618 - DEBUG - ping -s 56 -c 3 -W 1 195.211.214.131 2025-07-22 07:53:25,821 - DEBUG - PING 195.211.214.131 (195.211.214.131): 56 data bytes 64 bytes from 195.211.214.131: seq=0 ttl=63 time=1.252 ms --- 195.211.214.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.252/1.252/1.252 ms 2025-07-22 07:53:25,821 - WARNING - Ping to IP 195.211.214.131 from VM ctest-TestBasicPolicy-38456887-57910181 failed 2025-07-22 07:53:25,821 - INFO - Deleting VM ctest-TestBasicPolicy-38456887-65053075 2025-07-22 07:53:25,884 - INFO - Deleting VM ctest-TestBasicPolicy-38456887-57910181 2025-07-22 07:53:26,249 - INFO - Deleted policy ctest-policy-allow-all-62096395 2025-07-22 07:53:26,249 - INFO - Deleting VN ctest-vn-86159049 2025-07-22 07:53:26,282 - DEBUG - VN f68cdbe5-169a-40d3-9c94-e4200b988a74 still in use: Unable to complete operation on network f68cdbe5-169a-40d3-9c94-e4200b988a74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b410c0e6-535c-4de5-be7d-1377c38e1eef'] 2025-07-22 07:53:26,282 - WARNING - Deleting VN ctest-vn-86159049 failed..Will retry 2025-07-22 07:53:28,395 - DEBUG - Response for deleting network () 2025-07-22 07:53:28,395 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/8260957c-7cb6-494b-8779-be14fc268c06 2025-07-22 07:53:28,406 - DEBUG - Response Code: 404 2025-07-22 07:53:28,406 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 07:53:28,412 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d227d1e8-3258-4421-87af-e95b7c7be9af 2025-07-22 07:53:28,468 - DEBUG - Requesting: http://10.0.0.254:8082/project/f86e0e57-b553-4ec6-9b10-7af9433a8ffd 2025-07-22 07:53:28,540 - INFO - Validated that VN ctest-vn-86159049 is not found in API Server 2025-07-22 07:53:28,552 - DEBUG - VN ctest-vn-86159049 is not present in Agent 10.0.0.254 2025-07-22 07:53:28,552 - INFO - Validated that VN ctest-vn-86159049 is not in any agent 2025-07-22 07:53:28,567 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86159049 info 2025-07-22 07:53:28,567 - INFO - Deleting VN ctest-vn-77036302 2025-07-22 07:53:28,673 - DEBUG - Response for deleting network () 2025-07-22 07:53:28,673 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/7a82fb69-6c26-4feb-9ca7-86716de96d3a 2025-07-22 07:53:28,680 - DEBUG - Response Code: 404 2025-07-22 07:53:28,680 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 07:53:28,685 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d227d1e8-3258-4421-87af-e95b7c7be9af 2025-07-22 07:53:28,741 - DEBUG - Requesting: http://10.0.0.254:8082/project/f86e0e57-b553-4ec6-9b10-7af9433a8ffd 2025-07-22 07:53:28,821 - INFO - Validated that VN ctest-vn-77036302 is not found in API Server 2025-07-22 07:53:28,833 - DEBUG - VN ctest-vn-77036302 is not present in Agent 10.0.0.254 2025-07-22 07:53:28,833 - INFO - Validated that VN ctest-vn-77036302 is not in any agent 2025-07-22 07:53:28,848 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77036302 info 2025-07-22 07:53:29,104 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 07:53:29,104 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-22 07:53:29,104 - INFO - -------------------------------------------------------------------------------- 2025-07-22 07:53:29,913 - INFO - Deleted project: ctest-TestBasicPolicy-38456887, ID : f86e0e57-b553-4ec6-9b10-7af9433a8ffd