2025-10-23 02:14:48,636 - INFO - Domain Default found not creating
2025-10-23 02:14:48,824 - INFO - Project ctest-TestPorts-82466479 not found, creating it
2025-10-23 02:14:49,386 - INFO - Created Project:ctest-TestPorts-82466479, ID : 4d8b2e4e-3724-4a0c-a7de-f5b45969484f
2025-10-23 02:14:51,058 - INFO - ================================================================================
2025-10-23 02:14:51,058 - INFO - STARTING TEST : test_ports_bindings
2025-10-23 02:14:51,058 - 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-10-23 02:14:52,347 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.49': {'10.20.0.14': '0', '10.20.0.129': '0'}} with
2025-10-23 02:14:52,347 - INFO - Initial checks done. Running the testcase now
2025-10-23 02:14:52,347 - INFO -
2025-10-23 02:14:53,105 - DEBUG - Response for create_network : {'network': {'id': '5039606b-6544-4dcb-a123-6d29729f9317', 'name': 'ctest-vn-65767693', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'project_id': '4d8b2e4e37244a0ca7def5b45969484f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82466479', 'ctest-vn-65767693'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:14:53,385 - DEBUG - Response for create_subnet : {'subnet': {'id': '105d98ac-db17-4651-9050-c42784b2798f', 'name': '', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'network_id': '5039606b-6544-4dcb-a123-6d29729f9317', 'ip_version': 4, 'cidr': '200.166.3.192/26', 'allocation_pools': [{'start': '200.166.3.194', 'end': '200.166.3.254'}], 'gateway_ip': '200.166.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.166.3.194', 'tags': [], 'project_id': '4d8b2e4e37244a0ca7def5b45969484f'}}
2025-10-23 02:14:53,413 - INFO - Created VN ctest-vn-65767693
2025-10-23 02:14:53,425 - DEBUG - VN ctest-vn-65767693 UUID is 5039606b-6544-4dcb-a123-6d29729f9317
2025-10-23 02:14:53,508 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-82466479', 'ctest-vmi-62723705']}
2025-10-23 02:14:53,819 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62723705', 'id': '05717b8d-e66e-4575-8c57-e46f40cf7fca', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'network_id': '5039606b-6544-4dcb-a123-6d29729f9317', 'mac_address': '02:05:71:7b:8d:e6', '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': '200.166.3.195', 'subnet_id': '105d98ac-db17-4651-9050-c42784b2798f'}], 'security_groups': ['e29087c3-2f07-4873-a4c6-f73ec9f003d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4d8b2e4e37244a0ca7def5b45969484f'}}
2025-10-23 02:14:53,819 - DEBUG - Created port 05717b8d-e66e-4575-8c57-e46f40cf7fca
2025-10-23 02:14:53,891 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/05717b8d-e66e-4575-8c57-e46f40cf7fca
2025-10-23 02:14:54,227 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/05717b8d-e66e-4575-8c57-e46f40cf7fca
2025-10-23 02:14:54,271 - INFO - VMI 05717b8d-e66e-4575-8c57-e46f40cf7fca verification in API Server passed
2025-10-23 02:14:54,413 - DEBUG - Response for delete_port : ()
2025-10-23 02:14:54,413 - INFO - Deleted port 05717b8d-e66e-4575-8c57-e46f40cf7fca
2025-10-23 02:14:54,421 - INFO - Deleting VN ctest-vn-65767693
2025-10-23 02:14:54,607 - DEBUG - Response for deleting network ()
2025-10-23 02:14:55,895 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 02:14:55,895 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-10-23 02:14:55,895 - INFO - --------------------------------------------------------------------------------
2025-10-23 02:14:55,898 - INFO - ================================================================================
2025-10-23 02:14:55,898 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-23 02:14:55,898 - 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-10-23 02:14:57,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.49': {'10.20.0.14': '0', '10.20.0.129': '0'}} with
2025-10-23 02:14:57,200 - INFO - Initial checks done. Running the testcase now
2025-10-23 02:14:57,200 - INFO -
2025-10-23 02:14:57,579 - DEBUG - Response for create_network : {'network': {'id': 'cbe36f53-dbeb-4142-958d-e1cf2f827769', 'name': 'ctest-vn1-79872826', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'project_id': '4d8b2e4e37244a0ca7def5b45969484f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-82466479', 'ctest-vn1-79872826'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:14:58,107 - DEBUG - Response for create_subnet : {'subnet': {'id': '55a3eecd-8bd1-4088-96ee-2b7fcb1a2b82', 'name': '', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'network_id': 'cbe36f53-dbeb-4142-958d-e1cf2f827769', 'ip_version': 4, 'cidr': '113.105.229.192/26', 'allocation_pools': [{'start': '113.105.229.194', 'end': '113.105.229.254'}], 'gateway_ip': '113.105.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.105.229.194', 'tags': [], 'project_id': '4d8b2e4e37244a0ca7def5b45969484f'}}
2025-10-23 02:14:58,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '6161c4c5-64a9-4c75-accc-81f4e3eead02', 'name': '', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'network_id': 'cbe36f53-dbeb-4142-958d-e1cf2f827769', 'ip_version': 4, 'cidr': '131.208.132.0/26', 'allocation_pools': [{'start': '131.208.132.2', 'end': '131.208.132.62'}], 'gateway_ip': '131.208.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.208.132.2', 'tags': [], 'project_id': '4d8b2e4e37244a0ca7def5b45969484f'}}
2025-10-23 02:14:58,742 - INFO - Created VN ctest-vn1-79872826
2025-10-23 02:14:58,763 - DEBUG - VN ctest-vn1-79872826 UUID is cbe36f53-dbeb-4142-958d-e1cf2f827769
2025-10-23 02:14:59,371 - DEBUG - Response for create_port : {'port': {'name': '69d71b60-a9e1-4129-b898-3bd5c174e78d', 'id': '69d71b60-a9e1-4129-b898-3bd5c174e78d', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'network_id': 'cbe36f53-dbeb-4142-958d-e1cf2f827769', 'mac_address': '02:69:d7:1b:60: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': '113.105.229.197', 'subnet_id': '55a3eecd-8bd1-4088-96ee-2b7fcb1a2b82'}], 'security_groups': ['e29087c3-2f07-4873-a4c6-f73ec9f003d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4d8b2e4e37244a0ca7def5b45969484f'}}
2025-10-23 02:14:59,636 - DEBUG - Response for create_port : {'port': {'name': 'de08f494-7654-46fe-8d33-50791c829239', 'id': 'de08f494-7654-46fe-8d33-50791c829239', 'tenant_id': '4d8b2e4e37244a0ca7def5b45969484f', 'network_id': 'cbe36f53-dbeb-4142-958d-e1cf2f827769', 'mac_address': '02:de:08:f4:94:76', '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.208.132.5', 'subnet_id': '6161c4c5-64a9-4c75-accc-81f4e3eead02'}], 'security_groups': ['e29087c3-2f07-4873-a4c6-f73ec9f003d4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4d8b2e4e37244a0ca7def5b45969484f'}}
2025-10-23 02:14:59,750 - DEBUG - Services list from nova: [, , , ]
2025-10-23 02:15:00,855 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-2)
2025-10-23 02:15:01,456 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-1)
2025-10-23 02:15:01,456 - INFO - Waiting for VM ctest-vn1-vm1-64177191 to be up..
2025-10-23 02:15:01,516 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 02:15:06,603 - DEBUG - VM is in ACTIVE state now
2025-10-23 02:15:06,603 - INFO - VM name : ctest-vn1-vm1-64177191
2025-10-23 02:15:06,692 - DEBUG - VM ctest-vn1-vm1-64177191 ID is f68da3c0-f24b-408b-b45a-191d4ec927a9
2025-10-23 02:15:06,722 - DEBUG - VM ctest-vn1-vm1-64177191 launched on Node an-jenkins-deploy-platform-ansible-os-4448-2
2025-10-23 02:15:06,820 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/f68da3c0-f24b-408b-b45a-191d4ec927a9
2025-10-23 02:15:07,154 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/f68da3c0-f24b-408b-b45a-191d4ec927a9
2025-10-23 02:15:07,186 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/69d71b60-a9e1-4129-b898-3bd5c174e78d
2025-10-23 02:15:10,368 - 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 1022ms')
2025-10-23 02:15:10,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64177191 failed!
2025-10-23 02:15:10,383 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82466479:ctest-vn1-79872826 is 113.105.229.193 and allocation pool is NOT set
2025-10-23 02:15:10,383 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-82466479:ctest-vn1-79872826 is 131.208.132.1 and allocation pool is NOT set
2025-10-23 02:15:12,449 - 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.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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.183/2.805/4.428/1.622 ms')
2025-10-23 02:15:12,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64177191 passed
2025-10-23 02:15:12,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:15:12,517 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64177191, IP 113.105.229.197, Port 22
2025-10-23 02:15:12,585 - 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-10-23 02:15:12,680 - DEBUG - VM ctest-vn1-vm1-64177191 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 02:15:17,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:15:17,681 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64177191, IP 113.105.229.197, Port 22
2025-10-23 02:15:17,853 - DEBUG - VM ctest-vn1-vm1-64177191 is ready for SSH connections
2025-10-23 02:15:17,853 - INFO - Waiting for VM ctest-vn1-vm2-52423015 to be up..
2025-10-23 02:15:17,946 - DEBUG - VM is in ACTIVE state now
2025-10-23 02:15:17,946 - INFO - VM name : ctest-vn1-vm2-52423015
2025-10-23 02:15:18,041 - DEBUG - VM ctest-vn1-vm2-52423015 ID is cf0fb57e-b73f-4cc4-946f-6c42ea226128
2025-10-23 02:15:18,041 - DEBUG - VM ctest-vn1-vm2-52423015 launched on Node an-jenkins-deploy-platform-ansible-os-4448-1
2025-10-23 02:15:18,139 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/cf0fb57e-b73f-4cc4-946f-6c42ea226128
2025-10-23 02:15:18,149 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/de08f494-7654-46fe-8d33-50791c829239
2025-10-23 02:15:19,319 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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 = 0.416/2.589/4.762/2.173 ms')
2025-10-23 02:15:19,319 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-52423015 passed
2025-10-23 02:15:19,388 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:15:19,389 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52423015, IP 131.208.132.5, Port 22
2025-10-23 02:15:19,556 - DEBUG - VM ctest-vn1-vm2-52423015 is ready for SSH connections
2025-10-23 02:15:19,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:15:19,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:15:19,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:15:19,556 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.105.229.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-10-23 02:15:19,556 - DEBUG - ping -s 56 -c 3 -W 1 113.105.229.197
2025-10-23 02:15:22,625 - DEBUG - PING 113.105.229.197 (113.105.229.197): 56 data bytes
64 bytes from 113.105.229.197: seq=0 ttl=63 time=5.820 ms
64 bytes from 113.105.229.197: seq=1 ttl=63 time=1.366 ms
64 bytes from 113.105.229.197: seq=2 ttl=63 time=1.627 ms
--- 113.105.229.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.366/2.937/5.820 ms
2025-10-23 02:15:22,625 - INFO - Ping to IP 113.105.229.197 from VM ctest-vn1-vm2-52423015 passed
2025-10-23 02:15:22,625 - INFO - Detaching port de08f494-7654-46fe-8d33-50791c829239 from VM ctest-vn1-vm2-52423015
2025-10-23 02:15:22,864 - INFO - Deleting VM ctest-vn1-vm2-52423015
2025-10-23 02:15:22,954 - INFO - Detaching port 69d71b60-a9e1-4129-b898-3bd5c174e78d from VM ctest-vn1-vm1-64177191
2025-10-23 02:15:22,987 - INFO - Deleting VM ctest-vn1-vm1-64177191
2025-10-23 02:15:23,421 - DEBUG - Response for delete_port : ()
2025-10-23 02:15:23,693 - DEBUG - Response for delete_port : ()
2025-10-23 02:15:23,693 - INFO - Deleting VN ctest-vn1-79872826
2025-10-23 02:15:23,882 - DEBUG - Response for deleting network ()
2025-10-23 02:15:25,184 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 02:15:25,184 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:30]
2025-10-23 02:15:25,184 - INFO - --------------------------------------------------------------------------------
2025-10-23 02:15:26,006 - INFO - Deleted project: ctest-TestPorts-82466479, ID : 4d8b2e4e-3724-4a0c-a7de-f5b45969484f