2026-02-03 17:16:08,948 - INFO - Domain Default found not creating
2026-02-03 17:16:09,153 - INFO - Project ctest-TestPorts-48451582 not found, creating it
2026-02-03 17:16:09,676 - INFO - Created Project:ctest-TestPorts-48451582, ID : 8a8f3c99-64f5-43e3-826c-1c17d4522305
2026-02-03 17:16:11,307 - INFO - ================================================================================
2026-02-03 17:16:11,307 - INFO - STARTING TEST : test_ports_bindings
2026-02-03 17:16:11,307 - 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-02-03 17:16:11,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-02-03 17:16:11,590 - INFO - Initial checks done. Running the testcase now
2026-02-03 17:16:11,590 - INFO -
2026-02-03 17:16:12,186 - DEBUG - Response for create_network : {'network': {'id': '427bdc31-9a3b-4305-9286-f2e17327388e', 'name': 'ctest-vn-90171243', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'project_id': '8a8f3c9964f543e3826c1c17d4522305', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48451582', 'ctest-vn-90171243'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 17:16:12,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '837e6ba3-ee92-4292-a25b-b89ce4520fe6', 'name': '', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'network_id': '427bdc31-9a3b-4305-9286-f2e17327388e', 'ip_version': 4, 'cidr': '32.56.79.64/26', 'allocation_pools': [{'start': '32.56.79.66', 'end': '32.56.79.126'}], 'gateway_ip': '32.56.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.56.79.66', 'tags': [], 'project_id': '8a8f3c9964f543e3826c1c17d4522305'}}
2026-02-03 17:16:12,439 - INFO - Created VN ctest-vn-90171243
2026-02-03 17:16:12,501 - DEBUG - VN ctest-vn-90171243 UUID is 427bdc31-9a3b-4305-9286-f2e17327388e
2026-02-03 17:16:12,623 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48451582', 'ctest-vmi-32336920']}
2026-02-03 17:16:12,893 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32336920', 'id': 'b814c073-1917-43bf-9e80-a6d3ff4dc7d0', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'network_id': '427bdc31-9a3b-4305-9286-f2e17327388e', 'mac_address': '02:b8:14:c0:73:19', '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': '32.56.79.67', 'subnet_id': '837e6ba3-ee92-4292-a25b-b89ce4520fe6'}], 'security_groups': ['e51e72bd-0ec2-4892-bd83-57ad756ae22f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8a8f3c9964f543e3826c1c17d4522305'}}
2026-02-03 17:16:12,893 - DEBUG - Created port b814c073-1917-43bf-9e80-a6d3ff4dc7d0
2026-02-03 17:16:13,001 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b814c073-1917-43bf-9e80-a6d3ff4dc7d0
2026-02-03 17:16:13,321 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b814c073-1917-43bf-9e80-a6d3ff4dc7d0
2026-02-03 17:16:13,363 - INFO - VMI b814c073-1917-43bf-9e80-a6d3ff4dc7d0 verification in API Server passed
2026-02-03 17:16:13,472 - DEBUG - Response for delete_port : ()
2026-02-03 17:16:13,472 - INFO - Deleted port b814c073-1917-43bf-9e80-a6d3ff4dc7d0
2026-02-03 17:16:13,472 - INFO - Deleting VN ctest-vn-90171243
2026-02-03 17:16:13,600 - DEBUG - Response for deleting network ()
2026-02-03 17:16:13,859 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 17:16:13,859 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-03 17:16:13,859 - INFO - --------------------------------------------------------------------------------
2026-02-03 17:16:13,862 - INFO - ================================================================================
2026-02-03 17:16:13,862 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-03 17:16:13,862 - 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-02-03 17:16:14,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-02-03 17:16:14,160 - INFO - Initial checks done. Running the testcase now
2026-02-03 17:16:14,160 - INFO -
2026-02-03 17:16:14,397 - DEBUG - Response for create_network : {'network': {'id': '3491025c-3a16-4c2e-aa27-37dc47d31add', 'name': 'ctest-vn1-83565649', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'project_id': '8a8f3c9964f543e3826c1c17d4522305', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48451582', 'ctest-vn1-83565649'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 17:16:14,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef1cc2e6-55f2-4123-838c-b577497ad540', 'name': '', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'network_id': '3491025c-3a16-4c2e-aa27-37dc47d31add', 'ip_version': 4, 'cidr': '83.233.243.192/26', 'allocation_pools': [{'start': '83.233.243.194', 'end': '83.233.243.254'}], 'gateway_ip': '83.233.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.233.243.194', 'tags': [], 'project_id': '8a8f3c9964f543e3826c1c17d4522305'}}
2026-02-03 17:16:14,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '00a26a16-3af0-4f7d-a763-20566347987f', 'name': '', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'network_id': '3491025c-3a16-4c2e-aa27-37dc47d31add', 'ip_version': 4, 'cidr': '219.99.8.64/26', 'allocation_pools': [{'start': '219.99.8.66', 'end': '219.99.8.126'}], 'gateway_ip': '219.99.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.99.8.66', 'tags': [], 'project_id': '8a8f3c9964f543e3826c1c17d4522305'}}
2026-02-03 17:16:14,876 - INFO - Created VN ctest-vn1-83565649
2026-02-03 17:16:14,929 - DEBUG - VN ctest-vn1-83565649 UUID is 3491025c-3a16-4c2e-aa27-37dc47d31add
2026-02-03 17:16:15,294 - DEBUG - Response for create_port : {'port': {'name': 'ade32aa3-9e27-4390-8c0f-0099a5f1c1e9', 'id': 'ade32aa3-9e27-4390-8c0f-0099a5f1c1e9', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'network_id': '3491025c-3a16-4c2e-aa27-37dc47d31add', 'mac_address': '02:ad:e3:2a:a3:9e', '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': '83.233.243.197', 'subnet_id': 'ef1cc2e6-55f2-4123-838c-b577497ad540'}], 'security_groups': ['e51e72bd-0ec2-4892-bd83-57ad756ae22f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8a8f3c9964f543e3826c1c17d4522305'}}
2026-02-03 17:16:15,508 - DEBUG - Response for create_port : {'port': {'name': 'dd874d6f-5c2c-4e81-be8c-510adc3030e6', 'id': 'dd874d6f-5c2c-4e81-be8c-510adc3030e6', 'tenant_id': '8a8f3c9964f543e3826c1c17d4522305', 'network_id': '3491025c-3a16-4c2e-aa27-37dc47d31add', 'mac_address': '02:dd:87:4d:6f:5c', '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': '219.99.8.69', 'subnet_id': '00a26a16-3af0-4f7d-a763-20566347987f'}], 'security_groups': ['e51e72bd-0ec2-4892-bd83-57ad756ae22f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8a8f3c9964f543e3826c1c17d4522305'}}
2026-02-03 17:16:15,579 - DEBUG - Services list from nova: [, , ]
2026-02-03 17:16:15,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5192-1)
2026-02-03 17:16:16,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5192-1)
2026-02-03 17:16:16,504 - INFO - Waiting for VM ctest-vn1-vm1-63476155 to be up..
2026-02-03 17:16:16,568 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-03 17:16:21,658 - DEBUG - VM is in ACTIVE state now
2026-02-03 17:16:21,658 - INFO - VM name : ctest-vn1-vm1-63476155
2026-02-03 17:16:21,748 - DEBUG - VM ctest-vn1-vm1-63476155 ID is fc0e766d-165e-4023-b216-58cfe75cdfae
2026-02-03 17:16:21,772 - DEBUG - VM ctest-vn1-vm1-63476155 launched on Node cn-jenkins-deploy-platform-ansible-os-5192-1
2026-02-03 17:16:21,861 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fc0e766d-165e-4023-b216-58cfe75cdfae
2026-02-03 17:16:21,873 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ade32aa3-9e27-4390-8c0f-0099a5f1c1e9
2026-02-03 17:16:25,127 - 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 1014ms')
2026-02-03 17:16:25,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63476155 failed!
2026-02-03 17:16:25,185 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48451582:ctest-vn1-83565649 is 83.233.243.193 and allocation pool is NOT set
2026-02-03 17:16:25,185 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48451582:ctest-vn1-83565649 is 219.99.8.65 and allocation pool is NOT set
2026-02-03 17:16:29,260 - 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=3.66 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 3.658/3.658/3.658/0.000 ms')
2026-02-03 17:16:29,260 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63476155 passed
2026-02-03 17:16:29,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 17:16:29,413 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63476155, IP 83.233.243.197, Port 22
2026-02-03 17:16:29,485 - 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-02-03 17:16:29,586 - DEBUG - VM ctest-vn1-vm1-63476155 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-03 17:16:34,587 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 17:16:34,587 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63476155, IP 83.233.243.197, Port 22
2026-02-03 17:16:34,759 - DEBUG - VM ctest-vn1-vm1-63476155 is ready for SSH connections
2026-02-03 17:16:34,759 - INFO - Waiting for VM ctest-vn1-vm2-09839567 to be up..
2026-02-03 17:16:34,849 - DEBUG - VM is in ACTIVE state now
2026-02-03 17:16:34,849 - INFO - VM name : ctest-vn1-vm2-09839567
2026-02-03 17:16:34,935 - DEBUG - VM ctest-vn1-vm2-09839567 ID is b4fdeb21-232d-4bd4-8628-3d05fef0bf77
2026-02-03 17:16:34,936 - DEBUG - VM ctest-vn1-vm2-09839567 launched on Node cn-jenkins-deploy-platform-ansible-os-5192-1
2026-02-03 17:16:35,024 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b4fdeb21-232d-4bd4-8628-3d05fef0bf77
2026-02-03 17:16:35,035 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dd874d6f-5c2c-4e81-be8c-510adc3030e6
2026-02-03 17:16:36,284 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.875/3.297/1.421 ms')
2026-02-03 17:16:36,284 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-09839567 passed
2026-02-03 17:16:36,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 17:16:36,441 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-09839567, IP 219.99.8.69, Port 22
2026-02-03 17:16:36,608 - DEBUG - VM ctest-vn1-vm2-09839567 is ready for SSH connections
2026-02-03 17:16:36,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 17:16:36,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 17:16:36,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 17:16:36,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.233.243.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-02-03 17:16:36,608 - DEBUG - ping -s 56 -c 3 -W 1 83.233.243.197
2026-02-03 17:16:39,339 - DEBUG - PING 83.233.243.197 (83.233.243.197): 56 data bytes
64 bytes from 83.233.243.197: seq=0 ttl=63 time=4.612 ms
64 bytes from 83.233.243.197: seq=1 ttl=63 time=1.000 ms
64 bytes from 83.233.243.197: seq=2 ttl=63 time=1.443 ms
--- 83.233.243.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.000/2.351/4.612 ms
2026-02-03 17:16:39,339 - INFO - Ping to IP 83.233.243.197 from VM ctest-vn1-vm2-09839567 passed
2026-02-03 17:16:39,339 - INFO - Detaching port dd874d6f-5c2c-4e81-be8c-510adc3030e6 from VM ctest-vn1-vm2-09839567
2026-02-03 17:16:39,399 - INFO - Deleting VM ctest-vn1-vm2-09839567
2026-02-03 17:16:39,476 - INFO - Detaching port ade32aa3-9e27-4390-8c0f-0099a5f1c1e9 from VM ctest-vn1-vm1-63476155
2026-02-03 17:16:39,523 - INFO - Deleting VM ctest-vn1-vm1-63476155
2026-02-03 17:16:39,827 - DEBUG - Response for delete_port : ()
2026-02-03 17:16:40,040 - DEBUG - Response for delete_port : ()
2026-02-03 17:16:40,041 - INFO - Deleting VN ctest-vn1-83565649
2026-02-03 17:16:40,197 - DEBUG - Response for deleting network ()
2026-02-03 17:16:40,493 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 17:16:40,494 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-02-03 17:16:40,494 - INFO - --------------------------------------------------------------------------------
2026-02-03 17:16:41,503 - INFO - Deleted project: ctest-TestPorts-48451582, ID : 8a8f3c99-64f5-43e3-826c-1c17d4522305