2025-11-20 14:32:45,830 - INFO - Domain Default found not creating
2025-11-20 14:32:46,009 - INFO - Project ctest-TestPorts-47320970 not found, creating it
2025-11-20 14:32:46,609 - INFO - Created Project:ctest-TestPorts-47320970, ID : 1a4ab720-bb46-4f85-abd9-080ae7170330
2025-11-20 14:32:48,193 - INFO - ================================================================================
2025-11-20 14:32:48,194 - INFO - STARTING TEST : test_ports_bindings
2025-11-20 14:32:48,194 - 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-20 14:32:48,456 - DEBUG - Nothing to compare xmpp stats {'10.0.0.136': {'10.20.0.218': '0'}} with
2025-11-20 14:32:48,457 - INFO - Initial checks done. Running the testcase now
2025-11-20 14:32:48,457 - INFO -
2025-11-20 14:32:49,402 - DEBUG - Response for create_network : {'network': {'id': '06a15af1-2d5d-4037-a6a6-9aa02e12b274', 'name': 'ctest-vn-70638800', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'project_id': '1a4ab720bb464f85abd9080ae7170330', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47320970', 'ctest-vn-70638800'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 14:32:49,745 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa4575e9-3b0c-4d10-8d86-fba03763e55c', 'name': '', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'network_id': '06a15af1-2d5d-4037-a6a6-9aa02e12b274', 'ip_version': 4, 'cidr': '63.123.27.64/26', 'allocation_pools': [{'start': '63.123.27.66', 'end': '63.123.27.126'}], 'gateway_ip': '63.123.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.123.27.66', 'tags': [], 'project_id': '1a4ab720bb464f85abd9080ae7170330'}}
2025-11-20 14:32:49,766 - INFO - Created VN ctest-vn-70638800
2025-11-20 14:32:49,819 - DEBUG - VN ctest-vn-70638800 UUID is 06a15af1-2d5d-4037-a6a6-9aa02e12b274
2025-11-20 14:32:49,935 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47320970', 'ctest-vmi-92273814']}
2025-11-20 14:32:50,208 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-92273814', 'id': '6e6ba603-26c9-41df-802a-9b652b7c4a78', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'network_id': '06a15af1-2d5d-4037-a6a6-9aa02e12b274', 'mac_address': '02:6e:6b:a6:03:26', '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': '63.123.27.67', 'subnet_id': 'aa4575e9-3b0c-4d10-8d86-fba03763e55c'}], 'security_groups': ['a819d461-36f6-4ecf-b6ca-7f05db874c07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a4ab720bb464f85abd9080ae7170330'}}
2025-11-20 14:32:50,209 - DEBUG - Created port 6e6ba603-26c9-41df-802a-9b652b7c4a78
2025-11-20 14:32:50,315 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/6e6ba603-26c9-41df-802a-9b652b7c4a78
2025-11-20 14:32:50,610 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/6e6ba603-26c9-41df-802a-9b652b7c4a78
2025-11-20 14:32:50,654 - INFO - VMI 6e6ba603-26c9-41df-802a-9b652b7c4a78 verification in API Server passed
2025-11-20 14:32:50,748 - DEBUG - Response for delete_port : ()
2025-11-20 14:32:50,748 - INFO - Deleted port 6e6ba603-26c9-41df-802a-9b652b7c4a78
2025-11-20 14:32:50,748 - INFO - Deleting VN ctest-vn-70638800
2025-11-20 14:32:50,852 - DEBUG - Response for deleting network ()
2025-11-20 14:32:51,123 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 14:32:51,123 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-20 14:32:51,123 - INFO - --------------------------------------------------------------------------------
2025-11-20 14:32:51,125 - INFO - ================================================================================
2025-11-20 14:32:51,125 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-20 14:32:51,125 - 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-20 14:32:51,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.136': {'10.20.0.218': '0'}} with
2025-11-20 14:32:51,419 - INFO - Initial checks done. Running the testcase now
2025-11-20 14:32:51,419 - INFO -
2025-11-20 14:32:51,611 - DEBUG - Response for create_network : {'network': {'id': '628dcf70-73f4-47a2-b9e9-b977d9eb99a4', 'name': 'ctest-vn1-95975107', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'project_id': '1a4ab720bb464f85abd9080ae7170330', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47320970', 'ctest-vn1-95975107'], 'port_security_enabled': True, 'description': ''}}
2025-11-20 14:32:51,781 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c023caaa-10bf-4eb6-8d23-a3978c227593', 'name': '', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'network_id': '628dcf70-73f4-47a2-b9e9-b977d9eb99a4', 'ip_version': 4, 'cidr': '67.144.209.128/26', 'allocation_pools': [{'start': '67.144.209.130', 'end': '67.144.209.190'}], 'gateway_ip': '67.144.209.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.144.209.130', 'tags': [], 'project_id': '1a4ab720bb464f85abd9080ae7170330'}}
2025-11-20 14:32:51,959 - DEBUG - Response for create_subnet : {'subnet': {'id': '085e0c0d-dbd2-4fc3-ad9b-f6ec8cae170e', 'name': '', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'network_id': '628dcf70-73f4-47a2-b9e9-b977d9eb99a4', 'ip_version': 4, 'cidr': '91.63.252.0/26', 'allocation_pools': [{'start': '91.63.252.2', 'end': '91.63.252.62'}], 'gateway_ip': '91.63.252.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.63.252.2', 'tags': [], 'project_id': '1a4ab720bb464f85abd9080ae7170330'}}
2025-11-20 14:32:51,983 - INFO - Created VN ctest-vn1-95975107
2025-11-20 14:32:52,035 - DEBUG - VN ctest-vn1-95975107 UUID is 628dcf70-73f4-47a2-b9e9-b977d9eb99a4
2025-11-20 14:32:52,398 - DEBUG - Response for create_port : {'port': {'name': '90a839f0-57ce-4c1c-8783-389dd6b7fef0', 'id': '90a839f0-57ce-4c1c-8783-389dd6b7fef0', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'network_id': '628dcf70-73f4-47a2-b9e9-b977d9eb99a4', 'mac_address': '02:90:a8:39:f0:57', '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': '67.144.209.133', 'subnet_id': 'c023caaa-10bf-4eb6-8d23-a3978c227593'}], 'security_groups': ['a819d461-36f6-4ecf-b6ca-7f05db874c07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a4ab720bb464f85abd9080ae7170330'}}
2025-11-20 14:32:52,622 - DEBUG - Response for create_port : {'port': {'name': 'a5babd86-d075-491f-a666-0f2e5779914d', 'id': 'a5babd86-d075-491f-a666-0f2e5779914d', 'tenant_id': '1a4ab720bb464f85abd9080ae7170330', 'network_id': '628dcf70-73f4-47a2-b9e9-b977d9eb99a4', 'mac_address': '02:a5:ba:bd:86:d0', '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': '91.63.252.5', 'subnet_id': '085e0c0d-dbd2-4fc3-ad9b-f6ec8cae170e'}], 'security_groups': ['a819d461-36f6-4ecf-b6ca-7f05db874c07'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a4ab720bb464f85abd9080ae7170330'}}
2025-11-20 14:32:52,694 - DEBUG - Services list from nova: [, , ]
2025-11-20 14:32:53,055 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4777-1)
2025-11-20 14:32:53,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4777-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4777-1)
2025-11-20 14:32:53,482 - INFO - Waiting for VM ctest-vn1-vm1-44692164 to be up..
2025-11-20 14:32:53,524 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-20 14:32:58,626 - DEBUG - VM is in ACTIVE state now
2025-11-20 14:32:58,626 - INFO - VM name : ctest-vn1-vm1-44692164
2025-11-20 14:32:58,725 - DEBUG - VM ctest-vn1-vm1-44692164 ID is 7f51ee81-8c77-4d50-a53d-718e6801100d
2025-11-20 14:32:58,744 - DEBUG - VM ctest-vn1-vm1-44692164 launched on Node cn-jenkins-deploy-platform-ansible-os-4777-1
2025-11-20 14:32:58,823 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine/7f51ee81-8c77-4d50-a53d-718e6801100d
2025-11-20 14:32:58,830 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/90a839f0-57ce-4c1c-8783-389dd6b7fef0
2025-11-20 14:33:02,104 - 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 1031ms')
2025-11-20 14:33:02,105 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44692164 failed!
2025-11-20 14:33:02,163 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47320970:ctest-vn1-95975107 is 67.144.209.129 and allocation pool is NOT set
2025-11-20 14:33:02,163 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47320970:ctest-vn1-95975107 is 91.63.252.1 and allocation pool is NOT set
2025-11-20 14:33:06,234 - 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=2 ttl=63 time=7.69 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 7.690/7.690/7.690/0.000 ms')
2025-11-20 14:33:06,234 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-44692164 passed
2025-11-20 14:33:06,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 14:33:06,383 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44692164, IP 67.144.209.133, Port 22
2025-11-20 14:33:06,538 - DEBUG - VM ctest-vn1-vm1-44692164 is ready for SSH connections
2025-11-20 14:33:06,538 - INFO - Waiting for VM ctest-vn1-vm2-32040307 to be up..
2025-11-20 14:33:06,621 - DEBUG - VM is in ACTIVE state now
2025-11-20 14:33:06,621 - INFO - VM name : ctest-vn1-vm2-32040307
2025-11-20 14:33:06,708 - DEBUG - VM ctest-vn1-vm2-32040307 ID is 8f515262-a161-4c46-9886-56a8c1d17fae
2025-11-20 14:33:06,708 - DEBUG - VM ctest-vn1-vm2-32040307 launched on Node cn-jenkins-deploy-platform-ansible-os-4777-1
2025-11-20 14:33:06,800 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine/8f515262-a161-4c46-9886-56a8c1d17fae
2025-11-20 14:33:06,810 - DEBUG - Requesting: http://10.0.0.136:8082/virtual-machine-interface/a5babd86-d075-491f-a666-0f2e5779914d
2025-11-20 14:33:08,054 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.806/3.139/1.332 ms')
2025-11-20 14:33:08,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32040307 passed
2025-11-20 14:33:08,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 14:33:08,207 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32040307, IP 91.63.252.5, Port 22
2025-11-20 14:33:08,374 - DEBUG - VM ctest-vn1-vm2-32040307 is ready for SSH connections
2025-11-20 14:33:08,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 14:33:08,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 14:33:08,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-20 14:33:08,374 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.144.209.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.136, gateway password: c0ntrail123
2025-11-20 14:33:08,374 - DEBUG - ping -s 56 -c 3 -W 1 67.144.209.133
2025-11-20 14:33:11,054 - DEBUG - PING 67.144.209.133 (67.144.209.133): 56 data bytes
64 bytes from 67.144.209.133: seq=0 ttl=63 time=4.100 ms
64 bytes from 67.144.209.133: seq=1 ttl=63 time=0.887 ms
64 bytes from 67.144.209.133: seq=2 ttl=63 time=1.032 ms
--- 67.144.209.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.887/2.006/4.100 ms
2025-11-20 14:33:11,054 - INFO - Ping to IP 67.144.209.133 from VM ctest-vn1-vm2-32040307 passed
2025-11-20 14:33:11,054 - INFO - Detaching port a5babd86-d075-491f-a666-0f2e5779914d from VM ctest-vn1-vm2-32040307
2025-11-20 14:33:11,123 - INFO - Deleting VM ctest-vn1-vm2-32040307
2025-11-20 14:33:11,210 - INFO - Detaching port 90a839f0-57ce-4c1c-8783-389dd6b7fef0 from VM ctest-vn1-vm1-44692164
2025-11-20 14:33:11,247 - INFO - Deleting VM ctest-vn1-vm1-44692164
2025-11-20 14:33:11,526 - DEBUG - Response for delete_port : ()
2025-11-20 14:33:11,722 - DEBUG - Response for delete_port : ()
2025-11-20 14:33:11,722 - INFO - Deleting VN ctest-vn1-95975107
2025-11-20 14:33:11,872 - DEBUG - Response for deleting network ()
2025-11-20 14:33:12,146 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 14:33:12,146 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-20 14:33:12,146 - INFO - --------------------------------------------------------------------------------
2025-11-20 14:33:12,883 - INFO - Deleted project: ctest-TestPorts-47320970, ID : 1a4ab720-bb46-4f85-abd9-080ae7170330