2026-02-06 08:50:34,913 - INFO - Domain Default found not creating
2026-02-06 08:50:35,082 - INFO - Project ctest-TestPorts-02344168 not found, creating it
2026-02-06 08:50:35,564 - INFO - Created Project:ctest-TestPorts-02344168, ID : 1edb42c3-63ce-4d6e-91f7-cbf180498ffc
2026-02-06 08:50:37,032 - INFO - ================================================================================
2026-02-06 08:50:37,032 - INFO - STARTING TEST : test_ports_bindings
2026-02-06 08:50:37,032 - 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-06 08:50:37,294 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-06 08:50:37,294 - INFO - Initial checks done. Running the testcase now
2026-02-06 08:50:37,294 - INFO -
2026-02-06 08:50:37,851 - DEBUG - Response for create_network : {'network': {'id': 'cee3ac8b-a7b2-449b-a4c9-ca2c2205f842', 'name': 'ctest-vn-25997539', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02344168', 'ctest-vn-25997539'], 'port_security_enabled': True, 'description': ''}}
2026-02-06 08:50:38,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '32d38f17-feaa-45ce-87bd-98f7fcd668cc', 'name': '', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'network_id': 'cee3ac8b-a7b2-449b-a4c9-ca2c2205f842', 'ip_version': 4, 'cidr': '55.118.99.64/26', 'allocation_pools': [{'start': '55.118.99.66', 'end': '55.118.99.126'}], 'gateway_ip': '55.118.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.118.99.66', 'tags': [], 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc'}}
2026-02-06 08:50:38,074 - INFO - Created VN ctest-vn-25997539
2026-02-06 08:50:38,128 - DEBUG - VN ctest-vn-25997539 UUID is cee3ac8b-a7b2-449b-a4c9-ca2c2205f842
2026-02-06 08:50:38,238 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-02344168', 'ctest-vmi-13245872']}
2026-02-06 08:50:38,509 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-13245872', 'id': 'f75dc99a-a8ce-4169-b35d-5f6fbd7f8c9f', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'network_id': 'cee3ac8b-a7b2-449b-a4c9-ca2c2205f842', 'mac_address': '02:f7:5d:c9:9a:a8', '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': '55.118.99.67', 'subnet_id': '32d38f17-feaa-45ce-87bd-98f7fcd668cc'}], 'security_groups': ['3017a43c-2e65-43f6-8c81-647b4b11e88a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc'}}
2026-02-06 08:50:38,510 - DEBUG - Created port f75dc99a-a8ce-4169-b35d-5f6fbd7f8c9f
2026-02-06 08:50:38,612 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f75dc99a-a8ce-4169-b35d-5f6fbd7f8c9f
2026-02-06 08:50:38,903 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f75dc99a-a8ce-4169-b35d-5f6fbd7f8c9f
2026-02-06 08:50:38,937 - INFO - VMI f75dc99a-a8ce-4169-b35d-5f6fbd7f8c9f verification in API Server passed
2026-02-06 08:50:39,026 - DEBUG - Response for delete_port : ()
2026-02-06 08:50:39,026 - INFO - Deleted port f75dc99a-a8ce-4169-b35d-5f6fbd7f8c9f
2026-02-06 08:50:39,026 - INFO - Deleting VN ctest-vn-25997539
2026-02-06 08:50:39,127 - DEBUG - Response for deleting network ()
2026-02-06 08:50:39,387 - DEBUG - No XMPP flaps were noticed during the test
2026-02-06 08:50:39,387 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-06 08:50:39,387 - INFO - --------------------------------------------------------------------------------
2026-02-06 08:50:39,390 - INFO - ================================================================================
2026-02-06 08:50:39,390 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-06 08:50:39,390 - 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-06 08:50:39,672 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-06 08:50:39,672 - INFO - Initial checks done. Running the testcase now
2026-02-06 08:50:39,673 - INFO -
2026-02-06 08:50:39,861 - DEBUG - Response for create_network : {'network': {'id': '49635c9f-69d0-40ee-a6e1-230b500e8f53', 'name': 'ctest-vn1-50110096', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-02344168', 'ctest-vn1-50110096'], 'port_security_enabled': True, 'description': ''}}
2026-02-06 08:50:40,026 - DEBUG - Response for create_subnet : {'subnet': {'id': '6016f148-91a4-4c01-a945-b816400888ee', 'name': '', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'network_id': '49635c9f-69d0-40ee-a6e1-230b500e8f53', 'ip_version': 4, 'cidr': '140.20.136.64/26', 'allocation_pools': [{'start': '140.20.136.66', 'end': '140.20.136.126'}], 'gateway_ip': '140.20.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.20.136.66', 'tags': [], 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc'}}
2026-02-06 08:50:40,189 - DEBUG - Response for create_subnet : {'subnet': {'id': '372c1f53-ba60-4de1-84c4-ac443ba1409b', 'name': '', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'network_id': '49635c9f-69d0-40ee-a6e1-230b500e8f53', 'ip_version': 4, 'cidr': '159.135.1.0/26', 'allocation_pools': [{'start': '159.135.1.2', 'end': '159.135.1.62'}], 'gateway_ip': '159.135.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.135.1.2', 'tags': [], 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc'}}
2026-02-06 08:50:40,210 - INFO - Created VN ctest-vn1-50110096
2026-02-06 08:50:40,264 - DEBUG - VN ctest-vn1-50110096 UUID is 49635c9f-69d0-40ee-a6e1-230b500e8f53
2026-02-06 08:50:40,563 - DEBUG - Response for create_port : {'port': {'name': 'b3f8860f-3dfa-4a68-91c7-0df5a9e2bd12', 'id': 'b3f8860f-3dfa-4a68-91c7-0df5a9e2bd12', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'network_id': '49635c9f-69d0-40ee-a6e1-230b500e8f53', 'mac_address': '02:b3:f8:86:0f:3d', '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': '140.20.136.69', 'subnet_id': '6016f148-91a4-4c01-a945-b816400888ee'}], 'security_groups': ['3017a43c-2e65-43f6-8c81-647b4b11e88a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc'}}
2026-02-06 08:50:40,747 - DEBUG - Response for create_port : {'port': {'name': '25f6d546-146d-40e9-8669-01bcfcfce3b9', 'id': '25f6d546-146d-40e9-8669-01bcfcfce3b9', 'tenant_id': '1edb42c363ce4d6e91f7cbf180498ffc', 'network_id': '49635c9f-69d0-40ee-a6e1-230b500e8f53', 'mac_address': '02:25:f6:d5:46:14', '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': '159.135.1.5', 'subnet_id': '372c1f53-ba60-4de1-84c4-ac443ba1409b'}], 'security_groups': ['3017a43c-2e65-43f6-8c81-647b4b11e88a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1edb42c363ce4d6e91f7cbf180498ffc'}}
2026-02-06 08:50:40,803 - DEBUG - Services list from nova: [, , ]
2026-02-06 08:50:41,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5225-1)
2026-02-06 08:50:41,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5225-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5225-1)
2026-02-06 08:50:41,605 - INFO - Waiting for VM ctest-vn1-vm1-92315830 to be up..
2026-02-06 08:50:41,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-06 08:50:46,728 - DEBUG - VM is in ACTIVE state now
2026-02-06 08:50:46,729 - INFO - VM name : ctest-vn1-vm1-92315830
2026-02-06 08:50:46,804 - DEBUG - VM ctest-vn1-vm1-92315830 ID is 01936046-3f04-4b19-b8e9-c8ce98247e69
2026-02-06 08:50:46,828 - DEBUG - VM ctest-vn1-vm1-92315830 launched on Node cn-jenkins-deploy-platform-ansible-os-5225-1
2026-02-06 08:50:46,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01936046-3f04-4b19-b8e9-c8ce98247e69
2026-02-06 08:50:46,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b3f8860f-3dfa-4a68-91c7-0df5a9e2bd12
2026-02-06 08:50:50,168 - 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 1019ms')
2026-02-06 08:50:50,168 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92315830 failed!
2026-02-06 08:50:50,228 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02344168:ctest-vn1-50110096 is 140.20.136.65 and allocation pool is NOT set
2026-02-06 08:50:50,228 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-02344168:ctest-vn1-50110096 is 159.135.1.1 and allocation pool is NOT set
2026-02-06 08:50:52,295 - 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=7.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.18 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 = 3.178/5.370/7.563/2.192 ms')
2026-02-06 08:50:52,295 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92315830 passed
2026-02-06 08:50:52,448 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-06 08:50:52,448 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92315830, IP 140.20.136.69, Port 22
2026-02-06 08:50:52,508 - 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-06 08:50:52,580 - DEBUG - VM ctest-vn1-vm1-92315830 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-06 08:50:57,582 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-06 08:50:57,582 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92315830, IP 140.20.136.69, Port 22
2026-02-06 08:50:57,743 - DEBUG - VM ctest-vn1-vm1-92315830 is ready for SSH connections
2026-02-06 08:50:57,744 - INFO - Waiting for VM ctest-vn1-vm2-07120297 to be up..
2026-02-06 08:50:57,810 - DEBUG - VM is in ACTIVE state now
2026-02-06 08:50:57,810 - INFO - VM name : ctest-vn1-vm2-07120297
2026-02-06 08:50:57,877 - DEBUG - VM ctest-vn1-vm2-07120297 ID is 4d7ce587-8d1b-43e4-bf63-93f26363e7e2
2026-02-06 08:50:57,877 - DEBUG - VM ctest-vn1-vm2-07120297 launched on Node cn-jenkins-deploy-platform-ansible-os-5225-1
2026-02-06 08:50:57,943 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d7ce587-8d1b-43e4-bf63-93f26363e7e2
2026-02-06 08:50:57,950 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25f6d546-146d-40e9-8669-01bcfcfce3b9
2026-02-06 08:50:59,178 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.354 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.354/1.657/2.961/1.303 ms')
2026-02-06 08:50:59,178 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07120297 passed
2026-02-06 08:50:59,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-06 08:50:59,324 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07120297, IP 159.135.1.5, Port 22
2026-02-06 08:50:59,479 - DEBUG - VM ctest-vn1-vm2-07120297 is ready for SSH connections
2026-02-06 08:50:59,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-06 08:50:59,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-06 08:50:59,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-06 08:50:59,479 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.20.136.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-06 08:50:59,479 - DEBUG - ping -s 56 -c 3 -W 1 140.20.136.69
2026-02-06 08:51:02,418 - DEBUG - PING 140.20.136.69 (140.20.136.69): 56 data bytes
64 bytes from 140.20.136.69: seq=0 ttl=63 time=3.577 ms
64 bytes from 140.20.136.69: seq=1 ttl=63 time=0.802 ms
64 bytes from 140.20.136.69: seq=2 ttl=63 time=1.087 ms
--- 140.20.136.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.802/1.822/3.577 ms
2026-02-06 08:51:02,418 - INFO - Ping to IP 140.20.136.69 from VM ctest-vn1-vm2-07120297 passed
2026-02-06 08:51:02,418 - INFO - Detaching port 25f6d546-146d-40e9-8669-01bcfcfce3b9 from VM ctest-vn1-vm2-07120297
2026-02-06 08:51:02,463 - INFO - Deleting VM ctest-vn1-vm2-07120297
2026-02-06 08:51:02,533 - INFO - Detaching port b3f8860f-3dfa-4a68-91c7-0df5a9e2bd12 from VM ctest-vn1-vm1-92315830
2026-02-06 08:51:02,569 - INFO - Deleting VM ctest-vn1-vm1-92315830
2026-02-06 08:51:02,929 - DEBUG - Response for delete_port : ()
2026-02-06 08:51:03,069 - DEBUG - Response for delete_port : ()
2026-02-06 08:51:03,070 - INFO - Deleting VN ctest-vn1-50110096
2026-02-06 08:51:03,199 - DEBUG - Response for deleting network ()
2026-02-06 08:51:03,452 - DEBUG - No XMPP flaps were noticed during the test
2026-02-06 08:51:03,452 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-06 08:51:03,452 - INFO - --------------------------------------------------------------------------------
2026-02-06 08:51:04,129 - INFO - Deleted project: ctest-TestPorts-02344168, ID : 1edb42c3-63ce-4d6e-91f7-cbf180498ffc