2026-01-05 02:05:22,286 - INFO - Domain Default found not creating 2026-01-05 02:05:22,454 - INFO - Project ctest-TestPorts-91878904 not found, creating it 2026-01-05 02:05:22,905 - INFO - Created Project:ctest-TestPorts-91878904, ID : 196ccb1e-10dd-4cd4-8c4e-6ad551f73350 2026-01-05 02:05:24,422 - INFO - ================================================================================ 2026-01-05 02:05:24,422 - INFO - STARTING TEST : test_ports_bindings 2026-01-05 02:05:24,422 - 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-05 02:05:24,677 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0'}} with 2026-01-05 02:05:24,677 - INFO - Initial checks done. Running the testcase now 2026-01-05 02:05:24,677 - INFO - 2026-01-05 02:05:25,252 - DEBUG - Response for create_network : {'network': {'id': '1541a857-02ec-4f12-8ffc-e75e428c2539', 'name': 'ctest-vn-14007664', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91878904', 'ctest-vn-14007664'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:05:25,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '302b3cca-2028-4672-8efa-c3fd94878307', 'name': '', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'network_id': '1541a857-02ec-4f12-8ffc-e75e428c2539', 'ip_version': 4, 'cidr': '151.187.189.64/26', 'allocation_pools': [{'start': '151.187.189.66', 'end': '151.187.189.126'}], 'gateway_ip': '151.187.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.187.189.66', 'tags': [], 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350'}} 2026-01-05 02:05:25,468 - INFO - Created VN ctest-vn-14007664 2026-01-05 02:05:25,519 - DEBUG - VN ctest-vn-14007664 UUID is 1541a857-02ec-4f12-8ffc-e75e428c2539 2026-01-05 02:05:25,626 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-91878904', 'ctest-vmi-27951426']} 2026-01-05 02:05:25,920 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27951426', 'id': '23c34698-3b1e-4e20-84bf-50f0aa971c3b', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'network_id': '1541a857-02ec-4f12-8ffc-e75e428c2539', 'mac_address': '02:23:c3:46:98:3b', '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': '151.187.189.67', 'subnet_id': '302b3cca-2028-4672-8efa-c3fd94878307'}], 'security_groups': ['1a7b4e4b-e9c0-43eb-ab92-012a4badbf38'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350'}} 2026-01-05 02:05:25,920 - DEBUG - Created port 23c34698-3b1e-4e20-84bf-50f0aa971c3b 2026-01-05 02:05:26,031 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/23c34698-3b1e-4e20-84bf-50f0aa971c3b 2026-01-05 02:05:26,332 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/23c34698-3b1e-4e20-84bf-50f0aa971c3b 2026-01-05 02:05:26,364 - INFO - VMI 23c34698-3b1e-4e20-84bf-50f0aa971c3b verification in API Server passed 2026-01-05 02:05:26,466 - DEBUG - Response for delete_port : () 2026-01-05 02:05:26,466 - INFO - Deleted port 23c34698-3b1e-4e20-84bf-50f0aa971c3b 2026-01-05 02:05:26,467 - INFO - Deleting VN ctest-vn-14007664 2026-01-05 02:05:26,583 - DEBUG - Response for deleting network () 2026-01-05 02:05:26,841 - DEBUG - No XMPP flaps were noticed during the test 2026-01-05 02:05:26,841 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2026-01-05 02:05:26,841 - INFO - -------------------------------------------------------------------------------- 2026-01-05 02:05:26,844 - INFO - ================================================================================ 2026-01-05 02:05:26,844 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-05 02:05:26,844 - 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-05 02:05:27,128 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0'}} with 2026-01-05 02:05:27,128 - INFO - Initial checks done. Running the testcase now 2026-01-05 02:05:27,128 - INFO - 2026-01-05 02:05:27,297 - DEBUG - Response for create_network : {'network': {'id': '974021d3-8a30-4e62-b7cf-c6a35c77f447', 'name': 'ctest-vn1-64489948', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91878904', 'ctest-vn1-64489948'], 'port_security_enabled': True, 'description': ''}} 2026-01-05 02:05:27,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f7566c8-8855-4b34-8886-57bb39526d0e', 'name': '', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'network_id': '974021d3-8a30-4e62-b7cf-c6a35c77f447', 'ip_version': 4, 'cidr': '39.97.79.64/26', 'allocation_pools': [{'start': '39.97.79.66', 'end': '39.97.79.126'}], 'gateway_ip': '39.97.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.97.79.66', 'tags': [], 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350'}} 2026-01-05 02:05:27,659 - DEBUG - Response for create_subnet : {'subnet': {'id': '816d70c7-8917-41d6-bf10-d55d93eec57f', 'name': '', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'network_id': '974021d3-8a30-4e62-b7cf-c6a35c77f447', 'ip_version': 4, 'cidr': '17.198.163.192/26', 'allocation_pools': [{'start': '17.198.163.194', 'end': '17.198.163.254'}], 'gateway_ip': '17.198.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.198.163.194', 'tags': [], 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350'}} 2026-01-05 02:05:27,676 - INFO - Created VN ctest-vn1-64489948 2026-01-05 02:05:27,727 - DEBUG - VN ctest-vn1-64489948 UUID is 974021d3-8a30-4e62-b7cf-c6a35c77f447 2026-01-05 02:05:28,043 - DEBUG - Response for create_port : {'port': {'name': 'f58b5422-fc2b-4533-b08e-ddec1eacbaf8', 'id': 'f58b5422-fc2b-4533-b08e-ddec1eacbaf8', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'network_id': '974021d3-8a30-4e62-b7cf-c6a35c77f447', 'mac_address': '02:f5:8b:54:22:fc', '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': '39.97.79.69', 'subnet_id': '0f7566c8-8855-4b34-8886-57bb39526d0e'}], 'security_groups': ['1a7b4e4b-e9c0-43eb-ab92-012a4badbf38'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350'}} 2026-01-05 02:05:28,205 - DEBUG - Response for create_port : {'port': {'name': 'c46f6f7a-a451-4fcf-8c5e-33e89684387d', 'id': 'c46f6f7a-a451-4fcf-8c5e-33e89684387d', 'tenant_id': '196ccb1e10dd4cd48c4e6ad551f73350', 'network_id': '974021d3-8a30-4e62-b7cf-c6a35c77f447', 'mac_address': '02:c4:6f:6f:7a:a4', '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': '17.198.163.197', 'subnet_id': '816d70c7-8917-41d6-bf10-d55d93eec57f'}], 'security_groups': ['1a7b4e4b-e9c0-43eb-ab92-012a4badbf38'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '196ccb1e10dd4cd48c4e6ad551f73350'}} 2026-01-05 02:05:28,266 - DEBUG - Services list from nova: [, , ] 2026-01-05 02:05:28,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4960-1) 2026-01-05 02:05:29,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4960-1) 2026-01-05 02:05:29,030 - INFO - Waiting for VM ctest-vn1-vm1-78175623 to be up.. 2026-01-05 02:05:29,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-05 02:05:34,140 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:05:34,140 - INFO - VM name : ctest-vn1-vm1-78175623 2026-01-05 02:05:34,219 - DEBUG - VM ctest-vn1-vm1-78175623 ID is 8af0290e-0d97-44d7-b621-29d91039e909 2026-01-05 02:05:34,238 - DEBUG - VM ctest-vn1-vm1-78175623 launched on Node cn-jenkins-deploy-platform-ansible-os-4960-1 2026-01-05 02:05:34,311 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8af0290e-0d97-44d7-b621-29d91039e909 2026-01-05 02:05:34,319 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/f58b5422-fc2b-4533-b08e-ddec1eacbaf8 2026-01-05 02:05:37,569 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-01-05 02:05:37,569 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-78175623 failed! 2026-01-05 02:05:37,623 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91878904:ctest-vn1-64489948 is 39.97.79.65 and allocation pool is NOT set 2026-01-05 02:05:37,623 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91878904:ctest-vn1-64489948 is 17.198.163.193 and allocation pool is NOT set 2026-01-05 02:05:39,691 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.84 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 = 2.842/5.932/9.023/3.090 ms') 2026-01-05 02:05:39,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-78175623 passed 2026-01-05 02:05:39,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:05:39,839 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78175623, IP 39.97.79.69, Port 22 2026-01-05 02:05:39,895 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-01-05 02:05:39,966 - DEBUG - VM ctest-vn1-vm1-78175623 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-05 02:05:44,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:05:44,967 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78175623, IP 39.97.79.69, Port 22 2026-01-05 02:05:45,127 - DEBUG - VM ctest-vn1-vm1-78175623 is ready for SSH connections 2026-01-05 02:05:45,127 - INFO - Waiting for VM ctest-vn1-vm2-20480674 to be up.. 2026-01-05 02:05:45,206 - DEBUG - VM is in ACTIVE state now 2026-01-05 02:05:45,206 - INFO - VM name : ctest-vn1-vm2-20480674 2026-01-05 02:05:45,278 - DEBUG - VM ctest-vn1-vm2-20480674 ID is 04c4a055-7370-4c64-b249-a8206dac1168 2026-01-05 02:05:45,279 - DEBUG - VM ctest-vn1-vm2-20480674 launched on Node cn-jenkins-deploy-platform-ansible-os-4960-1 2026-01-05 02:05:45,348 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/04c4a055-7370-4c64-b249-a8206dac1168 2026-01-05 02:05:45,355 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/c46f6f7a-a451-4fcf-8c5e-33e89684387d 2026-01-05 02:05:46,586 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.426 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.426/1.595/2.764/1.169 ms') 2026-01-05 02:05:46,586 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-20480674 passed 2026-01-05 02:05:46,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:05:46,735 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-20480674, IP 17.198.163.197, Port 22 2026-01-05 02:05:46,905 - DEBUG - VM ctest-vn1-vm2-20480674 is ready for SSH connections 2026-01-05 02:05:46,905 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:05:46,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:05:46,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-05 02:05:46,906 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.97.79.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-01-05 02:05:46,906 - DEBUG - ping -s 56 -c 3 -W 1 39.97.79.69 2026-01-05 02:05:51,047 - DEBUG - PING 39.97.79.69 (39.97.79.69): 56 data bytes 64 bytes from 39.97.79.69: seq=0 ttl=63 time=3.612 ms 64 bytes from 39.97.79.69: seq=1 ttl=63 time=0.776 ms 64 bytes from 39.97.79.69: seq=2 ttl=63 time=0.704 ms --- 39.97.79.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.704/1.697/3.612 ms 2026-01-05 02:05:51,047 - INFO - Ping to IP 39.97.79.69 from VM ctest-vn1-vm2-20480674 passed 2026-01-05 02:05:51,047 - INFO - Detaching port c46f6f7a-a451-4fcf-8c5e-33e89684387d from VM ctest-vn1-vm2-20480674 2026-01-05 02:05:51,099 - INFO - Deleting VM ctest-vn1-vm2-20480674 2026-01-05 02:05:51,167 - INFO - Detaching port f58b5422-fc2b-4533-b08e-ddec1eacbaf8 from VM ctest-vn1-vm1-78175623 2026-01-05 02:05:51,203 - INFO - Deleting VM ctest-vn1-vm1-78175623 2026-01-05 02:05:51,448 - DEBUG - Response for delete_port : () 2026-01-05 02:05:51,604 - DEBUG - Response for delete_port : () 2026-01-05 02:05:51,605 - INFO - Deleting VN ctest-vn1-64489948 2026-01-05 02:05:51,744 - DEBUG - Response for deleting network () 2026-01-05 02:05:52,008 - DEBUG - No XMPP flaps were noticed during the test 2026-01-05 02:05:52,008 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2026-01-05 02:05:52,010 - INFO - -------------------------------------------------------------------------------- 2026-01-05 02:05:52,688 - INFO - Deleted project: ctest-TestPorts-91878904, ID : 196ccb1e-10dd-4cd4-8c4e-6ad551f73350