2025-10-17 06:26:37,169 - INFO - Domain Default found not creating 2025-10-17 06:26:37,326 - INFO - Project ctest-TestPorts-63148961 not found, creating it 2025-10-17 06:26:37,763 - INFO - Created Project:ctest-TestPorts-63148961, ID : d12b1181-434f-49f8-a5a7-8ba78ac884db 2025-10-17 06:26:39,159 - INFO - ================================================================================ 2025-10-17 06:26:39,160 - INFO - STARTING TEST : test_ports_bindings 2025-10-17 06:26:39,160 - 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-17 06:26:39,284 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-17 06:26:39,284 - INFO - Initial checks done. Running the testcase now 2025-10-17 06:26:39,284 - INFO - 2025-10-17 06:26:39,820 - DEBUG - Response for create_network : {'network': {'id': 'ec469f73-c746-4704-a3c8-2c6f3466b72c', 'name': 'ctest-vn-52487409', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'project_id': 'd12b1181434f49f8a5a78ba78ac884db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63148961', 'ctest-vn-52487409'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 06:26:39,982 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be04e64e-86b7-4a5e-988b-f01f6cc465fd', 'name': '', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'network_id': 'ec469f73-c746-4704-a3c8-2c6f3466b72c', 'ip_version': 4, 'cidr': '69.112.139.0/26', 'allocation_pools': [{'start': '69.112.139.2', 'end': '69.112.139.62'}], 'gateway_ip': '69.112.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '69.112.139.2', 'tags': [], 'project_id': 'd12b1181434f49f8a5a78ba78ac884db'}} 2025-10-17 06:26:40,002 - INFO - Created VN ctest-vn-52487409 2025-10-17 06:26:40,054 - DEBUG - VN ctest-vn-52487409 UUID is ec469f73-c746-4704-a3c8-2c6f3466b72c 2025-10-17 06:26:40,157 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-63148961', 'ctest-vmi-60379273']} 2025-10-17 06:26:40,432 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-60379273', 'id': '6ccccaa7-7580-42fa-8cf9-4393837655ca', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'network_id': 'ec469f73-c746-4704-a3c8-2c6f3466b72c', 'mac_address': '02:6c:cc:ca:a7:75', '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': '69.112.139.3', 'subnet_id': 'be04e64e-86b7-4a5e-988b-f01f6cc465fd'}], 'security_groups': ['5eb29d25-06aa-4a3c-9def-a959aa377c42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd12b1181434f49f8a5a78ba78ac884db'}} 2025-10-17 06:26:40,433 - DEBUG - Created port 6ccccaa7-7580-42fa-8cf9-4393837655ca 2025-10-17 06:26:40,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6ccccaa7-7580-42fa-8cf9-4393837655ca 2025-10-17 06:26:40,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6ccccaa7-7580-42fa-8cf9-4393837655ca 2025-10-17 06:26:40,862 - INFO - VMI 6ccccaa7-7580-42fa-8cf9-4393837655ca verification in API Server passed 2025-10-17 06:26:40,952 - DEBUG - Response for delete_port : () 2025-10-17 06:26:40,952 - INFO - Deleted port 6ccccaa7-7580-42fa-8cf9-4393837655ca 2025-10-17 06:26:40,952 - INFO - Deleting VN ctest-vn-52487409 2025-10-17 06:26:41,053 - DEBUG - Response for deleting network () 2025-10-17 06:26:41,184 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 06:26:41,184 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-17 06:26:41,184 - INFO - -------------------------------------------------------------------------------- 2025-10-17 06:26:41,187 - INFO - ================================================================================ 2025-10-17 06:26:41,187 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-17 06:26:41,187 - 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-17 06:26:41,348 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-17 06:26:41,348 - INFO - Initial checks done. Running the testcase now 2025-10-17 06:26:41,348 - INFO - 2025-10-17 06:26:41,526 - DEBUG - Response for create_network : {'network': {'id': 'a3cecce1-c508-4d06-86b2-209988549176', 'name': 'ctest-vn1-93476434', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'project_id': 'd12b1181434f49f8a5a78ba78ac884db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-63148961', 'ctest-vn1-93476434'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 06:26:41,671 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9da6d19-3529-4417-8e0e-a0613280aabc', 'name': '', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'network_id': 'a3cecce1-c508-4d06-86b2-209988549176', 'ip_version': 4, 'cidr': '200.12.199.128/26', 'allocation_pools': [{'start': '200.12.199.130', 'end': '200.12.199.190'}], 'gateway_ip': '200.12.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.12.199.130', 'tags': [], 'project_id': 'd12b1181434f49f8a5a78ba78ac884db'}} 2025-10-17 06:26:42,008 - DEBUG - Response for create_subnet : {'subnet': {'id': '38b9a4db-5b1d-4e83-b588-c1fbac5ee91b', 'name': '', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'network_id': 'a3cecce1-c508-4d06-86b2-209988549176', 'ip_version': 4, 'cidr': '58.29.171.128/26', 'allocation_pools': [{'start': '58.29.171.130', 'end': '58.29.171.190'}], 'gateway_ip': '58.29.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.29.171.130', 'tags': [], 'project_id': 'd12b1181434f49f8a5a78ba78ac884db'}} 2025-10-17 06:26:42,034 - INFO - Created VN ctest-vn1-93476434 2025-10-17 06:26:42,093 - DEBUG - VN ctest-vn1-93476434 UUID is a3cecce1-c508-4d06-86b2-209988549176 2025-10-17 06:26:42,629 - DEBUG - Response for create_port : {'port': {'name': 'f74360bd-32e8-4d13-bdac-0e0713c1adda', 'id': 'f74360bd-32e8-4d13-bdac-0e0713c1adda', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'network_id': 'a3cecce1-c508-4d06-86b2-209988549176', 'mac_address': '02:f7:43:60:bd:32', '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': '200.12.199.133', 'subnet_id': 'd9da6d19-3529-4417-8e0e-a0613280aabc'}], 'security_groups': ['5eb29d25-06aa-4a3c-9def-a959aa377c42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd12b1181434f49f8a5a78ba78ac884db'}} 2025-10-17 06:26:42,793 - DEBUG - Response for create_port : {'port': {'name': 'da146684-19d3-48f0-8641-7a173a90c8b8', 'id': 'da146684-19d3-48f0-8641-7a173a90c8b8', 'tenant_id': 'd12b1181434f49f8a5a78ba78ac884db', 'network_id': 'a3cecce1-c508-4d06-86b2-209988549176', 'mac_address': '02:da:14:66:84:19', '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': '58.29.171.133', 'subnet_id': '38b9a4db-5b1d-4e83-b588-c1fbac5ee91b'}], 'security_groups': ['5eb29d25-06aa-4a3c-9def-a959aa377c42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd12b1181434f49f8a5a78ba78ac884db'}} 2025-10-17 06:26:42,847 - DEBUG - Services list from nova: [, , ] 2025-10-17 06:26:43,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4352-1) 2025-10-17 06:26:43,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4352-1) 2025-10-17 06:26:43,608 - INFO - Waiting for VM ctest-vn1-vm1-38332777 to be up.. 2025-10-17 06:26:43,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 06:26:48,720 - DEBUG - VM is in ACTIVE state now 2025-10-17 06:26:48,720 - INFO - VM name : ctest-vn1-vm1-38332777 2025-10-17 06:26:48,791 - DEBUG - VM ctest-vn1-vm1-38332777 ID is 1a78e1d6-961e-4e03-a108-5bdde3f08e0b 2025-10-17 06:26:48,813 - DEBUG - VM ctest-vn1-vm1-38332777 launched on Node cn-jenkins-deploy-platform-ansible-os-4352-1 2025-10-17 06:26:48,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1a78e1d6-961e-4e03-a108-5bdde3f08e0b 2025-10-17 06:26:48,895 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f74360bd-32e8-4d13-bdac-0e0713c1adda 2025-10-17 06:26:52,118 - 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 1034ms') 2025-10-17 06:26:52,118 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38332777 failed! 2025-10-17 06:26:52,174 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63148961:ctest-vn1-93476434 is 200.12.199.129 and allocation pool is NOT set 2025-10-17 06:26:52,174 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-63148961:ctest-vn1-93476434 is 58.29.171.129 and allocation pool is NOT set 2025-10-17 06:26:54,196 - 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=14.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.935 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.935/7.679/14.423/6.744 ms') 2025-10-17 06:26:54,196 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38332777 passed 2025-10-17 06:26:54,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 06:26:54,346 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38332777, IP 200.12.199.133, Port 22 2025-10-17 06:26:54,369 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-17 06:26:54,451 - DEBUG - VM ctest-vn1-vm1-38332777 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-17 06:26:59,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 06:26:59,451 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38332777, IP 200.12.199.133, Port 22 2025-10-17 06:26:59,522 - DEBUG - VM ctest-vn1-vm1-38332777 is ready for SSH connections 2025-10-17 06:26:59,522 - INFO - Waiting for VM ctest-vn1-vm2-49135860 to be up.. 2025-10-17 06:26:59,598 - DEBUG - VM is in ACTIVE state now 2025-10-17 06:26:59,598 - INFO - VM name : ctest-vn1-vm2-49135860 2025-10-17 06:26:59,666 - DEBUG - VM ctest-vn1-vm2-49135860 ID is 17f20eaa-f2d8-4f97-a9c3-8566434b15f9 2025-10-17 06:26:59,666 - DEBUG - VM ctest-vn1-vm2-49135860 launched on Node cn-jenkins-deploy-platform-ansible-os-4352-1 2025-10-17 06:26:59,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/17f20eaa-f2d8-4f97-a9c3-8566434b15f9 2025-10-17 06:26:59,746 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/da146684-19d3-48f0-8641-7a173a90c8b8 2025-10-17 06:27:00,937 - 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=2.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.551/2.684/1.132 ms') 2025-10-17 06:27:00,937 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49135860 passed 2025-10-17 06:27:01,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 06:27:01,086 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49135860, IP 58.29.171.133, Port 22 2025-10-17 06:27:01,155 - DEBUG - VM ctest-vn1-vm2-49135860 is ready for SSH connections 2025-10-17 06:27:01,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 06:27:01,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 06:27:01,156 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 06:27:01,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.12.199.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 06:27:01,156 - DEBUG - ping -s 56 -c 3 -W 1 200.12.199.133 2025-10-17 06:27:04,300 - DEBUG - PING 200.12.199.133 (200.12.199.133): 56 data bytes 64 bytes from 200.12.199.133: seq=0 ttl=63 time=3.436 ms 64 bytes from 200.12.199.133: seq=1 ttl=63 time=0.743 ms 64 bytes from 200.12.199.133: seq=2 ttl=63 time=1.039 ms --- 200.12.199.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.743/1.739/3.436 ms 2025-10-17 06:27:04,301 - INFO - Ping to IP 200.12.199.133 from VM ctest-vn1-vm2-49135860 passed 2025-10-17 06:27:04,301 - INFO - Detaching port da146684-19d3-48f0-8641-7a173a90c8b8 from VM ctest-vn1-vm2-49135860 2025-10-17 06:27:04,349 - INFO - Deleting VM ctest-vn1-vm2-49135860 2025-10-17 06:27:04,424 - INFO - Detaching port f74360bd-32e8-4d13-bdac-0e0713c1adda from VM ctest-vn1-vm1-38332777 2025-10-17 06:27:04,474 - INFO - Deleting VM ctest-vn1-vm1-38332777 2025-10-17 06:27:04,713 - DEBUG - Response for delete_port : () 2025-10-17 06:27:04,856 - DEBUG - Response for delete_port : () 2025-10-17 06:27:04,856 - INFO - Deleting VN ctest-vn1-93476434 2025-10-17 06:27:04,964 - DEBUG - Response for deleting network () 2025-10-17 06:27:05,222 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 06:27:05,222 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-17 06:27:05,222 - INFO - -------------------------------------------------------------------------------- 2025-10-17 06:27:05,921 - INFO - Deleted project: ctest-TestPorts-63148961, ID : d12b1181-434f-49f8-a5a7-8ba78ac884db