2025-10-20 02:10:36,806 - INFO - Domain Default found not creating 2025-10-20 02:10:36,951 - INFO - Project ctest-TestPorts-26805589 not found, creating it 2025-10-20 02:10:37,408 - INFO - Created Project:ctest-TestPorts-26805589, ID : 43d05c74-e364-450d-881c-275bf31c5e4f 2025-10-20 02:10:38,947 - INFO - ================================================================================ 2025-10-20 02:10:38,947 - INFO - STARTING TEST : test_ports_bindings 2025-10-20 02:10:38,947 - 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-20 02:10:39,207 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-10-20 02:10:39,207 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:10:39,207 - INFO - 2025-10-20 02:10:39,810 - DEBUG - Response for create_network : {'network': {'id': 'deb04886-6f8c-462b-a2b0-c19f6c1d04ff', 'name': 'ctest-vn-52946448', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'project_id': '43d05c74e364450d881c275bf31c5e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26805589', 'ctest-vn-52946448'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:10:40,002 - DEBUG - Response for create_subnet : {'subnet': {'id': '952f8233-2361-4dda-9625-5d203c6381dd', 'name': '', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'network_id': 'deb04886-6f8c-462b-a2b0-c19f6c1d04ff', 'ip_version': 4, 'cidr': '65.4.248.0/26', 'allocation_pools': [{'start': '65.4.248.2', 'end': '65.4.248.62'}], 'gateway_ip': '65.4.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.4.248.2', 'tags': [], 'project_id': '43d05c74e364450d881c275bf31c5e4f'}} 2025-10-20 02:10:40,021 - INFO - Created VN ctest-vn-52946448 2025-10-20 02:10:40,074 - DEBUG - VN ctest-vn-52946448 UUID is deb04886-6f8c-462b-a2b0-c19f6c1d04ff 2025-10-20 02:10:40,180 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-26805589', 'ctest-vmi-67206882']} 2025-10-20 02:10:40,456 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67206882', 'id': 'fc1dca38-bd78-4ea5-81f0-c60fe85a9ac5', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'network_id': 'deb04886-6f8c-462b-a2b0-c19f6c1d04ff', 'mac_address': '02:fc:1d:ca:38:bd', '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': '65.4.248.3', 'subnet_id': '952f8233-2361-4dda-9625-5d203c6381dd'}], 'security_groups': ['a61540b6-6769-471e-8ce1-245255a02831'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43d05c74e364450d881c275bf31c5e4f'}} 2025-10-20 02:10:40,457 - DEBUG - Created port fc1dca38-bd78-4ea5-81f0-c60fe85a9ac5 2025-10-20 02:10:40,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc1dca38-bd78-4ea5-81f0-c60fe85a9ac5 2025-10-20 02:10:40,903 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc1dca38-bd78-4ea5-81f0-c60fe85a9ac5 2025-10-20 02:10:40,937 - INFO - VMI fc1dca38-bd78-4ea5-81f0-c60fe85a9ac5 verification in API Server passed 2025-10-20 02:10:41,018 - DEBUG - Response for delete_port : () 2025-10-20 02:10:41,018 - INFO - Deleted port fc1dca38-bd78-4ea5-81f0-c60fe85a9ac5 2025-10-20 02:10:41,018 - INFO - Deleting VN ctest-vn-52946448 2025-10-20 02:10:41,111 - DEBUG - Response for deleting network () 2025-10-20 02:10:41,367 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 02:10:41,367 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-20 02:10:41,367 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:10:41,369 - INFO - ================================================================================ 2025-10-20 02:10:41,370 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-20 02:10:41,370 - 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-20 02:10:41,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with 2025-10-20 02:10:41,655 - INFO - Initial checks done. Running the testcase now 2025-10-20 02:10:41,655 - INFO - 2025-10-20 02:10:41,824 - DEBUG - Response for create_network : {'network': {'id': 'aca2dddf-4f43-4d15-9f58-b19aa7ce8473', 'name': 'ctest-vn1-31229231', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'project_id': '43d05c74e364450d881c275bf31c5e4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26805589', 'ctest-vn1-31229231'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 02:10:42,028 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2b2b850-fe41-48a1-a9be-95131345607c', 'name': '', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'network_id': 'aca2dddf-4f43-4d15-9f58-b19aa7ce8473', 'ip_version': 4, 'cidr': '202.57.217.128/26', 'allocation_pools': [{'start': '202.57.217.130', 'end': '202.57.217.190'}], 'gateway_ip': '202.57.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.57.217.130', 'tags': [], 'project_id': '43d05c74e364450d881c275bf31c5e4f'}} 2025-10-20 02:10:42,168 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd95ec2f4-db6b-4666-bf8c-d039ee51b03d', 'name': '', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'network_id': 'aca2dddf-4f43-4d15-9f58-b19aa7ce8473', 'ip_version': 4, 'cidr': '26.133.234.192/26', 'allocation_pools': [{'start': '26.133.234.194', 'end': '26.133.234.254'}], 'gateway_ip': '26.133.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.133.234.194', 'tags': [], 'project_id': '43d05c74e364450d881c275bf31c5e4f'}} 2025-10-20 02:10:42,185 - INFO - Created VN ctest-vn1-31229231 2025-10-20 02:10:42,238 - DEBUG - VN ctest-vn1-31229231 UUID is aca2dddf-4f43-4d15-9f58-b19aa7ce8473 2025-10-20 02:10:42,517 - DEBUG - Response for create_port : {'port': {'name': '81353405-a056-4b8f-82ba-f4ee0af0b42d', 'id': '81353405-a056-4b8f-82ba-f4ee0af0b42d', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'network_id': 'aca2dddf-4f43-4d15-9f58-b19aa7ce8473', 'mac_address': '02:81:35:34:05:a0', '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': '202.57.217.133', 'subnet_id': 'f2b2b850-fe41-48a1-a9be-95131345607c'}], 'security_groups': ['a61540b6-6769-471e-8ce1-245255a02831'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43d05c74e364450d881c275bf31c5e4f'}} 2025-10-20 02:10:42,678 - DEBUG - Response for create_port : {'port': {'name': '0a20eed8-739a-4cb9-935b-d1d374fd1367', 'id': '0a20eed8-739a-4cb9-935b-d1d374fd1367', 'tenant_id': '43d05c74e364450d881c275bf31c5e4f', 'network_id': 'aca2dddf-4f43-4d15-9f58-b19aa7ce8473', 'mac_address': '02:0a:20:ee:d8:73', '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': '26.133.234.197', 'subnet_id': 'd95ec2f4-db6b-4666-bf8c-d039ee51b03d'}], 'security_groups': ['a61540b6-6769-471e-8ce1-245255a02831'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43d05c74e364450d881c275bf31c5e4f'}} 2025-10-20 02:10:42,733 - DEBUG - Services list from nova: [, , ] 2025-10-20 02:10:43,053 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4367-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4367-1) 2025-10-20 02:10:43,443 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4367-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4367-1) 2025-10-20 02:10:43,444 - INFO - Waiting for VM ctest-vn1-vm1-72420152 to be up.. 2025-10-20 02:10:43,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 02:10:48,557 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:10:48,557 - INFO - VM name : ctest-vn1-vm1-72420152 2025-10-20 02:10:48,628 - DEBUG - VM ctest-vn1-vm1-72420152 ID is b7851006-db87-4600-8cb8-73703238cb1a 2025-10-20 02:10:48,647 - DEBUG - VM ctest-vn1-vm1-72420152 launched on Node cn-jenkins-deploy-platform-ansible-os-4367-1 2025-10-20 02:10:48,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b7851006-db87-4600-8cb8-73703238cb1a 2025-10-20 02:10:48,735 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/81353405-a056-4b8f-82ba-f4ee0af0b42d 2025-10-20 02:10:52,011 - 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 1035ms') 2025-10-20 02:10:52,011 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72420152 failed! 2025-10-20 02:10:52,066 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26805589:ctest-vn1-31229231 is 202.57.217.129 and allocation pool is NOT set 2025-10-20 02:10:52,066 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26805589:ctest-vn1-31229231 is 26.133.234.193 and allocation pool is NOT set 2025-10-20 02:10:56,138 - 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=2 ttl=63 time=6.56 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 6.555/6.555/6.555/0.000 ms') 2025-10-20 02:10:56,138 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72420152 passed 2025-10-20 02:10:56,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:10:56,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72420152, IP 202.57.217.133, Port 22 2025-10-20 02:10:56,445 - DEBUG - VM ctest-vn1-vm1-72420152 is ready for SSH connections 2025-10-20 02:10:56,445 - INFO - Waiting for VM ctest-vn1-vm2-80782375 to be up.. 2025-10-20 02:10:56,514 - DEBUG - VM is in ACTIVE state now 2025-10-20 02:10:56,514 - INFO - VM name : ctest-vn1-vm2-80782375 2025-10-20 02:10:56,578 - DEBUG - VM ctest-vn1-vm2-80782375 ID is 8d03ad6c-e118-4c4f-86c6-43521c5076fe 2025-10-20 02:10:56,578 - DEBUG - VM ctest-vn1-vm2-80782375 launched on Node cn-jenkins-deploy-platform-ansible-os-4367-1 2025-10-20 02:10:56,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d03ad6c-e118-4c4f-86c6-43521c5076fe 2025-10-20 02:10:56,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0a20eed8-739a-4cb9-935b-d1d374fd1367 2025-10-20 02:10:57,880 - 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=4.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.72 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.719/3.314/4.909/1.595 ms') 2025-10-20 02:10:57,881 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-80782375 passed 2025-10-20 02:10:58,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:10:58,030 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80782375, IP 26.133.234.197, Port 22 2025-10-20 02:10:58,085 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-20 02:10:58,156 - DEBUG - VM ctest-vn1-vm2-80782375 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-20 02:11:03,157 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:03,157 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-80782375, IP 26.133.234.197, Port 22 2025-10-20 02:11:03,321 - DEBUG - VM ctest-vn1-vm2-80782375 is ready for SSH connections 2025-10-20 02:11:03,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:03,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:03,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 02:11:03,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.57.217.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-20 02:11:03,322 - DEBUG - ping -s 56 -c 3 -W 1 202.57.217.133 2025-10-20 02:11:06,029 - DEBUG - PING 202.57.217.133 (202.57.217.133): 56 data bytes 64 bytes from 202.57.217.133: seq=0 ttl=63 time=4.410 ms 64 bytes from 202.57.217.133: seq=1 ttl=63 time=1.092 ms 64 bytes from 202.57.217.133: seq=2 ttl=63 time=0.824 ms --- 202.57.217.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/2.108/4.410 ms 2025-10-20 02:11:06,029 - INFO - Ping to IP 202.57.217.133 from VM ctest-vn1-vm2-80782375 passed 2025-10-20 02:11:06,029 - INFO - Detaching port 0a20eed8-739a-4cb9-935b-d1d374fd1367 from VM ctest-vn1-vm2-80782375 2025-10-20 02:11:06,079 - INFO - Deleting VM ctest-vn1-vm2-80782375 2025-10-20 02:11:06,153 - INFO - Detaching port 81353405-a056-4b8f-82ba-f4ee0af0b42d from VM ctest-vn1-vm1-72420152 2025-10-20 02:11:06,185 - INFO - Deleting VM ctest-vn1-vm1-72420152 2025-10-20 02:11:06,411 - DEBUG - Response for delete_port : () 2025-10-20 02:11:06,572 - DEBUG - Response for delete_port : () 2025-10-20 02:11:06,572 - INFO - Deleting VN ctest-vn1-31229231 2025-10-20 02:11:06,693 - DEBUG - Response for deleting network () 2025-10-20 02:11:06,951 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 02:11:06,951 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-20 02:11:06,951 - INFO - -------------------------------------------------------------------------------- 2025-10-20 02:11:07,653 - INFO - Deleted project: ctest-TestPorts-26805589, ID : 43d05c74-e364-450d-881c-275bf31c5e4f