2025-08-25 14:14:34,931 - INFO - Domain Default found not creating
2025-08-25 14:14:35,054 - INFO - Project ctest-TestPorts-55363335 not found, creating it
2025-08-25 14:14:35,513 - INFO - Created Project:ctest-TestPorts-55363335, ID : 5b70a40b-e55a-4a41-a8b3-b54ac8fb0791
2025-08-25 14:14:36,826 - INFO - ================================================================================
2025-08-25 14:14:36,826 - INFO - STARTING TEST : test_ports_bindings
2025-08-25 14:14:36,827 - 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-08-25 14:14:37,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-25 14:14:37,079 - INFO - Initial checks done. Running the testcase now
2025-08-25 14:14:37,079 - INFO -
2025-08-25 14:14:37,610 - DEBUG - Response for create_network : {'network': {'id': '8c45ce77-b6ac-4a0b-a3ba-df6490c21173', 'name': 'ctest-vn-71794752', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55363335', 'ctest-vn-71794752'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 14:14:37,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '071e1b97-5733-45ba-81c0-9d6eae773ce1', 'name': '', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'network_id': '8c45ce77-b6ac-4a0b-a3ba-df6490c21173', 'ip_version': 4, 'cidr': '54.197.96.128/26', 'allocation_pools': [{'start': '54.197.96.130', 'end': '54.197.96.190'}], 'gateway_ip': '54.197.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.197.96.130', 'tags': [], 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791'}}
2025-08-25 14:14:37,851 - INFO - Created VN ctest-vn-71794752
2025-08-25 14:14:37,905 - DEBUG - VN ctest-vn-71794752 UUID is 8c45ce77-b6ac-4a0b-a3ba-df6490c21173
2025-08-25 14:14:38,006 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55363335', 'ctest-vmi-52308226']}
2025-08-25 14:14:38,288 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52308226', 'id': '0980b945-9a43-45d8-b0b3-7ef4a42e85f2', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'network_id': '8c45ce77-b6ac-4a0b-a3ba-df6490c21173', 'mac_address': '02:09:80:b9:45:9a', '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': '54.197.96.131', 'subnet_id': '071e1b97-5733-45ba-81c0-9d6eae773ce1'}], 'security_groups': ['6a3e3ef5-54ee-4181-a85b-3080c4039cb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791'}}
2025-08-25 14:14:38,288 - DEBUG - Created port 0980b945-9a43-45d8-b0b3-7ef4a42e85f2
2025-08-25 14:14:38,393 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0980b945-9a43-45d8-b0b3-7ef4a42e85f2
2025-08-25 14:14:38,683 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0980b945-9a43-45d8-b0b3-7ef4a42e85f2
2025-08-25 14:14:38,712 - INFO - VMI 0980b945-9a43-45d8-b0b3-7ef4a42e85f2 verification in API Server passed
2025-08-25 14:14:38,798 - DEBUG - Response for delete_port : ()
2025-08-25 14:14:38,798 - INFO - Deleted port 0980b945-9a43-45d8-b0b3-7ef4a42e85f2
2025-08-25 14:14:38,798 - INFO - Deleting VN ctest-vn-71794752
2025-08-25 14:14:38,911 - DEBUG - Response for deleting network ()
2025-08-25 14:14:39,174 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 14:14:39,174 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-25 14:14:39,174 - INFO - --------------------------------------------------------------------------------
2025-08-25 14:14:39,180 - INFO - ================================================================================
2025-08-25 14:14:39,180 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-25 14:14:39,180 - 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-08-25 14:14:39,462 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-08-25 14:14:39,462 - INFO - Initial checks done. Running the testcase now
2025-08-25 14:14:39,462 - INFO -
2025-08-25 14:14:39,639 - DEBUG - Response for create_network : {'network': {'id': 'd5902050-b467-49ed-a2f4-19c94e8f26d3', 'name': 'ctest-vn1-04966773', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55363335', 'ctest-vn1-04966773'], 'port_security_enabled': True, 'description': ''}}
2025-08-25 14:14:39,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c0de331-91c6-466b-8bfd-16aa20c1ad16', 'name': '', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'network_id': 'd5902050-b467-49ed-a2f4-19c94e8f26d3', 'ip_version': 4, 'cidr': '205.28.73.192/26', 'allocation_pools': [{'start': '205.28.73.194', 'end': '205.28.73.254'}], 'gateway_ip': '205.28.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.28.73.194', 'tags': [], 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791'}}
2025-08-25 14:14:40,010 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e8980b86-fa81-4129-9132-35879bdcc8d6', 'name': '', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'network_id': 'd5902050-b467-49ed-a2f4-19c94e8f26d3', 'ip_version': 4, 'cidr': '157.148.111.192/26', 'allocation_pools': [{'start': '157.148.111.194', 'end': '157.148.111.254'}], 'gateway_ip': '157.148.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.148.111.194', 'tags': [], 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791'}}
2025-08-25 14:14:40,028 - INFO - Created VN ctest-vn1-04966773
2025-08-25 14:14:40,081 - DEBUG - VN ctest-vn1-04966773 UUID is d5902050-b467-49ed-a2f4-19c94e8f26d3
2025-08-25 14:14:40,376 - DEBUG - Response for create_port : {'port': {'name': 'e2c7d7f4-cd90-467a-9c08-e4bdaea328f6', 'id': 'e2c7d7f4-cd90-467a-9c08-e4bdaea328f6', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'network_id': 'd5902050-b467-49ed-a2f4-19c94e8f26d3', 'mac_address': '02:e2:c7:d7:f4:cd', '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': '205.28.73.197', 'subnet_id': '8c0de331-91c6-466b-8bfd-16aa20c1ad16'}], 'security_groups': ['6a3e3ef5-54ee-4181-a85b-3080c4039cb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791'}}
2025-08-25 14:14:40,556 - DEBUG - Response for create_port : {'port': {'name': '836d4872-8463-4a5b-a6e4-2be000e0a8c5', 'id': '836d4872-8463-4a5b-a6e4-2be000e0a8c5', 'tenant_id': '5b70a40be55a4a41a8b3b54ac8fb0791', 'network_id': 'd5902050-b467-49ed-a2f4-19c94e8f26d3', 'mac_address': '02:83:6d:48:72:84', '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': '157.148.111.197', 'subnet_id': 'e8980b86-fa81-4129-9132-35879bdcc8d6'}], 'security_groups': ['6a3e3ef5-54ee-4181-a85b-3080c4039cb0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5b70a40be55a4a41a8b3b54ac8fb0791'}}
2025-08-25 14:14:40,620 - DEBUG - Services list from nova: [, , ]
2025-08-25 14:14:40,987 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1)
2025-08-25 14:14:41,376 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3921-1)
2025-08-25 14:14:41,376 - INFO - Waiting for VM ctest-vn1-vm1-61395944 to be up..
2025-08-25 14:14:41,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-25 14:14:46,531 - DEBUG - VM is in ACTIVE state now
2025-08-25 14:14:46,531 - INFO - VM name : ctest-vn1-vm1-61395944
2025-08-25 14:14:46,599 - DEBUG - VM ctest-vn1-vm1-61395944 ID is eb7ebad3-d096-4cb7-92b3-1d4efe38edde
2025-08-25 14:14:46,616 - DEBUG - VM ctest-vn1-vm1-61395944 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1
2025-08-25 14:14:46,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/eb7ebad3-d096-4cb7-92b3-1d4efe38edde
2025-08-25 14:14:46,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e2c7d7f4-cd90-467a-9c08-e4bdaea328f6
2025-08-25 14:14:49,969 - 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 1028ms')
2025-08-25 14:14:49,969 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61395944 failed!
2025-08-25 14:14:50,029 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55363335:ctest-vn1-04966773 is 205.28.73.193 and allocation pool is NOT set
2025-08-25 14:14:50,029 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55363335:ctest-vn1-04966773 is 157.148.111.193 and allocation pool is NOT set
2025-08-25 14:14:52,089 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.92 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 = 1.918/2.430/2.943/0.512 ms')
2025-08-25 14:14:52,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61395944 passed
2025-08-25 14:14:52,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:14:52,241 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61395944, IP 205.28.73.197, Port 22
2025-08-25 14:14:52,311 - 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': ''}
2025-08-25 14:14:52,393 - DEBUG - VM ctest-vn1-vm1-61395944 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-25 14:14:57,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:14:57,395 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61395944, IP 205.28.73.197, Port 22
2025-08-25 14:14:57,544 - DEBUG - VM ctest-vn1-vm1-61395944 is ready for SSH connections
2025-08-25 14:14:57,545 - INFO - Waiting for VM ctest-vn1-vm2-46318605 to be up..
2025-08-25 14:14:57,616 - DEBUG - VM is in ACTIVE state now
2025-08-25 14:14:57,616 - INFO - VM name : ctest-vn1-vm2-46318605
2025-08-25 14:14:57,677 - DEBUG - VM ctest-vn1-vm2-46318605 ID is 5798018a-5340-424b-a6cd-6b4680b77c17
2025-08-25 14:14:57,677 - DEBUG - VM ctest-vn1-vm2-46318605 launched on Node cn-jenkins-deploy-platform-ansible-os-3921-1
2025-08-25 14:14:57,739 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5798018a-5340-424b-a6cd-6b4680b77c17
2025-08-25 14:14:57,747 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/836d4872-8463-4a5b-a6e4-2be000e0a8c5
2025-08-25 14:14:58,973 - 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=2.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.265 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.265/1.427/2.589/1.162 ms')
2025-08-25 14:14:58,973 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-46318605 passed
2025-08-25 14:14:59,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:14:59,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-46318605, IP 157.148.111.197, Port 22
2025-08-25 14:14:59,285 - DEBUG - VM ctest-vn1-vm2-46318605 is ready for SSH connections
2025-08-25 14:14:59,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:14:59,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:14:59,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-25 14:14:59,285 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.28.73.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-25 14:14:59,285 - DEBUG - ping -s 56 -c 3 -W 1 205.28.73.197
2025-08-25 14:15:02,206 - DEBUG - PING 205.28.73.197 (205.28.73.197): 56 data bytes
64 bytes from 205.28.73.197: seq=0 ttl=63 time=3.329 ms
64 bytes from 205.28.73.197: seq=1 ttl=63 time=0.809 ms
64 bytes from 205.28.73.197: seq=2 ttl=63 time=0.878 ms
--- 205.28.73.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.809/1.672/3.329 ms
2025-08-25 14:15:02,206 - INFO - Ping to IP 205.28.73.197 from VM ctest-vn1-vm2-46318605 passed
2025-08-25 14:15:02,206 - INFO - Detaching port 836d4872-8463-4a5b-a6e4-2be000e0a8c5 from VM ctest-vn1-vm2-46318605
2025-08-25 14:15:02,253 - INFO - Deleting VM ctest-vn1-vm2-46318605
2025-08-25 14:15:02,328 - INFO - Detaching port e2c7d7f4-cd90-467a-9c08-e4bdaea328f6 from VM ctest-vn1-vm1-61395944
2025-08-25 14:15:02,365 - INFO - Deleting VM ctest-vn1-vm1-61395944
2025-08-25 14:15:02,589 - DEBUG - Response for delete_port : ()
2025-08-25 14:15:02,735 - DEBUG - Response for delete_port : ()
2025-08-25 14:15:02,735 - INFO - Deleting VN ctest-vn1-04966773
2025-08-25 14:15:02,864 - DEBUG - Response for deleting network ()
2025-08-25 14:15:03,127 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 14:15:03,127 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-25 14:15:03,127 - INFO - --------------------------------------------------------------------------------
2025-08-25 14:15:03,845 - INFO - Deleted project: ctest-TestPorts-55363335, ID : 5b70a40b-e55a-4a41-a8b3-b54ac8fb0791