2025-11-03 14:49:02,365 - INFO - Domain Default found not creating
2025-11-03 14:49:02,517 - INFO - Project ctest-TestPorts-34625591 not found, creating it
2025-11-03 14:49:02,968 - INFO - Created Project:ctest-TestPorts-34625591, ID : 9079f19d-9643-42a3-a6ef-6ac4426c973f
2025-11-03 14:49:04,432 - INFO - ================================================================================
2025-11-03 14:49:04,432 - INFO - STARTING TEST : test_ports_bindings
2025-11-03 14:49:04,432 - 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-03 14:49:04,692 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-11-03 14:49:04,692 - INFO - Initial checks done. Running the testcase now
2025-11-03 14:49:04,693 - INFO -
2025-11-03 14:49:05,261 - DEBUG - Response for create_network : {'network': {'id': '9fa40cca-bb64-4e33-88f4-3d7a53d6cff8', 'name': 'ctest-vn-30599337', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'project_id': '9079f19d964342a3a6ef6ac4426c973f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34625591', 'ctest-vn-30599337'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 14:49:05,433 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c55a8b5c-b29a-4019-bd68-b0c5d8e4a1e3', 'name': '', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'network_id': '9fa40cca-bb64-4e33-88f4-3d7a53d6cff8', 'ip_version': 4, 'cidr': '215.35.57.64/26', 'allocation_pools': [{'start': '215.35.57.66', 'end': '215.35.57.126'}], 'gateway_ip': '215.35.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.35.57.66', 'tags': [], 'project_id': '9079f19d964342a3a6ef6ac4426c973f'}}
2025-11-03 14:49:05,454 - INFO - Created VN ctest-vn-30599337
2025-11-03 14:49:05,506 - DEBUG - VN ctest-vn-30599337 UUID is 9fa40cca-bb64-4e33-88f4-3d7a53d6cff8
2025-11-03 14:49:05,620 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34625591', 'ctest-vmi-35747592']}
2025-11-03 14:49:05,871 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35747592', 'id': 'a6c0a8cc-dc1f-4928-8f9e-f25672e1ce0d', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'network_id': '9fa40cca-bb64-4e33-88f4-3d7a53d6cff8', 'mac_address': '02:a6:c0:a8:cc:dc', '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': '215.35.57.67', 'subnet_id': 'c55a8b5c-b29a-4019-bd68-b0c5d8e4a1e3'}], 'security_groups': ['658baf32-b092-4095-8ce5-786ae1db5068'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9079f19d964342a3a6ef6ac4426c973f'}}
2025-11-03 14:49:05,871 - DEBUG - Created port a6c0a8cc-dc1f-4928-8f9e-f25672e1ce0d
2025-11-03 14:49:05,978 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a6c0a8cc-dc1f-4928-8f9e-f25672e1ce0d
2025-11-03 14:49:06,290 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a6c0a8cc-dc1f-4928-8f9e-f25672e1ce0d
2025-11-03 14:49:06,329 - INFO - VMI a6c0a8cc-dc1f-4928-8f9e-f25672e1ce0d verification in API Server passed
2025-11-03 14:49:06,426 - DEBUG - Response for delete_port : ()
2025-11-03 14:49:06,427 - INFO - Deleted port a6c0a8cc-dc1f-4928-8f9e-f25672e1ce0d
2025-11-03 14:49:06,427 - INFO - Deleting VN ctest-vn-30599337
2025-11-03 14:49:06,561 - DEBUG - Response for deleting network ()
2025-11-03 14:49:06,828 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 14:49:06,828 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-03 14:49:06,828 - INFO - --------------------------------------------------------------------------------
2025-11-03 14:49:06,831 - INFO - ================================================================================
2025-11-03 14:49:06,831 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-03 14:49:06,831 - 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-03 14:49:07,131 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with
2025-11-03 14:49:07,132 - INFO - Initial checks done. Running the testcase now
2025-11-03 14:49:07,132 - INFO -
2025-11-03 14:49:07,314 - DEBUG - Response for create_network : {'network': {'id': 'bcffaccb-0a06-4f77-bfb4-17b4ee9c5ba0', 'name': 'ctest-vn1-02327104', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'project_id': '9079f19d964342a3a6ef6ac4426c973f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34625591', 'ctest-vn1-02327104'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 14:49:07,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '441c0c4b-f1ea-4ad8-ace3-d0550683e820', 'name': '', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'network_id': 'bcffaccb-0a06-4f77-bfb4-17b4ee9c5ba0', 'ip_version': 4, 'cidr': '135.62.155.192/26', 'allocation_pools': [{'start': '135.62.155.194', 'end': '135.62.155.254'}], 'gateway_ip': '135.62.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.62.155.194', 'tags': [], 'project_id': '9079f19d964342a3a6ef6ac4426c973f'}}
2025-11-03 14:49:07,676 - DEBUG - Response for create_subnet : {'subnet': {'id': '7836ae42-abb0-49cc-8d0d-cfcb4cde7eeb', 'name': '', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'network_id': 'bcffaccb-0a06-4f77-bfb4-17b4ee9c5ba0', 'ip_version': 4, 'cidr': '177.93.193.64/26', 'allocation_pools': [{'start': '177.93.193.66', 'end': '177.93.193.126'}], 'gateway_ip': '177.93.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.93.193.66', 'tags': [], 'project_id': '9079f19d964342a3a6ef6ac4426c973f'}}
2025-11-03 14:49:07,695 - INFO - Created VN ctest-vn1-02327104
2025-11-03 14:49:07,746 - DEBUG - VN ctest-vn1-02327104 UUID is bcffaccb-0a06-4f77-bfb4-17b4ee9c5ba0
2025-11-03 14:49:08,052 - DEBUG - Response for create_port : {'port': {'name': 'fb7eb720-3aad-4d78-98f5-4f62f8f7a09d', 'id': 'fb7eb720-3aad-4d78-98f5-4f62f8f7a09d', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'network_id': 'bcffaccb-0a06-4f77-bfb4-17b4ee9c5ba0', 'mac_address': '02:fb:7e:b7:20:3a', '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': '135.62.155.197', 'subnet_id': '441c0c4b-f1ea-4ad8-ace3-d0550683e820'}], 'security_groups': ['658baf32-b092-4095-8ce5-786ae1db5068'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9079f19d964342a3a6ef6ac4426c973f'}}
2025-11-03 14:49:08,241 - DEBUG - Response for create_port : {'port': {'name': '8278ca4d-6208-40c4-a8c5-c17ad5b9cabc', 'id': '8278ca4d-6208-40c4-a8c5-c17ad5b9cabc', 'tenant_id': '9079f19d964342a3a6ef6ac4426c973f', 'network_id': 'bcffaccb-0a06-4f77-bfb4-17b4ee9c5ba0', 'mac_address': '02:82:78:ca:4d:62', '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': '177.93.193.69', 'subnet_id': '7836ae42-abb0-49cc-8d0d-cfcb4cde7eeb'}], 'security_groups': ['658baf32-b092-4095-8ce5-786ae1db5068'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9079f19d964342a3a6ef6ac4426c973f'}}
2025-11-03 14:49:08,308 - DEBUG - Services list from nova: [, , ]
2025-11-03 14:49:08,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4607-1)
2025-11-03 14:49:09,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4607-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4607-1)
2025-11-03 14:49:09,046 - INFO - Waiting for VM ctest-vn1-vm1-33062289 to be up..
2025-11-03 14:49:09,086 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-03 14:49:14,164 - DEBUG - VM is in ACTIVE state now
2025-11-03 14:49:14,164 - INFO - VM name : ctest-vn1-vm1-33062289
2025-11-03 14:49:14,236 - DEBUG - VM ctest-vn1-vm1-33062289 ID is eb555af6-60b7-47db-9087-5a69473f2f84
2025-11-03 14:49:14,255 - DEBUG - VM ctest-vn1-vm1-33062289 launched on Node cn-jenkins-deploy-platform-ansible-os-4607-1
2025-11-03 14:49:14,330 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/eb555af6-60b7-47db-9087-5a69473f2f84
2025-11-03 14:49:14,339 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/fb7eb720-3aad-4d78-98f5-4f62f8f7a09d
2025-11-03 14:49:17,579 - 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 1011ms')
2025-11-03 14:49:17,579 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33062289 failed!
2025-11-03 14:49:17,634 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34625591:ctest-vn1-02327104 is 135.62.155.193 and allocation pool is NOT set
2025-11-03 14:49:17,634 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34625591:ctest-vn1-02327104 is 177.93.193.65 and allocation pool is NOT set
2025-11-03 14:49:19,701 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.66 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 = 2.844/3.251/3.658/0.407 ms')
2025-11-03 14:49:19,701 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33062289 passed
2025-11-03 14:49:19,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:49:19,854 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33062289, IP 135.62.155.197, Port 22
2025-11-03 14:49:20,028 - DEBUG - VM ctest-vn1-vm1-33062289 is ready for SSH connections
2025-11-03 14:49:20,028 - INFO - Waiting for VM ctest-vn1-vm2-87617962 to be up..
2025-11-03 14:49:20,261 - DEBUG - VM is in ACTIVE state now
2025-11-03 14:49:20,261 - INFO - VM name : ctest-vn1-vm2-87617962
2025-11-03 14:49:20,347 - DEBUG - VM ctest-vn1-vm2-87617962 ID is 5416f387-e162-4ff2-9e3d-37064300ae2c
2025-11-03 14:49:20,347 - DEBUG - VM ctest-vn1-vm2-87617962 launched on Node cn-jenkins-deploy-platform-ansible-os-4607-1
2025-11-03 14:49:20,438 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5416f387-e162-4ff2-9e3d-37064300ae2c
2025-11-03 14:49:20,446 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/8278ca4d-6208-40c4-a8c5-c17ad5b9cabc
2025-11-03 14:49:21,688 - 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=5.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.950 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.950/3.028/5.106/2.078 ms')
2025-11-03 14:49:21,688 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87617962 passed
2025-11-03 14:49:21,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:49:21,838 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87617962, IP 177.93.193.69, Port 22
2025-11-03 14:49:21,993 - DEBUG - VM ctest-vn1-vm2-87617962 is ready for SSH connections
2025-11-03 14:49:21,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:49:21,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:49:21,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 14:49:21,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 135.62.155.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123
2025-11-03 14:49:21,994 - DEBUG - ping -s 56 -c 3 -W 1 135.62.155.197
2025-11-03 14:49:24,647 - DEBUG - PING 135.62.155.197 (135.62.155.197): 56 data bytes
64 bytes from 135.62.155.197: seq=0 ttl=63 time=3.562 ms
64 bytes from 135.62.155.197: seq=1 ttl=63 time=1.758 ms
64 bytes from 135.62.155.197: seq=2 ttl=63 time=0.958 ms
--- 135.62.155.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.958/2.092/3.562 ms
2025-11-03 14:49:24,647 - INFO - Ping to IP 135.62.155.197 from VM ctest-vn1-vm2-87617962 passed
2025-11-03 14:49:24,647 - INFO - Detaching port 8278ca4d-6208-40c4-a8c5-c17ad5b9cabc from VM ctest-vn1-vm2-87617962
2025-11-03 14:49:24,694 - INFO - Deleting VM ctest-vn1-vm2-87617962
2025-11-03 14:49:24,759 - INFO - Detaching port fb7eb720-3aad-4d78-98f5-4f62f8f7a09d from VM ctest-vn1-vm1-33062289
2025-11-03 14:49:24,796 - INFO - Deleting VM ctest-vn1-vm1-33062289
2025-11-03 14:49:25,039 - DEBUG - Response for delete_port : ()
2025-11-03 14:49:25,225 - DEBUG - Response for delete_port : ()
2025-11-03 14:49:25,225 - INFO - Deleting VN ctest-vn1-02327104
2025-11-03 14:49:25,365 - DEBUG - Response for deleting network ()
2025-11-03 14:49:25,618 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 14:49:25,619 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-03 14:49:25,619 - INFO - --------------------------------------------------------------------------------
2025-11-03 14:49:26,297 - INFO - Deleted project: ctest-TestPorts-34625591, ID : 9079f19d-9643-42a3-a6ef-6ac4426c973f