2025-10-22 06:20:46,344 - INFO - Domain Default found not creating 2025-10-22 06:20:46,527 - INFO - Project ctest-TestPorts-86112181 not found, creating it 2025-10-22 06:20:47,014 - INFO - Created Project:ctest-TestPorts-86112181, ID : 190849d5-4cc2-4178-9a4a-3f8483b33467 2025-10-22 06:20:48,502 - INFO - ================================================================================ 2025-10-22 06:20:48,502 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 06:20:48,503 - 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-22 06:20:48,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-22 06:20:48,758 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:20:48,758 - INFO - 2025-10-22 06:20:49,339 - DEBUG - Response for create_network : {'network': {'id': '1c09516f-664d-47c1-ab18-e204ad6278df', 'name': 'ctest-vn-19856906', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'project_id': '190849d54cc241789a4a3f8483b33467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86112181', 'ctest-vn-19856906'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:20:49,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '96adaa75-c4ec-468f-ba95-387e3f4d34cb', 'name': '', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'network_id': '1c09516f-664d-47c1-ab18-e204ad6278df', 'ip_version': 4, 'cidr': '60.72.30.0/26', 'allocation_pools': [{'start': '60.72.30.2', 'end': '60.72.30.62'}], 'gateway_ip': '60.72.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.72.30.2', 'tags': [], 'project_id': '190849d54cc241789a4a3f8483b33467'}} 2025-10-22 06:20:49,511 - INFO - Created VN ctest-vn-19856906 2025-10-22 06:20:49,564 - DEBUG - VN ctest-vn-19856906 UUID is 1c09516f-664d-47c1-ab18-e204ad6278df 2025-10-22 06:20:49,679 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86112181', 'ctest-vmi-38891442']} 2025-10-22 06:20:49,928 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38891442', 'id': '17d1409d-c118-4086-b8df-6deba8451bbd', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'network_id': '1c09516f-664d-47c1-ab18-e204ad6278df', 'mac_address': '02:17:d1:40:9d:c1', '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': '60.72.30.3', 'subnet_id': '96adaa75-c4ec-468f-ba95-387e3f4d34cb'}], 'security_groups': ['c246c6cd-eee9-4e55-9fc9-3ca104dae86d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '190849d54cc241789a4a3f8483b33467'}} 2025-10-22 06:20:49,928 - DEBUG - Created port 17d1409d-c118-4086-b8df-6deba8451bbd 2025-10-22 06:20:50,035 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/17d1409d-c118-4086-b8df-6deba8451bbd 2025-10-22 06:20:50,334 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/17d1409d-c118-4086-b8df-6deba8451bbd 2025-10-22 06:20:50,368 - INFO - VMI 17d1409d-c118-4086-b8df-6deba8451bbd verification in API Server passed 2025-10-22 06:20:50,467 - DEBUG - Response for delete_port : () 2025-10-22 06:20:50,467 - INFO - Deleted port 17d1409d-c118-4086-b8df-6deba8451bbd 2025-10-22 06:20:50,467 - INFO - Deleting VN ctest-vn-19856906 2025-10-22 06:20:50,585 - DEBUG - Response for deleting network () 2025-10-22 06:20:50,841 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 06:20:50,841 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-22 06:20:50,841 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:20:50,843 - INFO - ================================================================================ 2025-10-22 06:20:50,843 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 06:20:50,844 - 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-22 06:20:51,134 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-22 06:20:51,134 - INFO - Initial checks done. Running the testcase now 2025-10-22 06:20:51,134 - INFO - 2025-10-22 06:20:51,326 - DEBUG - Response for create_network : {'network': {'id': 'cd957e70-584a-4a70-8f00-3a8933ebeade', 'name': 'ctest-vn1-66066682', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'project_id': '190849d54cc241789a4a3f8483b33467', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86112181', 'ctest-vn1-66066682'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 06:20:51,495 - DEBUG - Response for create_subnet : {'subnet': {'id': '81acd47b-479d-4f40-91f1-f80e2f1c60ef', 'name': '', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'network_id': 'cd957e70-584a-4a70-8f00-3a8933ebeade', 'ip_version': 4, 'cidr': '176.218.188.64/26', 'allocation_pools': [{'start': '176.218.188.66', 'end': '176.218.188.126'}], 'gateway_ip': '176.218.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.218.188.66', 'tags': [], 'project_id': '190849d54cc241789a4a3f8483b33467'}} 2025-10-22 06:20:51,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '97edd0f8-891d-4e4b-bd57-ddb22eb23167', 'name': '', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'network_id': 'cd957e70-584a-4a70-8f00-3a8933ebeade', 'ip_version': 4, 'cidr': '134.182.89.0/26', 'allocation_pools': [{'start': '134.182.89.2', 'end': '134.182.89.62'}], 'gateway_ip': '134.182.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.182.89.2', 'tags': [], 'project_id': '190849d54cc241789a4a3f8483b33467'}} 2025-10-22 06:20:51,707 - INFO - Created VN ctest-vn1-66066682 2025-10-22 06:20:51,759 - DEBUG - VN ctest-vn1-66066682 UUID is cd957e70-584a-4a70-8f00-3a8933ebeade 2025-10-22 06:20:52,091 - DEBUG - Response for create_port : {'port': {'name': 'b9a0d585-d225-40c9-bd3b-370291861f0f', 'id': 'b9a0d585-d225-40c9-bd3b-370291861f0f', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'network_id': 'cd957e70-584a-4a70-8f00-3a8933ebeade', 'mac_address': '02:b9:a0:d5:85:d2', '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': '176.218.188.69', 'subnet_id': '81acd47b-479d-4f40-91f1-f80e2f1c60ef'}], 'security_groups': ['c246c6cd-eee9-4e55-9fc9-3ca104dae86d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '190849d54cc241789a4a3f8483b33467'}} 2025-10-22 06:20:52,284 - DEBUG - Response for create_port : {'port': {'name': '9a12b14b-1ecb-4751-aae5-a2e30da74e0e', 'id': '9a12b14b-1ecb-4751-aae5-a2e30da74e0e', 'tenant_id': '190849d54cc241789a4a3f8483b33467', 'network_id': 'cd957e70-584a-4a70-8f00-3a8933ebeade', 'mac_address': '02:9a:12:b1:4b:1e', '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': '134.182.89.5', 'subnet_id': '97edd0f8-891d-4e4b-bd57-ddb22eb23167'}], 'security_groups': ['c246c6cd-eee9-4e55-9fc9-3ca104dae86d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '190849d54cc241789a4a3f8483b33467'}} 2025-10-22 06:20:52,348 - DEBUG - Services list from nova: [, , ] 2025-10-22 06:20:52,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4412-1) 2025-10-22 06:20:53,163 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4412-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4412-1) 2025-10-22 06:20:53,163 - INFO - Waiting for VM ctest-vn1-vm1-86127084 to be up.. 2025-10-22 06:20:53,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 06:20:58,296 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:20:58,296 - INFO - VM name : ctest-vn1-vm1-86127084 2025-10-22 06:20:58,374 - DEBUG - VM ctest-vn1-vm1-86127084 ID is c8e1f1e1-ebcd-443e-990a-2def61c15cc5 2025-10-22 06:20:58,395 - DEBUG - VM ctest-vn1-vm1-86127084 launched on Node cn-jenkins-deploy-platform-ansible-os-4412-1 2025-10-22 06:20:58,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c8e1f1e1-ebcd-443e-990a-2def61c15cc5 2025-10-22 06:20:58,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b9a0d585-d225-40c9-bd3b-370291861f0f 2025-10-22 06:21:01,770 - 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 1021ms') 2025-10-22 06:21:01,770 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86127084 failed! 2025-10-22 06:21:01,827 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86112181:ctest-vn1-66066682 is 176.218.188.65 and allocation pool is NOT set 2025-10-22 06:21:01,828 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86112181:ctest-vn1-66066682 is 134.182.89.1 and allocation pool is NOT set 2025-10-22 06:21:03,897 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.68 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 = 3.680/8.291/12.903/4.611 ms') 2025-10-22 06:21:03,897 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86127084 passed 2025-10-22 06:21:04,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:21:04,052 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86127084, IP 176.218.188.69, Port 22 2025-10-22 06:21:04,118 - 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-22 06:21:04,206 - DEBUG - VM ctest-vn1-vm1-86127084 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 06:21:09,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:21:09,207 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86127084, IP 176.218.188.69, Port 22 2025-10-22 06:21:09,371 - DEBUG - VM ctest-vn1-vm1-86127084 is ready for SSH connections 2025-10-22 06:21:09,371 - INFO - Waiting for VM ctest-vn1-vm2-19158150 to be up.. 2025-10-22 06:21:09,453 - DEBUG - VM is in ACTIVE state now 2025-10-22 06:21:09,453 - INFO - VM name : ctest-vn1-vm2-19158150 2025-10-22 06:21:09,536 - DEBUG - VM ctest-vn1-vm2-19158150 ID is 0c11a3d9-29e5-48fb-8176-3339e99bad17 2025-10-22 06:21:09,536 - DEBUG - VM ctest-vn1-vm2-19158150 launched on Node cn-jenkins-deploy-platform-ansible-os-4412-1 2025-10-22 06:21:09,614 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0c11a3d9-29e5-48fb-8176-3339e99bad17 2025-10-22 06:21:09,624 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9a12b14b-1ecb-4751-aae5-a2e30da74e0e 2025-10-22 06:21:10,880 - 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=4.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/2.305/4.130/1.824 ms') 2025-10-22 06:21:10,880 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-19158150 passed 2025-10-22 06:21:11,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:21:11,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19158150, IP 134.182.89.5, Port 22 2025-10-22 06:21:11,202 - DEBUG - VM ctest-vn1-vm2-19158150 is ready for SSH connections 2025-10-22 06:21:11,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:21:11,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:21:11,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 06:21:11,203 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.218.188.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 06:21:11,203 - DEBUG - ping -s 56 -c 3 -W 1 176.218.188.69 2025-10-22 06:21:13,954 - DEBUG - PING 176.218.188.69 (176.218.188.69): 56 data bytes 64 bytes from 176.218.188.69: seq=0 ttl=63 time=3.960 ms 64 bytes from 176.218.188.69: seq=1 ttl=63 time=1.410 ms 64 bytes from 176.218.188.69: seq=2 ttl=63 time=1.303 ms --- 176.218.188.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.303/2.224/3.960 ms 2025-10-22 06:21:13,955 - INFO - Ping to IP 176.218.188.69 from VM ctest-vn1-vm2-19158150 passed 2025-10-22 06:21:13,955 - INFO - Detaching port 9a12b14b-1ecb-4751-aae5-a2e30da74e0e from VM ctest-vn1-vm2-19158150 2025-10-22 06:21:14,011 - INFO - Deleting VM ctest-vn1-vm2-19158150 2025-10-22 06:21:14,085 - INFO - Detaching port b9a0d585-d225-40c9-bd3b-370291861f0f from VM ctest-vn1-vm1-86127084 2025-10-22 06:21:14,123 - INFO - Deleting VM ctest-vn1-vm1-86127084 2025-10-22 06:21:14,391 - DEBUG - Response for delete_port : () 2025-10-22 06:21:14,594 - DEBUG - Response for delete_port : () 2025-10-22 06:21:14,594 - INFO - Deleting VN ctest-vn1-66066682 2025-10-22 06:21:14,771 - DEBUG - Response for deleting network () 2025-10-22 06:21:15,049 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 06:21:15,049 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-10-22 06:21:15,049 - INFO - -------------------------------------------------------------------------------- 2025-10-22 06:21:15,784 - INFO - Deleted project: ctest-TestPorts-86112181, ID : 190849d5-4cc2-4178-9a4a-3f8483b33467