2025-07-17 12:25:18,070 - INFO - Domain Default found not creating 2025-07-17 12:25:18,261 - INFO - Project ctest-TestBasicPolicy-19125563 not found, creating it 2025-07-17 12:25:18,762 - INFO - Created Project:ctest-TestBasicPolicy-19125563, ID : 44bc540a-f81a-46c4-9f23-8e4cd8543db6 2025-07-17 12:25:21,202 - INFO - ================================================================================ 2025-07-17 12:25:21,202 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-17 12:25:21,203 - 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-07-17 12:25:21,475 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-17 12:25:21,475 - INFO - Initial checks done. Running the testcase now 2025-07-17 12:25:21,475 - INFO - 2025-07-17 12:25:22,103 - DEBUG - Response for create_network : {'network': {'id': '6166a9b1-8de0-4955-9507-27c164d159bb', 'name': 'ctest-vn-33048672', 'tenant_id': '44bc540af81a46c49f238e4cd8543db6', 'project_id': '44bc540af81a46c49f238e4cd8543db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-vn-33048672'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 12:25:22,315 - DEBUG - Response for create_subnet : {'subnet': {'id': '39b25d26-480c-4f71-a739-076a961e90c1', 'name': '', 'tenant_id': '44bc540af81a46c49f238e4cd8543db6', 'network_id': '6166a9b1-8de0-4955-9507-27c164d159bb', 'ip_version': 4, 'cidr': '66.178.146.192/26', 'allocation_pools': [{'start': '66.178.146.194', 'end': '66.178.146.254'}], 'gateway_ip': '66.178.146.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.178.146.194', 'tags': [], 'project_id': '44bc540af81a46c49f238e4cd8543db6'}} 2025-07-17 12:25:22,341 - INFO - Created VN ctest-vn-33048672 2025-07-17 12:25:22,400 - DEBUG - VN ctest-vn-33048672 UUID is 6166a9b1-8de0-4955-9507-27c164d159bb 2025-07-17 12:25:22,745 - DEBUG - Response for create_network : {'network': {'id': 'd032fc9b-0427-4d3f-9c27-4dba496adeaa', 'name': 'ctest-vn-80393030', 'tenant_id': '44bc540af81a46c49f238e4cd8543db6', 'project_id': '44bc540af81a46c49f238e4cd8543db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-vn-80393030'], 'port_security_enabled': True, 'description': ''}} 2025-07-17 12:25:22,969 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba4c1ce9-fe11-43bd-a123-a2e8ca3364ac', 'name': '', 'tenant_id': '44bc540af81a46c49f238e4cd8543db6', 'network_id': 'd032fc9b-0427-4d3f-9c27-4dba496adeaa', 'ip_version': 4, 'cidr': '88.214.124.192/26', 'allocation_pools': [{'start': '88.214.124.194', 'end': '88.214.124.254'}], 'gateway_ip': '88.214.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.214.124.194', 'tags': [], 'project_id': '44bc540af81a46c49f238e4cd8543db6'}} 2025-07-17 12:25:22,996 - INFO - Created VN ctest-vn-80393030 2025-07-17 12:25:23,052 - DEBUG - VN ctest-vn-80393030 UUID is d032fc9b-0427-4d3f-9c27-4dba496adeaa 2025-07-17 12:25:23,181 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-33048672, 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-19125563:ctest-vn-80393030, 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-07-17 12:25:23,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6166a9b1-8de0-4955-9507-27c164d159bb', 'name': 'ctest-vn-33048672', 'tenant_id': '44bc540af81a46c49f238e4cd8543db6', 'project_id': '44bc540af81a46c49f238e4cd8543db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['39b25d26-480c-4f71-a739-076a961e90c1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-vn-33048672'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-policy-allow-all-42022533']], 'subnet_ipam': [{'subnet_cidr': '66.178.146.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 12:25:23,788 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd032fc9b-0427-4d3f-9c27-4dba496adeaa', 'name': 'ctest-vn-80393030', 'tenant_id': '44bc540af81a46c49f238e4cd8543db6', 'project_id': '44bc540af81a46c49f238e4cd8543db6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba4c1ce9-fe11-43bd-a123-a2e8ca3364ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-vn-80393030'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-policy-allow-all-42022533']], 'subnet_ipam': [{'subnet_cidr': '88.214.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-17 12:25:23,948 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 12:25:24,296 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 12:25:24,332 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5c0cf9f4-4420-4392-ad28-0d6dcddbee99 2025-07-17 12:25:24,350 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc540a-f81a-46c4-9f23-8e4cd8543db6 2025-07-17 12:25:24,434 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6166a9b1-8de0-4955-9507-27c164d159bb 2025-07-17 12:25:24,452 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6166a9b1-8de0-4955-9507-27c164d159bb 2025-07-17 12:25:24,465 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd68969-1b5b-462b-8870-3e3f0140c422 2025-07-17 12:25:24,477 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd68969-1b5b-462b-8870-3e3f0140c422 2025-07-17 12:25:24,486 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/18ff8476-54a1-47d2-a2e7-1bc3077648b4 2025-07-17 12:25:24,495 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 12:25:24,495 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6166a9b1-8de0-4955-9507-27c164d159bb 2025-07-17 12:25:24,508 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd68969-1b5b-462b-8870-3e3f0140c422 2025-07-17 12:25:24,527 - INFO - Verified VN network id 8 for VN 6166a9b1-8de0-4955-9507-27c164d159bb 2025-07-17 12:25:24,527 - INFO - Verifications in API Server for VN ctest-vn-33048672 passed 2025-07-17 12:25:24,527 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6166a9b1-8de0-4955-9507-27c164d159bb 2025-07-17 12:25:24,539 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd68969-1b5b-462b-8870-3e3f0140c422 2025-07-17 12:25:24,548 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd68969-1b5b-462b-8870-3e3f0140c422 2025-07-17 12:25:24,557 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/18ff8476-54a1-47d2-a2e7-1bc3077648b4 2025-07-17 12:25:24,571 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-33048672', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19125563', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7018483649358088533', 'uuid-lslong': '10738595548061850043'}, 'enable': 'true', 'created': '2025-07-17T12:25:22', 'last-modified': '2025-07-17T12:25:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.084456'} 2025-07-17 12:25:24,579 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-17 12:25:24,579 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33048672 passed 2025-07-17 12:25:24,579 - DEBUG - ====Verifying policy data for ctest-vn-33048672 in API_Server ====== 2025-07-17 12:25:24,579 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 12:25:24,586 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5c0cf9f4-4420-4392-ad28-0d6dcddbee99 2025-07-17 12:25:24,600 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc540a-f81a-46c4-9f23-8e4cd8543db6 2025-07-17 12:25:24,685 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/6166a9b1-8de0-4955-9507-27c164d159bb 2025-07-17 12:25:24,698 - DEBUG - ==>Verifying data for policy with id: d1b95c64-faf7-4b4b-ba49-e476ab517cec, fqn: ['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-policy-allow-all-42022533'] 2025-07-17 12:25:24,698 - INFO - VN ctest-vn-33048672 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 12:25:24,698 - DEBUG - Verifying the vn in opserver 2025-07-17 12:25:24,698 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-33048672 virtual network link through opserver 10.0.0.254 2025-07-17 12:25:24,698 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-17 12:25:25,045 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-17 12:25:25,126 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-33048672', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-33048672?flat'} 2025-07-17 12:25:25,126 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-33048672 is found in opserver 2025-07-17 12:25:25,138 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 12:25:25,144 - DEBUG - VRF ids for VN ctest-vn-33048672: {} 2025-07-17 12:25:25,144 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 12:25:25,153 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5c0cf9f4-4420-4392-ad28-0d6dcddbee99 2025-07-17 12:25:25,169 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc540a-f81a-46c4-9f23-8e4cd8543db6 2025-07-17 12:25:25,250 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d032fc9b-0427-4d3f-9c27-4dba496adeaa 2025-07-17 12:25:25,264 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d032fc9b-0427-4d3f-9c27-4dba496adeaa 2025-07-17 12:25:25,276 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50dfb894-251a-457b-bb19-1459ab2186c9 2025-07-17 12:25:25,286 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50dfb894-251a-457b-bb19-1459ab2186c9 2025-07-17 12:25:25,297 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/55b324e5-f80f-4013-946e-295cfcc0e548 2025-07-17 12:25:25,305 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 12:25:25,305 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d032fc9b-0427-4d3f-9c27-4dba496adeaa 2025-07-17 12:25:25,317 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50dfb894-251a-457b-bb19-1459ab2186c9 2025-07-17 12:25:25,337 - INFO - Verified VN network id 9 for VN d032fc9b-0427-4d3f-9c27-4dba496adeaa 2025-07-17 12:25:25,337 - INFO - Verifications in API Server for VN ctest-vn-80393030 passed 2025-07-17 12:25:25,337 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d032fc9b-0427-4d3f-9c27-4dba496adeaa 2025-07-17 12:25:25,350 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50dfb894-251a-457b-bb19-1459ab2186c9 2025-07-17 12:25:25,359 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50dfb894-251a-457b-bb19-1459ab2186c9 2025-07-17 12:25:25,367 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/55b324e5-f80f-4013-946e-295cfcc0e548 2025-07-17 12:25:25,382 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-80393030', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19125563', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15002331051444358463', 'uuid-lslong': '11252047656499469994'}, 'enable': 'true', 'created': '2025-07-17T12:25:22', 'last-modified': '2025-07-17T12:25:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.617834'} 2025-07-17 12:25:25,390 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-17 12:25:25,391 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80393030 passed 2025-07-17 12:25:25,391 - DEBUG - ====Verifying policy data for ctest-vn-80393030 in API_Server ====== 2025-07-17 12:25:25,391 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 12:25:25,398 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5c0cf9f4-4420-4392-ad28-0d6dcddbee99 2025-07-17 12:25:25,414 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc540a-f81a-46c4-9f23-8e4cd8543db6 2025-07-17 12:25:25,500 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d032fc9b-0427-4d3f-9c27-4dba496adeaa 2025-07-17 12:25:25,514 - DEBUG - ==>Verifying data for policy with id: d1b95c64-faf7-4b4b-ba49-e476ab517cec, fqn: ['default-domain', 'ctest-TestBasicPolicy-19125563', 'ctest-policy-allow-all-42022533'] 2025-07-17 12:25:25,514 - INFO - VN ctest-vn-80393030 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-17 12:25:25,514 - DEBUG - Verifying the vn in opserver 2025-07-17 12:25:25,514 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-80393030 virtual network link through opserver 10.0.0.254 2025-07-17 12:25:25,514 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-17 12:25:25,528 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-80393030', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-80393030?flat'} 2025-07-17 12:25:25,528 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-80393030 is found in opserver 2025-07-17 12:25:25,542 - DEBUG - Do not have enough data to verify VN in agent 2025-07-17 12:25:25,549 - DEBUG - VRF ids for VN ctest-vn-80393030: {} 2025-07-17 12:25:25,617 - DEBUG - Services list from nova: [, , ] 2025-07-17 12:25:26,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3655-1) 2025-07-17 12:25:28,234 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3655-1) 2025-07-17 12:25:28,235 - INFO - Waiting for VM ctest-TestBasicPolicy-19125563-37104460 to be up.. 2025-07-17 12:25:28,326 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-17 12:25:33,412 - DEBUG - VM is in ACTIVE state now 2025-07-17 12:25:33,413 - INFO - VM name : ctest-TestBasicPolicy-19125563-37104460 2025-07-17 12:25:33,509 - DEBUG - VM ctest-TestBasicPolicy-19125563-37104460 ID is 9b3801e8-d957-4032-bc6d-b7acd9b2dcce 2025-07-17 12:25:33,538 - DEBUG - VM ctest-TestBasicPolicy-19125563-37104460 launched on Node cn-jenkins-deploy-platform-ansible-os-3655-1 2025-07-17 12:25:33,631 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/9b3801e8-d957-4032-bc6d-b7acd9b2dcce 2025-07-17 12:25:33,641 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7242c851-0c50-433f-8275-ee329a64dd71 2025-07-17 12:25:36,921 - 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 1030ms') 2025-07-17 12:25:36,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19125563-37104460 failed! 2025-07-17 12:25:36,980 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19125563:ctest-vn-33048672 is 66.178.146.193 and allocation pool is NOT set 2025-07-17 12:25:39,050 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.731 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 = 0.731/3.738/6.745/3.007 ms') 2025-07-17 12:25:39,050 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19125563-37104460 passed 2025-07-17 12:25:39,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 12:25:39,208 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19125563-37104460, IP 66.178.146.195, Port 22 2025-07-17 12:25:39,273 - 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-07-17 12:25:39,380 - DEBUG - VM ctest-TestBasicPolicy-19125563-37104460 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-17 12:25:44,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 12:25:44,381 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19125563-37104460, IP 66.178.146.195, Port 22 2025-07-17 12:25:44,554 - DEBUG - VM ctest-TestBasicPolicy-19125563-37104460 is ready for SSH connections 2025-07-17 12:25:44,554 - INFO - Waiting for VM ctest-TestBasicPolicy-19125563-51354661 to be up.. 2025-07-17 12:25:44,657 - DEBUG - VM is in ACTIVE state now 2025-07-17 12:25:44,657 - INFO - VM name : ctest-TestBasicPolicy-19125563-51354661 2025-07-17 12:25:44,756 - DEBUG - VM ctest-TestBasicPolicy-19125563-51354661 ID is 4d93fba5-5cd2-4da7-8d5b-0cda527f01a3 2025-07-17 12:25:44,756 - DEBUG - VM ctest-TestBasicPolicy-19125563-51354661 launched on Node cn-jenkins-deploy-platform-ansible-os-3655-1 2025-07-17 12:25:44,849 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d93fba5-5cd2-4da7-8d5b-0cda527f01a3 2025-07-17 12:25:44,861 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3a33ab80-c2f4-4468-a09a-aab9e2d49826 2025-07-17 12:25:46,115 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.334 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.334/1.937/3.541/1.603 ms') 2025-07-17 12:25:46,115 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19125563-51354661 passed 2025-07-17 12:25:46,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 12:25:46,272 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19125563-51354661, IP 88.214.124.195, Port 22 2025-07-17 12:25:46,441 - DEBUG - VM ctest-TestBasicPolicy-19125563-51354661 is ready for SSH connections 2025-07-17 12:25:46,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 12:25:46,442 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.214.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-17 12:25:46,442 - DEBUG - ping -s 56 -c 3 -W 1 88.214.124.195 2025-07-17 12:25:50,232 - DEBUG - PING 88.214.124.195 (88.214.124.195): 56 data bytes 64 bytes from 88.214.124.195: seq=0 ttl=63 time=3.730 ms 64 bytes from 88.214.124.195: seq=1 ttl=63 time=0.895 ms 64 bytes from 88.214.124.195: seq=2 ttl=63 time=0.934 ms --- 88.214.124.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/1.853/3.730 ms 2025-07-17 12:25:50,233 - INFO - Ping to IP 88.214.124.195 from VM ctest-TestBasicPolicy-19125563-37104460 passed 2025-07-17 12:25:50,431 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d1b95c64-faf7-4b4b-ba49-e476ab517cec", "href": "http://10.0.0.254:8082/network-policy/d1b95c64-faf7-4b4b-ba49-e476ab517cec"}} 2025-07-17 12:25:50,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-17 12:25:50,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.214.124.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-17 12:25:50,432 - DEBUG - ping -s 56 -c 3 -W 1 88.214.124.195 2025-07-17 12:25:53,686 - DEBUG - PING 88.214.124.195 (88.214.124.195): 56 data bytes --- 88.214.124.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-17 12:25:53,686 - WARNING - Ping to IP 88.214.124.195 from VM ctest-TestBasicPolicy-19125563-37104460 failed 2025-07-17 12:25:53,686 - INFO - Deleting VM ctest-TestBasicPolicy-19125563-51354661 2025-07-17 12:25:53,765 - INFO - Deleting VM ctest-TestBasicPolicy-19125563-37104460 2025-07-17 12:25:54,283 - INFO - Deleted policy ctest-policy-allow-all-42022533 2025-07-17 12:25:54,283 - INFO - Deleting VN ctest-vn-80393030 2025-07-17 12:25:54,328 - DEBUG - VN d032fc9b-0427-4d3f-9c27-4dba496adeaa still in use: Unable to complete operation on network d032fc9b-0427-4d3f-9c27-4dba496adeaa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b515d873-e485-48b3-b6c4-3c193aeb62b6'] 2025-07-17 12:25:54,328 - WARNING - Deleting VN ctest-vn-80393030 failed..Will retry 2025-07-17 12:25:56,470 - DEBUG - Response for deleting network () 2025-07-17 12:25:56,470 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/50dfb894-251a-457b-bb19-1459ab2186c9 2025-07-17 12:25:56,485 - DEBUG - Response Code: 404 2025-07-17 12:25:56,485 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 12:25:56,493 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5c0cf9f4-4420-4392-ad28-0d6dcddbee99 2025-07-17 12:25:56,510 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc540a-f81a-46c4-9f23-8e4cd8543db6 2025-07-17 12:25:56,590 - INFO - Validated that VN ctest-vn-80393030 is not found in API Server 2025-07-17 12:25:56,602 - DEBUG - VN ctest-vn-80393030 is not present in Agent 10.0.0.254 2025-07-17 12:25:56,603 - INFO - Validated that VN ctest-vn-80393030 is not in any agent 2025-07-17 12:25:56,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80393030 info 2025-07-17 12:25:56,622 - INFO - Deleting VN ctest-vn-33048672 2025-07-17 12:25:56,765 - DEBUG - Response for deleting network () 2025-07-17 12:25:56,765 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/5bd68969-1b5b-462b-8870-3e3f0140c422 2025-07-17 12:25:56,778 - DEBUG - Response Code: 404 2025-07-17 12:25:56,779 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-17 12:25:56,788 - DEBUG - Requesting: http://10.0.0.254:8082/domain/5c0cf9f4-4420-4392-ad28-0d6dcddbee99 2025-07-17 12:25:56,806 - DEBUG - Requesting: http://10.0.0.254:8082/project/44bc540a-f81a-46c4-9f23-8e4cd8543db6 2025-07-17 12:25:56,887 - INFO - Validated that VN ctest-vn-33048672 is not found in API Server 2025-07-17 12:25:56,901 - DEBUG - VN ctest-vn-33048672 is not present in Agent 10.0.0.254 2025-07-17 12:25:56,901 - INFO - Validated that VN ctest-vn-33048672 is not in any agent 2025-07-17 12:25:56,921 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33048672 info 2025-07-17 12:25:57,183 - DEBUG - No XMPP flaps were noticed during the test 2025-07-17 12:25:57,183 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2025-07-17 12:25:57,183 - INFO - -------------------------------------------------------------------------------- 2025-07-17 12:25:57,950 - INFO - Deleted project: ctest-TestBasicPolicy-19125563, ID : 44bc540a-f81a-46c4-9f23-8e4cd8543db6