2025-11-03 21:40:50,880 - INFO - Domain Default found not creating 2025-11-03 21:40:51,039 - INFO - Project ctest-TestPorts-05604788 not found, creating it 2025-11-03 21:40:51,491 - INFO - Created Project:ctest-TestPorts-05604788, ID : 604da12e-7f14-4f28-a52b-afdc0af703b5 2025-11-03 21:40:52,921 - INFO - ================================================================================ 2025-11-03 21:40:52,921 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 21:40:52,921 - 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-11-03 21:40:53,193 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 21:40:53,193 - INFO - Initial checks done. Running the testcase now 2025-11-03 21:40:53,194 - INFO - 2025-11-03 21:40:53,788 - DEBUG - Response for create_network : {'network': {'id': '3e4f39f7-de02-466e-be3c-8adbf6a4fb05', 'name': 'ctest-vn-83043203', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'project_id': '604da12e7f144f28a52bafdc0af703b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05604788', 'ctest-vn-83043203'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:40:53,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '213602df-5098-4a24-9ee0-2a980ecc6543', 'name': '', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'network_id': '3e4f39f7-de02-466e-be3c-8adbf6a4fb05', 'ip_version': 4, 'cidr': '131.77.136.64/26', 'allocation_pools': [{'start': '131.77.136.66', 'end': '131.77.136.126'}], 'gateway_ip': '131.77.136.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.77.136.66', 'tags': [], 'project_id': '604da12e7f144f28a52bafdc0af703b5'}} 2025-11-03 21:40:54,016 - INFO - Created VN ctest-vn-83043203 2025-11-03 21:40:54,068 - DEBUG - VN ctest-vn-83043203 UUID is 3e4f39f7-de02-466e-be3c-8adbf6a4fb05 2025-11-03 21:40:54,173 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05604788', 'ctest-vmi-37547871']} 2025-11-03 21:40:54,453 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37547871', 'id': '063bd818-a8c0-4c5d-9f19-4d3c5d78739c', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'network_id': '3e4f39f7-de02-466e-be3c-8adbf6a4fb05', 'mac_address': '02:06:3b:d8:18:a8', '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': '131.77.136.67', 'subnet_id': '213602df-5098-4a24-9ee0-2a980ecc6543'}], 'security_groups': ['2a2dd51a-7fac-49ae-8eed-d097ce574468'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '604da12e7f144f28a52bafdc0af703b5'}} 2025-11-03 21:40:54,453 - DEBUG - Created port 063bd818-a8c0-4c5d-9f19-4d3c5d78739c 2025-11-03 21:40:54,560 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/063bd818-a8c0-4c5d-9f19-4d3c5d78739c 2025-11-03 21:40:54,865 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/063bd818-a8c0-4c5d-9f19-4d3c5d78739c 2025-11-03 21:40:54,904 - INFO - VMI 063bd818-a8c0-4c5d-9f19-4d3c5d78739c verification in API Server passed 2025-11-03 21:40:54,995 - DEBUG - Response for delete_port : () 2025-11-03 21:40:54,996 - INFO - Deleted port 063bd818-a8c0-4c5d-9f19-4d3c5d78739c 2025-11-03 21:40:54,996 - INFO - Deleting VN ctest-vn-83043203 2025-11-03 21:40:55,111 - DEBUG - Response for deleting network () 2025-11-03 21:40:55,376 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 21:40:55,376 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-03 21:40:55,376 - INFO - -------------------------------------------------------------------------------- 2025-11-03 21:40:55,380 - INFO - ================================================================================ 2025-11-03 21:40:55,380 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 21:40:55,380 - 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-11-03 21:40:55,673 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 21:40:55,673 - INFO - Initial checks done. Running the testcase now 2025-11-03 21:40:55,673 - INFO - 2025-11-03 21:40:55,861 - DEBUG - Response for create_network : {'network': {'id': 'b1abea6d-db99-4faf-b42c-4d35702d7ddf', 'name': 'ctest-vn1-81234175', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'project_id': '604da12e7f144f28a52bafdc0af703b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05604788', 'ctest-vn1-81234175'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:40:56,070 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf9e2d1f-7597-4658-b15b-652ab1b3a2fc', 'name': '', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'network_id': 'b1abea6d-db99-4faf-b42c-4d35702d7ddf', 'ip_version': 4, 'cidr': '78.2.233.128/26', 'allocation_pools': [{'start': '78.2.233.130', 'end': '78.2.233.190'}], 'gateway_ip': '78.2.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.2.233.130', 'tags': [], 'project_id': '604da12e7f144f28a52bafdc0af703b5'}} 2025-11-03 21:40:56,250 - DEBUG - Response for create_subnet : {'subnet': {'id': '36e4acaf-1674-4a8c-9769-44094be17eff', 'name': '', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'network_id': 'b1abea6d-db99-4faf-b42c-4d35702d7ddf', 'ip_version': 4, 'cidr': '146.212.6.0/26', 'allocation_pools': [{'start': '146.212.6.2', 'end': '146.212.6.62'}], 'gateway_ip': '146.212.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.212.6.2', 'tags': [], 'project_id': '604da12e7f144f28a52bafdc0af703b5'}} 2025-11-03 21:40:56,271 - INFO - Created VN ctest-vn1-81234175 2025-11-03 21:40:56,324 - DEBUG - VN ctest-vn1-81234175 UUID is b1abea6d-db99-4faf-b42c-4d35702d7ddf 2025-11-03 21:40:56,615 - DEBUG - Response for create_port : {'port': {'name': '19d00881-2bf5-4f5c-9e3f-08a15fe77e79', 'id': '19d00881-2bf5-4f5c-9e3f-08a15fe77e79', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'network_id': 'b1abea6d-db99-4faf-b42c-4d35702d7ddf', 'mac_address': '02:19:d0:08:81:2b', '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': '78.2.233.133', 'subnet_id': 'cf9e2d1f-7597-4658-b15b-652ab1b3a2fc'}], 'security_groups': ['2a2dd51a-7fac-49ae-8eed-d097ce574468'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '604da12e7f144f28a52bafdc0af703b5'}} 2025-11-03 21:40:56,794 - DEBUG - Response for create_port : {'port': {'name': '2e8e1912-5e5c-4eb3-a4ea-c78facb9839c', 'id': '2e8e1912-5e5c-4eb3-a4ea-c78facb9839c', 'tenant_id': '604da12e7f144f28a52bafdc0af703b5', 'network_id': 'b1abea6d-db99-4faf-b42c-4d35702d7ddf', 'mac_address': '02:2e:8e:19:12:5e', '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': '146.212.6.5', 'subnet_id': '36e4acaf-1674-4a8c-9769-44094be17eff'}], 'security_groups': ['2a2dd51a-7fac-49ae-8eed-d097ce574468'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '604da12e7f144f28a52bafdc0af703b5'}} 2025-11-03 21:40:56,866 - DEBUG - Services list from nova: [, , ] 2025-11-03 21:40:57,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4613-1) 2025-11-03 21:40:57,559 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4613-1) 2025-11-03 21:40:57,559 - INFO - Waiting for VM ctest-vn1-vm1-19671428 to be up.. 2025-11-03 21:40:57,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 21:41:02,674 - DEBUG - VM is in ACTIVE state now 2025-11-03 21:41:02,674 - INFO - VM name : ctest-vn1-vm1-19671428 2025-11-03 21:41:02,746 - DEBUG - VM ctest-vn1-vm1-19671428 ID is 4140c774-a59e-4318-b99c-4835ead7d54f 2025-11-03 21:41:02,765 - DEBUG - VM ctest-vn1-vm1-19671428 launched on Node cn-jenkins-deploy-platform-ansible-os-4613-1 2025-11-03 21:41:02,836 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4140c774-a59e-4318-b99c-4835ead7d54f 2025-11-03 21:41:02,845 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/19d00881-2bf5-4f5c-9e3f-08a15fe77e79 2025-11-03 21:41:06,100 - 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 1026ms') 2025-11-03 21:41:06,100 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-19671428 failed! 2025-11-03 21:41:06,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05604788:ctest-vn1-81234175 is 78.2.233.129 and allocation pool is NOT set 2025-11-03 21:41:06,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05604788:ctest-vn1-81234175 is 146.212.6.1 and allocation pool is NOT set 2025-11-03 21:41:08,222 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.62 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.624/3.662/4.700/1.038 ms') 2025-11-03 21:41:08,222 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-19671428 passed 2025-11-03 21:41:08,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:41:08,368 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19671428, IP 78.2.233.133, Port 22 2025-11-03 21:41:08,424 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-03 21:41:08,497 - DEBUG - VM ctest-vn1-vm1-19671428 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 21:41:13,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:41:13,498 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19671428, IP 78.2.233.133, Port 22 2025-11-03 21:41:13,655 - DEBUG - VM ctest-vn1-vm1-19671428 is ready for SSH connections 2025-11-03 21:41:13,655 - INFO - Waiting for VM ctest-vn1-vm2-15062479 to be up.. 2025-11-03 21:41:13,725 - DEBUG - VM is in ACTIVE state now 2025-11-03 21:41:13,725 - INFO - VM name : ctest-vn1-vm2-15062479 2025-11-03 21:41:13,795 - DEBUG - VM ctest-vn1-vm2-15062479 ID is 3637a792-5e39-4de4-acf3-fb4d1aecb369 2025-11-03 21:41:13,796 - DEBUG - VM ctest-vn1-vm2-15062479 launched on Node cn-jenkins-deploy-platform-ansible-os-4613-1 2025-11-03 21:41:13,871 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3637a792-5e39-4de4-acf3-fb4d1aecb369 2025-11-03 21:41:13,881 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/2e8e1912-5e5c-4eb3-a4ea-c78facb9839c 2025-11-03 21:41:15,140 - 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=10.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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 = 0.442/5.653/10.865/5.211 ms') 2025-11-03 21:41:15,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-15062479 passed 2025-11-03 21:41:15,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:41:15,300 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15062479, IP 146.212.6.5, Port 22 2025-11-03 21:41:15,455 - DEBUG - VM ctest-vn1-vm2-15062479 is ready for SSH connections 2025-11-03 21:41:15,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:41:15,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:41:15,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:41:15,456 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.2.233.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 21:41:15,456 - DEBUG - ping -s 56 -c 3 -W 1 78.2.233.133 2025-11-03 21:41:19,141 - DEBUG - PING 78.2.233.133 (78.2.233.133): 56 data bytes 64 bytes from 78.2.233.133: seq=0 ttl=63 time=3.654 ms 64 bytes from 78.2.233.133: seq=1 ttl=63 time=1.132 ms 64 bytes from 78.2.233.133: seq=2 ttl=63 time=0.880 ms --- 78.2.233.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.880/1.888/3.654 ms 2025-11-03 21:41:19,141 - INFO - Ping to IP 78.2.233.133 from VM ctest-vn1-vm2-15062479 passed 2025-11-03 21:41:19,142 - INFO - Detaching port 2e8e1912-5e5c-4eb3-a4ea-c78facb9839c from VM ctest-vn1-vm2-15062479 2025-11-03 21:41:19,191 - INFO - Deleting VM ctest-vn1-vm2-15062479 2025-11-03 21:41:19,255 - INFO - Detaching port 19d00881-2bf5-4f5c-9e3f-08a15fe77e79 from VM ctest-vn1-vm1-19671428 2025-11-03 21:41:19,290 - INFO - Deleting VM ctest-vn1-vm1-19671428 2025-11-03 21:41:19,497 - DEBUG - Response for delete_port : () 2025-11-03 21:41:19,687 - DEBUG - Response for delete_port : () 2025-11-03 21:41:19,687 - INFO - Deleting VN ctest-vn1-81234175 2025-11-03 21:41:19,858 - DEBUG - Response for deleting network () 2025-11-03 21:41:20,117 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 21:41:20,118 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-11-03 21:41:20,118 - INFO - -------------------------------------------------------------------------------- 2025-11-03 21:41:20,810 - INFO - Deleted project: ctest-TestPorts-05604788, ID : 604da12e-7f14-4f28-a52b-afdc0af703b5