2025-09-21 12:47:39,587 - INFO - Domain Default found not creating 2025-09-21 12:47:39,714 - INFO - Project ctest-TestPorts-65222029 not found, creating it 2025-09-21 12:47:40,204 - INFO - Created Project:ctest-TestPorts-65222029, ID : f09a12e8-bf69-411b-ae6b-c616219c7b84 2025-09-21 12:47:41,522 - INFO - ================================================================================ 2025-09-21 12:47:41,522 - INFO - STARTING TEST : test_ports_bindings 2025-09-21 12:47:41,522 - 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-21 12:47:41,782 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-21 12:47:41,782 - INFO - Initial checks done. Running the testcase now 2025-09-21 12:47:41,782 - INFO - 2025-09-21 12:47:42,282 - DEBUG - Response for create_network : {'network': {'id': '4a2d135a-caff-4f49-b4a5-ee4aea4c5b7e', 'name': 'ctest-vn-65138514', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'project_id': 'f09a12e8bf69411bae6bc616219c7b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65222029', 'ctest-vn-65138514'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 12:47:42,488 - DEBUG - Response for create_subnet : {'subnet': {'id': '18fdab81-5409-431e-a0e8-57cc474d35c1', 'name': '', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'network_id': '4a2d135a-caff-4f49-b4a5-ee4aea4c5b7e', 'ip_version': 4, 'cidr': '75.77.168.0/26', 'allocation_pools': [{'start': '75.77.168.2', 'end': '75.77.168.62'}], 'gateway_ip': '75.77.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.77.168.2', 'tags': [], 'project_id': 'f09a12e8bf69411bae6bc616219c7b84'}} 2025-09-21 12:47:42,502 - INFO - Created VN ctest-vn-65138514 2025-09-21 12:47:42,552 - DEBUG - VN ctest-vn-65138514 UUID is 4a2d135a-caff-4f49-b4a5-ee4aea4c5b7e 2025-09-21 12:47:42,655 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65222029', 'ctest-vmi-38579283']} 2025-09-21 12:47:42,925 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38579283', 'id': '70628312-264e-4fb4-847b-1615ca4c5c3a', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'network_id': '4a2d135a-caff-4f49-b4a5-ee4aea4c5b7e', 'mac_address': '02:70:62:83:12:26', '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': '75.77.168.3', 'subnet_id': '18fdab81-5409-431e-a0e8-57cc474d35c1'}], 'security_groups': ['a0e965fe-00b3-4961-903b-0edc7e2e7edd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f09a12e8bf69411bae6bc616219c7b84'}} 2025-09-21 12:47:42,925 - DEBUG - Created port 70628312-264e-4fb4-847b-1615ca4c5c3a 2025-09-21 12:47:43,028 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/70628312-264e-4fb4-847b-1615ca4c5c3a 2025-09-21 12:47:43,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/70628312-264e-4fb4-847b-1615ca4c5c3a 2025-09-21 12:47:43,343 - INFO - VMI 70628312-264e-4fb4-847b-1615ca4c5c3a verification in API Server passed 2025-09-21 12:47:43,430 - DEBUG - Response for delete_port : () 2025-09-21 12:47:43,430 - INFO - Deleted port 70628312-264e-4fb4-847b-1615ca4c5c3a 2025-09-21 12:47:43,430 - INFO - Deleting VN ctest-vn-65138514 2025-09-21 12:47:43,527 - DEBUG - Response for deleting network () 2025-09-21 12:47:43,776 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 12:47:43,776 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-21 12:47:43,776 - INFO - -------------------------------------------------------------------------------- 2025-09-21 12:47:43,778 - INFO - ================================================================================ 2025-09-21 12:47:43,778 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-21 12:47:43,778 - 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-21 12:47:44,060 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-21 12:47:44,060 - INFO - Initial checks done. Running the testcase now 2025-09-21 12:47:44,060 - INFO - 2025-09-21 12:47:44,218 - DEBUG - Response for create_network : {'network': {'id': '077ba11e-cd0f-47c0-a95a-27ddfc675d4c', 'name': 'ctest-vn1-81251164', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'project_id': 'f09a12e8bf69411bae6bc616219c7b84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65222029', 'ctest-vn1-81251164'], 'port_security_enabled': True, 'description': ''}} 2025-09-21 12:47:44,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '213260b1-3ee2-42ad-81f3-2c44d356ba44', 'name': '', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'network_id': '077ba11e-cd0f-47c0-a95a-27ddfc675d4c', 'ip_version': 4, 'cidr': '71.241.24.0/26', 'allocation_pools': [{'start': '71.241.24.2', 'end': '71.241.24.62'}], 'gateway_ip': '71.241.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.241.24.2', 'tags': [], 'project_id': 'f09a12e8bf69411bae6bc616219c7b84'}} 2025-09-21 12:47:44,512 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b58657cb-d739-43a5-83d1-bc1cddc6c7e4', 'name': '', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'network_id': '077ba11e-cd0f-47c0-a95a-27ddfc675d4c', 'ip_version': 4, 'cidr': '198.49.30.192/26', 'allocation_pools': [{'start': '198.49.30.194', 'end': '198.49.30.254'}], 'gateway_ip': '198.49.30.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.49.30.194', 'tags': [], 'project_id': 'f09a12e8bf69411bae6bc616219c7b84'}} 2025-09-21 12:47:44,527 - INFO - Created VN ctest-vn1-81251164 2025-09-21 12:47:44,580 - DEBUG - VN ctest-vn1-81251164 UUID is 077ba11e-cd0f-47c0-a95a-27ddfc675d4c 2025-09-21 12:47:44,840 - DEBUG - Response for create_port : {'port': {'name': '91533ae8-a36b-4925-a4fb-ab7b218685ed', 'id': '91533ae8-a36b-4925-a4fb-ab7b218685ed', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'network_id': '077ba11e-cd0f-47c0-a95a-27ddfc675d4c', 'mac_address': '02:91:53:3a:e8:a3', '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': '71.241.24.5', 'subnet_id': '213260b1-3ee2-42ad-81f3-2c44d356ba44'}], 'security_groups': ['a0e965fe-00b3-4961-903b-0edc7e2e7edd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f09a12e8bf69411bae6bc616219c7b84'}} 2025-09-21 12:47:44,999 - DEBUG - Response for create_port : {'port': {'name': '999b1b32-527e-4aff-9a88-0cf895700141', 'id': '999b1b32-527e-4aff-9a88-0cf895700141', 'tenant_id': 'f09a12e8bf69411bae6bc616219c7b84', 'network_id': '077ba11e-cd0f-47c0-a95a-27ddfc675d4c', 'mac_address': '02:99:9b:1b:32:52', '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': '198.49.30.197', 'subnet_id': 'b58657cb-d739-43a5-83d1-bc1cddc6c7e4'}], 'security_groups': ['a0e965fe-00b3-4961-903b-0edc7e2e7edd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f09a12e8bf69411bae6bc616219c7b84'}} 2025-09-21 12:47:45,050 - DEBUG - Services list from nova: [, , ] 2025-09-21 12:47:45,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4157-1) 2025-09-21 12:47:45,672 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4157-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4157-1) 2025-09-21 12:47:45,672 - INFO - Waiting for VM ctest-vn1-vm1-10223979 to be up.. 2025-09-21 12:47:45,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-21 12:47:50,777 - DEBUG - VM is in ACTIVE state now 2025-09-21 12:47:50,778 - INFO - VM name : ctest-vn1-vm1-10223979 2025-09-21 12:47:50,843 - DEBUG - VM ctest-vn1-vm1-10223979 ID is 8ab07e3b-425f-4e37-8755-a693d46271c6 2025-09-21 12:47:50,860 - DEBUG - VM ctest-vn1-vm1-10223979 launched on Node cn-jenkins-deploy-platform-ansible-os-4157-1 2025-09-21 12:47:50,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8ab07e3b-425f-4e37-8755-a693d46271c6 2025-09-21 12:47:50,929 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/91533ae8-a36b-4925-a4fb-ab7b218685ed 2025-09-21 12:47:54,176 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1016ms') 2025-09-21 12:47:54,176 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-10223979 failed! 2025-09-21 12:47:54,232 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65222029:ctest-vn1-81251164 is 71.241.24.1 and allocation pool is NOT set 2025-09-21 12:47:54,232 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65222029:ctest-vn1-81251164 is 198.49.30.193 and allocation pool is NOT set 2025-09-21 12:47:56,295 - 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=5.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.34 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 = 1.338/3.280/5.222/1.942 ms') 2025-09-21 12:47:56,296 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-10223979 passed 2025-09-21 12:47:56,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:47:56,452 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-10223979, IP 71.241.24.5, Port 22 2025-09-21 12:47:56,611 - DEBUG - VM ctest-vn1-vm1-10223979 is ready for SSH connections 2025-09-21 12:47:56,612 - INFO - Waiting for VM ctest-vn1-vm2-95437984 to be up.. 2025-09-21 12:47:56,679 - DEBUG - VM is in ACTIVE state now 2025-09-21 12:47:56,679 - INFO - VM name : ctest-vn1-vm2-95437984 2025-09-21 12:47:56,741 - DEBUG - VM ctest-vn1-vm2-95437984 ID is 3194ec23-a4db-4b7f-a589-558f9578a4bd 2025-09-21 12:47:56,741 - DEBUG - VM ctest-vn1-vm2-95437984 launched on Node cn-jenkins-deploy-platform-ansible-os-4157-1 2025-09-21 12:47:56,801 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3194ec23-a4db-4b7f-a589-558f9578a4bd 2025-09-21 12:47:56,808 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/999b1b32-527e-4aff-9a88-0cf895700141 2025-09-21 12:47:58,032 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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 = 0.496/1.615/2.735/1.119 ms') 2025-09-21 12:47:58,032 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-95437984 passed 2025-09-21 12:47:58,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:47:58,180 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-95437984, IP 198.49.30.197, Port 22 2025-09-21 12:47:58,336 - DEBUG - VM ctest-vn1-vm2-95437984 is ready for SSH connections 2025-09-21 12:47:58,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:47:58,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:47:58,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-21 12:47:58,336 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.241.24.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-21 12:47:58,336 - DEBUG - ping -s 56 -c 3 -W 1 71.241.24.5 2025-09-21 12:48:02,002 - DEBUG - PING 71.241.24.5 (71.241.24.5): 56 data bytes 64 bytes from 71.241.24.5: seq=0 ttl=63 time=3.093 ms 64 bytes from 71.241.24.5: seq=1 ttl=63 time=0.667 ms 64 bytes from 71.241.24.5: seq=2 ttl=63 time=0.701 ms --- 71.241.24.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.667/1.487/3.093 ms 2025-09-21 12:48:02,002 - INFO - Ping to IP 71.241.24.5 from VM ctest-vn1-vm2-95437984 passed 2025-09-21 12:48:02,002 - INFO - Detaching port 999b1b32-527e-4aff-9a88-0cf895700141 from VM ctest-vn1-vm2-95437984 2025-09-21 12:48:02,057 - INFO - Deleting VM ctest-vn1-vm2-95437984 2025-09-21 12:48:02,117 - INFO - Detaching port 91533ae8-a36b-4925-a4fb-ab7b218685ed from VM ctest-vn1-vm1-10223979 2025-09-21 12:48:02,145 - INFO - Deleting VM ctest-vn1-vm1-10223979 2025-09-21 12:48:02,323 - DEBUG - Response for delete_port : () 2025-09-21 12:48:02,473 - DEBUG - Response for delete_port : () 2025-09-21 12:48:02,473 - INFO - Deleting VN ctest-vn1-81251164 2025-09-21 12:48:02,584 - DEBUG - Response for deleting network () 2025-09-21 12:48:02,841 - DEBUG - No XMPP flaps were noticed during the test
2025-09-21 12:48:02,842 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-21 12:48:02,842 - INFO - -------------------------------------------------------------------------------- 2025-09-21 12:48:03,489 - INFO - Deleted project: ctest-TestPorts-65222029, ID : f09a12e8-bf69-411b-ae6b-c616219c7b84