2026-04-17 13:13:52,558 - INFO - Domain Default found not creating
2026-04-17 13:13:52,736 - INFO - Project ctest-TestPorts-00974144 not found, creating it
2026-04-17 13:13:53,211 - INFO - Created Project:ctest-TestPorts-00974144, ID : c1d41b12-e43d-457b-a0cf-a2d3d590eb0d
2026-04-17 13:13:54,868 - INFO - ================================================================================
2026-04-17 13:13:54,868 - INFO - STARTING TEST : test_ports_bindings
2026-04-17 13:13:54,868 - 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-04-17 13:13:55,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-17 13:13:55,123 - INFO - Initial checks done. Running the testcase now
2026-04-17 13:13:55,123 - INFO -
2026-04-17 13:13:55,743 - DEBUG - Response for create_network : {'network': {'id': 'bea1f9c3-0d8b-43a0-9288-64df70168e71', 'name': 'ctest-vn-15907033', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00974144', 'ctest-vn-15907033'], 'port_security_enabled': True, 'description': ''}}
2026-04-17 13:13:55,926 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db48f8cb-8e4b-45a2-b035-e551277930ec', 'name': '', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'network_id': 'bea1f9c3-0d8b-43a0-9288-64df70168e71', 'ip_version': 4, 'cidr': '67.126.100.64/26', 'allocation_pools': [{'start': '67.126.100.66', 'end': '67.126.100.126'}], 'gateway_ip': '67.126.100.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.126.100.66', 'tags': [], 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d'}}
2026-04-17 13:13:55,944 - INFO - Created VN ctest-vn-15907033
2026-04-17 13:13:55,996 - DEBUG - VN ctest-vn-15907033 UUID is bea1f9c3-0d8b-43a0-9288-64df70168e71
2026-04-17 13:13:56,109 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00974144', 'ctest-vmi-96278835']}
2026-04-17 13:13:56,364 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96278835', 'id': 'f82d6ea2-12a2-4e76-bc8a-f370dea6c685', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'network_id': 'bea1f9c3-0d8b-43a0-9288-64df70168e71', 'mac_address': '02:f8:2d:6e:a2:12', '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': '67.126.100.67', 'subnet_id': 'db48f8cb-8e4b-45a2-b035-e551277930ec'}], 'security_groups': ['92e1c038-a744-49e0-aafd-bfc96fbc8f9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d'}}
2026-04-17 13:13:56,364 - DEBUG - Created port f82d6ea2-12a2-4e76-bc8a-f370dea6c685
2026-04-17 13:13:56,468 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f82d6ea2-12a2-4e76-bc8a-f370dea6c685
2026-04-17 13:13:56,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f82d6ea2-12a2-4e76-bc8a-f370dea6c685
2026-04-17 13:13:56,839 - INFO - VMI f82d6ea2-12a2-4e76-bc8a-f370dea6c685 verification in API Server passed
2026-04-17 13:13:56,933 - DEBUG - Response for delete_port : ()
2026-04-17 13:13:56,934 - INFO - Deleted port f82d6ea2-12a2-4e76-bc8a-f370dea6c685
2026-04-17 13:13:56,934 - INFO - Deleting VN ctest-vn-15907033
2026-04-17 13:13:57,028 - DEBUG - Response for deleting network ()
2026-04-17 13:13:57,286 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 13:13:57,286 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-17 13:13:57,286 - INFO - --------------------------------------------------------------------------------
2026-04-17 13:13:57,289 - INFO - ================================================================================
2026-04-17 13:13:57,289 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-17 13:13:57,289 - 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-04-17 13:13:57,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-17 13:13:57,577 - INFO - Initial checks done. Running the testcase now
2026-04-17 13:13:57,577 - INFO -
2026-04-17 13:13:57,755 - DEBUG - Response for create_network : {'network': {'id': '4943a4bf-029d-48cc-84f3-429e455061ae', 'name': 'ctest-vn1-51826707', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00974144', 'ctest-vn1-51826707'], 'port_security_enabled': True, 'description': ''}}
2026-04-17 13:13:57,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '602d0557-c670-4912-98b6-67e58722295d', 'name': '', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'network_id': '4943a4bf-029d-48cc-84f3-429e455061ae', 'ip_version': 4, 'cidr': '8.151.145.128/26', 'allocation_pools': [{'start': '8.151.145.130', 'end': '8.151.145.190'}], 'gateway_ip': '8.151.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.151.145.130', 'tags': [], 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d'}}
2026-04-17 13:13:58,137 - DEBUG - Response for create_subnet : {'subnet': {'id': '137295c5-1f57-4543-898d-bca22aa2695a', 'name': '', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'network_id': '4943a4bf-029d-48cc-84f3-429e455061ae', 'ip_version': 4, 'cidr': '130.55.35.0/26', 'allocation_pools': [{'start': '130.55.35.2', 'end': '130.55.35.62'}], 'gateway_ip': '130.55.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.55.35.2', 'tags': [], 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d'}}
2026-04-17 13:13:58,159 - INFO - Created VN ctest-vn1-51826707
2026-04-17 13:13:58,212 - DEBUG - VN ctest-vn1-51826707 UUID is 4943a4bf-029d-48cc-84f3-429e455061ae
2026-04-17 13:13:58,516 - DEBUG - Response for create_port : {'port': {'name': '7d76cc85-e193-442c-a0bf-1670e79c76bd', 'id': '7d76cc85-e193-442c-a0bf-1670e79c76bd', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'network_id': '4943a4bf-029d-48cc-84f3-429e455061ae', 'mac_address': '02:7d:76:cc:85:e1', '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': '8.151.145.133', 'subnet_id': '602d0557-c670-4912-98b6-67e58722295d'}], 'security_groups': ['92e1c038-a744-49e0-aafd-bfc96fbc8f9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d'}}
2026-04-17 13:13:58,687 - DEBUG - Response for create_port : {'port': {'name': 'c31e0b31-97a6-436c-ae64-fabfb9724c5d', 'id': 'c31e0b31-97a6-436c-ae64-fabfb9724c5d', 'tenant_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d', 'network_id': '4943a4bf-029d-48cc-84f3-429e455061ae', 'mac_address': '02:c3:1e:0b:31:97', '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': '130.55.35.5', 'subnet_id': '137295c5-1f57-4543-898d-bca22aa2695a'}], 'security_groups': ['92e1c038-a744-49e0-aafd-bfc96fbc8f9b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c1d41b12e43d457ba0cfa2d3d590eb0d'}}
2026-04-17 13:13:58,750 - DEBUG - Services list from nova: [, , ]
2026-04-17 13:13:59,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1)
2026-04-17 13:13:59,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1)
2026-04-17 13:13:59,518 - INFO - Waiting for VM ctest-vn1-vm1-79660768 to be up..
2026-04-17 13:13:59,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-17 13:14:04,643 - DEBUG - VM is in ACTIVE state now
2026-04-17 13:14:04,643 - INFO - VM name : ctest-vn1-vm1-79660768
2026-04-17 13:14:04,725 - DEBUG - VM ctest-vn1-vm1-79660768 ID is 54b377b2-baf4-4992-b0bd-6868328be535
2026-04-17 13:14:04,745 - DEBUG - VM ctest-vn1-vm1-79660768 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1
2026-04-17 13:14:04,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54b377b2-baf4-4992-b0bd-6868328be535
2026-04-17 13:14:04,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7d76cc85-e193-442c-a0bf-1670e79c76bd
2026-04-17 13:14:08,114 - 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 1026ms')
2026-04-17 13:14:08,114 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79660768 failed!
2026-04-17 13:14:08,168 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00974144:ctest-vn1-51826707 is 8.151.145.129 and allocation pool is NOT set
2026-04-17 13:14:08,168 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00974144:ctest-vn1-51826707 is 130.55.35.1 and allocation pool is NOT set
2026-04-17 13:14:12,234 - 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=2 ttl=63 time=12.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 12.650/12.650/12.650/0.000 ms')
2026-04-17 13:14:12,235 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79660768 passed
2026-04-17 13:14:12,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:14:12,388 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79660768, IP 8.151.145.133, Port 22
2026-04-17 13:14:12,454 - 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-04-17 13:14:12,548 - DEBUG - VM ctest-vn1-vm1-79660768 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-17 13:14:17,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:14:17,548 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79660768, IP 8.151.145.133, Port 22
2026-04-17 13:14:17,704 - DEBUG - VM ctest-vn1-vm1-79660768 is ready for SSH connections
2026-04-17 13:14:17,704 - INFO - Waiting for VM ctest-vn1-vm2-54737155 to be up..
2026-04-17 13:14:17,781 - DEBUG - VM is in ACTIVE state now
2026-04-17 13:14:17,781 - INFO - VM name : ctest-vn1-vm2-54737155
2026-04-17 13:14:17,856 - DEBUG - VM ctest-vn1-vm2-54737155 ID is 99852bfc-a11b-4b6a-9d37-f93a1252d677
2026-04-17 13:14:17,856 - DEBUG - VM ctest-vn1-vm2-54737155 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1
2026-04-17 13:14:17,930 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/99852bfc-a11b-4b6a-9d37-f93a1252d677
2026-04-17 13:14:17,938 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c31e0b31-97a6-436c-ae64-fabfb9724c5d
2026-04-17 13:14:19,181 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.392 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.392/1.762/3.133/1.370 ms')
2026-04-17 13:14:19,181 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54737155 passed
2026-04-17 13:14:19,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:14:19,336 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54737155, IP 130.55.35.5, Port 22
2026-04-17 13:14:19,492 - DEBUG - VM ctest-vn1-vm2-54737155 is ready for SSH connections
2026-04-17 13:14:19,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:14:19,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:14:19,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-17 13:14:19,492 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.151.145.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-17 13:14:19,492 - DEBUG - ping -s 56 -c 3 -W 1 8.151.145.133
2026-04-17 13:14:22,188 - DEBUG - PING 8.151.145.133 (8.151.145.133): 56 data bytes
64 bytes from 8.151.145.133: seq=0 ttl=63 time=3.604 ms
64 bytes from 8.151.145.133: seq=1 ttl=63 time=0.867 ms
64 bytes from 8.151.145.133: seq=2 ttl=63 time=0.910 ms
--- 8.151.145.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.867/1.793/3.604 ms
2026-04-17 13:14:22,188 - INFO - Ping to IP 8.151.145.133 from VM ctest-vn1-vm2-54737155 passed
2026-04-17 13:14:22,188 - INFO - Detaching port c31e0b31-97a6-436c-ae64-fabfb9724c5d from VM ctest-vn1-vm2-54737155
2026-04-17 13:14:22,241 - INFO - Deleting VM ctest-vn1-vm2-54737155
2026-04-17 13:14:22,312 - INFO - Detaching port 7d76cc85-e193-442c-a0bf-1670e79c76bd from VM ctest-vn1-vm1-79660768
2026-04-17 13:14:22,352 - INFO - Deleting VM ctest-vn1-vm1-79660768
2026-04-17 13:14:22,633 - DEBUG - Response for delete_port : ()
2026-04-17 13:14:22,792 - DEBUG - Response for delete_port : ()
2026-04-17 13:14:22,792 - INFO - Deleting VN ctest-vn1-51826707
2026-04-17 13:14:22,916 - DEBUG - Response for deleting network ()
2026-04-17 13:14:23,173 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 13:14:23,173 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-04-17 13:14:23,173 - INFO - --------------------------------------------------------------------------------
2026-04-17 13:14:24,065 - INFO - Deleted project: ctest-TestPorts-00974144, ID : c1d41b12-e43d-457b-a0cf-a2d3d590eb0d