2026-04-23 10:04:41,925 - INFO - Domain Default found not creating
2026-04-23 10:04:42,221 - INFO - Project ctest-TestPorts-96129774 not found, creating it
2026-04-23 10:04:42,698 - INFO - Created Project:ctest-TestPorts-96129774, ID : 05e0bc32-4ccc-436f-bc21-f6dc97e5c027
2026-04-23 10:04:44,355 - INFO - ================================================================================
2026-04-23 10:04:44,355 - INFO - STARTING TEST : test_ports_bindings
2026-04-23 10:04:44,355 - 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-23 10:04:44,614 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-23 10:04:44,614 - INFO - Initial checks done. Running the testcase now
2026-04-23 10:04:44,614 - INFO -
2026-04-23 10:04:45,238 - DEBUG - Response for create_network : {'network': {'id': 'dd82a65d-7f17-4a89-8bc4-7ce9af464a21', 'name': 'ctest-vn-07260414', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96129774', 'ctest-vn-07260414'], 'port_security_enabled': True, 'description': ''}}
2026-04-23 10:04:45,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '41159f4a-8e19-4582-980d-96bcf0c6f1a4', 'name': '', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'network_id': 'dd82a65d-7f17-4a89-8bc4-7ce9af464a21', 'ip_version': 4, 'cidr': '146.236.229.128/26', 'allocation_pools': [{'start': '146.236.229.130', 'end': '146.236.229.190'}], 'gateway_ip': '146.236.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.236.229.130', 'tags': [], 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027'}}
2026-04-23 10:04:45,440 - INFO - Created VN ctest-vn-07260414
2026-04-23 10:04:45,497 - DEBUG - VN ctest-vn-07260414 UUID is dd82a65d-7f17-4a89-8bc4-7ce9af464a21
2026-04-23 10:04:45,610 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-96129774', 'ctest-vmi-14926302']}
2026-04-23 10:04:45,846 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14926302', 'id': 'abef9abd-01e6-4fea-bc21-9e6e7680b6f6', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'network_id': 'dd82a65d-7f17-4a89-8bc4-7ce9af464a21', 'mac_address': '02:ab:ef:9a:bd:01', '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.236.229.131', 'subnet_id': '41159f4a-8e19-4582-980d-96bcf0c6f1a4'}], 'security_groups': ['2ba63989-216d-43fc-a943-3476219bca6b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027'}}
2026-04-23 10:04:45,846 - DEBUG - Created port abef9abd-01e6-4fea-bc21-9e6e7680b6f6
2026-04-23 10:04:45,953 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/abef9abd-01e6-4fea-bc21-9e6e7680b6f6
2026-04-23 10:04:46,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/abef9abd-01e6-4fea-bc21-9e6e7680b6f6
2026-04-23 10:04:46,328 - INFO - VMI abef9abd-01e6-4fea-bc21-9e6e7680b6f6 verification in API Server passed
2026-04-23 10:04:46,415 - DEBUG - Response for delete_port : ()
2026-04-23 10:04:46,415 - INFO - Deleted port abef9abd-01e6-4fea-bc21-9e6e7680b6f6
2026-04-23 10:04:46,415 - INFO - Deleting VN ctest-vn-07260414
2026-04-23 10:04:46,519 - DEBUG - Response for deleting network ()
2026-04-23 10:04:46,774 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 10:04:46,775 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-23 10:04:46,775 - INFO - --------------------------------------------------------------------------------
2026-04-23 10:04:46,777 - INFO - ================================================================================
2026-04-23 10:04:46,777 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-23 10:04:46,777 - 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-23 10:04:47,062 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-23 10:04:47,062 - INFO - Initial checks done. Running the testcase now
2026-04-23 10:04:47,062 - INFO -
2026-04-23 10:04:47,253 - DEBUG - Response for create_network : {'network': {'id': '9147e738-cf3c-4dca-af1e-0bf7ae14cbb4', 'name': 'ctest-vn1-65583878', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-96129774', 'ctest-vn1-65583878'], 'port_security_enabled': True, 'description': ''}}
2026-04-23 10:04:47,459 - DEBUG - Response for create_subnet : {'subnet': {'id': '94795fff-7bf7-4eee-8237-086f04dcf920', 'name': '', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'network_id': '9147e738-cf3c-4dca-af1e-0bf7ae14cbb4', 'ip_version': 4, 'cidr': '22.45.66.192/26', 'allocation_pools': [{'start': '22.45.66.194', 'end': '22.45.66.254'}], 'gateway_ip': '22.45.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.45.66.194', 'tags': [], 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027'}}
2026-04-23 10:04:47,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3b7ba72-9c77-499e-8e9b-d4adce997bd0', 'name': '', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'network_id': '9147e738-cf3c-4dca-af1e-0bf7ae14cbb4', 'ip_version': 4, 'cidr': '73.224.62.128/26', 'allocation_pools': [{'start': '73.224.62.130', 'end': '73.224.62.190'}], 'gateway_ip': '73.224.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.224.62.130', 'tags': [], 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027'}}
2026-04-23 10:04:47,672 - INFO - Created VN ctest-vn1-65583878
2026-04-23 10:04:47,725 - DEBUG - VN ctest-vn1-65583878 UUID is 9147e738-cf3c-4dca-af1e-0bf7ae14cbb4
2026-04-23 10:04:48,064 - DEBUG - Response for create_port : {'port': {'name': '04d738be-8b1a-45da-8fa7-f2751001543d', 'id': '04d738be-8b1a-45da-8fa7-f2751001543d', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'network_id': '9147e738-cf3c-4dca-af1e-0bf7ae14cbb4', 'mac_address': '02:04:d7:38:be:8b', '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': '22.45.66.197', 'subnet_id': '94795fff-7bf7-4eee-8237-086f04dcf920'}], 'security_groups': ['2ba63989-216d-43fc-a943-3476219bca6b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027'}}
2026-04-23 10:04:48,255 - DEBUG - Response for create_port : {'port': {'name': '654ba5a6-5fbe-4516-a917-c735fe10b359', 'id': '654ba5a6-5fbe-4516-a917-c735fe10b359', 'tenant_id': '05e0bc324ccc436fbc21f6dc97e5c027', 'network_id': '9147e738-cf3c-4dca-af1e-0bf7ae14cbb4', 'mac_address': '02:65:4b:a5:a6: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': '73.224.62.133', 'subnet_id': 'a3b7ba72-9c77-499e-8e9b-d4adce997bd0'}], 'security_groups': ['2ba63989-216d-43fc-a943-3476219bca6b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '05e0bc324ccc436fbc21f6dc97e5c027'}}
2026-04-23 10:04:48,321 - DEBUG - Services list from nova: [, , ]
2026-04-23 10:04:48,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5677-1)
2026-04-23 10:04:49,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5677-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5677-1)
2026-04-23 10:04:49,171 - INFO - Waiting for VM ctest-vn1-vm1-45276947 to be up..
2026-04-23 10:04:49,221 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-23 10:04:54,309 - DEBUG - VM is in ACTIVE state now
2026-04-23 10:04:54,310 - INFO - VM name : ctest-vn1-vm1-45276947
2026-04-23 10:04:54,392 - DEBUG - VM ctest-vn1-vm1-45276947 ID is 9d71459e-d36b-4fc6-a84e-53361649d752
2026-04-23 10:04:54,412 - DEBUG - VM ctest-vn1-vm1-45276947 launched on Node cn-jenkins-deploy-platform-ansible-os-5677-1
2026-04-23 10:04:54,489 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9d71459e-d36b-4fc6-a84e-53361649d752
2026-04-23 10:04:54,498 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/04d738be-8b1a-45da-8fa7-f2751001543d
2026-04-23 10:04:57,755 - 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 1014ms')
2026-04-23 10:04:57,755 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45276947 failed!
2026-04-23 10:04:57,813 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96129774:ctest-vn1-65583878 is 22.45.66.193 and allocation pool is NOT set
2026-04-23 10:04:57,813 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-96129774:ctest-vn1-65583878 is 73.224.62.129 and allocation pool is NOT set
2026-04-23 10:05:01,908 - 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.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 12.260/12.260/12.260/0.000 ms')
2026-04-23 10:05:01,908 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45276947 passed
2026-04-23 10:05:02,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 10:05:02,065 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45276947, IP 22.45.66.197, Port 22
2026-04-23 10:05:02,132 - 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-23 10:05:02,237 - DEBUG - VM ctest-vn1-vm1-45276947 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-23 10:05:07,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 10:05:07,238 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45276947, IP 22.45.66.197, Port 22
2026-04-23 10:05:07,400 - DEBUG - VM ctest-vn1-vm1-45276947 is ready for SSH connections
2026-04-23 10:05:07,400 - INFO - Waiting for VM ctest-vn1-vm2-83798933 to be up..
2026-04-23 10:05:07,487 - DEBUG - VM is in ACTIVE state now
2026-04-23 10:05:07,487 - INFO - VM name : ctest-vn1-vm2-83798933
2026-04-23 10:05:07,572 - DEBUG - VM ctest-vn1-vm2-83798933 ID is e1e75439-f0a9-4f3f-becb-d8378b8af2fd
2026-04-23 10:05:07,572 - DEBUG - VM ctest-vn1-vm2-83798933 launched on Node cn-jenkins-deploy-platform-ansible-os-5677-1
2026-04-23 10:05:07,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1e75439-f0a9-4f3f-becb-d8378b8af2fd
2026-04-23 10:05:07,663 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/654ba5a6-5fbe-4516-a917-c735fe10b359
2026-04-23 10:05:08,903 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.969/3.501/1.531 ms')
2026-04-23 10:05:08,903 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-83798933 passed
2026-04-23 10:05:09,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 10:05:09,061 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-83798933, IP 73.224.62.133, Port 22
2026-04-23 10:05:09,226 - DEBUG - VM ctest-vn1-vm2-83798933 is ready for SSH connections
2026-04-23 10:05:09,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 10:05:09,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 10:05:09,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-23 10:05:09,227 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.45.66.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-23 10:05:09,227 - DEBUG - ping -s 56 -c 3 -W 1 22.45.66.197
2026-04-23 10:05:11,970 - DEBUG - PING 22.45.66.197 (22.45.66.197): 56 data bytes
64 bytes from 22.45.66.197: seq=0 ttl=63 time=4.128 ms
64 bytes from 22.45.66.197: seq=1 ttl=63 time=1.325 ms
64 bytes from 22.45.66.197: seq=2 ttl=63 time=1.361 ms
--- 22.45.66.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.325/2.271/4.128 ms
2026-04-23 10:05:11,970 - INFO - Ping to IP 22.45.66.197 from VM ctest-vn1-vm2-83798933 passed
2026-04-23 10:05:11,970 - INFO - Detaching port 654ba5a6-5fbe-4516-a917-c735fe10b359 from VM ctest-vn1-vm2-83798933
2026-04-23 10:05:12,027 - INFO - Deleting VM ctest-vn1-vm2-83798933
2026-04-23 10:05:12,104 - INFO - Detaching port 04d738be-8b1a-45da-8fa7-f2751001543d from VM ctest-vn1-vm1-45276947
2026-04-23 10:05:12,145 - INFO - Deleting VM ctest-vn1-vm1-45276947
2026-04-23 10:05:12,482 - DEBUG - Response for delete_port : ()
2026-04-23 10:05:12,747 - DEBUG - Response for delete_port : ()
2026-04-23 10:05:12,748 - INFO - Deleting VN ctest-vn1-65583878
2026-04-23 10:05:12,938 - DEBUG - Response for deleting network ()
2026-04-23 10:05:13,203 - DEBUG - No XMPP flaps were noticed during the test
2026-04-23 10:05:13,203 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-04-23 10:05:13,203 - INFO - --------------------------------------------------------------------------------
2026-04-23 10:05:13,976 - INFO - Deleted project: ctest-TestPorts-96129774, ID : 05e0bc32-4ccc-436f-bc21-f6dc97e5c027