2025-08-25 12:29:17,123 - INFO - Domain Default found not creating 2025-08-25 12:29:17,258 - INFO - Project ctest-TestPorts-78408694 not found, creating it 2025-08-25 12:29:17,736 - INFO - Created Project:ctest-TestPorts-78408694, ID : 827cfc24-ebb0-4a8f-8027-f180a78d0649 2025-08-25 12:29:19,207 - INFO - ================================================================================ 2025-08-25 12:29:19,207 - INFO - STARTING TEST : test_ports_bindings 2025-08-25 12:29:19,207 - 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-25 12:29:19,489 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-25 12:29:19,489 - INFO - Initial checks done. Running the testcase now 2025-08-25 12:29:19,489 - INFO - 2025-08-25 12:29:20,101 - DEBUG - Response for create_network : {'network': {'id': '316db042-bd55-48c6-8372-07d1875f463d', 'name': 'ctest-vn-91992233', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'project_id': '827cfc24ebb04a8f8027f180a78d0649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78408694', 'ctest-vn-91992233'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:29:20,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '10fb5c47-7287-4a86-84c4-871a044f37ca', 'name': '', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'network_id': '316db042-bd55-48c6-8372-07d1875f463d', 'ip_version': 4, 'cidr': '22.204.105.0/26', 'allocation_pools': [{'start': '22.204.105.2', 'end': '22.204.105.62'}], 'gateway_ip': '22.204.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.204.105.2', 'tags': [], 'project_id': '827cfc24ebb04a8f8027f180a78d0649'}} 2025-08-25 12:29:20,297 - INFO - Created VN ctest-vn-91992233 2025-08-25 12:29:20,352 - DEBUG - VN ctest-vn-91992233 UUID is 316db042-bd55-48c6-8372-07d1875f463d 2025-08-25 12:29:20,463 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78408694', 'ctest-vmi-95101583']} 2025-08-25 12:29:20,788 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95101583', 'id': '5bfff049-cb61-4b5a-adeb-354c42a7555a', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'network_id': '316db042-bd55-48c6-8372-07d1875f463d', 'mac_address': '02:5b:ff:f0:49:cb', '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': '22.204.105.3', 'subnet_id': '10fb5c47-7287-4a86-84c4-871a044f37ca'}], 'security_groups': ['0fcf5b73-56d4-4e1c-bcdb-3a75463d9ec6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '827cfc24ebb04a8f8027f180a78d0649'}} 2025-08-25 12:29:20,788 - DEBUG - Created port 5bfff049-cb61-4b5a-adeb-354c42a7555a 2025-08-25 12:29:20,904 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5bfff049-cb61-4b5a-adeb-354c42a7555a 2025-08-25 12:29:21,262 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/5bfff049-cb61-4b5a-adeb-354c42a7555a 2025-08-25 12:29:21,307 - INFO - VMI 5bfff049-cb61-4b5a-adeb-354c42a7555a verification in API Server passed 2025-08-25 12:29:21,432 - DEBUG - Response for delete_port : () 2025-08-25 12:29:21,432 - INFO - Deleted port 5bfff049-cb61-4b5a-adeb-354c42a7555a 2025-08-25 12:29:21,433 - INFO - Deleting VN ctest-vn-91992233 2025-08-25 12:29:21,607 - DEBUG - Response for deleting network () 2025-08-25 12:29:21,879 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 12:29:21,879 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-25 12:29:21,879 - INFO - -------------------------------------------------------------------------------- 2025-08-25 12:29:21,882 - INFO - ================================================================================ 2025-08-25 12:29:21,882 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-25 12:29:21,882 - 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-25 12:29:22,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-08-25 12:29:22,177 - INFO - Initial checks done. Running the testcase now 2025-08-25 12:29:22,177 - INFO - 2025-08-25 12:29:22,397 - DEBUG - Response for create_network : {'network': {'id': 'fc692dab-8c47-4aaf-83f6-026577fa1de3', 'name': 'ctest-vn1-39006759', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'project_id': '827cfc24ebb04a8f8027f180a78d0649', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78408694', 'ctest-vn1-39006759'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 12:29:22,593 - DEBUG - Response for create_subnet : {'subnet': {'id': '194f5f49-1ddb-442b-88a4-bdf317f64242', 'name': '', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'network_id': 'fc692dab-8c47-4aaf-83f6-026577fa1de3', 'ip_version': 4, 'cidr': '166.194.248.64/26', 'allocation_pools': [{'start': '166.194.248.66', 'end': '166.194.248.126'}], 'gateway_ip': '166.194.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.194.248.66', 'tags': [], 'project_id': '827cfc24ebb04a8f8027f180a78d0649'}} 2025-08-25 12:29:22,783 - DEBUG - Response for create_subnet : {'subnet': {'id': '299439db-7d90-4b59-9301-91e5a5a8ec83', 'name': '', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'network_id': 'fc692dab-8c47-4aaf-83f6-026577fa1de3', 'ip_version': 4, 'cidr': '220.144.188.64/26', 'allocation_pools': [{'start': '220.144.188.66', 'end': '220.144.188.126'}], 'gateway_ip': '220.144.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.144.188.66', 'tags': [], 'project_id': '827cfc24ebb04a8f8027f180a78d0649'}} 2025-08-25 12:29:22,807 - INFO - Created VN ctest-vn1-39006759 2025-08-25 12:29:22,860 - DEBUG - VN ctest-vn1-39006759 UUID is fc692dab-8c47-4aaf-83f6-026577fa1de3 2025-08-25 12:29:23,241 - DEBUG - Response for create_port : {'port': {'name': '48e83e42-a596-47fd-8f53-ee8f9e687316', 'id': '48e83e42-a596-47fd-8f53-ee8f9e687316', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'network_id': 'fc692dab-8c47-4aaf-83f6-026577fa1de3', 'mac_address': '02:48:e8:3e:42:a5', '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': '166.194.248.69', 'subnet_id': '194f5f49-1ddb-442b-88a4-bdf317f64242'}], 'security_groups': ['0fcf5b73-56d4-4e1c-bcdb-3a75463d9ec6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '827cfc24ebb04a8f8027f180a78d0649'}} 2025-08-25 12:29:24,103 - DEBUG - Response for create_port : {'port': {'name': '210c57b7-d24d-43af-b628-37c68aae10ac', 'id': '210c57b7-d24d-43af-b628-37c68aae10ac', 'tenant_id': '827cfc24ebb04a8f8027f180a78d0649', 'network_id': 'fc692dab-8c47-4aaf-83f6-026577fa1de3', 'mac_address': '02:21:0c:57:b7:d2', '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': '220.144.188.69', 'subnet_id': '299439db-7d90-4b59-9301-91e5a5a8ec83'}], 'security_groups': ['0fcf5b73-56d4-4e1c-bcdb-3a75463d9ec6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '827cfc24ebb04a8f8027f180a78d0649'}} 2025-08-25 12:29:24,188 - DEBUG - Services list from nova: [, , ] 2025-08-25 12:29:24,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3919-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3919-1) 2025-08-25 12:29:25,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3919-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3919-1) 2025-08-25 12:29:25,057 - INFO - Waiting for VM ctest-vn1-vm1-38617408 to be up.. 2025-08-25 12:29:25,103 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 12:29:30,199 - DEBUG - VM is in ACTIVE state now 2025-08-25 12:29:30,199 - INFO - VM name : ctest-vn1-vm1-38617408 2025-08-25 12:29:30,292 - DEBUG - VM ctest-vn1-vm1-38617408 ID is 7284aded-4390-4b66-bd19-16d798576835 2025-08-25 12:29:30,316 - DEBUG - VM ctest-vn1-vm1-38617408 launched on Node cn-jenkins-deploy-platform-ansible-os-3919-1 2025-08-25 12:29:30,402 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/7284aded-4390-4b66-bd19-16d798576835 2025-08-25 12:29:30,419 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/48e83e42-a596-47fd-8f53-ee8f9e687316 2025-08-25 12:29:33,713 - 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 1028ms') 2025-08-25 12:29:33,713 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38617408 failed! 2025-08-25 12:29:33,772 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78408694:ctest-vn1-39006759 is 166.194.248.65 and allocation pool is NOT set 2025-08-25 12:29:33,773 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78408694:ctest-vn1-39006759 is 220.144.188.65 and allocation pool is NOT set 2025-08-25 12:29:37,840 - 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=9.67 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 9.665/9.665/9.665/0.000 ms') 2025-08-25 12:29:37,840 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38617408 passed 2025-08-25 12:29:38,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:29:38,004 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38617408, IP 166.194.248.69, Port 22 2025-08-25 12:29:38,171 - DEBUG - VM ctest-vn1-vm1-38617408 is ready for SSH connections 2025-08-25 12:29:38,172 - INFO - Waiting for VM ctest-vn1-vm2-16815806 to be up.. 2025-08-25 12:29:38,265 - DEBUG - VM is in ACTIVE state now 2025-08-25 12:29:38,265 - INFO - VM name : ctest-vn1-vm2-16815806 2025-08-25 12:29:38,338 - DEBUG - VM ctest-vn1-vm2-16815806 ID is ad2c175c-90aa-42cb-8a75-bdebd75b4b60 2025-08-25 12:29:38,338 - DEBUG - VM ctest-vn1-vm2-16815806 launched on Node cn-jenkins-deploy-platform-ansible-os-3919-1 2025-08-25 12:29:38,407 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ad2c175c-90aa-42cb-8a75-bdebd75b4b60 2025-08-25 12:29:38,417 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/210c57b7-d24d-43af-b628-37c68aae10ac 2025-08-25 12:29:39,668 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/1.742/2.997/1.254 ms') 2025-08-25 12:29:39,668 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-16815806 passed 2025-08-25 12:29:39,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:29:39,824 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-16815806, IP 220.144.188.69, Port 22 2025-08-25 12:29:39,994 - DEBUG - VM ctest-vn1-vm2-16815806 is ready for SSH connections 2025-08-25 12:29:39,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:29:39,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:29:39,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 12:29:39,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.194.248.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-08-25 12:29:39,994 - DEBUG - ping -s 56 -c 3 -W 1 166.194.248.69 2025-08-25 12:29:42,618 - DEBUG - PING 166.194.248.69 (166.194.248.69): 56 data bytes 64 bytes from 166.194.248.69: seq=0 ttl=63 time=3.642 ms 64 bytes from 166.194.248.69: seq=1 ttl=63 time=1.090 ms 64 bytes from 166.194.248.69: seq=2 ttl=63 time=0.844 ms --- 166.194.248.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.858/3.642 ms 2025-08-25 12:29:42,618 - INFO - Ping to IP 166.194.248.69 from VM ctest-vn1-vm2-16815806 passed 2025-08-25 12:29:42,619 - INFO - Detaching port 210c57b7-d24d-43af-b628-37c68aae10ac from VM ctest-vn1-vm2-16815806 2025-08-25 12:29:42,680 - INFO - Deleting VM ctest-vn1-vm2-16815806 2025-08-25 12:29:42,749 - INFO - Detaching port 48e83e42-a596-47fd-8f53-ee8f9e687316 from VM ctest-vn1-vm1-38617408 2025-08-25 12:29:42,796 - INFO - Deleting VM ctest-vn1-vm1-38617408 2025-08-25 12:29:43,055 - DEBUG - Response for delete_port : () 2025-08-25 12:29:43,275 - DEBUG - Response for delete_port : () 2025-08-25 12:29:43,275 - INFO - Deleting VN ctest-vn1-39006759 2025-08-25 12:29:43,462 - DEBUG - Response for deleting network () 2025-08-25 12:29:43,731 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 12:29:43,731 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-08-25 12:29:43,732 - INFO - -------------------------------------------------------------------------------- 2025-08-25 12:29:44,440 - INFO - Deleted project: ctest-TestPorts-78408694, ID : 827cfc24-ebb0-4a8f-8027-f180a78d0649