2026-04-07 14:30:47,656 - INFO - Domain Default found not creating
2026-04-07 14:30:47,841 - INFO - Project ctest-TestPorts-41873717 not found, creating it
2026-04-07 14:30:48,325 - INFO - Created Project:ctest-TestPorts-41873717, ID : 03eb3926-782a-462f-9401-e2cd8a76412e
2026-04-07 14:30:49,972 - INFO - ================================================================================
2026-04-07 14:30:49,972 - INFO - STARTING TEST : test_ports_bindings
2026-04-07 14:30:49,972 - 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-04-07 14:30:50,228 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-07 14:30:50,229 - INFO - Initial checks done. Running the testcase now
2026-04-07 14:30:50,229 - INFO -
2026-04-07 14:30:50,834 - DEBUG - Response for create_network : {'network': {'id': '58f46937-ca92-48a5-8d32-2c7bf19e005e', 'name': 'ctest-vn-74933696', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'project_id': '03eb3926782a462f9401e2cd8a76412e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41873717', 'ctest-vn-74933696'], 'port_security_enabled': True, 'description': ''}}
2026-04-07 14:30:50,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '27e5ff8d-f3b1-4855-9fd9-acc131f08d8c', 'name': '', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'network_id': '58f46937-ca92-48a5-8d32-2c7bf19e005e', 'ip_version': 4, 'cidr': '92.114.102.128/26', 'allocation_pools': [{'start': '92.114.102.130', 'end': '92.114.102.190'}], 'gateway_ip': '92.114.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.114.102.130', 'tags': [], 'project_id': '03eb3926782a462f9401e2cd8a76412e'}}
2026-04-07 14:30:51,002 - INFO - Created VN ctest-vn-74933696
2026-04-07 14:30:51,059 - DEBUG - VN ctest-vn-74933696 UUID is 58f46937-ca92-48a5-8d32-2c7bf19e005e
2026-04-07 14:30:51,190 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41873717', 'ctest-vmi-80709488']}
2026-04-07 14:30:51,460 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-80709488', 'id': 'a21f0f01-00b3-4a8a-8ab3-8b0d7d7f162b', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'network_id': '58f46937-ca92-48a5-8d32-2c7bf19e005e', 'mac_address': '02:a2:1f:0f:01:00', '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': '92.114.102.131', 'subnet_id': '27e5ff8d-f3b1-4855-9fd9-acc131f08d8c'}], 'security_groups': ['8383d84a-ac51-4690-a19d-56086459975d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '03eb3926782a462f9401e2cd8a76412e'}}
2026-04-07 14:30:51,460 - DEBUG - Created port a21f0f01-00b3-4a8a-8ab3-8b0d7d7f162b
2026-04-07 14:30:51,567 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a21f0f01-00b3-4a8a-8ab3-8b0d7d7f162b
2026-04-07 14:30:51,877 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a21f0f01-00b3-4a8a-8ab3-8b0d7d7f162b
2026-04-07 14:30:51,927 - INFO - VMI a21f0f01-00b3-4a8a-8ab3-8b0d7d7f162b verification in API Server passed
2026-04-07 14:30:52,025 - DEBUG - Response for delete_port : ()
2026-04-07 14:30:52,025 - INFO - Deleted port a21f0f01-00b3-4a8a-8ab3-8b0d7d7f162b
2026-04-07 14:30:52,025 - INFO - Deleting VN ctest-vn-74933696
2026-04-07 14:30:52,127 - DEBUG - Response for deleting network ()
2026-04-07 14:30:52,400 - DEBUG - No XMPP flaps were noticed during the test
2026-04-07 14:30:52,400 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-07 14:30:52,400 - INFO - --------------------------------------------------------------------------------
2026-04-07 14:30:52,404 - INFO - ================================================================================
2026-04-07 14:30:52,404 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-07 14:30:52,404 - 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-04-07 14:30:52,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-07 14:30:52,691 - INFO - Initial checks done. Running the testcase now
2026-04-07 14:30:52,691 - INFO -
2026-04-07 14:30:52,874 - DEBUG - Response for create_network : {'network': {'id': '941c2e6b-38b1-43dc-927a-788ed37f4692', 'name': 'ctest-vn1-19773299', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'project_id': '03eb3926782a462f9401e2cd8a76412e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41873717', 'ctest-vn1-19773299'], 'port_security_enabled': True, 'description': ''}}
2026-04-07 14:30:53,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d887856-8bb8-4263-a34c-bd8a2d1f5c36', 'name': '', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'network_id': '941c2e6b-38b1-43dc-927a-788ed37f4692', 'ip_version': 4, 'cidr': '126.4.32.0/26', 'allocation_pools': [{'start': '126.4.32.2', 'end': '126.4.32.62'}], 'gateway_ip': '126.4.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.4.32.2', 'tags': [], 'project_id': '03eb3926782a462f9401e2cd8a76412e'}}
2026-04-07 14:30:53,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '01a9bbcf-22c0-480b-bc42-1d626e74b662', 'name': '', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'network_id': '941c2e6b-38b1-43dc-927a-788ed37f4692', 'ip_version': 4, 'cidr': '89.158.99.64/26', 'allocation_pools': [{'start': '89.158.99.66', 'end': '89.158.99.126'}], 'gateway_ip': '89.158.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.158.99.66', 'tags': [], 'project_id': '03eb3926782a462f9401e2cd8a76412e'}}
2026-04-07 14:30:53,248 - INFO - Created VN ctest-vn1-19773299
2026-04-07 14:30:53,303 - DEBUG - VN ctest-vn1-19773299 UUID is 941c2e6b-38b1-43dc-927a-788ed37f4692
2026-04-07 14:30:53,601 - DEBUG - Response for create_port : {'port': {'name': '50fde03b-761c-4daf-9566-529dd2c5f812', 'id': '50fde03b-761c-4daf-9566-529dd2c5f812', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'network_id': '941c2e6b-38b1-43dc-927a-788ed37f4692', 'mac_address': '02:50:fd:e0:3b:76', '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': '126.4.32.5', 'subnet_id': '5d887856-8bb8-4263-a34c-bd8a2d1f5c36'}], 'security_groups': ['8383d84a-ac51-4690-a19d-56086459975d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '03eb3926782a462f9401e2cd8a76412e'}}
2026-04-07 14:30:53,778 - DEBUG - Response for create_port : {'port': {'name': 'da5835b4-f055-487f-a702-8d1a8fa3654c', 'id': 'da5835b4-f055-487f-a702-8d1a8fa3654c', 'tenant_id': '03eb3926782a462f9401e2cd8a76412e', 'network_id': '941c2e6b-38b1-43dc-927a-788ed37f4692', 'mac_address': '02:da:58:35:b4:f0', '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': '89.158.99.69', 'subnet_id': '01a9bbcf-22c0-480b-bc42-1d626e74b662'}], 'security_groups': ['8383d84a-ac51-4690-a19d-56086459975d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '03eb3926782a462f9401e2cd8a76412e'}}
2026-04-07 14:30:53,845 - DEBUG - Services list from nova: [, , ]
2026-04-07 14:30:54,196 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5598-1)
2026-04-07 14:30:54,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5598-1)
2026-04-07 14:30:54,589 - INFO - Waiting for VM ctest-vn1-vm1-26367375 to be up..
2026-04-07 14:30:54,631 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-07 14:30:59,713 - DEBUG - VM is in ACTIVE state now
2026-04-07 14:30:59,713 - INFO - VM name : ctest-vn1-vm1-26367375
2026-04-07 14:30:59,795 - DEBUG - VM ctest-vn1-vm1-26367375 ID is 35dbaffc-b7fb-4e8e-a280-8c60b725516e
2026-04-07 14:30:59,816 - DEBUG - VM ctest-vn1-vm1-26367375 launched on Node cn-jenkins-deploy-platform-ansible-os-5598-1
2026-04-07 14:30:59,892 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/35dbaffc-b7fb-4e8e-a280-8c60b725516e
2026-04-07 14:30:59,901 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/50fde03b-761c-4daf-9566-529dd2c5f812
2026-04-07 14:31:03,147 - 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 1010ms')
2026-04-07 14:31:03,147 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26367375 failed!
2026-04-07 14:31:03,203 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41873717:ctest-vn1-19773299 is 126.4.32.1 and allocation pool is NOT set
2026-04-07 14:31:03,203 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41873717:ctest-vn1-19773299 is 89.158.99.65 and allocation pool is NOT set
2026-04-07 14:31:05,269 - 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.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.700 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 = 0.700/6.019/11.338/5.319 ms')
2026-04-07 14:31:05,269 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-26367375 passed
2026-04-07 14:31:05,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-07 14:31:05,423 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26367375, IP 126.4.32.5, Port 22
2026-04-07 14:31:05,495 - 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-04-07 14:31:05,576 - DEBUG - VM ctest-vn1-vm1-26367375 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-07 14:31:10,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-07 14:31:10,578 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-26367375, IP 126.4.32.5, Port 22
2026-04-07 14:31:10,734 - DEBUG - VM ctest-vn1-vm1-26367375 is ready for SSH connections
2026-04-07 14:31:10,734 - INFO - Waiting for VM ctest-vn1-vm2-65641613 to be up..
2026-04-07 14:31:10,811 - DEBUG - VM is in ACTIVE state now
2026-04-07 14:31:10,812 - INFO - VM name : ctest-vn1-vm2-65641613
2026-04-07 14:31:10,888 - DEBUG - VM ctest-vn1-vm2-65641613 ID is 08131b46-330b-49c9-928a-4d59402f794e
2026-04-07 14:31:10,888 - DEBUG - VM ctest-vn1-vm2-65641613 launched on Node cn-jenkins-deploy-platform-ansible-os-5598-1
2026-04-07 14:31:10,966 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08131b46-330b-49c9-928a-4d59402f794e
2026-04-07 14:31:10,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/da5835b4-f055-487f-a702-8d1a8fa3654c
2026-04-07 14:31:12,260 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/1.890/3.215/1.324 ms')
2026-04-07 14:31:12,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-65641613 passed
2026-04-07 14:31:12,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-07 14:31:12,411 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-65641613, IP 89.158.99.69, Port 22
2026-04-07 14:31:12,567 - DEBUG - VM ctest-vn1-vm2-65641613 is ready for SSH connections
2026-04-07 14:31:12,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-07 14:31:12,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-07 14:31:12,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-07 14:31:12,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.4.32.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-07 14:31:12,568 - DEBUG - ping -s 56 -c 3 -W 1 126.4.32.5
2026-04-07 14:31:15,218 - DEBUG - PING 126.4.32.5 (126.4.32.5): 56 data bytes
64 bytes from 126.4.32.5: seq=0 ttl=63 time=3.972 ms
64 bytes from 126.4.32.5: seq=1 ttl=63 time=0.900 ms
64 bytes from 126.4.32.5: seq=2 ttl=63 time=1.422 ms
--- 126.4.32.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.900/2.098/3.972 ms
2026-04-07 14:31:15,218 - INFO - Ping to IP 126.4.32.5 from VM ctest-vn1-vm2-65641613 passed
2026-04-07 14:31:15,219 - INFO - Detaching port da5835b4-f055-487f-a702-8d1a8fa3654c from VM ctest-vn1-vm2-65641613
2026-04-07 14:31:15,280 - INFO - Deleting VM ctest-vn1-vm2-65641613
2026-04-07 14:31:15,356 - INFO - Detaching port 50fde03b-761c-4daf-9566-529dd2c5f812 from VM ctest-vn1-vm1-26367375
2026-04-07 14:31:15,394 - INFO - Deleting VM ctest-vn1-vm1-26367375
2026-04-07 14:31:15,645 - DEBUG - Response for delete_port : ()
2026-04-07 14:31:15,817 - DEBUG - Response for delete_port : ()
2026-04-07 14:31:15,818 - INFO - Deleting VN ctest-vn1-19773299
2026-04-07 14:31:15,944 - DEBUG - Response for deleting network ()
2026-04-07 14:31:16,215 - DEBUG - No XMPP flaps were noticed during the test
2026-04-07 14:31:16,215 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-07 14:31:16,217 - INFO - --------------------------------------------------------------------------------
2026-04-07 14:31:17,005 - INFO - Deleted project: ctest-TestPorts-41873717, ID : 03eb3926-782a-462f-9401-e2cd8a76412e