2026-01-26 18:50:02,345 - INFO - Domain Default found not creating 2026-01-26 18:50:02,594 - INFO - Project ctest-TestPorts-01493302 not found, creating it 2026-01-26 18:50:03,103 - INFO - Created Project:ctest-TestPorts-01493302, ID : 470bd899-4477-4b30-b7c6-b08054c407bd 2026-01-26 18:50:04,810 - INFO - ================================================================================ 2026-01-26 18:50:04,810 - INFO - STARTING TEST : test_ports_bindings 2026-01-26 18:50:04,810 - 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-26 18:50:05,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-26 18:50:05,108 - INFO - Initial checks done. Running the testcase now 2026-01-26 18:50:05,108 - INFO - 2026-01-26 18:50:05,835 - DEBUG - Response for create_network : {'network': {'id': '31105c76-523b-4cf6-9b78-d0af987b2e4b', 'name': 'ctest-vn-03976895', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'project_id': '470bd89944774b30b7c6b08054c407bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01493302', 'ctest-vn-03976895'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 18:50:06,022 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ccf5e048-c8d6-4b91-b4a6-5d747af6c7ac', 'name': '', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'network_id': '31105c76-523b-4cf6-9b78-d0af987b2e4b', 'ip_version': 4, 'cidr': '199.218.245.128/26', 'allocation_pools': [{'start': '199.218.245.130', 'end': '199.218.245.190'}], 'gateway_ip': '199.218.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.218.245.130', 'tags': [], 'project_id': '470bd89944774b30b7c6b08054c407bd'}} 2026-01-26 18:50:06,040 - INFO - Created VN ctest-vn-03976895 2026-01-26 18:50:06,093 - DEBUG - VN ctest-vn-03976895 UUID is 31105c76-523b-4cf6-9b78-d0af987b2e4b 2026-01-26 18:50:06,261 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-01493302', 'ctest-vmi-61133930']} 2026-01-26 18:50:06,597 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-61133930', 'id': 'dac460dd-312d-40fb-8475-01d0e6d73065', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'network_id': '31105c76-523b-4cf6-9b78-d0af987b2e4b', 'mac_address': '02:da:c4:60:dd:31', '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': '199.218.245.131', 'subnet_id': 'ccf5e048-c8d6-4b91-b4a6-5d747af6c7ac'}], 'security_groups': ['7e17fac9-2396-4909-8039-5259858bda85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '470bd89944774b30b7c6b08054c407bd'}} 2026-01-26 18:50:06,597 - DEBUG - Created port dac460dd-312d-40fb-8475-01d0e6d73065 2026-01-26 18:50:06,717 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dac460dd-312d-40fb-8475-01d0e6d73065 2026-01-26 18:50:07,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dac460dd-312d-40fb-8475-01d0e6d73065 2026-01-26 18:50:07,150 - INFO - VMI dac460dd-312d-40fb-8475-01d0e6d73065 verification in API Server passed 2026-01-26 18:50:07,321 - DEBUG - Response for delete_port : () 2026-01-26 18:50:07,322 - INFO - Deleted port dac460dd-312d-40fb-8475-01d0e6d73065 2026-01-26 18:50:07,322 - INFO - Deleting VN ctest-vn-03976895 2026-01-26 18:50:07,456 - DEBUG - Response for deleting network () 2026-01-26 18:50:07,766 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 18:50:07,766 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-26 18:50:07,766 - INFO - -------------------------------------------------------------------------------- 2026-01-26 18:50:07,773 - INFO - ================================================================================ 2026-01-26 18:50:07,773 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-26 18:50:07,773 - 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-26 18:50:08,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-26 18:50:08,108 - INFO - Initial checks done. Running the testcase now 2026-01-26 18:50:08,108 - INFO - 2026-01-26 18:50:08,447 - DEBUG - Response for create_network : {'network': {'id': '103d679e-478f-4228-bc51-4b8f90616267', 'name': 'ctest-vn1-64740750', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'project_id': '470bd89944774b30b7c6b08054c407bd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-01493302', 'ctest-vn1-64740750'], 'port_security_enabled': True, 'description': ''}} 2026-01-26 18:50:08,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c00c0561-2b8a-477c-a66f-56bf7fe919f1', 'name': '', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'network_id': '103d679e-478f-4228-bc51-4b8f90616267', 'ip_version': 4, 'cidr': '147.58.218.128/26', 'allocation_pools': [{'start': '147.58.218.130', 'end': '147.58.218.190'}], 'gateway_ip': '147.58.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.58.218.130', 'tags': [], 'project_id': '470bd89944774b30b7c6b08054c407bd'}} 2026-01-26 18:50:08,809 - DEBUG - Response for create_subnet : {'subnet': {'id': '756f6ad6-584a-4585-bf5e-157f66d0944c', 'name': '', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'network_id': '103d679e-478f-4228-bc51-4b8f90616267', 'ip_version': 4, 'cidr': '200.46.72.192/26', 'allocation_pools': [{'start': '200.46.72.194', 'end': '200.46.72.254'}], 'gateway_ip': '200.46.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.46.72.194', 'tags': [], 'project_id': '470bd89944774b30b7c6b08054c407bd'}} 2026-01-26 18:50:08,830 - INFO - Created VN ctest-vn1-64740750 2026-01-26 18:50:08,885 - DEBUG - VN ctest-vn1-64740750 UUID is 103d679e-478f-4228-bc51-4b8f90616267 2026-01-26 18:50:09,287 - DEBUG - Response for create_port : {'port': {'name': '43a5cbb3-a38b-40ed-9113-87e07b58bbc6', 'id': '43a5cbb3-a38b-40ed-9113-87e07b58bbc6', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'network_id': '103d679e-478f-4228-bc51-4b8f90616267', 'mac_address': '02:43:a5:cb:b3:a3', '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': '147.58.218.133', 'subnet_id': 'c00c0561-2b8a-477c-a66f-56bf7fe919f1'}], 'security_groups': ['7e17fac9-2396-4909-8039-5259858bda85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '470bd89944774b30b7c6b08054c407bd'}} 2026-01-26 18:50:09,481 - DEBUG - Response for create_port : {'port': {'name': '7ab7a43c-3509-4033-abec-305bc7e42a01', 'id': '7ab7a43c-3509-4033-abec-305bc7e42a01', 'tenant_id': '470bd89944774b30b7c6b08054c407bd', 'network_id': '103d679e-478f-4228-bc51-4b8f90616267', 'mac_address': '02:7a:b7:a4:3c:35', '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': '200.46.72.197', 'subnet_id': '756f6ad6-584a-4585-bf5e-157f66d0944c'}], 'security_groups': ['7e17fac9-2396-4909-8039-5259858bda85'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '470bd89944774b30b7c6b08054c407bd'}} 2026-01-26 18:50:09,541 - DEBUG - Services list from nova: [, , ] 2026-01-26 18:50:10,084 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5084-1) 2026-01-26 18:50:10,742 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5084-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5084-1) 2026-01-26 18:50:10,742 - INFO - Waiting for VM ctest-vn1-vm1-80457648 to be up.. 2026-01-26 18:50:10,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-26 18:50:15,905 - DEBUG - VM is in ACTIVE state now 2026-01-26 18:50:15,905 - INFO - VM name : ctest-vn1-vm1-80457648 2026-01-26 18:50:15,998 - DEBUG - VM ctest-vn1-vm1-80457648 ID is 79c54d40-4abd-4f5b-953a-efb9850fe053 2026-01-26 18:50:16,027 - DEBUG - VM ctest-vn1-vm1-80457648 launched on Node cn-jenkins-deploy-platform-ansible-os-5084-1 2026-01-26 18:50:16,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/79c54d40-4abd-4f5b-953a-efb9850fe053 2026-01-26 18:50:16,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/43a5cbb3-a38b-40ed-9113-87e07b58bbc6 2026-01-26 18:50:19,451 - 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 1031ms') 2026-01-26 18:50:19,451 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80457648 failed! 2026-01-26 18:50:19,513 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01493302:ctest-vn1-64740750 is 147.58.218.129 and allocation pool is NOT set 2026-01-26 18:50:19,513 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-01493302:ctest-vn1-64740750 is 200.46.72.193 and allocation pool is NOT set 2026-01-26 18:50:23,580 - 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=10.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 10.827/10.827/10.827/0.000 ms') 2026-01-26 18:50:23,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80457648 passed 2026-01-26 18:50:23,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:50:23,733 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80457648, IP 147.58.218.133, Port 22 2026-01-26 18:50:23,799 - 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-26 18:50:23,924 - DEBUG - VM ctest-vn1-vm1-80457648 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-26 18:50:28,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:50:28,925 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80457648, IP 147.58.218.133, Port 22 2026-01-26 18:50:29,102 - DEBUG - VM ctest-vn1-vm1-80457648 is ready for SSH connections 2026-01-26 18:50:29,102 - INFO - Waiting for VM ctest-vn1-vm2-39894061 to be up.. 2026-01-26 18:50:29,236 - DEBUG - VM is in ACTIVE state now 2026-01-26 18:50:29,236 - INFO - VM name : ctest-vn1-vm2-39894061 2026-01-26 18:50:29,334 - DEBUG - VM ctest-vn1-vm2-39894061 ID is c4caca8a-acfe-439e-acf0-1d3cec7cea80 2026-01-26 18:50:29,335 - DEBUG - VM ctest-vn1-vm2-39894061 launched on Node cn-jenkins-deploy-platform-ansible-os-5084-1 2026-01-26 18:50:29,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c4caca8a-acfe-439e-acf0-1d3cec7cea80 2026-01-26 18:50:29,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7ab7a43c-3509-4033-abec-305bc7e42a01 2026-01-26 18:50:30,715 - 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=9.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.841 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.841/5.020/9.200/4.179 ms') 2026-01-26 18:50:30,716 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-39894061 passed 2026-01-26 18:50:30,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:50:30,882 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-39894061, IP 200.46.72.197, Port 22 2026-01-26 18:50:31,052 - DEBUG - VM ctest-vn1-vm2-39894061 is ready for SSH connections 2026-01-26 18:50:31,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:50:31,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:50:31,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-26 18:50:31,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.58.218.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-26 18:50:31,053 - DEBUG - ping -s 56 -c 3 -W 1 147.58.218.133 2026-01-26 18:50:33,977 - DEBUG - PING 147.58.218.133 (147.58.218.133): 56 data bytes 64 bytes from 147.58.218.133: seq=0 ttl=63 time=4.066 ms 64 bytes from 147.58.218.133: seq=1 ttl=63 time=3.662 ms 64 bytes from 147.58.218.133: seq=2 ttl=63 time=1.700 ms --- 147.58.218.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.700/3.142/4.066 ms 2026-01-26 18:50:33,977 - INFO - Ping to IP 147.58.218.133 from VM ctest-vn1-vm2-39894061 passed 2026-01-26 18:50:33,978 - INFO - Detaching port 7ab7a43c-3509-4033-abec-305bc7e42a01 from VM ctest-vn1-vm2-39894061 2026-01-26 18:50:34,057 - INFO - Deleting VM ctest-vn1-vm2-39894061 2026-01-26 18:50:34,134 - INFO - Detaching port 43a5cbb3-a38b-40ed-9113-87e07b58bbc6 from VM ctest-vn1-vm1-80457648 2026-01-26 18:50:34,173 - INFO - Deleting VM ctest-vn1-vm1-80457648 2026-01-26 18:50:34,448 - DEBUG - Response for delete_port : () 2026-01-26 18:50:34,626 - DEBUG - Response for delete_port : () 2026-01-26 18:50:34,626 - INFO - Deleting VN ctest-vn1-64740750 2026-01-26 18:50:34,777 - DEBUG - Response for deleting network () 2026-01-26 18:50:35,043 - DEBUG - No XMPP flaps were noticed during the test
2026-01-26 18:50:35,043 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:28]
2026-01-26 18:50:35,043 - INFO - -------------------------------------------------------------------------------- 2026-01-26 18:50:35,828 - INFO - Deleted project: ctest-TestPorts-01493302, ID : 470bd899-4477-4b30-b7c6-b08054c407bd