2025-09-09 07:02:47,929 - INFO - Domain Default found not creating
2025-09-09 07:02:48,083 - INFO - Project ctest-TestPorts-41876827 not found, creating it
2025-09-09 07:02:48,553 - INFO - Created Project:ctest-TestPorts-41876827, ID : 9c4808d7-1d23-461e-961c-6b19b61453ea
2025-09-09 07:02:50,086 - INFO - ================================================================================
2025-09-09 07:02:50,086 - INFO - STARTING TEST : test_ports_bindings
2025-09-09 07:02:50,086 - 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-09-09 07:02:50,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-09-09 07:02:50,340 - INFO - Initial checks done. Running the testcase now
2025-09-09 07:02:50,340 - INFO -
2025-09-09 07:02:50,923 - DEBUG - Response for create_network : {'network': {'id': '1a12a6a6-df69-48e9-aaea-39348b90605d', 'name': 'ctest-vn-28260484', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'project_id': '9c4808d71d23461e961c6b19b61453ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41876827', 'ctest-vn-28260484'], 'port_security_enabled': True, 'description': ''}}
2025-09-09 07:02:51,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '37a04de6-8379-4d0d-a3b5-8b6ec8619e19', 'name': '', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'network_id': '1a12a6a6-df69-48e9-aaea-39348b90605d', 'ip_version': 4, 'cidr': '180.144.186.128/26', 'allocation_pools': [{'start': '180.144.186.130', 'end': '180.144.186.190'}], 'gateway_ip': '180.144.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.144.186.130', 'tags': [], 'project_id': '9c4808d71d23461e961c6b19b61453ea'}}
2025-09-09 07:02:51,091 - INFO - Created VN ctest-vn-28260484
2025-09-09 07:02:51,142 - DEBUG - VN ctest-vn-28260484 UUID is 1a12a6a6-df69-48e9-aaea-39348b90605d
2025-09-09 07:02:51,254 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41876827', 'ctest-vmi-77458194']}
2025-09-09 07:02:51,508 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-77458194', 'id': 'ccfebd31-ae6d-4a25-b29c-a44a90a8cbdd', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'network_id': '1a12a6a6-df69-48e9-aaea-39348b90605d', 'mac_address': '02:cc:fe:bd:31:ae', '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': '180.144.186.131', 'subnet_id': '37a04de6-8379-4d0d-a3b5-8b6ec8619e19'}], 'security_groups': ['09490ffe-1293-47d0-b942-8ac4bddc9742'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c4808d71d23461e961c6b19b61453ea'}}
2025-09-09 07:02:51,508 - DEBUG - Created port ccfebd31-ae6d-4a25-b29c-a44a90a8cbdd
2025-09-09 07:02:51,622 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ccfebd31-ae6d-4a25-b29c-a44a90a8cbdd
2025-09-09 07:02:51,967 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ccfebd31-ae6d-4a25-b29c-a44a90a8cbdd
2025-09-09 07:02:52,002 - INFO - VMI ccfebd31-ae6d-4a25-b29c-a44a90a8cbdd verification in API Server passed
2025-09-09 07:02:52,102 - DEBUG - Response for delete_port : ()
2025-09-09 07:02:52,102 - INFO - Deleted port ccfebd31-ae6d-4a25-b29c-a44a90a8cbdd
2025-09-09 07:02:52,102 - INFO - Deleting VN ctest-vn-28260484
2025-09-09 07:02:52,208 - DEBUG - Response for deleting network ()
2025-09-09 07:02:52,467 - DEBUG - No XMPP flaps were noticed during the test
2025-09-09 07:02:52,467 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-09 07:02:52,468 - INFO - --------------------------------------------------------------------------------
2025-09-09 07:02:52,470 - INFO - ================================================================================
2025-09-09 07:02:52,470 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-09 07:02:52,470 - 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-09-09 07:02:52,756 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-09-09 07:02:52,756 - INFO - Initial checks done. Running the testcase now
2025-09-09 07:02:52,756 - INFO -
2025-09-09 07:02:52,941 - DEBUG - Response for create_network : {'network': {'id': '94c58aad-350d-4fc0-9d5a-5d5f61ccf164', 'name': 'ctest-vn1-20827578', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'project_id': '9c4808d71d23461e961c6b19b61453ea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41876827', 'ctest-vn1-20827578'], 'port_security_enabled': True, 'description': ''}}
2025-09-09 07:02:53,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '89654b83-535e-492c-85e1-7a435c2bba94', 'name': '', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'network_id': '94c58aad-350d-4fc0-9d5a-5d5f61ccf164', 'ip_version': 4, 'cidr': '185.194.229.64/26', 'allocation_pools': [{'start': '185.194.229.66', 'end': '185.194.229.126'}], 'gateway_ip': '185.194.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.194.229.66', 'tags': [], 'project_id': '9c4808d71d23461e961c6b19b61453ea'}}
2025-09-09 07:02:53,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c08403e-c060-4e20-aa62-a7821ca292af', 'name': '', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'network_id': '94c58aad-350d-4fc0-9d5a-5d5f61ccf164', 'ip_version': 4, 'cidr': '21.222.81.192/26', 'allocation_pools': [{'start': '21.222.81.194', 'end': '21.222.81.254'}], 'gateway_ip': '21.222.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.222.81.194', 'tags': [], 'project_id': '9c4808d71d23461e961c6b19b61453ea'}}
2025-09-09 07:02:53,311 - INFO - Created VN ctest-vn1-20827578
2025-09-09 07:02:53,362 - DEBUG - VN ctest-vn1-20827578 UUID is 94c58aad-350d-4fc0-9d5a-5d5f61ccf164
2025-09-09 07:02:53,665 - DEBUG - Response for create_port : {'port': {'name': '5652f725-99ea-4338-bc0a-c407b57106b5', 'id': '5652f725-99ea-4338-bc0a-c407b57106b5', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'network_id': '94c58aad-350d-4fc0-9d5a-5d5f61ccf164', 'mac_address': '02:56:52:f7:25:99', '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': '185.194.229.69', 'subnet_id': '89654b83-535e-492c-85e1-7a435c2bba94'}], 'security_groups': ['09490ffe-1293-47d0-b942-8ac4bddc9742'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c4808d71d23461e961c6b19b61453ea'}}
2025-09-09 07:02:53,843 - DEBUG - Response for create_port : {'port': {'name': 'c26332d0-36c4-447c-b43e-06eb4260255d', 'id': 'c26332d0-36c4-447c-b43e-06eb4260255d', 'tenant_id': '9c4808d71d23461e961c6b19b61453ea', 'network_id': '94c58aad-350d-4fc0-9d5a-5d5f61ccf164', 'mac_address': '02:c2:63:32:d0:36', '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': '21.222.81.197', 'subnet_id': '1c08403e-c060-4e20-aa62-a7821ca292af'}], 'security_groups': ['09490ffe-1293-47d0-b942-8ac4bddc9742'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9c4808d71d23461e961c6b19b61453ea'}}
2025-09-09 07:02:53,906 - DEBUG - Services list from nova: [, , ]
2025-09-09 07:02:54,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4059-1)
2025-09-09 07:02:54,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4059-1)
2025-09-09 07:02:54,672 - INFO - Waiting for VM ctest-vn1-vm1-37076376 to be up..
2025-09-09 07:02:54,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-09 07:02:59,791 - DEBUG - VM is in ACTIVE state now
2025-09-09 07:02:59,791 - INFO - VM name : ctest-vn1-vm1-37076376
2025-09-09 07:02:59,865 - DEBUG - VM ctest-vn1-vm1-37076376 ID is d5d3f5c2-ee1a-4819-8377-7d92d9bbd446
2025-09-09 07:02:59,884 - DEBUG - VM ctest-vn1-vm1-37076376 launched on Node cn-jenkins-deploy-platform-ansible-os-4059-1
2025-09-09 07:02:59,963 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d5d3f5c2-ee1a-4819-8377-7d92d9bbd446
2025-09-09 07:02:59,972 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5652f725-99ea-4338-bc0a-c407b57106b5
2025-09-09 07:03:03,220 - 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-09-09 07:03:03,220 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37076376 failed!
2025-09-09 07:03:03,275 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41876827:ctest-vn1-20827578 is 185.194.229.65 and allocation pool is NOT set
2025-09-09 07:03:03,275 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41876827:ctest-vn1-20827578 is 21.222.81.193 and allocation pool is NOT set
2025-09-09 07:03:07,355 - 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=6.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 6.348/6.348/6.348/0.000 ms')
2025-09-09 07:03:07,355 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37076376 passed
2025-09-09 07:03:07,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 07:03:07,507 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37076376, IP 185.194.229.69, Port 22
2025-09-09 07:03:07,662 - DEBUG - VM ctest-vn1-vm1-37076376 is ready for SSH connections
2025-09-09 07:03:07,662 - INFO - Waiting for VM ctest-vn1-vm2-45195369 to be up..
2025-09-09 07:03:07,763 - DEBUG - VM is in ACTIVE state now
2025-09-09 07:03:07,763 - INFO - VM name : ctest-vn1-vm2-45195369
2025-09-09 07:03:07,850 - DEBUG - VM ctest-vn1-vm2-45195369 ID is f5da68aa-fdf1-4e6c-87f4-3f5ef6970bdb
2025-09-09 07:03:07,850 - DEBUG - VM ctest-vn1-vm2-45195369 launched on Node cn-jenkins-deploy-platform-ansible-os-4059-1
2025-09-09 07:03:07,935 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f5da68aa-fdf1-4e6c-87f4-3f5ef6970bdb
2025-09-09 07:03:07,945 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c26332d0-36c4-447c-b43e-06eb4260255d
2025-09-09 07:03:09,196 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.516 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.516/2.395/4.274/1.879 ms')
2025-09-09 07:03:09,196 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45195369 passed
2025-09-09 07:03:09,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 07:03:09,367 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45195369, IP 21.222.81.197, Port 22
2025-09-09 07:03:09,530 - DEBUG - VM ctest-vn1-vm2-45195369 is ready for SSH connections
2025-09-09 07:03:09,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 07:03:09,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 07:03:09,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-09 07:03:09,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.194.229.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-09-09 07:03:09,530 - DEBUG - ping -s 56 -c 3 -W 1 185.194.229.69
2025-09-09 07:03:12,259 - DEBUG - PING 185.194.229.69 (185.194.229.69): 56 data bytes
64 bytes from 185.194.229.69: seq=0 ttl=63 time=3.889 ms
64 bytes from 185.194.229.69: seq=1 ttl=63 time=1.102 ms
64 bytes from 185.194.229.69: seq=2 ttl=63 time=0.803 ms
--- 185.194.229.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.803/1.931/3.889 ms
2025-09-09 07:03:12,259 - INFO - Ping to IP 185.194.229.69 from VM ctest-vn1-vm2-45195369 passed
2025-09-09 07:03:12,259 - INFO - Detaching port c26332d0-36c4-447c-b43e-06eb4260255d from VM ctest-vn1-vm2-45195369
2025-09-09 07:03:12,308 - INFO - Deleting VM ctest-vn1-vm2-45195369
2025-09-09 07:03:12,380 - INFO - Detaching port 5652f725-99ea-4338-bc0a-c407b57106b5 from VM ctest-vn1-vm1-37076376
2025-09-09 07:03:12,419 - INFO - Deleting VM ctest-vn1-vm1-37076376
2025-09-09 07:03:12,679 - DEBUG - Response for delete_port : ()
2025-09-09 07:03:12,892 - DEBUG - Response for delete_port : ()
2025-09-09 07:03:12,892 - INFO - Deleting VN ctest-vn1-20827578
2025-09-09 07:03:13,093 - DEBUG - Response for deleting network ()
2025-09-09 07:03:13,356 - DEBUG - No XMPP flaps were noticed during the test
2025-09-09 07:03:13,356 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-09 07:03:13,356 - INFO - --------------------------------------------------------------------------------
2025-09-09 07:03:14,098 - INFO - Deleted project: ctest-TestPorts-41876827, ID : 9c4808d7-1d23-461e-961c-6b19b61453ea