2025-10-16 15:19:21,763 - INFO - Domain Default found not creating
2025-10-16 15:19:21,955 - INFO - Project ctest-TestPorts-45330134 not found, creating it
2025-10-16 15:19:22,446 - INFO - Created Project:ctest-TestPorts-45330134, ID : 4798ff1d-2308-4b73-b84e-2ffd6dad00d0
2025-10-16 15:19:24,395 - INFO - ================================================================================
2025-10-16 15:19:24,395 - INFO - STARTING TEST : test_ports_bindings
2025-10-16 15:19:24,395 - 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-16 15:19:24,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-16 15:19:24,665 - INFO - Initial checks done. Running the testcase now
2025-10-16 15:19:24,665 - INFO -
2025-10-16 15:19:25,265 - DEBUG - Response for create_network : {'network': {'id': '4ba8a7ba-eb29-4140-8842-c8a74cfba439', 'name': 'ctest-vn-47985931', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45330134', 'ctest-vn-47985931'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 15:19:25,682 - DEBUG - Response for create_subnet : {'subnet': {'id': '63db617c-34c7-4c8a-aa68-12f2fdd039d0', 'name': '', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'network_id': '4ba8a7ba-eb29-4140-8842-c8a74cfba439', 'ip_version': 4, 'cidr': '9.53.131.0/26', 'allocation_pools': [{'start': '9.53.131.2', 'end': '9.53.131.62'}], 'gateway_ip': '9.53.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.53.131.2', 'tags': [], 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0'}}
2025-10-16 15:19:25,720 - INFO - Created VN ctest-vn-47985931
2025-10-16 15:19:25,794 - DEBUG - VN ctest-vn-47985931 UUID is 4ba8a7ba-eb29-4140-8842-c8a74cfba439
2025-10-16 15:19:25,963 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45330134', 'ctest-vmi-52460230']}
2025-10-16 15:19:26,341 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-52460230', 'id': '89837210-051f-475f-ae48-47790f1a71b5', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'network_id': '4ba8a7ba-eb29-4140-8842-c8a74cfba439', 'mac_address': '02:89:83:72:10:05', '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': '9.53.131.3', 'subnet_id': '63db617c-34c7-4c8a-aa68-12f2fdd039d0'}], 'security_groups': ['ab903975-1d87-4a68-9e73-e29a99bd7273'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0'}}
2025-10-16 15:19:26,342 - DEBUG - Created port 89837210-051f-475f-ae48-47790f1a71b5
2025-10-16 15:19:26,451 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/89837210-051f-475f-ae48-47790f1a71b5
2025-10-16 15:19:26,748 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/89837210-051f-475f-ae48-47790f1a71b5
2025-10-16 15:19:26,782 - INFO - VMI 89837210-051f-475f-ae48-47790f1a71b5 verification in API Server passed
2025-10-16 15:19:26,889 - DEBUG - Response for delete_port : ()
2025-10-16 15:19:26,889 - INFO - Deleted port 89837210-051f-475f-ae48-47790f1a71b5
2025-10-16 15:19:26,890 - INFO - Deleting VN ctest-vn-47985931
2025-10-16 15:19:27,023 - DEBUG - Response for deleting network ()
2025-10-16 15:19:27,300 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 15:19:27,300 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-16 15:19:27,300 - INFO - --------------------------------------------------------------------------------
2025-10-16 15:19:27,303 - INFO - ================================================================================
2025-10-16 15:19:27,303 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-16 15:19:27,303 - 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-16 15:19:27,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-10-16 15:19:27,585 - INFO - Initial checks done. Running the testcase now
2025-10-16 15:19:27,585 - INFO -
2025-10-16 15:19:27,790 - DEBUG - Response for create_network : {'network': {'id': '055a6428-4e4c-439e-a430-1fd60e98e872', 'name': 'ctest-vn1-04830632', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45330134', 'ctest-vn1-04830632'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 15:19:27,984 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab1b1b6d-c65d-4f02-aae6-98b9919b444b', 'name': '', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'network_id': '055a6428-4e4c-439e-a430-1fd60e98e872', 'ip_version': 4, 'cidr': '43.32.17.64/26', 'allocation_pools': [{'start': '43.32.17.66', 'end': '43.32.17.126'}], 'gateway_ip': '43.32.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.32.17.66', 'tags': [], 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0'}}
2025-10-16 15:19:28,207 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a59b42ea-a626-4f02-8fd3-91972066d4c8', 'name': '', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'network_id': '055a6428-4e4c-439e-a430-1fd60e98e872', 'ip_version': 4, 'cidr': '206.149.44.64/26', 'allocation_pools': [{'start': '206.149.44.66', 'end': '206.149.44.126'}], 'gateway_ip': '206.149.44.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.149.44.66', 'tags': [], 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0'}}
2025-10-16 15:19:28,231 - INFO - Created VN ctest-vn1-04830632
2025-10-16 15:19:28,286 - DEBUG - VN ctest-vn1-04830632 UUID is 055a6428-4e4c-439e-a430-1fd60e98e872
2025-10-16 15:19:28,633 - DEBUG - Response for create_port : {'port': {'name': '5fc1f596-7554-48e0-be8f-a078c07e9be4', 'id': '5fc1f596-7554-48e0-be8f-a078c07e9be4', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'network_id': '055a6428-4e4c-439e-a430-1fd60e98e872', 'mac_address': '02:5f:c1:f5:96:75', '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': '43.32.17.69', 'subnet_id': 'ab1b1b6d-c65d-4f02-aae6-98b9919b444b'}], 'security_groups': ['ab903975-1d87-4a68-9e73-e29a99bd7273'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0'}}
2025-10-16 15:19:28,834 - DEBUG - Response for create_port : {'port': {'name': 'b4fa90db-9214-4055-b0d5-52994241617a', 'id': 'b4fa90db-9214-4055-b0d5-52994241617a', 'tenant_id': '4798ff1d23084b73b84e2ffd6dad00d0', 'network_id': '055a6428-4e4c-439e-a430-1fd60e98e872', 'mac_address': '02:b4:fa:90:db:92', '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': '206.149.44.69', 'subnet_id': 'a59b42ea-a626-4f02-8fd3-91972066d4c8'}], 'security_groups': ['ab903975-1d87-4a68-9e73-e29a99bd7273'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4798ff1d23084b73b84e2ffd6dad00d0'}}
2025-10-16 15:19:28,894 - DEBUG - Services list from nova: [, , ]
2025-10-16 15:19:29,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4346-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4346-1)
2025-10-16 15:19:29,749 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4346-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4346-1)
2025-10-16 15:19:29,749 - INFO - Waiting for VM ctest-vn1-vm1-17422522 to be up..
2025-10-16 15:19:29,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 15:19:34,889 - DEBUG - VM is in ACTIVE state now
2025-10-16 15:19:34,889 - INFO - VM name : ctest-vn1-vm1-17422522
2025-10-16 15:19:34,978 - DEBUG - VM ctest-vn1-vm1-17422522 ID is cf0d4a83-eb6c-496c-99ca-63dea9691394
2025-10-16 15:19:35,000 - DEBUG - VM ctest-vn1-vm1-17422522 launched on Node cn-jenkins-deploy-platform-ansible-os-4346-1
2025-10-16 15:19:35,090 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cf0d4a83-eb6c-496c-99ca-63dea9691394
2025-10-16 15:19:35,103 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5fc1f596-7554-48e0-be8f-a078c07e9be4
2025-10-16 15:19:38,376 - 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 1023ms')
2025-10-16 15:19:38,377 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17422522 failed!
2025-10-16 15:19:38,435 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45330134:ctest-vn1-04830632 is 43.32.17.65 and allocation pool is NOT set
2025-10-16 15:19:38,435 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45330134:ctest-vn1-04830632 is 206.149.44.65 and allocation pool is NOT set
2025-10-16 15:19:42,528 - 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.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 7.315/7.315/7.315/0.000 ms')
2025-10-16 15:19:42,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17422522 passed
2025-10-16 15:19:42,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 15:19:42,679 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17422522, IP 43.32.17.69, Port 22
2025-10-16 15:19:42,845 - DEBUG - VM ctest-vn1-vm1-17422522 is ready for SSH connections
2025-10-16 15:19:42,845 - INFO - Waiting for VM ctest-vn1-vm2-07365342 to be up..
2025-10-16 15:19:42,939 - DEBUG - VM is in ACTIVE state now
2025-10-16 15:19:42,939 - INFO - VM name : ctest-vn1-vm2-07365342
2025-10-16 15:19:43,051 - DEBUG - VM ctest-vn1-vm2-07365342 ID is 5857bdbc-f1b9-4a39-84d1-9e83a81f6595
2025-10-16 15:19:43,051 - DEBUG - VM ctest-vn1-vm2-07365342 launched on Node cn-jenkins-deploy-platform-ansible-os-4346-1
2025-10-16 15:19:43,136 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5857bdbc-f1b9-4a39-84d1-9e83a81f6595
2025-10-16 15:19:43,146 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b4fa90db-9214-4055-b0d5-52994241617a
2025-10-16 15:19:44,409 - 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=4.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.560 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.560/2.600/4.641/2.040 ms')
2025-10-16 15:19:44,409 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-07365342 passed
2025-10-16 15:19:44,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 15:19:44,572 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-07365342, IP 206.149.44.69, Port 22
2025-10-16 15:19:44,745 - DEBUG - VM ctest-vn1-vm2-07365342 is ready for SSH connections
2025-10-16 15:19:44,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 15:19:44,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 15:19:44,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 15:19:44,745 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.32.17.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-16 15:19:44,745 - DEBUG - ping -s 56 -c 3 -W 1 43.32.17.69
2025-10-16 15:19:47,434 - DEBUG - PING 43.32.17.69 (43.32.17.69): 56 data bytes
64 bytes from 43.32.17.69: seq=0 ttl=63 time=5.578 ms
64 bytes from 43.32.17.69: seq=1 ttl=63 time=0.994 ms
64 bytes from 43.32.17.69: seq=2 ttl=63 time=0.938 ms
--- 43.32.17.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.938/2.503/5.578 ms
2025-10-16 15:19:47,434 - INFO - Ping to IP 43.32.17.69 from VM ctest-vn1-vm2-07365342 passed
2025-10-16 15:19:47,435 - INFO - Detaching port b4fa90db-9214-4055-b0d5-52994241617a from VM ctest-vn1-vm2-07365342
2025-10-16 15:19:47,487 - INFO - Deleting VM ctest-vn1-vm2-07365342
2025-10-16 15:19:47,560 - INFO - Detaching port 5fc1f596-7554-48e0-be8f-a078c07e9be4 from VM ctest-vn1-vm1-17422522
2025-10-16 15:19:47,605 - INFO - Deleting VM ctest-vn1-vm1-17422522
2025-10-16 15:19:47,932 - DEBUG - Response for delete_port : ()
2025-10-16 15:19:48,162 - DEBUG - Response for delete_port : ()
2025-10-16 15:19:48,162 - INFO - Deleting VN ctest-vn1-04830632
2025-10-16 15:19:48,349 - DEBUG - Response for deleting network ()
2025-10-16 15:19:48,617 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 15:19:48,617 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-10-16 15:19:48,617 - INFO - --------------------------------------------------------------------------------
2025-10-16 15:19:49,324 - INFO - Deleted project: ctest-TestPorts-45330134, ID : 4798ff1d-2308-4b73-b84e-2ffd6dad00d0