2025-12-10 17:04:40,773 - INFO - Domain Default found not creating
2025-12-10 17:04:40,934 - INFO - Project ctest-TestPorts-52274526 not found, creating it
2025-12-10 17:04:41,393 - INFO - Created Project:ctest-TestPorts-52274526, ID : 7e188ab6-8a65-44a0-942e-0d1aa338dde0
2025-12-10 17:04:42,950 - INFO - ================================================================================
2025-12-10 17:04:42,951 - INFO - STARTING TEST : test_ports_bindings
2025-12-10 17:04:42,951 - 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
2025-12-10 17:04:43,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with
2025-12-10 17:04:43,209 - INFO - Initial checks done. Running the testcase now
2025-12-10 17:04:43,209 - INFO -
2025-12-10 17:04:43,749 - DEBUG - Response for create_network : {'network': {'id': '4216ed66-203b-41d5-b183-98c6127eae2f', 'name': 'ctest-vn-21635465', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'project_id': '7e188ab68a6544a0942e0d1aa338dde0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52274526', 'ctest-vn-21635465'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:04:43,970 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba7e4b8c-8d0b-41a3-9d19-0e1ca0b8a28f', 'name': '', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'network_id': '4216ed66-203b-41d5-b183-98c6127eae2f', 'ip_version': 4, 'cidr': '137.141.143.192/26', 'allocation_pools': [{'start': '137.141.143.194', 'end': '137.141.143.254'}], 'gateway_ip': '137.141.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.141.143.194', 'tags': [], 'project_id': '7e188ab68a6544a0942e0d1aa338dde0'}}
2025-12-10 17:04:43,988 - INFO - Created VN ctest-vn-21635465
2025-12-10 17:04:44,044 - DEBUG - VN ctest-vn-21635465 UUID is 4216ed66-203b-41d5-b183-98c6127eae2f
2025-12-10 17:04:44,155 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52274526', 'ctest-vmi-58433200']}
2025-12-10 17:04:44,415 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58433200', 'id': 'bcd96b3e-f8f3-41a6-a334-e69d00d6e5ac', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'network_id': '4216ed66-203b-41d5-b183-98c6127eae2f', 'mac_address': '02:bc:d9:6b:3e:f8', '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': '137.141.143.195', 'subnet_id': 'ba7e4b8c-8d0b-41a3-9d19-0e1ca0b8a28f'}], 'security_groups': ['eb360dfd-6365-41d1-bd84-483a296a1368'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e188ab68a6544a0942e0d1aa338dde0'}}
2025-12-10 17:04:44,415 - DEBUG - Created port bcd96b3e-f8f3-41a6-a334-e69d00d6e5ac
2025-12-10 17:04:44,524 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/bcd96b3e-f8f3-41a6-a334-e69d00d6e5ac
2025-12-10 17:04:44,840 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/bcd96b3e-f8f3-41a6-a334-e69d00d6e5ac
2025-12-10 17:04:44,881 - INFO - VMI bcd96b3e-f8f3-41a6-a334-e69d00d6e5ac verification in API Server passed
2025-12-10 17:04:44,970 - DEBUG - Response for delete_port : ()
2025-12-10 17:04:44,970 - INFO - Deleted port bcd96b3e-f8f3-41a6-a334-e69d00d6e5ac
2025-12-10 17:04:44,970 - INFO - Deleting VN ctest-vn-21635465
2025-12-10 17:04:45,078 - DEBUG - Response for deleting network ()
2025-12-10 17:04:45,338 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:04:45,338 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-10 17:04:45,338 - INFO - --------------------------------------------------------------------------------
2025-12-10 17:04:45,340 - INFO - ================================================================================
2025-12-10 17:04:45,340 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-10 17:04:45,340 - 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
2025-12-10 17:04:45,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.25': '0'}} with
2025-12-10 17:04:45,625 - INFO - Initial checks done. Running the testcase now
2025-12-10 17:04:45,625 - INFO -
2025-12-10 17:04:45,798 - DEBUG - Response for create_network : {'network': {'id': '199855b2-4d9f-4850-9ea2-e50a62b644d3', 'name': 'ctest-vn1-13862586', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'project_id': '7e188ab68a6544a0942e0d1aa338dde0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52274526', 'ctest-vn1-13862586'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 17:04:45,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '45972788-3f5a-4960-9c73-01f077e6ff4f', 'name': '', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'network_id': '199855b2-4d9f-4850-9ea2-e50a62b644d3', 'ip_version': 4, 'cidr': '223.114.232.192/26', 'allocation_pools': [{'start': '223.114.232.194', 'end': '223.114.232.254'}], 'gateway_ip': '223.114.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.114.232.194', 'tags': [], 'project_id': '7e188ab68a6544a0942e0d1aa338dde0'}}
2025-12-10 17:04:46,149 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e63b8949-c5b2-4608-ab19-6c0f21fa302a', 'name': '', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'network_id': '199855b2-4d9f-4850-9ea2-e50a62b644d3', 'ip_version': 4, 'cidr': '84.26.48.0/26', 'allocation_pools': [{'start': '84.26.48.2', 'end': '84.26.48.62'}], 'gateway_ip': '84.26.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.26.48.2', 'tags': [], 'project_id': '7e188ab68a6544a0942e0d1aa338dde0'}}
2025-12-10 17:04:46,169 - INFO - Created VN ctest-vn1-13862586
2025-12-10 17:04:46,224 - DEBUG - VN ctest-vn1-13862586 UUID is 199855b2-4d9f-4850-9ea2-e50a62b644d3
2025-12-10 17:04:46,512 - DEBUG - Response for create_port : {'port': {'name': '006f1416-a9bd-4f5b-89ba-f05da4d5b4d2', 'id': '006f1416-a9bd-4f5b-89ba-f05da4d5b4d2', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'network_id': '199855b2-4d9f-4850-9ea2-e50a62b644d3', 'mac_address': '02:00:6f:14:16:a9', '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.114.232.197', 'subnet_id': '45972788-3f5a-4960-9c73-01f077e6ff4f'}], 'security_groups': ['eb360dfd-6365-41d1-bd84-483a296a1368'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e188ab68a6544a0942e0d1aa338dde0'}}
2025-12-10 17:04:46,667 - DEBUG - Response for create_port : {'port': {'name': '633ade13-c03b-4c38-b1f1-9cc426bf3b0f', 'id': '633ade13-c03b-4c38-b1f1-9cc426bf3b0f', 'tenant_id': '7e188ab68a6544a0942e0d1aa338dde0', 'network_id': '199855b2-4d9f-4850-9ea2-e50a62b644d3', 'mac_address': '02:63:3a:de:13:c0', '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': '84.26.48.5', 'subnet_id': 'e63b8949-c5b2-4608-ab19-6c0f21fa302a'}], 'security_groups': ['eb360dfd-6365-41d1-bd84-483a296a1368'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7e188ab68a6544a0942e0d1aa338dde0'}}
2025-12-10 17:04:46,722 - DEBUG - Services list from nova: [, , ]
2025-12-10 17:04:47,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4877-1)
2025-12-10 17:04:47,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4877-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4877-1)
2025-12-10 17:04:47,453 - INFO - Waiting for VM ctest-vn1-vm1-15048414 to be up..
2025-12-10 17:04:47,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-10 17:04:52,568 - DEBUG - VM is in ACTIVE state now
2025-12-10 17:04:52,568 - INFO - VM name : ctest-vn1-vm1-15048414
2025-12-10 17:04:52,641 - DEBUG - VM ctest-vn1-vm1-15048414 ID is 15210ae1-4341-4866-8d58-d33391d0b395
2025-12-10 17:04:52,663 - DEBUG - VM ctest-vn1-vm1-15048414 launched on Node cn-jenkins-deploy-platform-ansible-os-4877-1
2025-12-10 17:04:52,736 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/15210ae1-4341-4866-8d58-d33391d0b395
2025-12-10 17:04:52,745 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/006f1416-a9bd-4f5b-89ba-f05da4d5b4d2
2025-12-10 17:04:55,991 - 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')
2025-12-10 17:04:55,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15048414 failed!
2025-12-10 17:04:56,044 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52274526:ctest-vn1-13862586 is 223.114.232.193 and allocation pool is NOT set
2025-12-10 17:04:56,044 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52274526:ctest-vn1-13862586 is 84.26.48.1 and allocation pool is NOT set
2025-12-10 17:05:00,121 - 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=9.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 9.734/9.734/9.734/0.000 ms')
2025-12-10 17:05:00,121 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15048414 passed
2025-12-10 17:05:00,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 17:05:00,284 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15048414, IP 223.114.232.197, Port 22
2025-12-10 17:05:00,439 - DEBUG - VM ctest-vn1-vm1-15048414 is ready for SSH connections
2025-12-10 17:05:00,439 - INFO - Waiting for VM ctest-vn1-vm2-06847215 to be up..
2025-12-10 17:05:00,520 - DEBUG - VM is in ACTIVE state now
2025-12-10 17:05:00,520 - INFO - VM name : ctest-vn1-vm2-06847215
2025-12-10 17:05:00,598 - DEBUG - VM ctest-vn1-vm2-06847215 ID is e9431f4b-84ec-49ea-97a0-4dbc89b099de
2025-12-10 17:05:00,599 - DEBUG - VM ctest-vn1-vm2-06847215 launched on Node cn-jenkins-deploy-platform-ansible-os-4877-1
2025-12-10 17:05:00,680 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/e9431f4b-84ec-49ea-97a0-4dbc89b099de
2025-12-10 17:05:00,690 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/633ade13-c03b-4c38-b1f1-9cc426bf3b0f
2025-12-10 17:05:01,926 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/2.301/4.179/1.877 ms')
2025-12-10 17:05:01,926 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-06847215 passed
2025-12-10 17:05:02,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 17:05:02,076 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06847215, IP 84.26.48.5, Port 22
2025-12-10 17:05:02,231 - DEBUG - VM ctest-vn1-vm2-06847215 is ready for SSH connections
2025-12-10 17:05:02,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 17:05:02,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 17:05:02,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-10 17:05:02,232 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.114.232.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-12-10 17:05:02,232 - DEBUG - ping -s 56 -c 3 -W 1 223.114.232.197
2025-12-10 17:05:04,906 - DEBUG - PING 223.114.232.197 (223.114.232.197): 56 data bytes
64 bytes from 223.114.232.197: seq=0 ttl=63 time=3.839 ms
64 bytes from 223.114.232.197: seq=1 ttl=63 time=1.185 ms
64 bytes from 223.114.232.197: seq=2 ttl=63 time=1.041 ms
--- 223.114.232.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.041/2.021/3.839 ms
2025-12-10 17:05:04,907 - INFO - Ping to IP 223.114.232.197 from VM ctest-vn1-vm2-06847215 passed
2025-12-10 17:05:04,907 - INFO - Detaching port 633ade13-c03b-4c38-b1f1-9cc426bf3b0f from VM ctest-vn1-vm2-06847215
2025-12-10 17:05:04,959 - INFO - Deleting VM ctest-vn1-vm2-06847215
2025-12-10 17:05:05,042 - INFO - Detaching port 006f1416-a9bd-4f5b-89ba-f05da4d5b4d2 from VM ctest-vn1-vm1-15048414
2025-12-10 17:05:05,081 - INFO - Deleting VM ctest-vn1-vm1-15048414
2025-12-10 17:05:05,340 - DEBUG - Response for delete_port : ()
2025-12-10 17:05:05,535 - DEBUG - Response for delete_port : ()
2025-12-10 17:05:05,535 - INFO - Deleting VN ctest-vn1-13862586
2025-12-10 17:05:05,689 - DEBUG - Response for deleting network ()
2025-12-10 17:05:05,945 - DEBUG - No XMPP flaps were noticed during the test
2025-12-10 17:05:05,945 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-12-10 17:05:05,946 - INFO - --------------------------------------------------------------------------------
2025-12-10 17:05:06,653 - INFO - Deleted project: ctest-TestPorts-52274526, ID : 7e188ab6-8a65-44a0-942e-0d1aa338dde0