2026-05-13 12:38:50,689 - INFO - Domain Default found not creating 2026-05-13 12:38:50,862 - INFO - Project ctest-TestPorts-79375904 not found, creating it 2026-05-13 12:38:51,315 - INFO - Created Project:ctest-TestPorts-79375904, ID : 7c091d67-9af3-4e06-adde-42d3fbbbc804 2026-05-13 12:38:53,031 - INFO - ================================================================================ 2026-05-13 12:38:53,031 - INFO - STARTING TEST : test_ports_bindings 2026-05-13 12:38:53,031 - 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-05-13 12:38:53,301 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-13 12:38:53,302 - INFO - Initial checks done. Running the testcase now 2026-05-13 12:38:53,302 - INFO - 2026-05-13 12:38:53,845 - DEBUG - Response for create_network : {'network': {'id': 'ee3c0cee-4c00-4d48-843b-d813cb09a8b5', 'name': 'ctest-vn-34638438', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'project_id': '7c091d679af34e06adde42d3fbbbc804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79375904', 'ctest-vn-34638438'], 'port_security_enabled': True, 'description': ''}} 2026-05-13 12:38:54,000 - DEBUG - Response for create_subnet : {'subnet': {'id': '7502a0cb-0e22-4c93-8fcb-51ca2c0140ed', 'name': '', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'network_id': 'ee3c0cee-4c00-4d48-843b-d813cb09a8b5', 'ip_version': 4, 'cidr': '192.169.162.192/26', 'allocation_pools': [{'start': '192.169.162.194', 'end': '192.169.162.254'}], 'gateway_ip': '192.169.162.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.169.162.194', 'tags': [], 'project_id': '7c091d679af34e06adde42d3fbbbc804'}} 2026-05-13 12:38:54,017 - INFO - Created VN ctest-vn-34638438 2026-05-13 12:38:54,069 - DEBUG - VN ctest-vn-34638438 UUID is ee3c0cee-4c00-4d48-843b-d813cb09a8b5 2026-05-13 12:38:54,177 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79375904', 'ctest-vmi-26813302']} 2026-05-13 12:38:54,459 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-26813302', 'id': 'dbe9e528-037e-4a0b-82e0-e64ac00ed21a', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'network_id': 'ee3c0cee-4c00-4d48-843b-d813cb09a8b5', 'mac_address': '02:db:e9:e5:28:03', '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': '192.169.162.195', 'subnet_id': '7502a0cb-0e22-4c93-8fcb-51ca2c0140ed'}], 'security_groups': ['f995a31c-1c17-4b26-8c98-75da5b02d113'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c091d679af34e06adde42d3fbbbc804'}} 2026-05-13 12:38:54,459 - DEBUG - Created port dbe9e528-037e-4a0b-82e0-e64ac00ed21a 2026-05-13 12:38:54,561 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dbe9e528-037e-4a0b-82e0-e64ac00ed21a 2026-05-13 12:38:54,856 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/dbe9e528-037e-4a0b-82e0-e64ac00ed21a 2026-05-13 12:38:54,891 - INFO - VMI dbe9e528-037e-4a0b-82e0-e64ac00ed21a verification in API Server passed 2026-05-13 12:38:54,976 - DEBUG - Response for delete_port : () 2026-05-13 12:38:54,976 - INFO - Deleted port dbe9e528-037e-4a0b-82e0-e64ac00ed21a 2026-05-13 12:38:54,976 - INFO - Deleting VN ctest-vn-34638438 2026-05-13 12:38:55,077 - DEBUG - Response for deleting network () 2026-05-13 12:38:55,330 - DEBUG - No XMPP flaps were noticed during the test
2026-05-13 12:38:55,330 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-05-13 12:38:55,330 - INFO - -------------------------------------------------------------------------------- 2026-05-13 12:38:55,332 - INFO - ================================================================================ 2026-05-13 12:38:55,332 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-05-13 12:38:55,332 - 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-05-13 12:38:55,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-13 12:38:55,619 - INFO - Initial checks done. Running the testcase now 2026-05-13 12:38:55,619 - INFO - 2026-05-13 12:38:55,795 - DEBUG - Response for create_network : {'network': {'id': '9900b8ab-9818-4d90-b129-801b256c0720', 'name': 'ctest-vn1-02262548', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'project_id': '7c091d679af34e06adde42d3fbbbc804', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79375904', 'ctest-vn1-02262548'], 'port_security_enabled': True, 'description': ''}} 2026-05-13 12:38:55,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '899b8f7b-30c8-4afd-9d89-993cc464c826', 'name': '', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'network_id': '9900b8ab-9818-4d90-b129-801b256c0720', 'ip_version': 4, 'cidr': '164.194.0.192/26', 'allocation_pools': [{'start': '164.194.0.194', 'end': '164.194.0.254'}], 'gateway_ip': '164.194.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.194.0.194', 'tags': [], 'project_id': '7c091d679af34e06adde42d3fbbbc804'}} 2026-05-13 12:38:56,143 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eeb9131-e80e-44c0-aebd-45f343114764', 'name': '', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'network_id': '9900b8ab-9818-4d90-b129-801b256c0720', 'ip_version': 4, 'cidr': '26.40.216.192/26', 'allocation_pools': [{'start': '26.40.216.194', 'end': '26.40.216.254'}], 'gateway_ip': '26.40.216.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.40.216.194', 'tags': [], 'project_id': '7c091d679af34e06adde42d3fbbbc804'}} 2026-05-13 12:38:56,168 - INFO - Created VN ctest-vn1-02262548 2026-05-13 12:38:56,225 - DEBUG - VN ctest-vn1-02262548 UUID is 9900b8ab-9818-4d90-b129-801b256c0720 2026-05-13 12:38:56,532 - DEBUG - Response for create_port : {'port': {'name': '2e2d0072-2e90-4136-901c-65f2bc44ea3c', 'id': '2e2d0072-2e90-4136-901c-65f2bc44ea3c', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'network_id': '9900b8ab-9818-4d90-b129-801b256c0720', 'mac_address': '02:2e:2d:00:72:2e', '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': '164.194.0.197', 'subnet_id': '899b8f7b-30c8-4afd-9d89-993cc464c826'}], 'security_groups': ['f995a31c-1c17-4b26-8c98-75da5b02d113'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c091d679af34e06adde42d3fbbbc804'}} 2026-05-13 12:38:56,705 - DEBUG - Response for create_port : {'port': {'name': '9ed18702-c968-43b1-9d8d-7f3dd8decd6d', 'id': '9ed18702-c968-43b1-9d8d-7f3dd8decd6d', 'tenant_id': '7c091d679af34e06adde42d3fbbbc804', 'network_id': '9900b8ab-9818-4d90-b129-801b256c0720', 'mac_address': '02:9e:d1:87:02:c9', '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': '26.40.216.197', 'subnet_id': '9eeb9131-e80e-44c0-aebd-45f343114764'}], 'security_groups': ['f995a31c-1c17-4b26-8c98-75da5b02d113'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7c091d679af34e06adde42d3fbbbc804'}} 2026-05-13 12:38:56,778 - DEBUG - Services list from nova: [, , ] 2026-05-13 12:38:57,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5773-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5773-1) 2026-05-13 12:38:57,583 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5773-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5773-1) 2026-05-13 12:38:57,583 - INFO - Waiting for VM ctest-vn1-vm1-55871502 to be up.. 2026-05-13 12:38:57,620 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-13 12:39:02,702 - DEBUG - VM is in ACTIVE state now 2026-05-13 12:39:02,702 - INFO - VM name : ctest-vn1-vm1-55871502 2026-05-13 12:39:02,775 - DEBUG - VM ctest-vn1-vm1-55871502 ID is f58f35bf-b9fd-47f5-81b0-f3f3e1e68cf8 2026-05-13 12:39:02,793 - DEBUG - VM ctest-vn1-vm1-55871502 launched on Node cn-jenkins-deploy-platform-ansible-os-5773-1 2026-05-13 12:39:02,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f58f35bf-b9fd-47f5-81b0-f3f3e1e68cf8 2026-05-13 12:39:02,873 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2e2d0072-2e90-4136-901c-65f2bc44ea3c 2026-05-13 12:39:06,126 - 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 1018ms') 2026-05-13 12:39:06,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55871502 failed! 2026-05-13 12:39:06,177 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79375904:ctest-vn1-02262548 is 164.194.0.193 and allocation pool is NOT set 2026-05-13 12:39:06,177 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79375904:ctest-vn1-02262548 is 26.40.216.193 and allocation pool is NOT set 2026-05-13 12:39:08,242 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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 = 3.465/6.991/10.517/3.526 ms') 2026-05-13 12:39:08,242 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55871502 passed 2026-05-13 12:39:08,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 12:39:08,390 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55871502, IP 164.194.0.197, Port 22 2026-05-13 12:39:08,445 - 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-05-13 12:39:08,525 - DEBUG - VM ctest-vn1-vm1-55871502 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-13 12:39:13,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 12:39:13,526 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55871502, IP 164.194.0.197, Port 22 2026-05-13 12:39:13,677 - DEBUG - VM ctest-vn1-vm1-55871502 is ready for SSH connections 2026-05-13 12:39:13,677 - INFO - Waiting for VM ctest-vn1-vm2-35597431 to be up.. 2026-05-13 12:39:13,745 - DEBUG - VM is in ACTIVE state now 2026-05-13 12:39:13,745 - INFO - VM name : ctest-vn1-vm2-35597431 2026-05-13 12:39:13,815 - DEBUG - VM ctest-vn1-vm2-35597431 ID is d0ca14ca-3c79-49e9-b4a8-561cf3a77417 2026-05-13 12:39:13,815 - DEBUG - VM ctest-vn1-vm2-35597431 launched on Node cn-jenkins-deploy-platform-ansible-os-5773-1 2026-05-13 12:39:13,896 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d0ca14ca-3c79-49e9-b4a8-561cf3a77417 2026-05-13 12:39:13,903 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9ed18702-c968-43b1-9d8d-7f3dd8decd6d 2026-05-13 12:39:15,131 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/2.175/3.976/1.801 ms') 2026-05-13 12:39:15,132 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-35597431 passed 2026-05-13 12:39:15,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 12:39:15,281 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35597431, IP 26.40.216.197, Port 22 2026-05-13 12:39:15,433 - DEBUG - VM ctest-vn1-vm2-35597431 is ready for SSH connections 2026-05-13 12:39:15,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 12:39:15,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 12:39:15,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 12:39:15,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.194.0.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-13 12:39:15,434 - DEBUG - ping -s 56 -c 3 -W 1 164.194.0.197 2026-05-13 12:39:18,070 - DEBUG - PING 164.194.0.197 (164.194.0.197): 56 data bytes 64 bytes from 164.194.0.197: seq=0 ttl=63 time=3.636 ms 64 bytes from 164.194.0.197: seq=1 ttl=63 time=0.816 ms 64 bytes from 164.194.0.197: seq=2 ttl=63 time=0.925 ms --- 164.194.0.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.792/3.636 ms 2026-05-13 12:39:18,070 - INFO - Ping to IP 164.194.0.197 from VM ctest-vn1-vm2-35597431 passed 2026-05-13 12:39:18,070 - INFO - Detaching port 9ed18702-c968-43b1-9d8d-7f3dd8decd6d from VM ctest-vn1-vm2-35597431 2026-05-13 12:39:18,121 - INFO - Deleting VM ctest-vn1-vm2-35597431 2026-05-13 12:39:18,189 - INFO - Detaching port 2e2d0072-2e90-4136-901c-65f2bc44ea3c from VM ctest-vn1-vm1-55871502 2026-05-13 12:39:18,229 - INFO - Deleting VM ctest-vn1-vm1-55871502 2026-05-13 12:39:18,487 - DEBUG - Response for delete_port : () 2026-05-13 12:39:18,660 - DEBUG - Response for delete_port : () 2026-05-13 12:39:18,660 - INFO - Deleting VN ctest-vn1-02262548 2026-05-13 12:39:18,805 - DEBUG - Response for deleting network () 2026-05-13 12:39:19,066 - DEBUG - No XMPP flaps were noticed during the test
2026-05-13 12:39:19,066 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-05-13 12:39:19,066 - INFO - -------------------------------------------------------------------------------- 2026-05-13 12:39:19,790 - INFO - Deleted project: ctest-TestPorts-79375904, ID : 7c091d67-9af3-4e06-adde-42d3fbbbc804