2025-09-22 02:11:19,620 - INFO - Domain Default found not creating 2025-09-22 02:11:19,752 - INFO - Project ctest-TestBasicPolicy-53846921 not found, creating it 2025-09-22 02:11:20,190 - INFO - Created Project:ctest-TestBasicPolicy-53846921, ID : 8670d7da-c5a9-42f0-8f02-867deb1f3ad0 2025-09-22 02:11:21,544 - INFO - ================================================================================ 2025-09-22 02:11:21,544 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-22 02:11:21,544 - 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-09-22 02:11:21,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with 2025-09-22 02:11:21,804 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:11:21,804 - INFO - 2025-09-22 02:11:22,324 - DEBUG - Response for create_network : {'network': {'id': '930c46f1-b7d4-4d91-bb00-d609b42ae21c', 'name': 'ctest-vn-37173819', 'tenant_id': '8670d7dac5a942f08f02867deb1f3ad0', 'project_id': '8670d7dac5a942f08f02867deb1f3ad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-vn-37173819'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:11:22,611 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c87a0ca1-7fff-4f68-974d-d52d4c75ffc5', 'name': '', 'tenant_id': '8670d7dac5a942f08f02867deb1f3ad0', 'network_id': '930c46f1-b7d4-4d91-bb00-d609b42ae21c', 'ip_version': 4, 'cidr': '153.175.81.128/26', 'allocation_pools': [{'start': '153.175.81.130', 'end': '153.175.81.190'}], 'gateway_ip': '153.175.81.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.175.81.130', 'tags': [], 'project_id': '8670d7dac5a942f08f02867deb1f3ad0'}} 2025-09-22 02:11:22,635 - INFO - Created VN ctest-vn-37173819 2025-09-22 02:11:22,691 - DEBUG - VN ctest-vn-37173819 UUID is 930c46f1-b7d4-4d91-bb00-d609b42ae21c 2025-09-22 02:11:23,173 - DEBUG - Response for create_network : {'network': {'id': 'defe0492-57e1-44af-a110-b6a72b400545', 'name': 'ctest-vn-96692440', 'tenant_id': '8670d7dac5a942f08f02867deb1f3ad0', 'project_id': '8670d7dac5a942f08f02867deb1f3ad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-vn-96692440'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:11:23,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '162a1e76-302d-4331-b9d1-c44cc58a34be', 'name': '', 'tenant_id': '8670d7dac5a942f08f02867deb1f3ad0', 'network_id': 'defe0492-57e1-44af-a110-b6a72b400545', 'ip_version': 4, 'cidr': '165.74.159.128/26', 'allocation_pools': [{'start': '165.74.159.130', 'end': '165.74.159.190'}], 'gateway_ip': '165.74.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.74.159.130', 'tags': [], 'project_id': '8670d7dac5a942f08f02867deb1f3ad0'}} 2025-09-22 02:11:23,372 - INFO - Created VN ctest-vn-96692440 2025-09-22 02:11:23,427 - DEBUG - VN ctest-vn-96692440 UUID is defe0492-57e1-44af-a110-b6a72b400545 2025-09-22 02:11:23,579 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-37173819, 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-53846921:ctest-vn-96692440, 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-09-22 02:11:23,863 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '930c46f1-b7d4-4d91-bb00-d609b42ae21c', 'name': 'ctest-vn-37173819', 'tenant_id': '8670d7dac5a942f08f02867deb1f3ad0', 'project_id': '8670d7dac5a942f08f02867deb1f3ad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c87a0ca1-7fff-4f68-974d-d52d4c75ffc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-vn-37173819'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-policy-allow-all-06141421']], 'subnet_ipam': [{'subnet_cidr': '153.175.81.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:11:24,075 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'defe0492-57e1-44af-a110-b6a72b400545', 'name': 'ctest-vn-96692440', 'tenant_id': '8670d7dac5a942f08f02867deb1f3ad0', 'project_id': '8670d7dac5a942f08f02867deb1f3ad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['162a1e76-302d-4331-b9d1-c44cc58a34be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-vn-96692440'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-policy-allow-all-06141421']], 'subnet_ipam': [{'subnet_cidr': '165.74.159.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:11:24,223 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 02:11:24,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 02:11:24,546 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5637f25-7d5a-451c-afff-faab7c691f87 2025-09-22 02:11:24,557 - DEBUG - Requesting: http://10.0.0.50:8082/project/8670d7da-c5a9-42f0-8f02-867deb1f3ad0 2025-09-22 02:11:24,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/930c46f1-b7d4-4d91-bb00-d609b42ae21c 2025-09-22 02:11:24,636 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/930c46f1-b7d4-4d91-bb00-d609b42ae21c 2025-09-22 02:11:24,644 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d324d300-21e5-49d6-a854-8ca32a0e35f0 2025-09-22 02:11:24,649 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d324d300-21e5-49d6-a854-8ca32a0e35f0 2025-09-22 02:11:24,655 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e1874d0a-156b-4abe-8141-065a5b69338c 2025-09-22 02:11:24,659 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 02:11:24,659 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/930c46f1-b7d4-4d91-bb00-d609b42ae21c 2025-09-22 02:11:24,666 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d324d300-21e5-49d6-a854-8ca32a0e35f0 2025-09-22 02:11:24,676 - INFO - Verified VN network id 12 for VN 930c46f1-b7d4-4d91-bb00-d609b42ae21c 2025-09-22 02:11:24,676 - INFO - Verifications in API Server for VN ctest-vn-37173819 passed 2025-09-22 02:11:24,676 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/930c46f1-b7d4-4d91-bb00-d609b42ae21c 2025-09-22 02:11:24,683 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d324d300-21e5-49d6-a854-8ca32a0e35f0 2025-09-22 02:11:24,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d324d300-21e5-49d6-a854-8ca32a0e35f0 2025-09-22 02:11:24,693 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e1874d0a-156b-4abe-8141-065a5b69338c 2025-09-22 02:11:24,704 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-37173819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53846921', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10595922027281141137', 'uuid-lslong': '13475005422258283036'}, 'enable': 'true', 'created': '2025-09-22T02:11:22', 'last-modified': '2025-09-22T02:11:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.857792'} 2025-09-22 02:11:24,709 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-22 02:11:24,709 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37173819 passed 2025-09-22 02:11:24,709 - DEBUG - ====Verifying policy data for ctest-vn-37173819 in API_Server ====== 2025-09-22 02:11:24,709 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 02:11:24,713 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5637f25-7d5a-451c-afff-faab7c691f87 2025-09-22 02:11:24,722 - DEBUG - Requesting: http://10.0.0.50:8082/project/8670d7da-c5a9-42f0-8f02-867deb1f3ad0 2025-09-22 02:11:24,789 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/930c46f1-b7d4-4d91-bb00-d609b42ae21c 2025-09-22 02:11:24,798 - DEBUG - ==>Verifying data for policy with id: f1698b9a-5706-4524-a76a-b7e6990d9bef, fqn: ['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-policy-allow-all-06141421'] 2025-09-22 02:11:24,798 - INFO - VN ctest-vn-37173819 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 02:11:24,798 - DEBUG - Verifying the vn in opserver 2025-09-22 02:11:24,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-37173819 virtual network link through opserver 10.0.0.50 2025-09-22 02:11:24,798 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-22 02:11:25,087 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-22 02:11:25,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-37173819', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-37173819?flat'} 2025-09-22 02:11:25,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-37173819 is found in opserver 2025-09-22 02:11:25,143 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 02:11:25,147 - DEBUG - VRF ids for VN ctest-vn-37173819: {} 2025-09-22 02:11:25,147 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 02:11:25,152 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5637f25-7d5a-451c-afff-faab7c691f87 2025-09-22 02:11:25,162 - DEBUG - Requesting: http://10.0.0.50:8082/project/8670d7da-c5a9-42f0-8f02-867deb1f3ad0 2025-09-22 02:11:25,224 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/defe0492-57e1-44af-a110-b6a72b400545 2025-09-22 02:11:25,233 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/defe0492-57e1-44af-a110-b6a72b400545 2025-09-22 02:11:25,242 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6dfdae6-a707-4f96-b96c-eb45fc92767d 2025-09-22 02:11:25,248 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6dfdae6-a707-4f96-b96c-eb45fc92767d 2025-09-22 02:11:25,253 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a0af9be4-7b09-4731-844e-23348e8869a5 2025-09-22 02:11:25,257 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 02:11:25,257 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/defe0492-57e1-44af-a110-b6a72b400545 2025-09-22 02:11:25,264 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6dfdae6-a707-4f96-b96c-eb45fc92767d 2025-09-22 02:11:25,274 - INFO - Verified VN network id 13 for VN defe0492-57e1-44af-a110-b6a72b400545 2025-09-22 02:11:25,274 - INFO - Verifications in API Server for VN ctest-vn-96692440 passed 2025-09-22 02:11:25,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/defe0492-57e1-44af-a110-b6a72b400545 2025-09-22 02:11:25,281 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6dfdae6-a707-4f96-b96c-eb45fc92767d 2025-09-22 02:11:25,286 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6dfdae6-a707-4f96-b96c-eb45fc92767d 2025-09-22 02:11:25,291 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a0af9be4-7b09-4731-844e-23348e8869a5 2025-09-22 02:11:25,300 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-96692440', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53846921', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16068285547090625711', 'uuid-lslong': '11605977068835177797'}, 'enable': 'true', 'created': '2025-09-22T02:11:23', 'last-modified': '2025-09-22T02:11:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.241183'} 2025-09-22 02:11:25,305 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-22 02:11:25,305 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96692440 passed 2025-09-22 02:11:25,305 - DEBUG - ====Verifying policy data for ctest-vn-96692440 in API_Server ====== 2025-09-22 02:11:25,305 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 02:11:25,309 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5637f25-7d5a-451c-afff-faab7c691f87 2025-09-22 02:11:25,316 - DEBUG - Requesting: http://10.0.0.50:8082/project/8670d7da-c5a9-42f0-8f02-867deb1f3ad0 2025-09-22 02:11:25,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/defe0492-57e1-44af-a110-b6a72b400545 2025-09-22 02:11:25,387 - DEBUG - ==>Verifying data for policy with id: f1698b9a-5706-4524-a76a-b7e6990d9bef, fqn: ['default-domain', 'ctest-TestBasicPolicy-53846921', 'ctest-policy-allow-all-06141421'] 2025-09-22 02:11:25,387 - INFO - VN ctest-vn-96692440 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-22 02:11:25,387 - DEBUG - Verifying the vn in opserver 2025-09-22 02:11:25,387 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-96692440 virtual network link through opserver 10.0.0.50 2025-09-22 02:11:25,387 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-09-22 02:11:25,396 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-96692440', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-96692440?flat'} 2025-09-22 02:11:25,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-96692440 is found in opserver 2025-09-22 02:11:25,404 - DEBUG - Do not have enough data to verify VN in agent 2025-09-22 02:11:25,408 - DEBUG - VRF ids for VN ctest-vn-96692440: {} 2025-09-22 02:11:25,460 - DEBUG - Services list from nova: [, , ] 2025-09-22 02:11:26,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1) 2025-09-22 02:11:27,487 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4162-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4162-1) 2025-09-22 02:11:27,487 - INFO - Waiting for VM ctest-TestBasicPolicy-53846921-81168648 to be up.. 2025-09-22 02:11:27,556 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 02:11:32,627 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:11:32,627 - INFO - VM name : ctest-TestBasicPolicy-53846921-81168648 2025-09-22 02:11:32,692 - DEBUG - VM ctest-TestBasicPolicy-53846921-81168648 ID is 7597a2c2-a73f-4b9b-b93c-0bb9ee524d26 2025-09-22 02:11:32,708 - DEBUG - VM ctest-TestBasicPolicy-53846921-81168648 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1 2025-09-22 02:11:32,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7597a2c2-a73f-4b9b-b93c-0bb9ee524d26 2025-09-22 02:11:32,786 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/99e04589-5970-4a63-b275-73921225b851 2025-09-22 02:11:36,044 - 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 1020ms') 2025-09-22 02:11:36,044 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53846921-81168648 failed! 2025-09-22 02:11:36,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53846921:ctest-vn-37173819 is 153.175.81.129 and allocation pool is NOT set 2025-09-22 02:11:38,167 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.453/2.202/2.951/0.749 ms') 2025-09-22 02:11:38,168 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53846921-81168648 passed 2025-09-22 02:11:38,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:11:38,319 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53846921-81168648, IP 153.175.81.131, Port 22 2025-09-22 02:11:38,374 - 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-09-22 02:11:38,445 - DEBUG - VM ctest-TestBasicPolicy-53846921-81168648 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-22 02:11:43,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:11:43,446 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53846921-81168648, IP 153.175.81.131, Port 22 2025-09-22 02:11:43,602 - DEBUG - VM ctest-TestBasicPolicy-53846921-81168648 is ready for SSH connections 2025-09-22 02:11:43,602 - INFO - Waiting for VM ctest-TestBasicPolicy-53846921-95684333 to be up.. 2025-09-22 02:11:43,668 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:11:43,668 - INFO - VM name : ctest-TestBasicPolicy-53846921-95684333 2025-09-22 02:11:43,732 - DEBUG - VM ctest-TestBasicPolicy-53846921-95684333 ID is 5e2109c1-72aa-4294-9d0a-cbc0f95143b9 2025-09-22 02:11:43,732 - DEBUG - VM ctest-TestBasicPolicy-53846921-95684333 launched on Node cn-jenkins-deploy-platform-ansible-os-4162-1 2025-09-22 02:11:43,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e2109c1-72aa-4294-9d0a-cbc0f95143b9 2025-09-22 02:11:43,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e6acc72a-3083-44ec-ab15-5fdf4065dbe7 2025-09-22 02:11:45,023 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.592/2.779/1.186 ms') 2025-09-22 02:11:45,023 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53846921-95684333 passed 2025-09-22 02:11:45,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:11:45,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53846921-95684333, IP 165.74.159.131, Port 22 2025-09-22 02:11:45,330 - DEBUG - VM ctest-TestBasicPolicy-53846921-95684333 is ready for SSH connections 2025-09-22 02:11:45,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:11:45,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.74.159.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:11:45,331 - DEBUG - ping -s 56 -c 3 -W 1 165.74.159.131 2025-09-22 02:11:49,311 - DEBUG - PING 165.74.159.131 (165.74.159.131): 56 data bytes 64 bytes from 165.74.159.131: seq=0 ttl=63 time=4.189 ms 64 bytes from 165.74.159.131: seq=1 ttl=63 time=0.790 ms 64 bytes from 165.74.159.131: seq=2 ttl=63 time=0.824 ms --- 165.74.159.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/1.934/4.189 ms 2025-09-22 02:11:49,311 - INFO - Ping to IP 165.74.159.131 from VM ctest-TestBasicPolicy-53846921-81168648 passed 2025-09-22 02:11:49,495 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f1698b9a-5706-4524-a76a-b7e6990d9bef", "href": "http://10.0.0.50:8082/network-policy/f1698b9a-5706-4524-a76a-b7e6990d9bef"}} 2025-09-22 02:11:49,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:11:49,495 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.74.159.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-22 02:11:49,495 - DEBUG - ping -s 56 -c 3 -W 1 165.74.159.131 2025-09-22 02:11:52,688 - DEBUG - PING 165.74.159.131 (165.74.159.131): 56 data bytes --- 165.74.159.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:11:52,688 - WARNING - Ping to IP 165.74.159.131 from VM ctest-TestBasicPolicy-53846921-81168648 failed 2025-09-22 02:11:52,688 - INFO - Deleting VM ctest-TestBasicPolicy-53846921-95684333 2025-09-22 02:11:52,751 - INFO - Deleting VM ctest-TestBasicPolicy-53846921-81168648 2025-09-22 02:11:53,098 - INFO - Deleted policy ctest-policy-allow-all-06141421 2025-09-22 02:11:53,098 - INFO - Deleting VN ctest-vn-96692440 2025-09-22 02:11:53,127 - DEBUG - VN defe0492-57e1-44af-a110-b6a72b400545 still in use: Unable to complete operation on network defe0492-57e1-44af-a110-b6a72b400545. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b99ed1e-324c-4423-ab16-0759a92881a1'] 2025-09-22 02:11:53,128 - WARNING - Deleting VN ctest-vn-96692440 failed..Will retry 2025-09-22 02:11:55,229 - DEBUG - Response for deleting network () 2025-09-22 02:11:55,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/b6dfdae6-a707-4f96-b96c-eb45fc92767d 2025-09-22 02:11:55,240 - DEBUG - Response Code: 404 2025-09-22 02:11:55,240 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 02:11:55,245 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5637f25-7d5a-451c-afff-faab7c691f87 2025-09-22 02:11:55,303 - DEBUG - Requesting: http://10.0.0.50:8082/project/8670d7da-c5a9-42f0-8f02-867deb1f3ad0 2025-09-22 02:11:55,372 - INFO - Validated that VN ctest-vn-96692440 is not found in API Server 2025-09-22 02:11:55,380 - DEBUG - VN ctest-vn-96692440 is not present in Agent 10.0.0.50 2025-09-22 02:11:55,380 - INFO - Validated that VN ctest-vn-96692440 is not in any agent 2025-09-22 02:11:55,392 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96692440 info 2025-09-22 02:11:55,392 - INFO - Deleting VN ctest-vn-37173819 2025-09-22 02:11:55,491 - DEBUG - Response for deleting network () 2025-09-22 02:11:55,491 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d324d300-21e5-49d6-a854-8ca32a0e35f0 2025-09-22 02:11:55,498 - DEBUG - Response Code: 404 2025-09-22 02:11:55,498 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-09-22 02:11:55,502 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b5637f25-7d5a-451c-afff-faab7c691f87 2025-09-22 02:11:55,555 - DEBUG - Requesting: http://10.0.0.50:8082/project/8670d7da-c5a9-42f0-8f02-867deb1f3ad0 2025-09-22 02:11:55,623 - INFO - Validated that VN ctest-vn-37173819 is not found in API Server 2025-09-22 02:11:55,632 - DEBUG - VN ctest-vn-37173819 is not present in Agent 10.0.0.50 2025-09-22 02:11:55,632 - INFO - Validated that VN ctest-vn-37173819 is not in any agent 2025-09-22 02:11:55,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37173819 info 2025-09-22 02:11:55,899 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 02:11:55,899 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-09-22 02:11:55,899 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:11:56,565 - INFO - Deleted project: ctest-TestBasicPolicy-53846921, ID : 8670d7da-c5a9-42f0-8f02-867deb1f3ad0