2026-01-29 19:20:01,675 - INFO - Domain Default found not creating
2026-01-29 19:20:01,835 - INFO - Project ctest-TestPorts-97807926 not found, creating it
2026-01-29 19:20:02,289 - INFO - Created Project:ctest-TestPorts-97807926, ID : 28d1000d-601d-4d3c-884e-d4c4b1439960
2026-01-29 19:20:03,713 - INFO - ================================================================================
2026-01-29 19:20:03,714 - INFO - STARTING TEST : test_ports_bindings
2026-01-29 19:20:03,714 - 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 19:20:03,967 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-01-29 19:20:03,967 - INFO - Initial checks done. Running the testcase now
2026-01-29 19:20:03,967 - INFO -
2026-01-29 19:20:04,524 - DEBUG - Response for create_network : {'network': {'id': '807e93a3-8027-45ca-8315-e822e8065081', 'name': 'ctest-vn-79640047', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'project_id': '28d1000d601d4d3c884ed4c4b1439960', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-97807926', 'ctest-vn-79640047'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 19:20:04,687 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7892606-5a98-4ca2-b488-ebcc4c08cbed', 'name': '', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'network_id': '807e93a3-8027-45ca-8315-e822e8065081', 'ip_version': 4, 'cidr': '215.194.247.128/26', 'allocation_pools': [{'start': '215.194.247.130', 'end': '215.194.247.190'}], 'gateway_ip': '215.194.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.194.247.130', 'tags': [], 'project_id': '28d1000d601d4d3c884ed4c4b1439960'}}
2026-01-29 19:20:04,703 - INFO - Created VN ctest-vn-79640047
2026-01-29 19:20:04,758 - DEBUG - VN ctest-vn-79640047 UUID is 807e93a3-8027-45ca-8315-e822e8065081
2026-01-29 19:20:04,861 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-97807926', 'ctest-vmi-78177564']}
2026-01-29 19:20:05,152 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78177564', 'id': '25471594-0b08-42f2-86e5-6f30f09ae177', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'network_id': '807e93a3-8027-45ca-8315-e822e8065081', 'mac_address': '02:25:47:15:94:0b', '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': '215.194.247.131', 'subnet_id': 'e7892606-5a98-4ca2-b488-ebcc4c08cbed'}], 'security_groups': ['ddada5cc-20d0-4f7d-89b4-ba702b4529db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28d1000d601d4d3c884ed4c4b1439960'}}
2026-01-29 19:20:05,152 - DEBUG - Created port 25471594-0b08-42f2-86e5-6f30f09ae177
2026-01-29 19:20:05,258 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/25471594-0b08-42f2-86e5-6f30f09ae177
2026-01-29 19:20:05,816 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/25471594-0b08-42f2-86e5-6f30f09ae177
2026-01-29 19:20:05,858 - INFO - VMI 25471594-0b08-42f2-86e5-6f30f09ae177 verification in API Server passed
2026-01-29 19:20:05,950 - DEBUG - Response for delete_port : ()
2026-01-29 19:20:05,950 - INFO - Deleted port 25471594-0b08-42f2-86e5-6f30f09ae177
2026-01-29 19:20:05,950 - INFO - Deleting VN ctest-vn-79640047
2026-01-29 19:20:06,036 - DEBUG - Response for deleting network ()
2026-01-29 19:20:06,290 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 19:20:06,291 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-29 19:20:06,291 - INFO - --------------------------------------------------------------------------------
2026-01-29 19:20:06,294 - INFO - ================================================================================
2026-01-29 19:20:06,294 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-29 19:20:06,294 - 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 19:20:06,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-01-29 19:20:06,578 - INFO - Initial checks done. Running the testcase now
2026-01-29 19:20:06,578 - INFO -
2026-01-29 19:20:06,740 - DEBUG - Response for create_network : {'network': {'id': 'cfa9257a-8a4e-466a-932f-72df5317cd2e', 'name': 'ctest-vn1-84597950', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'project_id': '28d1000d601d4d3c884ed4c4b1439960', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-97807926', 'ctest-vn1-84597950'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 19:20:06,894 - DEBUG - Response for create_subnet : {'subnet': {'id': '2324dc0b-d9ad-496e-9f2e-c1590f4b8e57', 'name': '', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'network_id': 'cfa9257a-8a4e-466a-932f-72df5317cd2e', 'ip_version': 4, 'cidr': '73.29.203.0/26', 'allocation_pools': [{'start': '73.29.203.2', 'end': '73.29.203.62'}], 'gateway_ip': '73.29.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.29.203.2', 'tags': [], 'project_id': '28d1000d601d4d3c884ed4c4b1439960'}}
2026-01-29 19:20:07,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '9498859d-0c79-4ffa-a808-38fb822aa48e', 'name': '', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'network_id': 'cfa9257a-8a4e-466a-932f-72df5317cd2e', 'ip_version': 4, 'cidr': '129.47.201.192/26', 'allocation_pools': [{'start': '129.47.201.194', 'end': '129.47.201.254'}], 'gateway_ip': '129.47.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.47.201.194', 'tags': [], 'project_id': '28d1000d601d4d3c884ed4c4b1439960'}}
2026-01-29 19:20:07,075 - INFO - Created VN ctest-vn1-84597950
2026-01-29 19:20:07,126 - DEBUG - VN ctest-vn1-84597950 UUID is cfa9257a-8a4e-466a-932f-72df5317cd2e
2026-01-29 19:20:07,392 - DEBUG - Response for create_port : {'port': {'name': '5175adec-ecd3-476c-ac21-c0895292591d', 'id': '5175adec-ecd3-476c-ac21-c0895292591d', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'network_id': 'cfa9257a-8a4e-466a-932f-72df5317cd2e', 'mac_address': '02:51:75:ad:ec:ec', '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': '73.29.203.5', 'subnet_id': '2324dc0b-d9ad-496e-9f2e-c1590f4b8e57'}], 'security_groups': ['ddada5cc-20d0-4f7d-89b4-ba702b4529db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28d1000d601d4d3c884ed4c4b1439960'}}
2026-01-29 19:20:07,548 - DEBUG - Response for create_port : {'port': {'name': '76cf97f4-ab67-4546-bafc-1ca31c795cef', 'id': '76cf97f4-ab67-4546-bafc-1ca31c795cef', 'tenant_id': '28d1000d601d4d3c884ed4c4b1439960', 'network_id': 'cfa9257a-8a4e-466a-932f-72df5317cd2e', 'mac_address': '02:76:cf:97:f4:ab', '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': '129.47.201.197', 'subnet_id': '9498859d-0c79-4ffa-a808-38fb822aa48e'}], 'security_groups': ['ddada5cc-20d0-4f7d-89b4-ba702b4529db'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '28d1000d601d4d3c884ed4c4b1439960'}}
2026-01-29 19:20:07,599 - DEBUG - Services list from nova: [, , ]
2026-01-29 19:20:07,918 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5136-1)
2026-01-29 19:20:08,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5136-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5136-1)
2026-01-29 19:20:08,268 - INFO - Waiting for VM ctest-vn1-vm1-55564659 to be up..
2026-01-29 19:20:08,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-29 19:20:13,375 - DEBUG - VM is in ACTIVE state now
2026-01-29 19:20:13,375 - INFO - VM name : ctest-vn1-vm1-55564659
2026-01-29 19:20:13,447 - DEBUG - VM ctest-vn1-vm1-55564659 ID is 59f4b401-2a21-441f-ac57-24e7c45f7f6f
2026-01-29 19:20:13,469 - DEBUG - VM ctest-vn1-vm1-55564659 launched on Node cn-jenkins-deploy-platform-ansible-os-5136-1
2026-01-29 19:20:13,541 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/59f4b401-2a21-441f-ac57-24e7c45f7f6f
2026-01-29 19:20:13,548 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5175adec-ecd3-476c-ac21-c0895292591d
2026-01-29 19:20:16,805 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-01-29 19:20:16,806 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-55564659 failed!
2026-01-29 19:20:16,862 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-97807926:ctest-vn1-84597950 is 73.29.203.1 and allocation pool is NOT set
2026-01-29 19:20:16,862 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-97807926:ctest-vn1-84597950 is 129.47.201.193 and allocation pool is NOT set
2026-01-29 19:20:18,923 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.974 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.974/2.208/3.443/1.234 ms')
2026-01-29 19:20:18,923 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-55564659 passed
2026-01-29 19:20:19,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 19:20:19,078 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55564659, IP 73.29.203.5, Port 22
2026-01-29 19:20:19,133 - 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-01-29 19:20:19,203 - DEBUG - VM ctest-vn1-vm1-55564659 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-29 19:20:24,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 19:20:24,204 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55564659, IP 73.29.203.5, Port 22
2026-01-29 19:20:24,375 - DEBUG - VM ctest-vn1-vm1-55564659 is ready for SSH connections
2026-01-29 19:20:24,376 - INFO - Waiting for VM ctest-vn1-vm2-46591012 to be up..
2026-01-29 19:20:24,445 - DEBUG - VM is in ACTIVE state now
2026-01-29 19:20:24,445 - INFO - VM name : ctest-vn1-vm2-46591012
2026-01-29 19:20:24,514 - DEBUG - VM ctest-vn1-vm2-46591012 ID is 540cfce2-564f-40bd-b264-078f1e98d0fa
2026-01-29 19:20:24,514 - DEBUG - VM ctest-vn1-vm2-46591012 launched on Node cn-jenkins-deploy-platform-ansible-os-5136-1
2026-01-29 19:20:24,584 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/540cfce2-564f-40bd-b264-078f1e98d0fa
2026-01-29 19:20:24,591 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/76cf97f4-ab67-4546-bafc-1ca31c795cef
2026-01-29 19:20:25,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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.390 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.390/1.662/2.935/1.272 ms')
2026-01-29 19:20:25,826 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-46591012 passed
2026-01-29 19:20:25,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 19:20:25,974 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46591012, IP 129.47.201.197, Port 22
2026-01-29 19:20:26,130 - DEBUG - VM ctest-vn1-vm2-46591012 is ready for SSH connections
2026-01-29 19:20:26,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 19:20:26,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 19:20:26,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 19:20:26,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 73.29.203.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-01-29 19:20:26,130 - DEBUG - ping -s 56 -c 3 -W 1 73.29.203.5
2026-01-29 19:20:30,105 - DEBUG - PING 73.29.203.5 (73.29.203.5): 56 data bytes
64 bytes from 73.29.203.5: seq=0 ttl=63 time=3.517 ms
64 bytes from 73.29.203.5: seq=1 ttl=63 time=1.002 ms
64 bytes from 73.29.203.5: seq=2 ttl=63 time=0.695 ms
--- 73.29.203.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.695/1.738/3.517 ms
2026-01-29 19:20:30,105 - INFO - Ping to IP 73.29.203.5 from VM ctest-vn1-vm2-46591012 passed
2026-01-29 19:20:30,106 - INFO - Detaching port 76cf97f4-ab67-4546-bafc-1ca31c795cef from VM ctest-vn1-vm2-46591012
2026-01-29 19:20:30,156 - INFO - Deleting VM ctest-vn1-vm2-46591012
2026-01-29 19:20:30,226 - INFO - Detaching port 5175adec-ecd3-476c-ac21-c0895292591d from VM ctest-vn1-vm1-55564659
2026-01-29 19:20:30,259 - INFO - Deleting VM ctest-vn1-vm1-55564659
2026-01-29 19:20:30,462 - DEBUG - Response for delete_port : ()
2026-01-29 19:20:30,614 - DEBUG - Response for delete_port : ()
2026-01-29 19:20:30,614 - INFO - Deleting VN ctest-vn1-84597950
2026-01-29 19:20:30,744 - DEBUG - Response for deleting network ()
2026-01-29 19:20:31,002 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 19:20:31,002 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-01-29 19:20:31,002 - INFO - --------------------------------------------------------------------------------
2026-01-29 19:20:31,675 - INFO - Deleted project: ctest-TestPorts-97807926, ID : 28d1000d-601d-4d3c-884e-d4c4b1439960