2026-01-29 13:28:45,501 - INFO - Domain Default found not creating
2026-01-29 13:28:45,656 - INFO - Project ctest-TestPorts-42186676 not found, creating it
2026-01-29 13:28:46,091 - INFO - Created Project:ctest-TestPorts-42186676, ID : 7322328b-63c5-4462-9bd5-74c30c7df621
2026-01-29 13:28:47,600 - INFO - ================================================================================
2026-01-29 13:28:47,600 - INFO - STARTING TEST : test_ports_bindings
2026-01-29 13:28:47,600 - 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-29 13:28:47,863 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.129': '0'}} with
2026-01-29 13:28:47,863 - INFO - Initial checks done. Running the testcase now
2026-01-29 13:28:47,863 - INFO -
2026-01-29 13:28:48,405 - DEBUG - Response for create_network : {'network': {'id': '75fd18d5-bd49-4f11-b92d-98bfe6b3ede3', 'name': 'ctest-vn-30757333', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'project_id': '7322328b63c544629bd574c30c7df621', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42186676', 'ctest-vn-30757333'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:28:48,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '25dadc1a-6f5c-4f5e-be23-97d3ba46f3d2', 'name': '', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'network_id': '75fd18d5-bd49-4f11-b92d-98bfe6b3ede3', 'ip_version': 4, 'cidr': '110.209.58.192/26', 'allocation_pools': [{'start': '110.209.58.194', 'end': '110.209.58.254'}], 'gateway_ip': '110.209.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.209.58.194', 'tags': [], 'project_id': '7322328b63c544629bd574c30c7df621'}}
2026-01-29 13:28:48,642 - INFO - Created VN ctest-vn-30757333
2026-01-29 13:28:48,694 - DEBUG - VN ctest-vn-30757333 UUID is 75fd18d5-bd49-4f11-b92d-98bfe6b3ede3
2026-01-29 13:28:48,799 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-42186676', 'ctest-vmi-41506390']}
2026-01-29 13:28:49,086 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41506390', 'id': '604a8a9c-cfba-41b6-87c6-5353734dd341', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'network_id': '75fd18d5-bd49-4f11-b92d-98bfe6b3ede3', 'mac_address': '02:60:4a:8a:9c:cf', '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': '110.209.58.195', 'subnet_id': '25dadc1a-6f5c-4f5e-be23-97d3ba46f3d2'}], 'security_groups': ['f2dd06c4-0d67-4aa2-8d17-b144cedb8c3c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7322328b63c544629bd574c30c7df621'}}
2026-01-29 13:28:49,086 - DEBUG - Created port 604a8a9c-cfba-41b6-87c6-5353734dd341
2026-01-29 13:28:49,190 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/604a8a9c-cfba-41b6-87c6-5353734dd341
2026-01-29 13:28:49,481 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/604a8a9c-cfba-41b6-87c6-5353734dd341
2026-01-29 13:28:49,512 - INFO - VMI 604a8a9c-cfba-41b6-87c6-5353734dd341 verification in API Server passed
2026-01-29 13:28:49,611 - DEBUG - Response for delete_port : ()
2026-01-29 13:28:49,611 - INFO - Deleted port 604a8a9c-cfba-41b6-87c6-5353734dd341
2026-01-29 13:28:49,611 - INFO - Deleting VN ctest-vn-30757333
2026-01-29 13:28:49,712 - DEBUG - Response for deleting network ()
2026-01-29 13:28:49,962 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 13:28:49,963 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-29 13:28:49,963 - INFO - --------------------------------------------------------------------------------
2026-01-29 13:28:49,965 - INFO - ================================================================================
2026-01-29 13:28:49,965 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-29 13:28:49,965 - 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-29 13:28:50,252 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.129': '0'}} with
2026-01-29 13:28:50,252 - INFO - Initial checks done. Running the testcase now
2026-01-29 13:28:50,252 - INFO -
2026-01-29 13:28:50,411 - DEBUG - Response for create_network : {'network': {'id': '5b9096e6-c840-44e4-8d32-69cc6ada09c4', 'name': 'ctest-vn1-89025044', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'project_id': '7322328b63c544629bd574c30c7df621', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-42186676', 'ctest-vn1-89025044'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 13:28:50,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '859d8539-f85f-4c3f-bd4c-36202df5c857', 'name': '', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'network_id': '5b9096e6-c840-44e4-8d32-69cc6ada09c4', 'ip_version': 4, 'cidr': '3.247.119.0/26', 'allocation_pools': [{'start': '3.247.119.2', 'end': '3.247.119.62'}], 'gateway_ip': '3.247.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.247.119.2', 'tags': [], 'project_id': '7322328b63c544629bd574c30c7df621'}}
2026-01-29 13:28:50,727 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0c845a4-d87a-44d9-8845-43e88a2ccac0', 'name': '', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'network_id': '5b9096e6-c840-44e4-8d32-69cc6ada09c4', 'ip_version': 4, 'cidr': '142.91.122.128/26', 'allocation_pools': [{'start': '142.91.122.130', 'end': '142.91.122.190'}], 'gateway_ip': '142.91.122.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.91.122.130', 'tags': [], 'project_id': '7322328b63c544629bd574c30c7df621'}}
2026-01-29 13:28:50,744 - INFO - Created VN ctest-vn1-89025044
2026-01-29 13:28:50,794 - DEBUG - VN ctest-vn1-89025044 UUID is 5b9096e6-c840-44e4-8d32-69cc6ada09c4
2026-01-29 13:28:51,076 - DEBUG - Response for create_port : {'port': {'name': '6f6011e1-481c-4fb8-9548-d2b2fc57dd8e', 'id': '6f6011e1-481c-4fb8-9548-d2b2fc57dd8e', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'network_id': '5b9096e6-c840-44e4-8d32-69cc6ada09c4', 'mac_address': '02:6f:60:11:e1:48', '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': '3.247.119.5', 'subnet_id': '859d8539-f85f-4c3f-bd4c-36202df5c857'}], 'security_groups': ['f2dd06c4-0d67-4aa2-8d17-b144cedb8c3c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7322328b63c544629bd574c30c7df621'}}
2026-01-29 13:28:51,251 - DEBUG - Response for create_port : {'port': {'name': '7d2f6985-d6ae-4907-9666-807873f249ae', 'id': '7d2f6985-d6ae-4907-9666-807873f249ae', 'tenant_id': '7322328b63c544629bd574c30c7df621', 'network_id': '5b9096e6-c840-44e4-8d32-69cc6ada09c4', 'mac_address': '02:7d:2f:69:85:d6', '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': '142.91.122.133', 'subnet_id': 'f0c845a4-d87a-44d9-8845-43e88a2ccac0'}], 'security_groups': ['f2dd06c4-0d67-4aa2-8d17-b144cedb8c3c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7322328b63c544629bd574c30c7df621'}}
2026-01-29 13:28:51,303 - DEBUG - Services list from nova: [, , ]
2026-01-29 13:28:51,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5128-1)
2026-01-29 13:28:52,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5128-1)
2026-01-29 13:28:52,003 - INFO - Waiting for VM ctest-vn1-vm1-47630712 to be up..
2026-01-29 13:28:52,044 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-29 13:28:57,111 - DEBUG - VM is in ACTIVE state now
2026-01-29 13:28:57,111 - INFO - VM name : ctest-vn1-vm1-47630712
2026-01-29 13:28:57,300 - DEBUG - VM ctest-vn1-vm1-47630712 ID is f5c12a53-6769-4b7a-a342-2c3a9a7e2ecb
2026-01-29 13:28:57,316 - DEBUG - VM ctest-vn1-vm1-47630712 launched on Node cn-jenkins-deploy-platform-ansible-os-5128-1
2026-01-29 13:28:57,383 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f5c12a53-6769-4b7a-a342-2c3a9a7e2ecb
2026-01-29 13:28:57,390 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/6f6011e1-481c-4fb8-9548-d2b2fc57dd8e
2026-01-29 13:29:00,638 - 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 1023ms')
2026-01-29 13:29:00,638 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47630712 failed!
2026-01-29 13:29:00,690 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42186676:ctest-vn1-89025044 is 3.247.119.1 and allocation pool is NOT set
2026-01-29 13:29:00,690 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-42186676:ctest-vn1-89025044 is 142.91.122.129 and allocation pool is NOT set
2026-01-29 13:29:02,749 - 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=15.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.33 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 = 2.328/8.830/15.333/6.502 ms')
2026-01-29 13:29:02,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47630712 passed
2026-01-29 13:29:02,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 13:29:02,898 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47630712, IP 3.247.119.5, Port 22
2026-01-29 13:29:02,954 - 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-29 13:29:03,031 - DEBUG - VM ctest-vn1-vm1-47630712 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-29 13:29:08,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 13:29:08,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47630712, IP 3.247.119.5, Port 22
2026-01-29 13:29:08,182 - DEBUG - VM ctest-vn1-vm1-47630712 is ready for SSH connections
2026-01-29 13:29:08,182 - INFO - Waiting for VM ctest-vn1-vm2-62548567 to be up..
2026-01-29 13:29:08,257 - DEBUG - VM is in ACTIVE state now
2026-01-29 13:29:08,257 - INFO - VM name : ctest-vn1-vm2-62548567
2026-01-29 13:29:08,327 - DEBUG - VM ctest-vn1-vm2-62548567 ID is 5300899b-7133-4385-aa74-6504dba0fcad
2026-01-29 13:29:08,327 - DEBUG - VM ctest-vn1-vm2-62548567 launched on Node cn-jenkins-deploy-platform-ansible-os-5128-1
2026-01-29 13:29:08,396 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5300899b-7133-4385-aa74-6504dba0fcad
2026-01-29 13:29:08,403 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/7d2f6985-d6ae-4907-9666-807873f249ae
2026-01-29 13:29:09,640 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.845 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.845/1.839/2.834/0.994 ms')
2026-01-29 13:29:09,640 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-62548567 passed
2026-01-29 13:29:09,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 13:29:09,806 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62548567, IP 142.91.122.133, Port 22
2026-01-29 13:29:09,962 - DEBUG - VM ctest-vn1-vm2-62548567 is ready for SSH connections
2026-01-29 13:29:09,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 13:29:09,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 13:29:09,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-29 13:29:09,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.247.119.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2026-01-29 13:29:09,963 - DEBUG - ping -s 56 -c 3 -W 1 3.247.119.5
2026-01-29 13:29:12,619 - DEBUG - PING 3.247.119.5 (3.247.119.5): 56 data bytes
64 bytes from 3.247.119.5: seq=0 ttl=63 time=3.447 ms
64 bytes from 3.247.119.5: seq=1 ttl=63 time=1.025 ms
64 bytes from 3.247.119.5: seq=2 ttl=63 time=0.808 ms
--- 3.247.119.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.808/1.760/3.447 ms
2026-01-29 13:29:12,619 - INFO - Ping to IP 3.247.119.5 from VM ctest-vn1-vm2-62548567 passed
2026-01-29 13:29:12,619 - INFO - Detaching port 7d2f6985-d6ae-4907-9666-807873f249ae from VM ctest-vn1-vm2-62548567
2026-01-29 13:29:12,666 - INFO - Deleting VM ctest-vn1-vm2-62548567
2026-01-29 13:29:12,738 - INFO - Detaching port 6f6011e1-481c-4fb8-9548-d2b2fc57dd8e from VM ctest-vn1-vm1-47630712
2026-01-29 13:29:12,777 - INFO - Deleting VM ctest-vn1-vm1-47630712
2026-01-29 13:29:13,042 - DEBUG - Response for delete_port : ()
2026-01-29 13:29:13,192 - DEBUG - Response for delete_port : ()
2026-01-29 13:29:13,192 - INFO - Deleting VN ctest-vn1-89025044
2026-01-29 13:29:13,310 - DEBUG - Response for deleting network ()
2026-01-29 13:29:13,575 - DEBUG - No XMPP flaps were noticed during the test
2026-01-29 13:29:13,575 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-29 13:29:13,575 - INFO - --------------------------------------------------------------------------------
2026-01-29 13:29:14,297 - INFO - Deleted project: ctest-TestPorts-42186676, ID : 7322328b-63c5-4462-9bd5-74c30c7df621