2025-08-31 00:11:21,938 - INFO - Domain Default found not creating 2025-08-31 00:11:22,099 - INFO - Project ctest-TestBasicPolicy-97920660 not found, creating it 2025-08-31 00:11:22,546 - INFO - Created Project:ctest-TestBasicPolicy-97920660, ID : cb598dd5-fa65-4294-8b61-7052e9cc5a7a 2025-08-31 00:11:24,009 - INFO - ================================================================================ 2025-08-31 00:11:24,010 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-31 00:11:24,010 - 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-31 00:11:24,264 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-31 00:11:24,264 - INFO - Initial checks done. Running the testcase now 2025-08-31 00:11:24,264 - INFO - 2025-08-31 00:11:24,805 - DEBUG - Response for create_network : {'network': {'id': '6b34c5f8-612a-4e59-9465-b2c45563a7c7', 'name': 'ctest-vn-69650266', 'tenant_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'project_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-vn-69650266'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:11:24,984 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb990c76-58b5-4f71-bfe8-b1541e4b9e33', 'name': '', 'tenant_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'network_id': '6b34c5f8-612a-4e59-9465-b2c45563a7c7', 'ip_version': 4, 'cidr': '67.224.122.192/26', 'allocation_pools': [{'start': '67.224.122.194', 'end': '67.224.122.254'}], 'gateway_ip': '67.224.122.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.224.122.194', 'tags': [], 'project_id': 'cb598dd5fa6542948b617052e9cc5a7a'}} 2025-08-31 00:11:25,004 - INFO - Created VN ctest-vn-69650266 2025-08-31 00:11:25,058 - DEBUG - VN ctest-vn-69650266 UUID is 6b34c5f8-612a-4e59-9465-b2c45563a7c7 2025-08-31 00:11:25,347 - DEBUG - Response for create_network : {'network': {'id': '0aa7580b-7255-4101-9f6b-160faec382e4', 'name': 'ctest-vn-48699446', 'tenant_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'project_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-vn-48699446'], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:11:25,581 - DEBUG - Response for create_subnet : {'subnet': {'id': '0459f6d7-777e-48bd-8181-8646014d1335', 'name': '', 'tenant_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'network_id': '0aa7580b-7255-4101-9f6b-160faec382e4', 'ip_version': 4, 'cidr': '90.144.195.128/26', 'allocation_pools': [{'start': '90.144.195.130', 'end': '90.144.195.190'}], 'gateway_ip': '90.144.195.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.144.195.130', 'tags': [], 'project_id': 'cb598dd5fa6542948b617052e9cc5a7a'}} 2025-08-31 00:11:25,601 - INFO - Created VN ctest-vn-48699446 2025-08-31 00:11:25,654 - DEBUG - VN ctest-vn-48699446 UUID is 0aa7580b-7255-4101-9f6b-160faec382e4 2025-08-31 00:11:25,771 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-69650266, 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-97920660:ctest-vn-48699446, 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-31 00:11:26,068 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6b34c5f8-612a-4e59-9465-b2c45563a7c7', 'name': 'ctest-vn-69650266', 'tenant_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'project_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb990c76-58b5-4f71-bfe8-b1541e4b9e33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-vn-69650266'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-policy-allow-all-77460021']], 'subnet_ipam': [{'subnet_cidr': '67.224.122.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:11:26,308 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0aa7580b-7255-4101-9f6b-160faec382e4', 'name': 'ctest-vn-48699446', 'tenant_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'project_id': 'cb598dd5fa6542948b617052e9cc5a7a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0459f6d7-777e-48bd-8181-8646014d1335'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-vn-48699446'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-policy-allow-all-77460021']], 'subnet_ipam': [{'subnet_cidr': '90.144.195.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-31 00:11:26,458 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-31 00:11:26,775 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-31 00:11:26,806 - DEBUG - Requesting: http://10.0.0.254:8082/domain/57f7f777-828e-4d7a-bb14-b47784a26aae 2025-08-31 00:11:26,819 - DEBUG - Requesting: http://10.0.0.254:8082/project/cb598dd5-fa65-4294-8b61-7052e9cc5a7a 2025-08-31 00:11:26,897 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b34c5f8-612a-4e59-9465-b2c45563a7c7 2025-08-31 00:11:26,908 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b34c5f8-612a-4e59-9465-b2c45563a7c7 2025-08-31 00:11:26,919 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba121d9f-7da5-4333-bfba-92ccb05dd7c3 2025-08-31 00:11:26,928 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba121d9f-7da5-4333-bfba-92ccb05dd7c3 2025-08-31 00:11:26,937 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f2147db4-c772-4c5a-9cd8-7e575a175a85 2025-08-31 00:11:26,946 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 00:11:26,946 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b34c5f8-612a-4e59-9465-b2c45563a7c7 2025-08-31 00:11:26,956 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba121d9f-7da5-4333-bfba-92ccb05dd7c3 2025-08-31 00:11:26,975 - INFO - Verified VN network id 11 for VN 6b34c5f8-612a-4e59-9465-b2c45563a7c7 2025-08-31 00:11:26,975 - INFO - Verifications in API Server for VN ctest-vn-69650266 passed 2025-08-31 00:11:26,975 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b34c5f8-612a-4e59-9465-b2c45563a7c7 2025-08-31 00:11:26,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba121d9f-7da5-4333-bfba-92ccb05dd7c3 2025-08-31 00:11:26,996 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba121d9f-7da5-4333-bfba-92ccb05dd7c3 2025-08-31 00:11:27,007 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/f2147db4-c772-4c5a-9cd8-7e575a175a85 2025-08-31 00:11:27,021 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-69650266', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97920660', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7725016931419967065', 'uuid-lslong': '10693149446577039303'}, 'enable': 'true', 'created': '2025-08-31T00:11:24', 'last-modified': '2025-08-31T00:11:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973767'} 2025-08-31 00:11:27,028 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-31 00:11:27,028 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69650266 passed 2025-08-31 00:11:27,028 - DEBUG - ====Verifying policy data for ctest-vn-69650266 in API_Server ====== 2025-08-31 00:11:27,028 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-31 00:11:27,035 - DEBUG - Requesting: http://10.0.0.254:8082/domain/57f7f777-828e-4d7a-bb14-b47784a26aae 2025-08-31 00:11:27,048 - DEBUG - Requesting: http://10.0.0.254:8082/project/cb598dd5-fa65-4294-8b61-7052e9cc5a7a 2025-08-31 00:11:27,127 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6b34c5f8-612a-4e59-9465-b2c45563a7c7 2025-08-31 00:11:27,137 - DEBUG - ==>Verifying data for policy with id: 1d1b6e1b-9ec4-480c-92bc-d0ab425bc674, fqn: ['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-policy-allow-all-77460021'] 2025-08-31 00:11:27,137 - INFO - VN ctest-vn-69650266 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 00:11:27,137 - DEBUG - Verifying the vn in opserver 2025-08-31 00:11:27,138 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-69650266 virtual network link through opserver 10.0.0.254 2025-08-31 00:11:27,138 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-31 00:11:27,434 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-31 00:11:27,496 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-69650266', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-69650266?flat'} 2025-08-31 00:11:27,496 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-69650266 is found in opserver 2025-08-31 00:11:27,505 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 00:11:27,509 - DEBUG - VRF ids for VN ctest-vn-69650266: {} 2025-08-31 00:11:27,509 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-31 00:11:27,515 - DEBUG - Requesting: http://10.0.0.254:8082/domain/57f7f777-828e-4d7a-bb14-b47784a26aae 2025-08-31 00:11:27,526 - DEBUG - Requesting: http://10.0.0.254:8082/project/cb598dd5-fa65-4294-8b61-7052e9cc5a7a 2025-08-31 00:11:27,595 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0aa7580b-7255-4101-9f6b-160faec382e4 2025-08-31 00:11:27,605 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0aa7580b-7255-4101-9f6b-160faec382e4 2025-08-31 00:11:27,615 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/233537c1-a6d0-4d51-ba6c-563b3c98d8b3 2025-08-31 00:11:27,622 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/233537c1-a6d0-4d51-ba6c-563b3c98d8b3 2025-08-31 00:11:27,630 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e3b933cf-2b4e-4bf1-94d8-7407243494a2 2025-08-31 00:11:27,637 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 00:11:27,638 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0aa7580b-7255-4101-9f6b-160faec382e4 2025-08-31 00:11:27,648 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/233537c1-a6d0-4d51-ba6c-563b3c98d8b3 2025-08-31 00:11:27,664 - INFO - Verified VN network id 12 for VN 0aa7580b-7255-4101-9f6b-160faec382e4 2025-08-31 00:11:27,665 - INFO - Verifications in API Server for VN ctest-vn-48699446 passed 2025-08-31 00:11:27,665 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0aa7580b-7255-4101-9f6b-160faec382e4 2025-08-31 00:11:27,674 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/233537c1-a6d0-4d51-ba6c-563b3c98d8b3 2025-08-31 00:11:27,681 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/233537c1-a6d0-4d51-ba6c-563b3c98d8b3 2025-08-31 00:11:27,688 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/e3b933cf-2b4e-4bf1-94d8-7407243494a2 2025-08-31 00:11:27,702 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-48699446', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97920660', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '767679067676033281', 'uuid-lslong': '11487299531150951140'}, 'enable': 'true', 'created': '2025-08-31T00:11:25', 'last-modified': '2025-08-31T00:11:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.462878'} 2025-08-31 00:11:27,708 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-31 00:11:27,708 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48699446 passed 2025-08-31 00:11:27,708 - DEBUG - ====Verifying policy data for ctest-vn-48699446 in API_Server ====== 2025-08-31 00:11:27,709 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-31 00:11:27,716 - DEBUG - Requesting: http://10.0.0.254:8082/domain/57f7f777-828e-4d7a-bb14-b47784a26aae 2025-08-31 00:11:27,728 - DEBUG - Requesting: http://10.0.0.254:8082/project/cb598dd5-fa65-4294-8b61-7052e9cc5a7a 2025-08-31 00:11:27,797 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0aa7580b-7255-4101-9f6b-160faec382e4 2025-08-31 00:11:27,806 - DEBUG - ==>Verifying data for policy with id: 1d1b6e1b-9ec4-480c-92bc-d0ab425bc674, fqn: ['default-domain', 'ctest-TestBasicPolicy-97920660', 'ctest-policy-allow-all-77460021'] 2025-08-31 00:11:27,806 - INFO - VN ctest-vn-48699446 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-31 00:11:27,806 - DEBUG - Verifying the vn in opserver 2025-08-31 00:11:27,806 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-48699446 virtual network link through opserver 10.0.0.254 2025-08-31 00:11:27,806 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-31 00:11:27,816 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-48699446', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-48699446?flat'} 2025-08-31 00:11:27,816 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-48699446 is found in opserver 2025-08-31 00:11:27,825 - DEBUG - Do not have enough data to verify VN in agent 2025-08-31 00:11:27,829 - DEBUG - VRF ids for VN ctest-vn-48699446: {} 2025-08-31 00:11:27,888 - DEBUG - Services list from nova: [, , ] 2025-08-31 00:11:28,935 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:11:30,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3985-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3985-1) 2025-08-31 00:11:30,174 - INFO - Waiting for VM ctest-TestBasicPolicy-97920660-82291504 to be up.. 2025-08-31 00:11:30,255 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-31 00:11:35,334 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:11:35,334 - INFO - VM name : ctest-TestBasicPolicy-97920660-82291504 2025-08-31 00:11:35,425 - DEBUG - VM ctest-TestBasicPolicy-97920660-82291504 ID is 992b0d91-d31d-4737-849d-2acb0b28c9da 2025-08-31 00:11:35,446 - DEBUG - VM ctest-TestBasicPolicy-97920660-82291504 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:11:35,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/992b0d91-d31d-4737-849d-2acb0b28c9da 2025-08-31 00:11:35,540 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/eb54f020-538d-4555-bc52-a394650aa454 2025-08-31 00:11:38,786 - 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-08-31 00:11:38,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97920660-82291504 failed! 2025-08-31 00:11:38,842 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97920660:ctest-vn-69650266 is 67.224.122.193 and allocation pool is NOT set 2025-08-31 00:11:40,907 - 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=9.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.73 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 = 2.728/6.055/9.382/3.327 ms') 2025-08-31 00:11:40,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97920660-82291504 passed 2025-08-31 00:11:41,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:11:41,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97920660-82291504, IP 67.224.122.195, Port 22 2025-08-31 00:11:41,132 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-31 00:11:41,235 - DEBUG - VM ctest-TestBasicPolicy-97920660-82291504 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-31 00:11:46,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:11:46,235 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97920660-82291504, IP 67.224.122.195, Port 22 2025-08-31 00:11:46,393 - DEBUG - VM ctest-TestBasicPolicy-97920660-82291504 is ready for SSH connections 2025-08-31 00:11:46,394 - INFO - Waiting for VM ctest-TestBasicPolicy-97920660-51967834 to be up.. 2025-08-31 00:11:46,474 - DEBUG - VM is in ACTIVE state now 2025-08-31 00:11:46,474 - INFO - VM name : ctest-TestBasicPolicy-97920660-51967834 2025-08-31 00:11:46,556 - DEBUG - VM ctest-TestBasicPolicy-97920660-51967834 ID is 34b35691-94e1-4518-ba0f-420daf849175 2025-08-31 00:11:46,557 - DEBUG - VM ctest-TestBasicPolicy-97920660-51967834 launched on Node cn-jenkins-deploy-platform-ansible-os-3985-1 2025-08-31 00:11:46,643 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/34b35691-94e1-4518-ba0f-420daf849175 2025-08-31 00:11:46,653 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ee8941f7-3485-4a1c-a90e-ba62764bbbe9 2025-08-31 00:11:47,905 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/1.852/3.062/1.210 ms') 2025-08-31 00:11:47,905 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97920660-51967834 passed 2025-08-31 00:11:48,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:11:48,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97920660-51967834, IP 90.144.195.131, Port 22 2025-08-31 00:11:48,218 - DEBUG - VM ctest-TestBasicPolicy-97920660-51967834 is ready for SSH connections 2025-08-31 00:11:48,218 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:11:48,218 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.144.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:11:48,218 - DEBUG - ping -s 56 -c 3 -W 1 90.144.195.131 2025-08-31 00:11:51,937 - DEBUG - PING 90.144.195.131 (90.144.195.131): 56 data bytes 64 bytes from 90.144.195.131: seq=0 ttl=63 time=3.638 ms 64 bytes from 90.144.195.131: seq=1 ttl=63 time=1.218 ms 64 bytes from 90.144.195.131: seq=2 ttl=63 time=1.318 ms --- 90.144.195.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.218/2.058/3.638 ms 2025-08-31 00:11:51,937 - INFO - Ping to IP 90.144.195.131 from VM ctest-TestBasicPolicy-97920660-82291504 passed 2025-08-31 00:11:52,126 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1d1b6e1b-9ec4-480c-92bc-d0ab425bc674", "href": "http://10.0.0.254:8082/network-policy/1d1b6e1b-9ec4-480c-92bc-d0ab425bc674"}} 2025-08-31 00:11:52,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-31 00:11:52,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.144.195.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-31 00:11:52,126 - DEBUG - ping -s 56 -c 3 -W 1 90.144.195.131 2025-08-31 00:11:55,332 - DEBUG - PING 90.144.195.131 (90.144.195.131): 56 data bytes --- 90.144.195.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-31 00:11:55,333 - WARNING - Ping to IP 90.144.195.131 from VM ctest-TestBasicPolicy-97920660-82291504 failed 2025-08-31 00:11:55,333 - INFO - Deleting VM ctest-TestBasicPolicy-97920660-51967834 2025-08-31 00:11:55,421 - INFO - Deleting VM ctest-TestBasicPolicy-97920660-82291504 2025-08-31 00:11:55,894 - INFO - Deleted policy ctest-policy-allow-all-77460021 2025-08-31 00:11:55,894 - INFO - Deleting VN ctest-vn-48699446 2025-08-31 00:11:55,939 - DEBUG - VN 0aa7580b-7255-4101-9f6b-160faec382e4 still in use: Unable to complete operation on network 0aa7580b-7255-4101-9f6b-160faec382e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d5dce8a3-3b3e-4749-9396-d3e8f8a81120'] 2025-08-31 00:11:55,939 - WARNING - Deleting VN ctest-vn-48699446 failed..Will retry 2025-08-31 00:11:58,049 - DEBUG - Response for deleting network () 2025-08-31 00:11:58,049 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/233537c1-a6d0-4d51-ba6c-563b3c98d8b3 2025-08-31 00:11:58,054 - DEBUG - Response Code: 404 2025-08-31 00:11:58,054 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-31 00:11:58,059 - DEBUG - Requesting: http://10.0.0.254:8082/domain/57f7f777-828e-4d7a-bb14-b47784a26aae 2025-08-31 00:11:58,112 - DEBUG - Requesting: http://10.0.0.254:8082/project/cb598dd5-fa65-4294-8b61-7052e9cc5a7a 2025-08-31 00:11:58,191 - INFO - Validated that VN ctest-vn-48699446 is not found in API Server 2025-08-31 00:11:58,203 - DEBUG - VN ctest-vn-48699446 is not present in Agent 10.0.0.254 2025-08-31 00:11:58,203 - INFO - Validated that VN ctest-vn-48699446 is not in any agent 2025-08-31 00:11:58,223 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48699446 info 2025-08-31 00:11:58,223 - INFO - Deleting VN ctest-vn-69650266 2025-08-31 00:11:58,347 - DEBUG - Response for deleting network () 2025-08-31 00:11:58,347 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ba121d9f-7da5-4333-bfba-92ccb05dd7c3 2025-08-31 00:11:58,359 - DEBUG - Response Code: 404 2025-08-31 00:11:58,359 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-31 00:11:58,364 - DEBUG - Requesting: http://10.0.0.254:8082/domain/57f7f777-828e-4d7a-bb14-b47784a26aae 2025-08-31 00:11:58,420 - DEBUG - Requesting: http://10.0.0.254:8082/project/cb598dd5-fa65-4294-8b61-7052e9cc5a7a 2025-08-31 00:11:58,504 - INFO - Validated that VN ctest-vn-69650266 is not found in API Server 2025-08-31 00:11:58,514 - DEBUG - VN ctest-vn-69650266 is not present in Agent 10.0.0.254 2025-08-31 00:11:58,515 - INFO - Validated that VN ctest-vn-69650266 is not in any agent 2025-08-31 00:11:58,530 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69650266 info 2025-08-31 00:11:58,807 - DEBUG - No XMPP flaps were noticed during the test 2025-08-31 00:11:58,807 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-08-31 00:11:58,807 - INFO - -------------------------------------------------------------------------------- 2025-08-31 00:11:59,624 - INFO - Deleted project: ctest-TestBasicPolicy-97920660, ID : cb598dd5-fa65-4294-8b61-7052e9cc5a7a