2025-11-20 01:58:24,436 - INFO - Domain Default found not creating 2025-11-20 01:58:24,681 - INFO - Project ctest-TestBasicPolicy-47372566 not found, creating it 2025-11-20 01:58:25,164 - INFO - Created Project:ctest-TestBasicPolicy-47372566, ID : 2a713c12-275d-4336-a699-70f76844d746 2025-11-20 01:58:26,621 - INFO - ================================================================================ 2025-11-20 01:58:26,621 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-20 01:58:26,621 - 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-11-20 01:58:26,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.241': '0'}} with 2025-11-20 01:58:26,876 - INFO - Initial checks done. Running the testcase now 2025-11-20 01:58:26,877 - INFO - 2025-11-20 01:58:27,419 - DEBUG - Response for create_network : {'network': {'id': '996abb08-2ff4-4f77-b7ee-8f7c0057e679', 'name': 'ctest-vn-13783048', 'tenant_id': '2a713c12275d4336a69970f76844d746', 'project_id': '2a713c12275d4336a69970f76844d746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-vn-13783048'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:58:27,596 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ecf88efe-750d-43aa-8bec-d6dc1d00da91', 'name': '', 'tenant_id': '2a713c12275d4336a69970f76844d746', 'network_id': '996abb08-2ff4-4f77-b7ee-8f7c0057e679', 'ip_version': 4, 'cidr': '125.225.174.0/26', 'allocation_pools': [{'start': '125.225.174.2', 'end': '125.225.174.62'}], 'gateway_ip': '125.225.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.225.174.2', 'tags': [], 'project_id': '2a713c12275d4336a69970f76844d746'}} 2025-11-20 01:58:27,612 - INFO - Created VN ctest-vn-13783048 2025-11-20 01:58:27,663 - DEBUG - VN ctest-vn-13783048 UUID is 996abb08-2ff4-4f77-b7ee-8f7c0057e679 2025-11-20 01:58:27,992 - DEBUG - Response for create_network : {'network': {'id': '9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb', 'name': 'ctest-vn-25257901', 'tenant_id': '2a713c12275d4336a69970f76844d746', 'project_id': '2a713c12275d4336a69970f76844d746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-vn-25257901'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:58:28,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac12e0d3-156e-4330-bffc-1c29ec9c5755', 'name': '', 'tenant_id': '2a713c12275d4336a69970f76844d746', 'network_id': '9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb', 'ip_version': 4, 'cidr': '115.154.169.64/26', 'allocation_pools': [{'start': '115.154.169.66', 'end': '115.154.169.126'}], 'gateway_ip': '115.154.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.154.169.66', 'tags': [], 'project_id': '2a713c12275d4336a69970f76844d746'}} 2025-11-20 01:58:28,224 - INFO - Created VN ctest-vn-25257901 2025-11-20 01:58:28,275 - DEBUG - VN ctest-vn-25257901 UUID is 9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb 2025-11-20 01:58:28,427 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-13783048, 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-47372566:ctest-vn-25257901, 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-11-20 01:58:28,715 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '996abb08-2ff4-4f77-b7ee-8f7c0057e679', 'name': 'ctest-vn-13783048', 'tenant_id': '2a713c12275d4336a69970f76844d746', 'project_id': '2a713c12275d4336a69970f76844d746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ecf88efe-750d-43aa-8bec-d6dc1d00da91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-vn-13783048'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-policy-allow-all-59132049']], 'subnet_ipam': [{'subnet_cidr': '125.225.174.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:58:28,942 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb', 'name': 'ctest-vn-25257901', 'tenant_id': '2a713c12275d4336a69970f76844d746', 'project_id': '2a713c12275d4336a69970f76844d746', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac12e0d3-156e-4330-bffc-1c29ec9c5755'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-vn-25257901'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-policy-allow-all-59132049']], 'subnet_ipam': [{'subnet_cidr': '115.154.169.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-20 01:58:29,091 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-20 01:58:29,522 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-20 01:58:29,562 - DEBUG - Requesting: http://10.0.0.241:8082/domain/260535ae-786d-46be-8f23-05907ccb3d1d 2025-11-20 01:58:29,573 - DEBUG - Requesting: http://10.0.0.241:8082/project/2a713c12-275d-4336-a699-70f76844d746 2025-11-20 01:58:29,643 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/996abb08-2ff4-4f77-b7ee-8f7c0057e679 2025-11-20 01:58:29,656 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/996abb08-2ff4-4f77-b7ee-8f7c0057e679 2025-11-20 01:58:29,665 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/46674e05-1d69-48dd-bfa3-210aa9e27017 2025-11-20 01:58:29,672 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/46674e05-1d69-48dd-bfa3-210aa9e27017 2025-11-20 01:58:29,678 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/aa2cf486-69e5-445b-996f-1fb43c9d276b 2025-11-20 01:58:29,684 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 01:58:29,684 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/996abb08-2ff4-4f77-b7ee-8f7c0057e679 2025-11-20 01:58:29,693 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/46674e05-1d69-48dd-bfa3-210aa9e27017 2025-11-20 01:58:29,704 - INFO - Verified VN network id 11 for VN 996abb08-2ff4-4f77-b7ee-8f7c0057e679 2025-11-20 01:58:29,704 - INFO - Verifications in API Server for VN ctest-vn-13783048 passed 2025-11-20 01:58:29,704 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/996abb08-2ff4-4f77-b7ee-8f7c0057e679 2025-11-20 01:58:29,712 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/46674e05-1d69-48dd-bfa3-210aa9e27017 2025-11-20 01:58:29,718 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/46674e05-1d69-48dd-bfa3-210aa9e27017 2025-11-20 01:58:29,725 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/aa2cf486-69e5-445b-996f-1fb43c9d276b 2025-11-20 01:58:29,734 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-13783048', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47372566', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11054853879172976503', 'uuid-lslong': '13253688516142425721'}, 'enable': 'true', 'created': '2025-11-20T01:58:27', 'last-modified': '2025-11-20T01:58:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.042815'} 2025-11-20 01:58:29,740 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-20 01:58:29,740 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13783048 passed 2025-11-20 01:58:29,740 - DEBUG - ====Verifying policy data for ctest-vn-13783048 in API_Server ====== 2025-11-20 01:58:29,740 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-20 01:58:29,744 - DEBUG - Requesting: http://10.0.0.241:8082/domain/260535ae-786d-46be-8f23-05907ccb3d1d 2025-11-20 01:58:29,753 - DEBUG - Requesting: http://10.0.0.241:8082/project/2a713c12-275d-4336-a699-70f76844d746 2025-11-20 01:58:29,819 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/996abb08-2ff4-4f77-b7ee-8f7c0057e679 2025-11-20 01:58:29,827 - DEBUG - ==>Verifying data for policy with id: 0f2b5c48-2bac-420e-a25c-7b2492603cee, fqn: ['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-policy-allow-all-59132049'] 2025-11-20 01:58:29,827 - INFO - VN ctest-vn-13783048 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 01:58:29,827 - DEBUG - Verifying the vn in opserver 2025-11-20 01:58:29,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-13783048 virtual network link through opserver 10.0.0.241 2025-11-20 01:58:29,827 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-11-20 01:58:30,188 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-11-20 01:58:30,269 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-13783048', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-13783048?flat'} 2025-11-20 01:58:30,269 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-13783048 is found in opserver 2025-11-20 01:58:30,278 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 01:58:30,282 - DEBUG - VRF ids for VN ctest-vn-13783048: {} 2025-11-20 01:58:30,282 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-20 01:58:30,288 - DEBUG - Requesting: http://10.0.0.241:8082/domain/260535ae-786d-46be-8f23-05907ccb3d1d 2025-11-20 01:58:30,299 - DEBUG - Requesting: http://10.0.0.241:8082/project/2a713c12-275d-4336-a699-70f76844d746 2025-11-20 01:58:30,365 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb 2025-11-20 01:58:30,374 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb 2025-11-20 01:58:30,382 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/35e8345a-1213-4312-860e-6c884a640a78 2025-11-20 01:58:30,387 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/35e8345a-1213-4312-860e-6c884a640a78 2025-11-20 01:58:30,392 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/0d6c3767-0c7a-4131-a732-4907038f8317 2025-11-20 01:58:30,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 01:58:30,397 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb 2025-11-20 01:58:30,404 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/35e8345a-1213-4312-860e-6c884a640a78 2025-11-20 01:58:30,414 - INFO - Verified VN network id 12 for VN 9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb 2025-11-20 01:58:30,414 - INFO - Verifications in API Server for VN ctest-vn-25257901 passed 2025-11-20 01:58:30,414 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb 2025-11-20 01:58:30,421 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/35e8345a-1213-4312-860e-6c884a640a78 2025-11-20 01:58:30,426 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/35e8345a-1213-4312-860e-6c884a640a78 2025-11-20 01:58:30,432 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/0d6c3767-0c7a-4131-a732-4907038f8317 2025-11-20 01:58:30,440 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-25257901', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47372566', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11371487219251234101', 'uuid-lslong': '12156722015805031099'}, 'enable': 'true', 'created': '2025-11-20T01:58:27', 'last-modified': '2025-11-20T01:58:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.525327'} 2025-11-20 01:58:30,445 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-20 01:58:30,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25257901 passed 2025-11-20 01:58:30,446 - DEBUG - ====Verifying policy data for ctest-vn-25257901 in API_Server ====== 2025-11-20 01:58:30,446 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-20 01:58:30,450 - DEBUG - Requesting: http://10.0.0.241:8082/domain/260535ae-786d-46be-8f23-05907ccb3d1d 2025-11-20 01:58:30,459 - DEBUG - Requesting: http://10.0.0.241:8082/project/2a713c12-275d-4336-a699-70f76844d746 2025-11-20 01:58:30,527 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb 2025-11-20 01:58:30,535 - DEBUG - ==>Verifying data for policy with id: 0f2b5c48-2bac-420e-a25c-7b2492603cee, fqn: ['default-domain', 'ctest-TestBasicPolicy-47372566', 'ctest-policy-allow-all-59132049'] 2025-11-20 01:58:30,535 - INFO - VN ctest-vn-25257901 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-20 01:58:30,535 - DEBUG - Verifying the vn in opserver 2025-11-20 01:58:30,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-25257901 virtual network link through opserver 10.0.0.241 2025-11-20 01:58:30,535 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-11-20 01:58:30,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-25257901', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-25257901?flat'} 2025-11-20 01:58:30,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-25257901 is found in opserver 2025-11-20 01:58:30,551 - DEBUG - Do not have enough data to verify VN in agent 2025-11-20 01:58:30,555 - DEBUG - VRF ids for VN ctest-vn-25257901: {} 2025-11-20 01:58:30,608 - DEBUG - Services list from nova: [, , ] 2025-11-20 01:58:31,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:58:32,744 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4771-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4771-1) 2025-11-20 01:58:32,744 - INFO - Waiting for VM ctest-TestBasicPolicy-47372566-27526226 to be up.. 2025-11-20 01:58:32,817 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 01:58:37,895 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:58:37,895 - INFO - VM name : ctest-TestBasicPolicy-47372566-27526226 2025-11-20 01:58:37,980 - DEBUG - VM ctest-TestBasicPolicy-47372566-27526226 ID is bba9fb57-deaa-4283-832d-0f72776d6e87 2025-11-20 01:58:38,010 - DEBUG - VM ctest-TestBasicPolicy-47372566-27526226 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:58:38,099 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/bba9fb57-deaa-4283-832d-0f72776d6e87 2025-11-20 01:58:38,112 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/cdf26be7-1251-491f-a14a-a1fa83fc6d26 2025-11-20 01:58:41,356 - 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 1002ms') 2025-11-20 01:58:41,356 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47372566-27526226 failed! 2025-11-20 01:58:41,411 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47372566:ctest-vn-13783048 is 125.225.174.1 and allocation pool is NOT set 2025-11-20 01:58:43,479 - 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=8.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.74 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.735/5.152/8.569/3.417 ms') 2025-11-20 01:58:43,480 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47372566-27526226 passed 2025-11-20 01:58:43,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:58:43,636 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47372566-27526226, IP 125.225.174.3, Port 22 2025-11-20 01:58:43,701 - 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-11-20 01:58:43,779 - DEBUG - VM ctest-TestBasicPolicy-47372566-27526226 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-20 01:58:48,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:58:48,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47372566-27526226, IP 125.225.174.3, Port 22 2025-11-20 01:58:48,950 - DEBUG - VM ctest-TestBasicPolicy-47372566-27526226 is ready for SSH connections 2025-11-20 01:58:48,950 - INFO - Waiting for VM ctest-TestBasicPolicy-47372566-05423349 to be up.. 2025-11-20 01:58:49,029 - DEBUG - VM is in ACTIVE state now 2025-11-20 01:58:49,029 - INFO - VM name : ctest-TestBasicPolicy-47372566-05423349 2025-11-20 01:58:49,101 - DEBUG - VM ctest-TestBasicPolicy-47372566-05423349 ID is 6168eb47-11da-4223-918c-ad75f1d773c8 2025-11-20 01:58:49,101 - DEBUG - VM ctest-TestBasicPolicy-47372566-05423349 launched on Node cn-jenkins-deploy-platform-ansible-os-4771-1 2025-11-20 01:58:49,168 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6168eb47-11da-4223-918c-ad75f1d773c8 2025-11-20 01:58:49,175 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/abadd581-e900-4e99-bc37-fc723ac97210 2025-11-20 01:58:50,408 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.598/2.815/1.217 ms') 2025-11-20 01:58:50,408 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47372566-05423349 passed 2025-11-20 01:58:50,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:58:50,555 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47372566-05423349, IP 115.154.169.67, Port 22 2025-11-20 01:58:50,728 - DEBUG - VM ctest-TestBasicPolicy-47372566-05423349 is ready for SSH connections 2025-11-20 01:58:50,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:58:50,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.154.169.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:58:50,728 - DEBUG - ping -s 56 -c 3 -W 1 115.154.169.67 2025-11-20 01:58:54,729 - DEBUG - PING 115.154.169.67 (115.154.169.67): 56 data bytes 64 bytes from 115.154.169.67: seq=0 ttl=63 time=4.533 ms 64 bytes from 115.154.169.67: seq=1 ttl=63 time=0.926 ms 64 bytes from 115.154.169.67: seq=2 ttl=63 time=1.074 ms --- 115.154.169.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/2.177/4.533 ms 2025-11-20 01:58:54,729 - INFO - Ping to IP 115.154.169.67 from VM ctest-TestBasicPolicy-47372566-27526226 passed 2025-11-20 01:58:54,899 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f2b5c48-2bac-420e-a25c-7b2492603cee", "href": "http://10.0.0.241:8082/network-policy/0f2b5c48-2bac-420e-a25c-7b2492603cee"}} 2025-11-20 01:58:54,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 01:58:54,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.154.169.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-11-20 01:58:54,899 - DEBUG - ping -s 56 -c 3 -W 1 115.154.169.67 2025-11-20 01:58:58,121 - DEBUG - PING 115.154.169.67 (115.154.169.67): 56 data bytes --- 115.154.169.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 01:58:58,121 - WARNING - Ping to IP 115.154.169.67 from VM ctest-TestBasicPolicy-47372566-27526226 failed 2025-11-20 01:58:58,122 - INFO - Deleting VM ctest-TestBasicPolicy-47372566-05423349 2025-11-20 01:58:58,189 - INFO - Deleting VM ctest-TestBasicPolicy-47372566-27526226 2025-11-20 01:58:58,565 - INFO - Deleted policy ctest-policy-allow-all-59132049 2025-11-20 01:58:58,565 - INFO - Deleting VN ctest-vn-25257901 2025-11-20 01:58:58,601 - DEBUG - VN 9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb still in use: Unable to complete operation on network 9dcfa360-8f5d-4535-a8b5-5a43a93ac2bb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2cbf2a6-5ef4-4c00-a86e-b726bb5563c7'] 2025-11-20 01:58:58,601 - WARNING - Deleting VN ctest-vn-25257901 failed..Will retry 2025-11-20 01:59:00,709 - DEBUG - Response for deleting network () 2025-11-20 01:59:00,709 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/35e8345a-1213-4312-860e-6c884a640a78 2025-11-20 01:59:00,715 - DEBUG - Response Code: 404 2025-11-20 01:59:00,715 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-20 01:59:00,721 - DEBUG - Requesting: http://10.0.0.241:8082/domain/260535ae-786d-46be-8f23-05907ccb3d1d 2025-11-20 01:59:00,773 - DEBUG - Requesting: http://10.0.0.241:8082/project/2a713c12-275d-4336-a699-70f76844d746 2025-11-20 01:59:00,846 - INFO - Validated that VN ctest-vn-25257901 is not found in API Server 2025-11-20 01:59:00,855 - DEBUG - VN ctest-vn-25257901 is not present in Agent 10.0.0.241 2025-11-20 01:59:00,855 - INFO - Validated that VN ctest-vn-25257901 is not in any agent 2025-11-20 01:59:00,866 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25257901 info 2025-11-20 01:59:00,866 - INFO - Deleting VN ctest-vn-13783048 2025-11-20 01:59:00,983 - DEBUG - Response for deleting network () 2025-11-20 01:59:00,983 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/46674e05-1d69-48dd-bfa3-210aa9e27017 2025-11-20 01:59:00,989 - DEBUG - Response Code: 404 2025-11-20 01:59:00,989 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-11-20 01:59:00,995 - DEBUG - Requesting: http://10.0.0.241:8082/domain/260535ae-786d-46be-8f23-05907ccb3d1d 2025-11-20 01:59:01,048 - DEBUG - Requesting: http://10.0.0.241:8082/project/2a713c12-275d-4336-a699-70f76844d746 2025-11-20 01:59:01,113 - INFO - Validated that VN ctest-vn-13783048 is not found in API Server 2025-11-20 01:59:01,124 - DEBUG - VN ctest-vn-13783048 is not present in Agent 10.0.0.241 2025-11-20 01:59:01,124 - INFO - Validated that VN ctest-vn-13783048 is not in any agent 2025-11-20 01:59:01,136 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13783048 info 2025-11-20 01:59:01,392 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 01:59:01,392 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-20 01:59:01,392 - INFO - -------------------------------------------------------------------------------- 2025-11-20 01:59:02,064 - INFO - Deleted project: ctest-TestBasicPolicy-47372566, ID : 2a713c12-275d-4336-a699-70f76844d746