2025-11-04 08:56:22,732 - INFO - Domain Default found not creating
2025-11-04 08:56:22,887 - INFO - Project ctest-TestPorts-48227236 not found, creating it
2025-11-04 08:56:23,339 - INFO - Created Project:ctest-TestPorts-48227236, ID : 70bd7615-f0ed-439a-bad0-5c513a3d40e9
2025-11-04 08:56:24,854 - INFO - ================================================================================
2025-11-04 08:56:24,854 - INFO - STARTING TEST : test_ports_bindings
2025-11-04 08:56:24,854 - 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-11-04 08:56:25,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-11-04 08:56:25,114 - INFO - Initial checks done. Running the testcase now
2025-11-04 08:56:25,114 - INFO -
2025-11-04 08:56:25,713 - DEBUG - Response for create_network : {'network': {'id': 'cd800e21-a915-412a-ab8b-34ffe796e47a', 'name': 'ctest-vn-96596173', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'project_id': '70bd7615f0ed439abad05c513a3d40e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48227236', 'ctest-vn-96596173'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 08:56:25,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a768b4d-f176-4299-9b09-eb73973a3f42', 'name': '', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'network_id': 'cd800e21-a915-412a-ab8b-34ffe796e47a', 'ip_version': 4, 'cidr': '68.106.236.128/26', 'allocation_pools': [{'start': '68.106.236.130', 'end': '68.106.236.190'}], 'gateway_ip': '68.106.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.106.236.130', 'tags': [], 'project_id': '70bd7615f0ed439abad05c513a3d40e9'}}
2025-11-04 08:56:25,890 - INFO - Created VN ctest-vn-96596173
2025-11-04 08:56:25,943 - DEBUG - VN ctest-vn-96596173 UUID is cd800e21-a915-412a-ab8b-34ffe796e47a
2025-11-04 08:56:26,053 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48227236', 'ctest-vmi-67169176']}
2025-11-04 08:56:26,339 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67169176', 'id': '18b6d48d-dec4-4960-b006-607084131890', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'network_id': 'cd800e21-a915-412a-ab8b-34ffe796e47a', 'mac_address': '02:18:b6:d4:8d:de', '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': '68.106.236.131', 'subnet_id': '1a768b4d-f176-4299-9b09-eb73973a3f42'}], 'security_groups': ['a41c1bf9-b0ec-4ef7-8ab3-287a86ae2439'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70bd7615f0ed439abad05c513a3d40e9'}}
2025-11-04 08:56:26,339 - DEBUG - Created port 18b6d48d-dec4-4960-b006-607084131890
2025-11-04 08:56:26,443 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/18b6d48d-dec4-4960-b006-607084131890
2025-11-04 08:56:26,777 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/18b6d48d-dec4-4960-b006-607084131890
2025-11-04 08:56:26,811 - INFO - VMI 18b6d48d-dec4-4960-b006-607084131890 verification in API Server passed
2025-11-04 08:56:26,895 - DEBUG - Response for delete_port : ()
2025-11-04 08:56:26,896 - INFO - Deleted port 18b6d48d-dec4-4960-b006-607084131890
2025-11-04 08:56:26,896 - INFO - Deleting VN ctest-vn-96596173
2025-11-04 08:56:26,986 - DEBUG - Response for deleting network ()
2025-11-04 08:56:27,244 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 08:56:27,244 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-04 08:56:27,244 - INFO - --------------------------------------------------------------------------------
2025-11-04 08:56:27,247 - INFO - ================================================================================
2025-11-04 08:56:27,247 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-04 08:56:27,247 - 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-11-04 08:56:27,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-11-04 08:56:27,533 - INFO - Initial checks done. Running the testcase now
2025-11-04 08:56:27,533 - INFO -
2025-11-04 08:56:27,726 - DEBUG - Response for create_network : {'network': {'id': 'db523bb7-9331-42a0-befc-b901708e626b', 'name': 'ctest-vn1-99069489', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'project_id': '70bd7615f0ed439abad05c513a3d40e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48227236', 'ctest-vn1-99069489'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 08:56:27,946 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e424b93-746b-4869-9dfd-e8d2595aed09', 'name': '', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'network_id': 'db523bb7-9331-42a0-befc-b901708e626b', 'ip_version': 4, 'cidr': '131.197.232.0/26', 'allocation_pools': [{'start': '131.197.232.2', 'end': '131.197.232.62'}], 'gateway_ip': '131.197.232.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.197.232.2', 'tags': [], 'project_id': '70bd7615f0ed439abad05c513a3d40e9'}}
2025-11-04 08:56:28,153 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba3cdf2e-4168-4e8a-9184-7fd253f4ac5f', 'name': '', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'network_id': 'db523bb7-9331-42a0-befc-b901708e626b', 'ip_version': 4, 'cidr': '192.124.80.0/26', 'allocation_pools': [{'start': '192.124.80.2', 'end': '192.124.80.62'}], 'gateway_ip': '192.124.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.124.80.2', 'tags': [], 'project_id': '70bd7615f0ed439abad05c513a3d40e9'}}
2025-11-04 08:56:28,175 - INFO - Created VN ctest-vn1-99069489
2025-11-04 08:56:28,227 - DEBUG - VN ctest-vn1-99069489 UUID is db523bb7-9331-42a0-befc-b901708e626b
2025-11-04 08:56:28,525 - DEBUG - Response for create_port : {'port': {'name': '4ef9bb49-2751-4029-9a65-a03da1b24f40', 'id': '4ef9bb49-2751-4029-9a65-a03da1b24f40', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'network_id': 'db523bb7-9331-42a0-befc-b901708e626b', 'mac_address': '02:4e:f9:bb:49:27', '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': '131.197.232.5', 'subnet_id': '5e424b93-746b-4869-9dfd-e8d2595aed09'}], 'security_groups': ['a41c1bf9-b0ec-4ef7-8ab3-287a86ae2439'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70bd7615f0ed439abad05c513a3d40e9'}}
2025-11-04 08:56:28,696 - DEBUG - Response for create_port : {'port': {'name': 'ea6afe63-f4e8-437b-b9da-d6af97402b1a', 'id': 'ea6afe63-f4e8-437b-b9da-d6af97402b1a', 'tenant_id': '70bd7615f0ed439abad05c513a3d40e9', 'network_id': 'db523bb7-9331-42a0-befc-b901708e626b', 'mac_address': '02:ea:6a:fe:63:f4', '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': '192.124.80.5', 'subnet_id': 'ba3cdf2e-4168-4e8a-9184-7fd253f4ac5f'}], 'security_groups': ['a41c1bf9-b0ec-4ef7-8ab3-287a86ae2439'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '70bd7615f0ed439abad05c513a3d40e9'}}
2025-11-04 08:56:28,753 - DEBUG - Services list from nova: [, , ]
2025-11-04 08:56:29,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4615-1)
2025-11-04 08:56:29,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4615-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4615-1)
2025-11-04 08:56:29,474 - INFO - Waiting for VM ctest-vn1-vm1-63655645 to be up..
2025-11-04 08:56:29,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-04 08:56:34,594 - DEBUG - VM is in ACTIVE state now
2025-11-04 08:56:34,594 - INFO - VM name : ctest-vn1-vm1-63655645
2025-11-04 08:56:34,667 - DEBUG - VM ctest-vn1-vm1-63655645 ID is 86d36ee8-4655-4667-b6e9-ffe1e836cd31
2025-11-04 08:56:34,686 - DEBUG - VM ctest-vn1-vm1-63655645 launched on Node cn-jenkins-deploy-platform-ansible-os-4615-1
2025-11-04 08:56:34,760 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/86d36ee8-4655-4667-b6e9-ffe1e836cd31
2025-11-04 08:56:34,769 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/4ef9bb49-2751-4029-9a65-a03da1b24f40
2025-11-04 08:56:38,019 - 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 1014ms')
2025-11-04 08:56:38,019 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-63655645 failed!
2025-11-04 08:56:38,075 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48227236:ctest-vn1-99069489 is 131.197.232.1 and allocation pool is NOT set
2025-11-04 08:56:38,075 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48227236:ctest-vn1-99069489 is 192.124.80.1 and allocation pool is NOT set
2025-11-04 08:56:42,150 - 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=2 ttl=63 time=8.65 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 8.649/8.649/8.649/0.000 ms')
2025-11-04 08:56:42,150 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-63655645 passed
2025-11-04 08:56:42,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 08:56:42,303 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63655645, IP 131.197.232.5, Port 22
2025-11-04 08:56:42,369 - 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': ''}
2025-11-04 08:56:42,448 - DEBUG - VM ctest-vn1-vm1-63655645 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-04 08:56:47,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 08:56:47,449 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63655645, IP 131.197.232.5, Port 22
2025-11-04 08:56:47,610 - DEBUG - VM ctest-vn1-vm1-63655645 is ready for SSH connections
2025-11-04 08:56:47,610 - INFO - Waiting for VM ctest-vn1-vm2-19886963 to be up..
2025-11-04 08:56:47,683 - DEBUG - VM is in ACTIVE state now
2025-11-04 08:56:47,683 - INFO - VM name : ctest-vn1-vm2-19886963
2025-11-04 08:56:47,755 - DEBUG - VM ctest-vn1-vm2-19886963 ID is 9e4ebcda-9c81-47c5-ac63-4758bff3ac46
2025-11-04 08:56:47,755 - DEBUG - VM ctest-vn1-vm2-19886963 launched on Node cn-jenkins-deploy-platform-ansible-os-4615-1
2025-11-04 08:56:47,840 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/9e4ebcda-9c81-47c5-ac63-4758bff3ac46
2025-11-04 08:56:47,849 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ea6afe63-f4e8-437b-b9da-d6af97402b1a
2025-11-04 08:56:49,100 - 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=4.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.404/2.256/4.109/1.852 ms')
2025-11-04 08:56:49,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-19886963 passed
2025-11-04 08:56:49,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 08:56:49,251 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19886963, IP 192.124.80.5, Port 22
2025-11-04 08:56:49,410 - DEBUG - VM ctest-vn1-vm2-19886963 is ready for SSH connections
2025-11-04 08:56:49,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 08:56:49,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 08:56:49,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 08:56:49,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.197.232.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-11-04 08:56:49,410 - DEBUG - ping -s 56 -c 3 -W 1 131.197.232.5
2025-11-04 08:56:53,157 - DEBUG - PING 131.197.232.5 (131.197.232.5): 56 data bytes
64 bytes from 131.197.232.5: seq=0 ttl=63 time=4.178 ms
64 bytes from 131.197.232.5: seq=1 ttl=63 time=1.012 ms
64 bytes from 131.197.232.5: seq=2 ttl=63 time=0.994 ms
--- 131.197.232.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.994/2.061/4.178 ms
2025-11-04 08:56:53,157 - INFO - Ping to IP 131.197.232.5 from VM ctest-vn1-vm2-19886963 passed
2025-11-04 08:56:53,157 - INFO - Detaching port ea6afe63-f4e8-437b-b9da-d6af97402b1a from VM ctest-vn1-vm2-19886963
2025-11-04 08:56:53,221 - INFO - Deleting VM ctest-vn1-vm2-19886963
2025-11-04 08:56:53,294 - INFO - Detaching port 4ef9bb49-2751-4029-9a65-a03da1b24f40 from VM ctest-vn1-vm1-63655645
2025-11-04 08:56:53,331 - INFO - Deleting VM ctest-vn1-vm1-63655645
2025-11-04 08:56:53,550 - DEBUG - Response for delete_port : ()
2025-11-04 08:56:53,685 - DEBUG - Response for delete_port : ()
2025-11-04 08:56:53,685 - INFO - Deleting VN ctest-vn1-99069489
2025-11-04 08:56:53,799 - DEBUG - Response for deleting network ()
2025-11-04 08:56:54,056 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 08:56:54,056 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-11-04 08:56:54,056 - INFO - --------------------------------------------------------------------------------
2025-11-04 08:56:54,783 - INFO - Deleted project: ctest-TestPorts-48227236, ID : 70bd7615-f0ed-439a-bad0-5c513a3d40e9