2026-10-29 22:15:35,560 - INFO - Domain Default found not creating
2026-10-29 22:15:35,773 - INFO - Project ctest-TestPorts-28932980 not found, creating it
2026-10-29 22:15:36,338 - INFO - Created Project:ctest-TestPorts-28932980, ID : 8e272536-0ae2-48bf-8871-8b1b36dc9012
2026-10-29 22:15:38,157 - INFO - ================================================================================
2026-10-29 22:15:38,157 - INFO - STARTING TEST : test_ports_bindings
2026-10-29 22:15:38,157 - 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-10-29 22:15:38,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.17': '0'}} with
2026-10-29 22:15:38,418 - INFO - Initial checks done. Running the testcase now
2026-10-29 22:15:38,418 - INFO -
2026-10-29 22:15:39,081 - DEBUG - Response for create_network : {'network': {'id': '44c2c3e3-e5b0-45b9-ae6c-6485cd58454e', 'name': 'ctest-vn-17888320', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'project_id': '8e2725360ae248bf88718b1b36dc9012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28932980', 'ctest-vn-17888320'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:15:39,312 - DEBUG - Response for create_subnet : {'subnet': {'id': '0aee3f5e-abcd-4095-8006-49e8a8db67c5', 'name': '', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'network_id': '44c2c3e3-e5b0-45b9-ae6c-6485cd58454e', 'ip_version': 4, 'cidr': '204.16.174.128/26', 'allocation_pools': [{'start': '204.16.174.130', 'end': '204.16.174.190'}], 'gateway_ip': '204.16.174.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.16.174.130', 'tags': [], 'project_id': '8e2725360ae248bf88718b1b36dc9012'}}
2026-10-29 22:15:39,334 - INFO - Created VN ctest-vn-17888320
2026-10-29 22:15:39,391 - DEBUG - VN ctest-vn-17888320 UUID is 44c2c3e3-e5b0-45b9-ae6c-6485cd58454e
2026-10-29 22:15:39,504 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28932980', 'ctest-vmi-08282161']}
2026-10-29 22:15:39,773 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08282161', 'id': '29421757-abb8-482c-8268-1976ca319f72', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'network_id': '44c2c3e3-e5b0-45b9-ae6c-6485cd58454e', 'mac_address': '02:29:42:17:57:ab', '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': '204.16.174.131', 'subnet_id': '0aee3f5e-abcd-4095-8006-49e8a8db67c5'}], 'security_groups': ['2a5c6a80-2cfe-4c92-b29a-7c98fbc131a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8e2725360ae248bf88718b1b36dc9012'}}
2026-10-29 22:15:39,773 - DEBUG - Created port 29421757-abb8-482c-8268-1976ca319f72
2026-10-29 22:15:39,882 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/29421757-abb8-482c-8268-1976ca319f72
2026-10-29 22:15:40,255 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/29421757-abb8-482c-8268-1976ca319f72
2026-10-29 22:15:40,289 - INFO - VMI 29421757-abb8-482c-8268-1976ca319f72 verification in API Server passed
2026-10-29 22:15:40,409 - DEBUG - Response for delete_port : ()
2026-10-29 22:15:40,409 - INFO - Deleted port 29421757-abb8-482c-8268-1976ca319f72
2026-10-29 22:15:40,409 - INFO - Deleting VN ctest-vn-17888320
2026-10-29 22:15:40,558 - DEBUG - Response for deleting network ()
2026-10-29 22:15:40,836 - DEBUG - No XMPP flaps were noticed during the test
2026-10-29 22:15:40,836 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-10-29 22:15:40,836 - INFO - --------------------------------------------------------------------------------
2026-10-29 22:15:40,839 - INFO - ================================================================================
2026-10-29 22:15:40,839 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-10-29 22:15:40,839 - 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-10-29 22:15:41,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.17': '0'}} with
2026-10-29 22:15:41,140 - INFO - Initial checks done. Running the testcase now
2026-10-29 22:15:41,140 - INFO -
2026-10-29 22:15:41,368 - DEBUG - Response for create_network : {'network': {'id': '5a62f47a-a754-44de-80e8-6ef6877d1c0e', 'name': 'ctest-vn1-18613199', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'project_id': '8e2725360ae248bf88718b1b36dc9012', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28932980', 'ctest-vn1-18613199'], 'port_security_enabled': True, 'description': ''}}
2026-10-29 22:15:41,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c66d53fa-95eb-415a-b268-a45db08b507d', 'name': '', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'network_id': '5a62f47a-a754-44de-80e8-6ef6877d1c0e', 'ip_version': 4, 'cidr': '220.99.125.0/26', 'allocation_pools': [{'start': '220.99.125.2', 'end': '220.99.125.62'}], 'gateway_ip': '220.99.125.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.99.125.2', 'tags': [], 'project_id': '8e2725360ae248bf88718b1b36dc9012'}}
2026-10-29 22:15:41,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d1a4450-5a9f-41cb-9e37-10b9b92247b9', 'name': '', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'network_id': '5a62f47a-a754-44de-80e8-6ef6877d1c0e', 'ip_version': 4, 'cidr': '172.47.104.192/26', 'allocation_pools': [{'start': '172.47.104.194', 'end': '172.47.104.254'}], 'gateway_ip': '172.47.104.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.47.104.194', 'tags': [], 'project_id': '8e2725360ae248bf88718b1b36dc9012'}}
2026-10-29 22:15:41,867 - INFO - Created VN ctest-vn1-18613199
2026-10-29 22:15:41,923 - DEBUG - VN ctest-vn1-18613199 UUID is 5a62f47a-a754-44de-80e8-6ef6877d1c0e
2026-10-29 22:15:42,279 - DEBUG - Response for create_port : {'port': {'name': '5b4b9f88-554a-4d25-a8ab-a0467bfa56b8', 'id': '5b4b9f88-554a-4d25-a8ab-a0467bfa56b8', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'network_id': '5a62f47a-a754-44de-80e8-6ef6877d1c0e', 'mac_address': '02:5b:4b:9f:88:55', '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': '220.99.125.5', 'subnet_id': 'c66d53fa-95eb-415a-b268-a45db08b507d'}], 'security_groups': ['2a5c6a80-2cfe-4c92-b29a-7c98fbc131a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8e2725360ae248bf88718b1b36dc9012'}}
2026-10-29 22:15:42,476 - DEBUG - Response for create_port : {'port': {'name': 'ec769586-0aeb-4199-8636-f914ba013053', 'id': 'ec769586-0aeb-4199-8636-f914ba013053', 'tenant_id': '8e2725360ae248bf88718b1b36dc9012', 'network_id': '5a62f47a-a754-44de-80e8-6ef6877d1c0e', 'mac_address': '02:ec:76:95:86:0a', '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': '172.47.104.197', 'subnet_id': '8d1a4450-5a9f-41cb-9e37-10b9b92247b9'}], 'security_groups': ['2a5c6a80-2cfe-4c92-b29a-7c98fbc131a1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8e2725360ae248bf88718b1b36dc9012'}}
2026-10-29 22:15:42,540 - DEBUG - Services list from nova: [, , ]
2026-10-29 22:15:42,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6442-1)
2026-10-29 22:15:43,808 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6442-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6442-1)
2026-10-29 22:15:43,808 - INFO - Waiting for VM ctest-vn1-vm1-71566011 to be up..
2026-10-29 22:15:43,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:15:48,949 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:15:54,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:15:59,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:16:04,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:16:09,408 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:16:14,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:16:19,632 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:16:24,733 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-29 22:16:29,836 - DEBUG - VM is in ACTIVE state now
2026-10-29 22:16:29,836 - INFO - VM name : ctest-vn1-vm1-71566011
2026-10-29 22:16:29,946 - DEBUG - VM ctest-vn1-vm1-71566011 ID is 324eb372-b0aa-4aa0-ab3b-1e2fb0871b85
2026-10-29 22:16:29,979 - DEBUG - VM ctest-vn1-vm1-71566011 launched on Node cn-jenkins-deploy-platform-ansible-os-6442-1
2026-10-29 22:16:30,099 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/324eb372-b0aa-4aa0-ab3b-1e2fb0871b85
2026-10-29 22:16:30,113 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/5b4b9f88-554a-4d25-a8ab-a0467bfa56b8
2026-10-29 22:16:33,392 - 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 1007ms')
2026-10-29 22:16:33,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71566011 failed!
2026-10-29 22:16:33,451 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28932980:ctest-vn1-18613199 is 220.99.125.1 and allocation pool is NOT set
2026-10-29 22:16:33,451 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28932980:ctest-vn1-18613199 is 172.47.104.193 and allocation pool is NOT set
2026-10-29 22:16:35,520 - 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=15.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.39 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.386/9.173/14.960/5.787 ms')
2026-10-29 22:16:35,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71566011 passed
2026-10-29 22:16:35,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 22:16:35,683 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71566011, IP 220.99.125.5, Port 22
2026-10-29 22:16:35,749 - 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-10-29 22:16:35,859 - DEBUG - VM ctest-vn1-vm1-71566011 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-29 22:16:40,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 22:16:40,860 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71566011, IP 220.99.125.5, Port 22
2026-10-29 22:16:41,041 - DEBUG - VM ctest-vn1-vm1-71566011 is ready for SSH connections
2026-10-29 22:16:41,041 - INFO - Waiting for VM ctest-vn1-vm2-13254814 to be up..
2026-10-29 22:16:41,145 - DEBUG - VM is in ACTIVE state now
2026-10-29 22:16:41,146 - INFO - VM name : ctest-vn1-vm2-13254814
2026-10-29 22:16:41,265 - DEBUG - VM ctest-vn1-vm2-13254814 ID is aadb849e-305e-4774-8a04-b5725f2a7f19
2026-10-29 22:16:41,265 - DEBUG - VM ctest-vn1-vm2-13254814 launched on Node cn-jenkins-deploy-platform-ansible-os-6442-1
2026-10-29 22:16:41,379 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine/aadb849e-305e-4774-8a04-b5725f2a7f19
2026-10-29 22:16:41,391 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-machine-interface/ec769586-0aeb-4199-8636-f914ba013053
2026-10-29 22:16:42,662 - 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=6.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.76 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.757/5.145/6.534/1.388 ms')
2026-10-29 22:16:42,662 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13254814 passed
2026-10-29 22:16:42,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 22:16:42,823 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13254814, IP 172.47.104.197, Port 22
2026-10-29 22:16:42,889 - 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-10-29 22:16:43,019 - DEBUG - VM ctest-vn1-vm2-13254814 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-29 22:16:48,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 22:16:48,021 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13254814, IP 172.47.104.197, Port 22
2026-10-29 22:16:48,197 - DEBUG - VM ctest-vn1-vm2-13254814 is ready for SSH connections
2026-10-29 22:16:48,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 22:16:48,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 22:16:48,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-29 22:16:48,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.99.125.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123
2026-10-29 22:16:48,197 - DEBUG - ping -s 56 -c 3 -W 1 220.99.125.5
2026-10-29 22:16:51,479 - DEBUG - PING 220.99.125.5 (220.99.125.5): 56 data bytes
64 bytes from 220.99.125.5: seq=0 ttl=63 time=5.042 ms
64 bytes from 220.99.125.5: seq=1 ttl=63 time=1.604 ms
64 bytes from 220.99.125.5: seq=2 ttl=63 time=1.530 ms
--- 220.99.125.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.530/2.725/5.042 ms
2026-10-29 22:16:51,479 - INFO - Ping to IP 220.99.125.5 from VM ctest-vn1-vm2-13254814 passed
2026-10-29 22:16:51,480 - INFO - Detaching port ec769586-0aeb-4199-8636-f914ba013053 from VM ctest-vn1-vm2-13254814
2026-10-29 22:16:51,578 - INFO - Deleting VM ctest-vn1-vm2-13254814
2026-10-29 22:16:51,694 - INFO - Detaching port 5b4b9f88-554a-4d25-a8ab-a0467bfa56b8 from VM ctest-vn1-vm1-71566011
2026-10-29 22:16:51,746 - INFO - Deleting VM ctest-vn1-vm1-71566011
2026-10-29 22:16:52,106 - DEBUG - Response for delete_port : ()
2026-10-29 22:16:52,359 - DEBUG - Response for delete_port : ()
2026-10-29 22:16:52,360 - INFO - Deleting VN ctest-vn1-18613199
2026-10-29 22:16:52,524 - DEBUG - Response for deleting network ()
2026-10-29 22:16:53,108 - DEBUG - No XMPP flaps were noticed during the test
2026-10-29 22:16:53,109 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:13]
2026-10-29 22:16:53,109 - INFO - --------------------------------------------------------------------------------
2026-10-29 22:16:54,095 - INFO - Deleted project: ctest-TestPorts-28932980, ID : 8e272536-0ae2-48bf-8871-8b1b36dc9012