2026-04-02 17:51:45,592 - INFO - Domain Default found not creating
2026-04-02 17:51:45,743 - INFO - Project ctest-TestPorts-43361914 not found, creating it
2026-04-02 17:51:46,193 - INFO - Created Project:ctest-TestPorts-43361914, ID : 4740a37b-db88-4cfe-aef1-816acd32b33d
2026-04-02 17:51:47,774 - INFO - ================================================================================
2026-04-02 17:51:47,775 - INFO - STARTING TEST : test_ports_bindings
2026-04-02 17:51:47,775 - 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-02 17:51:48,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-02 17:51:48,030 - INFO - Initial checks done. Running the testcase now
2026-04-02 17:51:48,030 - INFO -
2026-04-02 17:51:48,568 - DEBUG - Response for create_network : {'network': {'id': 'afc7fe65-b5a8-47a3-a4f5-402435c3543a', 'name': 'ctest-vn-62975859', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'project_id': '4740a37bdb884cfeaef1816acd32b33d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43361914', 'ctest-vn-62975859'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 17:51:48,782 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f7bc80c-c10b-4c34-998a-bc4b903e3ed0', 'name': '', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'network_id': 'afc7fe65-b5a8-47a3-a4f5-402435c3543a', 'ip_version': 4, 'cidr': '71.152.231.192/26', 'allocation_pools': [{'start': '71.152.231.194', 'end': '71.152.231.254'}], 'gateway_ip': '71.152.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.152.231.194', 'tags': [], 'project_id': '4740a37bdb884cfeaef1816acd32b33d'}}
2026-04-02 17:51:48,799 - INFO - Created VN ctest-vn-62975859
2026-04-02 17:51:48,853 - DEBUG - VN ctest-vn-62975859 UUID is afc7fe65-b5a8-47a3-a4f5-402435c3543a
2026-04-02 17:51:48,959 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43361914', 'ctest-vmi-29775173']}
2026-04-02 17:51:49,226 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29775173', 'id': '5230a4e2-9aa7-49c5-89ea-c9af64c608e8', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'network_id': 'afc7fe65-b5a8-47a3-a4f5-402435c3543a', 'mac_address': '02:52:30:a4:e2:9a', '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': '71.152.231.195', 'subnet_id': '5f7bc80c-c10b-4c34-998a-bc4b903e3ed0'}], 'security_groups': ['25f0454f-ae65-420e-b55c-9318a06d9e04'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4740a37bdb884cfeaef1816acd32b33d'}}
2026-04-02 17:51:49,226 - DEBUG - Created port 5230a4e2-9aa7-49c5-89ea-c9af64c608e8
2026-04-02 17:51:49,333 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5230a4e2-9aa7-49c5-89ea-c9af64c608e8
2026-04-02 17:51:49,628 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5230a4e2-9aa7-49c5-89ea-c9af64c608e8
2026-04-02 17:51:49,662 - INFO - VMI 5230a4e2-9aa7-49c5-89ea-c9af64c608e8 verification in API Server passed
2026-04-02 17:51:49,743 - DEBUG - Response for delete_port : ()
2026-04-02 17:51:49,743 - INFO - Deleted port 5230a4e2-9aa7-49c5-89ea-c9af64c608e8
2026-04-02 17:51:49,743 - INFO - Deleting VN ctest-vn-62975859
2026-04-02 17:51:49,838 - DEBUG - Response for deleting network ()
2026-04-02 17:51:50,090 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 17:51:50,090 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-02 17:51:50,090 - INFO - --------------------------------------------------------------------------------
2026-04-02 17:51:50,093 - INFO - ================================================================================
2026-04-02 17:51:50,094 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-02 17:51:50,094 - 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-02 17:51:50,378 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-04-02 17:51:50,379 - INFO - Initial checks done. Running the testcase now
2026-04-02 17:51:50,379 - INFO -
2026-04-02 17:51:50,550 - DEBUG - Response for create_network : {'network': {'id': '66883a78-4522-48cc-aeea-8f203d6e0f88', 'name': 'ctest-vn1-26578675', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'project_id': '4740a37bdb884cfeaef1816acd32b33d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43361914', 'ctest-vn1-26578675'], 'port_security_enabled': True, 'description': ''}}
2026-04-02 17:51:50,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e7a55ae-f411-485f-b827-5c688efb4b03', 'name': '', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'network_id': '66883a78-4522-48cc-aeea-8f203d6e0f88', 'ip_version': 4, 'cidr': '60.25.197.64/26', 'allocation_pools': [{'start': '60.25.197.66', 'end': '60.25.197.126'}], 'gateway_ip': '60.25.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.25.197.66', 'tags': [], 'project_id': '4740a37bdb884cfeaef1816acd32b33d'}}
2026-04-02 17:51:50,929 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e576094-83e5-4f13-979d-78aa9e697ced', 'name': '', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'network_id': '66883a78-4522-48cc-aeea-8f203d6e0f88', 'ip_version': 4, 'cidr': '203.118.212.192/26', 'allocation_pools': [{'start': '203.118.212.194', 'end': '203.118.212.254'}], 'gateway_ip': '203.118.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.118.212.194', 'tags': [], 'project_id': '4740a37bdb884cfeaef1816acd32b33d'}}
2026-04-02 17:51:50,948 - INFO - Created VN ctest-vn1-26578675
2026-04-02 17:51:50,997 - DEBUG - VN ctest-vn1-26578675 UUID is 66883a78-4522-48cc-aeea-8f203d6e0f88
2026-04-02 17:51:51,290 - DEBUG - Response for create_port : {'port': {'name': 'e6903160-05cb-4787-aaac-4af19fcb9b41', 'id': 'e6903160-05cb-4787-aaac-4af19fcb9b41', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'network_id': '66883a78-4522-48cc-aeea-8f203d6e0f88', 'mac_address': '02:e6:90:31:60:05', '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': '60.25.197.69', 'subnet_id': '5e7a55ae-f411-485f-b827-5c688efb4b03'}], 'security_groups': ['25f0454f-ae65-420e-b55c-9318a06d9e04'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4740a37bdb884cfeaef1816acd32b33d'}}
2026-04-02 17:51:51,452 - DEBUG - Response for create_port : {'port': {'name': '25e6b00b-7116-435c-9061-f66cf6db9efc', 'id': '25e6b00b-7116-435c-9061-f66cf6db9efc', 'tenant_id': '4740a37bdb884cfeaef1816acd32b33d', 'network_id': '66883a78-4522-48cc-aeea-8f203d6e0f88', 'mac_address': '02:25:e6:b0:0b:71', '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.118.212.197', 'subnet_id': '2e576094-83e5-4f13-979d-78aa9e697ced'}], 'security_groups': ['25f0454f-ae65-420e-b55c-9318a06d9e04'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4740a37bdb884cfeaef1816acd32b33d'}}
2026-04-02 17:51:51,506 - DEBUG - Services list from nova: [, , ]
2026-04-02 17:51:51,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5585-1)
2026-04-02 17:51:52,202 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5585-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5585-1)
2026-04-02 17:51:52,202 - INFO - Waiting for VM ctest-vn1-vm1-87566112 to be up..
2026-04-02 17:51:52,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-02 17:51:57,326 - DEBUG - VM is in ACTIVE state now
2026-04-02 17:51:57,326 - INFO - VM name : ctest-vn1-vm1-87566112
2026-04-02 17:51:57,403 - DEBUG - VM ctest-vn1-vm1-87566112 ID is ec0fc463-45fb-4997-9593-fcdfd277402a
2026-04-02 17:51:57,421 - DEBUG - VM ctest-vn1-vm1-87566112 launched on Node cn-jenkins-deploy-platform-ansible-os-5585-1
2026-04-02 17:51:57,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ec0fc463-45fb-4997-9593-fcdfd277402a
2026-04-02 17:51:57,508 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e6903160-05cb-4787-aaac-4af19fcb9b41
2026-04-02 17:52:00,762 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms')
2026-04-02 17:52:00,762 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87566112 failed!
2026-04-02 17:52:00,821 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43361914:ctest-vn1-26578675 is 60.25.197.65 and allocation pool is NOT set
2026-04-02 17:52:00,821 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43361914:ctest-vn1-26578675 is 203.118.212.193 and allocation pool is NOT set
2026-04-02 17:52:02,891 - 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=10.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.02 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 = 3.019/6.838/10.657/3.819 ms')
2026-04-02 17:52:02,891 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-87566112 passed
2026-04-02 17:52:03,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 17:52:03,042 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87566112, IP 60.25.197.69, Port 22
2026-04-02 17:52:03,108 - 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-04-02 17:52:03,188 - DEBUG - VM ctest-vn1-vm1-87566112 is NOT ready for SSH connections, VM status: ACTIVE
2026-04-02 17:52:08,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 17:52:08,190 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87566112, IP 60.25.197.69, Port 22
2026-04-02 17:52:08,362 - DEBUG - VM ctest-vn1-vm1-87566112 is ready for SSH connections
2026-04-02 17:52:08,362 - INFO - Waiting for VM ctest-vn1-vm2-70038630 to be up..
2026-04-02 17:52:08,463 - DEBUG - VM is in ACTIVE state now
2026-04-02 17:52:08,463 - INFO - VM name : ctest-vn1-vm2-70038630
2026-04-02 17:52:08,572 - DEBUG - VM ctest-vn1-vm2-70038630 ID is b9e5f4b0-fe3a-4b35-bc81-b820c6e61f9a
2026-04-02 17:52:08,572 - DEBUG - VM ctest-vn1-vm2-70038630 launched on Node cn-jenkins-deploy-platform-ansible-os-5585-1
2026-04-02 17:52:08,667 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b9e5f4b0-fe3a-4b35-bc81-b820c6e61f9a
2026-04-02 17:52:08,678 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/25e6b00b-7116-435c-9061-f66cf6db9efc
2026-04-02 17:52:09,920 - 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=3.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.505 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.505/1.787/3.070/1.282 ms')
2026-04-02 17:52:09,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-70038630 passed
2026-04-02 17:52:10,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 17:52:10,073 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-70038630, IP 203.118.212.197, Port 22
2026-04-02 17:52:10,233 - DEBUG - VM ctest-vn1-vm2-70038630 is ready for SSH connections
2026-04-02 17:52:10,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 17:52:10,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 17:52:10,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-02 17:52:10,233 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.25.197.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-04-02 17:52:10,233 - DEBUG - ping -s 56 -c 3 -W 1 60.25.197.69
2026-04-02 17:52:14,396 - DEBUG - PING 60.25.197.69 (60.25.197.69): 56 data bytes
64 bytes from 60.25.197.69: seq=0 ttl=63 time=3.998 ms
64 bytes from 60.25.197.69: seq=1 ttl=63 time=1.235 ms
64 bytes from 60.25.197.69: seq=2 ttl=63 time=0.850 ms
--- 60.25.197.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.850/2.027/3.998 ms
2026-04-02 17:52:14,397 - INFO - Ping to IP 60.25.197.69 from VM ctest-vn1-vm2-70038630 passed
2026-04-02 17:52:14,397 - INFO - Detaching port 25e6b00b-7116-435c-9061-f66cf6db9efc from VM ctest-vn1-vm2-70038630
2026-04-02 17:52:14,468 - INFO - Deleting VM ctest-vn1-vm2-70038630
2026-04-02 17:52:14,561 - INFO - Detaching port e6903160-05cb-4787-aaac-4af19fcb9b41 from VM ctest-vn1-vm1-87566112
2026-04-02 17:52:14,609 - INFO - Deleting VM ctest-vn1-vm1-87566112
2026-04-02 17:52:14,903 - DEBUG - Response for delete_port : ()
2026-04-02 17:52:15,103 - DEBUG - Response for delete_port : ()
2026-04-02 17:52:15,104 - INFO - Deleting VN ctest-vn1-26578675
2026-04-02 17:52:15,263 - DEBUG - Response for deleting network ()
2026-04-02 17:52:15,523 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 17:52:15,523 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-04-02 17:52:15,523 - INFO - --------------------------------------------------------------------------------
2026-04-02 17:52:16,236 - INFO - Deleted project: ctest-TestPorts-43361914, ID : 4740a37b-db88-4cfe-aef1-816acd32b33d