2026-01-29 17:02:33,016 - INFO - Domain Default found not creating 2026-01-29 17:02:33,153 - INFO - Project ctest-TestPorts-14901948 not found, creating it 2026-01-29 17:02:33,587 - INFO - Created Project:ctest-TestPorts-14901948, ID : 42119c1e-c303-44d9-8964-1998cb666d1e 2026-01-29 17:02:34,998 - INFO - ================================================================================ 2026-01-29 17:02:34,998 - INFO - STARTING TEST : test_ports_bindings 2026-01-29 17:02:34,998 - 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 2026-01-29 17:02:35,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2026-01-29 17:02:35,253 - INFO - Initial checks done. Running the testcase now 2026-01-29 17:02:35,253 - INFO - 2026-01-29 17:02:35,782 - DEBUG - Response for create_network : {'network': {'id': '829b126f-4d04-484e-8144-6abd68138e30', 'name': 'ctest-vn-82842175', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'project_id': '42119c1ec30344d989641998cb666d1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14901948', 'ctest-vn-82842175'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:02:35,947 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e848187-0247-4aeb-b955-7ce75e32f288', 'name': '', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'network_id': '829b126f-4d04-484e-8144-6abd68138e30', 'ip_version': 4, 'cidr': '124.102.81.64/26', 'allocation_pools': [{'start': '124.102.81.66', 'end': '124.102.81.126'}], 'gateway_ip': '124.102.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.102.81.66', 'tags': [], 'project_id': '42119c1ec30344d989641998cb666d1e'}} 2026-01-29 17:02:35,964 - INFO - Created VN ctest-vn-82842175 2026-01-29 17:02:36,015 - DEBUG - VN ctest-vn-82842175 UUID is 829b126f-4d04-484e-8144-6abd68138e30 2026-01-29 17:02:36,113 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14901948', 'ctest-vmi-96006756']} 2026-01-29 17:02:36,375 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96006756', 'id': 'bab1b8f1-e2ac-44fb-810f-86ce6a476893', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'network_id': '829b126f-4d04-484e-8144-6abd68138e30', 'mac_address': '02:ba:b1:b8:f1:e2', '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': '124.102.81.67', 'subnet_id': '0e848187-0247-4aeb-b955-7ce75e32f288'}], 'security_groups': ['120e22fa-39c1-4396-b0c5-7b8bf8300b21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '42119c1ec30344d989641998cb666d1e'}} 2026-01-29 17:02:36,375 - DEBUG - Created port bab1b8f1-e2ac-44fb-810f-86ce6a476893 2026-01-29 17:02:36,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bab1b8f1-e2ac-44fb-810f-86ce6a476893 2026-01-29 17:02:36,775 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bab1b8f1-e2ac-44fb-810f-86ce6a476893 2026-01-29 17:02:36,807 - INFO - VMI bab1b8f1-e2ac-44fb-810f-86ce6a476893 verification in API Server passed 2026-01-29 17:02:36,882 - DEBUG - Response for delete_port : () 2026-01-29 17:02:36,882 - INFO - Deleted port bab1b8f1-e2ac-44fb-810f-86ce6a476893 2026-01-29 17:02:36,882 - INFO - Deleting VN ctest-vn-82842175 2026-01-29 17:02:36,976 - DEBUG - Response for deleting network () 2026-01-29 17:02:37,231 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 17:02:37,231 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-29 17:02:37,231 - INFO - -------------------------------------------------------------------------------- 2026-01-29 17:02:37,234 - INFO - ================================================================================ 2026-01-29 17:02:37,234 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-29 17:02:37,234 - 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 2026-01-29 17:02:37,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2026-01-29 17:02:37,532 - INFO - Initial checks done. Running the testcase now 2026-01-29 17:02:37,532 - INFO - 2026-01-29 17:02:37,690 - DEBUG - Response for create_network : {'network': {'id': '7930536f-06a9-4c4e-b990-60e854f1f713', 'name': 'ctest-vn1-72516218', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'project_id': '42119c1ec30344d989641998cb666d1e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14901948', 'ctest-vn1-72516218'], 'port_security_enabled': True, 'description': ''}} 2026-01-29 17:02:37,896 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4fba376-3a11-4b76-a63e-0c4f7d5fcf32', 'name': '', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'network_id': '7930536f-06a9-4c4e-b990-60e854f1f713', 'ip_version': 4, 'cidr': '105.4.220.192/26', 'allocation_pools': [{'start': '105.4.220.194', 'end': '105.4.220.254'}], 'gateway_ip': '105.4.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.4.220.194', 'tags': [], 'project_id': '42119c1ec30344d989641998cb666d1e'}} 2026-01-29 17:02:38,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '0830ec63-ec0f-4eca-89f3-1923f21cf013', 'name': '', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'network_id': '7930536f-06a9-4c4e-b990-60e854f1f713', 'ip_version': 4, 'cidr': '13.147.30.64/26', 'allocation_pools': [{'start': '13.147.30.66', 'end': '13.147.30.126'}], 'gateway_ip': '13.147.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.147.30.66', 'tags': [], 'project_id': '42119c1ec30344d989641998cb666d1e'}} 2026-01-29 17:02:38,043 - INFO - Created VN ctest-vn1-72516218 2026-01-29 17:02:38,099 - DEBUG - VN ctest-vn1-72516218 UUID is 7930536f-06a9-4c4e-b990-60e854f1f713 2026-01-29 17:02:38,373 - DEBUG - Response for create_port : {'port': {'name': '7715f9dc-cd6e-423d-801d-d48b626a7808', 'id': '7715f9dc-cd6e-423d-801d-d48b626a7808', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'network_id': '7930536f-06a9-4c4e-b990-60e854f1f713', 'mac_address': '02:77:15:f9:dc:cd', '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': '105.4.220.197', 'subnet_id': 'd4fba376-3a11-4b76-a63e-0c4f7d5fcf32'}], 'security_groups': ['120e22fa-39c1-4396-b0c5-7b8bf8300b21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '42119c1ec30344d989641998cb666d1e'}} 2026-01-29 17:02:38,524 - DEBUG - Response for create_port : {'port': {'name': 'f25d55a9-7385-4f25-b437-6b6cf8ec89cf', 'id': 'f25d55a9-7385-4f25-b437-6b6cf8ec89cf', 'tenant_id': '42119c1ec30344d989641998cb666d1e', 'network_id': '7930536f-06a9-4c4e-b990-60e854f1f713', 'mac_address': '02:f2:5d:55:a9: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': '13.147.30.69', 'subnet_id': '0830ec63-ec0f-4eca-89f3-1923f21cf013'}], 'security_groups': ['120e22fa-39c1-4396-b0c5-7b8bf8300b21'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '42119c1ec30344d989641998cb666d1e'}} 2026-01-29 17:02:38,574 - DEBUG - Services list from nova: [, , ] 2026-01-29 17:02:38,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5132-1) 2026-01-29 17:02:39,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5132-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5132-1) 2026-01-29 17:02:39,180 - INFO - Waiting for VM ctest-vn1-vm1-62330312 to be up.. 2026-01-29 17:02:39,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-29 17:02:44,287 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:02:44,287 - INFO - VM name : ctest-vn1-vm1-62330312 2026-01-29 17:02:44,357 - DEBUG - VM ctest-vn1-vm1-62330312 ID is 7b4dd9a0-d200-4174-ba18-12a8a7c2b1e5 2026-01-29 17:02:44,375 - DEBUG - VM ctest-vn1-vm1-62330312 launched on Node cn-jenkins-deploy-platform-ansible-os-5132-1 2026-01-29 17:02:44,445 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7b4dd9a0-d200-4174-ba18-12a8a7c2b1e5 2026-01-29 17:02:44,453 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7715f9dc-cd6e-423d-801d-d48b626a7808 2026-01-29 17:02:47,713 - 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 1023ms') 2026-01-29 17:02:47,713 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62330312 failed! 2026-01-29 17:02:47,767 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14901948:ctest-vn1-72516218 is 105.4.220.193 and allocation pool is NOT set 2026-01-29 17:02:47,767 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14901948:ctest-vn1-72516218 is 13.147.30.65 and allocation pool is NOT set 2026-01-29 17:02:49,826 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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.053/2.316/3.579/1.263 ms') 2026-01-29 17:02:49,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62330312 passed 2026-01-29 17:02:49,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:02:49,976 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62330312, IP 105.4.220.197, Port 22 2026-01-29 17:02:50,036 - 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': ''} 2026-01-29 17:02:50,115 - DEBUG - VM ctest-vn1-vm1-62330312 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-29 17:02:55,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:02:55,116 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62330312, IP 105.4.220.197, Port 22 2026-01-29 17:02:55,271 - DEBUG - VM ctest-vn1-vm1-62330312 is ready for SSH connections 2026-01-29 17:02:55,271 - INFO - Waiting for VM ctest-vn1-vm2-16534876 to be up.. 2026-01-29 17:02:55,337 - DEBUG - VM is in ACTIVE state now 2026-01-29 17:02:55,337 - INFO - VM name : ctest-vn1-vm2-16534876 2026-01-29 17:02:55,404 - DEBUG - VM ctest-vn1-vm2-16534876 ID is 8c0ba7be-26f9-4ad1-b74f-d1604d435a57 2026-01-29 17:02:55,404 - DEBUG - VM ctest-vn1-vm2-16534876 launched on Node cn-jenkins-deploy-platform-ansible-os-5132-1 2026-01-29 17:02:55,470 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8c0ba7be-26f9-4ad1-b74f-d1604d435a57 2026-01-29 17:02:55,477 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f25d55a9-7385-4f25-b437-6b6cf8ec89cf 2026-01-29 17:02:56,702 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.550/2.718/1.167 ms') 2026-01-29 17:02:56,703 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16534876 passed 2026-01-29 17:02:56,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:02:56,855 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16534876, IP 13.147.30.69, Port 22 2026-01-29 17:02:57,010 - DEBUG - VM ctest-vn1-vm2-16534876 is ready for SSH connections 2026-01-29 17:02:57,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:02:57,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:02:57,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-29 17:02:57,010 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.4.220.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-01-29 17:02:57,010 - DEBUG - ping -s 56 -c 3 -W 1 105.4.220.197 2026-01-29 17:02:59,684 - DEBUG - PING 105.4.220.197 (105.4.220.197): 56 data bytes 64 bytes from 105.4.220.197: seq=0 ttl=63 time=4.159 ms 64 bytes from 105.4.220.197: seq=1 ttl=63 time=0.699 ms 64 bytes from 105.4.220.197: seq=2 ttl=63 time=0.918 ms --- 105.4.220.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.925/4.159 ms 2026-01-29 17:02:59,684 - INFO - Ping to IP 105.4.220.197 from VM ctest-vn1-vm2-16534876 passed 2026-01-29 17:02:59,684 - INFO - Detaching port f25d55a9-7385-4f25-b437-6b6cf8ec89cf from VM ctest-vn1-vm2-16534876 2026-01-29 17:02:59,730 - INFO - Deleting VM ctest-vn1-vm2-16534876 2026-01-29 17:02:59,796 - INFO - Detaching port 7715f9dc-cd6e-423d-801d-d48b626a7808 from VM ctest-vn1-vm1-62330312 2026-01-29 17:02:59,826 - INFO - Deleting VM ctest-vn1-vm1-62330312 2026-01-29 17:03:00,051 - DEBUG - Response for delete_port : () 2026-01-29 17:03:00,196 - DEBUG - Response for delete_port : () 2026-01-29 17:03:00,196 - INFO - Deleting VN ctest-vn1-72516218 2026-01-29 17:03:00,316 - DEBUG - Response for deleting network () 2026-01-29 17:03:00,577 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 17:03:00,577 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-01-29 17:03:00,577 - INFO - -------------------------------------------------------------------------------- 2026-01-29 17:03:01,242 - INFO - Deleted project: ctest-TestPorts-14901948, ID : 42119c1e-c303-44d9-8964-1998cb666d1e