2025-06-20 07:58:45,696 - INFO - Domain Default found not creating 2025-06-20 07:58:45,853 - INFO - Project ctest-TestBasicPolicy-57138129 not found, creating it 2025-06-20 07:58:46,323 - INFO - Created Project:ctest-TestBasicPolicy-57138129, ID : 6c44065d-006b-4aaa-b947-0853f568ac6a 2025-06-20 07:58:47,771 - INFO - ================================================================================ 2025-06-20 07:58:47,773 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-20 07:58:47,773 - 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-06-20 07:58:48,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-20 07:58:48,030 - INFO - Initial checks done. Running the testcase now 2025-06-20 07:58:48,030 - INFO - 2025-06-20 07:58:48,588 - DEBUG - Response for create_network : {'network': {'id': 'a68ceebc-69e4-410d-b26f-bf79d693ccd4', 'name': 'ctest-vn-65235311', 'tenant_id': '6c44065d006b4aaab9470853f568ac6a', 'project_id': '6c44065d006b4aaab9470853f568ac6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-vn-65235311'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 07:58:48,814 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad7fe6ec-0578-4ba5-8548-64794edebf3d', 'name': '', 'tenant_id': '6c44065d006b4aaab9470853f568ac6a', 'network_id': 'a68ceebc-69e4-410d-b26f-bf79d693ccd4', 'ip_version': 4, 'cidr': '134.58.126.0/26', 'allocation_pools': [{'start': '134.58.126.2', 'end': '134.58.126.62'}], 'gateway_ip': '134.58.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.58.126.2', 'tags': [], 'project_id': '6c44065d006b4aaab9470853f568ac6a'}} 2025-06-20 07:58:48,836 - INFO - Created VN ctest-vn-65235311 2025-06-20 07:58:48,889 - DEBUG - VN ctest-vn-65235311 UUID is a68ceebc-69e4-410d-b26f-bf79d693ccd4 2025-06-20 07:58:49,202 - DEBUG - Response for create_network : {'network': {'id': 'a9c33d7e-1e68-482c-8481-f68bf8492a1a', 'name': 'ctest-vn-35189324', 'tenant_id': '6c44065d006b4aaab9470853f568ac6a', 'project_id': '6c44065d006b4aaab9470853f568ac6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-vn-35189324'], 'port_security_enabled': True, 'description': ''}} 2025-06-20 07:58:49,441 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa3c6fc6-d77b-4ec9-be9d-a75526b5d037', 'name': '', 'tenant_id': '6c44065d006b4aaab9470853f568ac6a', 'network_id': 'a9c33d7e-1e68-482c-8481-f68bf8492a1a', 'ip_version': 4, 'cidr': '166.99.118.128/26', 'allocation_pools': [{'start': '166.99.118.130', 'end': '166.99.118.190'}], 'gateway_ip': '166.99.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.99.118.130', 'tags': [], 'project_id': '6c44065d006b4aaab9470853f568ac6a'}} 2025-06-20 07:58:49,458 - INFO - Created VN ctest-vn-35189324 2025-06-20 07:58:49,513 - DEBUG - VN ctest-vn-35189324 UUID is a9c33d7e-1e68-482c-8481-f68bf8492a1a 2025-06-20 07:58:49,631 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-65235311, 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-57138129:ctest-vn-35189324, 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-06-20 07:58:49,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a68ceebc-69e4-410d-b26f-bf79d693ccd4', 'name': 'ctest-vn-65235311', 'tenant_id': '6c44065d006b4aaab9470853f568ac6a', 'project_id': '6c44065d006b4aaab9470853f568ac6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad7fe6ec-0578-4ba5-8548-64794edebf3d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-vn-65235311'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-policy-allow-all-85784173']], 'subnet_ipam': [{'subnet_cidr': '134.58.126.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 07:58:50,271 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a9c33d7e-1e68-482c-8481-f68bf8492a1a', 'name': 'ctest-vn-35189324', 'tenant_id': '6c44065d006b4aaab9470853f568ac6a', 'project_id': '6c44065d006b4aaab9470853f568ac6a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa3c6fc6-d77b-4ec9-be9d-a75526b5d037'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-vn-35189324'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-policy-allow-all-85784173']], 'subnet_ipam': [{'subnet_cidr': '166.99.118.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-20 07:58:50,457 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-20 07:58:50,761 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-20 07:58:50,791 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dea5d9cb-8535-4e67-a9ab-6740332bfc32 2025-06-20 07:58:50,806 - DEBUG - Requesting: http://10.0.0.254:8082/project/6c44065d-006b-4aaa-b947-0853f568ac6a 2025-06-20 07:58:50,884 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a68ceebc-69e4-410d-b26f-bf79d693ccd4 2025-06-20 07:58:50,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a68ceebc-69e4-410d-b26f-bf79d693ccd4 2025-06-20 07:58:50,905 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9656fd9-596d-49a7-8e8a-ccd0922dd82c 2025-06-20 07:58:50,913 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9656fd9-596d-49a7-8e8a-ccd0922dd82c 2025-06-20 07:58:50,920 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2682d0ca-ac67-4e5d-b9f7-f54aec1f412e 2025-06-20 07:58:50,926 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 07:58:50,926 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a68ceebc-69e4-410d-b26f-bf79d693ccd4 2025-06-20 07:58:50,934 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9656fd9-596d-49a7-8e8a-ccd0922dd82c 2025-06-20 07:58:50,948 - INFO - Verified VN network id 9 for VN a68ceebc-69e4-410d-b26f-bf79d693ccd4 2025-06-20 07:58:50,948 - INFO - Verifications in API Server for VN ctest-vn-65235311 passed 2025-06-20 07:58:50,949 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a68ceebc-69e4-410d-b26f-bf79d693ccd4 2025-06-20 07:58:50,959 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9656fd9-596d-49a7-8e8a-ccd0922dd82c 2025-06-20 07:58:50,966 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9656fd9-596d-49a7-8e8a-ccd0922dd82c 2025-06-20 07:58:50,974 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/2682d0ca-ac67-4e5d-b9f7-f54aec1f412e 2025-06-20 07:58:50,987 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-65235311', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57138129', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12001229600033358093', 'uuid-lslong': '12857705991178013908'}, 'enable': 'true', 'created': '2025-06-20T07:58:48', 'last-modified': '2025-06-20T07:58:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.068849'} 2025-06-20 07:58:50,994 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-20 07:58:50,994 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65235311 passed 2025-06-20 07:58:50,994 - DEBUG - ====Verifying policy data for ctest-vn-65235311 in API_Server ====== 2025-06-20 07:58:50,994 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-20 07:58:51,000 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dea5d9cb-8535-4e67-a9ab-6740332bfc32 2025-06-20 07:58:51,013 - DEBUG - Requesting: http://10.0.0.254:8082/project/6c44065d-006b-4aaa-b947-0853f568ac6a 2025-06-20 07:58:51,088 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a68ceebc-69e4-410d-b26f-bf79d693ccd4 2025-06-20 07:58:51,098 - DEBUG - ==>Verifying data for policy with id: 3a2bd35d-657c-4b39-9906-576eafa67f1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-policy-allow-all-85784173'] 2025-06-20 07:58:51,098 - INFO - VN ctest-vn-65235311 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 07:58:51,098 - DEBUG - Verifying the vn in opserver 2025-06-20 07:58:51,098 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-65235311 virtual network link through opserver 10.0.0.254 2025-06-20 07:58:51,099 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-20 07:58:51,395 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-20 07:58:51,456 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-65235311', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-65235311?flat'} 2025-06-20 07:58:51,457 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-65235311 is found in opserver 2025-06-20 07:58:51,468 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 07:58:51,473 - DEBUG - VRF ids for VN ctest-vn-65235311: {} 2025-06-20 07:58:51,473 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-20 07:58:51,479 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dea5d9cb-8535-4e67-a9ab-6740332bfc32 2025-06-20 07:58:51,491 - DEBUG - Requesting: http://10.0.0.254:8082/project/6c44065d-006b-4aaa-b947-0853f568ac6a 2025-06-20 07:58:51,567 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9c33d7e-1e68-482c-8481-f68bf8492a1a 2025-06-20 07:58:51,579 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9c33d7e-1e68-482c-8481-f68bf8492a1a 2025-06-20 07:58:51,588 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b72f5e5-1608-462f-b57d-1462b5cfaf13 2025-06-20 07:58:51,596 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b72f5e5-1608-462f-b57d-1462b5cfaf13 2025-06-20 07:58:51,602 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63e39c50-b6dd-42e9-a859-dc454503ea3f 2025-06-20 07:58:51,608 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 07:58:51,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9c33d7e-1e68-482c-8481-f68bf8492a1a 2025-06-20 07:58:51,617 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b72f5e5-1608-462f-b57d-1462b5cfaf13 2025-06-20 07:58:51,634 - INFO - Verified VN network id 10 for VN a9c33d7e-1e68-482c-8481-f68bf8492a1a 2025-06-20 07:58:51,634 - INFO - Verifications in API Server for VN ctest-vn-35189324 passed 2025-06-20 07:58:51,634 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9c33d7e-1e68-482c-8481-f68bf8492a1a 2025-06-20 07:58:51,646 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b72f5e5-1608-462f-b57d-1462b5cfaf13 2025-06-20 07:58:51,654 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b72f5e5-1608-462f-b57d-1462b5cfaf13 2025-06-20 07:58:51,661 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/63e39c50-b6dd-42e9-a859-dc454503ea3f 2025-06-20 07:58:51,675 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-35189324', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57138129', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12232688624753723436', 'uuid-lslong': '9548183766028593690'}, 'enable': 'true', 'created': '2025-06-20T07:58:49', 'last-modified': '2025-06-20T07:58:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.435092'} 2025-06-20 07:58:51,681 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-20 07:58:51,681 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35189324 passed 2025-06-20 07:58:51,682 - DEBUG - ====Verifying policy data for ctest-vn-35189324 in API_Server ====== 2025-06-20 07:58:51,682 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-20 07:58:51,687 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dea5d9cb-8535-4e67-a9ab-6740332bfc32 2025-06-20 07:58:51,699 - DEBUG - Requesting: http://10.0.0.254:8082/project/6c44065d-006b-4aaa-b947-0853f568ac6a 2025-06-20 07:58:51,775 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a9c33d7e-1e68-482c-8481-f68bf8492a1a 2025-06-20 07:58:51,786 - DEBUG - ==>Verifying data for policy with id: 3a2bd35d-657c-4b39-9906-576eafa67f1a, fqn: ['default-domain', 'ctest-TestBasicPolicy-57138129', 'ctest-policy-allow-all-85784173'] 2025-06-20 07:58:51,786 - INFO - VN ctest-vn-35189324 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-20 07:58:51,786 - DEBUG - Verifying the vn in opserver 2025-06-20 07:58:51,786 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-35189324 virtual network link through opserver 10.0.0.254 2025-06-20 07:58:51,787 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-20 07:58:51,799 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-35189324', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-35189324?flat'} 2025-06-20 07:58:51,799 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-35189324 is found in opserver 2025-06-20 07:58:51,811 - DEBUG - Do not have enough data to verify VN in agent 2025-06-20 07:58:51,816 - DEBUG - VRF ids for VN ctest-vn-35189324: {} 2025-06-20 07:58:51,886 - DEBUG - Services list from nova: [, , ] 2025-06-20 07:58:52,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3501-1) 2025-06-20 07:58:54,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3501-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3501-1) 2025-06-20 07:58:54,147 - INFO - Waiting for VM ctest-TestBasicPolicy-57138129-01079371 to be up.. 2025-06-20 07:58:54,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-20 07:58:59,320 - DEBUG - VM is in ACTIVE state now 2025-06-20 07:58:59,320 - INFO - VM name : ctest-TestBasicPolicy-57138129-01079371 2025-06-20 07:58:59,406 - DEBUG - VM ctest-TestBasicPolicy-57138129-01079371 ID is f2ea3b82-d8e7-4eab-8edd-7e2c51e46f6a 2025-06-20 07:58:59,444 - DEBUG - VM ctest-TestBasicPolicy-57138129-01079371 launched on Node cn-jenkins-deploy-platform-ansible-os-3501-1 2025-06-20 07:58:59,558 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f2ea3b82-d8e7-4eab-8edd-7e2c51e46f6a 2025-06-20 07:58:59,571 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/174f1789-fd1c-4d48-94c0-e10096b531fc 2025-06-20 07:59:02,817 - 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 1026ms') 2025-06-20 07:59:02,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57138129-01079371 failed! 2025-06-20 07:59:02,873 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57138129:ctest-vn-65235311 is 134.58.126.1 and allocation pool is NOT set 2025-06-20 07:59:04,939 - 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=6.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 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.538/3.279/6.021/2.741 ms') 2025-06-20 07:59:04,940 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57138129-01079371 passed 2025-06-20 07:59:05,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 07:59:05,097 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57138129-01079371, IP 134.58.126.3, Port 22 2025-06-20 07:59:05,256 - DEBUG - VM ctest-TestBasicPolicy-57138129-01079371 is ready for SSH connections 2025-06-20 07:59:05,256 - INFO - Waiting for VM ctest-TestBasicPolicy-57138129-91364121 to be up.. 2025-06-20 07:59:05,340 - DEBUG - VM is in ACTIVE state now 2025-06-20 07:59:05,340 - INFO - VM name : ctest-TestBasicPolicy-57138129-91364121 2025-06-20 07:59:05,417 - DEBUG - VM ctest-TestBasicPolicy-57138129-91364121 ID is 0c151f8b-78e8-47dc-9962-58ff92448f55 2025-06-20 07:59:05,417 - DEBUG - VM ctest-TestBasicPolicy-57138129-91364121 launched on Node cn-jenkins-deploy-platform-ansible-os-3501-1 2025-06-20 07:59:05,491 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0c151f8b-78e8-47dc-9962-58ff92448f55 2025-06-20 07:59:05,500 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/17397bee-c0ad-42a8-995f-744e35ea8e96 2025-06-20 07:59:06,740 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.399 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.399/2.091/3.783/1.692 ms') 2025-06-20 07:59:06,740 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57138129-91364121 passed 2025-06-20 07:59:06,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 07:59:06,889 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57138129-91364121, IP 166.99.118.131, Port 22 2025-06-20 07:59:07,045 - DEBUG - VM ctest-TestBasicPolicy-57138129-91364121 is ready for SSH connections 2025-06-20 07:59:07,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 07:59:07,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.99.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-20 07:59:07,045 - DEBUG - ping -s 56 -c 3 -W 1 166.99.118.131 2025-06-20 07:59:10,767 - DEBUG - PING 166.99.118.131 (166.99.118.131): 56 data bytes 64 bytes from 166.99.118.131: seq=0 ttl=63 time=4.270 ms 64 bytes from 166.99.118.131: seq=1 ttl=63 time=1.577 ms 64 bytes from 166.99.118.131: seq=2 ttl=63 time=0.846 ms --- 166.99.118.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.231/4.270 ms 2025-06-20 07:59:10,767 - INFO - Ping to IP 166.99.118.131 from VM ctest-TestBasicPolicy-57138129-01079371 passed 2025-06-20 07:59:10,953 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3a2bd35d-657c-4b39-9906-576eafa67f1a", "href": "http://10.0.0.254:8082/network-policy/3a2bd35d-657c-4b39-9906-576eafa67f1a"}} 2025-06-20 07:59:10,953 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-20 07:59:10,953 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.99.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-20 07:59:10,953 - DEBUG - ping -s 56 -c 3 -W 1 166.99.118.131 2025-06-20 07:59:14,149 - DEBUG - PING 166.99.118.131 (166.99.118.131): 56 data bytes 64 bytes from 166.99.118.131: seq=0 ttl=63 time=2.047 ms --- 166.99.118.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.047/2.047/2.047 ms 2025-06-20 07:59:14,149 - WARNING - Ping to IP 166.99.118.131 from VM ctest-TestBasicPolicy-57138129-01079371 failed 2025-06-20 07:59:14,149 - INFO - Deleting VM ctest-TestBasicPolicy-57138129-91364121 2025-06-20 07:59:14,215 - INFO - Deleting VM ctest-TestBasicPolicy-57138129-01079371 2025-06-20 07:59:14,618 - INFO - Deleted policy ctest-policy-allow-all-85784173 2025-06-20 07:59:14,618 - INFO - Deleting VN ctest-vn-35189324 2025-06-20 07:59:14,665 - DEBUG - VN a9c33d7e-1e68-482c-8481-f68bf8492a1a still in use: Unable to complete operation on network a9c33d7e-1e68-482c-8481-f68bf8492a1a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67dd77da-c421-47ff-af4e-37a51d1e08e8'] 2025-06-20 07:59:14,665 - WARNING - Deleting VN ctest-vn-35189324 failed..Will retry 2025-06-20 07:59:16,786 - DEBUG - Response for deleting network () 2025-06-20 07:59:16,786 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b72f5e5-1608-462f-b57d-1462b5cfaf13 2025-06-20 07:59:16,796 - DEBUG - Response Code: 404 2025-06-20 07:59:16,796 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-20 07:59:16,802 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dea5d9cb-8535-4e67-a9ab-6740332bfc32 2025-06-20 07:59:16,860 - DEBUG - Requesting: http://10.0.0.254:8082/project/6c44065d-006b-4aaa-b947-0853f568ac6a 2025-06-20 07:59:16,934 - INFO - Validated that VN ctest-vn-35189324 is not found in API Server 2025-06-20 07:59:16,945 - DEBUG - VN ctest-vn-35189324 is not present in Agent 10.0.0.254 2025-06-20 07:59:16,945 - INFO - Validated that VN ctest-vn-35189324 is not in any agent 2025-06-20 07:59:16,963 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35189324 info 2025-06-20 07:59:16,963 - INFO - Deleting VN ctest-vn-65235311 2025-06-20 07:59:17,075 - DEBUG - Response for deleting network () 2025-06-20 07:59:17,075 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/e9656fd9-596d-49a7-8e8a-ccd0922dd82c 2025-06-20 07:59:17,083 - DEBUG - Response Code: 404 2025-06-20 07:59:17,084 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-20 07:59:17,091 - DEBUG - Requesting: http://10.0.0.254:8082/domain/dea5d9cb-8535-4e67-a9ab-6740332bfc32 2025-06-20 07:59:17,147 - DEBUG - Requesting: http://10.0.0.254:8082/project/6c44065d-006b-4aaa-b947-0853f568ac6a 2025-06-20 07:59:17,224 - INFO - Validated that VN ctest-vn-65235311 is not found in API Server 2025-06-20 07:59:17,236 - DEBUG - VN ctest-vn-65235311 is not present in Agent 10.0.0.254 2025-06-20 07:59:17,236 - INFO - Validated that VN ctest-vn-65235311 is not in any agent 2025-06-20 07:59:17,254 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65235311 info 2025-06-20 07:59:17,510 - DEBUG - No XMPP flaps were noticed during the test 2025-06-20 07:59:17,510 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-20 07:59:17,511 - INFO - -------------------------------------------------------------------------------- 2025-06-20 07:59:18,191 - INFO - Deleted project: ctest-TestBasicPolicy-57138129, ID : 6c44065d-006b-4aaa-b947-0853f568ac6a