2026-02-09 21:49:27,283 - INFO - Domain Default found not creating
2026-02-09 21:49:27,420 - INFO - Project ctest-TestPorts-42923663 not found, creating it
2026-02-09 21:49:27,869 - INFO - Created Project:ctest-TestPorts-42923663, ID : 081f552b-bd05-4059-9e25-5e16f422f5c1
2026-02-09 21:49:29,263 - INFO - ================================================================================
2026-02-09 21:49:29,263 - INFO - STARTING TEST : test_ports_bindings
2026-02-09 21:49:29,263 - 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-02-09 21:49:29,516 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-09 21:49:29,516 - INFO - Initial checks done. Running the testcase now
2026-02-09 21:49:29,516 - INFO -
2026-02-09 21:49:30,067 - DEBUG - Response for create_network : {'network': {'id': '6cb4fd1b-d1df-40c0-879e-ccfa8354053a', 'name': 'ctest-vn-05399355', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'project_id': '081f552bbd0540599e255e16f422f5c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42923663', 'ctest-vn-05399355'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 21:49:30,212 - DEBUG - Response for create_subnet : {'subnet': {'id': '7600dc0d-e08e-4b67-966c-4ca80ba38943', 'name': '', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'network_id': '6cb4fd1b-d1df-40c0-879e-ccfa8354053a', 'ip_version': 4, 'cidr': '40.206.68.0/26', 'allocation_pools': [{'start': '40.206.68.2', 'end': '40.206.68.62'}], 'gateway_ip': '40.206.68.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.206.68.2', 'tags': [], 'project_id': '081f552bbd0540599e255e16f422f5c1'}}
2026-02-09 21:49:30,227 - INFO - Created VN ctest-vn-05399355
2026-02-09 21:49:30,275 - DEBUG - VN ctest-vn-05399355 UUID is 6cb4fd1b-d1df-40c0-879e-ccfa8354053a
2026-02-09 21:49:30,400 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42923663', 'ctest-vmi-79562549']}
2026-02-09 21:49:30,617 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-79562549', 'id': 'a4d8470d-f58b-48df-91d6-0e0fdf335f7b', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'network_id': '6cb4fd1b-d1df-40c0-879e-ccfa8354053a', 'mac_address': '02:a4:d8:47:0d:f5', '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': '40.206.68.3', 'subnet_id': '7600dc0d-e08e-4b67-966c-4ca80ba38943'}], 'security_groups': ['3c410bda-56af-4433-bd28-c37ea6e5d95b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '081f552bbd0540599e255e16f422f5c1'}}
2026-02-09 21:49:30,617 - DEBUG - Created port a4d8470d-f58b-48df-91d6-0e0fdf335f7b
2026-02-09 21:49:30,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a4d8470d-f58b-48df-91d6-0e0fdf335f7b
2026-02-09 21:49:31,009 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a4d8470d-f58b-48df-91d6-0e0fdf335f7b
2026-02-09 21:49:31,039 - INFO - VMI a4d8470d-f58b-48df-91d6-0e0fdf335f7b verification in API Server passed
2026-02-09 21:49:31,120 - DEBUG - Response for delete_port : ()
2026-02-09 21:49:31,121 - INFO - Deleted port a4d8470d-f58b-48df-91d6-0e0fdf335f7b
2026-02-09 21:49:31,121 - INFO - Deleting VN ctest-vn-05399355
2026-02-09 21:49:31,207 - DEBUG - Response for deleting network ()
2026-02-09 21:49:31,464 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 21:49:31,464 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-09 21:49:31,464 - INFO - --------------------------------------------------------------------------------
2026-02-09 21:49:31,466 - INFO - ================================================================================
2026-02-09 21:49:31,466 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-09 21:49:31,466 - 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-02-09 21:49:31,755 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-09 21:49:31,755 - INFO - Initial checks done. Running the testcase now
2026-02-09 21:49:31,755 - INFO -
2026-02-09 21:49:31,909 - DEBUG - Response for create_network : {'network': {'id': 'b091a5cf-ee3b-4ae4-bccd-c67d28474d84', 'name': 'ctest-vn1-56009672', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'project_id': '081f552bbd0540599e255e16f422f5c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42923663', 'ctest-vn1-56009672'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 21:49:32,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '072bd0aa-aca8-405a-ad94-e1e26e9e9231', 'name': '', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'network_id': 'b091a5cf-ee3b-4ae4-bccd-c67d28474d84', 'ip_version': 4, 'cidr': '11.79.85.0/26', 'allocation_pools': [{'start': '11.79.85.2', 'end': '11.79.85.62'}], 'gateway_ip': '11.79.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.79.85.2', 'tags': [], 'project_id': '081f552bbd0540599e255e16f422f5c1'}}
2026-02-09 21:49:32,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '08c10cf7-7beb-4fd4-942c-a5953b332fb4', 'name': '', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'network_id': 'b091a5cf-ee3b-4ae4-bccd-c67d28474d84', 'ip_version': 4, 'cidr': '2.253.70.0/26', 'allocation_pools': [{'start': '2.253.70.2', 'end': '2.253.70.62'}], 'gateway_ip': '2.253.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.253.70.2', 'tags': [], 'project_id': '081f552bbd0540599e255e16f422f5c1'}}
2026-02-09 21:49:32,311 - INFO - Created VN ctest-vn1-56009672
2026-02-09 21:49:32,359 - DEBUG - VN ctest-vn1-56009672 UUID is b091a5cf-ee3b-4ae4-bccd-c67d28474d84
2026-02-09 21:49:32,622 - DEBUG - Response for create_port : {'port': {'name': 'b92993ee-fa2b-4e66-a048-d36dddf827bc', 'id': 'b92993ee-fa2b-4e66-a048-d36dddf827bc', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'network_id': 'b091a5cf-ee3b-4ae4-bccd-c67d28474d84', 'mac_address': '02:b9:29:93:ee:fa', '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': '11.79.85.5', 'subnet_id': '072bd0aa-aca8-405a-ad94-e1e26e9e9231'}], 'security_groups': ['3c410bda-56af-4433-bd28-c37ea6e5d95b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '081f552bbd0540599e255e16f422f5c1'}}
2026-02-09 21:49:32,777 - DEBUG - Response for create_port : {'port': {'name': '5c1e3b0d-8622-4837-9abd-c9f3c18f404b', 'id': '5c1e3b0d-8622-4837-9abd-c9f3c18f404b', 'tenant_id': '081f552bbd0540599e255e16f422f5c1', 'network_id': 'b091a5cf-ee3b-4ae4-bccd-c67d28474d84', 'mac_address': '02:5c:1e:3b:0d:86', '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': '2.253.70.5', 'subnet_id': '08c10cf7-7beb-4fd4-942c-a5953b332fb4'}], 'security_groups': ['3c410bda-56af-4433-bd28-c37ea6e5d95b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '081f552bbd0540599e255e16f422f5c1'}}
2026-02-09 21:49:32,829 - DEBUG - Services list from nova: [, , ]
2026-02-09 21:49:33,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5250-1)
2026-02-09 21:49:33,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5250-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5250-1)
2026-02-09 21:49:33,468 - INFO - Waiting for VM ctest-vn1-vm1-56777504 to be up..
2026-02-09 21:49:33,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-09 21:49:38,575 - DEBUG - VM is in ACTIVE state now
2026-02-09 21:49:38,576 - INFO - VM name : ctest-vn1-vm1-56777504
2026-02-09 21:49:38,643 - DEBUG - VM ctest-vn1-vm1-56777504 ID is 53bb0abe-cca5-41c2-b598-dba3dff66df3
2026-02-09 21:49:38,662 - DEBUG - VM ctest-vn1-vm1-56777504 launched on Node cn-jenkins-deploy-platform-ansible-os-5250-1
2026-02-09 21:49:38,751 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53bb0abe-cca5-41c2-b598-dba3dff66df3
2026-02-09 21:49:38,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b92993ee-fa2b-4e66-a048-d36dddf827bc
2026-02-09 21:49:41,995 - 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 1010ms')
2026-02-09 21:49:41,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56777504 failed!
2026-02-09 21:49:42,051 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42923663:ctest-vn1-56009672 is 11.79.85.1 and allocation pool is NOT set
2026-02-09 21:49:42,051 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42923663:ctest-vn1-56009672 is 2.253.70.1 and allocation pool is NOT set
2026-02-09 21:49:44,112 - 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=4.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.630/2.964/4.298/1.334 ms')
2026-02-09 21:49:44,112 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56777504 passed
2026-02-09 21:49:44,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 21:49:44,260 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56777504, IP 11.79.85.5, Port 22
2026-02-09 21:49:44,325 - 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-02-09 21:49:44,403 - DEBUG - VM ctest-vn1-vm1-56777504 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-09 21:49:49,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 21:49:49,403 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56777504, IP 11.79.85.5, Port 22
2026-02-09 21:49:49,571 - DEBUG - VM ctest-vn1-vm1-56777504 is ready for SSH connections
2026-02-09 21:49:49,571 - INFO - Waiting for VM ctest-vn1-vm2-49923941 to be up..
2026-02-09 21:49:49,634 - DEBUG - VM is in ACTIVE state now
2026-02-09 21:49:49,634 - INFO - VM name : ctest-vn1-vm2-49923941
2026-02-09 21:49:49,700 - DEBUG - VM ctest-vn1-vm2-49923941 ID is 76f2bb3a-fba0-42f2-9439-317dfaeb8ead
2026-02-09 21:49:49,701 - DEBUG - VM ctest-vn1-vm2-49923941 launched on Node cn-jenkins-deploy-platform-ansible-os-5250-1
2026-02-09 21:49:49,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/76f2bb3a-fba0-42f2-9439-317dfaeb8ead
2026-02-09 21:49:49,772 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5c1e3b0d-8622-4837-9abd-c9f3c18f404b
2026-02-09 21:49:51,002 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.655/2.902/1.246 ms')
2026-02-09 21:49:51,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49923941 passed
2026-02-09 21:49:51,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 21:49:51,151 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49923941, IP 2.253.70.5, Port 22
2026-02-09 21:49:51,302 - DEBUG - VM ctest-vn1-vm2-49923941 is ready for SSH connections
2026-02-09 21:49:51,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 21:49:51,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 21:49:51,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 21:49:51,302 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.79.85.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-02-09 21:49:51,302 - DEBUG - ping -s 56 -c 3 -W 1 11.79.85.5
2026-02-09 21:49:53,963 - DEBUG - PING 11.79.85.5 (11.79.85.5): 56 data bytes
64 bytes from 11.79.85.5: seq=0 ttl=63 time=4.238 ms
64 bytes from 11.79.85.5: seq=1 ttl=63 time=0.765 ms
64 bytes from 11.79.85.5: seq=2 ttl=63 time=0.916 ms
--- 11.79.85.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.765/1.973/4.238 ms
2026-02-09 21:49:53,963 - INFO - Ping to IP 11.79.85.5 from VM ctest-vn1-vm2-49923941 passed
2026-02-09 21:49:53,963 - INFO - Detaching port 5c1e3b0d-8622-4837-9abd-c9f3c18f404b from VM ctest-vn1-vm2-49923941
2026-02-09 21:49:54,006 - INFO - Deleting VM ctest-vn1-vm2-49923941
2026-02-09 21:49:54,080 - INFO - Detaching port b92993ee-fa2b-4e66-a048-d36dddf827bc from VM ctest-vn1-vm1-56777504
2026-02-09 21:49:54,118 - INFO - Deleting VM ctest-vn1-vm1-56777504
2026-02-09 21:49:54,348 - DEBUG - Response for delete_port : ()
2026-02-09 21:49:54,499 - DEBUG - Response for delete_port : ()
2026-02-09 21:49:54,499 - INFO - Deleting VN ctest-vn1-56009672
2026-02-09 21:49:54,628 - DEBUG - Response for deleting network ()
2026-02-09 21:49:54,884 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 21:49:54,884 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-02-09 21:49:54,885 - INFO - --------------------------------------------------------------------------------
2026-02-09 21:49:55,559 - INFO - Deleted project: ctest-TestPorts-42923663, ID : 081f552b-bd05-4059-9e25-5e16f422f5c1