2026-04-21 19:45:18,075 - INFO - Domain Default found not creating 2026-04-21 19:45:18,245 - INFO - Project ctest-TestPorts-87183981 not found, creating it 2026-04-21 19:45:18,699 - INFO - Created Project:ctest-TestPorts-87183981, ID : e44d1b2b-6fe5-4b25-9f72-d76c847e93ff 2026-04-21 19:45:20,166 - INFO - ================================================================================ 2026-04-21 19:45:20,166 - INFO - STARTING TEST : test_ports_bindings 2026-04-21 19:45:20,166 - 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-21 19:45:20,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 19:45:20,424 - INFO - Initial checks done. Running the testcase now 2026-04-21 19:45:20,424 - INFO - 2026-04-21 19:45:20,970 - DEBUG - Response for create_network : {'network': {'id': '56b43d3c-b22c-401c-9650-e3d57a560efe', 'name': 'ctest-vn-38567449', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87183981', 'ctest-vn-38567449'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 19:45:21,140 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fd50fe7-077f-458c-8b5d-b3f991916e11', 'name': '', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'network_id': '56b43d3c-b22c-401c-9650-e3d57a560efe', 'ip_version': 4, 'cidr': '203.90.178.64/26', 'allocation_pools': [{'start': '203.90.178.66', 'end': '203.90.178.126'}], 'gateway_ip': '203.90.178.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.90.178.66', 'tags': [], 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff'}} 2026-04-21 19:45:21,156 - INFO - Created VN ctest-vn-38567449 2026-04-21 19:45:21,212 - DEBUG - VN ctest-vn-38567449 UUID is 56b43d3c-b22c-401c-9650-e3d57a560efe 2026-04-21 19:45:21,315 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-87183981', 'ctest-vmi-99436718']} 2026-04-21 19:45:21,545 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99436718', 'id': 'e3455c8d-fa47-41b8-a58b-416f73d2e3cb', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'network_id': '56b43d3c-b22c-401c-9650-e3d57a560efe', 'mac_address': '02:e3:45:5c:8d:fa', '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': '203.90.178.67', 'subnet_id': '9fd50fe7-077f-458c-8b5d-b3f991916e11'}], 'security_groups': ['0f649ee2-6e1a-4f5f-8989-9f2de5d61e50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff'}} 2026-04-21 19:45:21,545 - DEBUG - Created port e3455c8d-fa47-41b8-a58b-416f73d2e3cb 2026-04-21 19:45:21,648 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e3455c8d-fa47-41b8-a58b-416f73d2e3cb 2026-04-21 19:45:21,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e3455c8d-fa47-41b8-a58b-416f73d2e3cb 2026-04-21 19:45:21,969 - INFO - VMI e3455c8d-fa47-41b8-a58b-416f73d2e3cb verification in API Server passed 2026-04-21 19:45:22,053 - DEBUG - Response for delete_port : () 2026-04-21 19:45:22,053 - INFO - Deleted port e3455c8d-fa47-41b8-a58b-416f73d2e3cb 2026-04-21 19:45:22,053 - INFO - Deleting VN ctest-vn-38567449 2026-04-21 19:45:22,139 - DEBUG - Response for deleting network () 2026-04-21 19:45:22,393 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 19:45:22,393 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-21 19:45:22,393 - INFO - -------------------------------------------------------------------------------- 2026-04-21 19:45:22,395 - INFO - ================================================================================ 2026-04-21 19:45:22,395 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-04-21 19:45:22,395 - 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-21 19:45:22,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 19:45:22,681 - INFO - Initial checks done. Running the testcase now 2026-04-21 19:45:22,681 - INFO - 2026-04-21 19:45:22,862 - DEBUG - Response for create_network : {'network': {'id': 'ed59dbc3-a5f3-4280-9844-6baca8cdffc3', 'name': 'ctest-vn1-63967766', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-87183981', 'ctest-vn1-63967766'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 19:45:23,052 - DEBUG - Response for create_subnet : {'subnet': {'id': '075501cd-3d4b-40fd-9f98-7177740242d6', 'name': '', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'network_id': 'ed59dbc3-a5f3-4280-9844-6baca8cdffc3', 'ip_version': 4, 'cidr': '8.111.80.128/26', 'allocation_pools': [{'start': '8.111.80.130', 'end': '8.111.80.190'}], 'gateway_ip': '8.111.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.111.80.130', 'tags': [], 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff'}} 2026-04-21 19:45:23,229 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f27331e6-64c6-4f75-bbdc-a70a3a6305c1', 'name': '', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'network_id': 'ed59dbc3-a5f3-4280-9844-6baca8cdffc3', 'ip_version': 4, 'cidr': '169.203.51.128/26', 'allocation_pools': [{'start': '169.203.51.130', 'end': '169.203.51.190'}], 'gateway_ip': '169.203.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.203.51.130', 'tags': [], 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff'}} 2026-04-21 19:45:23,248 - INFO - Created VN ctest-vn1-63967766 2026-04-21 19:45:23,300 - DEBUG - VN ctest-vn1-63967766 UUID is ed59dbc3-a5f3-4280-9844-6baca8cdffc3 2026-04-21 19:45:23,593 - DEBUG - Response for create_port : {'port': {'name': '536fb35b-9fd0-43c8-a445-8ddd87ba1217', 'id': '536fb35b-9fd0-43c8-a445-8ddd87ba1217', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'network_id': 'ed59dbc3-a5f3-4280-9844-6baca8cdffc3', 'mac_address': '02:53:6f:b3:5b:9f', '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': '8.111.80.133', 'subnet_id': '075501cd-3d4b-40fd-9f98-7177740242d6'}], 'security_groups': ['0f649ee2-6e1a-4f5f-8989-9f2de5d61e50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff'}} 2026-04-21 19:45:23,753 - DEBUG - Response for create_port : {'port': {'name': '337011e9-a5dc-4550-8c6b-f64e9e0f50c2', 'id': '337011e9-a5dc-4550-8c6b-f64e9e0f50c2', 'tenant_id': 'e44d1b2b6fe54b259f72d76c847e93ff', 'network_id': 'ed59dbc3-a5f3-4280-9844-6baca8cdffc3', 'mac_address': '02:33:70:11:e9:a5', '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': '169.203.51.133', 'subnet_id': 'f27331e6-64c6-4f75-bbdc-a70a3a6305c1'}], 'security_groups': ['0f649ee2-6e1a-4f5f-8989-9f2de5d61e50'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e44d1b2b6fe54b259f72d76c847e93ff'}} 2026-04-21 19:45:23,807 - DEBUG - Services list from nova: [, , ] 2026-04-21 19:45:24,129 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5663-1) 2026-04-21 19:45:24,529 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5663-1) 2026-04-21 19:45:24,529 - INFO - Waiting for VM ctest-vn1-vm1-78814651 to be up.. 2026-04-21 19:45:24,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 19:45:29,772 - DEBUG - VM is in ACTIVE state now 2026-04-21 19:45:29,772 - INFO - VM name : ctest-vn1-vm1-78814651 2026-04-21 19:45:29,845 - DEBUG - VM ctest-vn1-vm1-78814651 ID is 76a66016-6b23-4cd7-9c35-6d3e4e251175 2026-04-21 19:45:29,865 - DEBUG - VM ctest-vn1-vm1-78814651 launched on Node cn-jenkins-deploy-platform-ansible-os-5663-1 2026-04-21 19:45:29,937 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/76a66016-6b23-4cd7-9c35-6d3e4e251175 2026-04-21 19:45:29,945 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/536fb35b-9fd0-43c8-a445-8ddd87ba1217 2026-04-21 19:45:33,188 - 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-04-21 19:45:33,188 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78814651 failed! 2026-04-21 19:45:33,240 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87183981:ctest-vn1-63967766 is 8.111.80.129 and allocation pool is NOT set 2026-04-21 19:45:33,240 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-87183981:ctest-vn1-63967766 is 169.203.51.129 and allocation pool is NOT set 2026-04-21 19:45:35,303 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.61 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 = 2.614/2.687/2.761/0.073 ms') 2026-04-21 19:45:35,304 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78814651 passed 2026-04-21 19:45:35,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:45:35,452 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78814651, IP 8.111.80.133, Port 22 2026-04-21 19:45:35,507 - 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-21 19:45:35,585 - DEBUG - VM ctest-vn1-vm1-78814651 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-21 19:45:40,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:45:40,586 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78814651, IP 8.111.80.133, Port 22 2026-04-21 19:45:40,744 - DEBUG - VM ctest-vn1-vm1-78814651 is ready for SSH connections 2026-04-21 19:45:40,744 - INFO - Waiting for VM ctest-vn1-vm2-90972557 to be up.. 2026-04-21 19:45:40,813 - DEBUG - VM is in ACTIVE state now 2026-04-21 19:45:40,814 - INFO - VM name : ctest-vn1-vm2-90972557 2026-04-21 19:45:40,882 - DEBUG - VM ctest-vn1-vm2-90972557 ID is 84cddb2b-2abb-4cb8-b0b5-25c1d982045d 2026-04-21 19:45:40,882 - DEBUG - VM ctest-vn1-vm2-90972557 launched on Node cn-jenkins-deploy-platform-ansible-os-5663-1 2026-04-21 19:45:40,951 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/84cddb2b-2abb-4cb8-b0b5-25c1d982045d 2026-04-21 19:45:40,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/337011e9-a5dc-4550-8c6b-f64e9e0f50c2 2026-04-21 19:45:42,188 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/1.530/2.705/1.175 ms') 2026-04-21 19:45:42,189 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-90972557 passed 2026-04-21 19:45:42,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:45:42,336 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-90972557, IP 169.203.51.133, Port 22 2026-04-21 19:45:42,488 - DEBUG - VM ctest-vn1-vm2-90972557 is ready for SSH connections 2026-04-21 19:45:42,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:45:42,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:45:42,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:45:42,488 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.111.80.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 19:45:42,488 - DEBUG - ping -s 56 -c 3 -W 1 8.111.80.133 2026-04-21 19:45:45,363 - DEBUG - PING 8.111.80.133 (8.111.80.133): 56 data bytes 64 bytes from 8.111.80.133: seq=0 ttl=63 time=3.602 ms 64 bytes from 8.111.80.133: seq=1 ttl=63 time=1.179 ms 64 bytes from 8.111.80.133: seq=2 ttl=63 time=0.997 ms --- 8.111.80.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/1.926/3.602 ms 2026-04-21 19:45:45,363 - INFO - Ping to IP 8.111.80.133 from VM ctest-vn1-vm2-90972557 passed 2026-04-21 19:45:45,363 - INFO - Detaching port 337011e9-a5dc-4550-8c6b-f64e9e0f50c2 from VM ctest-vn1-vm2-90972557 2026-04-21 19:45:45,411 - INFO - Deleting VM ctest-vn1-vm2-90972557 2026-04-21 19:45:45,471 - INFO - Detaching port 536fb35b-9fd0-43c8-a445-8ddd87ba1217 from VM ctest-vn1-vm1-78814651 2026-04-21 19:45:45,504 - INFO - Deleting VM ctest-vn1-vm1-78814651 2026-04-21 19:45:45,742 - DEBUG - Response for delete_port : () 2026-04-21 19:45:45,917 - DEBUG - Response for delete_port : () 2026-04-21 19:45:45,917 - INFO - Deleting VN ctest-vn1-63967766 2026-04-21 19:45:46,055 - DEBUG - Response for deleting network () 2026-04-21 19:45:46,312 - DEBUG - No XMPP flaps were noticed during the test
2026-04-21 19:45:46,313 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-04-21 19:45:46,313 - INFO - -------------------------------------------------------------------------------- 2026-04-21 19:45:46,982 - INFO - Deleted project: ctest-TestPorts-87183981, ID : e44d1b2b-6fe5-4b25-9f72-d76c847e93ff