2025-10-08 19:20:42,504 - INFO - Domain Default found not creating 2025-10-08 19:20:42,665 - INFO - Project ctest-TestPorts-52582822 not found, creating it 2025-10-08 19:20:43,131 - INFO - Created Project:ctest-TestPorts-52582822, ID : ddca64d5-7343-4dae-8cae-f402563daf4d 2025-10-08 19:20:44,582 - INFO - ================================================================================ 2025-10-08 19:20:44,582 - INFO - STARTING TEST : test_ports_bindings 2025-10-08 19:20:44,582 - 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-08 19:20:44,835 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.193': '0'}} with 2025-10-08 19:20:44,835 - INFO - Initial checks done. Running the testcase now 2025-10-08 19:20:44,835 - INFO - 2025-10-08 19:20:45,410 - DEBUG - Response for create_network : {'network': {'id': '640bed9f-63d8-42ae-9623-c0acb7c6f02b', 'name': 'ctest-vn-95356965', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'project_id': 'ddca64d573434dae8caef402563daf4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52582822', 'ctest-vn-95356965'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:20:45,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '1dbe20cd-474a-43f3-b4e9-6a96fdca3540', 'name': '', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'network_id': '640bed9f-63d8-42ae-9623-c0acb7c6f02b', 'ip_version': 4, 'cidr': '210.92.15.64/26', 'allocation_pools': [{'start': '210.92.15.66', 'end': '210.92.15.126'}], 'gateway_ip': '210.92.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.92.15.66', 'tags': [], 'project_id': 'ddca64d573434dae8caef402563daf4d'}} 2025-10-08 19:20:45,608 - INFO - Created VN ctest-vn-95356965 2025-10-08 19:20:45,657 - DEBUG - VN ctest-vn-95356965 UUID is 640bed9f-63d8-42ae-9623-c0acb7c6f02b 2025-10-08 19:20:45,767 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52582822', 'ctest-vmi-33044234']} 2025-10-08 19:20:46,030 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-33044234', 'id': 'c58b7db8-10bf-483e-9a42-b01e18d59221', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'network_id': '640bed9f-63d8-42ae-9623-c0acb7c6f02b', 'mac_address': '02:c5:8b:7d:b8:10', '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': '210.92.15.67', 'subnet_id': '1dbe20cd-474a-43f3-b4e9-6a96fdca3540'}], 'security_groups': ['76cadb74-5e76-43c5-bc06-81ad10b80993'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ddca64d573434dae8caef402563daf4d'}} 2025-10-08 19:20:46,030 - DEBUG - Created port c58b7db8-10bf-483e-9a42-b01e18d59221 2025-10-08 19:20:46,138 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c58b7db8-10bf-483e-9a42-b01e18d59221 2025-10-08 19:20:46,429 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c58b7db8-10bf-483e-9a42-b01e18d59221 2025-10-08 19:20:46,463 - INFO - VMI c58b7db8-10bf-483e-9a42-b01e18d59221 verification in API Server passed 2025-10-08 19:20:46,547 - DEBUG - Response for delete_port : () 2025-10-08 19:20:46,547 - INFO - Deleted port c58b7db8-10bf-483e-9a42-b01e18d59221 2025-10-08 19:20:46,548 - INFO - Deleting VN ctest-vn-95356965 2025-10-08 19:20:46,655 - DEBUG - Response for deleting network () 2025-10-08 19:20:46,911 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 19:20:46,911 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-08 19:20:46,912 - INFO - -------------------------------------------------------------------------------- 2025-10-08 19:20:46,914 - INFO - ================================================================================ 2025-10-08 19:20:46,914 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-08 19:20:46,914 - 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-08 19:20:47,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.193': '0'}} with 2025-10-08 19:20:47,200 - INFO - Initial checks done. Running the testcase now 2025-10-08 19:20:47,200 - INFO - 2025-10-08 19:20:47,389 - DEBUG - Response for create_network : {'network': {'id': '2fa733a0-fca9-4b4e-97fe-e95fd9cbd36c', 'name': 'ctest-vn1-94234362', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'project_id': 'ddca64d573434dae8caef402563daf4d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52582822', 'ctest-vn1-94234362'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 19:20:47,559 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae5e71f4-d36d-4d9a-8c1c-8da6bbd9174c', 'name': '', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'network_id': '2fa733a0-fca9-4b4e-97fe-e95fd9cbd36c', 'ip_version': 4, 'cidr': '61.71.0.192/26', 'allocation_pools': [{'start': '61.71.0.194', 'end': '61.71.0.254'}], 'gateway_ip': '61.71.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.71.0.194', 'tags': [], 'project_id': 'ddca64d573434dae8caef402563daf4d'}} 2025-10-08 19:20:47,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c6150b6-881f-4a52-9f2e-c1ecd463ef4e', 'name': '', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'network_id': '2fa733a0-fca9-4b4e-97fe-e95fd9cbd36c', 'ip_version': 4, 'cidr': '9.53.40.0/26', 'allocation_pools': [{'start': '9.53.40.2', 'end': '9.53.40.62'}], 'gateway_ip': '9.53.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.53.40.2', 'tags': [], 'project_id': 'ddca64d573434dae8caef402563daf4d'}} 2025-10-08 19:20:47,736 - INFO - Created VN ctest-vn1-94234362 2025-10-08 19:20:47,790 - DEBUG - VN ctest-vn1-94234362 UUID is 2fa733a0-fca9-4b4e-97fe-e95fd9cbd36c 2025-10-08 19:20:48,078 - DEBUG - Response for create_port : {'port': {'name': '889cd59a-8126-48d8-9199-963d33552e9e', 'id': '889cd59a-8126-48d8-9199-963d33552e9e', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'network_id': '2fa733a0-fca9-4b4e-97fe-e95fd9cbd36c', 'mac_address': '02:88:9c:d5:9a:81', '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': '61.71.0.197', 'subnet_id': 'ae5e71f4-d36d-4d9a-8c1c-8da6bbd9174c'}], 'security_groups': ['76cadb74-5e76-43c5-bc06-81ad10b80993'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ddca64d573434dae8caef402563daf4d'}} 2025-10-08 19:20:48,241 - DEBUG - Response for create_port : {'port': {'name': '8dd78ad7-fee6-48c3-b05c-20a4bc45978a', 'id': '8dd78ad7-fee6-48c3-b05c-20a4bc45978a', 'tenant_id': 'ddca64d573434dae8caef402563daf4d', 'network_id': '2fa733a0-fca9-4b4e-97fe-e95fd9cbd36c', 'mac_address': '02:8d:d7:8a:d7:fe', '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': '9.53.40.5', 'subnet_id': '7c6150b6-881f-4a52-9f2e-c1ecd463ef4e'}], 'security_groups': ['76cadb74-5e76-43c5-bc06-81ad10b80993'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ddca64d573434dae8caef402563daf4d'}} 2025-10-08 19:20:48,297 - DEBUG - Services list from nova: [, , ] 2025-10-08 19:20:48,659 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1) 2025-10-08 19:20:49,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4242-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4242-1) 2025-10-08 19:20:49,041 - INFO - Waiting for VM ctest-vn1-vm1-61121794 to be up.. 2025-10-08 19:20:49,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 19:20:54,155 - DEBUG - VM is in ACTIVE state now 2025-10-08 19:20:54,156 - INFO - VM name : ctest-vn1-vm1-61121794 2025-10-08 19:20:54,229 - DEBUG - VM ctest-vn1-vm1-61121794 ID is d19460d9-aec5-4978-8584-867a035c2265 2025-10-08 19:20:54,248 - DEBUG - VM ctest-vn1-vm1-61121794 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1 2025-10-08 19:20:54,316 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/d19460d9-aec5-4978-8584-867a035c2265 2025-10-08 19:20:54,324 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/889cd59a-8126-48d8-9199-963d33552e9e 2025-10-08 19:20:57,570 - 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 1014ms') 2025-10-08 19:20:57,570 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61121794 failed! 2025-10-08 19:20:57,626 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52582822:ctest-vn1-94234362 is 61.71.0.193 and allocation pool is NOT set 2025-10-08 19:20:57,626 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52582822:ctest-vn1-94234362 is 9.53.40.1 and allocation pool is NOT set 2025-10-08 19:20:59,686 - 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=4.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.67 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.672/2.927/4.182/1.255 ms') 2025-10-08 19:20:59,687 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61121794 passed 2025-10-08 19:20:59,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:20:59,834 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61121794, IP 61.71.0.197, Port 22 2025-10-08 19:20:59,900 - 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-08 19:21:00,109 - DEBUG - VM ctest-vn1-vm1-61121794 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 19:21:05,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:05,111 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61121794, IP 61.71.0.197, Port 22 2025-10-08 19:21:05,269 - DEBUG - VM ctest-vn1-vm1-61121794 is ready for SSH connections 2025-10-08 19:21:05,269 - INFO - Waiting for VM ctest-vn1-vm2-19888853 to be up.. 2025-10-08 19:21:05,343 - DEBUG - VM is in ACTIVE state now 2025-10-08 19:21:05,344 - INFO - VM name : ctest-vn1-vm2-19888853 2025-10-08 19:21:05,420 - DEBUG - VM ctest-vn1-vm2-19888853 ID is 4c7d14dc-efd7-4d6f-beee-5774d3957531 2025-10-08 19:21:05,420 - DEBUG - VM ctest-vn1-vm2-19888853 launched on Node cn-jenkins-deploy-platform-ansible-os-4242-1 2025-10-08 19:21:05,496 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/4c7d14dc-efd7-4d6f-beee-5774d3957531 2025-10-08 19:21:05,505 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8dd78ad7-fee6-48c3-b05c-20a4bc45978a 2025-10-08 19:21:06,739 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.550 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 = 0.550/1.663/2.777/1.113 ms') 2025-10-08 19:21:06,739 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19888853 passed 2025-10-08 19:21:06,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:06,886 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19888853, IP 9.53.40.5, Port 22 2025-10-08 19:21:07,041 - DEBUG - VM ctest-vn1-vm2-19888853 is ready for SSH connections 2025-10-08 19:21:07,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:07,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:07,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 19:21:07,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.71.0.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-08 19:21:07,042 - DEBUG - ping -s 56 -c 3 -W 1 61.71.0.197 2025-10-08 19:21:09,697 - DEBUG - PING 61.71.0.197 (61.71.0.197): 56 data bytes 64 bytes from 61.71.0.197: seq=0 ttl=63 time=3.962 ms 64 bytes from 61.71.0.197: seq=1 ttl=63 time=1.148 ms 64 bytes from 61.71.0.197: seq=2 ttl=63 time=0.953 ms --- 61.71.0.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.953/2.021/3.962 ms 2025-10-08 19:21:09,697 - INFO - Ping to IP 61.71.0.197 from VM ctest-vn1-vm2-19888853 passed 2025-10-08 19:21:09,697 - INFO - Detaching port 8dd78ad7-fee6-48c3-b05c-20a4bc45978a from VM ctest-vn1-vm2-19888853 2025-10-08 19:21:09,743 - INFO - Deleting VM ctest-vn1-vm2-19888853 2025-10-08 19:21:09,808 - INFO - Detaching port 889cd59a-8126-48d8-9199-963d33552e9e from VM ctest-vn1-vm1-61121794 2025-10-08 19:21:09,847 - INFO - Deleting VM ctest-vn1-vm1-61121794 2025-10-08 19:21:10,074 - DEBUG - Response for delete_port : () 2025-10-08 19:21:10,236 - DEBUG - Response for delete_port : () 2025-10-08 19:21:10,236 - INFO - Deleting VN ctest-vn1-94234362 2025-10-08 19:21:10,364 - DEBUG - Response for deleting network () 2025-10-08 19:21:10,620 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 19:21:10,620 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-08 19:21:10,620 - INFO - -------------------------------------------------------------------------------- 2025-10-08 19:21:11,275 - INFO - Deleted project: ctest-TestPorts-52582822, ID : ddca64d5-7343-4dae-8cae-f402563daf4d