2025-05-29 02:27:00,688 - INFO - Domain Default found not creating 2025-05-29 02:27:00,838 - INFO - Project ctest-TestBasicPolicy-39208612 not found, creating it 2025-05-29 02:27:01,302 - INFO - Created Project:ctest-TestBasicPolicy-39208612, ID : 85e80f93-3b62-4490-acb1-469fd87942d1 2025-05-29 02:27:02,945 - INFO - ================================================================================ 2025-05-29 02:27:02,945 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-29 02:27:02,945 - 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-05-29 02:27:03,205 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-29 02:27:03,205 - INFO - Initial checks done. Running the testcase now 2025-05-29 02:27:03,205 - INFO - 2025-05-29 02:27:03,807 - DEBUG - Response for create_network : {'network': {'id': '53ae3cdb-1a32-4a45-a0e9-4bfc3d980066', 'name': 'ctest-vn-55925429', 'tenant_id': '85e80f933b624490acb1469fd87942d1', 'project_id': '85e80f933b624490acb1469fd87942d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-vn-55925429'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:27:04,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da1152d3-e1a0-4ed1-8b4b-54932b11b54a', 'name': '', 'tenant_id': '85e80f933b624490acb1469fd87942d1', 'network_id': '53ae3cdb-1a32-4a45-a0e9-4bfc3d980066', 'ip_version': 4, 'cidr': '137.4.63.192/26', 'allocation_pools': [{'start': '137.4.63.194', 'end': '137.4.63.254'}], 'gateway_ip': '137.4.63.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.4.63.194', 'tags': [], 'project_id': '85e80f933b624490acb1469fd87942d1'}} 2025-05-29 02:27:04,030 - INFO - Created VN ctest-vn-55925429 2025-05-29 02:27:04,086 - DEBUG - VN ctest-vn-55925429 UUID is 53ae3cdb-1a32-4a45-a0e9-4bfc3d980066 2025-05-29 02:27:04,401 - DEBUG - Response for create_network : {'network': {'id': '0027ae3c-5283-43d2-b29e-c2369ccc6644', 'name': 'ctest-vn-45027496', 'tenant_id': '85e80f933b624490acb1469fd87942d1', 'project_id': '85e80f933b624490acb1469fd87942d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-vn-45027496'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:27:04,562 - DEBUG - Response for create_subnet : {'subnet': {'id': 'afefd04f-a3d6-4c85-a7df-a9b82ff32861', 'name': '', 'tenant_id': '85e80f933b624490acb1469fd87942d1', 'network_id': '0027ae3c-5283-43d2-b29e-c2369ccc6644', 'ip_version': 4, 'cidr': '50.72.224.128/26', 'allocation_pools': [{'start': '50.72.224.130', 'end': '50.72.224.190'}], 'gateway_ip': '50.72.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.72.224.130', 'tags': [], 'project_id': '85e80f933b624490acb1469fd87942d1'}} 2025-05-29 02:27:04,581 - INFO - Created VN ctest-vn-45027496 2025-05-29 02:27:04,634 - DEBUG - VN ctest-vn-45027496 UUID is 0027ae3c-5283-43d2-b29e-c2369ccc6644 2025-05-29 02:27:04,752 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-55925429, 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-39208612:ctest-vn-45027496, 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-05-29 02:27:05,055 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53ae3cdb-1a32-4a45-a0e9-4bfc3d980066', 'name': 'ctest-vn-55925429', 'tenant_id': '85e80f933b624490acb1469fd87942d1', 'project_id': '85e80f933b624490acb1469fd87942d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['da1152d3-e1a0-4ed1-8b4b-54932b11b54a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-vn-55925429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-policy-allow-all-08654149']], 'subnet_ipam': [{'subnet_cidr': '137.4.63.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:27:05,288 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0027ae3c-5283-43d2-b29e-c2369ccc6644', 'name': 'ctest-vn-45027496', 'tenant_id': '85e80f933b624490acb1469fd87942d1', 'project_id': '85e80f933b624490acb1469fd87942d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['afefd04f-a3d6-4c85-a7df-a9b82ff32861'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-vn-45027496'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-policy-allow-all-08654149']], 'subnet_ipam': [{'subnet_cidr': '50.72.224.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-29 02:27:05,458 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 02:27:05,804 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 02:27:05,835 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3f7fd15-41f7-4da6-8e46-6701f6716e43 2025-05-29 02:27:05,850 - DEBUG - Requesting: http://10.0.0.50:8082/project/85e80f93-3b62-4490-acb1-469fd87942d1 2025-05-29 02:27:05,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53ae3cdb-1a32-4a45-a0e9-4bfc3d980066 2025-05-29 02:27:05,940 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53ae3cdb-1a32-4a45-a0e9-4bfc3d980066 2025-05-29 02:27:05,953 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4ba5a5b-875a-4798-9c2b-4d44f42c47da 2025-05-29 02:27:05,962 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4ba5a5b-875a-4798-9c2b-4d44f42c47da 2025-05-29 02:27:05,971 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7161e1eb-667b-4b9f-a33c-2088efa1e3a0 2025-05-29 02:27:05,978 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 02:27:05,978 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53ae3cdb-1a32-4a45-a0e9-4bfc3d980066 2025-05-29 02:27:05,989 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4ba5a5b-875a-4798-9c2b-4d44f42c47da 2025-05-29 02:27:06,005 - INFO - Verified VN network id 8 for VN 53ae3cdb-1a32-4a45-a0e9-4bfc3d980066 2025-05-29 02:27:06,006 - INFO - Verifications in API Server for VN ctest-vn-55925429 passed 2025-05-29 02:27:06,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53ae3cdb-1a32-4a45-a0e9-4bfc3d980066 2025-05-29 02:27:06,017 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4ba5a5b-875a-4798-9c2b-4d44f42c47da 2025-05-29 02:27:06,026 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4ba5a5b-875a-4798-9c2b-4d44f42c47da 2025-05-29 02:27:06,033 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7161e1eb-667b-4b9f-a33c-2088efa1e3a0 2025-05-29 02:27:06,045 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-55925429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39208612', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6029823862830680645', 'uuid-lslong': '11594882262379266150'}, 'enable': 'true', 'created': '2025-05-29T02:27:03', 'last-modified': '2025-05-29T02:27:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019514'} 2025-05-29 02:27:06,052 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-29 02:27:06,052 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55925429 passed 2025-05-29 02:27:06,052 - DEBUG - ====Verifying policy data for ctest-vn-55925429 in API_Server ====== 2025-05-29 02:27:06,053 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 02:27:06,058 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3f7fd15-41f7-4da6-8e46-6701f6716e43 2025-05-29 02:27:06,070 - DEBUG - Requesting: http://10.0.0.50:8082/project/85e80f93-3b62-4490-acb1-469fd87942d1 2025-05-29 02:27:06,143 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53ae3cdb-1a32-4a45-a0e9-4bfc3d980066 2025-05-29 02:27:06,153 - DEBUG - ==>Verifying data for policy with id: 2ee05698-2b5d-47b2-8237-95a5bc5009c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-policy-allow-all-08654149'] 2025-05-29 02:27:06,153 - INFO - VN ctest-vn-55925429 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 02:27:06,153 - DEBUG - Verifying the vn in opserver 2025-05-29 02:27:06,153 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-55925429 virtual network link through opserver 10.0.0.50 2025-05-29 02:27:06,153 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-29 02:27:06,492 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-29 02:27:06,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-55925429', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-55925429?flat'} 2025-05-29 02:27:06,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-55925429 is found in opserver 2025-05-29 02:27:06,564 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 02:27:06,569 - DEBUG - VRF ids for VN ctest-vn-55925429: {} 2025-05-29 02:27:06,569 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 02:27:06,575 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3f7fd15-41f7-4da6-8e46-6701f6716e43 2025-05-29 02:27:06,587 - DEBUG - Requesting: http://10.0.0.50:8082/project/85e80f93-3b62-4490-acb1-469fd87942d1 2025-05-29 02:27:06,664 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0027ae3c-5283-43d2-b29e-c2369ccc6644 2025-05-29 02:27:06,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0027ae3c-5283-43d2-b29e-c2369ccc6644 2025-05-29 02:27:06,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5272b70-7553-4039-98f4-59586eaf427d 2025-05-29 02:27:06,696 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5272b70-7553-4039-98f4-59586eaf427d 2025-05-29 02:27:06,703 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4c9035a-3306-4fcc-9e8f-8f5eb940124c 2025-05-29 02:27:06,709 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 02:27:06,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0027ae3c-5283-43d2-b29e-c2369ccc6644 2025-05-29 02:27:06,719 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5272b70-7553-4039-98f4-59586eaf427d 2025-05-29 02:27:06,734 - INFO - Verified VN network id 9 for VN 0027ae3c-5283-43d2-b29e-c2369ccc6644 2025-05-29 02:27:06,734 - INFO - Verifications in API Server for VN ctest-vn-45027496 passed 2025-05-29 02:27:06,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0027ae3c-5283-43d2-b29e-c2369ccc6644 2025-05-29 02:27:06,744 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5272b70-7553-4039-98f4-59586eaf427d 2025-05-29 02:27:06,751 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5272b70-7553-4039-98f4-59586eaf427d 2025-05-29 02:27:06,758 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f4c9035a-3306-4fcc-9e8f-8f5eb940124c 2025-05-29 02:27:06,771 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-45027496', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-39208612', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11169098197320658', 'uuid-lslong': '12870938324886120004'}, 'enable': 'true', 'created': '2025-05-29T02:27:04', 'last-modified': '2025-05-29T02:27:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.505953'} 2025-05-29 02:27:06,777 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-29 02:27:06,777 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45027496 passed 2025-05-29 02:27:06,778 - DEBUG - ====Verifying policy data for ctest-vn-45027496 in API_Server ====== 2025-05-29 02:27:06,778 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 02:27:06,783 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3f7fd15-41f7-4da6-8e46-6701f6716e43 2025-05-29 02:27:06,795 - DEBUG - Requesting: http://10.0.0.50:8082/project/85e80f93-3b62-4490-acb1-469fd87942d1 2025-05-29 02:27:06,869 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0027ae3c-5283-43d2-b29e-c2369ccc6644 2025-05-29 02:27:06,880 - DEBUG - ==>Verifying data for policy with id: 2ee05698-2b5d-47b2-8237-95a5bc5009c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-39208612', 'ctest-policy-allow-all-08654149'] 2025-05-29 02:27:06,880 - INFO - VN ctest-vn-45027496 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-29 02:27:06,880 - DEBUG - Verifying the vn in opserver 2025-05-29 02:27:06,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-45027496 virtual network link through opserver 10.0.0.50 2025-05-29 02:27:06,880 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-05-29 02:27:06,891 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-45027496', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-45027496?flat'} 2025-05-29 02:27:06,891 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-45027496 is found in opserver 2025-05-29 02:27:06,903 - DEBUG - Do not have enough data to verify VN in agent 2025-05-29 02:27:06,908 - DEBUG - VRF ids for VN ctest-vn-45027496: {} 2025-05-29 02:27:06,965 - DEBUG - Services list from nova: [, , ] 2025-05-29 02:27:08,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3360-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3360-1) 2025-05-29 02:27:09,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3360-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3360-1) 2025-05-29 02:27:09,382 - INFO - Waiting for VM ctest-TestBasicPolicy-39208612-32771642 to be up.. 2025-05-29 02:27:09,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 02:27:14,546 - DEBUG - VM is in ACTIVE state now 2025-05-29 02:27:14,546 - INFO - VM name : ctest-TestBasicPolicy-39208612-32771642 2025-05-29 02:27:14,629 - DEBUG - VM ctest-TestBasicPolicy-39208612-32771642 ID is f3b9e422-b3ca-4807-92b3-a7779077ec08 2025-05-29 02:27:14,649 - DEBUG - VM ctest-TestBasicPolicy-39208612-32771642 launched on Node cn-jenkins-deploy-platform-ansible-os-3360-1 2025-05-29 02:27:14,738 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3b9e422-b3ca-4807-92b3-a7779077ec08 2025-05-29 02:27:14,748 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9b8400bd-3e3d-4379-b757-bd003bd0873f 2025-05-29 02:27:18,022 - 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 1023ms') 2025-05-29 02:27:18,023 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39208612-32771642 failed! 2025-05-29 02:27:18,078 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-39208612:ctest-vn-55925429 is 137.4.63.193 and allocation pool is NOT set 2025-05-29 02:27:20,137 - 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=7.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.443 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.443/3.771/7.099/3.328 ms') 2025-05-29 02:27:20,137 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-39208612-32771642 passed 2025-05-29 02:27:20,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:27:20,291 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39208612-32771642, IP 137.4.63.195, Port 22 2025-05-29 02:27:20,357 - 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-05-29 02:27:20,436 - DEBUG - VM ctest-TestBasicPolicy-39208612-32771642 is NOT ready for SSH connections, VM status: ACTIVE 2025-05-29 02:27:25,437 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:27:25,437 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39208612-32771642, IP 137.4.63.195, Port 22 2025-05-29 02:27:25,594 - DEBUG - VM ctest-TestBasicPolicy-39208612-32771642 is ready for SSH connections 2025-05-29 02:27:25,594 - INFO - Waiting for VM ctest-TestBasicPolicy-39208612-85032149 to be up.. 2025-05-29 02:27:25,674 - DEBUG - VM is in ACTIVE state now 2025-05-29 02:27:25,675 - INFO - VM name : ctest-TestBasicPolicy-39208612-85032149 2025-05-29 02:27:25,756 - DEBUG - VM ctest-TestBasicPolicy-39208612-85032149 ID is 2632be1d-25b1-4a4e-9073-93af160a3ebe 2025-05-29 02:27:25,756 - DEBUG - VM ctest-TestBasicPolicy-39208612-85032149 launched on Node cn-jenkins-deploy-platform-ansible-os-3360-1 2025-05-29 02:27:25,839 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2632be1d-25b1-4a4e-9073-93af160a3ebe 2025-05-29 02:27:25,849 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/18493e77-739c-449f-b6a3-0bb99c09974e 2025-05-29 02:27:27,094 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.304 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.304/1.675/3.046/1.371 ms') 2025-05-29 02:27:27,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-39208612-85032149 passed 2025-05-29 02:27:27,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:27:27,243 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-39208612-85032149, IP 50.72.224.131, Port 22 2025-05-29 02:27:27,397 - DEBUG - VM ctest-TestBasicPolicy-39208612-85032149 is ready for SSH connections 2025-05-29 02:27:27,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:27:27,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.72.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 02:27:27,398 - DEBUG - ping -s 56 -c 3 -W 1 50.72.224.131 2025-05-29 02:27:31,123 - DEBUG - PING 50.72.224.131 (50.72.224.131): 56 data bytes 64 bytes from 50.72.224.131: seq=0 ttl=63 time=3.690 ms 64 bytes from 50.72.224.131: seq=1 ttl=63 time=0.803 ms 64 bytes from 50.72.224.131: seq=2 ttl=63 time=0.886 ms --- 50.72.224.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/1.793/3.690 ms 2025-05-29 02:27:31,123 - INFO - Ping to IP 50.72.224.131 from VM ctest-TestBasicPolicy-39208612-32771642 passed 2025-05-29 02:27:31,302 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2ee05698-2b5d-47b2-8237-95a5bc5009c0", "href": "http://10.0.0.50:8082/network-policy/2ee05698-2b5d-47b2-8237-95a5bc5009c0"}} 2025-05-29 02:27:31,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 02:27:31,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.72.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 02:27:31,302 - DEBUG - ping -s 56 -c 3 -W 1 50.72.224.131 2025-05-29 02:27:34,531 - DEBUG - PING 50.72.224.131 (50.72.224.131): 56 data bytes 64 bytes from 50.72.224.131: seq=0 ttl=63 time=1.594 ms --- 50.72.224.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.594/1.594/1.594 ms 2025-05-29 02:27:34,531 - WARNING - Ping to IP 50.72.224.131 from VM ctest-TestBasicPolicy-39208612-32771642 failed 2025-05-29 02:27:34,531 - INFO - Deleting VM ctest-TestBasicPolicy-39208612-85032149 2025-05-29 02:27:34,600 - INFO - Deleting VM ctest-TestBasicPolicy-39208612-32771642 2025-05-29 02:27:34,988 - INFO - Deleted policy ctest-policy-allow-all-08654149 2025-05-29 02:27:34,988 - INFO - Deleting VN ctest-vn-45027496 2025-05-29 02:27:35,025 - DEBUG - VN 0027ae3c-5283-43d2-b29e-c2369ccc6644 still in use: Unable to complete operation on network 0027ae3c-5283-43d2-b29e-c2369ccc6644. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7a764e3-9ca1-4aa3-9aef-c22094e0e426'] 2025-05-29 02:27:35,025 - WARNING - Deleting VN ctest-vn-45027496 failed..Will retry 2025-05-29 02:27:37,164 - DEBUG - Response for deleting network () 2025-05-29 02:27:37,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5272b70-7553-4039-98f4-59586eaf427d 2025-05-29 02:27:37,173 - DEBUG - Response Code: 404 2025-05-29 02:27:37,174 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 02:27:37,182 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3f7fd15-41f7-4da6-8e46-6701f6716e43 2025-05-29 02:27:37,242 - DEBUG - Requesting: http://10.0.0.50:8082/project/85e80f93-3b62-4490-acb1-469fd87942d1 2025-05-29 02:27:37,316 - INFO - Validated that VN ctest-vn-45027496 is not found in API Server 2025-05-29 02:27:37,329 - DEBUG - VN ctest-vn-45027496 is not present in Agent 10.0.0.50 2025-05-29 02:27:37,329 - INFO - Validated that VN ctest-vn-45027496 is not in any agent 2025-05-29 02:27:37,345 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45027496 info 2025-05-29 02:27:37,345 - INFO - Deleting VN ctest-vn-55925429 2025-05-29 02:27:37,470 - DEBUG - Response for deleting network () 2025-05-29 02:27:37,470 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b4ba5a5b-875a-4798-9c2b-4d44f42c47da 2025-05-29 02:27:37,479 - DEBUG - Response Code: 404 2025-05-29 02:27:37,479 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-05-29 02:27:37,484 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a3f7fd15-41f7-4da6-8e46-6701f6716e43 2025-05-29 02:27:37,540 - DEBUG - Requesting: http://10.0.0.50:8082/project/85e80f93-3b62-4490-acb1-469fd87942d1 2025-05-29 02:27:37,616 - INFO - Validated that VN ctest-vn-55925429 is not found in API Server 2025-05-29 02:27:37,628 - DEBUG - VN ctest-vn-55925429 is not present in Agent 10.0.0.50 2025-05-29 02:27:37,628 - INFO - Validated that VN ctest-vn-55925429 is not in any agent 2025-05-29 02:27:37,644 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55925429 info 2025-05-29 02:27:37,900 - DEBUG - No XMPP flaps were noticed during the test 2025-05-29 02:27:37,900 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-05-29 02:27:37,900 - INFO - -------------------------------------------------------------------------------- 2025-05-29 02:27:38,634 - INFO - Deleted project: ctest-TestBasicPolicy-39208612, ID : 85e80f93-3b62-4490-acb1-469fd87942d1