2025-08-15 09:37:29,200 - INFO - Domain Default found not creating 2025-08-15 09:37:29,345 - INFO - Project ctest-TestBasicPolicy-39593306 not found, creating it 2025-08-15 09:37:29,786 - INFO - Created Project:ctest-TestBasicPolicy-39593306, ID : fe974a78-2397-4089-bae1-8c4d6e8d0a58 2025-08-15 09:37:31,116 - INFO - ================================================================================ 2025-08-15 09:37:31,117 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-15 09:37:31,117 - 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-15 09:37:31,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.129': '0'}} with 2025-08-15 09:37:31,376 - INFO - Initial checks done. Running the testcase now 2025-08-15 09:37:31,376 - INFO - 2025-08-15 09:37:31,903 - DEBUG - Response for create_network : {'network': {'id': '4e8473b8-4461-45a5-9320-381f53398904', 'name': 'ctest-vn-40320538', 'tenant_id': 'fe974a7823974089bae18c4d6e8d0a58', 'project_id': 'fe974a7823974089bae18c4d6e8d0a58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-vn-40320538'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:37:32,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d714fe5-4054-43fa-a2c2-e002c8ab4cee', 'name': '', 'tenant_id': 'fe974a7823974089bae18c4d6e8d0a58', 'network_id': '4e8473b8-4461-45a5-9320-381f53398904', 'ip_version': 4, 'cidr': '32.240.251.128/26', 'allocation_pools': [{'start': '32.240.251.130', 'end': '32.240.251.190'}], 'gateway_ip': '32.240.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.240.251.130', 'tags': [], 'project_id': 'fe974a7823974089bae18c4d6e8d0a58'}} 2025-08-15 09:37:32,070 - INFO - Created VN ctest-vn-40320538 2025-08-15 09:37:32,122 - DEBUG - VN ctest-vn-40320538 UUID is 4e8473b8-4461-45a5-9320-381f53398904 2025-08-15 09:37:32,441 - DEBUG - Response for create_network : {'network': {'id': '32e9d5e4-e8c7-4c49-97e8-360fbc02868b', 'name': 'ctest-vn-02693467', 'tenant_id': 'fe974a7823974089bae18c4d6e8d0a58', 'project_id': 'fe974a7823974089bae18c4d6e8d0a58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-vn-02693467'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:37:32,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a0e3b6d-543d-4aca-bf58-83cea9aaf918', 'name': '', 'tenant_id': 'fe974a7823974089bae18c4d6e8d0a58', 'network_id': '32e9d5e4-e8c7-4c49-97e8-360fbc02868b', 'ip_version': 4, 'cidr': '147.60.164.128/26', 'allocation_pools': [{'start': '147.60.164.130', 'end': '147.60.164.190'}], 'gateway_ip': '147.60.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.60.164.130', 'tags': [], 'project_id': 'fe974a7823974089bae18c4d6e8d0a58'}} 2025-08-15 09:37:32,669 - INFO - Created VN ctest-vn-02693467 2025-08-15 09:37:32,722 - DEBUG - VN ctest-vn-02693467 UUID is 32e9d5e4-e8c7-4c49-97e8-360fbc02868b 2025-08-15 09:37:32,878 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-40320538, 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-39593306:ctest-vn-02693467, 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-15 09:37:33,159 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e8473b8-4461-45a5-9320-381f53398904', 'name': 'ctest-vn-40320538', 'tenant_id': 'fe974a7823974089bae18c4d6e8d0a58', 'project_id': 'fe974a7823974089bae18c4d6e8d0a58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2d714fe5-4054-43fa-a2c2-e002c8ab4cee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-vn-40320538'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-policy-allow-all-99402523']], 'subnet_ipam': [{'subnet_cidr': '32.240.251.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:37:33,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32e9d5e4-e8c7-4c49-97e8-360fbc02868b', 'name': 'ctest-vn-02693467', 'tenant_id': 'fe974a7823974089bae18c4d6e8d0a58', 'project_id': 'fe974a7823974089bae18c4d6e8d0a58', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a0e3b6d-543d-4aca-bf58-83cea9aaf918'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-vn-02693467'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-policy-allow-all-99402523']], 'subnet_ipam': [{'subnet_cidr': '147.60.164.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:37:33,558 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-15 09:37:33,848 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-15 09:37:33,874 - DEBUG - Requesting: http://10.0.0.41:8082/domain/49aa4ce0-7fff-469c-a8e7-8aa08626eb89 2025-08-15 09:37:33,886 - DEBUG - Requesting: http://10.0.0.41:8082/project/fe974a78-2397-4089-bae1-8c4d6e8d0a58 2025-08-15 09:37:33,967 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4e8473b8-4461-45a5-9320-381f53398904 2025-08-15 09:37:33,978 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4e8473b8-4461-45a5-9320-381f53398904 2025-08-15 09:37:33,986 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/321b4294-bc0c-4fa6-a2a0-3e0467f6d82c 2025-08-15 09:37:33,991 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/321b4294-bc0c-4fa6-a2a0-3e0467f6d82c 2025-08-15 09:37:33,997 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c34fad4b-221a-435d-a6a0-8289d86a62c4 2025-08-15 09:37:34,002 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 09:37:34,002 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4e8473b8-4461-45a5-9320-381f53398904 2025-08-15 09:37:34,009 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/321b4294-bc0c-4fa6-a2a0-3e0467f6d82c 2025-08-15 09:37:34,020 - INFO - Verified VN network id 12 for VN 4e8473b8-4461-45a5-9320-381f53398904 2025-08-15 09:37:34,020 - INFO - Verifications in API Server for VN ctest-vn-40320538 passed 2025-08-15 09:37:34,020 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4e8473b8-4461-45a5-9320-381f53398904 2025-08-15 09:37:34,028 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/321b4294-bc0c-4fa6-a2a0-3e0467f6d82c 2025-08-15 09:37:34,033 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/321b4294-bc0c-4fa6-a2a0-3e0467f6d82c 2025-08-15 09:37:34,039 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/c34fad4b-221a-435d-a6a0-8289d86a62c4 2025-08-15 09:37:34,048 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-40320538', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39593306', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5657774267142587813', 'uuid-lslong': '10601535230021568772'}, 'enable': 'true', 'created': '2025-08-15T09:37:31', 'last-modified': '2025-08-15T09:37:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897635'} 2025-08-15 09:37:34,057 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-15 09:37:34,057 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40320538 passed 2025-08-15 09:37:34,057 - DEBUG - ====Verifying policy data for ctest-vn-40320538 in API_Server ====== 2025-08-15 09:37:34,057 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-15 09:37:34,065 - DEBUG - Requesting: http://10.0.0.41:8082/domain/49aa4ce0-7fff-469c-a8e7-8aa08626eb89 2025-08-15 09:37:34,075 - DEBUG - Requesting: http://10.0.0.41:8082/project/fe974a78-2397-4089-bae1-8c4d6e8d0a58 2025-08-15 09:37:34,148 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4e8473b8-4461-45a5-9320-381f53398904 2025-08-15 09:37:34,158 - DEBUG - ==>Verifying data for policy with id: d5a9b371-68c5-4a66-a8f7-3892027d7a2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-policy-allow-all-99402523'] 2025-08-15 09:37:34,158 - INFO - VN ctest-vn-40320538 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 09:37:34,159 - DEBUG - Verifying the vn in opserver 2025-08-15 09:37:34,159 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-40320538 virtual network link through opserver 10.0.0.41 2025-08-15 09:37:34,159 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-15 09:37:34,447 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-15 09:37:34,498 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-40320538', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-40320538?flat'} 2025-08-15 09:37:34,499 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-40320538 is found in opserver 2025-08-15 09:37:34,508 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 09:37:34,512 - DEBUG - VRF ids for VN ctest-vn-40320538: {} 2025-08-15 09:37:34,513 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-15 09:37:34,517 - DEBUG - Requesting: http://10.0.0.41:8082/domain/49aa4ce0-7fff-469c-a8e7-8aa08626eb89 2025-08-15 09:37:34,527 - DEBUG - Requesting: http://10.0.0.41:8082/project/fe974a78-2397-4089-bae1-8c4d6e8d0a58 2025-08-15 09:37:34,596 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32e9d5e4-e8c7-4c49-97e8-360fbc02868b 2025-08-15 09:37:34,607 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32e9d5e4-e8c7-4c49-97e8-360fbc02868b 2025-08-15 09:37:34,615 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/fe19f47f-e00d-470f-9342-291588222fcb 2025-08-15 09:37:34,621 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/fe19f47f-e00d-470f-9342-291588222fcb 2025-08-15 09:37:34,627 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/72834fa9-7f8d-4485-8c8a-06dc81f2bfba 2025-08-15 09:37:34,632 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 09:37:34,632 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32e9d5e4-e8c7-4c49-97e8-360fbc02868b 2025-08-15 09:37:34,640 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/fe19f47f-e00d-470f-9342-291588222fcb 2025-08-15 09:37:34,652 - INFO - Verified VN network id 13 for VN 32e9d5e4-e8c7-4c49-97e8-360fbc02868b 2025-08-15 09:37:34,652 - INFO - Verifications in API Server for VN ctest-vn-02693467 passed 2025-08-15 09:37:34,652 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32e9d5e4-e8c7-4c49-97e8-360fbc02868b 2025-08-15 09:37:34,660 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/fe19f47f-e00d-470f-9342-291588222fcb 2025-08-15 09:37:34,666 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/fe19f47f-e00d-470f-9342-291588222fcb 2025-08-15 09:37:34,672 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/72834fa9-7f8d-4485-8c8a-06dc81f2bfba 2025-08-15 09:37:34,682 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-02693467', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39593306', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3668698550604614729', 'uuid-lslong': '10946058335530681995'}, 'enable': 'true', 'created': '2025-08-15T09:37:32', 'last-modified': '2025-08-15T09:37:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.318199'} 2025-08-15 09:37:34,687 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-15 09:37:34,687 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02693467 passed 2025-08-15 09:37:34,687 - DEBUG - ====Verifying policy data for ctest-vn-02693467 in API_Server ====== 2025-08-15 09:37:34,687 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-15 09:37:34,692 - DEBUG - Requesting: http://10.0.0.41:8082/domain/49aa4ce0-7fff-469c-a8e7-8aa08626eb89 2025-08-15 09:37:34,701 - DEBUG - Requesting: http://10.0.0.41:8082/project/fe974a78-2397-4089-bae1-8c4d6e8d0a58 2025-08-15 09:37:34,769 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32e9d5e4-e8c7-4c49-97e8-360fbc02868b 2025-08-15 09:37:34,777 - DEBUG - ==>Verifying data for policy with id: d5a9b371-68c5-4a66-a8f7-3892027d7a2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-39593306', 'ctest-policy-allow-all-99402523'] 2025-08-15 09:37:34,777 - INFO - VN ctest-vn-02693467 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-15 09:37:34,777 - DEBUG - Verifying the vn in opserver 2025-08-15 09:37:34,777 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-02693467 virtual network link through opserver 10.0.0.41 2025-08-15 09:37:34,777 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-08-15 09:37:34,786 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-02693467', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-02693467?flat'} 2025-08-15 09:37:34,786 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-02693467 is found in opserver 2025-08-15 09:37:34,794 - DEBUG - Do not have enough data to verify VN in agent 2025-08-15 09:37:34,798 - DEBUG - VRF ids for VN ctest-vn-02693467: {} 2025-08-15 09:37:34,849 - DEBUG - Services list from nova: [, , ] 2025-08-15 09:37:35,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3863-1) 2025-08-15 09:37:36,911 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3863-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3863-1) 2025-08-15 09:37:36,912 - INFO - Waiting for VM ctest-TestBasicPolicy-39593306-28999295 to be up.. 2025-08-15 09:37:36,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 09:37:42,048 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:37:42,048 - INFO - VM name : ctest-TestBasicPolicy-39593306-28999295 2025-08-15 09:37:42,114 - DEBUG - VM ctest-TestBasicPolicy-39593306-28999295 ID is 534b54d8-8762-47de-a099-1885999a3327 2025-08-15 09:37:42,131 - DEBUG - VM ctest-TestBasicPolicy-39593306-28999295 launched on Node cn-jenkins-deploy-platform-ansible-os-3863-1 2025-08-15 09:37:42,195 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/534b54d8-8762-47de-a099-1885999a3327 2025-08-15 09:37:42,203 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/397687b5-df23-4497-ae56-a918dcaaf4ec 2025-08-15 09:37:45,439 - 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 1007ms') 2025-08-15 09:37:45,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39593306-28999295 failed! 2025-08-15 09:37:45,494 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39593306:ctest-vn-40320538 is 32.240.251.129 and allocation pool is NOT set 2025-08-15 09:37:47,557 - 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=2.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.601 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.601/1.557/2.514/0.956 ms') 2025-08-15 09:37:47,557 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39593306-28999295 passed 2025-08-15 09:37:47,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:37:47,706 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39593306-28999295, IP 32.240.251.131, Port 22 2025-08-15 09:37:47,858 - DEBUG - VM ctest-TestBasicPolicy-39593306-28999295 is ready for SSH connections 2025-08-15 09:37:47,858 - INFO - Waiting for VM ctest-TestBasicPolicy-39593306-00173817 to be up.. 2025-08-15 09:37:47,927 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:37:47,927 - INFO - VM name : ctest-TestBasicPolicy-39593306-00173817 2025-08-15 09:37:47,994 - DEBUG - VM ctest-TestBasicPolicy-39593306-00173817 ID is 87ee8549-0ada-4010-8216-907ca0c5f40d 2025-08-15 09:37:47,995 - DEBUG - VM ctest-TestBasicPolicy-39593306-00173817 launched on Node cn-jenkins-deploy-platform-ansible-os-3863-1 2025-08-15 09:37:48,062 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/87ee8549-0ada-4010-8216-907ca0c5f40d 2025-08-15 09:37:48,069 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cece29e8-2ea8-4006-af49-3f4446e5eedb 2025-08-15 09:37:49,295 - 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=4.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.50 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.504/3.087/4.671/1.583 ms') 2025-08-15 09:37:49,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39593306-00173817 passed 2025-08-15 09:37:49,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:37:49,446 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39593306-00173817, IP 147.60.164.131, Port 22 2025-08-15 09:37:49,605 - DEBUG - VM ctest-TestBasicPolicy-39593306-00173817 is ready for SSH connections 2025-08-15 09:37:49,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:37:49,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.60.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-15 09:37:49,606 - DEBUG - ping -s 56 -c 3 -W 1 147.60.164.131 2025-08-15 09:37:53,315 - DEBUG - PING 147.60.164.131 (147.60.164.131): 56 data bytes 64 bytes from 147.60.164.131: seq=0 ttl=63 time=3.203 ms 64 bytes from 147.60.164.131: seq=1 ttl=63 time=0.694 ms 64 bytes from 147.60.164.131: seq=2 ttl=63 time=0.707 ms --- 147.60.164.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.694/1.534/3.203 ms 2025-08-15 09:37:53,315 - INFO - Ping to IP 147.60.164.131 from VM ctest-TestBasicPolicy-39593306-28999295 passed 2025-08-15 09:37:53,490 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d5a9b371-68c5-4a66-a8f7-3892027d7a2e", "href": "http://10.0.0.41:8082/network-policy/d5a9b371-68c5-4a66-a8f7-3892027d7a2e"}} 2025-08-15 09:37:53,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:37:53,490 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.60.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-08-15 09:37:53,490 - DEBUG - ping -s 56 -c 3 -W 1 147.60.164.131 2025-08-15 09:37:56,688 - DEBUG - PING 147.60.164.131 (147.60.164.131): 56 data bytes --- 147.60.164.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 09:37:56,688 - WARNING - Ping to IP 147.60.164.131 from VM ctest-TestBasicPolicy-39593306-28999295 failed 2025-08-15 09:37:56,689 - INFO - Deleting VM ctest-TestBasicPolicy-39593306-00173817 2025-08-15 09:37:56,745 - INFO - Deleting VM ctest-TestBasicPolicy-39593306-28999295 2025-08-15 09:37:57,111 - INFO - Deleted policy ctest-policy-allow-all-99402523 2025-08-15 09:37:57,111 - INFO - Deleting VN ctest-vn-02693467 2025-08-15 09:37:57,145 - DEBUG - VN 32e9d5e4-e8c7-4c49-97e8-360fbc02868b still in use: Unable to complete operation on network 32e9d5e4-e8c7-4c49-97e8-360fbc02868b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e94a3714-65c9-4712-aec2-5c1488f95cd7'] 2025-08-15 09:37:57,145 - WARNING - Deleting VN ctest-vn-02693467 failed..Will retry 2025-08-15 09:37:59,242 - DEBUG - Response for deleting network () 2025-08-15 09:37:59,242 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/fe19f47f-e00d-470f-9342-291588222fcb 2025-08-15 09:37:59,246 - DEBUG - Response Code: 404 2025-08-15 09:37:59,247 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-15 09:37:59,255 - DEBUG - Requesting: http://10.0.0.41:8082/domain/49aa4ce0-7fff-469c-a8e7-8aa08626eb89 2025-08-15 09:37:59,311 - DEBUG - Requesting: http://10.0.0.41:8082/project/fe974a78-2397-4089-bae1-8c4d6e8d0a58 2025-08-15 09:37:59,386 - INFO - Validated that VN ctest-vn-02693467 is not found in API Server 2025-08-15 09:37:59,396 - DEBUG - VN ctest-vn-02693467 is not present in Agent 10.0.0.41 2025-08-15 09:37:59,396 - INFO - Validated that VN ctest-vn-02693467 is not in any agent 2025-08-15 09:37:59,411 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02693467 info 2025-08-15 09:37:59,411 - INFO - Deleting VN ctest-vn-40320538 2025-08-15 09:37:59,527 - DEBUG - Response for deleting network () 2025-08-15 09:37:59,527 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/321b4294-bc0c-4fa6-a2a0-3e0467f6d82c 2025-08-15 09:37:59,534 - DEBUG - Response Code: 404 2025-08-15 09:37:59,534 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-08-15 09:37:59,541 - DEBUG - Requesting: http://10.0.0.41:8082/domain/49aa4ce0-7fff-469c-a8e7-8aa08626eb89 2025-08-15 09:37:59,594 - DEBUG - Requesting: http://10.0.0.41:8082/project/fe974a78-2397-4089-bae1-8c4d6e8d0a58 2025-08-15 09:37:59,663 - INFO - Validated that VN ctest-vn-40320538 is not found in API Server 2025-08-15 09:37:59,672 - DEBUG - VN ctest-vn-40320538 is not present in Agent 10.0.0.41 2025-08-15 09:37:59,672 - INFO - Validated that VN ctest-vn-40320538 is not in any agent 2025-08-15 09:37:59,685 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40320538 info 2025-08-15 09:37:59,935 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 09:37:59,935 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-08-15 09:37:59,935 - INFO - -------------------------------------------------------------------------------- 2025-08-15 09:38:00,604 - INFO - Deleted project: ctest-TestBasicPolicy-39593306, ID : fe974a78-2397-4089-bae1-8c4d6e8d0a58