2025-10-21 20:20:09,914 - INFO - Domain Default found not creating
2025-10-21 20:20:10,050 - INFO - Project ctest-TestPorts-54756683 not found, creating it
2025-10-21 20:20:10,500 - INFO - Created Project:ctest-TestPorts-54756683, ID : 60cdf22f-6290-444f-90a3-a459c493863a
2025-10-21 20:20:11,930 - INFO - ================================================================================
2025-10-21 20:20:11,930 - INFO - STARTING TEST : test_ports_bindings
2025-10-21 20:20:11,930 - 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-21 20:20:12,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.254': '0'}} with
2025-10-21 20:20:12,183 - INFO - Initial checks done. Running the testcase now
2025-10-21 20:20:12,184 - INFO -
2025-10-21 20:20:12,716 - DEBUG - Response for create_network : {'network': {'id': 'b24f7d48-39c9-4e59-ba6e-01c2af798ff6', 'name': 'ctest-vn-30417439', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'project_id': '60cdf22f6290444f90a3a459c493863a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54756683', 'ctest-vn-30417439'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 20:20:12,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '46e56042-98f0-4eb9-8af7-fea23a83a281', 'name': '', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'network_id': 'b24f7d48-39c9-4e59-ba6e-01c2af798ff6', 'ip_version': 4, 'cidr': '96.142.252.128/26', 'allocation_pools': [{'start': '96.142.252.130', 'end': '96.142.252.190'}], 'gateway_ip': '96.142.252.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.142.252.130', 'tags': [], 'project_id': '60cdf22f6290444f90a3a459c493863a'}}
2025-10-21 20:20:12,982 - INFO - Created VN ctest-vn-30417439
2025-10-21 20:20:13,034 - DEBUG - VN ctest-vn-30417439 UUID is b24f7d48-39c9-4e59-ba6e-01c2af798ff6
2025-10-21 20:20:13,141 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-54756683', 'ctest-vmi-51232374']}
2025-10-21 20:20:13,379 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51232374', 'id': 'e0557030-fade-4040-9c61-2f6e1ebc7d3e', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'network_id': 'b24f7d48-39c9-4e59-ba6e-01c2af798ff6', 'mac_address': '02:e0:55:70:30:fa', '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': '96.142.252.131', 'subnet_id': '46e56042-98f0-4eb9-8af7-fea23a83a281'}], 'security_groups': ['ddb98a16-f79e-409b-9cd3-c20036cb055d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60cdf22f6290444f90a3a459c493863a'}}
2025-10-21 20:20:13,379 - DEBUG - Created port e0557030-fade-4040-9c61-2f6e1ebc7d3e
2025-10-21 20:20:13,482 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e0557030-fade-4040-9c61-2f6e1ebc7d3e
2025-10-21 20:20:13,770 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/e0557030-fade-4040-9c61-2f6e1ebc7d3e
2025-10-21 20:20:13,800 - INFO - VMI e0557030-fade-4040-9c61-2f6e1ebc7d3e verification in API Server passed
2025-10-21 20:20:13,890 - DEBUG - Response for delete_port : ()
2025-10-21 20:20:13,890 - INFO - Deleted port e0557030-fade-4040-9c61-2f6e1ebc7d3e
2025-10-21 20:20:13,890 - INFO - Deleting VN ctest-vn-30417439
2025-10-21 20:20:13,987 - DEBUG - Response for deleting network ()
2025-10-21 20:20:14,240 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 20:20:14,240 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-21 20:20:14,240 - INFO - --------------------------------------------------------------------------------
2025-10-21 20:20:14,242 - INFO - ================================================================================
2025-10-21 20:20:14,243 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-21 20:20:14,243 - 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-21 20:20:14,526 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.254': '0'}} with
2025-10-21 20:20:14,526 - INFO - Initial checks done. Running the testcase now
2025-10-21 20:20:14,526 - INFO -
2025-10-21 20:20:14,694 - DEBUG - Response for create_network : {'network': {'id': '19184537-d1da-4ce1-b067-9b3826babbb0', 'name': 'ctest-vn1-98791920', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'project_id': '60cdf22f6290444f90a3a459c493863a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-54756683', 'ctest-vn1-98791920'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 20:20:14,884 - DEBUG - Response for create_subnet : {'subnet': {'id': '58e4d04e-354a-4351-8e8e-beba26181f55', 'name': '', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'network_id': '19184537-d1da-4ce1-b067-9b3826babbb0', 'ip_version': 4, 'cidr': '187.170.131.64/26', 'allocation_pools': [{'start': '187.170.131.66', 'end': '187.170.131.126'}], 'gateway_ip': '187.170.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.170.131.66', 'tags': [], 'project_id': '60cdf22f6290444f90a3a459c493863a'}}
2025-10-21 20:20:15,023 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd251dde2-19ed-4b03-9cd7-b9f8a3dee9e0', 'name': '', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'network_id': '19184537-d1da-4ce1-b067-9b3826babbb0', 'ip_version': 4, 'cidr': '168.69.156.128/26', 'allocation_pools': [{'start': '168.69.156.130', 'end': '168.69.156.190'}], 'gateway_ip': '168.69.156.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.69.156.130', 'tags': [], 'project_id': '60cdf22f6290444f90a3a459c493863a'}}
2025-10-21 20:20:15,041 - INFO - Created VN ctest-vn1-98791920
2025-10-21 20:20:15,094 - DEBUG - VN ctest-vn1-98791920 UUID is 19184537-d1da-4ce1-b067-9b3826babbb0
2025-10-21 20:20:15,382 - DEBUG - Response for create_port : {'port': {'name': '012ec5b3-95a6-4abb-99b5-7c1f2e3909fc', 'id': '012ec5b3-95a6-4abb-99b5-7c1f2e3909fc', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'network_id': '19184537-d1da-4ce1-b067-9b3826babbb0', 'mac_address': '02:01:2e:c5:b3:95', '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': '187.170.131.69', 'subnet_id': '58e4d04e-354a-4351-8e8e-beba26181f55'}], 'security_groups': ['ddb98a16-f79e-409b-9cd3-c20036cb055d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60cdf22f6290444f90a3a459c493863a'}}
2025-10-21 20:20:15,548 - DEBUG - Response for create_port : {'port': {'name': 'b3e44b2b-d14e-443b-9eb8-94e9014ce519', 'id': 'b3e44b2b-d14e-443b-9eb8-94e9014ce519', 'tenant_id': '60cdf22f6290444f90a3a459c493863a', 'network_id': '19184537-d1da-4ce1-b067-9b3826babbb0', 'mac_address': '02:b3:e4:4b:2b:d1', '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': '168.69.156.133', 'subnet_id': 'd251dde2-19ed-4b03-9cd7-b9f8a3dee9e0'}], 'security_groups': ['ddb98a16-f79e-409b-9cd3-c20036cb055d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '60cdf22f6290444f90a3a459c493863a'}}
2025-10-21 20:20:15,617 - DEBUG - Services list from nova: [, , ]
2025-10-21 20:20:15,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4406-1)
2025-10-21 20:20:16,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4406-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4406-1)
2025-10-21 20:20:16,321 - INFO - Waiting for VM ctest-vn1-vm1-44528454 to be up..
2025-10-21 20:20:16,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 20:20:21,430 - DEBUG - VM is in ACTIVE state now
2025-10-21 20:20:21,430 - INFO - VM name : ctest-vn1-vm1-44528454
2025-10-21 20:20:21,640 - DEBUG - VM ctest-vn1-vm1-44528454 ID is 6c65b71a-d031-4370-8032-145b1b6f6863
2025-10-21 20:20:21,658 - DEBUG - VM ctest-vn1-vm1-44528454 launched on Node cn-jenkins-deploy-platform-ansible-os-4406-1
2025-10-21 20:20:21,731 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/6c65b71a-d031-4370-8032-145b1b6f6863
2025-10-21 20:20:21,739 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/012ec5b3-95a6-4abb-99b5-7c1f2e3909fc
2025-10-21 20:20:24,991 - 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 1015ms')
2025-10-21 20:20:24,991 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-44528454 failed!
2025-10-21 20:20:25,046 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54756683:ctest-vn1-98791920 is 187.170.131.65 and allocation pool is NOT set
2025-10-21 20:20:25,046 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-54756683:ctest-vn1-98791920 is 168.69.156.129 and allocation pool is NOT set
2025-10-21 20:20:27,110 - 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=3.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.551 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.551/2.206/3.862/1.655 ms')
2025-10-21 20:20:27,111 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-44528454 passed
2025-10-21 20:20:27,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 20:20:27,262 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44528454, IP 187.170.131.69, Port 22
2025-10-21 20:20:27,318 - 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-10-21 20:20:27,392 - DEBUG - VM ctest-vn1-vm1-44528454 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-21 20:20:32,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 20:20:32,393 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44528454, IP 187.170.131.69, Port 22
2025-10-21 20:20:32,553 - DEBUG - VM ctest-vn1-vm1-44528454 is ready for SSH connections
2025-10-21 20:20:32,554 - INFO - Waiting for VM ctest-vn1-vm2-88508354 to be up..
2025-10-21 20:20:32,636 - DEBUG - VM is in ACTIVE state now
2025-10-21 20:20:32,636 - INFO - VM name : ctest-vn1-vm2-88508354
2025-10-21 20:20:32,709 - DEBUG - VM ctest-vn1-vm2-88508354 ID is 7547e6a8-2a23-4a55-acce-3f81ff5184f7
2025-10-21 20:20:32,710 - DEBUG - VM ctest-vn1-vm2-88508354 launched on Node cn-jenkins-deploy-platform-ansible-os-4406-1
2025-10-21 20:20:32,780 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/7547e6a8-2a23-4a55-acce-3f81ff5184f7
2025-10-21 20:20:32,789 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/b3e44b2b-d14e-443b-9eb8-94e9014ce519
2025-10-21 20:20:34,026 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.605/2.827/1.222 ms')
2025-10-21 20:20:34,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-88508354 passed
2025-10-21 20:20:34,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 20:20:34,174 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88508354, IP 168.69.156.133, Port 22
2025-10-21 20:20:34,329 - DEBUG - VM ctest-vn1-vm2-88508354 is ready for SSH connections
2025-10-21 20:20:34,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 20:20:34,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 20:20:34,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 20:20:34,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.170.131.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-10-21 20:20:34,330 - DEBUG - ping -s 56 -c 3 -W 1 187.170.131.69
2025-10-21 20:20:38,023 - DEBUG - PING 187.170.131.69 (187.170.131.69): 56 data bytes
64 bytes from 187.170.131.69: seq=0 ttl=63 time=3.942 ms
64 bytes from 187.170.131.69: seq=1 ttl=63 time=1.153 ms
64 bytes from 187.170.131.69: seq=2 ttl=63 time=1.022 ms
--- 187.170.131.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.022/2.039/3.942 ms
2025-10-21 20:20:38,024 - INFO - Ping to IP 187.170.131.69 from VM ctest-vn1-vm2-88508354 passed
2025-10-21 20:20:38,024 - INFO - Detaching port b3e44b2b-d14e-443b-9eb8-94e9014ce519 from VM ctest-vn1-vm2-88508354
2025-10-21 20:20:38,071 - INFO - Deleting VM ctest-vn1-vm2-88508354
2025-10-21 20:20:38,138 - INFO - Detaching port 012ec5b3-95a6-4abb-99b5-7c1f2e3909fc from VM ctest-vn1-vm1-44528454
2025-10-21 20:20:38,173 - INFO - Deleting VM ctest-vn1-vm1-44528454
2025-10-21 20:20:38,373 - DEBUG - Response for delete_port : ()
2025-10-21 20:20:38,519 - DEBUG - Response for delete_port : ()
2025-10-21 20:20:38,519 - INFO - Deleting VN ctest-vn1-98791920
2025-10-21 20:20:38,645 - DEBUG - Response for deleting network ()
2025-10-21 20:20:38,898 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 20:20:38,898 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-21 20:20:38,898 - INFO - --------------------------------------------------------------------------------
2025-10-21 20:20:39,554 - INFO - Deleted project: ctest-TestPorts-54756683, ID : 60cdf22f-6290-444f-90a3-a459c493863a