2026-01-28 19:07:14,606 - INFO - Domain Default found not creating
2026-01-28 19:07:14,766 - INFO - Project ctest-TestPorts-68918342 not found, creating it
2026-01-28 19:07:15,241 - INFO - Created Project:ctest-TestPorts-68918342, ID : 457ad20a-a23a-472a-bcbe-d88ed21b4632
2026-01-28 19:07:16,718 - INFO - ================================================================================
2026-01-28 19:07:16,718 - INFO - STARTING TEST : test_ports_bindings
2026-01-28 19:07:16,718 - 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-28 19:07:16,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2026-01-28 19:07:16,973 - INFO - Initial checks done. Running the testcase now
2026-01-28 19:07:16,973 - INFO -
2026-01-28 19:07:17,571 - DEBUG - Response for create_network : {'network': {'id': 'c69393a9-c7d8-4435-98a7-fda6c532d1f6', 'name': 'ctest-vn-27512533', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'project_id': '457ad20aa23a472abcbed88ed21b4632', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68918342', 'ctest-vn-27512533'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 19:07:17,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aabe8c22-f366-4b70-9fa2-41e7b258a4a7', 'name': '', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'network_id': 'c69393a9-c7d8-4435-98a7-fda6c532d1f6', 'ip_version': 4, 'cidr': '158.174.39.64/26', 'allocation_pools': [{'start': '158.174.39.66', 'end': '158.174.39.126'}], 'gateway_ip': '158.174.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.174.39.66', 'tags': [], 'project_id': '457ad20aa23a472abcbed88ed21b4632'}}
2026-01-28 19:07:17,771 - INFO - Created VN ctest-vn-27512533
2026-01-28 19:07:17,827 - DEBUG - VN ctest-vn-27512533 UUID is c69393a9-c7d8-4435-98a7-fda6c532d1f6
2026-01-28 19:07:17,932 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-68918342', 'ctest-vmi-23126205']}
2026-01-28 19:07:18,206 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-23126205', 'id': '1ce2377f-8a2d-4ec1-b7a6-95babf3c2808', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'network_id': 'c69393a9-c7d8-4435-98a7-fda6c532d1f6', 'mac_address': '02:1c:e2:37:7f:8a', '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': '158.174.39.67', 'subnet_id': 'aabe8c22-f366-4b70-9fa2-41e7b258a4a7'}], 'security_groups': ['6c53639c-2059-4e1c-8c12-518028156f52'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '457ad20aa23a472abcbed88ed21b4632'}}
2026-01-28 19:07:18,206 - DEBUG - Created port 1ce2377f-8a2d-4ec1-b7a6-95babf3c2808
2026-01-28 19:07:18,311 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/1ce2377f-8a2d-4ec1-b7a6-95babf3c2808
2026-01-28 19:07:18,605 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/1ce2377f-8a2d-4ec1-b7a6-95babf3c2808
2026-01-28 19:07:18,641 - INFO - VMI 1ce2377f-8a2d-4ec1-b7a6-95babf3c2808 verification in API Server passed
2026-01-28 19:07:18,736 - DEBUG - Response for delete_port : ()
2026-01-28 19:07:18,736 - INFO - Deleted port 1ce2377f-8a2d-4ec1-b7a6-95babf3c2808
2026-01-28 19:07:18,736 - INFO - Deleting VN ctest-vn-27512533
2026-01-28 19:07:18,842 - DEBUG - Response for deleting network ()
2026-01-28 19:07:19,096 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 19:07:19,096 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-28 19:07:19,096 - INFO - --------------------------------------------------------------------------------
2026-01-28 19:07:19,098 - INFO - ================================================================================
2026-01-28 19:07:19,098 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-28 19:07:19,098 - 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-28 19:07:19,384 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2026-01-28 19:07:19,384 - INFO - Initial checks done. Running the testcase now
2026-01-28 19:07:19,384 - INFO -
2026-01-28 19:07:19,566 - DEBUG - Response for create_network : {'network': {'id': 'c3d178c0-0c7c-43e4-8c57-279da1762e6b', 'name': 'ctest-vn1-28760322', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'project_id': '457ad20aa23a472abcbed88ed21b4632', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-68918342', 'ctest-vn1-28760322'], 'port_security_enabled': True, 'description': ''}}
2026-01-28 19:07:19,750 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cad25207-6be4-4004-b87c-eb887483020e', 'name': '', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'network_id': 'c3d178c0-0c7c-43e4-8c57-279da1762e6b', 'ip_version': 4, 'cidr': '93.18.180.192/26', 'allocation_pools': [{'start': '93.18.180.194', 'end': '93.18.180.254'}], 'gateway_ip': '93.18.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.18.180.194', 'tags': [], 'project_id': '457ad20aa23a472abcbed88ed21b4632'}}
2026-01-28 19:07:19,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '954c1af0-3160-4d4e-bce1-1982e2bf70f5', 'name': '', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'network_id': 'c3d178c0-0c7c-43e4-8c57-279da1762e6b', 'ip_version': 4, 'cidr': '85.180.116.64/26', 'allocation_pools': [{'start': '85.180.116.66', 'end': '85.180.116.126'}], 'gateway_ip': '85.180.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.180.116.66', 'tags': [], 'project_id': '457ad20aa23a472abcbed88ed21b4632'}}
2026-01-28 19:07:19,983 - INFO - Created VN ctest-vn1-28760322
2026-01-28 19:07:20,035 - DEBUG - VN ctest-vn1-28760322 UUID is c3d178c0-0c7c-43e4-8c57-279da1762e6b
2026-01-28 19:07:20,336 - DEBUG - Response for create_port : {'port': {'name': '9d68670b-a8bc-46bc-84b6-9a7e96533426', 'id': '9d68670b-a8bc-46bc-84b6-9a7e96533426', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'network_id': 'c3d178c0-0c7c-43e4-8c57-279da1762e6b', 'mac_address': '02:9d:68:67:0b:a8', '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': '93.18.180.197', 'subnet_id': 'cad25207-6be4-4004-b87c-eb887483020e'}], 'security_groups': ['6c53639c-2059-4e1c-8c12-518028156f52'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '457ad20aa23a472abcbed88ed21b4632'}}
2026-01-28 19:07:20,498 - DEBUG - Response for create_port : {'port': {'name': '5747ba23-b3ad-4e4e-ba0d-a3c3bd155511', 'id': '5747ba23-b3ad-4e4e-ba0d-a3c3bd155511', 'tenant_id': '457ad20aa23a472abcbed88ed21b4632', 'network_id': 'c3d178c0-0c7c-43e4-8c57-279da1762e6b', 'mac_address': '02:57:47:ba:23:b3', '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.180.116.69', 'subnet_id': '954c1af0-3160-4d4e-bce1-1982e2bf70f5'}], 'security_groups': ['6c53639c-2059-4e1c-8c12-518028156f52'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '457ad20aa23a472abcbed88ed21b4632'}}
2026-01-28 19:07:20,553 - DEBUG - Services list from nova: [, , ]
2026-01-28 19:07:20,873 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5100-1)
2026-01-28 19:07:21,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5100-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5100-1)
2026-01-28 19:07:21,266 - INFO - Waiting for VM ctest-vn1-vm1-14344907 to be up..
2026-01-28 19:07:21,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-28 19:07:26,383 - DEBUG - VM is in ACTIVE state now
2026-01-28 19:07:26,383 - INFO - VM name : ctest-vn1-vm1-14344907
2026-01-28 19:07:26,476 - DEBUG - VM ctest-vn1-vm1-14344907 ID is 9aaec5e3-8392-446d-8108-cc433e5de0b1
2026-01-28 19:07:26,499 - DEBUG - VM ctest-vn1-vm1-14344907 launched on Node cn-jenkins-deploy-platform-ansible-os-5100-1
2026-01-28 19:07:26,582 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/9aaec5e3-8392-446d-8108-cc433e5de0b1
2026-01-28 19:07:26,603 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9d68670b-a8bc-46bc-84b6-9a7e96533426
2026-01-28 19:07:29,873 - 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-01-28 19:07:29,873 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14344907 failed!
2026-01-28 19:07:29,927 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68918342:ctest-vn1-28760322 is 93.18.180.193 and allocation pool is NOT set
2026-01-28 19:07:29,927 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-68918342:ctest-vn1-28760322 is 85.180.116.65 and allocation pool is NOT set
2026-01-28 19:07:31,994 - 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=11.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.27 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 = 2.267/6.875/11.483/4.608 ms')
2026-01-28 19:07:31,994 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-14344907 passed
2026-01-28 19:07:32,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-28 19:07:32,147 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14344907, IP 93.18.180.197, Port 22
2026-01-28 19:07:32,202 - 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-28 19:07:32,274 - DEBUG - VM ctest-vn1-vm1-14344907 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-28 19:07:37,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-28 19:07:37,275 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-14344907, IP 93.18.180.197, Port 22
2026-01-28 19:07:37,430 - DEBUG - VM ctest-vn1-vm1-14344907 is ready for SSH connections
2026-01-28 19:07:37,430 - INFO - Waiting for VM ctest-vn1-vm2-91411654 to be up..
2026-01-28 19:07:37,500 - DEBUG - VM is in ACTIVE state now
2026-01-28 19:07:37,500 - INFO - VM name : ctest-vn1-vm2-91411654
2026-01-28 19:07:37,570 - DEBUG - VM ctest-vn1-vm2-91411654 ID is 7feafa8e-02f7-4dfa-b12e-95595f771812
2026-01-28 19:07:37,570 - DEBUG - VM ctest-vn1-vm2-91411654 launched on Node cn-jenkins-deploy-platform-ansible-os-5100-1
2026-01-28 19:07:37,639 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/7feafa8e-02f7-4dfa-b12e-95595f771812
2026-01-28 19:07:37,648 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5747ba23-b3ad-4e4e-ba0d-a3c3bd155511
2026-01-28 19:07:38,882 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.397/1.592/2.787/1.195 ms')
2026-01-28 19:07:38,882 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91411654 passed
2026-01-28 19:07:39,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-28 19:07:39,031 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91411654, IP 85.180.116.69, Port 22
2026-01-28 19:07:39,183 - DEBUG - VM ctest-vn1-vm2-91411654 is ready for SSH connections
2026-01-28 19:07:39,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-28 19:07:39,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-28 19:07:39,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-28 19:07:39,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 93.18.180.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-01-28 19:07:39,183 - DEBUG - ping -s 56 -c 3 -W 1 93.18.180.197
2026-01-28 19:07:41,816 - DEBUG - PING 93.18.180.197 (93.18.180.197): 56 data bytes
64 bytes from 93.18.180.197: seq=0 ttl=63 time=4.001 ms
64 bytes from 93.18.180.197: seq=1 ttl=63 time=0.894 ms
64 bytes from 93.18.180.197: seq=2 ttl=63 time=2.053 ms
--- 93.18.180.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.894/2.316/4.001 ms
2026-01-28 19:07:41,816 - INFO - Ping to IP 93.18.180.197 from VM ctest-vn1-vm2-91411654 passed
2026-01-28 19:07:41,816 - INFO - Detaching port 5747ba23-b3ad-4e4e-ba0d-a3c3bd155511 from VM ctest-vn1-vm2-91411654
2026-01-28 19:07:41,866 - INFO - Deleting VM ctest-vn1-vm2-91411654
2026-01-28 19:07:41,929 - INFO - Detaching port 9d68670b-a8bc-46bc-84b6-9a7e96533426 from VM ctest-vn1-vm1-14344907
2026-01-28 19:07:41,961 - INFO - Deleting VM ctest-vn1-vm1-14344907
2026-01-28 19:07:42,172 - DEBUG - Response for delete_port : ()
2026-01-28 19:07:42,360 - DEBUG - Response for delete_port : ()
2026-01-28 19:07:42,360 - INFO - Deleting VN ctest-vn1-28760322
2026-01-28 19:07:42,490 - DEBUG - Response for deleting network ()
2026-01-28 19:07:42,743 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 19:07:42,743 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-01-28 19:07:42,743 - INFO - --------------------------------------------------------------------------------
2026-01-28 19:07:43,997 - INFO - Deleted project: ctest-TestPorts-68918342, ID : 457ad20a-a23a-472a-bcbe-d88ed21b4632