2026-02-02 08:04:50,157 - INFO - Reading existing Domain with UUID a2db6585-9c32-4c36-b884-93ce8d9f9858 2026-02-02 08:04:50,169 - INFO - Using existing domain ['admin_domain'](a2db6585-9c32-4c36-b884-93ce8d9f9858) 2026-02-02 08:04:50,420 - INFO - Project ctest-TestPorts-27072436 not found, creating it 2026-02-02 08:04:51,316 - INFO - Created Project:ctest-TestPorts-27072436, ID : 0e347be6-00be-460d-8fe1-3bdc77cfe064 2026-02-02 08:04:54,960 - INFO - ================================================================================ 2026-02-02 08:04:54,969 - INFO - STARTING TEST : test_ports_bindings 2026-02-02 08:04:54,969 - 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-02 08:04:55,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2026-02-02 08:04:55,586 - INFO - Initial checks done. Running the testcase now 2026-02-02 08:04:55,596 - INFO - 2026-02-02 08:04:57,629 - DEBUG - Response for create_network : {'network': {'id': '585c1819-4f89-4609-82c1-2d178a5b1161', 'name': 'ctest-vn-23260814', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'project_id': '0e347be600be460d8fe13bdc77cfe064', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-27072436', 'ctest-vn-23260814'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-02 08:04:58,493 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e2c50b7-9f9c-4a5f-b0d7-e2db0b670cd9', 'name': '', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'network_id': '585c1819-4f89-4609-82c1-2d178a5b1161', 'ip_version': 4, 'cidr': '85.25.205.64/26', 'allocation_pools': [{'start': '85.25.205.66', 'end': '85.25.205.126'}], 'gateway_ip': '85.25.205.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-02T08:04:58.236553', 'updated_at': '2026-02-02T08:04:58.236553', 'dns_server_address': '85.25.205.66', 'tags': [], 'project_id': '0e347be600be460d8fe13bdc77cfe064'}} 2026-02-02 08:04:58,618 - INFO - Created VN ctest-vn-23260814 2026-02-02 08:04:58,701 - DEBUG - VN ctest-vn-23260814 UUID is 585c1819-4f89-4609-82c1-2d178a5b1161 2026-02-02 08:04:59,000 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-27072436', 'ctest-vmi-77523679']} 2026-02-02 08:04:59,703 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77523679', 'id': 'bc6aed71-40c2-432e-976a-00c7298e1b88', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'network_id': '585c1819-4f89-4609-82c1-2d178a5b1161', 'mac_address': '02:bc:6a:ed:71:40', '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': '85.25.205.67', 'subnet_id': '6e2c50b7-9f9c-4a5f-b0d7-e2db0b670cd9'}], 'security_groups': ['0ee1a680-fb12-47de-8d13-3e3a5d9ea8b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-02T08:04:59.233766', 'updated_at': '2026-02-02T08:04:59.338860', 'project_id': '0e347be600be460d8fe13bdc77cfe064'}} 2026-02-02 08:04:59,704 - DEBUG - Created port bc6aed71-40c2-432e-976a-00c7298e1b88 2026-02-02 08:04:59,833 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/bc6aed71-40c2-432e-976a-00c7298e1b88 2026-02-02 08:05:00,299 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/bc6aed71-40c2-432e-976a-00c7298e1b88 2026-02-02 08:05:00,438 - INFO - VMI bc6aed71-40c2-432e-976a-00c7298e1b88 verification in API Server passed 2026-02-02 08:05:00,768 - DEBUG - Response for delete_port : () 2026-02-02 08:05:00,768 - INFO - Deleted port bc6aed71-40c2-432e-976a-00c7298e1b88 2026-02-02 08:05:00,768 - INFO - Deleting VN ctest-vn-23260814 2026-02-02 08:05:01,102 - DEBUG - Response for deleting network () 2026-02-02 08:05:01,558 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 08:05:01,559 - INFO - END TEST : test_ports_bindings : PASSED[0:00:07]
2026-02-02 08:05:01,559 - INFO - -------------------------------------------------------------------------------- 2026-02-02 08:05:01,564 - INFO - ================================================================================ 2026-02-02 08:05:01,565 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-02-02 08:05:01,565 - 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-02 08:05:01,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2026-02-02 08:05:01,988 - INFO - Initial checks done. Running the testcase now 2026-02-02 08:05:01,988 - INFO - 2026-02-02 08:05:02,477 - DEBUG - Response for create_network : {'network': {'id': 'da2e9dd4-caf2-458b-9f98-f85373b6afdf', 'name': 'ctest-vn1-82836435', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'project_id': '0e347be600be460d8fe13bdc77cfe064', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-27072436', 'ctest-vn1-82836435'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-02-02 08:05:02,843 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf2ece3a-5781-4473-a4b4-983ba79eaaaa', 'name': '', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'network_id': 'da2e9dd4-caf2-458b-9f98-f85373b6afdf', 'ip_version': 4, 'cidr': '78.94.197.192/26', 'allocation_pools': [{'start': '78.94.197.194', 'end': '78.94.197.254'}], 'gateway_ip': '78.94.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-02T08:05:02.647639', 'updated_at': '2026-02-02T08:05:02.647639', 'dns_server_address': '78.94.197.194', 'tags': [], 'project_id': '0e347be600be460d8fe13bdc77cfe064'}} 2026-02-02 08:05:03,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '39fb45b5-a953-4556-a973-f1f07563d5cd', 'name': '', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'network_id': 'da2e9dd4-caf2-458b-9f98-f85373b6afdf', 'ip_version': 4, 'cidr': '125.197.153.128/26', 'allocation_pools': [{'start': '125.197.153.130', 'end': '125.197.153.190'}], 'gateway_ip': '125.197.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-02-02T08:05:03.000796', 'updated_at': '2026-02-02T08:05:03.000796', 'dns_server_address': '125.197.153.130', 'tags': [], 'project_id': '0e347be600be460d8fe13bdc77cfe064'}} 2026-02-02 08:05:03,301 - INFO - Created VN ctest-vn1-82836435 2026-02-02 08:05:03,365 - DEBUG - VN ctest-vn1-82836435 UUID is da2e9dd4-caf2-458b-9f98-f85373b6afdf 2026-02-02 08:05:04,139 - DEBUG - Response for create_port : {'port': {'name': 'cfc67763-73d7-4003-96d1-e0f2886dc861', 'id': 'cfc67763-73d7-4003-96d1-e0f2886dc861', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'network_id': 'da2e9dd4-caf2-458b-9f98-f85373b6afdf', 'mac_address': '02:cf:c6:77:63:73', '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': '78.94.197.197', 'subnet_id': 'cf2ece3a-5781-4473-a4b4-983ba79eaaaa'}], 'security_groups': ['0ee1a680-fb12-47de-8d13-3e3a5d9ea8b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-02T08:05:03.881310', 'updated_at': '2026-02-02T08:05:03.953360', 'project_id': '0e347be600be460d8fe13bdc77cfe064'}} 2026-02-02 08:05:04,574 - DEBUG - Response for create_port : {'port': {'name': 'f1559e5e-fd7e-4a5c-b114-616dce760aec', 'id': 'f1559e5e-fd7e-4a5c-b114-616dce760aec', 'tenant_id': '0e347be600be460d8fe13bdc77cfe064', 'network_id': 'da2e9dd4-caf2-458b-9f98-f85373b6afdf', 'mac_address': '02:f1:55:9e:5e:fd', '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': '125.197.153.133', 'subnet_id': '39fb45b5-a953-4556-a973-f1f07563d5cd'}], 'security_groups': ['0ee1a680-fb12-47de-8d13-3e3a5d9ea8b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-02-02T08:05:04.267088', 'updated_at': '2026-02-02T08:05:04.354132', 'project_id': '0e347be600be460d8fe13bdc77cfe064'}} 2026-02-02 08:05:04,740 - DEBUG - Services list from nova: [, , ] 2026-02-02 08:05:05,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-661-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-661-1) 2026-02-02 08:05:07,094 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-661-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-661-1) 2026-02-02 08:05:07,094 - INFO - Waiting for VM ctest-vn1-vm1-60894123 to be up.. 2026-02-02 08:05:07,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 08:05:12,437 - DEBUG - VM is in ACTIVE state now 2026-02-02 08:05:12,437 - INFO - VM name : ctest-vn1-vm1-60894123 2026-02-02 08:05:12,621 - DEBUG - VM ctest-vn1-vm1-60894123 ID is 0cfe64a7-9828-4813-8c07-98645b903e1d 2026-02-02 08:05:12,683 - DEBUG - VM ctest-vn1-vm1-60894123 launched on Node cn-jenkins-deploy-platform-juju-os-661-1 2026-02-02 08:05:12,857 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/0cfe64a7-9828-4813-8c07-98645b903e1d 2026-02-02 08:05:12,917 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/cfc67763-73d7-4003-96d1-e0f2886dc861 2026-02-02 08:05:16,409 - 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 1012ms') 2026-02-02 08:05:16,409 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60894123 failed! 2026-02-02 08:05:16,465 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-27072436:ctest-vn1-82836435 is 78.94.197.193 and allocation pool is NOT set 2026-02-02 08:05:16,465 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-27072436:ctest-vn1-82836435 is 125.197.153.129 and allocation pool is NOT set 2026-02-02 08:05:20,567 - 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-02 08:05:20,567 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60894123 failed! 2026-02-02 08:05:20,629 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-27072436:ctest-vn1-82836435 is 78.94.197.193 and allocation pool is NOT set 2026-02-02 08:05:20,629 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-27072436:ctest-vn1-82836435 is 125.197.153.129 and allocation pool is NOT set 2026-02-02 08:05:22,723 - 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=3.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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 = 0.474/2.188/3.902/1.714 ms') 2026-02-02 08:05:22,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60894123 passed 2026-02-02 08:05:22,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:05:22,889 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60894123, IP 78.94.197.197, Port 22 2026-02-02 08:05:22,991 - 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-02 08:05:23,178 - DEBUG - VM ctest-vn1-vm1-60894123 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 08:05:28,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:05:28,179 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60894123, IP 78.94.197.197, Port 22 2026-02-02 08:05:28,395 - DEBUG - VM ctest-vn1-vm1-60894123 is ready for SSH connections 2026-02-02 08:05:28,396 - INFO - Waiting for VM ctest-vn1-vm2-15623616 to be up.. 2026-02-02 08:05:28,581 - DEBUG - VM is in ACTIVE state now 2026-02-02 08:05:28,581 - INFO - VM name : ctest-vn1-vm2-15623616 2026-02-02 08:05:28,761 - DEBUG - VM ctest-vn1-vm2-15623616 ID is 1f23321b-4d5f-480f-b07c-c5e8738fc4bf 2026-02-02 08:05:28,762 - DEBUG - VM ctest-vn1-vm2-15623616 launched on Node cn-jenkins-deploy-platform-juju-os-661-1 2026-02-02 08:05:28,958 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/1f23321b-4d5f-480f-b07c-c5e8738fc4bf 2026-02-02 08:05:29,029 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/f1559e5e-fd7e-4a5c-b114-616dce760aec 2026-02-02 08:05:30,510 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 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.433/1.673/2.913/1.240 ms') 2026-02-02 08:05:30,510 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15623616 passed 2026-02-02 08:05:30,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:05:30,661 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15623616, IP 125.197.153.133, Port 22 2026-02-02 08:05:30,876 - DEBUG - VM ctest-vn1-vm2-15623616 is ready for SSH connections 2026-02-02 08:05:30,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:05:30,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:05:30,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:05:30,876 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.94.197.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-02-02 08:05:30,876 - DEBUG - ping -s 56 -c 3 -W 1 78.94.197.197 2026-02-02 08:05:33,643 - DEBUG - PING 78.94.197.197 (78.94.197.197): 56 data bytes 64 bytes from 78.94.197.197: seq=0 ttl=63 time=4.505 ms 64 bytes from 78.94.197.197: seq=1 ttl=63 time=0.865 ms 64 bytes from 78.94.197.197: seq=2 ttl=63 time=1.247 ms --- 78.94.197.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/2.205/4.505 ms 2026-02-02 08:05:33,644 - INFO - Ping to IP 78.94.197.197 from VM ctest-vn1-vm2-15623616 passed 2026-02-02 08:05:33,644 - INFO - Detaching port f1559e5e-fd7e-4a5c-b114-616dce760aec from VM ctest-vn1-vm2-15623616 2026-02-02 08:05:33,737 - INFO - Deleting VM ctest-vn1-vm2-15623616 2026-02-02 08:05:33,871 - INFO - Detaching port cfc67763-73d7-4003-96d1-e0f2886dc861 from VM ctest-vn1-vm1-60894123 2026-02-02 08:05:33,940 - INFO - Deleting VM ctest-vn1-vm1-60894123 2026-02-02 08:05:34,382 - DEBUG - Response for delete_port : () 2026-02-02 08:05:34,752 - DEBUG - Response for delete_port : () 2026-02-02 08:05:34,752 - INFO - Deleting VN ctest-vn1-82836435 2026-02-02 08:05:34,985 - DEBUG - Response for deleting network () 2026-02-02 08:05:35,382 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 08:05:35,382 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:34]
2026-02-02 08:05:35,382 - INFO - -------------------------------------------------------------------------------- 2026-02-02 08:05:36,155 - INFO - Deleted project: ctest-TestPorts-27072436, ID : 0e347be6-00be-460d-8fe1-3bdc77cfe064