2026-09-17 13:12:21,964 - INFO - Domain Default found not creating
2026-09-17 13:12:22,222 - INFO - Project ctest-TestPorts-81214109 not found, creating it
2026-09-17 13:12:22,798 - INFO - Created Project:ctest-TestPorts-81214109, ID : 72afd38a-5483-494f-9ff3-4a0643d06483
2026-09-17 13:12:24,680 - INFO - ================================================================================
2026-09-17 13:12:24,681 - INFO - STARTING TEST : test_ports_bindings
2026-09-17 13:12:24,681 - 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-09-17 13:12:24,964 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-17 13:12:24,964 - INFO - Initial checks done. Running the testcase now
2026-09-17 13:12:24,964 - INFO -
2026-09-17 13:12:25,723 - DEBUG - Response for create_network : {'network': {'id': '06b9a67c-8611-421e-987b-e595ad727c78', 'name': 'ctest-vn-81501106', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'project_id': '72afd38a5483494f9ff34a0643d06483', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81214109', 'ctest-vn-81501106'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 13:12:25,956 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a89ba718-dbc6-4184-80c0-54fd11dc8d05', 'name': '', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'network_id': '06b9a67c-8611-421e-987b-e595ad727c78', 'ip_version': 4, 'cidr': '68.185.11.192/26', 'allocation_pools': [{'start': '68.185.11.194', 'end': '68.185.11.254'}], 'gateway_ip': '68.185.11.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.185.11.194', 'tags': [], 'project_id': '72afd38a5483494f9ff34a0643d06483'}}
2026-09-17 13:12:25,978 - INFO - Created VN ctest-vn-81501106
2026-09-17 13:12:26,036 - DEBUG - VN ctest-vn-81501106 UUID is 06b9a67c-8611-421e-987b-e595ad727c78
2026-09-17 13:12:26,148 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81214109', 'ctest-vmi-63660827']}
2026-09-17 13:12:26,480 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63660827', 'id': '3f80f317-0de3-47f7-9394-298be922c549', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'network_id': '06b9a67c-8611-421e-987b-e595ad727c78', 'mac_address': '02:3f:80:f3:17:0d', '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': '68.185.11.195', 'subnet_id': 'a89ba718-dbc6-4184-80c0-54fd11dc8d05'}], 'security_groups': ['59d9cab1-7d58-438c-a00a-36ea83e5b9c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '72afd38a5483494f9ff34a0643d06483'}}
2026-09-17 13:12:26,480 - DEBUG - Created port 3f80f317-0de3-47f7-9394-298be922c549
2026-09-17 13:12:26,596 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/3f80f317-0de3-47f7-9394-298be922c549
2026-09-17 13:12:27,011 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/3f80f317-0de3-47f7-9394-298be922c549
2026-09-17 13:12:27,052 - INFO - VMI 3f80f317-0de3-47f7-9394-298be922c549 verification in API Server passed
2026-09-17 13:12:27,201 - DEBUG - Response for delete_port : ()
2026-09-17 13:12:27,201 - INFO - Deleted port 3f80f317-0de3-47f7-9394-298be922c549
2026-09-17 13:12:27,201 - INFO - Deleting VN ctest-vn-81501106
2026-09-17 13:12:27,373 - DEBUG - Response for deleting network ()
2026-09-17 13:12:27,652 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 13:12:27,652 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-17 13:12:27,652 - INFO - --------------------------------------------------------------------------------
2026-09-17 13:12:27,656 - INFO - ================================================================================
2026-09-17 13:12:27,657 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-17 13:12:27,657 - 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-09-17 13:12:27,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-17 13:12:27,957 - INFO - Initial checks done. Running the testcase now
2026-09-17 13:12:27,957 - INFO -
2026-09-17 13:12:28,198 - DEBUG - Response for create_network : {'network': {'id': '7a5cc2bd-f8af-4cef-9b49-16cb7166cb3b', 'name': 'ctest-vn1-08855977', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'project_id': '72afd38a5483494f9ff34a0643d06483', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81214109', 'ctest-vn1-08855977'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 13:12:28,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '6847ef09-0220-47ea-b659-85b2c7827ab3', 'name': '', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'network_id': '7a5cc2bd-f8af-4cef-9b49-16cb7166cb3b', 'ip_version': 4, 'cidr': '202.202.67.128/26', 'allocation_pools': [{'start': '202.202.67.130', 'end': '202.202.67.190'}], 'gateway_ip': '202.202.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.202.67.130', 'tags': [], 'project_id': '72afd38a5483494f9ff34a0643d06483'}}
2026-09-17 13:12:28,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '9558ab5f-7ddf-4a2b-976f-e73fdc85a0b3', 'name': '', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'network_id': '7a5cc2bd-f8af-4cef-9b49-16cb7166cb3b', 'ip_version': 4, 'cidr': '146.181.115.0/26', 'allocation_pools': [{'start': '146.181.115.2', 'end': '146.181.115.62'}], 'gateway_ip': '146.181.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.181.115.2', 'tags': [], 'project_id': '72afd38a5483494f9ff34a0643d06483'}}
2026-09-17 13:12:28,666 - INFO - Created VN ctest-vn1-08855977
2026-09-17 13:12:28,724 - DEBUG - VN ctest-vn1-08855977 UUID is 7a5cc2bd-f8af-4cef-9b49-16cb7166cb3b
2026-09-17 13:12:29,117 - DEBUG - Response for create_port : {'port': {'name': 'a804ee11-da1b-45fb-a79d-bd67f2a1e968', 'id': 'a804ee11-da1b-45fb-a79d-bd67f2a1e968', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'network_id': '7a5cc2bd-f8af-4cef-9b49-16cb7166cb3b', 'mac_address': '02:a8:04:ee:11:da', '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': '202.202.67.133', 'subnet_id': '6847ef09-0220-47ea-b659-85b2c7827ab3'}], 'security_groups': ['59d9cab1-7d58-438c-a00a-36ea83e5b9c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '72afd38a5483494f9ff34a0643d06483'}}
2026-09-17 13:12:29,353 - DEBUG - Response for create_port : {'port': {'name': 'a731e1a1-2411-4921-bbf4-77fce72e453d', 'id': 'a731e1a1-2411-4921-bbf4-77fce72e453d', 'tenant_id': '72afd38a5483494f9ff34a0643d06483', 'network_id': '7a5cc2bd-f8af-4cef-9b49-16cb7166cb3b', 'mac_address': '02:a7:31:e1:a1:24', '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': '146.181.115.5', 'subnet_id': '9558ab5f-7ddf-4a2b-976f-e73fdc85a0b3'}], 'security_groups': ['59d9cab1-7d58-438c-a00a-36ea83e5b9c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '72afd38a5483494f9ff34a0643d06483'}}
2026-09-17 13:12:29,420 - DEBUG - Services list from nova: [, , ]
2026-09-17 13:12:29,815 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6299-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6299-1)
2026-09-17 13:12:30,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6299-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6299-1)
2026-09-17 13:12:30,337 - INFO - Waiting for VM ctest-vn1-vm1-02791584 to be up..
2026-09-17 13:12:30,385 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:12:35,483 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:12:40,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:12:45,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:12:50,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:12:55,909 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:13:01,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:13:06,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-17 13:13:11,225 - DEBUG - VM is in ACTIVE state now
2026-09-17 13:13:11,225 - INFO - VM name : ctest-vn1-vm1-02791584
2026-09-17 13:13:11,323 - DEBUG - VM ctest-vn1-vm1-02791584 ID is be2af2d1-0b4a-4dae-9243-d678f45b4402
2026-09-17 13:13:11,356 - DEBUG - VM ctest-vn1-vm1-02791584 launched on Node cn-jenkins-deploy-platform-ansible-os-6299-1
2026-09-17 13:13:11,460 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/be2af2d1-0b4a-4dae-9243-d678f45b4402
2026-09-17 13:13:11,471 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/a804ee11-da1b-45fb-a79d-bd67f2a1e968
2026-09-17 13:13:14,741 - 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 1017ms')
2026-09-17 13:13:14,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02791584 failed!
2026-09-17 13:13:14,800 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81214109:ctest-vn1-08855977 is 202.202.67.129 and allocation pool is NOT set
2026-09-17 13:13:14,800 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81214109:ctest-vn1-08855977 is 146.181.115.1 and allocation pool is NOT set
2026-09-17 13:13:16,873 - 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=16.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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 = 2.685/9.613/16.541/6.928 ms')
2026-09-17 13:13:16,873 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02791584 passed
2026-09-17 13:13:17,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-17 13:13:17,028 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02791584, IP 202.202.67.133, Port 22
2026-09-17 13:13:17,094 - 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-09-17 13:13:17,191 - DEBUG - VM ctest-vn1-vm1-02791584 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-17 13:13:22,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-17 13:13:22,193 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02791584, IP 202.202.67.133, Port 22
2026-09-17 13:13:22,373 - DEBUG - VM ctest-vn1-vm1-02791584 is ready for SSH connections
2026-09-17 13:13:22,374 - INFO - Waiting for VM ctest-vn1-vm2-85080515 to be up..
2026-09-17 13:13:22,469 - DEBUG - VM is in ACTIVE state now
2026-09-17 13:13:22,470 - INFO - VM name : ctest-vn1-vm2-85080515
2026-09-17 13:13:22,580 - DEBUG - VM ctest-vn1-vm2-85080515 ID is a60d7082-ef94-4bb4-9933-5b062dd78d84
2026-09-17 13:13:22,580 - DEBUG - VM ctest-vn1-vm2-85080515 launched on Node cn-jenkins-deploy-platform-ansible-os-6299-1
2026-09-17 13:13:22,684 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/a60d7082-ef94-4bb4-9933-5b062dd78d84
2026-09-17 13:13:22,696 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/a731e1a1-2411-4921-bbf4-77fce72e453d
2026-09-17 13:13:23,958 - 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=4.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.05 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 = 4.045/4.096/4.148/0.051 ms')
2026-09-17 13:13:23,958 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-85080515 passed
2026-09-17 13:13:24,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-17 13:13:24,116 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85080515, IP 146.181.115.5, Port 22
2026-09-17 13:13:24,182 - 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-09-17 13:13:24,268 - DEBUG - VM ctest-vn1-vm2-85080515 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-17 13:13:29,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-17 13:13:29,269 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-85080515, IP 146.181.115.5, Port 22
2026-09-17 13:13:29,446 - DEBUG - VM ctest-vn1-vm2-85080515 is ready for SSH connections
2026-09-17 13:13:29,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-17 13:13:29,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-17 13:13:29,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-17 13:13:29,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.202.67.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-09-17 13:13:29,446 - DEBUG - ping -s 56 -c 3 -W 1 202.202.67.133
2026-09-17 13:13:32,610 - DEBUG - PING 202.202.67.133 (202.202.67.133): 56 data bytes
64 bytes from 202.202.67.133: seq=0 ttl=63 time=5.691 ms
64 bytes from 202.202.67.133: seq=1 ttl=63 time=1.248 ms
64 bytes from 202.202.67.133: seq=2 ttl=63 time=1.802 ms
--- 202.202.67.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.248/2.913/5.691 ms
2026-09-17 13:13:32,610 - INFO - Ping to IP 202.202.67.133 from VM ctest-vn1-vm2-85080515 passed
2026-09-17 13:13:32,610 - INFO - Detaching port a731e1a1-2411-4921-bbf4-77fce72e453d from VM ctest-vn1-vm2-85080515
2026-09-17 13:13:32,679 - INFO - Deleting VM ctest-vn1-vm2-85080515
2026-09-17 13:13:32,776 - INFO - Detaching port a804ee11-da1b-45fb-a79d-bd67f2a1e968 from VM ctest-vn1-vm1-02791584
2026-09-17 13:13:32,825 - INFO - Deleting VM ctest-vn1-vm1-02791584
2026-09-17 13:13:33,197 - DEBUG - Response for delete_port : ()
2026-09-17 13:13:33,595 - DEBUG - Response for delete_port : ()
2026-09-17 13:13:33,595 - INFO - Deleting VN ctest-vn1-08855977
2026-09-17 13:13:33,765 - DEBUG - Response for deleting network ()
2026-09-17 13:13:34,054 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 13:13:34,054 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:07]
2026-09-17 13:13:34,055 - INFO - --------------------------------------------------------------------------------
2026-09-17 13:13:34,917 - INFO - Deleted project: ctest-TestPorts-81214109, ID : 72afd38a-5483-494f-9ff3-4a0643d06483