2026-09-20 15:54:01,865 - INFO - Domain Default found not creating
2026-09-20 15:54:02,091 - INFO - Project ctest-TestPorts-60094049 not found, creating it
2026-09-20 15:54:02,660 - INFO - Created Project:ctest-TestPorts-60094049, ID : d86d598b-0ca5-4d80-90b6-6573caf49d5e
2026-09-20 15:54:04,644 - INFO - ================================================================================
2026-09-20 15:54:04,644 - INFO - STARTING TEST : test_ports_bindings
2026-09-20 15:54:04,644 - 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-09-20 15:54:04,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-20 15:54:04,925 - INFO - Initial checks done. Running the testcase now
2026-09-20 15:54:04,925 - INFO -
2026-09-20 15:54:05,621 - DEBUG - Response for create_network : {'network': {'id': '03ef8f56-0528-442a-9a70-334c05f1d7e2', 'name': 'ctest-vn-21380012', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'project_id': 'd86d598b0ca54d8090b66573caf49d5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60094049', 'ctest-vn-21380012'], 'port_security_enabled': True, 'description': ''}}
2026-09-20 15:54:05,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a43b65a-bcf7-443e-9c57-71e0609523fb', 'name': '', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'network_id': '03ef8f56-0528-442a-9a70-334c05f1d7e2', 'ip_version': 4, 'cidr': '151.82.43.192/26', 'allocation_pools': [{'start': '151.82.43.194', 'end': '151.82.43.254'}], 'gateway_ip': '151.82.43.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.82.43.194', 'tags': [], 'project_id': 'd86d598b0ca54d8090b66573caf49d5e'}}
2026-09-20 15:54:05,869 - INFO - Created VN ctest-vn-21380012
2026-09-20 15:54:05,926 - DEBUG - VN ctest-vn-21380012 UUID is 03ef8f56-0528-442a-9a70-334c05f1d7e2
2026-09-20 15:54:06,049 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60094049', 'ctest-vmi-40970682']}
2026-09-20 15:54:06,385 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40970682', 'id': '7dc83099-d330-4185-9a63-1ce0f857b6fd', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'network_id': '03ef8f56-0528-442a-9a70-334c05f1d7e2', 'mac_address': '02:7d:c8:30:99:d3', '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': '151.82.43.195', 'subnet_id': '2a43b65a-bcf7-443e-9c57-71e0609523fb'}], 'security_groups': ['2470dfe2-3049-446d-9c0f-2f97c6e3cbfb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'd86d598b0ca54d8090b66573caf49d5e'}}
2026-09-20 15:54:06,386 - DEBUG - Created port 7dc83099-d330-4185-9a63-1ce0f857b6fd
2026-09-20 15:54:06,502 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/7dc83099-d330-4185-9a63-1ce0f857b6fd
2026-09-20 15:54:06,914 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/7dc83099-d330-4185-9a63-1ce0f857b6fd
2026-09-20 15:54:06,957 - INFO - VMI 7dc83099-d330-4185-9a63-1ce0f857b6fd verification in API Server passed
2026-09-20 15:54:07,076 - DEBUG - Response for delete_port : ()
2026-09-20 15:54:07,076 - INFO - Deleted port 7dc83099-d330-4185-9a63-1ce0f857b6fd
2026-09-20 15:54:07,076 - INFO - Deleting VN ctest-vn-21380012
2026-09-20 15:54:07,215 - DEBUG - Response for deleting network ()
2026-09-20 15:54:07,492 - DEBUG - No XMPP flaps were noticed during the test
2026-09-20 15:54:07,492 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-20 15:54:07,492 - INFO - --------------------------------------------------------------------------------
2026-09-20 15:54:07,496 - INFO - ================================================================================
2026-09-20 15:54:07,496 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-20 15:54:07,496 - 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-09-20 15:54:07,798 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-20 15:54:07,798 - INFO - Initial checks done. Running the testcase now
2026-09-20 15:54:07,798 - INFO -
2026-09-20 15:54:08,070 - DEBUG - Response for create_network : {'network': {'id': '4443d96d-9ea1-4834-9550-a8870fb32a97', 'name': 'ctest-vn1-54197752', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'project_id': 'd86d598b0ca54d8090b66573caf49d5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60094049', 'ctest-vn1-54197752'], 'port_security_enabled': True, 'description': ''}}
2026-09-20 15:54:08,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f41b56f-7d20-4737-a565-af024f2cdfa0', 'name': '', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'network_id': '4443d96d-9ea1-4834-9550-a8870fb32a97', 'ip_version': 4, 'cidr': '43.246.236.192/26', 'allocation_pools': [{'start': '43.246.236.194', 'end': '43.246.236.254'}], 'gateway_ip': '43.246.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.246.236.194', 'tags': [], 'project_id': 'd86d598b0ca54d8090b66573caf49d5e'}}
2026-09-20 15:54:08,555 - DEBUG - Response for create_subnet : {'subnet': {'id': '37fa5eff-26bd-4483-8cf1-dea172bd1c1e', 'name': '', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'network_id': '4443d96d-9ea1-4834-9550-a8870fb32a97', 'ip_version': 4, 'cidr': '57.249.136.64/26', 'allocation_pools': [{'start': '57.249.136.66', 'end': '57.249.136.126'}], 'gateway_ip': '57.249.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.249.136.66', 'tags': [], 'project_id': 'd86d598b0ca54d8090b66573caf49d5e'}}
2026-09-20 15:54:08,579 - INFO - Created VN ctest-vn1-54197752
2026-09-20 15:54:08,634 - DEBUG - VN ctest-vn1-54197752 UUID is 4443d96d-9ea1-4834-9550-a8870fb32a97
2026-09-20 15:54:09,059 - DEBUG - Response for create_port : {'port': {'name': '0b059c54-c626-46da-9bfa-60fd3ce5892c', 'id': '0b059c54-c626-46da-9bfa-60fd3ce5892c', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'network_id': '4443d96d-9ea1-4834-9550-a8870fb32a97', 'mac_address': '02:0b:05:9c:54:c6', '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': '43.246.236.197', 'subnet_id': '1f41b56f-7d20-4737-a565-af024f2cdfa0'}], 'security_groups': ['2470dfe2-3049-446d-9c0f-2f97c6e3cbfb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'd86d598b0ca54d8090b66573caf49d5e'}}
2026-09-20 15:54:09,311 - DEBUG - Response for create_port : {'port': {'name': 'b3b28157-3596-4c92-9f9c-405cd48197ba', 'id': 'b3b28157-3596-4c92-9f9c-405cd48197ba', 'tenant_id': 'd86d598b0ca54d8090b66573caf49d5e', 'network_id': '4443d96d-9ea1-4834-9550-a8870fb32a97', 'mac_address': '02:b3:b2:81:57:35', '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': '57.249.136.69', 'subnet_id': '37fa5eff-26bd-4483-8cf1-dea172bd1c1e'}], 'security_groups': ['2470dfe2-3049-446d-9c0f-2f97c6e3cbfb'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'd86d598b0ca54d8090b66573caf49d5e'}}
2026-09-20 15:54:09,403 - DEBUG - Services list from nova: [, , ]
2026-09-20 15:54:09,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6313-1)
2026-09-20 15:54:10,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6313-1)
2026-09-20 15:54:10,386 - INFO - Waiting for VM ctest-vn1-vm1-81295618 to be up..
2026-09-20 15:54:10,438 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:15,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:20,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:25,751 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:30,873 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:36,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:41,101 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:46,202 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-20 15:54:51,309 - DEBUG - VM is in ACTIVE state now
2026-09-20 15:54:51,309 - INFO - VM name : ctest-vn1-vm1-81295618
2026-09-20 15:54:51,407 - DEBUG - VM ctest-vn1-vm1-81295618 ID is f4e17163-f1a2-4cff-b9a5-66721e270bf2
2026-09-20 15:54:51,439 - DEBUG - VM ctest-vn1-vm1-81295618 launched on Node cn-jenkins-deploy-platform-ansible-os-6313-1
2026-09-20 15:54:51,542 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/f4e17163-f1a2-4cff-b9a5-66721e270bf2
2026-09-20 15:54:51,554 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/0b059c54-c626-46da-9bfa-60fd3ce5892c
2026-09-20 15:54:54,828 - 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 1011ms')
2026-09-20 15:54:54,828 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81295618 failed!
2026-09-20 15:54:54,894 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60094049:ctest-vn1-54197752 is 43.246.236.193 and allocation pool is NOT set
2026-09-20 15:54:54,894 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60094049:ctest-vn1-54197752 is 57.249.136.65 and allocation pool is NOT set
2026-09-20 15:54:58,982 - 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=12.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1022ms\r\nrtt min/avg/max/mdev = 12.631/12.631/12.631/0.000 ms')
2026-09-20 15:54:58,982 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81295618 passed
2026-09-20 15:54:59,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-20 15:54:59,146 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81295618, IP 43.246.236.197, Port 22
2026-09-20 15:54:59,217 - 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-09-20 15:54:59,326 - DEBUG - VM ctest-vn1-vm1-81295618 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-20 15:55:04,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-20 15:55:04,327 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81295618, IP 43.246.236.197, Port 22
2026-09-20 15:55:04,505 - DEBUG - VM ctest-vn1-vm1-81295618 is ready for SSH connections
2026-09-20 15:55:04,505 - INFO - Waiting for VM ctest-vn1-vm2-14384134 to be up..
2026-09-20 15:55:04,613 - DEBUG - VM is in ACTIVE state now
2026-09-20 15:55:04,613 - INFO - VM name : ctest-vn1-vm2-14384134
2026-09-20 15:55:04,719 - DEBUG - VM ctest-vn1-vm2-14384134 ID is 116aa52c-e5f6-4ff7-999a-dd9bc227fb76
2026-09-20 15:55:04,719 - DEBUG - VM ctest-vn1-vm2-14384134 launched on Node cn-jenkins-deploy-platform-ansible-os-6313-1
2026-09-20 15:55:04,823 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/116aa52c-e5f6-4ff7-999a-dd9bc227fb76
2026-09-20 15:55:04,835 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/b3b28157-3596-4c92-9f9c-405cd48197ba
2026-09-20 15:55:06,100 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.700 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.700/2.694/4.689/1.994 ms')
2026-09-20 15:55:06,100 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-14384134 passed
2026-09-20 15:55:06,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-20 15:55:06,262 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-14384134, IP 57.249.136.69, Port 22
2026-09-20 15:55:06,432 - DEBUG - VM ctest-vn1-vm2-14384134 is ready for SSH connections
2026-09-20 15:55:06,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-20 15:55:06,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-20 15:55:06,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-20 15:55:06,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.246.236.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-09-20 15:55:06,433 - DEBUG - ping -s 56 -c 3 -W 1 43.246.236.197
2026-09-20 15:55:09,587 - DEBUG - PING 43.246.236.197 (43.246.236.197): 56 data bytes
64 bytes from 43.246.236.197: seq=0 ttl=63 time=5.601 ms
64 bytes from 43.246.236.197: seq=1 ttl=63 time=1.809 ms
64 bytes from 43.246.236.197: seq=2 ttl=63 time=1.242 ms
--- 43.246.236.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.242/2.884/5.601 ms
2026-09-20 15:55:09,587 - INFO - Ping to IP 43.246.236.197 from VM ctest-vn1-vm2-14384134 passed
2026-09-20 15:55:09,587 - INFO - Detaching port b3b28157-3596-4c92-9f9c-405cd48197ba from VM ctest-vn1-vm2-14384134
2026-09-20 15:55:09,664 - INFO - Deleting VM ctest-vn1-vm2-14384134
2026-09-20 15:55:09,775 - INFO - Detaching port 0b059c54-c626-46da-9bfa-60fd3ce5892c from VM ctest-vn1-vm1-81295618
2026-09-20 15:55:09,820 - INFO - Deleting VM ctest-vn1-vm1-81295618
2026-09-20 15:55:10,223 - DEBUG - Response for delete_port : ()
2026-09-20 15:55:10,562 - DEBUG - Response for delete_port : ()
2026-09-20 15:55:10,562 - INFO - Deleting VN ctest-vn1-54197752
2026-09-20 15:55:10,770 - DEBUG - Response for deleting network ()
2026-09-20 15:55:11,047 - DEBUG - No XMPP flaps were noticed during the test
2026-09-20 15:55:11,048 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:04]
2026-09-20 15:55:11,049 - INFO - --------------------------------------------------------------------------------
2026-09-20 15:55:11,949 - INFO - Deleted project: ctest-TestPorts-60094049, ID : d86d598b-0ca5-4d80-90b6-6573caf49d5e