2025-10-21 07:38:42,543 - INFO - Domain Default found not creating 2025-10-21 07:38:42,679 - INFO - Project ctest-TestPorts-40309201 not found, creating it 2025-10-21 07:38:43,142 - INFO - Created Project:ctest-TestPorts-40309201, ID : 956e87dc-4e44-40ee-9d00-524d07c39756 2025-10-21 07:38:44,490 - INFO - ================================================================================ 2025-10-21 07:38:44,490 - INFO - STARTING TEST : test_ports_bindings 2025-10-21 07:38:44,490 - 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-21 07:38:44,739 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 07:38:44,739 - INFO - Initial checks done. Running the testcase now 2025-10-21 07:38:44,739 - INFO - 2025-10-21 07:38:45,240 - DEBUG - Response for create_network : {'network': {'id': 'b13c8037-5627-4d89-a154-ebc59708896c', 'name': 'ctest-vn-06155536', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'project_id': '956e87dc4e4440ee9d00524d07c39756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40309201', 'ctest-vn-06155536'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:38:45,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '03d9e4ac-25f7-4504-bac3-1fd0c6bfb2fc', 'name': '', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'network_id': 'b13c8037-5627-4d89-a154-ebc59708896c', 'ip_version': 4, 'cidr': '211.85.199.128/26', 'allocation_pools': [{'start': '211.85.199.130', 'end': '211.85.199.190'}], 'gateway_ip': '211.85.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.85.199.130', 'tags': [], 'project_id': '956e87dc4e4440ee9d00524d07c39756'}} 2025-10-21 07:38:45,415 - INFO - Created VN ctest-vn-06155536 2025-10-21 07:38:45,466 - DEBUG - VN ctest-vn-06155536 UUID is b13c8037-5627-4d89-a154-ebc59708896c 2025-10-21 07:38:45,565 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40309201', 'ctest-vmi-16709821']} 2025-10-21 07:38:45,827 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16709821', 'id': '558d8c4c-8add-4142-aba0-0281e4c64341', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'network_id': 'b13c8037-5627-4d89-a154-ebc59708896c', 'mac_address': '02:55:8d:8c:4c:8a', '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': '211.85.199.131', 'subnet_id': '03d9e4ac-25f7-4504-bac3-1fd0c6bfb2fc'}], 'security_groups': ['6100b4f7-11dd-4fdd-b732-d4d59e9ff0c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '956e87dc4e4440ee9d00524d07c39756'}} 2025-10-21 07:38:45,828 - DEBUG - Created port 558d8c4c-8add-4142-aba0-0281e4c64341 2025-10-21 07:38:45,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/558d8c4c-8add-4142-aba0-0281e4c64341 2025-10-21 07:38:46,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/558d8c4c-8add-4142-aba0-0281e4c64341 2025-10-21 07:38:46,258 - INFO - VMI 558d8c4c-8add-4142-aba0-0281e4c64341 verification in API Server passed 2025-10-21 07:38:46,328 - DEBUG - Response for delete_port : () 2025-10-21 07:38:46,328 - INFO - Deleted port 558d8c4c-8add-4142-aba0-0281e4c64341 2025-10-21 07:38:46,328 - INFO - Deleting VN ctest-vn-06155536 2025-10-21 07:38:46,420 - DEBUG - Response for deleting network () 2025-10-21 07:38:46,679 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 07:38:46,679 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 07:38:46,679 - INFO - -------------------------------------------------------------------------------- 2025-10-21 07:38:46,681 - INFO - ================================================================================ 2025-10-21 07:38:46,681 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-21 07:38:46,681 - 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-21 07:38:46,962 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 07:38:46,962 - INFO - Initial checks done. Running the testcase now 2025-10-21 07:38:46,962 - INFO - 2025-10-21 07:38:47,111 - DEBUG - Response for create_network : {'network': {'id': 'bfa01b87-f385-4f81-a8b6-465928b35938', 'name': 'ctest-vn1-23894210', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'project_id': '956e87dc4e4440ee9d00524d07c39756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40309201', 'ctest-vn1-23894210'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 07:38:47,297 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dce22c77-9169-4822-a517-178cb6df3fbc', 'name': '', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'network_id': 'bfa01b87-f385-4f81-a8b6-465928b35938', 'ip_version': 4, 'cidr': '16.72.154.64/26', 'allocation_pools': [{'start': '16.72.154.66', 'end': '16.72.154.126'}], 'gateway_ip': '16.72.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.72.154.66', 'tags': [], 'project_id': '956e87dc4e4440ee9d00524d07c39756'}} 2025-10-21 07:38:47,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '052e2a30-4728-4f2a-a5ce-7e5c69927bce', 'name': '', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'network_id': 'bfa01b87-f385-4f81-a8b6-465928b35938', 'ip_version': 4, 'cidr': '1.161.51.64/26', 'allocation_pools': [{'start': '1.161.51.66', 'end': '1.161.51.126'}], 'gateway_ip': '1.161.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.161.51.66', 'tags': [], 'project_id': '956e87dc4e4440ee9d00524d07c39756'}} 2025-10-21 07:38:47,468 - INFO - Created VN ctest-vn1-23894210 2025-10-21 07:38:47,518 - DEBUG - VN ctest-vn1-23894210 UUID is bfa01b87-f385-4f81-a8b6-465928b35938 2025-10-21 07:38:47,797 - DEBUG - Response for create_port : {'port': {'name': '8467351e-7c47-455b-9a73-2e6c95c3ba42', 'id': '8467351e-7c47-455b-9a73-2e6c95c3ba42', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'network_id': 'bfa01b87-f385-4f81-a8b6-465928b35938', 'mac_address': '02:84:67:35:1e:7c', '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': '16.72.154.69', 'subnet_id': 'dce22c77-9169-4822-a517-178cb6df3fbc'}], 'security_groups': ['6100b4f7-11dd-4fdd-b732-d4d59e9ff0c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '956e87dc4e4440ee9d00524d07c39756'}} 2025-10-21 07:38:47,955 - DEBUG - Response for create_port : {'port': {'name': '7350b852-1f8a-43a2-a99f-3ca2f2877382', 'id': '7350b852-1f8a-43a2-a99f-3ca2f2877382', 'tenant_id': '956e87dc4e4440ee9d00524d07c39756', 'network_id': 'bfa01b87-f385-4f81-a8b6-465928b35938', 'mac_address': '02:73:50:b8:52:1f', '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': '1.161.51.69', 'subnet_id': '052e2a30-4728-4f2a-a5ce-7e5c69927bce'}], 'security_groups': ['6100b4f7-11dd-4fdd-b732-d4d59e9ff0c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '956e87dc4e4440ee9d00524d07c39756'}} 2025-10-21 07:38:48,006 - DEBUG - Services list from nova: [, , ] 2025-10-21 07:38:48,319 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4390-1) 2025-10-21 07:38:48,676 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4390-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4390-1) 2025-10-21 07:38:48,676 - INFO - Waiting for VM ctest-vn1-vm1-81231733 to be up.. 2025-10-21 07:38:48,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 07:38:53,773 - DEBUG - VM is in ACTIVE state now 2025-10-21 07:38:53,773 - INFO - VM name : ctest-vn1-vm1-81231733 2025-10-21 07:38:53,835 - DEBUG - VM ctest-vn1-vm1-81231733 ID is 04e289fd-e7af-4440-9d6c-5ce71cf53eb2 2025-10-21 07:38:53,851 - DEBUG - VM ctest-vn1-vm1-81231733 launched on Node cn-jenkins-deploy-platform-ansible-os-4390-1 2025-10-21 07:38:53,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/04e289fd-e7af-4440-9d6c-5ce71cf53eb2 2025-10-21 07:38:53,918 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8467351e-7c47-455b-9a73-2e6c95c3ba42 2025-10-21 07:38:57,180 - 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 1032ms') 2025-10-21 07:38:57,180 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81231733 failed! 2025-10-21 07:38:57,234 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40309201:ctest-vn1-23894210 is 16.72.154.65 and allocation pool is NOT set 2025-10-21 07:38:57,234 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40309201:ctest-vn1-23894210 is 1.161.51.65 and allocation pool is NOT set 2025-10-21 07:38:59,300 - 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=4.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.577/2.969/4.361/1.392 ms') 2025-10-21 07:38:59,300 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81231733 passed 2025-10-21 07:38:59,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:38:59,446 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81231733, IP 16.72.154.69, Port 22 2025-10-21 07:38:59,605 - DEBUG - VM ctest-vn1-vm1-81231733 is ready for SSH connections 2025-10-21 07:38:59,605 - INFO - Waiting for VM ctest-vn1-vm2-89673409 to be up.. 2025-10-21 07:38:59,675 - DEBUG - VM is in ACTIVE state now 2025-10-21 07:38:59,675 - INFO - VM name : ctest-vn1-vm2-89673409 2025-10-21 07:38:59,737 - DEBUG - VM ctest-vn1-vm2-89673409 ID is 733cbb07-56c0-4e07-90fc-f119b00d1057 2025-10-21 07:38:59,737 - DEBUG - VM ctest-vn1-vm2-89673409 launched on Node cn-jenkins-deploy-platform-ansible-os-4390-1 2025-10-21 07:38:59,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/733cbb07-56c0-4e07-90fc-f119b00d1057 2025-10-21 07:38:59,814 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7350b852-1f8a-43a2-a99f-3ca2f2877382 2025-10-21 07:39:01,043 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.793/3.165/1.371 ms') 2025-10-21 07:39:01,043 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89673409 passed 2025-10-21 07:39:01,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:39:01,190 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89673409, IP 1.161.51.69, Port 22 2025-10-21 07:39:01,346 - DEBUG - VM ctest-vn1-vm2-89673409 is ready for SSH connections 2025-10-21 07:39:01,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:39:01,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:39:01,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 07:39:01,346 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.72.154.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 07:39:01,346 - DEBUG - ping -s 56 -c 3 -W 1 16.72.154.69 2025-10-21 07:39:04,002 - DEBUG - PING 16.72.154.69 (16.72.154.69): 56 data bytes 64 bytes from 16.72.154.69: seq=0 ttl=63 time=3.609 ms 64 bytes from 16.72.154.69: seq=1 ttl=63 time=0.738 ms 64 bytes from 16.72.154.69: seq=2 ttl=63 time=0.697 ms --- 16.72.154.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.697/1.681/3.609 ms 2025-10-21 07:39:04,003 - INFO - Ping to IP 16.72.154.69 from VM ctest-vn1-vm2-89673409 passed 2025-10-21 07:39:04,003 - INFO - Detaching port 7350b852-1f8a-43a2-a99f-3ca2f2877382 from VM ctest-vn1-vm2-89673409 2025-10-21 07:39:04,045 - INFO - Deleting VM ctest-vn1-vm2-89673409 2025-10-21 07:39:04,111 - INFO - Detaching port 8467351e-7c47-455b-9a73-2e6c95c3ba42 from VM ctest-vn1-vm1-81231733 2025-10-21 07:39:04,143 - INFO - Deleting VM ctest-vn1-vm1-81231733 2025-10-21 07:39:04,357 - DEBUG - Response for delete_port : () 2025-10-21 07:39:04,517 - DEBUG - Response for delete_port : () 2025-10-21 07:39:04,517 - INFO - Deleting VN ctest-vn1-23894210 2025-10-21 07:39:04,638 - DEBUG - Response for deleting network () 2025-10-21 07:39:04,898 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 07:39:04,898 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-21 07:39:04,898 - INFO - -------------------------------------------------------------------------------- 2025-10-21 07:39:05,665 - INFO - Deleted project: ctest-TestPorts-40309201, ID : 956e87dc-4e44-40ee-9d00-524d07c39756