2026-02-02 09:14:10,596 - INFO - Domain Default found not creating
2026-02-02 09:14:10,788 - INFO - Project ctest-TestPorts-61727597 not found, creating it
2026-02-02 09:14:11,291 - INFO - Created Project:ctest-TestPorts-61727597, ID : 29e9d66c-6818-4865-b9c9-f6e15be310e8
2026-02-02 09:14:12,960 - INFO - ================================================================================
2026-02-02 09:14:12,960 - INFO - STARTING TEST : test_ports_bindings
2026-02-02 09:14:12,960 - 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-02 09:14:13,214 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-02-02 09:14:13,214 - INFO - Initial checks done. Running the testcase now
2026-02-02 09:14:13,214 - INFO -
2026-02-02 09:14:13,779 - DEBUG - Response for create_network : {'network': {'id': 'a5aac768-b143-4683-88d0-8fdfc8badb39', 'name': 'ctest-vn-74132480', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'project_id': '29e9d66c68184865b9c9f6e15be310e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61727597', 'ctest-vn-74132480'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 09:14:13,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '827327bb-24ef-468f-a2e3-6ba9c4be7714', 'name': '', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'network_id': 'a5aac768-b143-4683-88d0-8fdfc8badb39', 'ip_version': 4, 'cidr': '37.203.64.128/26', 'allocation_pools': [{'start': '37.203.64.130', 'end': '37.203.64.190'}], 'gateway_ip': '37.203.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.203.64.130', 'tags': [], 'project_id': '29e9d66c68184865b9c9f6e15be310e8'}}
2026-02-02 09:14:14,002 - INFO - Created VN ctest-vn-74132480
2026-02-02 09:14:14,056 - DEBUG - VN ctest-vn-74132480 UUID is a5aac768-b143-4683-88d0-8fdfc8badb39
2026-02-02 09:14:14,170 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-61727597', 'ctest-vmi-22181436']}
2026-02-02 09:14:14,419 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22181436', 'id': 'daca3868-5571-44bc-a5fc-ce0780acf5c8', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'network_id': 'a5aac768-b143-4683-88d0-8fdfc8badb39', 'mac_address': '02:da:ca:38:68:55', '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': '37.203.64.131', 'subnet_id': '827327bb-24ef-468f-a2e3-6ba9c4be7714'}], 'security_groups': ['f04406a2-f88c-4578-bc75-20d6058fbd69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29e9d66c68184865b9c9f6e15be310e8'}}
2026-02-02 09:14:14,419 - DEBUG - Created port daca3868-5571-44bc-a5fc-ce0780acf5c8
2026-02-02 09:14:14,524 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/daca3868-5571-44bc-a5fc-ce0780acf5c8
2026-02-02 09:14:14,819 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/daca3868-5571-44bc-a5fc-ce0780acf5c8
2026-02-02 09:14:14,866 - INFO - VMI daca3868-5571-44bc-a5fc-ce0780acf5c8 verification in API Server passed
2026-02-02 09:14:14,957 - DEBUG - Response for delete_port : ()
2026-02-02 09:14:14,957 - INFO - Deleted port daca3868-5571-44bc-a5fc-ce0780acf5c8
2026-02-02 09:14:14,957 - INFO - Deleting VN ctest-vn-74132480
2026-02-02 09:14:15,062 - DEBUG - Response for deleting network ()
2026-02-02 09:14:15,318 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 09:14:15,318 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-02 09:14:15,318 - INFO - --------------------------------------------------------------------------------
2026-02-02 09:14:15,321 - INFO - ================================================================================
2026-02-02 09:14:15,321 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-02 09:14:15,321 - 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-02 09:14:15,615 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-02-02 09:14:15,615 - INFO - Initial checks done. Running the testcase now
2026-02-02 09:14:15,615 - INFO -
2026-02-02 09:14:15,800 - DEBUG - Response for create_network : {'network': {'id': 'bc3e9586-cf7d-4460-a243-64c619e6c1ac', 'name': 'ctest-vn1-78522760', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'project_id': '29e9d66c68184865b9c9f6e15be310e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61727597', 'ctest-vn1-78522760'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 09:14:16,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '66d499e3-1183-40c9-8311-ee4908ccaa91', 'name': '', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'network_id': 'bc3e9586-cf7d-4460-a243-64c619e6c1ac', 'ip_version': 4, 'cidr': '220.104.150.192/26', 'allocation_pools': [{'start': '220.104.150.194', 'end': '220.104.150.254'}], 'gateway_ip': '220.104.150.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.104.150.194', 'tags': [], 'project_id': '29e9d66c68184865b9c9f6e15be310e8'}}
2026-02-02 09:14:16,229 - DEBUG - Response for create_subnet : {'subnet': {'id': '215cc90e-b28c-4eb0-a7c0-7d9839971896', 'name': '', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'network_id': 'bc3e9586-cf7d-4460-a243-64c619e6c1ac', 'ip_version': 4, 'cidr': '216.151.171.64/26', 'allocation_pools': [{'start': '216.151.171.66', 'end': '216.151.171.126'}], 'gateway_ip': '216.151.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.151.171.66', 'tags': [], 'project_id': '29e9d66c68184865b9c9f6e15be310e8'}}
2026-02-02 09:14:16,251 - INFO - Created VN ctest-vn1-78522760
2026-02-02 09:14:16,304 - DEBUG - VN ctest-vn1-78522760 UUID is bc3e9586-cf7d-4460-a243-64c619e6c1ac
2026-02-02 09:14:16,645 - DEBUG - Response for create_port : {'port': {'name': '98d64472-70c6-43ae-a347-675d066a688e', 'id': '98d64472-70c6-43ae-a347-675d066a688e', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'network_id': 'bc3e9586-cf7d-4460-a243-64c619e6c1ac', 'mac_address': '02:98:d6:44:72:70', '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': '220.104.150.197', 'subnet_id': '66d499e3-1183-40c9-8311-ee4908ccaa91'}], 'security_groups': ['f04406a2-f88c-4578-bc75-20d6058fbd69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29e9d66c68184865b9c9f6e15be310e8'}}
2026-02-02 09:14:16,828 - DEBUG - Response for create_port : {'port': {'name': 'b2be50e6-04f6-46ba-a108-7d35e3d35707', 'id': 'b2be50e6-04f6-46ba-a108-7d35e3d35707', 'tenant_id': '29e9d66c68184865b9c9f6e15be310e8', 'network_id': 'bc3e9586-cf7d-4460-a243-64c619e6c1ac', 'mac_address': '02:b2:be:50:e6:04', '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': '216.151.171.69', 'subnet_id': '215cc90e-b28c-4eb0-a7c0-7d9839971896'}], 'security_groups': ['f04406a2-f88c-4578-bc75-20d6058fbd69'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '29e9d66c68184865b9c9f6e15be310e8'}}
2026-02-02 09:14:16,903 - DEBUG - Services list from nova: [, , ]
2026-02-02 09:14:17,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5170-1)
2026-02-02 09:14:17,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5170-1)
2026-02-02 09:14:17,738 - INFO - Waiting for VM ctest-vn1-vm1-99526569 to be up..
2026-02-02 09:14:17,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-02 09:14:22,863 - DEBUG - VM is in ACTIVE state now
2026-02-02 09:14:22,863 - INFO - VM name : ctest-vn1-vm1-99526569
2026-02-02 09:14:22,940 - DEBUG - VM ctest-vn1-vm1-99526569 ID is 2265ba66-9b1b-4952-9b89-3df375ad8ab3
2026-02-02 09:14:22,961 - DEBUG - VM ctest-vn1-vm1-99526569 launched on Node cn-jenkins-deploy-platform-ansible-os-5170-1
2026-02-02 09:14:23,044 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2265ba66-9b1b-4952-9b89-3df375ad8ab3
2026-02-02 09:14:23,052 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/98d64472-70c6-43ae-a347-675d066a688e
2026-02-02 09:14:26,308 - 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-02-02 09:14:26,308 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99526569 failed!
2026-02-02 09:14:26,368 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61727597:ctest-vn1-78522760 is 220.104.150.193 and allocation pool is NOT set
2026-02-02 09:14:26,368 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61727597:ctest-vn1-78522760 is 216.151.171.65 and allocation pool is NOT set
2026-02-02 09:14:28,429 - 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=8.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/4.591/8.667/4.076 ms')
2026-02-02 09:14:28,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-99526569 passed
2026-02-02 09:14:28,580 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 09:14:28,580 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99526569, IP 220.104.150.197, Port 22
2026-02-02 09:14:28,650 - 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-02 09:14:28,749 - DEBUG - VM ctest-vn1-vm1-99526569 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-02 09:14:33,750 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 09:14:33,750 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-99526569, IP 220.104.150.197, Port 22
2026-02-02 09:14:33,918 - DEBUG - VM ctest-vn1-vm1-99526569 is ready for SSH connections
2026-02-02 09:14:33,919 - INFO - Waiting for VM ctest-vn1-vm2-69001925 to be up..
2026-02-02 09:14:33,999 - DEBUG - VM is in ACTIVE state now
2026-02-02 09:14:33,999 - INFO - VM name : ctest-vn1-vm2-69001925
2026-02-02 09:14:34,081 - DEBUG - VM ctest-vn1-vm2-69001925 ID is 0e9f9062-66ea-4936-8046-7a2967881ac0
2026-02-02 09:14:34,081 - DEBUG - VM ctest-vn1-vm2-69001925 launched on Node cn-jenkins-deploy-platform-ansible-os-5170-1
2026-02-02 09:14:34,166 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/0e9f9062-66ea-4936-8046-7a2967881ac0
2026-02-02 09:14:34,174 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/b2be50e6-04f6-46ba-a108-7d35e3d35707
2026-02-02 09:14:35,410 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.638/2.846/1.207 ms')
2026-02-02 09:14:35,410 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-69001925 passed
2026-02-02 09:14:35,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 09:14:35,560 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69001925, IP 216.151.171.69, Port 22
2026-02-02 09:14:35,727 - DEBUG - VM ctest-vn1-vm2-69001925 is ready for SSH connections
2026-02-02 09:14:35,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 09:14:35,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 09:14:35,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-02 09:14:35,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 220.104.150.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-02-02 09:14:35,728 - DEBUG - ping -s 56 -c 3 -W 1 220.104.150.197
2026-02-02 09:14:38,430 - DEBUG - PING 220.104.150.197 (220.104.150.197): 56 data bytes
64 bytes from 220.104.150.197: seq=0 ttl=63 time=3.859 ms
64 bytes from 220.104.150.197: seq=1 ttl=63 time=0.878 ms
64 bytes from 220.104.150.197: seq=2 ttl=63 time=0.945 ms
--- 220.104.150.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.878/1.894/3.859 ms
2026-02-02 09:14:38,430 - INFO - Ping to IP 220.104.150.197 from VM ctest-vn1-vm2-69001925 passed
2026-02-02 09:14:38,430 - INFO - Detaching port b2be50e6-04f6-46ba-a108-7d35e3d35707 from VM ctest-vn1-vm2-69001925
2026-02-02 09:14:38,481 - INFO - Deleting VM ctest-vn1-vm2-69001925
2026-02-02 09:14:38,556 - INFO - Detaching port 98d64472-70c6-43ae-a347-675d066a688e from VM ctest-vn1-vm1-99526569
2026-02-02 09:14:38,589 - INFO - Deleting VM ctest-vn1-vm1-99526569
2026-02-02 09:14:38,834 - DEBUG - Response for delete_port : ()
2026-02-02 09:14:39,004 - DEBUG - Response for delete_port : ()
2026-02-02 09:14:39,004 - INFO - Deleting VN ctest-vn1-78522760
2026-02-02 09:14:39,159 - DEBUG - Response for deleting network ()
2026-02-02 09:14:39,421 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 09:14:39,421 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-02 09:14:39,421 - INFO - --------------------------------------------------------------------------------
2026-02-02 09:14:40,126 - INFO - Deleted project: ctest-TestPorts-61727597, ID : 29e9d66c-6818-4865-b9c9-f6e15be310e8