2026-03-25 13:04:13,407 - INFO - Domain Default found not creating
2026-03-25 13:04:13,568 - INFO - Project ctest-TestPorts-09991469 not found, creating it
2026-03-25 13:04:14,033 - INFO - Created Project:ctest-TestPorts-09991469, ID : 99da04be-bc0f-49b3-a08f-1170154b9ae5
2026-03-25 13:04:15,492 - INFO - ================================================================================
2026-03-25 13:04:15,492 - INFO - STARTING TEST : test_ports_bindings
2026-03-25 13:04:15,492 - 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-03-25 13:04:15,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-03-25 13:04:15,748 - INFO - Initial checks done. Running the testcase now
2026-03-25 13:04:15,749 - INFO -
2026-03-25 13:04:16,315 - DEBUG - Response for create_network : {'network': {'id': 'ad736e67-b2af-408e-a6fd-cb5a5c3a93d5', 'name': 'ctest-vn-40131687', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'project_id': '99da04bebc0f49b3a08f1170154b9ae5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09991469', 'ctest-vn-40131687'], 'port_security_enabled': True, 'description': ''}}
2026-03-25 13:04:16,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ba7362e-bc7f-4b8a-8340-fc14839c7a99', 'name': '', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'network_id': 'ad736e67-b2af-408e-a6fd-cb5a5c3a93d5', 'ip_version': 4, 'cidr': '124.40.220.128/26', 'allocation_pools': [{'start': '124.40.220.130', 'end': '124.40.220.190'}], 'gateway_ip': '124.40.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.40.220.130', 'tags': [], 'project_id': '99da04bebc0f49b3a08f1170154b9ae5'}}
2026-03-25 13:04:16,525 - INFO - Created VN ctest-vn-40131687
2026-03-25 13:04:16,574 - DEBUG - VN ctest-vn-40131687 UUID is ad736e67-b2af-408e-a6fd-cb5a5c3a93d5
2026-03-25 13:04:16,678 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09991469', 'ctest-vmi-87008130']}
2026-03-25 13:04:16,969 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-87008130', 'id': '13bfe8b3-af4f-4260-94f1-63c18a241e7b', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'network_id': 'ad736e67-b2af-408e-a6fd-cb5a5c3a93d5', 'mac_address': '02:13:bf:e8:b3:af', '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': '124.40.220.131', 'subnet_id': '8ba7362e-bc7f-4b8a-8340-fc14839c7a99'}], 'security_groups': ['837748fb-ae9a-4e52-828e-8b19a1046fb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99da04bebc0f49b3a08f1170154b9ae5'}}
2026-03-25 13:04:16,969 - DEBUG - Created port 13bfe8b3-af4f-4260-94f1-63c18a241e7b
2026-03-25 13:04:17,078 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13bfe8b3-af4f-4260-94f1-63c18a241e7b
2026-03-25 13:04:17,380 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/13bfe8b3-af4f-4260-94f1-63c18a241e7b
2026-03-25 13:04:17,411 - INFO - VMI 13bfe8b3-af4f-4260-94f1-63c18a241e7b verification in API Server passed
2026-03-25 13:04:17,489 - DEBUG - Response for delete_port : ()
2026-03-25 13:04:17,489 - INFO - Deleted port 13bfe8b3-af4f-4260-94f1-63c18a241e7b
2026-03-25 13:04:17,490 - INFO - Deleting VN ctest-vn-40131687
2026-03-25 13:04:17,576 - DEBUG - Response for deleting network ()
2026-03-25 13:04:17,831 - DEBUG - No XMPP flaps were noticed during the test
2026-03-25 13:04:17,831 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-03-25 13:04:17,831 - INFO - --------------------------------------------------------------------------------
2026-03-25 13:04:17,833 - INFO - ================================================================================
2026-03-25 13:04:17,833 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-25 13:04:17,834 - 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-03-25 13:04:18,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-03-25 13:04:18,120 - INFO - Initial checks done. Running the testcase now
2026-03-25 13:04:18,120 - INFO -
2026-03-25 13:04:18,293 - DEBUG - Response for create_network : {'network': {'id': '3c18a228-c409-4604-9f05-3da53f5a1f38', 'name': 'ctest-vn1-37180043', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'project_id': '99da04bebc0f49b3a08f1170154b9ae5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09991469', 'ctest-vn1-37180043'], 'port_security_enabled': True, 'description': ''}}
2026-03-25 13:04:18,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f0af818-681f-4097-8715-2741464efa7d', 'name': '', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'network_id': '3c18a228-c409-4604-9f05-3da53f5a1f38', 'ip_version': 4, 'cidr': '199.215.117.192/26', 'allocation_pools': [{'start': '199.215.117.194', 'end': '199.215.117.254'}], 'gateway_ip': '199.215.117.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.215.117.194', 'tags': [], 'project_id': '99da04bebc0f49b3a08f1170154b9ae5'}}
2026-03-25 13:04:18,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '8df32f8f-43cc-48a2-8dc4-1d80f2616a66', 'name': '', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'network_id': '3c18a228-c409-4604-9f05-3da53f5a1f38', 'ip_version': 4, 'cidr': '14.93.183.128/26', 'allocation_pools': [{'start': '14.93.183.130', 'end': '14.93.183.190'}], 'gateway_ip': '14.93.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.93.183.130', 'tags': [], 'project_id': '99da04bebc0f49b3a08f1170154b9ae5'}}
2026-03-25 13:04:18,609 - INFO - Created VN ctest-vn1-37180043
2026-03-25 13:04:18,658 - DEBUG - VN ctest-vn1-37180043 UUID is 3c18a228-c409-4604-9f05-3da53f5a1f38
2026-03-25 13:04:18,956 - DEBUG - Response for create_port : {'port': {'name': 'af7fbe62-2aa8-4d50-b4a6-70290cea11b0', 'id': 'af7fbe62-2aa8-4d50-b4a6-70290cea11b0', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'network_id': '3c18a228-c409-4604-9f05-3da53f5a1f38', 'mac_address': '02:af:7f:be:62:2a', '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': '199.215.117.197', 'subnet_id': '8f0af818-681f-4097-8715-2741464efa7d'}], 'security_groups': ['837748fb-ae9a-4e52-828e-8b19a1046fb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99da04bebc0f49b3a08f1170154b9ae5'}}
2026-03-25 13:04:19,119 - DEBUG - Response for create_port : {'port': {'name': '4769f3cf-8730-486f-9dc0-ea88faf116b1', 'id': '4769f3cf-8730-486f-9dc0-ea88faf116b1', 'tenant_id': '99da04bebc0f49b3a08f1170154b9ae5', 'network_id': '3c18a228-c409-4604-9f05-3da53f5a1f38', 'mac_address': '02:47:69:f3:cf:87', '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': '14.93.183.133', 'subnet_id': '8df32f8f-43cc-48a2-8dc4-1d80f2616a66'}], 'security_groups': ['837748fb-ae9a-4e52-828e-8b19a1046fb7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99da04bebc0f49b3a08f1170154b9ae5'}}
2026-03-25 13:04:19,177 - DEBUG - Services list from nova: [, , ]
2026-03-25 13:04:19,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5539-1)
2026-03-25 13:04:19,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5539-1)
2026-03-25 13:04:19,879 - INFO - Waiting for VM ctest-vn1-vm1-32372930 to be up..
2026-03-25 13:04:19,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-25 13:04:24,991 - DEBUG - VM is in ACTIVE state now
2026-03-25 13:04:24,991 - INFO - VM name : ctest-vn1-vm1-32372930
2026-03-25 13:04:25,062 - DEBUG - VM ctest-vn1-vm1-32372930 ID is 5fa8f114-2326-44a6-94bc-b2c53da7a69d
2026-03-25 13:04:25,091 - DEBUG - VM ctest-vn1-vm1-32372930 launched on Node cn-jenkins-deploy-platform-ansible-os-5539-1
2026-03-25 13:04:25,168 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5fa8f114-2326-44a6-94bc-b2c53da7a69d
2026-03-25 13:04:25,177 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/af7fbe62-2aa8-4d50-b4a6-70290cea11b0
2026-03-25 13:04:28,428 - 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 1011ms')
2026-03-25 13:04:28,429 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32372930 failed!
2026-03-25 13:04:28,482 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09991469:ctest-vn1-37180043 is 199.215.117.193 and allocation pool is NOT set
2026-03-25 13:04:28,483 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09991469:ctest-vn1-37180043 is 14.93.183.129 and allocation pool is NOT set
2026-03-25 13:04:30,551 - 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=3.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.42 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 = 3.282/3.349/3.417/0.067 ms')
2026-03-25 13:04:30,551 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32372930 passed
2026-03-25 13:04:30,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-25 13:04:30,699 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32372930, IP 199.215.117.197, Port 22
2026-03-25 13:04:30,754 - 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-03-25 13:04:30,839 - DEBUG - VM ctest-vn1-vm1-32372930 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-25 13:04:35,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-25 13:04:35,840 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32372930, IP 199.215.117.197, Port 22
2026-03-25 13:04:35,994 - DEBUG - VM ctest-vn1-vm1-32372930 is ready for SSH connections
2026-03-25 13:04:35,994 - INFO - Waiting for VM ctest-vn1-vm2-26192334 to be up..
2026-03-25 13:04:36,070 - DEBUG - VM is in ACTIVE state now
2026-03-25 13:04:36,070 - INFO - VM name : ctest-vn1-vm2-26192334
2026-03-25 13:04:36,146 - DEBUG - VM ctest-vn1-vm2-26192334 ID is daa566b0-b3f5-4e81-b336-84a0d916107c
2026-03-25 13:04:36,146 - DEBUG - VM ctest-vn1-vm2-26192334 launched on Node cn-jenkins-deploy-platform-ansible-os-5539-1
2026-03-25 13:04:36,217 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/daa566b0-b3f5-4e81-b336-84a0d916107c
2026-03-25 13:04:36,225 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4769f3cf-8730-486f-9dc0-ea88faf116b1
2026-03-25 13:04:37,453 - 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=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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 = 0.338/1.613/2.889/1.275 ms')
2026-03-25 13:04:37,453 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26192334 passed
2026-03-25 13:04:37,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-25 13:04:37,603 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26192334, IP 14.93.183.133, Port 22
2026-03-25 13:04:37,758 - DEBUG - VM ctest-vn1-vm2-26192334 is ready for SSH connections
2026-03-25 13:04:37,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-25 13:04:37,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-25 13:04:37,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-25 13:04:37,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.215.117.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-03-25 13:04:37,759 - DEBUG - ping -s 56 -c 3 -W 1 199.215.117.197
2026-03-25 13:04:40,408 - DEBUG - PING 199.215.117.197 (199.215.117.197): 56 data bytes
64 bytes from 199.215.117.197: seq=0 ttl=63 time=3.508 ms
64 bytes from 199.215.117.197: seq=1 ttl=63 time=1.109 ms
64 bytes from 199.215.117.197: seq=2 ttl=63 time=0.820 ms
--- 199.215.117.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.820/1.812/3.508 ms
2026-03-25 13:04:40,408 - INFO - Ping to IP 199.215.117.197 from VM ctest-vn1-vm2-26192334 passed
2026-03-25 13:04:40,408 - INFO - Detaching port 4769f3cf-8730-486f-9dc0-ea88faf116b1 from VM ctest-vn1-vm2-26192334
2026-03-25 13:04:40,457 - INFO - Deleting VM ctest-vn1-vm2-26192334
2026-03-25 13:04:40,531 - INFO - Detaching port af7fbe62-2aa8-4d50-b4a6-70290cea11b0 from VM ctest-vn1-vm1-32372930
2026-03-25 13:04:40,569 - INFO - Deleting VM ctest-vn1-vm1-32372930
2026-03-25 13:04:40,820 - DEBUG - Response for delete_port : ()
2026-03-25 13:04:40,983 - DEBUG - Response for delete_port : ()
2026-03-25 13:04:40,983 - INFO - Deleting VN ctest-vn1-37180043
2026-03-25 13:04:41,116 - DEBUG - Response for deleting network ()
2026-03-25 13:04:41,372 - DEBUG - No XMPP flaps were noticed during the test
2026-03-25 13:04:41,372 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-03-25 13:04:41,372 - INFO - --------------------------------------------------------------------------------
2026-03-25 13:04:42,068 - INFO - Deleted project: ctest-TestPorts-09991469, ID : 99da04be-bc0f-49b3-a08f-1170154b9ae5