2025-08-18 02:08:37,753 - INFO - Domain Default found not creating
2025-08-18 02:08:37,896 - INFO - Project ctest-TestPorts-06531639 not found, creating it
2025-08-18 02:08:38,330 - INFO - Created Project:ctest-TestPorts-06531639, ID : 5646706c-7315-4f60-b425-b20f851cf4e1
2025-08-18 02:08:39,748 - INFO - ================================================================================
2025-08-18 02:08:39,748 - INFO - STARTING TEST : test_ports_bindings
2025-08-18 02:08:39,748 - 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-08-18 02:08:40,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-08-18 02:08:40,003 - INFO - Initial checks done. Running the testcase now
2025-08-18 02:08:40,003 - INFO -
2025-08-18 02:08:40,529 - DEBUG - Response for create_network : {'network': {'id': '43daf5a4-8a44-4bd4-8122-3cc74ba508bb', 'name': 'ctest-vn-79931172', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'project_id': '5646706c73154f60b425b20f851cf4e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06531639', 'ctest-vn-79931172'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:08:40,731 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2d4d789-e6b4-4753-99ac-7ba2d9cebadc', 'name': '', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'network_id': '43daf5a4-8a44-4bd4-8122-3cc74ba508bb', 'ip_version': 4, 'cidr': '181.236.159.192/26', 'allocation_pools': [{'start': '181.236.159.194', 'end': '181.236.159.254'}], 'gateway_ip': '181.236.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.236.159.194', 'tags': [], 'project_id': '5646706c73154f60b425b20f851cf4e1'}}
2025-08-18 02:08:40,747 - INFO - Created VN ctest-vn-79931172
2025-08-18 02:08:40,801 - DEBUG - VN ctest-vn-79931172 UUID is 43daf5a4-8a44-4bd4-8122-3cc74ba508bb
2025-08-18 02:08:40,903 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-06531639', 'ctest-vmi-51176703']}
2025-08-18 02:08:41,175 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51176703', 'id': 'b9dd27e2-a36a-4145-8547-d5ad88d6371b', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'network_id': '43daf5a4-8a44-4bd4-8122-3cc74ba508bb', 'mac_address': '02:b9:dd:27:e2:a3', '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': '181.236.159.195', 'subnet_id': 'd2d4d789-e6b4-4753-99ac-7ba2d9cebadc'}], 'security_groups': ['301f6dfd-9fa8-46d9-a444-1877a258554e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5646706c73154f60b425b20f851cf4e1'}}
2025-08-18 02:08:41,175 - DEBUG - Created port b9dd27e2-a36a-4145-8547-d5ad88d6371b
2025-08-18 02:08:41,277 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b9dd27e2-a36a-4145-8547-d5ad88d6371b
2025-08-18 02:08:41,569 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/b9dd27e2-a36a-4145-8547-d5ad88d6371b
2025-08-18 02:08:41,605 - INFO - VMI b9dd27e2-a36a-4145-8547-d5ad88d6371b verification in API Server passed
2025-08-18 02:08:41,688 - DEBUG - Response for delete_port : ()
2025-08-18 02:08:41,688 - INFO - Deleted port b9dd27e2-a36a-4145-8547-d5ad88d6371b
2025-08-18 02:08:41,688 - INFO - Deleting VN ctest-vn-79931172
2025-08-18 02:08:41,787 - DEBUG - Response for deleting network ()
2025-08-18 02:08:42,054 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:08:42,054 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-18 02:08:42,054 - INFO - --------------------------------------------------------------------------------
2025-08-18 02:08:42,056 - INFO - ================================================================================
2025-08-18 02:08:42,056 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-18 02:08:42,057 - 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-08-18 02:08:42,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-08-18 02:08:42,346 - INFO - Initial checks done. Running the testcase now
2025-08-18 02:08:42,346 - INFO -
2025-08-18 02:08:42,782 - DEBUG - Response for create_network : {'network': {'id': '0cfcc656-b080-4e66-bf16-b466abbd70aa', 'name': 'ctest-vn1-63395853', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'project_id': '5646706c73154f60b425b20f851cf4e1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-06531639', 'ctest-vn1-63395853'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:08:43,115 - DEBUG - Response for create_subnet : {'subnet': {'id': '827b3bc1-ffed-4715-9455-6f73a2f176db', 'name': '', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'network_id': '0cfcc656-b080-4e66-bf16-b466abbd70aa', 'ip_version': 4, 'cidr': '67.15.213.192/26', 'allocation_pools': [{'start': '67.15.213.194', 'end': '67.15.213.254'}], 'gateway_ip': '67.15.213.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.15.213.194', 'tags': [], 'project_id': '5646706c73154f60b425b20f851cf4e1'}}
2025-08-18 02:08:43,280 - DEBUG - Response for create_subnet : {'subnet': {'id': '14671269-a391-4bb5-a99d-c574bc8f6c4f', 'name': '', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'network_id': '0cfcc656-b080-4e66-bf16-b466abbd70aa', 'ip_version': 4, 'cidr': '221.169.232.192/26', 'allocation_pools': [{'start': '221.169.232.194', 'end': '221.169.232.254'}], 'gateway_ip': '221.169.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.169.232.194', 'tags': [], 'project_id': '5646706c73154f60b425b20f851cf4e1'}}
2025-08-18 02:08:43,299 - INFO - Created VN ctest-vn1-63395853
2025-08-18 02:08:43,353 - DEBUG - VN ctest-vn1-63395853 UUID is 0cfcc656-b080-4e66-bf16-b466abbd70aa
2025-08-18 02:08:43,634 - DEBUG - Response for create_port : {'port': {'name': 'ca6ca54a-dbed-4896-94a7-c069ac19f1e6', 'id': 'ca6ca54a-dbed-4896-94a7-c069ac19f1e6', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'network_id': '0cfcc656-b080-4e66-bf16-b466abbd70aa', 'mac_address': '02:ca:6c:a5:4a:db', '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.15.213.197', 'subnet_id': '827b3bc1-ffed-4715-9455-6f73a2f176db'}], 'security_groups': ['301f6dfd-9fa8-46d9-a444-1877a258554e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5646706c73154f60b425b20f851cf4e1'}}
2025-08-18 02:08:43,794 - DEBUG - Response for create_port : {'port': {'name': '7ffc219e-166e-42dc-bafb-980d1f4d5789', 'id': '7ffc219e-166e-42dc-bafb-980d1f4d5789', 'tenant_id': '5646706c73154f60b425b20f851cf4e1', 'network_id': '0cfcc656-b080-4e66-bf16-b466abbd70aa', 'mac_address': '02:7f:fc:21:9e:16', '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': '221.169.232.197', 'subnet_id': '14671269-a391-4bb5-a99d-c574bc8f6c4f'}], 'security_groups': ['301f6dfd-9fa8-46d9-a444-1877a258554e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5646706c73154f60b425b20f851cf4e1'}}
2025-08-18 02:08:43,844 - DEBUG - Services list from nova: [, , ]
2025-08-18 02:08:44,134 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1)
2025-08-18 02:08:44,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3873-1)
2025-08-18 02:08:44,495 - INFO - Waiting for VM ctest-vn1-vm1-73017139 to be up..
2025-08-18 02:08:44,535 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-18 02:08:49,604 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:08:49,604 - INFO - VM name : ctest-vn1-vm1-73017139
2025-08-18 02:08:49,673 - DEBUG - VM ctest-vn1-vm1-73017139 ID is 439cfa70-0153-4da7-bf66-03298527f859
2025-08-18 02:08:49,691 - DEBUG - VM ctest-vn1-vm1-73017139 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1
2025-08-18 02:08:49,756 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/439cfa70-0153-4da7-bf66-03298527f859
2025-08-18 02:08:49,764 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ca6ca54a-dbed-4896-94a7-c069ac19f1e6
2025-08-18 02:08:53,005 - 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 1007ms')
2025-08-18 02:08:53,005 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73017139 failed!
2025-08-18 02:08:53,061 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06531639:ctest-vn1-63395853 is 67.15.213.193 and allocation pool is NOT set
2025-08-18 02:08:53,061 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-06531639:ctest-vn1-63395853 is 221.169.232.193 and allocation pool is NOT set
2025-08-18 02:08:55,120 - 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=9.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.69 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 = 1.694/5.631/9.568/3.937 ms')
2025-08-18 02:08:55,121 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73017139 passed
2025-08-18 02:08:55,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:08:55,273 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73017139, IP 67.15.213.197, Port 22
2025-08-18 02:08:55,439 - DEBUG - VM ctest-vn1-vm1-73017139 is ready for SSH connections
2025-08-18 02:08:55,439 - INFO - Waiting for VM ctest-vn1-vm2-25017656 to be up..
2025-08-18 02:08:55,509 - DEBUG - VM is in ACTIVE state now
2025-08-18 02:08:55,509 - INFO - VM name : ctest-vn1-vm2-25017656
2025-08-18 02:08:55,575 - DEBUG - VM ctest-vn1-vm2-25017656 ID is 409890d4-50e4-41bd-891a-97df726110ab
2025-08-18 02:08:55,575 - DEBUG - VM ctest-vn1-vm2-25017656 launched on Node cn-jenkins-deploy-platform-ansible-os-3873-1
2025-08-18 02:08:55,641 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/409890d4-50e4-41bd-891a-97df726110ab
2025-08-18 02:08:55,649 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7ffc219e-166e-42dc-bafb-980d1f4d5789
2025-08-18 02:08:56,878 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.363 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.363/1.702/3.041/1.339 ms')
2025-08-18 02:08:56,879 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-25017656 passed
2025-08-18 02:08:57,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:08:57,029 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-25017656, IP 221.169.232.197, Port 22
2025-08-18 02:08:57,184 - DEBUG - VM ctest-vn1-vm2-25017656 is ready for SSH connections
2025-08-18 02:08:57,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:08:57,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:08:57,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-18 02:08:57,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.15.213.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-08-18 02:08:57,184 - DEBUG - ping -s 56 -c 3 -W 1 67.15.213.197
2025-08-18 02:08:59,810 - DEBUG - PING 67.15.213.197 (67.15.213.197): 56 data bytes
64 bytes from 67.15.213.197: seq=0 ttl=63 time=4.011 ms
64 bytes from 67.15.213.197: seq=1 ttl=63 time=0.846 ms
64 bytes from 67.15.213.197: seq=2 ttl=63 time=0.689 ms
--- 67.15.213.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.689/1.848/4.011 ms
2025-08-18 02:08:59,810 - INFO - Ping to IP 67.15.213.197 from VM ctest-vn1-vm2-25017656 passed
2025-08-18 02:08:59,810 - INFO - Detaching port 7ffc219e-166e-42dc-bafb-980d1f4d5789 from VM ctest-vn1-vm2-25017656
2025-08-18 02:08:59,854 - INFO - Deleting VM ctest-vn1-vm2-25017656
2025-08-18 02:08:59,910 - INFO - Detaching port ca6ca54a-dbed-4896-94a7-c069ac19f1e6 from VM ctest-vn1-vm1-73017139
2025-08-18 02:08:59,945 - INFO - Deleting VM ctest-vn1-vm1-73017139
2025-08-18 02:09:00,160 - DEBUG - Response for delete_port : ()
2025-08-18 02:09:00,339 - DEBUG - Response for delete_port : ()
2025-08-18 02:09:00,339 - INFO - Deleting VN ctest-vn1-63395853
2025-08-18 02:09:00,468 - DEBUG - Response for deleting network ()
2025-08-18 02:09:00,730 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 02:09:00,730 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-18 02:09:00,730 - INFO - --------------------------------------------------------------------------------
2025-08-18 02:09:01,405 - INFO - Deleted project: ctest-TestPorts-06531639, ID : 5646706c-7315-4f60-b425-b20f851cf4e1