2026-04-28 19:01:10,067 - INFO - Domain Default found not creating 2026-04-28 19:01:10,236 - INFO - Project ctest-TestPorts-39048378 not found, creating it 2026-04-28 19:01:10,702 - INFO - Created Project:ctest-TestPorts-39048378, ID : be0e827f-c0f0-4efe-9280-4d56ed0db8a0 2026-04-28 19:01:12,188 - INFO - ================================================================================ 2026-04-28 19:01:12,189 - INFO - STARTING TEST : test_ports_bindings 2026-04-28 19:01:12,189 - 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-28 19:01:12,445 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-04-28 19:01:12,445 - INFO - Initial checks done. Running the testcase now 2026-04-28 19:01:12,445 - INFO - 2026-04-28 19:01:12,992 - DEBUG - Response for create_network : {'network': {'id': '63e4993b-ace5-40bd-a51e-4b9a9a5e565d', 'name': 'ctest-vn-71281806', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39048378', 'ctest-vn-71281806'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 19:01:13,147 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1d2557c-d198-4c63-8843-019e032de3b3', 'name': '', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'network_id': '63e4993b-ace5-40bd-a51e-4b9a9a5e565d', 'ip_version': 4, 'cidr': '128.98.5.0/26', 'allocation_pools': [{'start': '128.98.5.2', 'end': '128.98.5.62'}], 'gateway_ip': '128.98.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.98.5.2', 'tags': [], 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0'}} 2026-04-28 19:01:13,168 - INFO - Created VN ctest-vn-71281806 2026-04-28 19:01:13,219 - DEBUG - VN ctest-vn-71281806 UUID is 63e4993b-ace5-40bd-a51e-4b9a9a5e565d 2026-04-28 19:01:13,334 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39048378', 'ctest-vmi-55825767']} 2026-04-28 19:01:13,593 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55825767', 'id': '988ffd6b-419b-4c91-a8b5-b2e8a7ba38ba', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'network_id': '63e4993b-ace5-40bd-a51e-4b9a9a5e565d', 'mac_address': '02:98:8f:fd:6b:41', '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': '128.98.5.3', 'subnet_id': 'c1d2557c-d198-4c63-8843-019e032de3b3'}], 'security_groups': ['6d089cfd-1817-45cc-b605-26b8b8bf1a31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0'}} 2026-04-28 19:01:13,593 - DEBUG - Created port 988ffd6b-419b-4c91-a8b5-b2e8a7ba38ba 2026-04-28 19:01:13,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/988ffd6b-419b-4c91-a8b5-b2e8a7ba38ba 2026-04-28 19:01:13,997 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/988ffd6b-419b-4c91-a8b5-b2e8a7ba38ba 2026-04-28 19:01:14,034 - INFO - VMI 988ffd6b-419b-4c91-a8b5-b2e8a7ba38ba verification in API Server passed 2026-04-28 19:01:14,124 - DEBUG - Response for delete_port : () 2026-04-28 19:01:14,124 - INFO - Deleted port 988ffd6b-419b-4c91-a8b5-b2e8a7ba38ba 2026-04-28 19:01:14,124 - INFO - Deleting VN ctest-vn-71281806 2026-04-28 19:01:14,229 - DEBUG - Response for deleting network () 2026-04-28 19:01:14,484 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 19:01:14,484 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-28 19:01:14,484 - INFO - -------------------------------------------------------------------------------- 2026-04-28 19:01:14,487 - INFO - ================================================================================ 2026-04-28 19:01:14,487 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-28 19:01:14,487 - 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-28 19:01:14,772 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-04-28 19:01:14,772 - INFO - Initial checks done. Running the testcase now 2026-04-28 19:01:14,772 - INFO - 2026-04-28 19:01:14,945 - DEBUG - Response for create_network : {'network': {'id': '079812ac-ef81-4946-b22e-9f06c5958457', 'name': 'ctest-vn1-42169704', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39048378', 'ctest-vn1-42169704'], 'port_security_enabled': True, 'description': ''}} 2026-04-28 19:01:15,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df71321d-4915-4dba-b37c-91ed96513be7', 'name': '', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'network_id': '079812ac-ef81-4946-b22e-9f06c5958457', 'ip_version': 4, 'cidr': '32.52.43.192/26', 'allocation_pools': [{'start': '32.52.43.194', 'end': '32.52.43.254'}], 'gateway_ip': '32.52.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.52.43.194', 'tags': [], 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0'}} 2026-04-28 19:01:15,313 - DEBUG - Response for create_subnet : {'subnet': {'id': '8320115f-0d2a-46f9-b132-ddc1143ca8fe', 'name': '', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'network_id': '079812ac-ef81-4946-b22e-9f06c5958457', 'ip_version': 4, 'cidr': '1.44.137.192/26', 'allocation_pools': [{'start': '1.44.137.194', 'end': '1.44.137.254'}], 'gateway_ip': '1.44.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.44.137.194', 'tags': [], 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0'}} 2026-04-28 19:01:15,333 - INFO - Created VN ctest-vn1-42169704 2026-04-28 19:01:15,387 - DEBUG - VN ctest-vn1-42169704 UUID is 079812ac-ef81-4946-b22e-9f06c5958457 2026-04-28 19:01:15,693 - DEBUG - Response for create_port : {'port': {'name': '8ef107f2-1fd2-4942-a422-1a19c76ef22b', 'id': '8ef107f2-1fd2-4942-a422-1a19c76ef22b', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'network_id': '079812ac-ef81-4946-b22e-9f06c5958457', 'mac_address': '02:8e:f1:07:f2:1f', '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': '32.52.43.197', 'subnet_id': 'df71321d-4915-4dba-b37c-91ed96513be7'}], 'security_groups': ['6d089cfd-1817-45cc-b605-26b8b8bf1a31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0'}} 2026-04-28 19:01:15,866 - DEBUG - Response for create_port : {'port': {'name': '0bc1ca85-386f-4353-add9-70a13e8edc62', 'id': '0bc1ca85-386f-4353-add9-70a13e8edc62', 'tenant_id': 'be0e827fc0f04efe92804d56ed0db8a0', 'network_id': '079812ac-ef81-4946-b22e-9f06c5958457', 'mac_address': '02:0b:c1:ca:85:38', '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': '1.44.137.197', 'subnet_id': '8320115f-0d2a-46f9-b132-ddc1143ca8fe'}], 'security_groups': ['6d089cfd-1817-45cc-b605-26b8b8bf1a31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'be0e827fc0f04efe92804d56ed0db8a0'}} 2026-04-28 19:01:15,926 - DEBUG - Services list from nova: [, , ] 2026-04-28 19:01:16,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5707-1) 2026-04-28 19:01:16,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5707-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5707-1) 2026-04-28 19:01:16,649 - INFO - Waiting for VM ctest-vn1-vm1-02482556 to be up.. 2026-04-28 19:01:16,690 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-28 19:01:21,775 - DEBUG - VM is in ACTIVE state now 2026-04-28 19:01:21,775 - INFO - VM name : ctest-vn1-vm1-02482556 2026-04-28 19:01:21,855 - DEBUG - VM ctest-vn1-vm1-02482556 ID is 785f3912-4cd8-4443-a9e2-f1c7ba08877a 2026-04-28 19:01:21,874 - DEBUG - VM ctest-vn1-vm1-02482556 launched on Node cn-jenkins-deploy-platform-ansible-os-5707-1 2026-04-28 19:01:21,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/785f3912-4cd8-4443-a9e2-f1c7ba08877a 2026-04-28 19:01:21,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8ef107f2-1fd2-4942-a422-1a19c76ef22b 2026-04-28 19:01:25,200 - 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 1007ms') 2026-04-28 19:01:25,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02482556 failed! 2026-04-28 19:01:25,259 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39048378:ctest-vn1-42169704 is 32.52.43.193 and allocation pool is NOT set 2026-04-28 19:01:25,259 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39048378:ctest-vn1-42169704 is 1.44.137.193 and allocation pool is NOT set 2026-04-28 19:01:27,318 - 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=15.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.88 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 = 2.875/9.050/15.225/6.175 ms') 2026-04-28 19:01:27,318 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02482556 passed 2026-04-28 19:01:27,471 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:01:27,471 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02482556, IP 32.52.43.197, Port 22 2026-04-28 19:01:27,537 - 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-28 19:01:27,613 - DEBUG - VM ctest-vn1-vm1-02482556 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-28 19:01:32,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:01:32,614 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02482556, IP 32.52.43.197, Port 22 2026-04-28 19:01:32,771 - DEBUG - VM ctest-vn1-vm1-02482556 is ready for SSH connections 2026-04-28 19:01:32,771 - INFO - Waiting for VM ctest-vn1-vm2-89939920 to be up.. 2026-04-28 19:01:32,849 - DEBUG - VM is in ACTIVE state now 2026-04-28 19:01:32,850 - INFO - VM name : ctest-vn1-vm2-89939920 2026-04-28 19:01:32,926 - DEBUG - VM ctest-vn1-vm2-89939920 ID is 6a54b54b-dbaa-458f-96d4-459280785b60 2026-04-28 19:01:32,926 - DEBUG - VM ctest-vn1-vm2-89939920 launched on Node cn-jenkins-deploy-platform-ansible-os-5707-1 2026-04-28 19:01:32,999 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6a54b54b-dbaa-458f-96d4-459280785b60 2026-04-28 19:01:33,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0bc1ca85-386f-4353-add9-70a13e8edc62 2026-04-28 19:01:34,248 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.740/3.091/1.350 ms') 2026-04-28 19:01:34,248 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89939920 passed 2026-04-28 19:01:34,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:01:34,395 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89939920, IP 1.44.137.197, Port 22 2026-04-28 19:01:34,550 - DEBUG - VM ctest-vn1-vm2-89939920 is ready for SSH connections 2026-04-28 19:01:34,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:01:34,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:01:34,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-28 19:01:34,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.52.43.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-28 19:01:34,550 - DEBUG - ping -s 56 -c 3 -W 1 32.52.43.197 2026-04-28 19:01:37,251 - DEBUG - PING 32.52.43.197 (32.52.43.197): 56 data bytes 64 bytes from 32.52.43.197: seq=0 ttl=63 time=4.817 ms 64 bytes from 32.52.43.197: seq=1 ttl=63 time=0.842 ms 64 bytes from 32.52.43.197: seq=2 ttl=63 time=1.047 ms --- 32.52.43.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.842/2.235/4.817 ms 2026-04-28 19:01:37,251 - INFO - Ping to IP 32.52.43.197 from VM ctest-vn1-vm2-89939920 passed 2026-04-28 19:01:37,251 - INFO - Detaching port 0bc1ca85-386f-4353-add9-70a13e8edc62 from VM ctest-vn1-vm2-89939920 2026-04-28 19:01:37,301 - INFO - Deleting VM ctest-vn1-vm2-89939920 2026-04-28 19:01:37,391 - INFO - Detaching port 8ef107f2-1fd2-4942-a422-1a19c76ef22b from VM ctest-vn1-vm1-02482556 2026-04-28 19:01:37,428 - INFO - Deleting VM ctest-vn1-vm1-02482556 2026-04-28 19:01:37,699 - DEBUG - Response for delete_port : () 2026-04-28 19:01:37,861 - DEBUG - Response for delete_port : () 2026-04-28 19:01:37,861 - INFO - Deleting VN ctest-vn1-42169704 2026-04-28 19:01:38,032 - DEBUG - Response for deleting network () 2026-04-28 19:01:38,293 - DEBUG - No XMPP flaps were noticed during the test
2026-04-28 19:01:38,293 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-28 19:01:38,294 - INFO - -------------------------------------------------------------------------------- 2026-04-28 19:01:39,007 - INFO - Deleted project: ctest-TestPorts-39048378, ID : be0e827f-c0f0-4efe-9280-4d56ed0db8a0