2026-04-03 10:42:19,771 - INFO - Domain Default found not creating
2026-04-03 10:42:19,933 - INFO - Project ctest-TestPorts-50722225 not found, creating it
2026-04-03 10:42:20,389 - INFO - Created Project:ctest-TestPorts-50722225, ID : 78db91e1-0cc3-494f-8c5f-42bf392b86e1
2026-04-03 10:42:21,820 - INFO - ================================================================================
2026-04-03 10:42:21,820 - INFO - STARTING TEST : test_ports_bindings
2026-04-03 10:42:21,820 - 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-03 10:42:22,074 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-03 10:42:22,074 - INFO - Initial checks done. Running the testcase now
2026-04-03 10:42:22,074 - INFO -
2026-04-03 10:42:23,144 - DEBUG - Response for create_network : {'network': {'id': 'f4c2a52a-1f5d-4f9d-96a2-b4ca90f9d9ff', 'name': 'ctest-vn-60645083', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'project_id': '78db91e10cc3494f8c5f42bf392b86e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50722225', 'ctest-vn-60645083'], 'port_security_enabled': True, 'description': ''}}
2026-04-03 10:42:23,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '41781558-b7f0-43ac-a98f-5ae39a79a5eb', 'name': '', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'network_id': 'f4c2a52a-1f5d-4f9d-96a2-b4ca90f9d9ff', 'ip_version': 4, 'cidr': '171.64.32.0/26', 'allocation_pools': [{'start': '171.64.32.2', 'end': '171.64.32.62'}], 'gateway_ip': '171.64.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.64.32.2', 'tags': [], 'project_id': '78db91e10cc3494f8c5f42bf392b86e1'}}
2026-04-03 10:42:23,355 - INFO - Created VN ctest-vn-60645083
2026-04-03 10:42:23,405 - DEBUG - VN ctest-vn-60645083 UUID is f4c2a52a-1f5d-4f9d-96a2-b4ca90f9d9ff
2026-04-03 10:42:23,504 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50722225', 'ctest-vmi-03199274']}
2026-04-03 10:42:23,766 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03199274', 'id': 'd55b02bc-0acf-43c8-9395-f46b6e711f04', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'network_id': 'f4c2a52a-1f5d-4f9d-96a2-b4ca90f9d9ff', 'mac_address': '02:d5:5b:02:bc:0a', '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': '171.64.32.3', 'subnet_id': '41781558-b7f0-43ac-a98f-5ae39a79a5eb'}], 'security_groups': ['54ffbb95-b245-4d1c-81e0-851fbbc5ad9a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '78db91e10cc3494f8c5f42bf392b86e1'}}
2026-04-03 10:42:23,766 - DEBUG - Created port d55b02bc-0acf-43c8-9395-f46b6e711f04
2026-04-03 10:42:23,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d55b02bc-0acf-43c8-9395-f46b6e711f04
2026-04-03 10:42:24,165 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d55b02bc-0acf-43c8-9395-f46b6e711f04
2026-04-03 10:42:24,197 - INFO - VMI d55b02bc-0acf-43c8-9395-f46b6e711f04 verification in API Server passed
2026-04-03 10:42:24,275 - DEBUG - Response for delete_port : ()
2026-04-03 10:42:24,275 - INFO - Deleted port d55b02bc-0acf-43c8-9395-f46b6e711f04
2026-04-03 10:42:24,275 - INFO - Deleting VN ctest-vn-60645083
2026-04-03 10:42:24,365 - DEBUG - Response for deleting network ()
2026-04-03 10:42:24,618 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 10:42:24,618 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-03 10:42:24,618 - INFO - --------------------------------------------------------------------------------
2026-04-03 10:42:24,620 - INFO - ================================================================================
2026-04-03 10:42:24,620 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-03 10:42:24,620 - 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-03 10:42:24,907 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-03 10:42:24,907 - INFO - Initial checks done. Running the testcase now
2026-04-03 10:42:24,907 - INFO -
2026-04-03 10:42:25,079 - DEBUG - Response for create_network : {'network': {'id': 'ccd299f3-f24d-4855-9ecf-4772d3e57179', 'name': 'ctest-vn1-62967529', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'project_id': '78db91e10cc3494f8c5f42bf392b86e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50722225', 'ctest-vn1-62967529'], 'port_security_enabled': True, 'description': ''}}
2026-04-03 10:42:25,253 - DEBUG - Response for create_subnet : {'subnet': {'id': '24e42f09-538a-493b-bc24-eae6cc6186b4', 'name': '', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'network_id': 'ccd299f3-f24d-4855-9ecf-4772d3e57179', 'ip_version': 4, 'cidr': '52.36.24.64/26', 'allocation_pools': [{'start': '52.36.24.66', 'end': '52.36.24.126'}], 'gateway_ip': '52.36.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.36.24.66', 'tags': [], 'project_id': '78db91e10cc3494f8c5f42bf392b86e1'}}
2026-04-03 10:42:25,440 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8fcb94b-05e5-437e-aff9-0c412b3ecfd5', 'name': '', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'network_id': 'ccd299f3-f24d-4855-9ecf-4772d3e57179', 'ip_version': 4, 'cidr': '34.90.153.192/26', 'allocation_pools': [{'start': '34.90.153.194', 'end': '34.90.153.254'}], 'gateway_ip': '34.90.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.90.153.194', 'tags': [], 'project_id': '78db91e10cc3494f8c5f42bf392b86e1'}}
2026-04-03 10:42:25,459 - INFO - Created VN ctest-vn1-62967529
2026-04-03 10:42:25,509 - DEBUG - VN ctest-vn1-62967529 UUID is ccd299f3-f24d-4855-9ecf-4772d3e57179
2026-04-03 10:42:25,814 - DEBUG - Response for create_port : {'port': {'name': '69d4e318-0224-4f2c-aedb-a1023cf90553', 'id': '69d4e318-0224-4f2c-aedb-a1023cf90553', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'network_id': 'ccd299f3-f24d-4855-9ecf-4772d3e57179', 'mac_address': '02:69:d4:e3:18:02', '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': '52.36.24.69', 'subnet_id': '24e42f09-538a-493b-bc24-eae6cc6186b4'}], 'security_groups': ['54ffbb95-b245-4d1c-81e0-851fbbc5ad9a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '78db91e10cc3494f8c5f42bf392b86e1'}}
2026-04-03 10:42:25,969 - DEBUG - Response for create_port : {'port': {'name': '1c9548eb-c5a7-4a44-9fd8-500ab0751f2c', 'id': '1c9548eb-c5a7-4a44-9fd8-500ab0751f2c', 'tenant_id': '78db91e10cc3494f8c5f42bf392b86e1', 'network_id': 'ccd299f3-f24d-4855-9ecf-4772d3e57179', 'mac_address': '02:1c:95:48:eb:c5', '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': '34.90.153.197', 'subnet_id': 'c8fcb94b-05e5-437e-aff9-0c412b3ecfd5'}], 'security_groups': ['54ffbb95-b245-4d1c-81e0-851fbbc5ad9a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '78db91e10cc3494f8c5f42bf392b86e1'}}
2026-04-03 10:42:26,023 - DEBUG - Services list from nova: [, , ]
2026-04-03 10:42:26,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5586-1)
2026-04-03 10:42:26,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5586-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5586-1)
2026-04-03 10:42:26,811 - INFO - Waiting for VM ctest-vn1-vm1-36239614 to be up..
2026-04-03 10:42:26,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-03 10:42:31,934 - DEBUG - VM is in ACTIVE state now
2026-04-03 10:42:31,935 - INFO - VM name : ctest-vn1-vm1-36239614
2026-04-03 10:42:32,011 - DEBUG - VM ctest-vn1-vm1-36239614 ID is 9081d30f-fac1-4521-90a6-b007801ed7b2
2026-04-03 10:42:32,028 - DEBUG - VM ctest-vn1-vm1-36239614 launched on Node cn-jenkins-deploy-platform-ansible-os-5586-1
2026-04-03 10:42:32,104 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9081d30f-fac1-4521-90a6-b007801ed7b2
2026-04-03 10:42:32,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/69d4e318-0224-4f2c-aedb-a1023cf90553
2026-04-03 10:42:35,368 - 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-04-03 10:42:35,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36239614 failed!
2026-04-03 10:42:35,422 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50722225:ctest-vn1-62967529 is 52.36.24.65 and allocation pool is NOT set
2026-04-03 10:42:35,422 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50722225:ctest-vn1-62967529 is 34.90.153.193 and allocation pool is NOT set
2026-04-03 10:42:37,483 - 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=4.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.08 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 = 4.081/4.151/4.222/0.070 ms')
2026-04-03 10:42:37,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36239614 passed
2026-04-03 10:42:37,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 10:42:37,630 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36239614, IP 52.36.24.69, Port 22
2026-04-03 10:42:37,684 - 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-03 10:42:37,757 - DEBUG - VM ctest-vn1-vm1-36239614 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-03 10:42:42,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 10:42:42,759 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36239614, IP 52.36.24.69, Port 22
2026-04-03 10:42:42,909 - DEBUG - VM ctest-vn1-vm1-36239614 is ready for SSH connections
2026-04-03 10:42:42,909 - INFO - Waiting for VM ctest-vn1-vm2-23139848 to be up..
2026-04-03 10:42:42,979 - DEBUG - VM is in ACTIVE state now
2026-04-03 10:42:42,980 - INFO - VM name : ctest-vn1-vm2-23139848
2026-04-03 10:42:43,046 - DEBUG - VM ctest-vn1-vm2-23139848 ID is 800faaca-336d-496b-82a1-bfebc9f1e38c
2026-04-03 10:42:43,046 - DEBUG - VM ctest-vn1-vm2-23139848 launched on Node cn-jenkins-deploy-platform-ansible-os-5586-1
2026-04-03 10:42:43,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/800faaca-336d-496b-82a1-bfebc9f1e38c
2026-04-03 10:42:43,124 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1c9548eb-c5a7-4a44-9fd8-500ab0751f2c
2026-04-03 10:42:44,365 - 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.328 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.328/1.577/2.827/1.249 ms')
2026-04-03 10:42:44,365 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23139848 passed
2026-04-03 10:42:44,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 10:42:44,522 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23139848, IP 34.90.153.197, Port 22
2026-04-03 10:42:44,677 - DEBUG - VM ctest-vn1-vm2-23139848 is ready for SSH connections
2026-04-03 10:42:44,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 10:42:44,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 10:42:44,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-03 10:42:44,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.36.24.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-03 10:42:44,677 - DEBUG - ping -s 56 -c 3 -W 1 52.36.24.69
2026-04-03 10:42:47,611 - DEBUG - PING 52.36.24.69 (52.36.24.69): 56 data bytes
64 bytes from 52.36.24.69: seq=0 ttl=63 time=4.078 ms
64 bytes from 52.36.24.69: seq=1 ttl=63 time=0.907 ms
64 bytes from 52.36.24.69: seq=2 ttl=63 time=0.865 ms
--- 52.36.24.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.865/1.950/4.078 ms
2026-04-03 10:42:47,611 - INFO - Ping to IP 52.36.24.69 from VM ctest-vn1-vm2-23139848 passed
2026-04-03 10:42:47,611 - INFO - Detaching port 1c9548eb-c5a7-4a44-9fd8-500ab0751f2c from VM ctest-vn1-vm2-23139848
2026-04-03 10:42:47,657 - INFO - Deleting VM ctest-vn1-vm2-23139848
2026-04-03 10:42:47,728 - INFO - Detaching port 69d4e318-0224-4f2c-aedb-a1023cf90553 from VM ctest-vn1-vm1-36239614
2026-04-03 10:42:47,760 - INFO - Deleting VM ctest-vn1-vm1-36239614
2026-04-03 10:42:47,957 - DEBUG - Response for delete_port : ()
2026-04-03 10:42:48,121 - DEBUG - Response for delete_port : ()
2026-04-03 10:42:48,121 - INFO - Deleting VN ctest-vn1-62967529
2026-04-03 10:42:48,248 - DEBUG - Response for deleting network ()
2026-04-03 10:42:48,502 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 10:42:48,502 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-03 10:42:48,502 - INFO - --------------------------------------------------------------------------------
2026-04-03 10:42:49,173 - INFO - Deleted project: ctest-TestPorts-50722225, ID : 78db91e1-0cc3-494f-8c5f-42bf392b86e1