2026-02-03 21:20:11,437 - INFO - Domain Default found not creating 2026-02-03 21:20:11,585 - INFO - Project ctest-TestPorts-02463764 not found, creating it 2026-02-03 21:20:12,033 - INFO - Created Project:ctest-TestPorts-02463764, ID : 24d05980-d55f-43a7-b017-77d0d3308285 2026-02-03 21:20:13,445 - INFO - ================================================================================ 2026-02-03 21:20:13,445 - INFO - STARTING TEST : test_ports_bindings 2026-02-03 21:20:13,445 - 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-02-03 21:20:13,699 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0'}} with 2026-02-03 21:20:13,699 - INFO - Initial checks done. Running the testcase now 2026-02-03 21:20:13,699 - INFO - 2026-02-03 21:20:14,246 - DEBUG - Response for create_network : {'network': {'id': '42270dd8-1681-425c-a394-48fc4aed6d33', 'name': 'ctest-vn-70994819', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'project_id': '24d05980d55f43a7b01777d0d3308285', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02463764', 'ctest-vn-70994819'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:20:14,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '28a11f66-24ce-4797-b8ed-551d02a47c91', 'name': '', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'network_id': '42270dd8-1681-425c-a394-48fc4aed6d33', 'ip_version': 4, 'cidr': '18.166.254.0/26', 'allocation_pools': [{'start': '18.166.254.2', 'end': '18.166.254.62'}], 'gateway_ip': '18.166.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.166.254.2', 'tags': [], 'project_id': '24d05980d55f43a7b01777d0d3308285'}} 2026-02-03 21:20:14,427 - INFO - Created VN ctest-vn-70994819 2026-02-03 21:20:14,479 - DEBUG - VN ctest-vn-70994819 UUID is 42270dd8-1681-425c-a394-48fc4aed6d33 2026-02-03 21:20:14,580 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-02463764', 'ctest-vmi-58578894']} 2026-02-03 21:20:14,867 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58578894', 'id': '3f2408dd-8429-4a16-84d2-42ac8c595770', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'network_id': '42270dd8-1681-425c-a394-48fc4aed6d33', 'mac_address': '02:3f:24:08:dd:84', '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': '18.166.254.3', 'subnet_id': '28a11f66-24ce-4797-b8ed-551d02a47c91'}], 'security_groups': ['88c9f768-915b-48fb-81e1-6e7230d22677'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '24d05980d55f43a7b01777d0d3308285'}} 2026-02-03 21:20:14,867 - DEBUG - Created port 3f2408dd-8429-4a16-84d2-42ac8c595770 2026-02-03 21:20:14,971 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3f2408dd-8429-4a16-84d2-42ac8c595770 2026-02-03 21:20:15,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3f2408dd-8429-4a16-84d2-42ac8c595770 2026-02-03 21:20:15,307 - INFO - VMI 3f2408dd-8429-4a16-84d2-42ac8c595770 verification in API Server passed 2026-02-03 21:20:15,387 - DEBUG - Response for delete_port : () 2026-02-03 21:20:15,387 - INFO - Deleted port 3f2408dd-8429-4a16-84d2-42ac8c595770 2026-02-03 21:20:15,387 - INFO - Deleting VN ctest-vn-70994819 2026-02-03 21:20:15,482 - DEBUG - Response for deleting network () 2026-02-03 21:20:15,743 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 21:20:15,743 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-03 21:20:15,743 - INFO - -------------------------------------------------------------------------------- 2026-02-03 21:20:15,745 - INFO - ================================================================================ 2026-02-03 21:20:15,745 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-03 21:20:15,745 - 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-02-03 21:20:16,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.193': '0'}} with 2026-02-03 21:20:16,031 - INFO - Initial checks done. Running the testcase now 2026-02-03 21:20:16,031 - INFO - 2026-02-03 21:20:16,189 - DEBUG - Response for create_network : {'network': {'id': 'a8da1d95-3ac4-437a-b2b0-84d3b6b7f482', 'name': 'ctest-vn1-33185704', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'project_id': '24d05980d55f43a7b01777d0d3308285', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02463764', 'ctest-vn1-33185704'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:20:16,341 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f980b8a5-e1f0-4ab9-836a-0ec735447d18', 'name': '', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'network_id': 'a8da1d95-3ac4-437a-b2b0-84d3b6b7f482', 'ip_version': 4, 'cidr': '209.39.108.0/26', 'allocation_pools': [{'start': '209.39.108.2', 'end': '209.39.108.62'}], 'gateway_ip': '209.39.108.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.39.108.2', 'tags': [], 'project_id': '24d05980d55f43a7b01777d0d3308285'}} 2026-02-03 21:20:16,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '15c73aee-0fc9-4e29-9d2e-abc308531b46', 'name': '', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'network_id': 'a8da1d95-3ac4-437a-b2b0-84d3b6b7f482', 'ip_version': 4, 'cidr': '189.1.255.0/26', 'allocation_pools': [{'start': '189.1.255.2', 'end': '189.1.255.62'}], 'gateway_ip': '189.1.255.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.1.255.2', 'tags': [], 'project_id': '24d05980d55f43a7b01777d0d3308285'}} 2026-02-03 21:20:16,521 - INFO - Created VN ctest-vn1-33185704 2026-02-03 21:20:16,571 - DEBUG - VN ctest-vn1-33185704 UUID is a8da1d95-3ac4-437a-b2b0-84d3b6b7f482 2026-02-03 21:20:16,847 - DEBUG - Response for create_port : {'port': {'name': '0526183c-807d-4049-a89d-aa1227fd5b73', 'id': '0526183c-807d-4049-a89d-aa1227fd5b73', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'network_id': 'a8da1d95-3ac4-437a-b2b0-84d3b6b7f482', 'mac_address': '02:05:26:18:3c:80', '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': '209.39.108.5', 'subnet_id': 'f980b8a5-e1f0-4ab9-836a-0ec735447d18'}], 'security_groups': ['88c9f768-915b-48fb-81e1-6e7230d22677'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '24d05980d55f43a7b01777d0d3308285'}} 2026-02-03 21:20:16,997 - DEBUG - Response for create_port : {'port': {'name': '033f3a97-5885-4b1b-beee-8b88a4b831b0', 'id': '033f3a97-5885-4b1b-beee-8b88a4b831b0', 'tenant_id': '24d05980d55f43a7b01777d0d3308285', 'network_id': 'a8da1d95-3ac4-437a-b2b0-84d3b6b7f482', 'mac_address': '02:03:3f:3a:97: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': '189.1.255.5', 'subnet_id': '15c73aee-0fc9-4e29-9d2e-abc308531b46'}], 'security_groups': ['88c9f768-915b-48fb-81e1-6e7230d22677'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '24d05980d55f43a7b01777d0d3308285'}} 2026-02-03 21:20:17,054 - DEBUG - Services list from nova: [, , ] 2026-02-03 21:20:17,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5197-1) 2026-02-03 21:20:17,741 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5197-1) 2026-02-03 21:20:17,742 - INFO - Waiting for VM ctest-vn1-vm1-06788960 to be up.. 2026-02-03 21:20:17,781 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 21:20:22,849 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:20:22,849 - INFO - VM name : ctest-vn1-vm1-06788960 2026-02-03 21:20:22,914 - DEBUG - VM ctest-vn1-vm1-06788960 ID is 1f05f258-bb29-4885-b17c-195b34b21cb7 2026-02-03 21:20:22,930 - DEBUG - VM ctest-vn1-vm1-06788960 launched on Node cn-jenkins-deploy-platform-ansible-os-5197-1 2026-02-03 21:20:23,000 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1f05f258-bb29-4885-b17c-195b34b21cb7 2026-02-03 21:20:23,008 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0526183c-807d-4049-a89d-aa1227fd5b73 2026-02-03 21:20:26,273 - 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') 2026-02-03 21:20:26,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06788960 failed! 2026-02-03 21:20:26,327 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02463764:ctest-vn1-33185704 is 209.39.108.1 and allocation pool is NOT set 2026-02-03 21:20:26,327 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02463764:ctest-vn1-33185704 is 189.1.255.1 and allocation pool is NOT set 2026-02-03 21:20:28,393 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.454 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 = 0.454/1.698/2.942/1.244 ms') 2026-02-03 21:20:28,393 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06788960 passed 2026-02-03 21:20:28,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:20:28,547 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06788960, IP 209.39.108.5, Port 22 2026-02-03 21:20:28,713 - DEBUG - VM ctest-vn1-vm1-06788960 is ready for SSH connections 2026-02-03 21:20:28,713 - INFO - Waiting for VM ctest-vn1-vm2-02244668 to be up.. 2026-02-03 21:20:28,785 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:20:28,785 - INFO - VM name : ctest-vn1-vm2-02244668 2026-02-03 21:20:28,858 - DEBUG - VM ctest-vn1-vm2-02244668 ID is 42d71f0b-f89b-417f-b219-025f0ebdb8ee 2026-02-03 21:20:28,858 - DEBUG - VM ctest-vn1-vm2-02244668 launched on Node cn-jenkins-deploy-platform-ansible-os-5197-1 2026-02-03 21:20:28,931 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/42d71f0b-f89b-417f-b219-025f0ebdb8ee 2026-02-03 21:20:28,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/033f3a97-5885-4b1b-beee-8b88a4b831b0 2026-02-03 21:20:30,175 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.640 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.640/1.985/3.330/1.345 ms') 2026-02-03 21:20:30,175 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02244668 passed 2026-02-03 21:20:30,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:20:30,327 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02244668, IP 189.1.255.5, Port 22 2026-02-03 21:20:30,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': ''} 2026-02-03 21:20:30,460 - DEBUG - VM ctest-vn1-vm2-02244668 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 21:20:35,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:20:35,461 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02244668, IP 189.1.255.5, Port 22 2026-02-03 21:20:35,618 - DEBUG - VM ctest-vn1-vm2-02244668 is ready for SSH connections 2026-02-03 21:20:35,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:20:35,618 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:20:35,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:20:35,620 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 209.39.108.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-03 21:20:35,620 - DEBUG - ping -s 56 -c 3 -W 1 209.39.108.5 2026-02-03 21:20:38,248 - DEBUG - PING 209.39.108.5 (209.39.108.5): 56 data bytes 64 bytes from 209.39.108.5: seq=0 ttl=63 time=3.942 ms 64 bytes from 209.39.108.5: seq=1 ttl=63 time=0.823 ms 64 bytes from 209.39.108.5: seq=2 ttl=63 time=0.960 ms --- 209.39.108.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.908/3.942 ms 2026-02-03 21:20:38,248 - INFO - Ping to IP 209.39.108.5 from VM ctest-vn1-vm2-02244668 passed 2026-02-03 21:20:38,248 - INFO - Detaching port 033f3a97-5885-4b1b-beee-8b88a4b831b0 from VM ctest-vn1-vm2-02244668 2026-02-03 21:20:38,294 - INFO - Deleting VM ctest-vn1-vm2-02244668 2026-02-03 21:20:38,354 - INFO - Detaching port 0526183c-807d-4049-a89d-aa1227fd5b73 from VM ctest-vn1-vm1-06788960 2026-02-03 21:20:38,390 - INFO - Deleting VM ctest-vn1-vm1-06788960 2026-02-03 21:20:38,595 - DEBUG - Response for delete_port : () 2026-02-03 21:20:38,734 - DEBUG - Response for delete_port : () 2026-02-03 21:20:38,735 - INFO - Deleting VN ctest-vn1-33185704 2026-02-03 21:20:38,853 - DEBUG - Response for deleting network () 2026-02-03 21:20:39,115 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 21:20:39,115 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-03 21:20:39,116 - INFO - -------------------------------------------------------------------------------- 2026-02-03 21:20:39,899 - INFO - Deleted project: ctest-TestPorts-02463764, ID : 24d05980-d55f-43a7-b017-77d0d3308285