2025-10-13 13:00:27,367 - INFO - Domain Default found not creating 2025-10-13 13:00:27,560 - INFO - Project ctest-TestPorts-73178954 not found, creating it 2025-10-13 13:00:28,068 - INFO - Created Project:ctest-TestPorts-73178954, ID : 34802800-faa2-4391-91df-7658d187a61a 2025-10-13 13:00:29,847 - INFO - ================================================================================ 2025-10-13 13:00:29,847 - INFO - STARTING TEST : test_ports_bindings 2025-10-13 13:00:29,847 - 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-13 13:00:30,121 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.192': '0'}} with 2025-10-13 13:00:30,121 - INFO - Initial checks done. Running the testcase now 2025-10-13 13:00:30,121 - INFO - 2025-10-13 13:00:30,765 - DEBUG - Response for create_network : {'network': {'id': '4c6eb02b-a1f6-4fbb-a52a-3aaf4d78ee5f', 'name': 'ctest-vn-07286829', 'tenant_id': '34802800faa2439191df7658d187a61a', 'project_id': '34802800faa2439191df7658d187a61a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73178954', 'ctest-vn-07286829'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:00:30,963 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d3f1963-5d0c-4199-b38b-77e763ff7461', 'name': '', 'tenant_id': '34802800faa2439191df7658d187a61a', 'network_id': '4c6eb02b-a1f6-4fbb-a52a-3aaf4d78ee5f', 'ip_version': 4, 'cidr': '88.32.50.64/26', 'allocation_pools': [{'start': '88.32.50.66', 'end': '88.32.50.126'}], 'gateway_ip': '88.32.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.32.50.66', 'tags': [], 'project_id': '34802800faa2439191df7658d187a61a'}} 2025-10-13 13:00:30,983 - INFO - Created VN ctest-vn-07286829 2025-10-13 13:00:31,036 - DEBUG - VN ctest-vn-07286829 UUID is 4c6eb02b-a1f6-4fbb-a52a-3aaf4d78ee5f 2025-10-13 13:00:31,161 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-73178954', 'ctest-vmi-80042746']} 2025-10-13 13:00:31,425 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-80042746', 'id': '620b1bc3-2ea7-447c-a941-c7600584c778', 'tenant_id': '34802800faa2439191df7658d187a61a', 'network_id': '4c6eb02b-a1f6-4fbb-a52a-3aaf4d78ee5f', 'mac_address': '02:62:0b:1b:c3:2e', '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': '88.32.50.67', 'subnet_id': '3d3f1963-5d0c-4199-b38b-77e763ff7461'}], 'security_groups': ['48449851-5403-421c-892b-ecb73cba08d2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34802800faa2439191df7658d187a61a'}} 2025-10-13 13:00:31,425 - DEBUG - Created port 620b1bc3-2ea7-447c-a941-c7600584c778 2025-10-13 13:00:31,532 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/620b1bc3-2ea7-447c-a941-c7600584c778 2025-10-13 13:00:31,874 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/620b1bc3-2ea7-447c-a941-c7600584c778 2025-10-13 13:00:31,910 - INFO - VMI 620b1bc3-2ea7-447c-a941-c7600584c778 verification in API Server passed 2025-10-13 13:00:32,004 - DEBUG - Response for delete_port : () 2025-10-13 13:00:32,004 - INFO - Deleted port 620b1bc3-2ea7-447c-a941-c7600584c778 2025-10-13 13:00:32,005 - INFO - Deleting VN ctest-vn-07286829 2025-10-13 13:00:32,130 - DEBUG - Response for deleting network () 2025-10-13 13:00:32,400 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 13:00:32,400 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-13 13:00:32,400 - INFO - -------------------------------------------------------------------------------- 2025-10-13 13:00:32,403 - INFO - ================================================================================ 2025-10-13 13:00:32,404 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-13 13:00:32,404 - 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-13 13:00:32,689 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.192': '0'}} with 2025-10-13 13:00:32,689 - INFO - Initial checks done. Running the testcase now 2025-10-13 13:00:32,689 - INFO - 2025-10-13 13:00:32,895 - DEBUG - Response for create_network : {'network': {'id': '1ce3fdf1-060b-43b0-85b1-64f24c323045', 'name': 'ctest-vn1-67244986', 'tenant_id': '34802800faa2439191df7658d187a61a', 'project_id': '34802800faa2439191df7658d187a61a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-73178954', 'ctest-vn1-67244986'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 13:00:33,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ca63dd0-7a0d-4498-87e2-b2a0523ffdbc', 'name': '', 'tenant_id': '34802800faa2439191df7658d187a61a', 'network_id': '1ce3fdf1-060b-43b0-85b1-64f24c323045', 'ip_version': 4, 'cidr': '7.151.213.128/26', 'allocation_pools': [{'start': '7.151.213.130', 'end': '7.151.213.190'}], 'gateway_ip': '7.151.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.151.213.130', 'tags': [], 'project_id': '34802800faa2439191df7658d187a61a'}} 2025-10-13 13:00:33,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '10be1d28-f1c4-43fb-9911-106729d38c1a', 'name': '', 'tenant_id': '34802800faa2439191df7658d187a61a', 'network_id': '1ce3fdf1-060b-43b0-85b1-64f24c323045', 'ip_version': 4, 'cidr': '17.146.201.192/26', 'allocation_pools': [{'start': '17.146.201.194', 'end': '17.146.201.254'}], 'gateway_ip': '17.146.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.146.201.194', 'tags': [], 'project_id': '34802800faa2439191df7658d187a61a'}} 2025-10-13 13:00:33,298 - INFO - Created VN ctest-vn1-67244986 2025-10-13 13:00:33,352 - DEBUG - VN ctest-vn1-67244986 UUID is 1ce3fdf1-060b-43b0-85b1-64f24c323045 2025-10-13 13:00:33,712 - DEBUG - Response for create_port : {'port': {'name': '73fb6bab-29b1-460d-9abf-bfc62654bd80', 'id': '73fb6bab-29b1-460d-9abf-bfc62654bd80', 'tenant_id': '34802800faa2439191df7658d187a61a', 'network_id': '1ce3fdf1-060b-43b0-85b1-64f24c323045', 'mac_address': '02:73:fb:6b:ab:29', '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': '7.151.213.133', 'subnet_id': '5ca63dd0-7a0d-4498-87e2-b2a0523ffdbc'}], 'security_groups': ['48449851-5403-421c-892b-ecb73cba08d2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34802800faa2439191df7658d187a61a'}} 2025-10-13 13:00:33,906 - DEBUG - Response for create_port : {'port': {'name': '56eb6e48-0e01-4ec3-8057-974ad28141ad', 'id': '56eb6e48-0e01-4ec3-8057-974ad28141ad', 'tenant_id': '34802800faa2439191df7658d187a61a', 'network_id': '1ce3fdf1-060b-43b0-85b1-64f24c323045', 'mac_address': '02:56:eb:6e:48:0e', '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': '17.146.201.197', 'subnet_id': '10be1d28-f1c4-43fb-9911-106729d38c1a'}], 'security_groups': ['48449851-5403-421c-892b-ecb73cba08d2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34802800faa2439191df7658d187a61a'}} 2025-10-13 13:00:33,979 - DEBUG - Services list from nova: [, , ] 2025-10-13 13:00:34,383 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1) 2025-10-13 13:00:34,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4303-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4303-1) 2025-10-13 13:00:34,889 - INFO - Waiting for VM ctest-vn1-vm1-78122845 to be up.. 2025-10-13 13:00:34,942 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 13:00:40,023 - DEBUG - VM is in ACTIVE state now 2025-10-13 13:00:40,023 - INFO - VM name : ctest-vn1-vm1-78122845 2025-10-13 13:00:40,102 - DEBUG - VM ctest-vn1-vm1-78122845 ID is e5829068-4adc-426b-891e-b7ade407661a 2025-10-13 13:00:40,121 - DEBUG - VM ctest-vn1-vm1-78122845 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1 2025-10-13 13:00:40,197 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e5829068-4adc-426b-891e-b7ade407661a 2025-10-13 13:00:40,206 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/73fb6bab-29b1-460d-9abf-bfc62654bd80 2025-10-13 13:00:43,484 - 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 1026ms') 2025-10-13 13:00:43,484 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78122845 failed! 2025-10-13 13:00:43,544 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73178954:ctest-vn1-67244986 is 7.151.213.129 and allocation pool is NOT set 2025-10-13 13:00:43,544 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73178954:ctest-vn1-67244986 is 17.146.201.193 and allocation pool is NOT set 2025-10-13 13:00:47,613 - 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 1005ms') 2025-10-13 13:00:47,613 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78122845 failed! 2025-10-13 13:00:47,667 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73178954:ctest-vn1-67244986 is 7.151.213.129 and allocation pool is NOT set 2025-10-13 13:00:47,668 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-73178954:ctest-vn1-67244986 is 17.146.201.193 and allocation pool is NOT set 2025-10-13 13:00:49,739 - 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=3.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.617 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.617/2.153/3.690/1.536 ms') 2025-10-13 13:00:49,739 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78122845 passed 2025-10-13 13:00:49,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:00:49,892 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78122845, IP 7.151.213.133, Port 22 2025-10-13 13:00:50,048 - DEBUG - VM ctest-vn1-vm1-78122845 is ready for SSH connections 2025-10-13 13:00:50,048 - INFO - Waiting for VM ctest-vn1-vm2-69435388 to be up.. 2025-10-13 13:00:50,139 - DEBUG - VM is in ACTIVE state now 2025-10-13 13:00:50,139 - INFO - VM name : ctest-vn1-vm2-69435388 2025-10-13 13:00:50,224 - DEBUG - VM ctest-vn1-vm2-69435388 ID is 6c91294d-58ca-44c0-bdc6-349f09426f39 2025-10-13 13:00:50,224 - DEBUG - VM ctest-vn1-vm2-69435388 launched on Node cn-jenkins-deploy-platform-ansible-os-4303-1 2025-10-13 13:00:50,305 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/6c91294d-58ca-44c0-bdc6-349f09426f39 2025-10-13 13:00:50,315 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/56eb6e48-0e01-4ec3-8057-974ad28141ad 2025-10-13 13:00:51,563 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.59 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.592/3.448/5.305/1.856 ms') 2025-10-13 13:00:51,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-69435388 passed 2025-10-13 13:00:51,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:00:51,724 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69435388, IP 17.146.201.197, Port 22 2025-10-13 13:00:51,894 - DEBUG - VM ctest-vn1-vm2-69435388 is ready for SSH connections 2025-10-13 13:00:51,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:00:51,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:00:51,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 13:00:51,894 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.151.213.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-13 13:00:51,894 - DEBUG - ping -s 56 -c 3 -W 1 7.151.213.133 2025-10-13 13:00:54,629 - DEBUG - PING 7.151.213.133 (7.151.213.133): 56 data bytes 64 bytes from 7.151.213.133: seq=0 ttl=63 time=4.748 ms 64 bytes from 7.151.213.133: seq=1 ttl=63 time=0.948 ms 64 bytes from 7.151.213.133: seq=2 ttl=63 time=2.506 ms --- 7.151.213.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.734/4.748 ms 2025-10-13 13:00:54,630 - INFO - Ping to IP 7.151.213.133 from VM ctest-vn1-vm2-69435388 passed 2025-10-13 13:00:54,630 - INFO - Detaching port 56eb6e48-0e01-4ec3-8057-974ad28141ad from VM ctest-vn1-vm2-69435388 2025-10-13 13:00:54,689 - INFO - Deleting VM ctest-vn1-vm2-69435388 2025-10-13 13:00:54,787 - INFO - Detaching port 73fb6bab-29b1-460d-9abf-bfc62654bd80 from VM ctest-vn1-vm1-78122845 2025-10-13 13:00:54,830 - INFO - Deleting VM ctest-vn1-vm1-78122845 2025-10-13 13:00:55,109 - DEBUG - Response for delete_port : () 2025-10-13 13:00:55,330 - DEBUG - Response for delete_port : () 2025-10-13 13:00:55,330 - INFO - Deleting VN ctest-vn1-67244986 2025-10-13 13:00:55,476 - DEBUG - Response for deleting network () 2025-10-13 13:00:55,744 - DEBUG - No XMPP flaps were noticed during the test 2025-10-13 13:00:55,745 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-10-13 13:00:55,745 - INFO - -------------------------------------------------------------------------------- 2025-10-13 13:00:56,516 - INFO - Deleted project: ctest-TestPorts-73178954, ID : 34802800-faa2-4391-91df-7658d187a61a