2026-04-20 16:51:57,302 - INFO - Domain Default found not creating
2026-04-20 16:51:57,468 - INFO - Project ctest-TestPorts-33906157 not found, creating it
2026-04-20 16:51:57,885 - INFO - Created Project:ctest-TestPorts-33906157, ID : 99b26f24-0dd2-4f27-ac01-1bd71f37586d
2026-04-20 16:51:59,478 - INFO - ================================================================================
2026-04-20 16:51:59,478 - INFO - STARTING TEST : test_ports_bindings
2026-04-20 16:51:59,478 - 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-20 16:51:59,737 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.201': '0'}} with
2026-04-20 16:51:59,737 - INFO - Initial checks done. Running the testcase now
2026-04-20 16:51:59,737 - INFO -
2026-04-20 16:52:00,290 - DEBUG - Response for create_network : {'network': {'id': 'a4923a1d-8edf-4e6f-ba56-3ebebc83fe19', 'name': 'ctest-vn-08268963', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'project_id': '99b26f240dd24f27ac011bd71f37586d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33906157', 'ctest-vn-08268963'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 16:52:00,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '679b8af2-c280-44d2-941d-38f5b1c46c3e', 'name': '', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'network_id': 'a4923a1d-8edf-4e6f-ba56-3ebebc83fe19', 'ip_version': 4, 'cidr': '190.58.162.0/26', 'allocation_pools': [{'start': '190.58.162.2', 'end': '190.58.162.62'}], 'gateway_ip': '190.58.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.58.162.2', 'tags': [], 'project_id': '99b26f240dd24f27ac011bd71f37586d'}}
2026-04-20 16:52:00,506 - INFO - Created VN ctest-vn-08268963
2026-04-20 16:52:00,561 - DEBUG - VN ctest-vn-08268963 UUID is a4923a1d-8edf-4e6f-ba56-3ebebc83fe19
2026-04-20 16:52:00,671 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33906157', 'ctest-vmi-06408244']}
2026-04-20 16:52:00,908 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06408244', 'id': 'e09f89ab-78ac-4f61-8066-57747c1751df', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'network_id': 'a4923a1d-8edf-4e6f-ba56-3ebebc83fe19', 'mac_address': '02:e0:9f:89:ab:78', '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': '190.58.162.3', 'subnet_id': '679b8af2-c280-44d2-941d-38f5b1c46c3e'}], 'security_groups': ['7f7b5502-e3de-4628-ac3e-8dd54a0a5079'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99b26f240dd24f27ac011bd71f37586d'}}
2026-04-20 16:52:00,908 - DEBUG - Created port e09f89ab-78ac-4f61-8066-57747c1751df
2026-04-20 16:52:01,013 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e09f89ab-78ac-4f61-8066-57747c1751df
2026-04-20 16:52:01,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e09f89ab-78ac-4f61-8066-57747c1751df
2026-04-20 16:52:01,344 - INFO - VMI e09f89ab-78ac-4f61-8066-57747c1751df verification in API Server passed
2026-04-20 16:52:01,440 - DEBUG - Response for delete_port : ()
2026-04-20 16:52:01,440 - INFO - Deleted port e09f89ab-78ac-4f61-8066-57747c1751df
2026-04-20 16:52:01,440 - INFO - Deleting VN ctest-vn-08268963
2026-04-20 16:52:01,539 - DEBUG - Response for deleting network ()
2026-04-20 16:52:01,798 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:52:01,798 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-04-20 16:52:01,798 - INFO - --------------------------------------------------------------------------------
2026-04-20 16:52:01,800 - INFO - ================================================================================
2026-04-20 16:52:01,800 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-20 16:52:01,801 - 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-20 16:52:02,086 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.201': '0'}} with
2026-04-20 16:52:02,086 - INFO - Initial checks done. Running the testcase now
2026-04-20 16:52:02,086 - INFO -
2026-04-20 16:52:02,274 - DEBUG - Response for create_network : {'network': {'id': 'e034588c-5122-4e0c-a6cd-f69399cbcdff', 'name': 'ctest-vn1-89280439', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'project_id': '99b26f240dd24f27ac011bd71f37586d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33906157', 'ctest-vn1-89280439'], 'port_security_enabled': True, 'description': ''}}
2026-04-20 16:52:02,464 - DEBUG - Response for create_subnet : {'subnet': {'id': '2d038c95-68c9-4b31-8da6-12c05d836a27', 'name': '', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'network_id': 'e034588c-5122-4e0c-a6cd-f69399cbcdff', 'ip_version': 4, 'cidr': '223.202.114.64/26', 'allocation_pools': [{'start': '223.202.114.66', 'end': '223.202.114.126'}], 'gateway_ip': '223.202.114.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.202.114.66', 'tags': [], 'project_id': '99b26f240dd24f27ac011bd71f37586d'}}
2026-04-20 16:52:02,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '42dfc476-2460-4127-a905-7394b196e18c', 'name': '', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'network_id': 'e034588c-5122-4e0c-a6cd-f69399cbcdff', 'ip_version': 4, 'cidr': '73.240.8.128/26', 'allocation_pools': [{'start': '73.240.8.130', 'end': '73.240.8.190'}], 'gateway_ip': '73.240.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.240.8.130', 'tags': [], 'project_id': '99b26f240dd24f27ac011bd71f37586d'}}
2026-04-20 16:52:02,634 - INFO - Created VN ctest-vn1-89280439
2026-04-20 16:52:02,693 - DEBUG - VN ctest-vn1-89280439 UUID is e034588c-5122-4e0c-a6cd-f69399cbcdff
2026-04-20 16:52:03,010 - DEBUG - Response for create_port : {'port': {'name': '1bd32b66-482d-415d-9dcb-2bdbc99c68c8', 'id': '1bd32b66-482d-415d-9dcb-2bdbc99c68c8', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'network_id': 'e034588c-5122-4e0c-a6cd-f69399cbcdff', 'mac_address': '02:1b:d3:2b:66:48', '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': '223.202.114.69', 'subnet_id': '2d038c95-68c9-4b31-8da6-12c05d836a27'}], 'security_groups': ['7f7b5502-e3de-4628-ac3e-8dd54a0a5079'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99b26f240dd24f27ac011bd71f37586d'}}
2026-04-20 16:52:03,184 - DEBUG - Response for create_port : {'port': {'name': 'ad12df5d-35ab-461e-a33d-2b8852b8cccf', 'id': 'ad12df5d-35ab-461e-a33d-2b8852b8cccf', 'tenant_id': '99b26f240dd24f27ac011bd71f37586d', 'network_id': 'e034588c-5122-4e0c-a6cd-f69399cbcdff', 'mac_address': '02:ad:12:df:5d: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': '73.240.8.133', 'subnet_id': '42dfc476-2460-4127-a905-7394b196e18c'}], 'security_groups': ['7f7b5502-e3de-4628-ac3e-8dd54a0a5079'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '99b26f240dd24f27ac011bd71f37586d'}}
2026-04-20 16:52:03,243 - DEBUG - Services list from nova: [, , ]
2026-04-20 16:52:03,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5655-1)
2026-04-20 16:52:04,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5655-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5655-1)
2026-04-20 16:52:04,030 - INFO - Waiting for VM ctest-vn1-vm1-39527355 to be up..
2026-04-20 16:52:04,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-20 16:52:09,150 - DEBUG - VM is in ACTIVE state now
2026-04-20 16:52:09,150 - INFO - VM name : ctest-vn1-vm1-39527355
2026-04-20 16:52:09,232 - DEBUG - VM ctest-vn1-vm1-39527355 ID is fe060075-2318-485c-9c82-ae88b2d0ed3c
2026-04-20 16:52:09,255 - DEBUG - VM ctest-vn1-vm1-39527355 launched on Node cn-jenkins-deploy-platform-ansible-os-5655-1
2026-04-20 16:52:09,340 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fe060075-2318-485c-9c82-ae88b2d0ed3c
2026-04-20 16:52:09,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1bd32b66-482d-415d-9dcb-2bdbc99c68c8
2026-04-20 16:52:12,606 - 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 1018ms')
2026-04-20 16:52:12,606 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39527355 failed!
2026-04-20 16:52:12,661 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33906157:ctest-vn1-89280439 is 223.202.114.65 and allocation pool is NOT set
2026-04-20 16:52:12,661 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33906157:ctest-vn1-89280439 is 73.240.8.129 and allocation pool is NOT set
2026-04-20 16:52:14,721 - 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=13.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 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 = 1.101/7.472/13.843/6.371 ms')
2026-04-20 16:52:14,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39527355 passed
2026-04-20 16:52:14,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:52:14,901 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39527355, IP 223.202.114.69, Port 22
2026-04-20 16:52:15,068 - DEBUG - VM ctest-vn1-vm1-39527355 is ready for SSH connections
2026-04-20 16:52:15,068 - INFO - Waiting for VM ctest-vn1-vm2-45910789 to be up..
2026-04-20 16:52:15,154 - DEBUG - VM is in ACTIVE state now
2026-04-20 16:52:15,154 - INFO - VM name : ctest-vn1-vm2-45910789
2026-04-20 16:52:15,236 - DEBUG - VM ctest-vn1-vm2-45910789 ID is a20fc8a1-ab4d-4e52-8d41-792402321b9b
2026-04-20 16:52:15,236 - DEBUG - VM ctest-vn1-vm2-45910789 launched on Node cn-jenkins-deploy-platform-ansible-os-5655-1
2026-04-20 16:52:15,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a20fc8a1-ab4d-4e52-8d41-792402321b9b
2026-04-20 16:52:15,324 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ad12df5d-35ab-461e-a33d-2b8852b8cccf
2026-04-20 16:52:16,568 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.843 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.843/2.569/4.295/1.726 ms')
2026-04-20 16:52:16,569 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45910789 passed
2026-04-20 16:52:16,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:52:16,721 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45910789, IP 73.240.8.133, Port 22
2026-04-20 16:52:16,876 - DEBUG - VM ctest-vn1-vm2-45910789 is ready for SSH connections
2026-04-20 16:52:16,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:52:16,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:52:16,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-20 16:52:16,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.202.114.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-20 16:52:16,877 - DEBUG - ping -s 56 -c 3 -W 1 223.202.114.69
2026-04-20 16:52:19,558 - DEBUG - PING 223.202.114.69 (223.202.114.69): 56 data bytes
64 bytes from 223.202.114.69: seq=0 ttl=63 time=3.632 ms
64 bytes from 223.202.114.69: seq=1 ttl=63 time=0.926 ms
64 bytes from 223.202.114.69: seq=2 ttl=63 time=0.881 ms
--- 223.202.114.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.881/1.813/3.632 ms
2026-04-20 16:52:19,558 - INFO - Ping to IP 223.202.114.69 from VM ctest-vn1-vm2-45910789 passed
2026-04-20 16:52:19,558 - INFO - Detaching port ad12df5d-35ab-461e-a33d-2b8852b8cccf from VM ctest-vn1-vm2-45910789
2026-04-20 16:52:19,609 - INFO - Deleting VM ctest-vn1-vm2-45910789
2026-04-20 16:52:19,676 - INFO - Detaching port 1bd32b66-482d-415d-9dcb-2bdbc99c68c8 from VM ctest-vn1-vm1-39527355
2026-04-20 16:52:19,711 - INFO - Deleting VM ctest-vn1-vm1-39527355
2026-04-20 16:52:19,955 - DEBUG - Response for delete_port : ()
2026-04-20 16:52:20,129 - DEBUG - Response for delete_port : ()
2026-04-20 16:52:20,129 - INFO - Deleting VN ctest-vn1-89280439
2026-04-20 16:52:20,257 - DEBUG - Response for deleting network ()
2026-04-20 16:52:20,525 - DEBUG - No XMPP flaps were noticed during the test
2026-04-20 16:52:20,525 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2026-04-20 16:52:20,526 - INFO - --------------------------------------------------------------------------------
2026-04-20 16:52:21,232 - INFO - Deleted project: ctest-TestPorts-33906157, ID : 99b26f24-0dd2-4f27-ac01-1bd71f37586d