2025-10-27 00:04:02,115 - INFO - Domain Default found not creating 2025-10-27 00:04:02,274 - INFO - Project ctest-TestBasicPolicy-07228547 not found, creating it 2025-10-27 00:04:02,736 - INFO - Created Project:ctest-TestBasicPolicy-07228547, ID : 22036d24-d9a5-4927-b6ec-09bed570ee7e 2025-10-27 00:04:04,312 - INFO - ================================================================================ 2025-10-27 00:04:04,312 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 00:04:04,312 - 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-10-27 00:04:04,570 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-27 00:04:04,570 - INFO - Initial checks done. Running the testcase now 2025-10-27 00:04:04,570 - INFO - 2025-10-27 00:04:05,186 - DEBUG - Response for create_network : {'network': {'id': '2bd6dfda-7510-45e5-916c-075896980769', 'name': 'ctest-vn-52366233', 'tenant_id': '22036d24d9a54927b6ec09bed570ee7e', 'project_id': '22036d24d9a54927b6ec09bed570ee7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-vn-52366233'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 00:04:05,353 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4511bb4-11fa-435e-be52-4f8043095824', 'name': '', 'tenant_id': '22036d24d9a54927b6ec09bed570ee7e', 'network_id': '2bd6dfda-7510-45e5-916c-075896980769', 'ip_version': 4, 'cidr': '5.93.113.0/26', 'allocation_pools': [{'start': '5.93.113.2', 'end': '5.93.113.62'}], 'gateway_ip': '5.93.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.93.113.2', 'tags': [], 'project_id': '22036d24d9a54927b6ec09bed570ee7e'}} 2025-10-27 00:04:05,376 - INFO - Created VN ctest-vn-52366233 2025-10-27 00:04:05,428 - DEBUG - VN ctest-vn-52366233 UUID is 2bd6dfda-7510-45e5-916c-075896980769 2025-10-27 00:04:05,743 - DEBUG - Response for create_network : {'network': {'id': '2b8ed95b-fe70-4d20-837f-a31141ae9377', 'name': 'ctest-vn-12515274', 'tenant_id': '22036d24d9a54927b6ec09bed570ee7e', 'project_id': '22036d24d9a54927b6ec09bed570ee7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-vn-12515274'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 00:04:05,927 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f20b8b0d-ab9a-4160-ae51-68a5127f8f0d', 'name': '', 'tenant_id': '22036d24d9a54927b6ec09bed570ee7e', 'network_id': '2b8ed95b-fe70-4d20-837f-a31141ae9377', 'ip_version': 4, 'cidr': '63.35.186.192/26', 'allocation_pools': [{'start': '63.35.186.194', 'end': '63.35.186.254'}], 'gateway_ip': '63.35.186.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.35.186.194', 'tags': [], 'project_id': '22036d24d9a54927b6ec09bed570ee7e'}} 2025-10-27 00:04:05,947 - INFO - Created VN ctest-vn-12515274 2025-10-27 00:04:06,000 - DEBUG - VN ctest-vn-12515274 UUID is 2b8ed95b-fe70-4d20-837f-a31141ae9377 2025-10-27 00:04:06,160 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-52366233, 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-07228547:ctest-vn-12515274, 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-10-27 00:04:06,454 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bd6dfda-7510-45e5-916c-075896980769', 'name': 'ctest-vn-52366233', 'tenant_id': '22036d24d9a54927b6ec09bed570ee7e', 'project_id': '22036d24d9a54927b6ec09bed570ee7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4511bb4-11fa-435e-be52-4f8043095824'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-vn-52366233'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-policy-allow-all-07371921']], 'subnet_ipam': [{'subnet_cidr': '5.93.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 00:04:06,737 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b8ed95b-fe70-4d20-837f-a31141ae9377', 'name': 'ctest-vn-12515274', 'tenant_id': '22036d24d9a54927b6ec09bed570ee7e', 'project_id': '22036d24d9a54927b6ec09bed570ee7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f20b8b0d-ab9a-4160-ae51-68a5127f8f0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-vn-12515274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-policy-allow-all-07371921']], 'subnet_ipam': [{'subnet_cidr': '63.35.186.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 00:04:06,880 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 00:04:07,218 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 00:04:07,244 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bf2a038e-3335-4572-999d-0784d85f18b9 2025-10-27 00:04:07,255 - DEBUG - Requesting: http://10.0.0.249:8082/project/22036d24-d9a5-4927-b6ec-09bed570ee7e 2025-10-27 00:04:07,326 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2bd6dfda-7510-45e5-916c-075896980769 2025-10-27 00:04:07,336 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2bd6dfda-7510-45e5-916c-075896980769 2025-10-27 00:04:07,344 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/25588406-d655-44c9-bf61-e4e8ec9c014c 2025-10-27 00:04:07,350 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/25588406-d655-44c9-bf61-e4e8ec9c014c 2025-10-27 00:04:07,356 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/da69742f-ca8e-4b80-8cf2-2e857286a3a9 2025-10-27 00:04:07,361 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 00:04:07,361 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2bd6dfda-7510-45e5-916c-075896980769 2025-10-27 00:04:07,369 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/25588406-d655-44c9-bf61-e4e8ec9c014c 2025-10-27 00:04:07,381 - INFO - Verified VN network id 11 for VN 2bd6dfda-7510-45e5-916c-075896980769 2025-10-27 00:04:07,381 - INFO - Verifications in API Server for VN ctest-vn-52366233 passed 2025-10-27 00:04:07,381 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2bd6dfda-7510-45e5-916c-075896980769 2025-10-27 00:04:07,391 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/25588406-d655-44c9-bf61-e4e8ec9c014c 2025-10-27 00:04:07,398 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/25588406-d655-44c9-bf61-e4e8ec9c014c 2025-10-27 00:04:07,404 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/da69742f-ca8e-4b80-8cf2-2e857286a3a9 2025-10-27 00:04:07,414 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-52366233', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07228547', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3158958318006846949', 'uuid-lslong': '10478758510049363817'}, 'enable': 'true', 'created': '2025-10-27T00:04:05', 'last-modified': '2025-10-27T00:04:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.984075'} 2025-10-27 00:04:07,420 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 00:04:07,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52366233 passed 2025-10-27 00:04:07,420 - DEBUG - ====Verifying policy data for ctest-vn-52366233 in API_Server ====== 2025-10-27 00:04:07,420 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 00:04:07,424 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bf2a038e-3335-4572-999d-0784d85f18b9 2025-10-27 00:04:07,434 - DEBUG - Requesting: http://10.0.0.249:8082/project/22036d24-d9a5-4927-b6ec-09bed570ee7e 2025-10-27 00:04:07,503 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2bd6dfda-7510-45e5-916c-075896980769 2025-10-27 00:04:07,511 - DEBUG - ==>Verifying data for policy with id: a390507d-1401-42f9-9c06-447bd88c59e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-policy-allow-all-07371921'] 2025-10-27 00:04:07,511 - INFO - VN ctest-vn-52366233 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 00:04:07,511 - DEBUG - Verifying the vn in opserver 2025-10-27 00:04:07,511 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-52366233 virtual network link through opserver 10.0.0.249 2025-10-27 00:04:07,511 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 00:04:07,841 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 00:04:07,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-52366233', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-52366233?flat'} 2025-10-27 00:04:07,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-52366233 is found in opserver 2025-10-27 00:04:07,901 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 00:04:07,905 - DEBUG - VRF ids for VN ctest-vn-52366233: {} 2025-10-27 00:04:07,905 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 00:04:07,910 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bf2a038e-3335-4572-999d-0784d85f18b9 2025-10-27 00:04:07,920 - DEBUG - Requesting: http://10.0.0.249:8082/project/22036d24-d9a5-4927-b6ec-09bed570ee7e 2025-10-27 00:04:07,991 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2b8ed95b-fe70-4d20-837f-a31141ae9377 2025-10-27 00:04:08,002 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2b8ed95b-fe70-4d20-837f-a31141ae9377 2025-10-27 00:04:08,010 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/824f5ccb-9580-4311-a818-22e5988a0cca 2025-10-27 00:04:08,016 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/824f5ccb-9580-4311-a818-22e5988a0cca 2025-10-27 00:04:08,021 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/97ec99e1-486a-4b82-865a-442b31907ade 2025-10-27 00:04:08,026 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 00:04:08,026 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2b8ed95b-fe70-4d20-837f-a31141ae9377 2025-10-27 00:04:08,034 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/824f5ccb-9580-4311-a818-22e5988a0cca 2025-10-27 00:04:08,045 - INFO - Verified VN network id 12 for VN 2b8ed95b-fe70-4d20-837f-a31141ae9377 2025-10-27 00:04:08,045 - INFO - Verifications in API Server for VN ctest-vn-12515274 passed 2025-10-27 00:04:08,045 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2b8ed95b-fe70-4d20-837f-a31141ae9377 2025-10-27 00:04:08,052 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/824f5ccb-9580-4311-a818-22e5988a0cca 2025-10-27 00:04:08,058 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/824f5ccb-9580-4311-a818-22e5988a0cca 2025-10-27 00:04:08,063 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/97ec99e1-486a-4b82-865a-442b31907ade 2025-10-27 00:04:08,073 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-12515274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07228547', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3138684979457838368', 'uuid-lslong': '9475471435522544503'}, 'enable': 'true', 'created': '2025-10-27T00:04:05', 'last-modified': '2025-10-27T00:04:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405334'} 2025-10-27 00:04:08,078 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 00:04:08,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12515274 passed 2025-10-27 00:04:08,078 - DEBUG - ====Verifying policy data for ctest-vn-12515274 in API_Server ====== 2025-10-27 00:04:08,078 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 00:04:08,082 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bf2a038e-3335-4572-999d-0784d85f18b9 2025-10-27 00:04:08,091 - DEBUG - Requesting: http://10.0.0.249:8082/project/22036d24-d9a5-4927-b6ec-09bed570ee7e 2025-10-27 00:04:08,162 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/2b8ed95b-fe70-4d20-837f-a31141ae9377 2025-10-27 00:04:08,171 - DEBUG - ==>Verifying data for policy with id: a390507d-1401-42f9-9c06-447bd88c59e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-07228547', 'ctest-policy-allow-all-07371921'] 2025-10-27 00:04:08,171 - INFO - VN ctest-vn-12515274 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 00:04:08,172 - DEBUG - Verifying the vn in opserver 2025-10-27 00:04:08,172 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-12515274 virtual network link through opserver 10.0.0.249 2025-10-27 00:04:08,172 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-10-27 00:04:08,180 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-12515274', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-12515274?flat'} 2025-10-27 00:04:08,180 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-12515274 is found in opserver 2025-10-27 00:04:08,191 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 00:04:08,195 - DEBUG - VRF ids for VN ctest-vn-12515274: {} 2025-10-27 00:04:08,248 - DEBUG - Services list from nova: [, , ] 2025-10-27 00:04:09,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1) 2025-10-27 00:04:10,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4484-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4484-1) 2025-10-27 00:04:10,536 - INFO - Waiting for VM ctest-TestBasicPolicy-07228547-90512778 to be up.. 2025-10-27 00:04:10,606 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 00:04:15,680 - DEBUG - VM is in ACTIVE state now 2025-10-27 00:04:15,680 - INFO - VM name : ctest-TestBasicPolicy-07228547-90512778 2025-10-27 00:04:15,752 - DEBUG - VM ctest-TestBasicPolicy-07228547-90512778 ID is 27a37d38-39bc-4aaa-942f-35a2e9313c23 2025-10-27 00:04:15,772 - DEBUG - VM ctest-TestBasicPolicy-07228547-90512778 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1 2025-10-27 00:04:15,847 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/27a37d38-39bc-4aaa-942f-35a2e9313c23 2025-10-27 00:04:15,858 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/feaddb31-d7ef-417f-9f88-8175d78a1ea4 2025-10-27 00:04:19,122 - 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 1015ms') 2025-10-27 00:04:19,123 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07228547-90512778 failed! 2025-10-27 00:04:19,176 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07228547:ctest-vn-52366233 is 5.93.113.1 and allocation pool is NOT set 2025-10-27 00:04:21,246 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.703/4.817/6.932/2.114 ms') 2025-10-27 00:04:21,247 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07228547-90512778 passed 2025-10-27 00:04:21,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:04:21,400 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07228547-90512778, IP 5.93.113.3, Port 22 2025-10-27 00:04:21,466 - 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-10-27 00:04:21,539 - DEBUG - VM ctest-TestBasicPolicy-07228547-90512778 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 00:04:26,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:04:26,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07228547-90512778, IP 5.93.113.3, Port 22 2025-10-27 00:04:26,696 - DEBUG - VM ctest-TestBasicPolicy-07228547-90512778 is ready for SSH connections 2025-10-27 00:04:26,696 - INFO - Waiting for VM ctest-TestBasicPolicy-07228547-58779622 to be up.. 2025-10-27 00:04:26,768 - DEBUG - VM is in ACTIVE state now 2025-10-27 00:04:26,768 - INFO - VM name : ctest-TestBasicPolicy-07228547-58779622 2025-10-27 00:04:26,838 - DEBUG - VM ctest-TestBasicPolicy-07228547-58779622 ID is c5192f82-5ea9-44b0-a353-1a9f0ccfc5ec 2025-10-27 00:04:26,838 - DEBUG - VM ctest-TestBasicPolicy-07228547-58779622 launched on Node cn-jenkins-deploy-platform-ansible-os-4484-1 2025-10-27 00:04:26,908 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c5192f82-5ea9-44b0-a353-1a9f0ccfc5ec 2025-10-27 00:04:26,915 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f12ee84b-a0d3-46fc-b99d-6b7a50211d38 2025-10-27 00:04:28,153 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.362 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.362/1.751/3.141/1.389 ms') 2025-10-27 00:04:28,153 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07228547-58779622 passed 2025-10-27 00:04:28,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:04:28,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07228547-58779622, IP 63.35.186.195, Port 22 2025-10-27 00:04:28,459 - DEBUG - VM ctest-TestBasicPolicy-07228547-58779622 is ready for SSH connections 2025-10-27 00:04:28,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:04:28,460 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.35.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 00:04:28,460 - DEBUG - ping -s 56 -c 3 -W 1 63.35.186.195 2025-10-27 00:04:32,600 - DEBUG - PING 63.35.186.195 (63.35.186.195): 56 data bytes 64 bytes from 63.35.186.195: seq=0 ttl=63 time=4.169 ms 64 bytes from 63.35.186.195: seq=1 ttl=63 time=0.967 ms 64 bytes from 63.35.186.195: seq=2 ttl=63 time=0.685 ms --- 63.35.186.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.685/1.940/4.169 ms 2025-10-27 00:04:32,600 - INFO - Ping to IP 63.35.186.195 from VM ctest-TestBasicPolicy-07228547-90512778 passed 2025-10-27 00:04:32,772 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a390507d-1401-42f9-9c06-447bd88c59e3", "href": "http://10.0.0.249:8082/network-policy/a390507d-1401-42f9-9c06-447bd88c59e3"}} 2025-10-27 00:04:32,772 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 00:04:32,772 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.35.186.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-27 00:04:32,772 - DEBUG - ping -s 56 -c 3 -W 1 63.35.186.195 2025-10-27 00:04:35,999 - DEBUG - PING 63.35.186.195 (63.35.186.195): 56 data bytes --- 63.35.186.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 00:04:35,999 - WARNING - Ping to IP 63.35.186.195 from VM ctest-TestBasicPolicy-07228547-90512778 failed 2025-10-27 00:04:35,999 - INFO - Deleting VM ctest-TestBasicPolicy-07228547-58779622 2025-10-27 00:04:36,066 - INFO - Deleting VM ctest-TestBasicPolicy-07228547-90512778 2025-10-27 00:04:36,457 - INFO - Deleted policy ctest-policy-allow-all-07371921 2025-10-27 00:04:36,457 - INFO - Deleting VN ctest-vn-12515274 2025-10-27 00:04:36,497 - DEBUG - VN 2b8ed95b-fe70-4d20-837f-a31141ae9377 still in use: Unable to complete operation on network 2b8ed95b-fe70-4d20-837f-a31141ae9377. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-673711b8-5a8e-46ed-9934-7bf65b16671e'] 2025-10-27 00:04:36,498 - WARNING - Deleting VN ctest-vn-12515274 failed..Will retry 2025-10-27 00:04:38,596 - DEBUG - Response for deleting network () 2025-10-27 00:04:38,597 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/824f5ccb-9580-4311-a818-22e5988a0cca 2025-10-27 00:04:38,603 - DEBUG - Response Code: 404 2025-10-27 00:04:38,603 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 00:04:38,607 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bf2a038e-3335-4572-999d-0784d85f18b9 2025-10-27 00:04:38,661 - DEBUG - Requesting: http://10.0.0.249:8082/project/22036d24-d9a5-4927-b6ec-09bed570ee7e 2025-10-27 00:04:38,727 - INFO - Validated that VN ctest-vn-12515274 is not found in API Server 2025-10-27 00:04:38,736 - DEBUG - VN ctest-vn-12515274 is not present in Agent 10.0.0.249 2025-10-27 00:04:38,736 - INFO - Validated that VN ctest-vn-12515274 is not in any agent 2025-10-27 00:04:38,749 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12515274 info 2025-10-27 00:04:38,749 - INFO - Deleting VN ctest-vn-52366233 2025-10-27 00:04:38,859 - DEBUG - Response for deleting network () 2025-10-27 00:04:38,859 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/25588406-d655-44c9-bf61-e4e8ec9c014c 2025-10-27 00:04:38,867 - DEBUG - Response Code: 404 2025-10-27 00:04:38,867 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-10-27 00:04:38,874 - DEBUG - Requesting: http://10.0.0.249:8082/domain/bf2a038e-3335-4572-999d-0784d85f18b9 2025-10-27 00:04:38,929 - DEBUG - Requesting: http://10.0.0.249:8082/project/22036d24-d9a5-4927-b6ec-09bed570ee7e 2025-10-27 00:04:38,999 - INFO - Validated that VN ctest-vn-52366233 is not found in API Server 2025-10-27 00:04:39,010 - DEBUG - VN ctest-vn-52366233 is not present in Agent 10.0.0.249 2025-10-27 00:04:39,010 - INFO - Validated that VN ctest-vn-52366233 is not in any agent 2025-10-27 00:04:39,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52366233 info 2025-10-27 00:04:39,280 - DEBUG - No XMPP flaps were noticed during the test
2025-10-27 00:04:39,280 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-27 00:04:39,281 - INFO - -------------------------------------------------------------------------------- 2025-10-27 00:04:40,000 - INFO - Deleted project: ctest-TestBasicPolicy-07228547, ID : 22036d24-d9a5-4927-b6ec-09bed570ee7e