2026-02-07 11:34:48,522 - INFO - Domain Default found not creating
2026-02-07 11:34:48,890 - INFO - Project ctest-TestPorts-43932418 not found, creating it
2026-02-07 11:34:49,622 - INFO - Created Project:ctest-TestPorts-43932418, ID : 898b7fe4-449a-4436-aecd-e16aa51c74ef
2026-02-07 11:34:51,747 - INFO - ================================================================================
2026-02-07 11:34:51,747 - INFO - STARTING TEST : test_ports_bindings
2026-02-07 11:34:51,748 - 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-07 11:34:52,091 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-07 11:34:52,091 - INFO - Initial checks done. Running the testcase now
2026-02-07 11:34:52,092 - INFO -
2026-02-07 11:34:52,995 - DEBUG - Response for create_network : {'network': {'id': 'cd91bd6e-f3de-494d-af6f-47b04606b921', 'name': 'ctest-vn-48401609', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'project_id': '898b7fe4449a4436aecde16aa51c74ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43932418', 'ctest-vn-48401609'], 'port_security_enabled': True, 'description': ''}}
2026-02-07 11:34:53,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '90a80929-193f-4ffe-9ace-81f2c68bb18c', 'name': '', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'network_id': 'cd91bd6e-f3de-494d-af6f-47b04606b921', 'ip_version': 4, 'cidr': '97.96.146.128/26', 'allocation_pools': [{'start': '97.96.146.130', 'end': '97.96.146.190'}], 'gateway_ip': '97.96.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.96.146.130', 'tags': [], 'project_id': '898b7fe4449a4436aecde16aa51c74ef'}}
2026-02-07 11:34:53,193 - INFO - Created VN ctest-vn-48401609
2026-02-07 11:34:53,250 - DEBUG - VN ctest-vn-48401609 UUID is cd91bd6e-f3de-494d-af6f-47b04606b921
2026-02-07 11:34:53,422 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43932418', 'ctest-vmi-42368348']}
2026-02-07 11:34:53,854 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-42368348', 'id': '53e5057e-10c4-465b-bc7d-cb5a46b5f512', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'network_id': 'cd91bd6e-f3de-494d-af6f-47b04606b921', 'mac_address': '02:53:e5:05:7e:10', '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': '97.96.146.131', 'subnet_id': '90a80929-193f-4ffe-9ace-81f2c68bb18c'}], 'security_groups': ['0983a3b1-0ad4-451f-8848-6ce4cc48dae5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '898b7fe4449a4436aecde16aa51c74ef'}}
2026-02-07 11:34:53,855 - DEBUG - Created port 53e5057e-10c4-465b-bc7d-cb5a46b5f512
2026-02-07 11:34:53,978 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/53e5057e-10c4-465b-bc7d-cb5a46b5f512
2026-02-07 11:34:54,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/53e5057e-10c4-465b-bc7d-cb5a46b5f512
2026-02-07 11:34:54,446 - INFO - VMI 53e5057e-10c4-465b-bc7d-cb5a46b5f512 verification in API Server passed
2026-02-07 11:34:54,661 - DEBUG - Response for delete_port : ()
2026-02-07 11:34:54,661 - INFO - Deleted port 53e5057e-10c4-465b-bc7d-cb5a46b5f512
2026-02-07 11:34:54,661 - INFO - Deleting VN ctest-vn-48401609
2026-02-07 11:34:54,832 - DEBUG - Response for deleting network ()
2026-02-07 11:34:55,150 - DEBUG - No XMPP flaps were noticed during the test
2026-02-07 11:34:55,151 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2026-02-07 11:34:55,151 - INFO - --------------------------------------------------------------------------------
2026-02-07 11:34:55,158 - INFO - ================================================================================
2026-02-07 11:34:55,158 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-07 11:34:55,158 - 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-07 11:34:55,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-07 11:34:55,478 - INFO - Initial checks done. Running the testcase now
2026-02-07 11:34:55,478 - INFO -
2026-02-07 11:34:55,773 - DEBUG - Response for create_network : {'network': {'id': 'd5b83b41-d938-4467-b7fc-f91d310a11b0', 'name': 'ctest-vn1-83939721', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'project_id': '898b7fe4449a4436aecde16aa51c74ef', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43932418', 'ctest-vn1-83939721'], 'port_security_enabled': True, 'description': ''}}
2026-02-07 11:34:56,077 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd0073cd-ccfe-4f40-9179-4ac69b95072c', 'name': '', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'network_id': 'd5b83b41-d938-4467-b7fc-f91d310a11b0', 'ip_version': 4, 'cidr': '210.129.131.128/26', 'allocation_pools': [{'start': '210.129.131.130', 'end': '210.129.131.190'}], 'gateway_ip': '210.129.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.129.131.130', 'tags': [], 'project_id': '898b7fe4449a4436aecde16aa51c74ef'}}
2026-02-07 11:34:56,311 - DEBUG - Response for create_subnet : {'subnet': {'id': '679b4932-fc23-435f-9e9e-cb38644417d4', 'name': '', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'network_id': 'd5b83b41-d938-4467-b7fc-f91d310a11b0', 'ip_version': 4, 'cidr': '128.70.6.128/26', 'allocation_pools': [{'start': '128.70.6.130', 'end': '128.70.6.190'}], 'gateway_ip': '128.70.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.70.6.130', 'tags': [], 'project_id': '898b7fe4449a4436aecde16aa51c74ef'}}
2026-02-07 11:34:56,357 - INFO - Created VN ctest-vn1-83939721
2026-02-07 11:34:56,426 - DEBUG - VN ctest-vn1-83939721 UUID is d5b83b41-d938-4467-b7fc-f91d310a11b0
2026-02-07 11:34:56,899 - DEBUG - Response for create_port : {'port': {'name': '70b9cb52-d99a-435d-861f-70459e78764a', 'id': '70b9cb52-d99a-435d-861f-70459e78764a', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'network_id': 'd5b83b41-d938-4467-b7fc-f91d310a11b0', 'mac_address': '02:70:b9:cb:52:d9', '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': '210.129.131.133', 'subnet_id': 'fd0073cd-ccfe-4f40-9179-4ac69b95072c'}], 'security_groups': ['0983a3b1-0ad4-451f-8848-6ce4cc48dae5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '898b7fe4449a4436aecde16aa51c74ef'}}
2026-02-07 11:34:57,142 - DEBUG - Response for create_port : {'port': {'name': '6c241490-26c6-42ad-b1bd-61452545495a', 'id': '6c241490-26c6-42ad-b1bd-61452545495a', 'tenant_id': '898b7fe4449a4436aecde16aa51c74ef', 'network_id': 'd5b83b41-d938-4467-b7fc-f91d310a11b0', 'mac_address': '02:6c:24:14:90:26', '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': '128.70.6.133', 'subnet_id': '679b4932-fc23-435f-9e9e-cb38644417d4'}], 'security_groups': ['0983a3b1-0ad4-451f-8848-6ce4cc48dae5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '898b7fe4449a4436aecde16aa51c74ef'}}
2026-02-07 11:34:57,231 - DEBUG - Services list from nova: [, , ]
2026-02-07 11:34:58,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5230-1)
2026-02-07 11:34:58,912 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5230-1)
2026-02-07 11:34:58,913 - INFO - Waiting for VM ctest-vn1-vm1-82446684 to be up..
2026-02-07 11:34:58,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-07 11:35:04,117 - DEBUG - VM is in ACTIVE state now
2026-02-07 11:35:04,118 - INFO - VM name : ctest-vn1-vm1-82446684
2026-02-07 11:35:04,215 - DEBUG - VM ctest-vn1-vm1-82446684 ID is c606e5bb-4e1b-4491-b1aa-8867d585d591
2026-02-07 11:35:04,235 - DEBUG - VM ctest-vn1-vm1-82446684 launched on Node cn-jenkins-deploy-platform-ansible-os-5230-1
2026-02-07 11:35:04,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c606e5bb-4e1b-4491-b1aa-8867d585d591
2026-02-07 11:35:04,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/70b9cb52-d99a-435d-861f-70459e78764a
2026-02-07 11:35:07,600 - 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 1019ms')
2026-02-07 11:35:07,601 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82446684 failed!
2026-02-07 11:35:07,681 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43932418:ctest-vn1-83939721 is 210.129.131.129 and allocation pool is NOT set
2026-02-07 11:35:07,681 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43932418:ctest-vn1-83939721 is 128.70.6.129 and allocation pool is NOT set
2026-02-07 11:35:11,768 - 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=14.5 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 14.470/14.470/14.470/0.000 ms')
2026-02-07 11:35:11,768 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82446684 passed
2026-02-07 11:35:11,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-07 11:35:11,942 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82446684, IP 210.129.131.133, Port 22
2026-02-07 11:35:12,013 - 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-07 11:35:12,174 - DEBUG - VM ctest-vn1-vm1-82446684 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-07 11:35:17,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-07 11:35:17,175 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82446684, IP 210.129.131.133, Port 22
2026-02-07 11:35:17,357 - DEBUG - VM ctest-vn1-vm1-82446684 is ready for SSH connections
2026-02-07 11:35:17,358 - INFO - Waiting for VM ctest-vn1-vm2-53070886 to be up..
2026-02-07 11:35:17,546 - DEBUG - VM is in ACTIVE state now
2026-02-07 11:35:17,546 - INFO - VM name : ctest-vn1-vm2-53070886
2026-02-07 11:35:17,743 - DEBUG - VM ctest-vn1-vm2-53070886 ID is dbe30e2f-81d1-4712-9d7b-269e198cb375
2026-02-07 11:35:17,743 - DEBUG - VM ctest-vn1-vm2-53070886 launched on Node cn-jenkins-deploy-platform-ansible-os-5230-1
2026-02-07 11:35:17,933 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dbe30e2f-81d1-4712-9d7b-269e198cb375
2026-02-07 11:35:17,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6c241490-26c6-42ad-b1bd-61452545495a
2026-02-07 11:35:19,278 - 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=8.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.867 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.867/4.828/8.790/3.961 ms')
2026-02-07 11:35:19,278 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-53070886 passed
2026-02-07 11:35:19,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-07 11:35:19,449 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53070886, IP 128.70.6.133, Port 22
2026-02-07 11:35:19,630 - DEBUG - VM ctest-vn1-vm2-53070886 is ready for SSH connections
2026-02-07 11:35:19,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-07 11:35:19,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-07 11:35:19,631 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-07 11:35:19,631 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.129.131.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-07 11:35:19,632 - DEBUG - ping -s 56 -c 3 -W 1 210.129.131.133
2026-02-07 11:35:22,771 - DEBUG - PING 210.129.131.133 (210.129.131.133): 56 data bytes
64 bytes from 210.129.131.133: seq=0 ttl=63 time=4.345 ms
64 bytes from 210.129.131.133: seq=1 ttl=63 time=2.761 ms
64 bytes from 210.129.131.133: seq=2 ttl=63 time=1.555 ms
--- 210.129.131.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.555/2.887/4.345 ms
2026-02-07 11:35:22,772 - INFO - Ping to IP 210.129.131.133 from VM ctest-vn1-vm2-53070886 passed
2026-02-07 11:35:22,772 - INFO - Detaching port 6c241490-26c6-42ad-b1bd-61452545495a from VM ctest-vn1-vm2-53070886
2026-02-07 11:35:22,911 - INFO - Deleting VM ctest-vn1-vm2-53070886
2026-02-07 11:35:23,045 - INFO - Detaching port 70b9cb52-d99a-435d-861f-70459e78764a from VM ctest-vn1-vm1-82446684
2026-02-07 11:35:23,099 - INFO - Deleting VM ctest-vn1-vm1-82446684
2026-02-07 11:35:23,643 - DEBUG - Response for delete_port : ()
2026-02-07 11:35:24,046 - DEBUG - Response for delete_port : ()
2026-02-07 11:35:24,046 - INFO - Deleting VN ctest-vn1-83939721
2026-02-07 11:35:24,224 - DEBUG - Response for deleting network ()
2026-02-07 11:35:24,494 - DEBUG - No XMPP flaps were noticed during the test
2026-02-07 11:35:24,494 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29]
2026-02-07 11:35:24,495 - INFO - --------------------------------------------------------------------------------
2026-02-07 11:35:25,262 - INFO - Deleted project: ctest-TestPorts-43932418, ID : 898b7fe4-449a-4436-aecd-e16aa51c74ef