2025-12-04 18:04:20,265 - INFO - Domain Default found not creating 2025-12-04 18:04:20,441 - INFO - Project ctest-TestPorts-62212238 not found, creating it 2025-12-04 18:04:21,029 - INFO - Created Project:ctest-TestPorts-62212238, ID : 70cd1316-6bd3-440d-9036-ae86fe80bc52 2025-12-04 18:04:22,630 - INFO - ================================================================================ 2025-12-04 18:04:22,631 - INFO - STARTING TEST : test_ports_bindings 2025-12-04 18:04:22,631 - 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-12-04 18:04:22,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 18:04:22,892 - INFO - Initial checks done. Running the testcase now 2025-12-04 18:04:22,892 - INFO - 2025-12-04 18:04:23,454 - DEBUG - Response for create_network : {'network': {'id': '4bcf4498-3b45-4b94-8ac3-9b58d62dff5a', 'name': 'ctest-vn-39839432', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'project_id': '70cd13166bd3440d9036ae86fe80bc52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62212238', 'ctest-vn-39839432'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 18:04:23,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '715f7a51-8d0d-4cf5-85dd-24653b180be9', 'name': '', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'network_id': '4bcf4498-3b45-4b94-8ac3-9b58d62dff5a', 'ip_version': 4, 'cidr': '49.19.210.128/26', 'allocation_pools': [{'start': '49.19.210.130', 'end': '49.19.210.190'}], 'gateway_ip': '49.19.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.19.210.130', 'tags': [], 'project_id': '70cd13166bd3440d9036ae86fe80bc52'}} 2025-12-04 18:04:23,680 - INFO - Created VN ctest-vn-39839432 2025-12-04 18:04:23,733 - DEBUG - VN ctest-vn-39839432 UUID is 4bcf4498-3b45-4b94-8ac3-9b58d62dff5a 2025-12-04 18:04:23,852 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-62212238', 'ctest-vmi-70875857']} 2025-12-04 18:04:24,102 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70875857', 'id': 'bf495a67-bc48-4f22-a898-32d4e99f176c', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'network_id': '4bcf4498-3b45-4b94-8ac3-9b58d62dff5a', 'mac_address': '02:bf:49:5a:67:bc', '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': '49.19.210.131', 'subnet_id': '715f7a51-8d0d-4cf5-85dd-24653b180be9'}], 'security_groups': ['45ca950b-7db1-44be-8675-d43afff190d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70cd13166bd3440d9036ae86fe80bc52'}} 2025-12-04 18:04:24,102 - DEBUG - Created port bf495a67-bc48-4f22-a898-32d4e99f176c 2025-12-04 18:04:24,209 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bf495a67-bc48-4f22-a898-32d4e99f176c 2025-12-04 18:04:24,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bf495a67-bc48-4f22-a898-32d4e99f176c 2025-12-04 18:04:24,559 - INFO - VMI bf495a67-bc48-4f22-a898-32d4e99f176c verification in API Server passed 2025-12-04 18:04:24,648 - DEBUG - Response for delete_port : () 2025-12-04 18:04:24,649 - INFO - Deleted port bf495a67-bc48-4f22-a898-32d4e99f176c 2025-12-04 18:04:24,649 - INFO - Deleting VN ctest-vn-39839432 2025-12-04 18:04:24,764 - DEBUG - Response for deleting network () 2025-12-04 18:04:25,022 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 18:04:25,023 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-04 18:04:25,023 - INFO - -------------------------------------------------------------------------------- 2025-12-04 18:04:25,026 - INFO - ================================================================================ 2025-12-04 18:04:25,027 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-04 18:04:25,027 - 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-12-04 18:04:25,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 18:04:25,308 - INFO - Initial checks done. Running the testcase now 2025-12-04 18:04:25,308 - INFO - 2025-12-04 18:04:25,490 - DEBUG - Response for create_network : {'network': {'id': 'a4e9562a-83f3-4bad-81d9-6e66935b1637', 'name': 'ctest-vn1-62965999', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'project_id': '70cd13166bd3440d9036ae86fe80bc52', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-62212238', 'ctest-vn1-62965999'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 18:04:25,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8c25549-6f33-4fec-9cfc-e5837d6f49c9', 'name': '', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'network_id': 'a4e9562a-83f3-4bad-81d9-6e66935b1637', 'ip_version': 4, 'cidr': '161.109.104.0/26', 'allocation_pools': [{'start': '161.109.104.2', 'end': '161.109.104.62'}], 'gateway_ip': '161.109.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.109.104.2', 'tags': [], 'project_id': '70cd13166bd3440d9036ae86fe80bc52'}} 2025-12-04 18:04:25,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a2b5b1e-7604-430c-a07e-386e018fcb34', 'name': '', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'network_id': 'a4e9562a-83f3-4bad-81d9-6e66935b1637', 'ip_version': 4, 'cidr': '223.199.127.0/26', 'allocation_pools': [{'start': '223.199.127.2', 'end': '223.199.127.62'}], 'gateway_ip': '223.199.127.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.199.127.2', 'tags': [], 'project_id': '70cd13166bd3440d9036ae86fe80bc52'}} 2025-12-04 18:04:25,892 - INFO - Created VN ctest-vn1-62965999 2025-12-04 18:04:25,945 - DEBUG - VN ctest-vn1-62965999 UUID is a4e9562a-83f3-4bad-81d9-6e66935b1637 2025-12-04 18:04:26,260 - DEBUG - Response for create_port : {'port': {'name': 'c16abb0c-dc87-4c0f-8e40-6f0554f7cb1a', 'id': 'c16abb0c-dc87-4c0f-8e40-6f0554f7cb1a', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'network_id': 'a4e9562a-83f3-4bad-81d9-6e66935b1637', 'mac_address': '02:c1:6a:bb:0c:dc', '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': '161.109.104.5', 'subnet_id': 'c8c25549-6f33-4fec-9cfc-e5837d6f49c9'}], 'security_groups': ['45ca950b-7db1-44be-8675-d43afff190d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70cd13166bd3440d9036ae86fe80bc52'}} 2025-12-04 18:04:26,462 - DEBUG - Response for create_port : {'port': {'name': '6a16002c-5851-4b46-bfb6-34c89efb2a49', 'id': '6a16002c-5851-4b46-bfb6-34c89efb2a49', 'tenant_id': '70cd13166bd3440d9036ae86fe80bc52', 'network_id': 'a4e9562a-83f3-4bad-81d9-6e66935b1637', 'mac_address': '02:6a:16:00:2c:58', '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': '223.199.127.5', 'subnet_id': '4a2b5b1e-7604-430c-a07e-386e018fcb34'}], 'security_groups': ['45ca950b-7db1-44be-8675-d43afff190d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70cd13166bd3440d9036ae86fe80bc52'}} 2025-12-04 18:04:26,532 - DEBUG - Services list from nova: [, , ] 2025-12-04 18:04:26,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4846-1) 2025-12-04 18:04:27,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4846-1) 2025-12-04 18:04:27,477 - INFO - Waiting for VM ctest-vn1-vm1-49279972 to be up.. 2025-12-04 18:04:27,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 18:04:32,618 - DEBUG - VM is in ACTIVE state now 2025-12-04 18:04:32,618 - INFO - VM name : ctest-vn1-vm1-49279972 2025-12-04 18:04:32,709 - DEBUG - VM ctest-vn1-vm1-49279972 ID is fc509a85-e3c2-4a24-aa9f-bc427cf7893a 2025-12-04 18:04:32,737 - DEBUG - VM ctest-vn1-vm1-49279972 launched on Node cn-jenkins-deploy-platform-ansible-os-4846-1 2025-12-04 18:04:32,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fc509a85-e3c2-4a24-aa9f-bc427cf7893a 2025-12-04 18:04:32,830 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c16abb0c-dc87-4c0f-8e40-6f0554f7cb1a 2025-12-04 18:04:36,081 - 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 1005ms') 2025-12-04 18:04:36,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49279972 failed! 2025-12-04 18:04:36,137 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62212238:ctest-vn1-62965999 is 161.109.104.1 and allocation pool is NOT set 2025-12-04 18:04:36,137 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62212238:ctest-vn1-62965999 is 223.199.127.1 and allocation pool is NOT set 2025-12-04 18:04:40,206 - 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 1010ms') 2025-12-04 18:04:40,207 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49279972 failed! 2025-12-04 18:04:40,269 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62212238:ctest-vn1-62965999 is 161.109.104.1 and allocation pool is NOT set 2025-12-04 18:04:40,270 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-62212238:ctest-vn1-62965999 is 223.199.127.1 and allocation pool is NOT set 2025-12-04 18:04:42,338 - 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=3.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.01 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.007/2.282/3.558/1.275 ms') 2025-12-04 18:04:42,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49279972 passed 2025-12-04 18:04:42,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:04:42,489 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49279972, IP 161.109.104.5, Port 22 2025-12-04 18:04:42,645 - DEBUG - VM ctest-vn1-vm1-49279972 is ready for SSH connections 2025-12-04 18:04:42,645 - INFO - Waiting for VM ctest-vn1-vm2-87123657 to be up.. 2025-12-04 18:04:42,745 - DEBUG - VM is in ACTIVE state now 2025-12-04 18:04:42,745 - INFO - VM name : ctest-vn1-vm2-87123657 2025-12-04 18:04:42,823 - DEBUG - VM ctest-vn1-vm2-87123657 ID is 81ee5cbd-d591-453d-8f14-2f1f0769377d 2025-12-04 18:04:42,824 - DEBUG - VM ctest-vn1-vm2-87123657 launched on Node cn-jenkins-deploy-platform-ansible-os-4846-1 2025-12-04 18:04:42,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81ee5cbd-d591-453d-8f14-2f1f0769377d 2025-12-04 18:04:42,913 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6a16002c-5851-4b46-bfb6-34c89efb2a49 2025-12-04 18:04:44,168 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.64 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 = 2.643/3.032/3.421/0.389 ms') 2025-12-04 18:04:44,169 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87123657 passed 2025-12-04 18:04:44,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:04:44,325 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87123657, IP 223.199.127.5, Port 22 2025-12-04 18:04:44,392 - 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-12-04 18:04:44,482 - DEBUG - VM ctest-vn1-vm2-87123657 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 18:04:49,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:04:49,483 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87123657, IP 223.199.127.5, Port 22 2025-12-04 18:04:49,653 - DEBUG - VM ctest-vn1-vm2-87123657 is ready for SSH connections 2025-12-04 18:04:49,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:04:49,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:04:49,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 18:04:49,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 161.109.104.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 18:04:49,653 - DEBUG - ping -s 56 -c 3 -W 1 161.109.104.5 2025-12-04 18:04:52,362 - DEBUG - PING 161.109.104.5 (161.109.104.5): 56 data bytes 64 bytes from 161.109.104.5: seq=0 ttl=63 time=4.851 ms 64 bytes from 161.109.104.5: seq=1 ttl=63 time=1.301 ms 64 bytes from 161.109.104.5: seq=2 ttl=63 time=1.209 ms --- 161.109.104.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.209/2.453/4.851 ms 2025-12-04 18:04:52,362 - INFO - Ping to IP 161.109.104.5 from VM ctest-vn1-vm2-87123657 passed 2025-12-04 18:04:52,362 - INFO - Detaching port 6a16002c-5851-4b46-bfb6-34c89efb2a49 from VM ctest-vn1-vm2-87123657 2025-12-04 18:04:52,418 - INFO - Deleting VM ctest-vn1-vm2-87123657 2025-12-04 18:04:52,498 - INFO - Detaching port c16abb0c-dc87-4c0f-8e40-6f0554f7cb1a from VM ctest-vn1-vm1-49279972 2025-12-04 18:04:52,537 - INFO - Deleting VM ctest-vn1-vm1-49279972 2025-12-04 18:04:52,803 - DEBUG - Response for delete_port : () 2025-12-04 18:04:53,003 - DEBUG - Response for delete_port : () 2025-12-04 18:04:53,003 - INFO - Deleting VN ctest-vn1-62965999 2025-12-04 18:04:53,164 - DEBUG - Response for deleting network () 2025-12-04 18:04:53,437 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 18:04:53,437 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2025-12-04 18:04:53,437 - INFO - -------------------------------------------------------------------------------- 2025-12-04 18:04:54,223 - INFO - Deleted project: ctest-TestPorts-62212238, ID : 70cd1316-6bd3-440d-9036-ae86fe80bc52