2025-10-30 21:52:19,266 - INFO - Domain Default found not creating 2025-10-30 21:52:19,524 - INFO - Project ctest-TestPorts-79616562 not found, creating it 2025-10-30 21:52:19,967 - INFO - Created Project:ctest-TestPorts-79616562, ID : 6aae369f-4029-4d9d-b6cf-fdb7bf569d05 2025-10-30 21:52:21,341 - INFO - ================================================================================ 2025-10-30 21:52:21,341 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 21:52:21,341 - 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-30 21:52:21,600 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.242': '0'}} with 2025-10-30 21:52:21,600 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:52:21,600 - INFO - 2025-10-30 21:52:22,121 - DEBUG - Response for create_network : {'network': {'id': 'd2c05d1b-2cab-4109-964d-0cef1147dc2e', 'name': 'ctest-vn-71734384', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'project_id': '6aae369f40294d9db6cffdb7bf569d05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79616562', 'ctest-vn-71734384'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:52:22,306 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f08ed08-1079-45bb-8e6a-c6e41a6c88f4', 'name': '', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'network_id': 'd2c05d1b-2cab-4109-964d-0cef1147dc2e', 'ip_version': 4, 'cidr': '193.197.239.192/26', 'allocation_pools': [{'start': '193.197.239.194', 'end': '193.197.239.254'}], 'gateway_ip': '193.197.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.197.239.194', 'tags': [], 'project_id': '6aae369f40294d9db6cffdb7bf569d05'}} 2025-10-30 21:52:22,323 - INFO - Created VN ctest-vn-71734384 2025-10-30 21:52:22,374 - DEBUG - VN ctest-vn-71734384 UUID is d2c05d1b-2cab-4109-964d-0cef1147dc2e 2025-10-30 21:52:22,478 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79616562', 'ctest-vmi-49677384']} 2025-10-30 21:52:22,747 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49677384', 'id': '890f31e5-0d80-45c0-92cf-a89357dfdbdb', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'network_id': 'd2c05d1b-2cab-4109-964d-0cef1147dc2e', 'mac_address': '02:89:0f:31:e5:0d', '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': '193.197.239.195', 'subnet_id': '6f08ed08-1079-45bb-8e6a-c6e41a6c88f4'}], 'security_groups': ['bc8d7c9b-96a7-4444-8fd6-a78aa832f341'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6aae369f40294d9db6cffdb7bf569d05'}} 2025-10-30 21:52:22,747 - DEBUG - Created port 890f31e5-0d80-45c0-92cf-a89357dfdbdb 2025-10-30 21:52:22,850 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/890f31e5-0d80-45c0-92cf-a89357dfdbdb 2025-10-30 21:52:23,142 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/890f31e5-0d80-45c0-92cf-a89357dfdbdb 2025-10-30 21:52:23,178 - INFO - VMI 890f31e5-0d80-45c0-92cf-a89357dfdbdb verification in API Server passed 2025-10-30 21:52:23,260 - DEBUG - Response for delete_port : () 2025-10-30 21:52:23,261 - INFO - Deleted port 890f31e5-0d80-45c0-92cf-a89357dfdbdb 2025-10-30 21:52:23,261 - INFO - Deleting VN ctest-vn-71734384 2025-10-30 21:52:23,354 - DEBUG - Response for deleting network () 2025-10-30 21:52:23,618 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:52:23,619 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-30 21:52:23,619 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:52:23,621 - INFO - ================================================================================ 2025-10-30 21:52:23,621 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 21:52:23,621 - 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-30 21:52:23,911 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.242': '0'}} with 2025-10-30 21:52:23,912 - INFO - Initial checks done. Running the testcase now 2025-10-30 21:52:23,912 - INFO - 2025-10-30 21:52:24,088 - DEBUG - Response for create_network : {'network': {'id': '4b205b1f-af0d-4285-b18a-c75435b70bad', 'name': 'ctest-vn1-87986322', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'project_id': '6aae369f40294d9db6cffdb7bf569d05', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79616562', 'ctest-vn1-87986322'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 21:52:24,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d26857e-10bb-48cf-82ed-d84ddca46d77', 'name': '', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'network_id': '4b205b1f-af0d-4285-b18a-c75435b70bad', 'ip_version': 4, 'cidr': '59.124.51.0/26', 'allocation_pools': [{'start': '59.124.51.2', 'end': '59.124.51.62'}], 'gateway_ip': '59.124.51.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.124.51.2', 'tags': [], 'project_id': '6aae369f40294d9db6cffdb7bf569d05'}} 2025-10-30 21:52:24,497 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9e23b6e-4f48-4f3d-95ce-7c17760c9ffc', 'name': '', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'network_id': '4b205b1f-af0d-4285-b18a-c75435b70bad', 'ip_version': 4, 'cidr': '56.139.162.0/26', 'allocation_pools': [{'start': '56.139.162.2', 'end': '56.139.162.62'}], 'gateway_ip': '56.139.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.139.162.2', 'tags': [], 'project_id': '6aae369f40294d9db6cffdb7bf569d05'}} 2025-10-30 21:52:24,517 - INFO - Created VN ctest-vn1-87986322 2025-10-30 21:52:24,570 - DEBUG - VN ctest-vn1-87986322 UUID is 4b205b1f-af0d-4285-b18a-c75435b70bad 2025-10-30 21:52:24,864 - DEBUG - Response for create_port : {'port': {'name': '491cee33-4d79-4fae-9892-95181fbba48b', 'id': '491cee33-4d79-4fae-9892-95181fbba48b', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'network_id': '4b205b1f-af0d-4285-b18a-c75435b70bad', 'mac_address': '02:49:1c:ee:33:4d', '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': '59.124.51.5', 'subnet_id': '3d26857e-10bb-48cf-82ed-d84ddca46d77'}], 'security_groups': ['bc8d7c9b-96a7-4444-8fd6-a78aa832f341'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6aae369f40294d9db6cffdb7bf569d05'}} 2025-10-30 21:52:25,020 - DEBUG - Response for create_port : {'port': {'name': 'a0b7f664-9449-4536-a569-268bc1098c42', 'id': 'a0b7f664-9449-4536-a569-268bc1098c42', 'tenant_id': '6aae369f40294d9db6cffdb7bf569d05', 'network_id': '4b205b1f-af0d-4285-b18a-c75435b70bad', 'mac_address': '02:a0:b7:f6:64:94', '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': '56.139.162.5', 'subnet_id': 'b9e23b6e-4f48-4f3d-95ce-7c17760c9ffc'}], 'security_groups': ['bc8d7c9b-96a7-4444-8fd6-a78aa832f341'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6aae369f40294d9db6cffdb7bf569d05'}} 2025-10-30 21:52:25,070 - DEBUG - Services list from nova: [, , ] 2025-10-30 21:52:25,372 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4557-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4557-1) 2025-10-30 21:52:25,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4557-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4557-1) 2025-10-30 21:52:25,727 - INFO - Waiting for VM ctest-vn1-vm1-19198793 to be up.. 2025-10-30 21:52:25,763 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 21:52:30,838 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:52:30,838 - INFO - VM name : ctest-vn1-vm1-19198793 2025-10-30 21:52:30,911 - DEBUG - VM ctest-vn1-vm1-19198793 ID is ff87597b-2ece-432c-9953-9b4d153abb7a 2025-10-30 21:52:30,934 - DEBUG - VM ctest-vn1-vm1-19198793 launched on Node cn-jenkins-deploy-platform-ansible-os-4557-1 2025-10-30 21:52:31,004 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/ff87597b-2ece-432c-9953-9b4d153abb7a 2025-10-30 21:52:31,012 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/491cee33-4d79-4fae-9892-95181fbba48b 2025-10-30 21:52:34,252 - 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 1009ms') 2025-10-30 21:52:34,252 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19198793 failed! 2025-10-30 21:52:34,310 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79616562:ctest-vn1-87986322 is 59.124.51.1 and allocation pool is NOT set 2025-10-30 21:52:34,310 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79616562:ctest-vn1-87986322 is 56.139.162.1 and allocation pool is NOT set 2025-10-30 21:52:38,380 - 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.90 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 9.904/9.904/9.904/0.000 ms') 2025-10-30 21:52:38,380 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19198793 passed 2025-10-30 21:52:38,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:52:38,534 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19198793, IP 59.124.51.5, Port 22 2025-10-30 21:52:38,600 - 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-30 21:52:38,683 - DEBUG - VM ctest-vn1-vm1-19198793 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 21:52:43,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:52:43,683 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19198793, IP 59.124.51.5, Port 22 2025-10-30 21:52:43,841 - DEBUG - VM ctest-vn1-vm1-19198793 is ready for SSH connections 2025-10-30 21:52:43,841 - INFO - Waiting for VM ctest-vn1-vm2-45011651 to be up.. 2025-10-30 21:52:43,912 - DEBUG - VM is in ACTIVE state now 2025-10-30 21:52:43,912 - INFO - VM name : ctest-vn1-vm2-45011651 2025-10-30 21:52:43,978 - DEBUG - VM ctest-vn1-vm2-45011651 ID is 5502ca3a-1951-4f79-9732-052be1f391dd 2025-10-30 21:52:43,978 - DEBUG - VM ctest-vn1-vm2-45011651 launched on Node cn-jenkins-deploy-platform-ansible-os-4557-1 2025-10-30 21:52:44,047 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/5502ca3a-1951-4f79-9732-052be1f391dd 2025-10-30 21:52:44,056 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/a0b7f664-9449-4536-a569-268bc1098c42 2025-10-30 21:52:45,289 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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 = 0.479/1.587/2.696/1.108 ms') 2025-10-30 21:52:45,290 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45011651 passed 2025-10-30 21:52:45,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:52:45,438 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45011651, IP 56.139.162.5, Port 22 2025-10-30 21:52:45,598 - DEBUG - VM ctest-vn1-vm2-45011651 is ready for SSH connections 2025-10-30 21:52:45,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:52:45,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:52:45,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 21:52:45,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.124.51.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2025-10-30 21:52:45,598 - DEBUG - ping -s 56 -c 3 -W 1 59.124.51.5 2025-10-30 21:52:48,255 - DEBUG - PING 59.124.51.5 (59.124.51.5): 56 data bytes 64 bytes from 59.124.51.5: seq=0 ttl=63 time=3.776 ms 64 bytes from 59.124.51.5: seq=1 ttl=63 time=0.688 ms 64 bytes from 59.124.51.5: seq=2 ttl=63 time=0.821 ms --- 59.124.51.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.688/1.761/3.776 ms 2025-10-30 21:52:48,255 - INFO - Ping to IP 59.124.51.5 from VM ctest-vn1-vm2-45011651 passed 2025-10-30 21:52:48,255 - INFO - Detaching port a0b7f664-9449-4536-a569-268bc1098c42 from VM ctest-vn1-vm2-45011651 2025-10-30 21:52:48,299 - INFO - Deleting VM ctest-vn1-vm2-45011651 2025-10-30 21:52:48,359 - INFO - Detaching port 491cee33-4d79-4fae-9892-95181fbba48b from VM ctest-vn1-vm1-19198793 2025-10-30 21:52:48,397 - INFO - Deleting VM ctest-vn1-vm1-19198793 2025-10-30 21:52:48,620 - DEBUG - Response for delete_port : () 2025-10-30 21:52:48,798 - DEBUG - Response for delete_port : () 2025-10-30 21:52:48,798 - INFO - Deleting VN ctest-vn1-87986322 2025-10-30 21:52:48,971 - DEBUG - Response for deleting network () 2025-10-30 21:52:49,222 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 21:52:49,222 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26] 2025-10-30 21:52:49,222 - INFO - -------------------------------------------------------------------------------- 2025-10-30 21:52:49,882 - INFO - Deleted project: ctest-TestPorts-79616562, ID : 6aae369f-4029-4d9d-b6cf-fdb7bf569d05