2025-08-26 16:22:50,515 - INFO - Domain Default found not creating 2025-08-26 16:22:50,644 - INFO - Project ctest-TestBasicPolicy-04097946 not found, creating it 2025-08-26 16:22:51,088 - INFO - Created Project:ctest-TestBasicPolicy-04097946, ID : 647024a9-f153-4dc5-9f9e-46ebe5251683 2025-08-26 16:22:52,557 - INFO - ================================================================================ 2025-08-26 16:22:52,558 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-26 16:22:52,558 - 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-08-26 16:22:52,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-26 16:22:52,819 - INFO - Initial checks done. Running the testcase now 2025-08-26 16:22:52,819 - INFO - 2025-08-26 16:22:53,379 - DEBUG - Response for create_network : {'network': {'id': '54bf8b0d-9e10-45d8-b572-c337f454ee0b', 'name': 'ctest-vn-67267125', 'tenant_id': '647024a9f1534dc59f9e46ebe5251683', 'project_id': '647024a9f1534dc59f9e46ebe5251683', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-vn-67267125'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 16:22:53,585 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5e6c177-5417-4d4a-b463-59df373778f9', 'name': '', 'tenant_id': '647024a9f1534dc59f9e46ebe5251683', 'network_id': '54bf8b0d-9e10-45d8-b572-c337f454ee0b', 'ip_version': 4, 'cidr': '200.134.18.0/26', 'allocation_pools': [{'start': '200.134.18.2', 'end': '200.134.18.62'}], 'gateway_ip': '200.134.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.134.18.2', 'tags': [], 'project_id': '647024a9f1534dc59f9e46ebe5251683'}} 2025-08-26 16:22:53,601 - INFO - Created VN ctest-vn-67267125 2025-08-26 16:22:53,650 - DEBUG - VN ctest-vn-67267125 UUID is 54bf8b0d-9e10-45d8-b572-c337f454ee0b 2025-08-26 16:22:53,944 - DEBUG - Response for create_network : {'network': {'id': 'fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25', 'name': 'ctest-vn-39393079', 'tenant_id': '647024a9f1534dc59f9e46ebe5251683', 'project_id': '647024a9f1534dc59f9e46ebe5251683', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-vn-39393079'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 16:22:54,160 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c43b68ad-13e0-4e64-81c4-5e16afa59cb4', 'name': '', 'tenant_id': '647024a9f1534dc59f9e46ebe5251683', 'network_id': 'fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25', 'ip_version': 4, 'cidr': '88.123.66.192/26', 'allocation_pools': [{'start': '88.123.66.194', 'end': '88.123.66.254'}], 'gateway_ip': '88.123.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.123.66.194', 'tags': [], 'project_id': '647024a9f1534dc59f9e46ebe5251683'}} 2025-08-26 16:22:54,175 - INFO - Created VN ctest-vn-39393079 2025-08-26 16:22:54,226 - DEBUG - VN ctest-vn-39393079 UUID is fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 2025-08-26 16:22:54,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-67267125, 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-04097946:ctest-vn-39393079, 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-08-26 16:22:54,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54bf8b0d-9e10-45d8-b572-c337f454ee0b', 'name': 'ctest-vn-67267125', 'tenant_id': '647024a9f1534dc59f9e46ebe5251683', 'project_id': '647024a9f1534dc59f9e46ebe5251683', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5e6c177-5417-4d4a-b463-59df373778f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-vn-67267125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-policy-allow-all-50828554']], 'subnet_ipam': [{'subnet_cidr': '200.134.18.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 16:22:54,880 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25', 'name': 'ctest-vn-39393079', 'tenant_id': '647024a9f1534dc59f9e46ebe5251683', 'project_id': '647024a9f1534dc59f9e46ebe5251683', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c43b68ad-13e0-4e64-81c4-5e16afa59cb4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-vn-39393079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-policy-allow-all-50828554']], 'subnet_ipam': [{'subnet_cidr': '88.123.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 16:22:55,058 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 16:22:55,391 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 16:22:55,417 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2647b543-b1d6-4f48-af68-2ea8b452b196 2025-08-26 16:22:55,427 - DEBUG - Requesting: http://10.0.0.254:8082/project/647024a9-f153-4dc5-9f9e-46ebe5251683 2025-08-26 16:22:55,499 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/54bf8b0d-9e10-45d8-b572-c337f454ee0b 2025-08-26 16:22:55,510 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/54bf8b0d-9e10-45d8-b572-c337f454ee0b 2025-08-26 16:22:55,519 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bdbd342d-1f9c-4159-8275-345ccee9dd49 2025-08-26 16:22:55,525 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bdbd342d-1f9c-4159-8275-345ccee9dd49 2025-08-26 16:22:55,531 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c884acd9-9f38-4fc0-97b4-35e6d04f3f2f 2025-08-26 16:22:55,536 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 16:22:55,536 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/54bf8b0d-9e10-45d8-b572-c337f454ee0b 2025-08-26 16:22:55,544 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bdbd342d-1f9c-4159-8275-345ccee9dd49 2025-08-26 16:22:55,557 - INFO - Verified VN network id 11 for VN 54bf8b0d-9e10-45d8-b572-c337f454ee0b 2025-08-26 16:22:55,557 - INFO - Verifications in API Server for VN ctest-vn-67267125 passed 2025-08-26 16:22:55,557 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/54bf8b0d-9e10-45d8-b572-c337f454ee0b 2025-08-26 16:22:55,565 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bdbd342d-1f9c-4159-8275-345ccee9dd49 2025-08-26 16:22:55,570 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bdbd342d-1f9c-4159-8275-345ccee9dd49 2025-08-26 16:22:55,576 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c884acd9-9f38-4fc0-97b4-35e6d04f3f2f 2025-08-26 16:22:55,588 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-67267125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04097946', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6106752510340384216', 'uuid-lslong': '13074727313299795467'}, 'enable': 'true', 'created': '2025-08-26T16:22:53', 'last-modified': '2025-08-26T16:22:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.944027'} 2025-08-26 16:22:55,594 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 16:22:55,594 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67267125 passed 2025-08-26 16:22:55,594 - DEBUG - ====Verifying policy data for ctest-vn-67267125 in API_Server ====== 2025-08-26 16:22:55,594 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 16:22:55,599 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2647b543-b1d6-4f48-af68-2ea8b452b196 2025-08-26 16:22:55,609 - DEBUG - Requesting: http://10.0.0.254:8082/project/647024a9-f153-4dc5-9f9e-46ebe5251683 2025-08-26 16:22:55,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/54bf8b0d-9e10-45d8-b572-c337f454ee0b 2025-08-26 16:22:55,683 - DEBUG - ==>Verifying data for policy with id: 354978d5-9158-4631-b6a0-2dc52becde24, fqn: ['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-policy-allow-all-50828554'] 2025-08-26 16:22:55,683 - INFO - VN ctest-vn-67267125 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 16:22:55,683 - DEBUG - Verifying the vn in opserver 2025-08-26 16:22:55,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-67267125 virtual network link through opserver 10.0.0.254 2025-08-26 16:22:55,684 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-26 16:22:56,023 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-26 16:22:56,082 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-67267125', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-67267125?flat'} 2025-08-26 16:22:56,082 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-67267125 is found in opserver 2025-08-26 16:22:56,091 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 16:22:56,095 - DEBUG - VRF ids for VN ctest-vn-67267125: {} 2025-08-26 16:22:56,095 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 16:22:56,099 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2647b543-b1d6-4f48-af68-2ea8b452b196 2025-08-26 16:22:56,109 - DEBUG - Requesting: http://10.0.0.254:8082/project/647024a9-f153-4dc5-9f9e-46ebe5251683 2025-08-26 16:22:56,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 2025-08-26 16:22:56,185 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 2025-08-26 16:22:56,193 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ef7f5483-b9ed-4ebc-916a-544287af8842 2025-08-26 16:22:56,199 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ef7f5483-b9ed-4ebc-916a-544287af8842 2025-08-26 16:22:56,204 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c019b706-cc59-4dbe-9136-2332e3ef90ad 2025-08-26 16:22:56,209 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 16:22:56,209 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 2025-08-26 16:22:56,217 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ef7f5483-b9ed-4ebc-916a-544287af8842 2025-08-26 16:22:56,229 - INFO - Verified VN network id 12 for VN fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 2025-08-26 16:22:56,229 - INFO - Verifications in API Server for VN ctest-vn-39393079 passed 2025-08-26 16:22:56,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 2025-08-26 16:22:56,238 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ef7f5483-b9ed-4ebc-916a-544287af8842 2025-08-26 16:22:56,244 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ef7f5483-b9ed-4ebc-916a-544287af8842 2025-08-26 16:22:56,250 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c019b706-cc59-4dbe-9136-2332e3ef90ad 2025-08-26 16:22:56,261 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-39393079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04097946', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18093844427670507292', 'uuid-lslong': '10359252088106221349'}, 'enable': 'true', 'created': '2025-08-26T16:22:53', 'last-modified': '2025-08-26T16:22:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399938'} 2025-08-26 16:22:56,267 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 16:22:56,268 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39393079 passed 2025-08-26 16:22:56,268 - DEBUG - ====Verifying policy data for ctest-vn-39393079 in API_Server ====== 2025-08-26 16:22:56,268 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 16:22:56,275 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2647b543-b1d6-4f48-af68-2ea8b452b196 2025-08-26 16:22:56,284 - DEBUG - Requesting: http://10.0.0.254:8082/project/647024a9-f153-4dc5-9f9e-46ebe5251683 2025-08-26 16:22:56,353 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 2025-08-26 16:22:56,361 - DEBUG - ==>Verifying data for policy with id: 354978d5-9158-4631-b6a0-2dc52becde24, fqn: ['default-domain', 'ctest-TestBasicPolicy-04097946', 'ctest-policy-allow-all-50828554'] 2025-08-26 16:22:56,361 - INFO - VN ctest-vn-39393079 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 16:22:56,361 - DEBUG - Verifying the vn in opserver 2025-08-26 16:22:56,361 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-39393079 virtual network link through opserver 10.0.0.254 2025-08-26 16:22:56,361 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-26 16:22:56,370 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-39393079', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-39393079?flat'} 2025-08-26 16:22:56,370 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-39393079 is found in opserver 2025-08-26 16:22:56,378 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 16:22:56,382 - DEBUG - VRF ids for VN ctest-vn-39393079: {} 2025-08-26 16:22:56,445 - DEBUG - Services list from nova: [, , ] 2025-08-26 16:22:57,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1) 2025-08-26 16:22:58,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1) 2025-08-26 16:22:58,685 - INFO - Waiting for VM ctest-TestBasicPolicy-04097946-06354901 to be up.. 2025-08-26 16:22:58,755 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 16:23:03,825 - DEBUG - VM is in ACTIVE state now 2025-08-26 16:23:03,825 - INFO - VM name : ctest-TestBasicPolicy-04097946-06354901 2025-08-26 16:23:03,893 - DEBUG - VM ctest-TestBasicPolicy-04097946-06354901 ID is ed7ffa13-44d5-43f1-9639-db183f093e42 2025-08-26 16:23:03,911 - DEBUG - VM ctest-TestBasicPolicy-04097946-06354901 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1 2025-08-26 16:23:03,979 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ed7ffa13-44d5-43f1-9639-db183f093e42 2025-08-26 16:23:03,989 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/00ab61e2-d879-41e4-9806-f38cebc28183 2025-08-26 16:23:07,228 - 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 1003ms') 2025-08-26 16:23:07,228 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04097946-06354901 failed! 2025-08-26 16:23:07,282 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04097946:ctest-vn-67267125 is 200.134.18.1 and allocation pool is NOT set 2025-08-26 16:23:09,343 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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.627/5.196/8.766/3.569 ms') 2025-08-26 16:23:09,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04097946-06354901 passed 2025-08-26 16:23:09,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:23:09,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04097946-06354901, IP 200.134.18.3, Port 22 2025-08-26 16:23:09,549 - 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-08-26 16:23:09,622 - DEBUG - VM ctest-TestBasicPolicy-04097946-06354901 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-26 16:23:14,623 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:23:14,623 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04097946-06354901, IP 200.134.18.3, Port 22 2025-08-26 16:23:14,777 - DEBUG - VM ctest-TestBasicPolicy-04097946-06354901 is ready for SSH connections 2025-08-26 16:23:14,777 - INFO - Waiting for VM ctest-TestBasicPolicy-04097946-14470342 to be up.. 2025-08-26 16:23:14,849 - DEBUG - VM is in ACTIVE state now 2025-08-26 16:23:14,850 - INFO - VM name : ctest-TestBasicPolicy-04097946-14470342 2025-08-26 16:23:14,922 - DEBUG - VM ctest-TestBasicPolicy-04097946-14470342 ID is eb9a412e-5040-4008-97a6-31bf47a862b4 2025-08-26 16:23:14,922 - DEBUG - VM ctest-TestBasicPolicy-04097946-14470342 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1 2025-08-26 16:23:14,989 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eb9a412e-5040-4008-97a6-31bf47a862b4 2025-08-26 16:23:14,996 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5885b046-3573-4457-9b1f-0b5fc8365e4c 2025-08-26 16:23:16,230 - 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.00 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.688/2.995/1.307 ms') 2025-08-26 16:23:16,231 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04097946-14470342 passed 2025-08-26 16:23:16,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:23:16,378 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04097946-14470342, IP 88.123.66.195, Port 22 2025-08-26 16:23:16,533 - DEBUG - VM ctest-TestBasicPolicy-04097946-14470342 is ready for SSH connections 2025-08-26 16:23:16,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:23:16,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.123.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-26 16:23:16,533 - DEBUG - ping -s 56 -c 3 -W 1 88.123.66.195 2025-08-26 16:23:20,604 - DEBUG - PING 88.123.66.195 (88.123.66.195): 56 data bytes 64 bytes from 88.123.66.195: seq=0 ttl=63 time=3.711 ms 64 bytes from 88.123.66.195: seq=1 ttl=63 time=0.944 ms 64 bytes from 88.123.66.195: seq=2 ttl=63 time=0.721 ms --- 88.123.66.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.721/1.792/3.711 ms 2025-08-26 16:23:20,604 - INFO - Ping to IP 88.123.66.195 from VM ctest-TestBasicPolicy-04097946-06354901 passed 2025-08-26 16:23:20,778 - DEBUG - Policy Update Response {"network-policy": {"uuid": "354978d5-9158-4631-b6a0-2dc52becde24", "href": "http://10.0.0.254:8082/network-policy/354978d5-9158-4631-b6a0-2dc52becde24"}} 2025-08-26 16:23:20,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 16:23:20,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.123.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-26 16:23:20,778 - DEBUG - ping -s 56 -c 3 -W 1 88.123.66.195 2025-08-26 16:23:24,022 - DEBUG - PING 88.123.66.195 (88.123.66.195): 56 data bytes --- 88.123.66.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 16:23:24,022 - WARNING - Ping to IP 88.123.66.195 from VM ctest-TestBasicPolicy-04097946-06354901 failed 2025-08-26 16:23:24,023 - INFO - Deleting VM ctest-TestBasicPolicy-04097946-14470342 2025-08-26 16:23:24,093 - INFO - Deleting VM ctest-TestBasicPolicy-04097946-06354901 2025-08-26 16:23:24,438 - INFO - Deleted policy ctest-policy-allow-all-50828554 2025-08-26 16:23:24,438 - INFO - Deleting VN ctest-vn-39393079 2025-08-26 16:23:24,471 - DEBUG - VN fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25 still in use: Unable to complete operation on network fb1a3fa4-447b-4f1c-8fc3-74e3724b7f25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba1fc3dc-2de6-4e80-b017-073116a72d44'] 2025-08-26 16:23:24,471 - WARNING - Deleting VN ctest-vn-39393079 failed..Will retry 2025-08-26 16:23:26,570 - DEBUG - Response for deleting network () 2025-08-26 16:23:26,570 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ef7f5483-b9ed-4ebc-916a-544287af8842 2025-08-26 16:23:26,576 - DEBUG - Response Code: 404 2025-08-26 16:23:26,576 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 16:23:26,581 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2647b543-b1d6-4f48-af68-2ea8b452b196 2025-08-26 16:23:26,635 - DEBUG - Requesting: http://10.0.0.254:8082/project/647024a9-f153-4dc5-9f9e-46ebe5251683 2025-08-26 16:23:26,703 - INFO - Validated that VN ctest-vn-39393079 is not found in API Server 2025-08-26 16:23:26,712 - DEBUG - VN ctest-vn-39393079 is not present in Agent 10.0.0.254 2025-08-26 16:23:26,712 - INFO - Validated that VN ctest-vn-39393079 is not in any agent 2025-08-26 16:23:26,724 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39393079 info 2025-08-26 16:23:26,724 - INFO - Deleting VN ctest-vn-67267125 2025-08-26 16:23:26,808 - DEBUG - Response for deleting network () 2025-08-26 16:23:26,808 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bdbd342d-1f9c-4159-8275-345ccee9dd49 2025-08-26 16:23:26,814 - DEBUG - Response Code: 404 2025-08-26 16:23:26,814 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-26 16:23:26,819 - DEBUG - Requesting: http://10.0.0.254:8082/domain/2647b543-b1d6-4f48-af68-2ea8b452b196 2025-08-26 16:23:26,871 - DEBUG - Requesting: http://10.0.0.254:8082/project/647024a9-f153-4dc5-9f9e-46ebe5251683 2025-08-26 16:23:26,940 - INFO - Validated that VN ctest-vn-67267125 is not found in API Server 2025-08-26 16:23:26,949 - DEBUG - VN ctest-vn-67267125 is not present in Agent 10.0.0.254 2025-08-26 16:23:26,949 - INFO - Validated that VN ctest-vn-67267125 is not in any agent 2025-08-26 16:23:26,962 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67267125 info 2025-08-26 16:23:27,214 - DEBUG - No XMPP flaps were noticed during the test 2025-08-26 16:23:27,214 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-08-26 16:23:27,214 - INFO - -------------------------------------------------------------------------------- 2025-08-26 16:23:27,916 - INFO - Deleted project: ctest-TestBasicPolicy-04097946, ID : 647024a9-f153-4dc5-9f9e-46ebe5251683