2026-01-15 02:27:22,881 - INFO - Domain Default found not creating
2026-01-15 02:27:23,083 - INFO - Project ctest-TestPorts-42472708 not found, creating it
2026-01-15 02:27:23,617 - INFO - Created Project:ctest-TestPorts-42472708, ID : 43e8eabf-5df8-4427-bc77-1190509b7f14
2026-01-15 02:27:25,402 - INFO - ================================================================================
2026-01-15 02:27:25,402 - INFO - STARTING TEST : test_ports_bindings
2026-01-15 02:27:25,403 - 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-01-15 02:27:26,707 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.249': '0', '10.20.0.201': '0'}, '10.0.0.133': {'10.20.0.201': '0', '10.20.0.19': '0'}} with
2026-01-15 02:27:26,708 - INFO - Initial checks done. Running the testcase now
2026-01-15 02:27:26,708 - INFO -
2026-01-15 02:27:27,460 - DEBUG - Response for create_network : {'network': {'id': 'ebdc0b1d-5fc5-4056-b928-36ab16622573', 'name': 'ctest-vn-94483437', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'project_id': '43e8eabf5df84427bc771190509b7f14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42472708', 'ctest-vn-94483437'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:27:27,783 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3da3419-75ec-4a07-ba5a-ebb3a6866627', 'name': '', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'network_id': 'ebdc0b1d-5fc5-4056-b928-36ab16622573', 'ip_version': 4, 'cidr': '146.226.117.0/26', 'allocation_pools': [{'start': '146.226.117.2', 'end': '146.226.117.62'}], 'gateway_ip': '146.226.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.226.117.2', 'tags': [], 'project_id': '43e8eabf5df84427bc771190509b7f14'}}
2026-01-15 02:27:27,809 - INFO - Created VN ctest-vn-94483437
2026-01-15 02:27:27,828 - DEBUG - VN ctest-vn-94483437 UUID is ebdc0b1d-5fc5-4056-b928-36ab16622573
2026-01-15 02:27:27,913 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42472708', 'ctest-vmi-24877290']}
2026-01-15 02:27:28,213 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24877290', 'id': '4da0797d-6e2e-4e12-afb8-2ceede5b8c89', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'network_id': 'ebdc0b1d-5fc5-4056-b928-36ab16622573', 'mac_address': '02:4d:a0:79:7d:6e', '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': '146.226.117.3', 'subnet_id': 'b3da3419-75ec-4a07-ba5a-ebb3a6866627'}], 'security_groups': ['ca95feca-7376-4320-8f4e-7a8749bca791'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43e8eabf5df84427bc771190509b7f14'}}
2026-01-15 02:27:28,213 - DEBUG - Created port 4da0797d-6e2e-4e12-afb8-2ceede5b8c89
2026-01-15 02:27:28,285 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4da0797d-6e2e-4e12-afb8-2ceede5b8c89
2026-01-15 02:27:28,625 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4da0797d-6e2e-4e12-afb8-2ceede5b8c89
2026-01-15 02:27:28,669 - INFO - VMI 4da0797d-6e2e-4e12-afb8-2ceede5b8c89 verification in API Server passed
2026-01-15 02:27:28,813 - DEBUG - Response for delete_port : ()
2026-01-15 02:27:28,813 - INFO - Deleted port 4da0797d-6e2e-4e12-afb8-2ceede5b8c89
2026-01-15 02:27:28,813 - INFO - Deleting VN ctest-vn-94483437
2026-01-15 02:27:28,983 - DEBUG - Response for deleting network ()
2026-01-15 02:27:30,270 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 02:27:30,270 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-01-15 02:27:30,270 - INFO - --------------------------------------------------------------------------------
2026-01-15 02:27:30,273 - INFO - ================================================================================
2026-01-15 02:27:30,273 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-15 02:27:30,273 - 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-01-15 02:27:31,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.249': '0', '10.20.0.201': '0'}, '10.0.0.133': {'10.20.0.201': '0', '10.20.0.19': '0'}} with
2026-01-15 02:27:31,551 - INFO - Initial checks done. Running the testcase now
2026-01-15 02:27:31,551 - INFO -
2026-01-15 02:27:31,913 - DEBUG - Response for create_network : {'network': {'id': '19998e68-0062-4bbb-9b7c-ec60634aee5b', 'name': 'ctest-vn1-00422270', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'project_id': '43e8eabf5df84427bc771190509b7f14', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42472708', 'ctest-vn1-00422270'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:27:32,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '32d1cb56-8ebc-4fce-b21f-8b946b828a78', 'name': '', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'network_id': '19998e68-0062-4bbb-9b7c-ec60634aee5b', 'ip_version': 4, 'cidr': '115.136.83.128/26', 'allocation_pools': [{'start': '115.136.83.130', 'end': '115.136.83.190'}], 'gateway_ip': '115.136.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.136.83.130', 'tags': [], 'project_id': '43e8eabf5df84427bc771190509b7f14'}}
2026-01-15 02:27:32,394 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d9398b8-965c-4adb-aa47-a13eefcab35e', 'name': '', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'network_id': '19998e68-0062-4bbb-9b7c-ec60634aee5b', 'ip_version': 4, 'cidr': '202.43.96.64/26', 'allocation_pools': [{'start': '202.43.96.66', 'end': '202.43.96.126'}], 'gateway_ip': '202.43.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.43.96.66', 'tags': [], 'project_id': '43e8eabf5df84427bc771190509b7f14'}}
2026-01-15 02:27:32,419 - INFO - Created VN ctest-vn1-00422270
2026-01-15 02:27:32,430 - DEBUG - VN ctest-vn1-00422270 UUID is 19998e68-0062-4bbb-9b7c-ec60634aee5b
2026-01-15 02:27:32,783 - DEBUG - Response for create_port : {'port': {'name': '63b1efd9-f01a-4013-96c4-9e51cb726eeb', 'id': '63b1efd9-f01a-4013-96c4-9e51cb726eeb', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'network_id': '19998e68-0062-4bbb-9b7c-ec60634aee5b', 'mac_address': '02:63:b1:ef:d9:f0', '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': '115.136.83.133', 'subnet_id': '32d1cb56-8ebc-4fce-b21f-8b946b828a78'}], 'security_groups': ['ca95feca-7376-4320-8f4e-7a8749bca791'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43e8eabf5df84427bc771190509b7f14'}}
2026-01-15 02:27:33,073 - DEBUG - Response for create_port : {'port': {'name': 'fa9a60cc-75b6-49f1-acbe-5b70070d0000', 'id': 'fa9a60cc-75b6-49f1-acbe-5b70070d0000', 'tenant_id': '43e8eabf5df84427bc771190509b7f14', 'network_id': '19998e68-0062-4bbb-9b7c-ec60634aee5b', 'mac_address': '02:fa:9a:60:cc:75', '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.43.96.69', 'subnet_id': '2d9398b8-965c-4adb-aa47-a13eefcab35e'}], 'security_groups': ['ca95feca-7376-4320-8f4e-7a8749bca791'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43e8eabf5df84427bc771190509b7f14'}}
2026-01-15 02:27:33,147 - DEBUG - Services list from nova: [, , , ]
2026-01-15 02:27:33,893 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5009-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5009-2)
2026-01-15 02:27:34,411 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5009-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5009-1)
2026-01-15 02:27:34,411 - INFO - Waiting for VM ctest-vn1-vm1-34127415 to be up..
2026-01-15 02:27:34,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-15 02:27:39,556 - DEBUG - VM is in ACTIVE state now
2026-01-15 02:27:39,556 - INFO - VM name : ctest-vn1-vm1-34127415
2026-01-15 02:27:39,644 - DEBUG - VM ctest-vn1-vm1-34127415 ID is a32aa183-bcd1-4cf9-b65c-bfd99e788dbc
2026-01-15 02:27:39,673 - DEBUG - VM ctest-vn1-vm1-34127415 launched on Node an-jenkins-deploy-platform-ansible-os-5009-2
2026-01-15 02:27:39,775 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/a32aa183-bcd1-4cf9-b65c-bfd99e788dbc
2026-01-15 02:27:40,132 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/a32aa183-bcd1-4cf9-b65c-bfd99e788dbc
2026-01-15 02:27:40,171 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/63b1efd9-f01a-4013-96c4-9e51cb726eeb
2026-01-15 02:27:43,331 - 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 1002ms')
2026-01-15 02:27:43,331 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34127415 failed!
2026-01-15 02:27:43,346 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42472708:ctest-vn1-00422270 is 115.136.83.129 and allocation pool is NOT set
2026-01-15 02:27:43,346 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42472708:ctest-vn1-00422270 is 202.43.96.65 and allocation pool is NOT set
2026-01-15 02:27:45,413 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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 = 0.505/5.412/10.319/4.907 ms')
2026-01-15 02:27:45,413 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34127415 passed
2026-01-15 02:27:45,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:27:45,481 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34127415, IP 115.136.83.133, Port 22
2026-01-15 02:27:45,637 - DEBUG - VM ctest-vn1-vm1-34127415 is ready for SSH connections
2026-01-15 02:27:45,637 - INFO - Waiting for VM ctest-vn1-vm2-31762157 to be up..
2026-01-15 02:27:45,723 - DEBUG - VM is in ACTIVE state now
2026-01-15 02:27:45,724 - INFO - VM name : ctest-vn1-vm2-31762157
2026-01-15 02:27:45,809 - DEBUG - VM ctest-vn1-vm2-31762157 ID is fff224a7-387d-4045-8f05-24451bb3780c
2026-01-15 02:27:45,809 - DEBUG - VM ctest-vn1-vm2-31762157 launched on Node an-jenkins-deploy-platform-ansible-os-5009-1
2026-01-15 02:27:45,894 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/fff224a7-387d-4045-8f05-24451bb3780c
2026-01-15 02:27:45,907 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/fa9a60cc-75b6-49f1-acbe-5b70070d0000
2026-01-15 02:27:47,066 - 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=8.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.528 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 = 0.528/4.722/8.916/4.194 ms')
2026-01-15 02:27:47,067 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-31762157 passed
2026-01-15 02:27:47,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:27:47,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31762157, IP 202.43.96.69, Port 22
2026-01-15 02:27:47,204 - 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-01-15 02:27:47,298 - DEBUG - VM ctest-vn1-vm2-31762157 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-15 02:27:52,299 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:27:52,299 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31762157, IP 202.43.96.69, Port 22
2026-01-15 02:27:52,469 - DEBUG - VM ctest-vn1-vm2-31762157 is ready for SSH connections
2026-01-15 02:27:52,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:27:52,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:27:52,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-15 02:27:52,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.136.83.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-01-15 02:27:52,470 - DEBUG - ping -s 56 -c 3 -W 1 115.136.83.133
2026-01-15 02:27:55,553 - DEBUG - PING 115.136.83.133 (115.136.83.133): 56 data bytes
64 bytes from 115.136.83.133: seq=0 ttl=63 time=5.447 ms
64 bytes from 115.136.83.133: seq=1 ttl=63 time=1.271 ms
64 bytes from 115.136.83.133: seq=2 ttl=63 time=1.377 ms
--- 115.136.83.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.271/2.698/5.447 ms
2026-01-15 02:27:55,553 - INFO - Ping to IP 115.136.83.133 from VM ctest-vn1-vm2-31762157 passed
2026-01-15 02:27:55,553 - INFO - Detaching port fa9a60cc-75b6-49f1-acbe-5b70070d0000 from VM ctest-vn1-vm2-31762157
2026-01-15 02:27:55,617 - INFO - Deleting VM ctest-vn1-vm2-31762157
2026-01-15 02:27:55,712 - INFO - Detaching port 63b1efd9-f01a-4013-96c4-9e51cb726eeb from VM ctest-vn1-vm1-34127415
2026-01-15 02:27:55,759 - INFO - Deleting VM ctest-vn1-vm1-34127415
2026-01-15 02:27:56,099 - DEBUG - Response for delete_port : ()
2026-01-15 02:27:56,341 - DEBUG - Response for delete_port : ()
2026-01-15 02:27:56,341 - INFO - Deleting VN ctest-vn1-00422270
2026-01-15 02:27:56,575 - DEBUG - Response for deleting network ()
2026-01-15 02:27:57,910 - DEBUG - No XMPP flaps were noticed during the test
2026-01-15 02:27:57,910 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-01-15 02:27:57,910 - INFO - --------------------------------------------------------------------------------
2026-01-15 02:27:58,717 - INFO - Deleted project: ctest-TestPorts-42472708, ID : 43e8eabf-5df8-4427-bc77-1190509b7f14