2025-10-31 03:25:56,806 - INFO - Domain Default found not creating 2025-10-31 03:25:56,932 - INFO - Project ctest-TestPorts-20710514 not found, creating it 2025-10-31 03:25:57,371 - INFO - Created Project:ctest-TestPorts-20710514, ID : 50f75d2e-40f6-4d07-ae63-47af3050bbc5 2025-10-31 03:25:58,747 - INFO - ================================================================================ 2025-10-31 03:25:58,747 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 03:25:58,748 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-10-31 03:25:59,001 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 03:25:59,001 - INFO - Initial checks done. Running the testcase now 2025-10-31 03:25:59,001 - INFO - 2025-10-31 03:25:59,529 - DEBUG - Response for create_network : {'network': {'id': '55a0fd03-bff0-4ef0-b9d0-9fff82bf2903', 'name': 'ctest-vn-78089645', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'project_id': '50f75d2e40f64d07ae6347af3050bbc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20710514', 'ctest-vn-78089645'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:25:59,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '2268de41-af04-435d-b6d1-296edced3995', 'name': '', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'network_id': '55a0fd03-bff0-4ef0-b9d0-9fff82bf2903', 'ip_version': 4, 'cidr': '64.130.18.0/26', 'allocation_pools': [{'start': '64.130.18.2', 'end': '64.130.18.62'}], 'gateway_ip': '64.130.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.130.18.2', 'tags': [], 'project_id': '50f75d2e40f64d07ae6347af3050bbc5'}} 2025-10-31 03:25:59,776 - INFO - Created VN ctest-vn-78089645 2025-10-31 03:25:59,828 - DEBUG - VN ctest-vn-78089645 UUID is 55a0fd03-bff0-4ef0-b9d0-9fff82bf2903 2025-10-31 03:25:59,934 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20710514', 'ctest-vmi-41862986']} 2025-10-31 03:26:00,161 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41862986', 'id': '0c874fda-a849-467e-82f6-721b94359616', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'network_id': '55a0fd03-bff0-4ef0-b9d0-9fff82bf2903', 'mac_address': '02:0c:87:4f:da:a8', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '64.130.18.3', 'subnet_id': '2268de41-af04-435d-b6d1-296edced3995'}], 'security_groups': ['8ea86df6-0dec-4356-9b32-26d8b5e7e9a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50f75d2e40f64d07ae6347af3050bbc5'}} 2025-10-31 03:26:00,161 - DEBUG - Created port 0c874fda-a849-467e-82f6-721b94359616 2025-10-31 03:26:00,272 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c874fda-a849-467e-82f6-721b94359616 2025-10-31 03:26:00,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0c874fda-a849-467e-82f6-721b94359616 2025-10-31 03:26:00,606 - INFO - VMI 0c874fda-a849-467e-82f6-721b94359616 verification in API Server passed 2025-10-31 03:26:00,699 - DEBUG - Response for delete_port : () 2025-10-31 03:26:00,699 - INFO - Deleted port 0c874fda-a849-467e-82f6-721b94359616 2025-10-31 03:26:00,699 - INFO - Deleting VN ctest-vn-78089645 2025-10-31 03:26:00,788 - DEBUG - Response for deleting network () 2025-10-31 03:26:01,041 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 03:26:01,041 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-31 03:26:01,041 - INFO - -------------------------------------------------------------------------------- 2025-10-31 03:26:01,044 - INFO - ================================================================================ 2025-10-31 03:26:01,045 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 03:26:01,045 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-10-31 03:26:01,334 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 03:26:01,335 - INFO - Initial checks done. Running the testcase now 2025-10-31 03:26:01,335 - INFO - 2025-10-31 03:26:01,516 - DEBUG - Response for create_network : {'network': {'id': '4a59836b-0f6f-4252-ad60-c0031b02be09', 'name': 'ctest-vn1-13581293', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'project_id': '50f75d2e40f64d07ae6347af3050bbc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20710514', 'ctest-vn1-13581293'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 03:26:01,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '68f1e4ad-3d47-46a6-8fcb-48d5cde980f6', 'name': '', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'network_id': '4a59836b-0f6f-4252-ad60-c0031b02be09', 'ip_version': 4, 'cidr': '13.139.246.0/26', 'allocation_pools': [{'start': '13.139.246.2', 'end': '13.139.246.62'}], 'gateway_ip': '13.139.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.139.246.2', 'tags': [], 'project_id': '50f75d2e40f64d07ae6347af3050bbc5'}} 2025-10-31 03:26:01,886 - DEBUG - Response for create_subnet : {'subnet': {'id': '630e2ba5-3079-40b4-a274-6826236bc76d', 'name': '', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'network_id': '4a59836b-0f6f-4252-ad60-c0031b02be09', 'ip_version': 4, 'cidr': '81.88.128.64/26', 'allocation_pools': [{'start': '81.88.128.66', 'end': '81.88.128.126'}], 'gateway_ip': '81.88.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.88.128.66', 'tags': [], 'project_id': '50f75d2e40f64d07ae6347af3050bbc5'}} 2025-10-31 03:26:01,911 - INFO - Created VN ctest-vn1-13581293 2025-10-31 03:26:01,964 - DEBUG - VN ctest-vn1-13581293 UUID is 4a59836b-0f6f-4252-ad60-c0031b02be09 2025-10-31 03:26:02,267 - DEBUG - Response for create_port : {'port': {'name': '6201cd91-eb2d-42b4-9737-d311badd1b33', 'id': '6201cd91-eb2d-42b4-9737-d311badd1b33', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'network_id': '4a59836b-0f6f-4252-ad60-c0031b02be09', 'mac_address': '02:62:01:cd:91:eb', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '13.139.246.5', 'subnet_id': '68f1e4ad-3d47-46a6-8fcb-48d5cde980f6'}], 'security_groups': ['8ea86df6-0dec-4356-9b32-26d8b5e7e9a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50f75d2e40f64d07ae6347af3050bbc5'}} 2025-10-31 03:26:02,450 - DEBUG - Response for create_port : {'port': {'name': '3d911ff2-de28-4097-ab57-502a1f8ce3f4', 'id': '3d911ff2-de28-4097-ab57-502a1f8ce3f4', 'tenant_id': '50f75d2e40f64d07ae6347af3050bbc5', 'network_id': '4a59836b-0f6f-4252-ad60-c0031b02be09', 'mac_address': '02:3d:91:1f:f2:de', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '81.88.128.69', 'subnet_id': '630e2ba5-3079-40b4-a274-6826236bc76d'}], 'security_groups': ['8ea86df6-0dec-4356-9b32-26d8b5e7e9a5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '50f75d2e40f64d07ae6347af3050bbc5'}} 2025-10-31 03:26:02,514 - DEBUG - Services list from nova: [, , ] 2025-10-31 03:26:02,871 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4569-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4569-1) 2025-10-31 03:26:03,295 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4569-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4569-1) 2025-10-31 03:26:03,296 - INFO - Waiting for VM ctest-vn1-vm1-89535516 to be up.. 2025-10-31 03:26:03,341 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 03:26:08,433 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:26:08,433 - INFO - VM name : ctest-vn1-vm1-89535516 2025-10-31 03:26:08,505 - DEBUG - VM ctest-vn1-vm1-89535516 ID is 1f7e29c1-0627-4308-a2d5-c79bc2e7c500 2025-10-31 03:26:08,523 - DEBUG - VM ctest-vn1-vm1-89535516 launched on Node cn-jenkins-deploy-platform-ansible-os-4569-1 2025-10-31 03:26:08,589 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1f7e29c1-0627-4308-a2d5-c79bc2e7c500 2025-10-31 03:26:08,599 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6201cd91-eb2d-42b4-9737-d311badd1b33 2025-10-31 03:26:11,859 - 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 1019ms') 2025-10-31 03:26:11,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89535516 failed! 2025-10-31 03:26:11,916 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20710514:ctest-vn1-13581293 is 13.139.246.1 and allocation pool is NOT set 2025-10-31 03:26:11,916 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20710514:ctest-vn1-13581293 is 81.88.128.65 and allocation pool is NOT set 2025-10-31 03:26:13,979 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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.745/5.109/8.473/3.364 ms') 2025-10-31 03:26:13,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89535516 passed 2025-10-31 03:26:14,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:26:14,128 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89535516, IP 13.139.246.5, Port 22 2025-10-31 03:26:14,194 - 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-31 03:26:14,276 - DEBUG - VM ctest-vn1-vm1-89535516 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 03:26:19,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:26:19,278 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89535516, IP 13.139.246.5, Port 22 2025-10-31 03:26:19,440 - DEBUG - VM ctest-vn1-vm1-89535516 is ready for SSH connections 2025-10-31 03:26:19,440 - INFO - Waiting for VM ctest-vn1-vm2-93495549 to be up.. 2025-10-31 03:26:19,508 - DEBUG - VM is in ACTIVE state now 2025-10-31 03:26:19,508 - INFO - VM name : ctest-vn1-vm2-93495549 2025-10-31 03:26:19,583 - DEBUG - VM ctest-vn1-vm2-93495549 ID is 6771aae3-6b0f-4a6b-9e4e-bd711b6c0f8d 2025-10-31 03:26:19,583 - DEBUG - VM ctest-vn1-vm2-93495549 launched on Node cn-jenkins-deploy-platform-ansible-os-4569-1 2025-10-31 03:26:19,651 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6771aae3-6b0f-4a6b-9e4e-bd711b6c0f8d 2025-10-31 03:26:19,659 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3d911ff2-de28-4097-ab57-502a1f8ce3f4 2025-10-31 03:26:20,894 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.370/1.771/3.172/1.401 ms') 2025-10-31 03:26:20,894 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-93495549 passed 2025-10-31 03:26:21,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:26:21,040 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93495549, IP 81.88.128.69, Port 22 2025-10-31 03:26:21,206 - DEBUG - VM ctest-vn1-vm2-93495549 is ready for SSH connections 2025-10-31 03:26:21,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:26:21,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:26:21,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 03:26:21,206 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 13.139.246.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 03:26:21,207 - DEBUG - ping -s 56 -c 3 -W 1 13.139.246.5 2025-10-31 03:26:23,872 - DEBUG - PING 13.139.246.5 (13.139.246.5): 56 data bytes 64 bytes from 13.139.246.5: seq=0 ttl=63 time=4.127 ms 64 bytes from 13.139.246.5: seq=1 ttl=63 time=0.808 ms 64 bytes from 13.139.246.5: seq=2 ttl=63 time=1.211 ms --- 13.139.246.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.048/4.127 ms 2025-10-31 03:26:23,872 - INFO - Ping to IP 13.139.246.5 from VM ctest-vn1-vm2-93495549 passed 2025-10-31 03:26:23,873 - INFO - Detaching port 3d911ff2-de28-4097-ab57-502a1f8ce3f4 from VM ctest-vn1-vm2-93495549 2025-10-31 03:26:23,920 - INFO - Deleting VM ctest-vn1-vm2-93495549 2025-10-31 03:26:23,983 - INFO - Detaching port 6201cd91-eb2d-42b4-9737-d311badd1b33 from VM ctest-vn1-vm1-89535516 2025-10-31 03:26:24,016 - INFO - Deleting VM ctest-vn1-vm1-89535516 2025-10-31 03:26:24,241 - DEBUG - Response for delete_port : () 2025-10-31 03:26:24,394 - DEBUG - Response for delete_port : () 2025-10-31 03:26:24,394 - INFO - Deleting VN ctest-vn1-13581293 2025-10-31 03:26:24,530 - DEBUG - Response for deleting network () 2025-10-31 03:26:24,798 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 03:26:24,798 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-31 03:26:24,798 - INFO - -------------------------------------------------------------------------------- 2025-10-31 03:26:25,456 - INFO - Deleted project: ctest-TestPorts-20710514, ID : 50f75d2e-40f6-4d07-ae63-47af3050bbc5