2025-10-23 11:45:10,077 - INFO - Domain Default found not creating 2025-10-23 11:45:10,205 - INFO - Project ctest-TestPorts-91224841 not found, creating it 2025-10-23 11:45:10,667 - INFO - Created Project:ctest-TestPorts-91224841, ID : 57d7d264-3966-4eb2-a7e0-5bf27760e1ee 2025-10-23 11:45:12,003 - INFO - ================================================================================ 2025-10-23 11:45:12,003 - INFO - STARTING TEST : test_ports_bindings 2025-10-23 11:45:12,004 - 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-23 11:45:12,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-23 11:45:12,262 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:45:12,262 - INFO - 2025-10-23 11:45:12,834 - DEBUG - Response for create_network : {'network': {'id': 'd00dec27-4001-4e06-93cd-ea754d377ae4', 'name': 'ctest-vn-03324013', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'project_id': '57d7d26439664eb2a7e05bf27760e1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91224841', 'ctest-vn-03324013'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:45:13,016 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da332fa7-d47c-438e-aa81-f25ce4519719', 'name': '', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'network_id': 'd00dec27-4001-4e06-93cd-ea754d377ae4', 'ip_version': 4, 'cidr': '215.190.244.64/26', 'allocation_pools': [{'start': '215.190.244.66', 'end': '215.190.244.126'}], 'gateway_ip': '215.190.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.190.244.66', 'tags': [], 'project_id': '57d7d26439664eb2a7e05bf27760e1ee'}} 2025-10-23 11:45:13,031 - INFO - Created VN ctest-vn-03324013 2025-10-23 11:45:13,084 - DEBUG - VN ctest-vn-03324013 UUID is d00dec27-4001-4e06-93cd-ea754d377ae4 2025-10-23 11:45:13,181 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-91224841', 'ctest-vmi-66348685']} 2025-10-23 11:45:13,444 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66348685', 'id': 'edd3fe0a-e236-4d37-a819-0b94ee55afc5', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'network_id': 'd00dec27-4001-4e06-93cd-ea754d377ae4', 'mac_address': '02:ed:d3:fe:0a:e2', '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': '215.190.244.67', 'subnet_id': 'da332fa7-d47c-438e-aa81-f25ce4519719'}], 'security_groups': ['27a9c046-afae-486f-865b-e83f4a1973af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57d7d26439664eb2a7e05bf27760e1ee'}} 2025-10-23 11:45:13,444 - DEBUG - Created port edd3fe0a-e236-4d37-a819-0b94ee55afc5 2025-10-23 11:45:13,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/edd3fe0a-e236-4d37-a819-0b94ee55afc5 2025-10-23 11:45:13,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/edd3fe0a-e236-4d37-a819-0b94ee55afc5 2025-10-23 11:45:13,859 - INFO - VMI edd3fe0a-e236-4d37-a819-0b94ee55afc5 verification in API Server passed 2025-10-23 11:45:13,932 - DEBUG - Response for delete_port : () 2025-10-23 11:45:13,933 - INFO - Deleted port edd3fe0a-e236-4d37-a819-0b94ee55afc5 2025-10-23 11:45:13,933 - INFO - Deleting VN ctest-vn-03324013 2025-10-23 11:45:14,027 - DEBUG - Response for deleting network () 2025-10-23 11:45:14,280 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:45:14,280 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-23 11:45:14,280 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:45:14,282 - INFO - ================================================================================ 2025-10-23 11:45:14,282 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-23 11:45:14,283 - 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-23 11:45:14,577 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-23 11:45:14,577 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:45:14,577 - INFO - 2025-10-23 11:45:14,740 - DEBUG - Response for create_network : {'network': {'id': '6953b62d-fec1-4357-9f01-38084469bba7', 'name': 'ctest-vn1-44958124', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'project_id': '57d7d26439664eb2a7e05bf27760e1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91224841', 'ctest-vn1-44958124'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:45:14,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b58df47-bdc5-4ed9-9deb-6e243006e4f8', 'name': '', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'network_id': '6953b62d-fec1-4357-9f01-38084469bba7', 'ip_version': 4, 'cidr': '33.83.174.64/26', 'allocation_pools': [{'start': '33.83.174.66', 'end': '33.83.174.126'}], 'gateway_ip': '33.83.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.83.174.66', 'tags': [], 'project_id': '57d7d26439664eb2a7e05bf27760e1ee'}} 2025-10-23 11:45:15,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a433baf4-af5d-43ed-af78-00253c038afd', 'name': '', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'network_id': '6953b62d-fec1-4357-9f01-38084469bba7', 'ip_version': 4, 'cidr': '30.158.31.128/26', 'allocation_pools': [{'start': '30.158.31.130', 'end': '30.158.31.190'}], 'gateway_ip': '30.158.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.158.31.130', 'tags': [], 'project_id': '57d7d26439664eb2a7e05bf27760e1ee'}} 2025-10-23 11:45:15,082 - INFO - Created VN ctest-vn1-44958124 2025-10-23 11:45:15,132 - DEBUG - VN ctest-vn1-44958124 UUID is 6953b62d-fec1-4357-9f01-38084469bba7 2025-10-23 11:45:15,399 - DEBUG - Response for create_port : {'port': {'name': 'f9a474f4-9ec6-4f7c-9f1e-1f4bf5d8cb71', 'id': 'f9a474f4-9ec6-4f7c-9f1e-1f4bf5d8cb71', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'network_id': '6953b62d-fec1-4357-9f01-38084469bba7', 'mac_address': '02:f9:a4:74:f4:9e', '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': '33.83.174.69', 'subnet_id': '0b58df47-bdc5-4ed9-9deb-6e243006e4f8'}], 'security_groups': ['27a9c046-afae-486f-865b-e83f4a1973af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57d7d26439664eb2a7e05bf27760e1ee'}} 2025-10-23 11:45:15,548 - DEBUG - Response for create_port : {'port': {'name': '072b8032-d891-4789-b6a1-42ab03a50d7f', 'id': '072b8032-d891-4789-b6a1-42ab03a50d7f', 'tenant_id': '57d7d26439664eb2a7e05bf27760e1ee', 'network_id': '6953b62d-fec1-4357-9f01-38084469bba7', 'mac_address': '02:07:2b:80:32:d8', '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': '30.158.31.133', 'subnet_id': 'a433baf4-af5d-43ed-af78-00253c038afd'}], 'security_groups': ['27a9c046-afae-486f-865b-e83f4a1973af'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '57d7d26439664eb2a7e05bf27760e1ee'}} 2025-10-23 11:45:15,598 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:45:15,886 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4459-1) 2025-10-23 11:45:16,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4459-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4459-1) 2025-10-23 11:45:16,245 - INFO - Waiting for VM ctest-vn1-vm1-20174070 to be up.. 2025-10-23 11:45:16,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:45:21,371 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:45:21,371 - INFO - VM name : ctest-vn1-vm1-20174070 2025-10-23 11:45:21,447 - DEBUG - VM ctest-vn1-vm1-20174070 ID is 9f4d8606-6a66-4d78-a85c-c1fa9f510cd5 2025-10-23 11:45:21,466 - DEBUG - VM ctest-vn1-vm1-20174070 launched on Node cn-jenkins-deploy-platform-ansible-os-4459-1 2025-10-23 11:45:21,533 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9f4d8606-6a66-4d78-a85c-c1fa9f510cd5 2025-10-23 11:45:21,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f9a474f4-9ec6-4f7c-9f1e-1f4bf5d8cb71 2025-10-23 11:45:24,783 - 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 1014ms') 2025-10-23 11:45:24,784 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20174070 failed! 2025-10-23 11:45:24,840 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91224841:ctest-vn1-44958124 is 33.83.174.65 and allocation pool is NOT set 2025-10-23 11:45:24,840 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91224841:ctest-vn1-44958124 is 30.158.31.129 and allocation pool is NOT set 2025-10-23 11:45:26,901 - 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=9.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.121/5.662/9.203/3.541 ms') 2025-10-23 11:45:26,901 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20174070 passed 2025-10-23 11:45:27,048 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:27,048 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20174070, IP 33.83.174.69, Port 22 2025-10-23 11:45:27,104 - 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-23 11:45:27,169 - DEBUG - VM ctest-vn1-vm1-20174070 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 11:45:32,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:32,169 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20174070, IP 33.83.174.69, Port 22 2025-10-23 11:45:32,319 - DEBUG - VM ctest-vn1-vm1-20174070 is ready for SSH connections 2025-10-23 11:45:32,319 - INFO - Waiting for VM ctest-vn1-vm2-35871272 to be up.. 2025-10-23 11:45:32,387 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:45:32,387 - INFO - VM name : ctest-vn1-vm2-35871272 2025-10-23 11:45:32,449 - DEBUG - VM ctest-vn1-vm2-35871272 ID is c7a3a17e-d008-45c9-b796-872f790f6e66 2025-10-23 11:45:32,449 - DEBUG - VM ctest-vn1-vm2-35871272 launched on Node cn-jenkins-deploy-platform-ansible-os-4459-1 2025-10-23 11:45:32,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c7a3a17e-d008-45c9-b796-872f790f6e66 2025-10-23 11:45:32,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/072b8032-d891-4789-b6a1-42ab03a50d7f 2025-10-23 11:45:33,755 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.460 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.460/1.629/2.799/1.169 ms') 2025-10-23 11:45:33,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-35871272 passed 2025-10-23 11:45:33,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:33,904 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-35871272, IP 30.158.31.133, Port 22 2025-10-23 11:45:34,055 - DEBUG - VM ctest-vn1-vm2-35871272 is ready for SSH connections 2025-10-23 11:45:34,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:34,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:34,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:45:34,055 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.83.174.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-23 11:45:34,055 - DEBUG - ping -s 56 -c 3 -W 1 33.83.174.69 2025-10-23 11:45:37,004 - DEBUG - PING 33.83.174.69 (33.83.174.69): 56 data bytes 64 bytes from 33.83.174.69: seq=0 ttl=63 time=3.269 ms 64 bytes from 33.83.174.69: seq=1 ttl=63 time=0.857 ms 64 bytes from 33.83.174.69: seq=2 ttl=63 time=0.761 ms --- 33.83.174.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.761/1.629/3.269 ms 2025-10-23 11:45:37,004 - INFO - Ping to IP 33.83.174.69 from VM ctest-vn1-vm2-35871272 passed 2025-10-23 11:45:37,004 - INFO - Detaching port 072b8032-d891-4789-b6a1-42ab03a50d7f from VM ctest-vn1-vm2-35871272 2025-10-23 11:45:37,047 - INFO - Deleting VM ctest-vn1-vm2-35871272 2025-10-23 11:45:37,112 - INFO - Detaching port f9a474f4-9ec6-4f7c-9f1e-1f4bf5d8cb71 from VM ctest-vn1-vm1-20174070 2025-10-23 11:45:37,145 - INFO - Deleting VM ctest-vn1-vm1-20174070 2025-10-23 11:45:37,340 - DEBUG - Response for delete_port : () 2025-10-23 11:45:37,473 - DEBUG - Response for delete_port : () 2025-10-23 11:45:37,473 - INFO - Deleting VN ctest-vn1-44958124 2025-10-23 11:45:37,595 - DEBUG - Response for deleting network () 2025-10-23 11:45:37,853 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:45:37,853 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-23 11:45:37,853 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:45:38,523 - INFO - Deleted project: ctest-TestPorts-91224841, ID : 57d7d264-3966-4eb2-a7e0-5bf27760e1ee