2026-01-30 13:38:43,225 - INFO - Domain Default found not creating
2026-01-30 13:38:43,440 - INFO - Project ctest-TestPorts-26445573 not found, creating it
2026-01-30 13:38:43,908 - INFO - Created Project:ctest-TestPorts-26445573, ID : 31b33390-5343-42b7-847e-b56f979da724
2026-01-30 13:38:45,454 - INFO - ================================================================================
2026-01-30 13:38:45,454 - INFO - STARTING TEST : test_ports_bindings
2026-01-30 13:38:45,454 - 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-30 13:38:45,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-01-30 13:38:45,709 - INFO - Initial checks done. Running the testcase now
2026-01-30 13:38:45,710 - INFO -
2026-01-30 13:38:46,818 - DEBUG - Response for create_network : {'network': {'id': '8b4e8cb8-fc12-4f62-a425-8a75f5752370', 'name': 'ctest-vn-42581036', 'tenant_id': '31b33390534342b7847eb56f979da724', 'project_id': '31b33390534342b7847eb56f979da724', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26445573', 'ctest-vn-42581036'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 13:38:46,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f53d876-eae1-48e1-b5a6-82c5e12bdb33', 'name': '', 'tenant_id': '31b33390534342b7847eb56f979da724', 'network_id': '8b4e8cb8-fc12-4f62-a425-8a75f5752370', 'ip_version': 4, 'cidr': '184.171.219.192/26', 'allocation_pools': [{'start': '184.171.219.194', 'end': '184.171.219.254'}], 'gateway_ip': '184.171.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.171.219.194', 'tags': [], 'project_id': '31b33390534342b7847eb56f979da724'}}
2026-01-30 13:38:46,986 - INFO - Created VN ctest-vn-42581036
2026-01-30 13:38:47,037 - DEBUG - VN ctest-vn-42581036 UUID is 8b4e8cb8-fc12-4f62-a425-8a75f5752370
2026-01-30 13:38:47,141 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-26445573', 'ctest-vmi-02474739']}
2026-01-30 13:38:47,418 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02474739', 'id': 'f384c083-e1ea-46a9-885b-e04fa079f964', 'tenant_id': '31b33390534342b7847eb56f979da724', 'network_id': '8b4e8cb8-fc12-4f62-a425-8a75f5752370', 'mac_address': '02:f3:84:c0:83:e1', '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': '184.171.219.195', 'subnet_id': '8f53d876-eae1-48e1-b5a6-82c5e12bdb33'}], 'security_groups': ['7b69f8de-52a4-4215-a542-a4b3d064e5d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '31b33390534342b7847eb56f979da724'}}
2026-01-30 13:38:47,418 - DEBUG - Created port f384c083-e1ea-46a9-885b-e04fa079f964
2026-01-30 13:38:47,521 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f384c083-e1ea-46a9-885b-e04fa079f964
2026-01-30 13:38:47,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f384c083-e1ea-46a9-885b-e04fa079f964
2026-01-30 13:38:47,851 - INFO - VMI f384c083-e1ea-46a9-885b-e04fa079f964 verification in API Server passed
2026-01-30 13:38:47,947 - DEBUG - Response for delete_port : ()
2026-01-30 13:38:47,947 - INFO - Deleted port f384c083-e1ea-46a9-885b-e04fa079f964
2026-01-30 13:38:47,948 - INFO - Deleting VN ctest-vn-42581036
2026-01-30 13:38:48,057 - DEBUG - Response for deleting network ()
2026-01-30 13:38:48,314 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 13:38:48,314 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-30 13:38:48,314 - INFO - --------------------------------------------------------------------------------
2026-01-30 13:38:48,320 - INFO - ================================================================================
2026-01-30 13:38:48,320 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-30 13:38:48,320 - 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-30 13:38:48,613 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-01-30 13:38:48,613 - INFO - Initial checks done. Running the testcase now
2026-01-30 13:38:48,613 - INFO -
2026-01-30 13:38:48,837 - DEBUG - Response for create_network : {'network': {'id': '096e5ddc-484f-4ff1-b370-64af9ff345d5', 'name': 'ctest-vn1-30731580', 'tenant_id': '31b33390534342b7847eb56f979da724', 'project_id': '31b33390534342b7847eb56f979da724', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-26445573', 'ctest-vn1-30731580'], 'port_security_enabled': True, 'description': ''}}
2026-01-30 13:38:48,990 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbebebad-2c6b-40b3-8ac1-b87f4662a11b', 'name': '', 'tenant_id': '31b33390534342b7847eb56f979da724', 'network_id': '096e5ddc-484f-4ff1-b370-64af9ff345d5', 'ip_version': 4, 'cidr': '199.185.54.128/26', 'allocation_pools': [{'start': '199.185.54.130', 'end': '199.185.54.190'}], 'gateway_ip': '199.185.54.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.185.54.130', 'tags': [], 'project_id': '31b33390534342b7847eb56f979da724'}}
2026-01-30 13:38:49,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '75bb4e5d-a0dd-4c2a-ae0b-def1b3fbe8e2', 'name': '', 'tenant_id': '31b33390534342b7847eb56f979da724', 'network_id': '096e5ddc-484f-4ff1-b370-64af9ff345d5', 'ip_version': 4, 'cidr': '83.88.106.0/26', 'allocation_pools': [{'start': '83.88.106.2', 'end': '83.88.106.62'}], 'gateway_ip': '83.88.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.88.106.2', 'tags': [], 'project_id': '31b33390534342b7847eb56f979da724'}}
2026-01-30 13:38:49,156 - INFO - Created VN ctest-vn1-30731580
2026-01-30 13:38:49,209 - DEBUG - VN ctest-vn1-30731580 UUID is 096e5ddc-484f-4ff1-b370-64af9ff345d5
2026-01-30 13:38:49,531 - DEBUG - Response for create_port : {'port': {'name': '039fc6e9-8431-46f4-b8d1-f1e826e58ea4', 'id': '039fc6e9-8431-46f4-b8d1-f1e826e58ea4', 'tenant_id': '31b33390534342b7847eb56f979da724', 'network_id': '096e5ddc-484f-4ff1-b370-64af9ff345d5', 'mac_address': '02:03:9f:c6:e9:84', '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': '199.185.54.133', 'subnet_id': 'fbebebad-2c6b-40b3-8ac1-b87f4662a11b'}], 'security_groups': ['7b69f8de-52a4-4215-a542-a4b3d064e5d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '31b33390534342b7847eb56f979da724'}}
2026-01-30 13:38:49,706 - DEBUG - Response for create_port : {'port': {'name': '7e7e86ef-744e-4dab-b8ca-8f7e6c3a1f5a', 'id': '7e7e86ef-744e-4dab-b8ca-8f7e6c3a1f5a', 'tenant_id': '31b33390534342b7847eb56f979da724', 'network_id': '096e5ddc-484f-4ff1-b370-64af9ff345d5', 'mac_address': '02:7e:7e:86:ef:74', '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.88.106.5', 'subnet_id': '75bb4e5d-a0dd-4c2a-ae0b-def1b3fbe8e2'}], 'security_groups': ['7b69f8de-52a4-4215-a542-a4b3d064e5d8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '31b33390534342b7847eb56f979da724'}}
2026-01-30 13:38:49,768 - DEBUG - Services list from nova: [, , ]
2026-01-30 13:38:50,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5147-1)
2026-01-30 13:38:50,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5147-1)
2026-01-30 13:38:50,504 - INFO - Waiting for VM ctest-vn1-vm1-10896295 to be up..
2026-01-30 13:38:50,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-30 13:38:55,621 - DEBUG - VM is in ACTIVE state now
2026-01-30 13:38:55,622 - INFO - VM name : ctest-vn1-vm1-10896295
2026-01-30 13:38:55,691 - DEBUG - VM ctest-vn1-vm1-10896295 ID is 7e1ef197-1488-45c4-8770-176e4d289c79
2026-01-30 13:38:55,711 - DEBUG - VM ctest-vn1-vm1-10896295 launched on Node cn-jenkins-deploy-platform-ansible-os-5147-1
2026-01-30 13:38:55,778 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7e1ef197-1488-45c4-8770-176e4d289c79
2026-01-30 13:38:55,786 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/039fc6e9-8431-46f4-b8d1-f1e826e58ea4
2026-01-30 13:38:59,047 - 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 1031ms')
2026-01-30 13:38:59,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10896295 failed!
2026-01-30 13:38:59,101 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26445573:ctest-vn1-30731580 is 199.185.54.129 and allocation pool is NOT set
2026-01-30 13:38:59,101 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-26445573:ctest-vn1-30731580 is 83.88.106.1 and allocation pool is NOT set
2026-01-30 13:39:01,166 - 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.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.461/5.714/10.968/5.253 ms')
2026-01-30 13:39:01,166 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-10896295 passed
2026-01-30 13:39:01,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 13:39:01,321 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10896295, IP 199.185.54.133, Port 22
2026-01-30 13:39:01,491 - DEBUG - VM ctest-vn1-vm1-10896295 is ready for SSH connections
2026-01-30 13:39:01,491 - INFO - Waiting for VM ctest-vn1-vm2-62218697 to be up..
2026-01-30 13:39:01,572 - DEBUG - VM is in ACTIVE state now
2026-01-30 13:39:01,572 - INFO - VM name : ctest-vn1-vm2-62218697
2026-01-30 13:39:01,662 - DEBUG - VM ctest-vn1-vm2-62218697 ID is 71a50bf4-bd5b-476b-87be-3fd2c1471493
2026-01-30 13:39:01,662 - DEBUG - VM ctest-vn1-vm2-62218697 launched on Node cn-jenkins-deploy-platform-ansible-os-5147-1
2026-01-30 13:39:01,887 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/71a50bf4-bd5b-476b-87be-3fd2c1471493
2026-01-30 13:39:01,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7e7e86ef-744e-4dab-b8ca-8f7e6c3a1f5a
2026-01-30 13:39:03,140 - 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=4.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.39 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 = 1.390/2.955/4.521/1.565 ms')
2026-01-30 13:39:03,140 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-62218697 passed
2026-01-30 13:39:03,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 13:39:03,297 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62218697, IP 83.88.106.5, Port 22
2026-01-30 13:39:03,353 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-01-30 13:39:03,431 - DEBUG - VM ctest-vn1-vm2-62218697 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-30 13:39:08,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 13:39:08,431 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62218697, IP 83.88.106.5, Port 22
2026-01-30 13:39:08,603 - DEBUG - VM ctest-vn1-vm2-62218697 is ready for SSH connections
2026-01-30 13:39:08,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 13:39:08,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 13:39:08,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-30 13:39:08,604 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.185.54.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-01-30 13:39:08,604 - DEBUG - ping -s 56 -c 3 -W 1 199.185.54.133
2026-01-30 13:39:11,577 - DEBUG - PING 199.185.54.133 (199.185.54.133): 56 data bytes
64 bytes from 199.185.54.133: seq=0 ttl=63 time=4.142 ms
64 bytes from 199.185.54.133: seq=1 ttl=63 time=2.009 ms
64 bytes from 199.185.54.133: seq=2 ttl=63 time=1.035 ms
--- 199.185.54.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.035/2.395/4.142 ms
2026-01-30 13:39:11,577 - INFO - Ping to IP 199.185.54.133 from VM ctest-vn1-vm2-62218697 passed
2026-01-30 13:39:11,577 - INFO - Detaching port 7e7e86ef-744e-4dab-b8ca-8f7e6c3a1f5a from VM ctest-vn1-vm2-62218697
2026-01-30 13:39:11,630 - INFO - Deleting VM ctest-vn1-vm2-62218697
2026-01-30 13:39:11,706 - INFO - Detaching port 039fc6e9-8431-46f4-b8d1-f1e826e58ea4 from VM ctest-vn1-vm1-10896295
2026-01-30 13:39:11,746 - INFO - Deleting VM ctest-vn1-vm1-10896295
2026-01-30 13:39:12,026 - DEBUG - Response for delete_port : ()
2026-01-30 13:39:12,195 - DEBUG - Response for delete_port : ()
2026-01-30 13:39:12,195 - INFO - Deleting VN ctest-vn1-30731580
2026-01-30 13:39:12,351 - DEBUG - Response for deleting network ()
2026-01-30 13:39:12,610 - DEBUG - No XMPP flaps were noticed during the test
2026-01-30 13:39:12,610 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-30 13:39:12,611 - INFO - --------------------------------------------------------------------------------
2026-01-30 13:39:13,328 - INFO - Deleted project: ctest-TestPorts-26445573, ID : 31b33390-5343-42b7-847e-b56f979da724