2026-02-04 20:28:45,036 - INFO - Domain Default found not creating
2026-02-04 20:28:45,187 - INFO - Project ctest-TestPorts-67405444 not found, creating it
2026-02-04 20:28:45,631 - INFO - Created Project:ctest-TestPorts-67405444, ID : 13aea1fa-2798-4e91-a976-c1870a1cae3a
2026-02-04 20:28:47,109 - INFO - ================================================================================
2026-02-04 20:28:47,109 - INFO - STARTING TEST : test_ports_bindings
2026-02-04 20:28:47,109 - 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-04 20:28:47,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2026-02-04 20:28:47,362 - INFO - Initial checks done. Running the testcase now
2026-02-04 20:28:47,362 - INFO -
2026-02-04 20:28:47,884 - DEBUG - Response for create_network : {'network': {'id': '1c567b9c-f935-4a13-915c-10fcadbf5fd8', 'name': 'ctest-vn-55575892', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'project_id': '13aea1fa27984e91a976c1870a1cae3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67405444', 'ctest-vn-55575892'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 20:28:48,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b38960d7-5cce-47f2-8320-11a64ae5f247', 'name': '', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'network_id': '1c567b9c-f935-4a13-915c-10fcadbf5fd8', 'ip_version': 4, 'cidr': '121.171.234.192/26', 'allocation_pools': [{'start': '121.171.234.194', 'end': '121.171.234.254'}], 'gateway_ip': '121.171.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.171.234.194', 'tags': [], 'project_id': '13aea1fa27984e91a976c1870a1cae3a'}}
2026-02-04 20:28:48,104 - INFO - Created VN ctest-vn-55575892
2026-02-04 20:28:48,157 - DEBUG - VN ctest-vn-55575892 UUID is 1c567b9c-f935-4a13-915c-10fcadbf5fd8
2026-02-04 20:28:48,253 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-67405444', 'ctest-vmi-67752918']}
2026-02-04 20:28:48,514 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67752918', 'id': '7bfabc7b-ff33-44e5-b840-be781bd405b1', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'network_id': '1c567b9c-f935-4a13-915c-10fcadbf5fd8', 'mac_address': '02:7b:fa:bc:7b:ff', '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': '121.171.234.195', 'subnet_id': 'b38960d7-5cce-47f2-8320-11a64ae5f247'}], 'security_groups': ['1e40effd-3328-4bda-88a5-d01a2f7741c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13aea1fa27984e91a976c1870a1cae3a'}}
2026-02-04 20:28:48,514 - DEBUG - Created port 7bfabc7b-ff33-44e5-b840-be781bd405b1
2026-02-04 20:28:48,616 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7bfabc7b-ff33-44e5-b840-be781bd405b1
2026-02-04 20:28:48,908 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7bfabc7b-ff33-44e5-b840-be781bd405b1
2026-02-04 20:28:48,941 - INFO - VMI 7bfabc7b-ff33-44e5-b840-be781bd405b1 verification in API Server passed
2026-02-04 20:28:49,018 - DEBUG - Response for delete_port : ()
2026-02-04 20:28:49,018 - INFO - Deleted port 7bfabc7b-ff33-44e5-b840-be781bd405b1
2026-02-04 20:28:49,018 - INFO - Deleting VN ctest-vn-55575892
2026-02-04 20:28:49,108 - DEBUG - Response for deleting network ()
2026-02-04 20:28:49,362 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 20:28:49,362 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-04 20:28:49,362 - INFO - --------------------------------------------------------------------------------
2026-02-04 20:28:49,364 - INFO - ================================================================================
2026-02-04 20:28:49,364 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-04 20:28:49,364 - 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-04 20:28:49,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2026-02-04 20:28:49,649 - INFO - Initial checks done. Running the testcase now
2026-02-04 20:28:49,649 - INFO -
2026-02-04 20:28:49,821 - DEBUG - Response for create_network : {'network': {'id': '7c331f8a-2d2b-4cde-8d65-c43bf0387b6b', 'name': 'ctest-vn1-27512216', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'project_id': '13aea1fa27984e91a976c1870a1cae3a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-67405444', 'ctest-vn1-27512216'], 'port_security_enabled': True, 'description': ''}}
2026-02-04 20:28:49,961 - DEBUG - Response for create_subnet : {'subnet': {'id': '34c8912c-67df-48b8-8c84-1b6d48c945b8', 'name': '', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'network_id': '7c331f8a-2d2b-4cde-8d65-c43bf0387b6b', 'ip_version': 4, 'cidr': '156.172.170.0/26', 'allocation_pools': [{'start': '156.172.170.2', 'end': '156.172.170.62'}], 'gateway_ip': '156.172.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.172.170.2', 'tags': [], 'project_id': '13aea1fa27984e91a976c1870a1cae3a'}}
2026-02-04 20:28:50,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '6bb09278-d64e-4441-9726-176ba732d8b2', 'name': '', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'network_id': '7c331f8a-2d2b-4cde-8d65-c43bf0387b6b', 'ip_version': 4, 'cidr': '112.180.212.192/26', 'allocation_pools': [{'start': '112.180.212.194', 'end': '112.180.212.254'}], 'gateway_ip': '112.180.212.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.180.212.194', 'tags': [], 'project_id': '13aea1fa27984e91a976c1870a1cae3a'}}
2026-02-04 20:28:50,149 - INFO - Created VN ctest-vn1-27512216
2026-02-04 20:28:50,200 - DEBUG - VN ctest-vn1-27512216 UUID is 7c331f8a-2d2b-4cde-8d65-c43bf0387b6b
2026-02-04 20:28:50,477 - DEBUG - Response for create_port : {'port': {'name': '74136583-8352-4cce-beaa-11576d9eb23c', 'id': '74136583-8352-4cce-beaa-11576d9eb23c', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'network_id': '7c331f8a-2d2b-4cde-8d65-c43bf0387b6b', 'mac_address': '02:74:13:65:83:83', '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': '156.172.170.5', 'subnet_id': '34c8912c-67df-48b8-8c84-1b6d48c945b8'}], 'security_groups': ['1e40effd-3328-4bda-88a5-d01a2f7741c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13aea1fa27984e91a976c1870a1cae3a'}}
2026-02-04 20:28:50,663 - DEBUG - Response for create_port : {'port': {'name': '71d4f295-90ed-4d80-a879-94179826bd82', 'id': '71d4f295-90ed-4d80-a879-94179826bd82', 'tenant_id': '13aea1fa27984e91a976c1870a1cae3a', 'network_id': '7c331f8a-2d2b-4cde-8d65-c43bf0387b6b', 'mac_address': '02:71:d4:f2:95:90', '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': '112.180.212.197', 'subnet_id': '6bb09278-d64e-4441-9726-176ba732d8b2'}], 'security_groups': ['1e40effd-3328-4bda-88a5-d01a2f7741c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '13aea1fa27984e91a976c1870a1cae3a'}}
2026-02-04 20:28:50,717 - DEBUG - Services list from nova: [, , ]
2026-02-04 20:28:51,033 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5209-1)
2026-02-04 20:28:51,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5209-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5209-1)
2026-02-04 20:28:51,422 - INFO - Waiting for VM ctest-vn1-vm1-29018855 to be up..
2026-02-04 20:28:51,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-04 20:28:56,524 - DEBUG - VM is in ACTIVE state now
2026-02-04 20:28:56,524 - INFO - VM name : ctest-vn1-vm1-29018855
2026-02-04 20:28:56,595 - DEBUG - VM ctest-vn1-vm1-29018855 ID is d4316df5-ad1c-49f4-ab4f-c2f28632d3d2
2026-02-04 20:28:56,612 - DEBUG - VM ctest-vn1-vm1-29018855 launched on Node cn-jenkins-deploy-platform-ansible-os-5209-1
2026-02-04 20:28:56,679 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d4316df5-ad1c-49f4-ab4f-c2f28632d3d2
2026-02-04 20:28:56,686 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/74136583-8352-4cce-beaa-11576d9eb23c
2026-02-04 20:28:59,911 - 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 1001ms')
2026-02-04 20:28:59,912 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29018855 failed!
2026-02-04 20:28:59,964 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67405444:ctest-vn1-27512216 is 156.172.170.1 and allocation pool is NOT set
2026-02-04 20:28:59,965 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-67405444:ctest-vn1-27512216 is 112.180.212.193 and allocation pool is NOT set
2026-02-04 20:29:02,029 - 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=5.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.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 = 2.176/3.937/5.698/1.761 ms')
2026-02-04 20:29:02,029 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29018855 passed
2026-02-04 20:29:02,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 20:29:02,177 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29018855, IP 156.172.170.5, Port 22
2026-02-04 20:29:02,328 - DEBUG - VM ctest-vn1-vm1-29018855 is ready for SSH connections
2026-02-04 20:29:02,328 - INFO - Waiting for VM ctest-vn1-vm2-68310688 to be up..
2026-02-04 20:29:02,529 - DEBUG - VM is in ACTIVE state now
2026-02-04 20:29:02,529 - INFO - VM name : ctest-vn1-vm2-68310688
2026-02-04 20:29:02,596 - DEBUG - VM ctest-vn1-vm2-68310688 ID is 37800a41-695a-41a9-af28-96ff5907a7cb
2026-02-04 20:29:02,596 - DEBUG - VM ctest-vn1-vm2-68310688 launched on Node cn-jenkins-deploy-platform-ansible-os-5209-1
2026-02-04 20:29:02,662 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/37800a41-695a-41a9-af28-96ff5907a7cb
2026-02-04 20:29:02,670 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/71d4f295-90ed-4d80-a879-94179826bd82
2026-02-04 20:29:03,897 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/2.417/4.354/1.937 ms')
2026-02-04 20:29:03,897 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68310688 passed
2026-02-04 20:29:04,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 20:29:04,049 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68310688, IP 112.180.212.197, Port 22
2026-02-04 20:29:04,200 - DEBUG - VM ctest-vn1-vm2-68310688 is ready for SSH connections
2026-02-04 20:29:04,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 20:29:04,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 20:29:04,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-04 20:29:04,201 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.172.170.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2026-02-04 20:29:04,201 - DEBUG - ping -s 56 -c 3 -W 1 156.172.170.5
2026-02-04 20:29:06,854 - DEBUG - PING 156.172.170.5 (156.172.170.5): 56 data bytes
64 bytes from 156.172.170.5: seq=0 ttl=63 time=5.112 ms
64 bytes from 156.172.170.5: seq=1 ttl=63 time=0.834 ms
64 bytes from 156.172.170.5: seq=2 ttl=63 time=0.754 ms
--- 156.172.170.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.754/2.233/5.112 ms
2026-02-04 20:29:06,854 - INFO - Ping to IP 156.172.170.5 from VM ctest-vn1-vm2-68310688 passed
2026-02-04 20:29:06,854 - INFO - Detaching port 71d4f295-90ed-4d80-a879-94179826bd82 from VM ctest-vn1-vm2-68310688
2026-02-04 20:29:06,904 - INFO - Deleting VM ctest-vn1-vm2-68310688
2026-02-04 20:29:06,970 - INFO - Detaching port 74136583-8352-4cce-beaa-11576d9eb23c from VM ctest-vn1-vm1-29018855
2026-02-04 20:29:07,006 - INFO - Deleting VM ctest-vn1-vm1-29018855
2026-02-04 20:29:07,381 - DEBUG - Response for delete_port : ()
2026-02-04 20:29:07,706 - DEBUG - Response for delete_port : ()
2026-02-04 20:29:07,706 - INFO - Deleting VN ctest-vn1-27512216
2026-02-04 20:29:07,828 - DEBUG - Response for deleting network ()
2026-02-04 20:29:08,085 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 20:29:08,085 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2026-02-04 20:29:08,085 - INFO - --------------------------------------------------------------------------------
2026-02-04 20:29:08,755 - INFO - Deleted project: ctest-TestPorts-67405444, ID : 13aea1fa-2798-4e91-a976-c1870a1cae3a