2025-10-30 21:26:51,223 - INFO - Domain Default found not creating
2025-10-30 21:26:51,620 - INFO - Project ctest-TestPorts-58177179 not found, creating it
2025-10-30 21:26:52,415 - INFO - Created Project:ctest-TestPorts-58177179, ID : 1f19a867-57b3-49a8-8a5e-eb019ebb754e
2025-10-30 21:26:54,556 - INFO - ================================================================================
2025-10-30 21:26:54,557 - INFO - STARTING TEST : test_ports_bindings
2025-10-30 21:26:54,557 - 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-30 21:26:54,831 - DEBUG - Nothing to compare xmpp stats {'10.0.0.153': {'10.20.0.254': '0'}} with
2025-10-30 21:26:54,831 - INFO - Initial checks done. Running the testcase now
2025-10-30 21:26:54,831 - INFO -
2025-10-30 21:26:55,481 - DEBUG - Response for create_network : {'network': {'id': '67a4c3bd-511c-4ee8-a4ab-f7facf589b16', 'name': 'ctest-vn-20425891', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'project_id': '1f19a86757b349a88a5eeb019ebb754e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58177179', 'ctest-vn-20425891'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:26:55,734 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e66f530e-43f4-4793-8950-cfb6be1ebf70', 'name': '', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'network_id': '67a4c3bd-511c-4ee8-a4ab-f7facf589b16', 'ip_version': 4, 'cidr': '95.58.78.64/26', 'allocation_pools': [{'start': '95.58.78.66', 'end': '95.58.78.126'}], 'gateway_ip': '95.58.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.58.78.66', 'tags': [], 'project_id': '1f19a86757b349a88a5eeb019ebb754e'}}
2025-10-30 21:26:55,772 - INFO - Created VN ctest-vn-20425891
2025-10-30 21:26:55,841 - DEBUG - VN ctest-vn-20425891 UUID is 67a4c3bd-511c-4ee8-a4ab-f7facf589b16
2025-10-30 21:26:55,999 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58177179', 'ctest-vmi-09162748']}
2025-10-30 21:26:56,436 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09162748', 'id': 'bf038d7b-0efd-4142-8689-a21e0c55f87b', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'network_id': '67a4c3bd-511c-4ee8-a4ab-f7facf589b16', 'mac_address': '02:bf:03:8d:7b:0e', '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': '95.58.78.67', 'subnet_id': 'e66f530e-43f4-4793-8950-cfb6be1ebf70'}], 'security_groups': ['7a44cc27-1e7a-49c4-9951-80cf222f817f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f19a86757b349a88a5eeb019ebb754e'}}
2025-10-30 21:26:56,436 - DEBUG - Created port bf038d7b-0efd-4142-8689-a21e0c55f87b
2025-10-30 21:26:56,569 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/bf038d7b-0efd-4142-8689-a21e0c55f87b
2025-10-30 21:26:56,928 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/bf038d7b-0efd-4142-8689-a21e0c55f87b
2025-10-30 21:26:57,013 - INFO - VMI bf038d7b-0efd-4142-8689-a21e0c55f87b verification in API Server passed
2025-10-30 21:26:57,230 - DEBUG - Response for delete_port : ()
2025-10-30 21:26:57,230 - INFO - Deleted port bf038d7b-0efd-4142-8689-a21e0c55f87b
2025-10-30 21:26:57,230 - INFO - Deleting VN ctest-vn-20425891
2025-10-30 21:26:57,418 - DEBUG - Response for deleting network ()
2025-10-30 21:26:57,726 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:26:57,726 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 21:26:57,727 - INFO - --------------------------------------------------------------------------------
2025-10-30 21:26:57,734 - INFO - ================================================================================
2025-10-30 21:26:57,735 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-30 21:26:57,735 - 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-30 21:26:58,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.153': {'10.20.0.254': '0'}} with
2025-10-30 21:26:58,075 - INFO - Initial checks done. Running the testcase now
2025-10-30 21:26:58,075 - INFO -
2025-10-30 21:26:58,433 - DEBUG - Response for create_network : {'network': {'id': '9efaa079-70ac-4aa3-8a5b-28a337c95b99', 'name': 'ctest-vn1-05678789', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'project_id': '1f19a86757b349a88a5eeb019ebb754e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58177179', 'ctest-vn1-05678789'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 21:26:58,709 - DEBUG - Response for create_subnet : {'subnet': {'id': '32c20835-b96b-404c-9ed0-eac0802869aa', 'name': '', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'network_id': '9efaa079-70ac-4aa3-8a5b-28a337c95b99', 'ip_version': 4, 'cidr': '188.55.142.192/26', 'allocation_pools': [{'start': '188.55.142.194', 'end': '188.55.142.254'}], 'gateway_ip': '188.55.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.55.142.194', 'tags': [], 'project_id': '1f19a86757b349a88a5eeb019ebb754e'}}
2025-10-30 21:26:58,943 - DEBUG - Response for create_subnet : {'subnet': {'id': '705826ed-8b88-4b4e-b06b-001dcbefd94d', 'name': '', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'network_id': '9efaa079-70ac-4aa3-8a5b-28a337c95b99', 'ip_version': 4, 'cidr': '159.124.168.0/26', 'allocation_pools': [{'start': '159.124.168.2', 'end': '159.124.168.62'}], 'gateway_ip': '159.124.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.124.168.2', 'tags': [], 'project_id': '1f19a86757b349a88a5eeb019ebb754e'}}
2025-10-30 21:26:58,978 - INFO - Created VN ctest-vn1-05678789
2025-10-30 21:26:59,041 - DEBUG - VN ctest-vn1-05678789 UUID is 9efaa079-70ac-4aa3-8a5b-28a337c95b99
2025-10-30 21:26:59,547 - DEBUG - Response for create_port : {'port': {'name': '2e1879d3-3dce-4aa7-a48a-21ee641dc862', 'id': '2e1879d3-3dce-4aa7-a48a-21ee641dc862', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'network_id': '9efaa079-70ac-4aa3-8a5b-28a337c95b99', 'mac_address': '02:2e:18:79:d3:3d', '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': '188.55.142.197', 'subnet_id': '32c20835-b96b-404c-9ed0-eac0802869aa'}], 'security_groups': ['7a44cc27-1e7a-49c4-9951-80cf222f817f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f19a86757b349a88a5eeb019ebb754e'}}
2025-10-30 21:26:59,788 - DEBUG - Response for create_port : {'port': {'name': 'fd123591-462a-4459-9c58-40cf67904e7f', 'id': 'fd123591-462a-4459-9c58-40cf67904e7f', 'tenant_id': '1f19a86757b349a88a5eeb019ebb754e', 'network_id': '9efaa079-70ac-4aa3-8a5b-28a337c95b99', 'mac_address': '02:fd:12:35:91:46', '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': '159.124.168.5', 'subnet_id': '705826ed-8b88-4b4e-b06b-001dcbefd94d'}], 'security_groups': ['7a44cc27-1e7a-49c4-9951-80cf222f817f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f19a86757b349a88a5eeb019ebb754e'}}
2025-10-30 21:26:59,857 - DEBUG - Services list from nova: [, , ]
2025-10-30 21:27:00,694 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1)
2025-10-30 21:27:01,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4554-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4554-1)
2025-10-30 21:27:01,476 - INFO - Waiting for VM ctest-vn1-vm1-19159370 to be up..
2025-10-30 21:27:01,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 21:27:06,715 - DEBUG - VM is in ACTIVE state now
2025-10-30 21:27:06,715 - INFO - VM name : ctest-vn1-vm1-19159370
2025-10-30 21:27:06,805 - DEBUG - VM ctest-vn1-vm1-19159370 ID is 9beaf48c-1f2e-414f-ac04-93c3701119b3
2025-10-30 21:27:06,837 - DEBUG - VM ctest-vn1-vm1-19159370 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1
2025-10-30 21:27:06,989 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/9beaf48c-1f2e-414f-ac04-93c3701119b3
2025-10-30 21:27:07,012 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/2e1879d3-3dce-4aa7-a48a-21ee641dc862
2025-10-30 21:27:10,343 - 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 1014ms')
2025-10-30 21:27:10,343 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19159370 failed!
2025-10-30 21:27:10,413 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58177179:ctest-vn1-05678789 is 188.55.142.193 and allocation pool is NOT set
2025-10-30 21:27:10,413 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58177179:ctest-vn1-05678789 is 159.124.168.1 and allocation pool is NOT set
2025-10-30 21:27:14,500 - 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 1002ms')
2025-10-30 21:27:14,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19159370 failed!
2025-10-30 21:27:14,573 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58177179:ctest-vn1-05678789 is 188.55.142.193 and allocation pool is NOT set
2025-10-30 21:27:14,573 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58177179:ctest-vn1-05678789 is 159.124.168.1 and allocation pool is NOT set
2025-10-30 21:27:16,656 - 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=3.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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.248/2.582/3.917/1.334 ms')
2025-10-30 21:27:16,657 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19159370 passed
2025-10-30 21:27:16,833 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 21:27:16,834 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19159370, IP 188.55.142.197, Port 22
2025-10-30 21:27:16,914 - 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-30 21:27:17,094 - DEBUG - VM ctest-vn1-vm1-19159370 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 21:27:22,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 21:27:22,096 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19159370, IP 188.55.142.197, Port 22
2025-10-30 21:27:22,312 - DEBUG - VM ctest-vn1-vm1-19159370 is ready for SSH connections
2025-10-30 21:27:22,312 - INFO - Waiting for VM ctest-vn1-vm2-68505269 to be up..
2025-10-30 21:27:22,501 - DEBUG - VM is in ACTIVE state now
2025-10-30 21:27:22,502 - INFO - VM name : ctest-vn1-vm2-68505269
2025-10-30 21:27:22,677 - DEBUG - VM ctest-vn1-vm2-68505269 ID is 66cd1e34-6451-4600-aad1-4b2c8229f9e6
2025-10-30 21:27:22,677 - DEBUG - VM ctest-vn1-vm2-68505269 launched on Node cn-jenkins-deploy-platform-ansible-os-4554-1
2025-10-30 21:27:22,823 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine/66cd1e34-6451-4600-aad1-4b2c8229f9e6
2025-10-30 21:27:22,839 - DEBUG - Requesting: http://10.0.0.153:8082/virtual-machine-interface/fd123591-462a-4459-9c58-40cf67904e7f
2025-10-30 21:27:24,163 - 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=9.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.918 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.918/5.207/9.497/4.289 ms')
2025-10-30 21:27:24,164 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68505269 passed
2025-10-30 21:27:24,353 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 21:27:24,354 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68505269, IP 159.124.168.5, Port 22
2025-10-30 21:27:24,552 - DEBUG - VM ctest-vn1-vm2-68505269 is ready for SSH connections
2025-10-30 21:27:24,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 21:27:24,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 21:27:24,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 21:27:24,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 188.55.142.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.153, gateway password: c0ntrail123
2025-10-30 21:27:24,553 - DEBUG - ping -s 56 -c 3 -W 1 188.55.142.197
2025-10-30 21:27:27,941 - DEBUG - PING 188.55.142.197 (188.55.142.197): 56 data bytes
64 bytes from 188.55.142.197: seq=0 ttl=63 time=6.135 ms
64 bytes from 188.55.142.197: seq=1 ttl=63 time=2.103 ms
64 bytes from 188.55.142.197: seq=2 ttl=63 time=1.815 ms
--- 188.55.142.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.815/3.351/6.135 ms
2025-10-30 21:27:27,941 - INFO - Ping to IP 188.55.142.197 from VM ctest-vn1-vm2-68505269 passed
2025-10-30 21:27:27,942 - INFO - Detaching port fd123591-462a-4459-9c58-40cf67904e7f from VM ctest-vn1-vm2-68505269
2025-10-30 21:27:28,072 - INFO - Deleting VM ctest-vn1-vm2-68505269
2025-10-30 21:27:28,205 - INFO - Detaching port 2e1879d3-3dce-4aa7-a48a-21ee641dc862 from VM ctest-vn1-vm1-19159370
2025-10-30 21:27:28,287 - INFO - Deleting VM ctest-vn1-vm1-19159370
2025-10-30 21:27:28,615 - DEBUG - Response for delete_port : ()
2025-10-30 21:27:28,795 - DEBUG - Response for delete_port : ()
2025-10-30 21:27:28,795 - INFO - Deleting VN ctest-vn1-05678789
2025-10-30 21:27:28,945 - DEBUG - Response for deleting network ()
2025-10-30 21:27:29,227 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 21:27:29,227 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:32]
2025-10-30 21:27:29,227 - INFO - --------------------------------------------------------------------------------
2025-10-30 21:27:30,077 - INFO - Deleted project: ctest-TestPorts-58177179, ID : 1f19a867-57b3-49a8-8a5e-eb019ebb754e