2026-04-21 16:54:17,323 - INFO - Domain Default found not creating
2026-04-21 16:54:17,482 - INFO - Project ctest-TestPorts-08797562 not found, creating it
2026-04-21 16:54:17,965 - INFO - Created Project:ctest-TestPorts-08797562, ID : 3686135c-46bb-4323-8ec2-a0d9f15393cb
2026-04-21 16:54:19,443 - INFO - ================================================================================
2026-04-21 16:54:19,444 - INFO - STARTING TEST : test_ports_bindings
2026-04-21 16:54:19,444 - 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-21 16:54:19,701 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-21 16:54:19,701 - INFO - Initial checks done. Running the testcase now
2026-04-21 16:54:19,701 - INFO -
2026-04-21 16:54:20,276 - DEBUG - Response for create_network : {'network': {'id': '70d5cfe8-5865-46e0-ae1b-5908d082a321', 'name': 'ctest-vn-45228018', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'project_id': '3686135c46bb43238ec2a0d9f15393cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08797562', 'ctest-vn-45228018'], 'port_security_enabled': True, 'description': ''}}
2026-04-21 16:54:20,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ba038e7-e78e-4fe1-bb29-8c56418bf841', 'name': '', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'network_id': '70d5cfe8-5865-46e0-ae1b-5908d082a321', 'ip_version': 4, 'cidr': '28.146.38.0/26', 'allocation_pools': [{'start': '28.146.38.2', 'end': '28.146.38.62'}], 'gateway_ip': '28.146.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.146.38.2', 'tags': [], 'project_id': '3686135c46bb43238ec2a0d9f15393cb'}}
2026-04-21 16:54:20,492 - INFO - Created VN ctest-vn-45228018
2026-04-21 16:54:20,544 - DEBUG - VN ctest-vn-45228018 UUID is 70d5cfe8-5865-46e0-ae1b-5908d082a321
2026-04-21 16:54:20,647 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08797562', 'ctest-vmi-01850919']}
2026-04-21 16:54:20,931 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01850919', 'id': '5fdea4f4-4373-4e75-8944-f70eb6f00d69', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'network_id': '70d5cfe8-5865-46e0-ae1b-5908d082a321', 'mac_address': '02:5f:de:a4:f4:43', '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': '28.146.38.3', 'subnet_id': '7ba038e7-e78e-4fe1-bb29-8c56418bf841'}], 'security_groups': ['b8fe3047-958a-448e-a1aa-7b2301c90ae1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3686135c46bb43238ec2a0d9f15393cb'}}
2026-04-21 16:54:20,931 - DEBUG - Created port 5fdea4f4-4373-4e75-8944-f70eb6f00d69
2026-04-21 16:54:21,036 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5fdea4f4-4373-4e75-8944-f70eb6f00d69
2026-04-21 16:54:21,330 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5fdea4f4-4373-4e75-8944-f70eb6f00d69
2026-04-21 16:54:21,363 - INFO - VMI 5fdea4f4-4373-4e75-8944-f70eb6f00d69 verification in API Server passed
2026-04-21 16:54:21,446 - DEBUG - Response for delete_port : ()
2026-04-21 16:54:21,446 - INFO - Deleted port 5fdea4f4-4373-4e75-8944-f70eb6f00d69
2026-04-21 16:54:21,446 - INFO - Deleting VN ctest-vn-45228018
2026-04-21 16:54:21,547 - DEBUG - Response for deleting network ()
2026-04-21 16:54:21,802 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 16:54:21,802 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-21 16:54:21,803 - INFO - --------------------------------------------------------------------------------
2026-04-21 16:54:21,805 - INFO - ================================================================================
2026-04-21 16:54:21,805 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-21 16:54:21,805 - 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-21 16:54:22,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-21 16:54:22,090 - INFO - Initial checks done. Running the testcase now
2026-04-21 16:54:22,090 - INFO -
2026-04-21 16:54:22,258 - DEBUG - Response for create_network : {'network': {'id': '05f9b10e-ee7a-40dc-8267-025d16a8dc11', 'name': 'ctest-vn1-38641046', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'project_id': '3686135c46bb43238ec2a0d9f15393cb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08797562', 'ctest-vn1-38641046'], 'port_security_enabled': True, 'description': ''}}
2026-04-21 16:54:22,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '93bf4ad8-b8ed-4947-b01c-03d08fad6fab', 'name': '', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'network_id': '05f9b10e-ee7a-40dc-8267-025d16a8dc11', 'ip_version': 4, 'cidr': '68.127.16.0/26', 'allocation_pools': [{'start': '68.127.16.2', 'end': '68.127.16.62'}], 'gateway_ip': '68.127.16.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.127.16.2', 'tags': [], 'project_id': '3686135c46bb43238ec2a0d9f15393cb'}}
2026-04-21 16:54:22,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e6f3aba-1ba0-4497-9974-b5898861cf33', 'name': '', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'network_id': '05f9b10e-ee7a-40dc-8267-025d16a8dc11', 'ip_version': 4, 'cidr': '62.95.100.0/26', 'allocation_pools': [{'start': '62.95.100.2', 'end': '62.95.100.62'}], 'gateway_ip': '62.95.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.95.100.2', 'tags': [], 'project_id': '3686135c46bb43238ec2a0d9f15393cb'}}
2026-04-21 16:54:22,616 - INFO - Created VN ctest-vn1-38641046
2026-04-21 16:54:22,668 - DEBUG - VN ctest-vn1-38641046 UUID is 05f9b10e-ee7a-40dc-8267-025d16a8dc11
2026-04-21 16:54:22,953 - DEBUG - Response for create_port : {'port': {'name': 'b17db3a0-5fb4-47f8-bbfd-c9b1ca4a9c30', 'id': 'b17db3a0-5fb4-47f8-bbfd-c9b1ca4a9c30', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'network_id': '05f9b10e-ee7a-40dc-8267-025d16a8dc11', 'mac_address': '02:b1:7d:b3:a0:5f', '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.127.16.5', 'subnet_id': '93bf4ad8-b8ed-4947-b01c-03d08fad6fab'}], 'security_groups': ['b8fe3047-958a-448e-a1aa-7b2301c90ae1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3686135c46bb43238ec2a0d9f15393cb'}}
2026-04-21 16:54:23,110 - DEBUG - Response for create_port : {'port': {'name': '82c09bb1-5088-4af1-afef-50c35fc46019', 'id': '82c09bb1-5088-4af1-afef-50c35fc46019', 'tenant_id': '3686135c46bb43238ec2a0d9f15393cb', 'network_id': '05f9b10e-ee7a-40dc-8267-025d16a8dc11', 'mac_address': '02:82:c0:9b:b1:50', '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': '62.95.100.5', 'subnet_id': '8e6f3aba-1ba0-4497-9974-b5898861cf33'}], 'security_groups': ['b8fe3047-958a-448e-a1aa-7b2301c90ae1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3686135c46bb43238ec2a0d9f15393cb'}}
2026-04-21 16:54:23,168 - DEBUG - Services list from nova: [, , ]
2026-04-21 16:54:23,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5662-1)
2026-04-21 16:54:23,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5662-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5662-1)
2026-04-21 16:54:23,893 - INFO - Waiting for VM ctest-vn1-vm1-33588023 to be up..
2026-04-21 16:54:23,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-21 16:54:29,010 - DEBUG - VM is in ACTIVE state now
2026-04-21 16:54:29,010 - INFO - VM name : ctest-vn1-vm1-33588023
2026-04-21 16:54:29,086 - DEBUG - VM ctest-vn1-vm1-33588023 ID is 7182662e-7be5-469c-9647-77c417cf3f5a
2026-04-21 16:54:29,105 - DEBUG - VM ctest-vn1-vm1-33588023 launched on Node cn-jenkins-deploy-platform-ansible-os-5662-1
2026-04-21 16:54:29,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7182662e-7be5-469c-9647-77c417cf3f5a
2026-04-21 16:54:29,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b17db3a0-5fb4-47f8-bbfd-c9b1ca4a9c30
2026-04-21 16:54:32,580 - 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 1019ms')
2026-04-21 16:54:32,580 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-33588023 failed!
2026-04-21 16:54:32,632 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08797562:ctest-vn1-38641046 is 68.127.16.1 and allocation pool is NOT set
2026-04-21 16:54:32,632 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08797562:ctest-vn1-38641046 is 62.95.100.1 and allocation pool is NOT set
2026-04-21 16:54:34,699 - 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=5.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.77 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 = 2.771/4.280/5.789/1.509 ms')
2026-04-21 16:54:34,699 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-33588023 passed
2026-04-21 16:54:34,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 16:54:34,848 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33588023, IP 68.127.16.5, Port 22
2026-04-21 16:54:34,904 - 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-04-21 16:54:34,981 - DEBUG - VM ctest-vn1-vm1-33588023 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-21 16:54:39,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 16:54:39,982 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33588023, IP 68.127.16.5, Port 22
2026-04-21 16:54:40,140 - DEBUG - VM ctest-vn1-vm1-33588023 is ready for SSH connections
2026-04-21 16:54:40,140 - INFO - Waiting for VM ctest-vn1-vm2-73604958 to be up..
2026-04-21 16:54:40,226 - DEBUG - VM is in ACTIVE state now
2026-04-21 16:54:40,226 - INFO - VM name : ctest-vn1-vm2-73604958
2026-04-21 16:54:40,298 - DEBUG - VM ctest-vn1-vm2-73604958 ID is e99c8e9c-9b39-4581-aa80-da5bd5f03bdd
2026-04-21 16:54:40,298 - DEBUG - VM ctest-vn1-vm2-73604958 launched on Node cn-jenkins-deploy-platform-ansible-os-5662-1
2026-04-21 16:54:40,366 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e99c8e9c-9b39-4581-aa80-da5bd5f03bdd
2026-04-21 16:54:40,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/82c09bb1-5088-4af1-afef-50c35fc46019
2026-04-21 16:54:41,614 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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 = 0.386/1.903/3.420/1.517 ms')
2026-04-21 16:54:41,614 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-73604958 passed
2026-04-21 16:54:41,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 16:54:41,764 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73604958, IP 62.95.100.5, Port 22
2026-04-21 16:54:41,947 - DEBUG - VM ctest-vn1-vm2-73604958 is ready for SSH connections
2026-04-21 16:54:41,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 16:54:41,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 16:54:41,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-21 16:54:41,947 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.127.16.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-21 16:54:41,947 - DEBUG - ping -s 56 -c 3 -W 1 68.127.16.5
2026-04-21 16:54:45,687 - DEBUG - PING 68.127.16.5 (68.127.16.5): 56 data bytes
64 bytes from 68.127.16.5: seq=0 ttl=63 time=3.806 ms
64 bytes from 68.127.16.5: seq=1 ttl=63 time=1.186 ms
64 bytes from 68.127.16.5: seq=2 ttl=63 time=1.163 ms
--- 68.127.16.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.163/2.051/3.806 ms
2026-04-21 16:54:45,687 - INFO - Ping to IP 68.127.16.5 from VM ctest-vn1-vm2-73604958 passed
2026-04-21 16:54:45,687 - INFO - Detaching port 82c09bb1-5088-4af1-afef-50c35fc46019 from VM ctest-vn1-vm2-73604958
2026-04-21 16:54:45,739 - INFO - Deleting VM ctest-vn1-vm2-73604958
2026-04-21 16:54:45,830 - INFO - Detaching port b17db3a0-5fb4-47f8-bbfd-c9b1ca4a9c30 from VM ctest-vn1-vm1-33588023
2026-04-21 16:54:45,863 - INFO - Deleting VM ctest-vn1-vm1-33588023
2026-04-21 16:54:46,116 - DEBUG - Response for delete_port : ()
2026-04-21 16:54:46,283 - DEBUG - Response for delete_port : ()
2026-04-21 16:54:46,283 - INFO - Deleting VN ctest-vn1-38641046
2026-04-21 16:54:46,436 - DEBUG - Response for deleting network ()
2026-04-21 16:54:46,689 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 16:54:46,689 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-04-21 16:54:46,689 - INFO - --------------------------------------------------------------------------------
2026-04-21 16:54:47,382 - INFO - Deleted project: ctest-TestPorts-08797562, ID : 3686135c-46bb-4323-8ec2-a0d9f15393cb