2026-06-04 02:11:41,670 - INFO - Reading existing Domain with UUID 4bbd272f-f102-4983-a587-c5578191c0aa 2026-06-04 02:11:41,680 - INFO - Using existing domain ['admin_domain'](4bbd272f-f102-4983-a587-c5578191c0aa) 2026-06-04 02:11:41,879 - INFO - Project ctest-TestPorts-49057489 not found, creating it 2026-06-04 02:11:42,400 - INFO - Created Project:ctest-TestPorts-49057489, ID : 49d3428b-4324-404f-b004-d427440a8d33 2026-06-04 02:11:44,171 - INFO - ================================================================================ 2026-06-04 02:11:44,171 - INFO - STARTING TEST : test_ports_bindings 2026-06-04 02:11:44,171 - 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-06-04 02:11:44,574 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-06-04 02:11:44,575 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:11:44,575 - INFO - 2026-06-04 02:11:45,397 - DEBUG - Response for create_network : {'network': {'id': '72f6b315-171f-43a5-baa3-8f25adbea124', 'name': 'ctest-vn-14615022', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'project_id': '49d3428b4324404fb004d427440a8d33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-49057489', 'ctest-vn-14615022'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-04 02:11:45,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '21d68865-faed-4384-bbef-087fd1dabd3b', 'name': '', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'network_id': '72f6b315-171f-43a5-baa3-8f25adbea124', 'ip_version': 4, 'cidr': '80.116.97.0/26', 'allocation_pools': [{'start': '80.116.97.2', 'end': '80.116.97.62'}], 'gateway_ip': '80.116.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-04T02:11:45.535252', 'updated_at': '2026-06-04T02:11:45.535252', 'dns_server_address': '80.116.97.2', 'tags': [], 'project_id': '49d3428b4324404fb004d427440a8d33'}} 2026-06-04 02:11:45,695 - INFO - Created VN ctest-vn-14615022 2026-06-04 02:11:45,749 - DEBUG - VN ctest-vn-14615022 UUID is 72f6b315-171f-43a5-baa3-8f25adbea124 2026-06-04 02:11:45,963 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-49057489', 'ctest-vmi-46706270']} 2026-06-04 02:11:46,265 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46706270', 'id': '33a99737-c1e5-4fe1-a71a-143885a7a99f', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'network_id': '72f6b315-171f-43a5-baa3-8f25adbea124', 'mac_address': '02:33:a9:97:37:c1', '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': '80.116.97.3', 'subnet_id': '21d68865-faed-4384-bbef-087fd1dabd3b'}], 'security_groups': ['86e3118d-c86d-4edd-9c28-761c04667d1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-04T02:11:46.078125', 'updated_at': '2026-06-04T02:11:46.143355', 'project_id': '49d3428b4324404fb004d427440a8d33'}} 2026-06-04 02:11:46,265 - DEBUG - Created port 33a99737-c1e5-4fe1-a71a-143885a7a99f 2026-06-04 02:11:46,376 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/33a99737-c1e5-4fe1-a71a-143885a7a99f 2026-06-04 02:11:46,726 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/33a99737-c1e5-4fe1-a71a-143885a7a99f 2026-06-04 02:11:46,838 - INFO - VMI 33a99737-c1e5-4fe1-a71a-143885a7a99f verification in API Server passed 2026-06-04 02:11:46,989 - DEBUG - Response for delete_port : () 2026-06-04 02:11:46,989 - INFO - Deleted port 33a99737-c1e5-4fe1-a71a-143885a7a99f 2026-06-04 02:11:46,990 - INFO - Deleting VN ctest-vn-14615022 2026-06-04 02:11:47,153 - DEBUG - Response for deleting network () 2026-06-04 02:11:47,550 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 02:11:47,550 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-06-04 02:11:47,550 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:11:47,552 - INFO - ================================================================================ 2026-06-04 02:11:47,553 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-06-04 02:11:47,553 - 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-06-04 02:11:47,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with 2026-06-04 02:11:47,950 - INFO - Initial checks done. Running the testcase now 2026-06-04 02:11:47,950 - INFO - 2026-06-04 02:11:48,237 - DEBUG - Response for create_network : {'network': {'id': '1feea31f-bf65-4ff9-8582-4c73d3e20705', 'name': 'ctest-vn1-24293743', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'project_id': '49d3428b4324404fb004d427440a8d33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-49057489', 'ctest-vn1-24293743'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2026-06-04 02:11:48,449 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a995cd2b-573b-4d48-8c32-ae7d76527a2e', 'name': '', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'network_id': '1feea31f-bf65-4ff9-8582-4c73d3e20705', 'ip_version': 4, 'cidr': '130.228.117.64/26', 'allocation_pools': [{'start': '130.228.117.66', 'end': '130.228.117.126'}], 'gateway_ip': '130.228.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-04T02:11:48.343310', 'updated_at': '2026-06-04T02:11:48.343310', 'dns_server_address': '130.228.117.66', 'tags': [], 'project_id': '49d3428b4324404fb004d427440a8d33'}} 2026-06-04 02:11:48,649 - DEBUG - Response for create_subnet : {'subnet': {'id': '0596819b-8dae-47c2-bb13-186418ed2624', 'name': '', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'network_id': '1feea31f-bf65-4ff9-8582-4c73d3e20705', 'ip_version': 4, 'cidr': '159.2.46.64/26', 'allocation_pools': [{'start': '159.2.46.66', 'end': '159.2.46.126'}], 'gateway_ip': '159.2.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-06-04T02:11:48.547827', 'updated_at': '2026-06-04T02:11:48.547827', 'dns_server_address': '159.2.46.66', 'tags': [], 'project_id': '49d3428b4324404fb004d427440a8d33'}} 2026-06-04 02:11:48,715 - INFO - Created VN ctest-vn1-24293743 2026-06-04 02:11:48,768 - DEBUG - VN ctest-vn1-24293743 UUID is 1feea31f-bf65-4ff9-8582-4c73d3e20705 2026-06-04 02:11:49,287 - DEBUG - Response for create_port : {'port': {'name': 'e989a4cc-7fe8-4902-be3b-d90d8a7e67ba', 'id': 'e989a4cc-7fe8-4902-be3b-d90d8a7e67ba', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'network_id': '1feea31f-bf65-4ff9-8582-4c73d3e20705', 'mac_address': '02:e9:89:a4:cc:7f', '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': '130.228.117.69', 'subnet_id': 'a995cd2b-573b-4d48-8c32-ae7d76527a2e'}], 'security_groups': ['86e3118d-c86d-4edd-9c28-761c04667d1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-04T02:11:49.096861', 'updated_at': '2026-06-04T02:11:49.164532', 'project_id': '49d3428b4324404fb004d427440a8d33'}} 2026-06-04 02:11:49,542 - DEBUG - Response for create_port : {'port': {'name': 'cc7f4602-8433-4912-8c63-1356eac8a7e5', 'id': 'cc7f4602-8433-4912-8c63-1356eac8a7e5', 'tenant_id': '49d3428b4324404fb004d427440a8d33', 'network_id': '1feea31f-bf65-4ff9-8582-4c73d3e20705', 'mac_address': '02:cc:7f:46:02:84', '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': '159.2.46.69', 'subnet_id': '0596819b-8dae-47c2-bb13-186418ed2624'}], 'security_groups': ['86e3118d-c86d-4edd-9c28-761c04667d1f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-06-04T02:11:49.349712', 'updated_at': '2026-06-04T02:11:49.415863', 'project_id': '49d3428b4324404fb004d427440a8d33'}} 2026-06-04 02:11:49,653 - DEBUG - Services list from nova: [, , ] 2026-06-04 02:11:50,403 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-709-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-709-1) 2026-06-04 02:11:51,231 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-709-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-709-1) 2026-06-04 02:11:51,231 - INFO - Waiting for VM ctest-vn1-vm1-52850261 to be up.. 2026-06-04 02:11:51,336 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 02:11:56,473 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:11:56,473 - INFO - VM name : ctest-vn1-vm1-52850261 2026-06-04 02:11:56,605 - DEBUG - VM ctest-vn1-vm1-52850261 ID is 64713ddb-818d-40b3-b8d7-51ab4451dd56 2026-06-04 02:11:56,641 - DEBUG - VM ctest-vn1-vm1-52850261 launched on Node cn-jenkins-deploy-platform-juju-os-709-1 2026-06-04 02:11:56,776 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/64713ddb-818d-40b3-b8d7-51ab4451dd56 2026-06-04 02:11:56,829 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/e989a4cc-7fe8-4902-be3b-d90d8a7e67ba 2026-06-04 02:12:00,311 - 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 1030ms') 2026-06-04 02:12:00,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52850261 failed! 2026-06-04 02:12:00,365 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-49057489:ctest-vn1-24293743 is 130.228.117.65 and allocation pool is NOT set 2026-06-04 02:12:00,365 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-49057489:ctest-vn1-24293743 is 159.2.46.65 and allocation pool is NOT set 2026-06-04 02:12:04,470 - 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.9 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 12.888/12.888/12.888/0.000 ms') 2026-06-04 02:12:04,471 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52850261 passed 2026-06-04 02:12:04,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:12:04,634 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52850261, IP 130.228.117.69, Port 22 2026-06-04 02:12:04,718 - 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-06-04 02:12:04,872 - DEBUG - VM ctest-vn1-vm1-52850261 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 02:12:09,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:12:09,874 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52850261, IP 130.228.117.69, Port 22 2026-06-04 02:12:10,094 - DEBUG - VM ctest-vn1-vm1-52850261 is ready for SSH connections 2026-06-04 02:12:10,094 - INFO - Waiting for VM ctest-vn1-vm2-08981849 to be up.. 2026-06-04 02:12:10,251 - DEBUG - VM is in ACTIVE state now 2026-06-04 02:12:10,252 - INFO - VM name : ctest-vn1-vm2-08981849 2026-06-04 02:12:10,396 - DEBUG - VM ctest-vn1-vm2-08981849 ID is 932a0274-3524-4c85-a880-5f6888918b6e 2026-06-04 02:12:10,397 - DEBUG - VM ctest-vn1-vm2-08981849 launched on Node cn-jenkins-deploy-platform-juju-os-709-1 2026-06-04 02:12:10,535 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine/932a0274-3524-4c85-a880-5f6888918b6e 2026-06-04 02:12:10,591 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-machine-interface/cc7f4602-8433-4912-8c63-1356eac8a7e5 2026-06-04 02:12:12,042 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.825/3.199/1.373 ms') 2026-06-04 02:12:12,042 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08981849 passed 2026-06-04 02:12:12,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:12:12,197 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08981849, IP 159.2.46.69, Port 22 2026-06-04 02:12:12,411 - DEBUG - VM ctest-vn1-vm2-08981849 is ready for SSH connections 2026-06-04 02:12:12,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:12:12,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:12:12,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 02:12:12,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.228.117.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-06-04 02:12:12,411 - DEBUG - ping -s 56 -c 3 -W 1 130.228.117.69 2026-06-04 02:12:15,446 - DEBUG - PING 130.228.117.69 (130.228.117.69): 56 data bytes 64 bytes from 130.228.117.69: seq=0 ttl=63 time=3.979 ms 64 bytes from 130.228.117.69: seq=1 ttl=63 time=0.975 ms 64 bytes from 130.228.117.69: seq=2 ttl=63 time=0.887 ms --- 130.228.117.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/1.947/3.979 ms 2026-06-04 02:12:15,446 - INFO - Ping to IP 130.228.117.69 from VM ctest-vn1-vm2-08981849 passed 2026-06-04 02:12:15,446 - INFO - Detaching port cc7f4602-8433-4912-8c63-1356eac8a7e5 from VM ctest-vn1-vm2-08981849 2026-06-04 02:12:15,535 - INFO - Deleting VM ctest-vn1-vm2-08981849 2026-06-04 02:12:15,667 - INFO - Detaching port e989a4cc-7fe8-4902-be3b-d90d8a7e67ba from VM ctest-vn1-vm1-52850261 2026-06-04 02:12:15,736 - INFO - Deleting VM ctest-vn1-vm1-52850261 2026-06-04 02:12:16,183 - DEBUG - Response for delete_port : () 2026-06-04 02:12:16,501 - DEBUG - Response for delete_port : () 2026-06-04 02:12:16,501 - INFO - Deleting VN ctest-vn1-24293743 2026-06-04 02:12:16,739 - DEBUG - Response for deleting network () 2026-06-04 02:12:17,126 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 02:12:17,126 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2026-06-04 02:12:17,126 - INFO - -------------------------------------------------------------------------------- 2026-06-04 02:12:17,911 - INFO - Deleted project: ctest-TestPorts-49057489, ID : 49d3428b-4324-404f-b004-d427440a8d33