2026-02-03 12:56:38,271 - INFO - Domain Default found not creating
2026-02-03 12:56:38,468 - INFO - Project ctest-TestPorts-34860073 not found, creating it
2026-02-03 12:56:39,003 - INFO - Created Project:ctest-TestPorts-34860073, ID : 561f94d6-b71b-4ca7-b081-ee2125011c62
2026-02-03 12:56:40,797 - INFO - ================================================================================
2026-02-03 12:56:40,797 - INFO - STARTING TEST : test_ports_bindings
2026-02-03 12:56:40,797 - 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-03 12:56:41,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-02-03 12:56:41,072 - INFO - Initial checks done. Running the testcase now
2026-02-03 12:56:41,072 - INFO -
2026-02-03 12:56:41,677 - DEBUG - Response for create_network : {'network': {'id': 'e2f65bdc-b6b8-4e35-8372-a9cbddced7f8', 'name': 'ctest-vn-45371959', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'project_id': '561f94d6b71b4ca7b081ee2125011c62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34860073', 'ctest-vn-45371959'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 12:56:41,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cee9f2f-0f2e-4d11-bb9d-a8e702030194', 'name': '', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'network_id': 'e2f65bdc-b6b8-4e35-8372-a9cbddced7f8', 'ip_version': 4, 'cidr': '21.111.68.64/26', 'allocation_pools': [{'start': '21.111.68.66', 'end': '21.111.68.126'}], 'gateway_ip': '21.111.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.111.68.66', 'tags': [], 'project_id': '561f94d6b71b4ca7b081ee2125011c62'}}
2026-02-03 12:56:41,874 - INFO - Created VN ctest-vn-45371959
2026-02-03 12:56:41,927 - DEBUG - VN ctest-vn-45371959 UUID is e2f65bdc-b6b8-4e35-8372-a9cbddced7f8
2026-02-03 12:56:42,061 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34860073', 'ctest-vmi-92388967']}
2026-02-03 12:56:42,360 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92388967', 'id': 'ffc8db4c-6077-417e-a789-77c35a092463', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'network_id': 'e2f65bdc-b6b8-4e35-8372-a9cbddced7f8', 'mac_address': '02:ff:c8:db:4c:60', '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': '21.111.68.67', 'subnet_id': '8cee9f2f-0f2e-4d11-bb9d-a8e702030194'}], 'security_groups': ['48d19f7e-1aa7-4e2f-9db6-4828ee1cabd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '561f94d6b71b4ca7b081ee2125011c62'}}
2026-02-03 12:56:42,360 - DEBUG - Created port ffc8db4c-6077-417e-a789-77c35a092463
2026-02-03 12:56:42,471 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/ffc8db4c-6077-417e-a789-77c35a092463
2026-02-03 12:56:42,772 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/ffc8db4c-6077-417e-a789-77c35a092463
2026-02-03 12:56:42,816 - INFO - VMI ffc8db4c-6077-417e-a789-77c35a092463 verification in API Server passed
2026-02-03 12:56:42,927 - DEBUG - Response for delete_port : ()
2026-02-03 12:56:42,927 - INFO - Deleted port ffc8db4c-6077-417e-a789-77c35a092463
2026-02-03 12:56:42,927 - INFO - Deleting VN ctest-vn-45371959
2026-02-03 12:56:43,039 - DEBUG - Response for deleting network ()
2026-02-03 12:56:43,317 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 12:56:43,317 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-03 12:56:43,317 - INFO - --------------------------------------------------------------------------------
2026-02-03 12:56:43,322 - INFO - ================================================================================
2026-02-03 12:56:43,322 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-03 12:56:43,322 - 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-03 12:56:43,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.254': '0'}} with
2026-02-03 12:56:43,611 - INFO - Initial checks done. Running the testcase now
2026-02-03 12:56:43,611 - INFO -
2026-02-03 12:56:43,823 - DEBUG - Response for create_network : {'network': {'id': '26b29a89-510e-4822-b6c7-61e5e47c11b8', 'name': 'ctest-vn1-04655676', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'project_id': '561f94d6b71b4ca7b081ee2125011c62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34860073', 'ctest-vn1-04655676'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 12:56:44,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '5aa75426-0e02-4340-9006-3f2685d4d550', 'name': '', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'network_id': '26b29a89-510e-4822-b6c7-61e5e47c11b8', 'ip_version': 4, 'cidr': '2.231.112.192/26', 'allocation_pools': [{'start': '2.231.112.194', 'end': '2.231.112.254'}], 'gateway_ip': '2.231.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.231.112.194', 'tags': [], 'project_id': '561f94d6b71b4ca7b081ee2125011c62'}}
2026-02-03 12:56:44,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b2da659-af75-40c8-8ee6-6e25d21f62be', 'name': '', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'network_id': '26b29a89-510e-4822-b6c7-61e5e47c11b8', 'ip_version': 4, 'cidr': '98.20.163.0/26', 'allocation_pools': [{'start': '98.20.163.2', 'end': '98.20.163.62'}], 'gateway_ip': '98.20.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.20.163.2', 'tags': [], 'project_id': '561f94d6b71b4ca7b081ee2125011c62'}}
2026-02-03 12:56:44,249 - INFO - Created VN ctest-vn1-04655676
2026-02-03 12:56:44,303 - DEBUG - VN ctest-vn1-04655676 UUID is 26b29a89-510e-4822-b6c7-61e5e47c11b8
2026-02-03 12:56:44,667 - DEBUG - Response for create_port : {'port': {'name': '3545923f-ccea-44bc-a0b8-7548c8ae5123', 'id': '3545923f-ccea-44bc-a0b8-7548c8ae5123', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'network_id': '26b29a89-510e-4822-b6c7-61e5e47c11b8', 'mac_address': '02:35:45:92:3f:cc', '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': '2.231.112.197', 'subnet_id': '5aa75426-0e02-4340-9006-3f2685d4d550'}], 'security_groups': ['48d19f7e-1aa7-4e2f-9db6-4828ee1cabd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '561f94d6b71b4ca7b081ee2125011c62'}}
2026-02-03 12:56:44,889 - DEBUG - Response for create_port : {'port': {'name': '7c92167b-c803-49f7-bf0d-f792235dc77a', 'id': '7c92167b-c803-49f7-bf0d-f792235dc77a', 'tenant_id': '561f94d6b71b4ca7b081ee2125011c62', 'network_id': '26b29a89-510e-4822-b6c7-61e5e47c11b8', 'mac_address': '02:7c:92:16:7b:c8', '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': '98.20.163.5', 'subnet_id': '0b2da659-af75-40c8-8ee6-6e25d21f62be'}], 'security_groups': ['48d19f7e-1aa7-4e2f-9db6-4828ee1cabd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '561f94d6b71b4ca7b081ee2125011c62'}}
2026-02-03 12:56:44,964 - DEBUG - Services list from nova: [, , ]
2026-02-03 12:56:45,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5188-1)
2026-02-03 12:56:46,126 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5188-1)
2026-02-03 12:56:46,126 - INFO - Waiting for VM ctest-vn1-vm1-45331070 to be up..
2026-02-03 12:56:46,184 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-03 12:56:51,297 - DEBUG - VM is in ACTIVE state now
2026-02-03 12:56:51,297 - INFO - VM name : ctest-vn1-vm1-45331070
2026-02-03 12:56:51,385 - DEBUG - VM ctest-vn1-vm1-45331070 ID is 498dd45e-109a-471a-8efb-7026f19dc163
2026-02-03 12:56:51,407 - DEBUG - VM ctest-vn1-vm1-45331070 launched on Node cn-jenkins-deploy-platform-ansible-os-5188-1
2026-02-03 12:56:51,488 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/498dd45e-109a-471a-8efb-7026f19dc163
2026-02-03 12:56:51,498 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/3545923f-ccea-44bc-a0b8-7548c8ae5123
2026-02-03 12:56:54,749 - 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 1006ms')
2026-02-03 12:56:54,750 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45331070 failed!
2026-02-03 12:56:54,807 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34860073:ctest-vn1-04655676 is 2.231.112.193 and allocation pool is NOT set
2026-02-03 12:56:54,807 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34860073:ctest-vn1-04655676 is 98.20.163.1 and allocation pool is NOT set
2026-02-03 12:56:58,872 - 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=2 ttl=63 time=13.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 13.041/13.041/13.041/0.000 ms')
2026-02-03 12:56:58,872 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45331070 passed
2026-02-03 12:56:59,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 12:56:59,027 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45331070, IP 2.231.112.197, Port 22
2026-02-03 12:56:59,093 - 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-03 12:56:59,185 - DEBUG - VM ctest-vn1-vm1-45331070 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-03 12:57:04,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 12:57:04,187 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45331070, IP 2.231.112.197, Port 22
2026-02-03 12:57:04,353 - DEBUG - VM ctest-vn1-vm1-45331070 is ready for SSH connections
2026-02-03 12:57:04,353 - INFO - Waiting for VM ctest-vn1-vm2-35764013 to be up..
2026-02-03 12:57:04,442 - DEBUG - VM is in ACTIVE state now
2026-02-03 12:57:04,442 - INFO - VM name : ctest-vn1-vm2-35764013
2026-02-03 12:57:04,537 - DEBUG - VM ctest-vn1-vm2-35764013 ID is 533d43d5-51d7-4823-abd8-6dcbe6d6b51b
2026-02-03 12:57:04,538 - DEBUG - VM ctest-vn1-vm2-35764013 launched on Node cn-jenkins-deploy-platform-ansible-os-5188-1
2026-02-03 12:57:04,627 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/533d43d5-51d7-4823-abd8-6dcbe6d6b51b
2026-02-03 12:57:04,637 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/7c92167b-c803-49f7-bf0d-f792235dc77a
2026-02-03 12:57:05,887 - 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=3.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 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.458/1.879/3.301/1.421 ms')
2026-02-03 12:57:05,887 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-35764013 passed
2026-02-03 12:57:06,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 12:57:06,039 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35764013, IP 98.20.163.5, Port 22
2026-02-03 12:57:06,203 - DEBUG - VM ctest-vn1-vm2-35764013 is ready for SSH connections
2026-02-03 12:57:06,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 12:57:06,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 12:57:06,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-03 12:57:06,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 2.231.112.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2026-02-03 12:57:06,203 - DEBUG - ping -s 56 -c 3 -W 1 2.231.112.197
2026-02-03 12:57:08,917 - DEBUG - PING 2.231.112.197 (2.231.112.197): 56 data bytes
64 bytes from 2.231.112.197: seq=0 ttl=63 time=4.790 ms
64 bytes from 2.231.112.197: seq=1 ttl=63 time=1.153 ms
64 bytes from 2.231.112.197: seq=2 ttl=63 time=1.777 ms
--- 2.231.112.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.153/2.573/4.790 ms
2026-02-03 12:57:08,917 - INFO - Ping to IP 2.231.112.197 from VM ctest-vn1-vm2-35764013 passed
2026-02-03 12:57:08,917 - INFO - Detaching port 7c92167b-c803-49f7-bf0d-f792235dc77a from VM ctest-vn1-vm2-35764013
2026-02-03 12:57:08,973 - INFO - Deleting VM ctest-vn1-vm2-35764013
2026-02-03 12:57:09,049 - INFO - Detaching port 3545923f-ccea-44bc-a0b8-7548c8ae5123 from VM ctest-vn1-vm1-45331070
2026-02-03 12:57:09,092 - INFO - Deleting VM ctest-vn1-vm1-45331070
2026-02-03 12:57:09,403 - DEBUG - Response for delete_port : ()
2026-02-03 12:57:09,608 - DEBUG - Response for delete_port : ()
2026-02-03 12:57:09,608 - INFO - Deleting VN ctest-vn1-04655676
2026-02-03 12:57:09,803 - DEBUG - Response for deleting network ()
2026-02-03 12:57:10,080 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 12:57:10,081 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-02-03 12:57:10,081 - INFO - --------------------------------------------------------------------------------
2026-02-03 12:57:10,807 - INFO - Deleted project: ctest-TestPorts-34860073, ID : 561f94d6-b71b-4ca7-b081-ee2125011c62