2025-10-08 20:09:04,888 - INFO - Domain Default found not creating 2025-10-08 20:09:05,046 - INFO - Project ctest-TestPorts-76764907 not found, creating it 2025-10-08 20:09:05,522 - INFO - Created Project:ctest-TestPorts-76764907, ID : e9d3b1e2-0326-4b51-b862-98f307859e39 2025-10-08 20:09:07,023 - INFO - ================================================================================ 2025-10-08 20:09:07,024 - INFO - STARTING TEST : test_ports_bindings 2025-10-08 20:09:07,024 - 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-08 20:09:07,279 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-08 20:09:07,279 - INFO - Initial checks done. Running the testcase now 2025-10-08 20:09:07,279 - INFO - 2025-10-08 20:09:07,842 - DEBUG - Response for create_network : {'network': {'id': 'cd29f247-cc0f-4de8-8d52-9cf38169badd', 'name': 'ctest-vn-03147945', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'project_id': 'e9d3b1e203264b51b86298f307859e39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76764907', 'ctest-vn-03147945'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:09:08,045 - DEBUG - Response for create_subnet : {'subnet': {'id': '23891798-3f64-406d-96e4-6fe5cbb7fa2f', 'name': '', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'network_id': 'cd29f247-cc0f-4de8-8d52-9cf38169badd', 'ip_version': 4, 'cidr': '196.21.232.64/26', 'allocation_pools': [{'start': '196.21.232.66', 'end': '196.21.232.126'}], 'gateway_ip': '196.21.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.21.232.66', 'tags': [], 'project_id': 'e9d3b1e203264b51b86298f307859e39'}} 2025-10-08 20:09:08,063 - INFO - Created VN ctest-vn-03147945 2025-10-08 20:09:08,113 - DEBUG - VN ctest-vn-03147945 UUID is cd29f247-cc0f-4de8-8d52-9cf38169badd 2025-10-08 20:09:08,217 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76764907', 'ctest-vmi-37834965']} 2025-10-08 20:09:08,501 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37834965', 'id': 'f1e9cf91-1dae-4d8b-a1f4-0a830ad1b9d8', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'network_id': 'cd29f247-cc0f-4de8-8d52-9cf38169badd', 'mac_address': '02:f1:e9:cf:91:1d', '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': '196.21.232.67', 'subnet_id': '23891798-3f64-406d-96e4-6fe5cbb7fa2f'}], 'security_groups': ['3b6a9da7-e70b-413c-97c3-fb61d5d068fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9d3b1e203264b51b86298f307859e39'}} 2025-10-08 20:09:08,501 - DEBUG - Created port f1e9cf91-1dae-4d8b-a1f4-0a830ad1b9d8 2025-10-08 20:09:08,605 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f1e9cf91-1dae-4d8b-a1f4-0a830ad1b9d8 2025-10-08 20:09:08,939 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f1e9cf91-1dae-4d8b-a1f4-0a830ad1b9d8 2025-10-08 20:09:08,969 - INFO - VMI f1e9cf91-1dae-4d8b-a1f4-0a830ad1b9d8 verification in API Server passed 2025-10-08 20:09:09,066 - DEBUG - Response for delete_port : () 2025-10-08 20:09:09,066 - INFO - Deleted port f1e9cf91-1dae-4d8b-a1f4-0a830ad1b9d8 2025-10-08 20:09:09,067 - INFO - Deleting VN ctest-vn-03147945 2025-10-08 20:09:09,174 - DEBUG - Response for deleting network () 2025-10-08 20:09:09,430 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 20:09:09,430 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-08 20:09:09,430 - INFO - -------------------------------------------------------------------------------- 2025-10-08 20:09:09,433 - INFO - ================================================================================ 2025-10-08 20:09:09,433 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-08 20:09:09,433 - 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-08 20:09:09,719 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-08 20:09:09,719 - INFO - Initial checks done. Running the testcase now 2025-10-08 20:09:09,719 - INFO - 2025-10-08 20:09:09,909 - DEBUG - Response for create_network : {'network': {'id': 'bbaac687-f105-4699-af7f-4bf55b1d6981', 'name': 'ctest-vn1-92677448', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'project_id': 'e9d3b1e203264b51b86298f307859e39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76764907', 'ctest-vn1-92677448'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 20:09:10,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a916344-2587-4bd7-ba13-617b6a6ce36e', 'name': '', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'network_id': 'bbaac687-f105-4699-af7f-4bf55b1d6981', 'ip_version': 4, 'cidr': '163.219.44.0/26', 'allocation_pools': [{'start': '163.219.44.2', 'end': '163.219.44.62'}], 'gateway_ip': '163.219.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.219.44.2', 'tags': [], 'project_id': 'e9d3b1e203264b51b86298f307859e39'}} 2025-10-08 20:09:10,282 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4bc788b-c863-4c06-b12e-88b64a84fa96', 'name': '', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'network_id': 'bbaac687-f105-4699-af7f-4bf55b1d6981', 'ip_version': 4, 'cidr': '113.113.240.64/26', 'allocation_pools': [{'start': '113.113.240.66', 'end': '113.113.240.126'}], 'gateway_ip': '113.113.240.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.113.240.66', 'tags': [], 'project_id': 'e9d3b1e203264b51b86298f307859e39'}} 2025-10-08 20:09:10,301 - INFO - Created VN ctest-vn1-92677448 2025-10-08 20:09:10,357 - DEBUG - VN ctest-vn1-92677448 UUID is bbaac687-f105-4699-af7f-4bf55b1d6981 2025-10-08 20:09:10,648 - DEBUG - Response for create_port : {'port': {'name': '665a3f47-20bd-41ec-822f-1f78adc72119', 'id': '665a3f47-20bd-41ec-822f-1f78adc72119', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'network_id': 'bbaac687-f105-4699-af7f-4bf55b1d6981', 'mac_address': '02:66:5a:3f:47:20', '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': '163.219.44.5', 'subnet_id': '2a916344-2587-4bd7-ba13-617b6a6ce36e'}], 'security_groups': ['3b6a9da7-e70b-413c-97c3-fb61d5d068fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9d3b1e203264b51b86298f307859e39'}} 2025-10-08 20:09:10,814 - DEBUG - Response for create_port : {'port': {'name': 'e496f86a-a323-4aa3-8983-2bf7bde16b07', 'id': 'e496f86a-a323-4aa3-8983-2bf7bde16b07', 'tenant_id': 'e9d3b1e203264b51b86298f307859e39', 'network_id': 'bbaac687-f105-4699-af7f-4bf55b1d6981', 'mac_address': '02:e4:96:f8:6a:a3', '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': '113.113.240.69', 'subnet_id': 'a4bc788b-c863-4c06-b12e-88b64a84fa96'}], 'security_groups': ['3b6a9da7-e70b-413c-97c3-fb61d5d068fd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e9d3b1e203264b51b86298f307859e39'}} 2025-10-08 20:09:10,872 - DEBUG - Services list from nova: [, , ] 2025-10-08 20:09:11,246 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4243-1) 2025-10-08 20:09:11,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4243-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4243-1) 2025-10-08 20:09:11,644 - INFO - Waiting for VM ctest-vn1-vm1-39478594 to be up.. 2025-10-08 20:09:11,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 20:09:16,760 - DEBUG - VM is in ACTIVE state now 2025-10-08 20:09:16,760 - INFO - VM name : ctest-vn1-vm1-39478594 2025-10-08 20:09:16,838 - DEBUG - VM ctest-vn1-vm1-39478594 ID is ba39d224-6b88-4063-a8fd-6ce895bb41bc 2025-10-08 20:09:16,862 - DEBUG - VM ctest-vn1-vm1-39478594 launched on Node cn-jenkins-deploy-platform-ansible-os-4243-1 2025-10-08 20:09:16,944 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba39d224-6b88-4063-a8fd-6ce895bb41bc 2025-10-08 20:09:16,953 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/665a3f47-20bd-41ec-822f-1f78adc72119 2025-10-08 20:09:20,193 - 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 1003ms') 2025-10-08 20:09:20,194 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39478594 failed! 2025-10-08 20:09:20,245 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76764907:ctest-vn1-92677448 is 163.219.44.1 and allocation pool is NOT set 2025-10-08 20:09:20,246 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76764907:ctest-vn1-92677448 is 113.113.240.65 and allocation pool is NOT set 2025-10-08 20:09:24,321 - 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=4.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 4.712/4.712/4.712/0.000 ms') 2025-10-08 20:09:24,322 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39478594 passed 2025-10-08 20:09:24,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:09:24,470 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39478594, IP 163.219.44.5, Port 22 2025-10-08 20:09:24,625 - DEBUG - VM ctest-vn1-vm1-39478594 is ready for SSH connections 2025-10-08 20:09:24,625 - INFO - Waiting for VM ctest-vn1-vm2-87010746 to be up.. 2025-10-08 20:09:24,708 - DEBUG - VM is in ACTIVE state now 2025-10-08 20:09:24,709 - INFO - VM name : ctest-vn1-vm2-87010746 2025-10-08 20:09:24,785 - DEBUG - VM ctest-vn1-vm2-87010746 ID is 7c4ef573-4197-4298-900d-d7bf8086cd95 2025-10-08 20:09:24,785 - DEBUG - VM ctest-vn1-vm2-87010746 launched on Node cn-jenkins-deploy-platform-ansible-os-4243-1 2025-10-08 20:09:24,858 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7c4ef573-4197-4298-900d-d7bf8086cd95 2025-10-08 20:09:24,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e496f86a-a323-4aa3-8983-2bf7bde16b07 2025-10-08 20:09:26,098 - 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=3.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.793/3.176/1.383 ms') 2025-10-08 20:09:26,098 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87010746 passed 2025-10-08 20:09:26,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:09:26,254 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87010746, IP 113.113.240.69, Port 22 2025-10-08 20:09:26,409 - DEBUG - VM ctest-vn1-vm2-87010746 is ready for SSH connections 2025-10-08 20:09:26,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:09:26,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:09:26,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 20:09:26,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.219.44.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-08 20:09:26,409 - DEBUG - ping -s 56 -c 3 -W 1 163.219.44.5 2025-10-08 20:09:29,100 - DEBUG - PING 163.219.44.5 (163.219.44.5): 56 data bytes 64 bytes from 163.219.44.5: seq=0 ttl=63 time=4.386 ms 64 bytes from 163.219.44.5: seq=1 ttl=63 time=0.883 ms 64 bytes from 163.219.44.5: seq=2 ttl=63 time=0.740 ms --- 163.219.44.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.740/2.003/4.386 ms 2025-10-08 20:09:29,100 - INFO - Ping to IP 163.219.44.5 from VM ctest-vn1-vm2-87010746 passed 2025-10-08 20:09:29,100 - INFO - Detaching port e496f86a-a323-4aa3-8983-2bf7bde16b07 from VM ctest-vn1-vm2-87010746 2025-10-08 20:09:29,147 - INFO - Deleting VM ctest-vn1-vm2-87010746 2025-10-08 20:09:29,211 - INFO - Detaching port 665a3f47-20bd-41ec-822f-1f78adc72119 from VM ctest-vn1-vm1-39478594 2025-10-08 20:09:29,246 - INFO - Deleting VM ctest-vn1-vm1-39478594 2025-10-08 20:09:29,468 - DEBUG - Response for delete_port : () 2025-10-08 20:09:29,611 - DEBUG - Response for delete_port : () 2025-10-08 20:09:29,611 - INFO - Deleting VN ctest-vn1-92677448 2025-10-08 20:09:29,791 - DEBUG - Response for deleting network () 2025-10-08 20:09:30,057 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 20:09:30,057 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-10-08 20:09:30,057 - INFO - -------------------------------------------------------------------------------- 2025-10-08 20:09:30,814 - INFO - Deleted project: ctest-TestPorts-76764907, ID : e9d3b1e2-0326-4b51-b862-98f307859e39