2025-12-26 21:44:37,643 - INFO - Domain Default found not creating 2025-12-26 21:44:37,790 - INFO - Project ctest-TestPorts-57462760 not found, creating it 2025-12-26 21:44:38,243 - INFO - Created Project:ctest-TestPorts-57462760, ID : f5d7c7c7-0757-4b5d-baaa-10aeec2f4b6d 2025-12-26 21:44:39,652 - INFO - ================================================================================ 2025-12-26 21:44:39,652 - INFO - STARTING TEST : test_ports_bindings 2025-12-26 21:44:39,652 - 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-12-26 21:44:39,915 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-26 21:44:39,915 - INFO - Initial checks done. Running the testcase now 2025-12-26 21:44:39,915 - INFO - 2025-12-26 21:44:40,713 - DEBUG - Response for create_network : {'network': {'id': '9a82d49b-7e4b-4c2c-94e2-3f011acb5bf0', 'name': 'ctest-vn-52833423', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57462760', 'ctest-vn-52833423'], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:44:40,922 - DEBUG - Response for create_subnet : {'subnet': {'id': '9eff6556-2865-47f0-8a46-9640e3976c7d', 'name': '', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'network_id': '9a82d49b-7e4b-4c2c-94e2-3f011acb5bf0', 'ip_version': 4, 'cidr': '112.196.106.0/26', 'allocation_pools': [{'start': '112.196.106.2', 'end': '112.196.106.62'}], 'gateway_ip': '112.196.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.196.106.2', 'tags': [], 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d'}} 2025-12-26 21:44:40,942 - INFO - Created VN ctest-vn-52833423 2025-12-26 21:44:40,998 - DEBUG - VN ctest-vn-52833423 UUID is 9a82d49b-7e4b-4c2c-94e2-3f011acb5bf0 2025-12-26 21:44:41,107 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-57462760', 'ctest-vmi-53884075']} 2025-12-26 21:44:41,377 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-53884075', 'id': '96b4211e-9d2b-454b-8e3a-77979080fbd3', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'network_id': '9a82d49b-7e4b-4c2c-94e2-3f011acb5bf0', 'mac_address': '02:96:b4:21:1e:9d', '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': '112.196.106.3', 'subnet_id': '9eff6556-2865-47f0-8a46-9640e3976c7d'}], 'security_groups': ['7974adf3-47b0-4588-ab5e-4b798fda3cd9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d'}} 2025-12-26 21:44:41,377 - DEBUG - Created port 96b4211e-9d2b-454b-8e3a-77979080fbd3 2025-12-26 21:44:41,486 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96b4211e-9d2b-454b-8e3a-77979080fbd3 2025-12-26 21:44:41,783 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96b4211e-9d2b-454b-8e3a-77979080fbd3 2025-12-26 21:44:41,824 - INFO - VMI 96b4211e-9d2b-454b-8e3a-77979080fbd3 verification in API Server passed 2025-12-26 21:44:41,918 - DEBUG - Response for delete_port : () 2025-12-26 21:44:41,918 - INFO - Deleted port 96b4211e-9d2b-454b-8e3a-77979080fbd3 2025-12-26 21:44:41,918 - INFO - Deleting VN ctest-vn-52833423 2025-12-26 21:44:42,020 - DEBUG - Response for deleting network () 2025-12-26 21:44:42,277 - DEBUG - No XMPP flaps were noticed during the test
2025-12-26 21:44:42,277 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-26 21:44:42,277 - INFO - -------------------------------------------------------------------------------- 2025-12-26 21:44:42,280 - INFO - ================================================================================ 2025-12-26 21:44:42,280 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-26 21:44:42,280 - 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-12-26 21:44:42,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-26 21:44:42,567 - INFO - Initial checks done. Running the testcase now 2025-12-26 21:44:42,567 - INFO - 2025-12-26 21:44:42,737 - DEBUG - Response for create_network : {'network': {'id': '33a5dbce-7868-423d-92bb-860d200a314d', 'name': 'ctest-vn1-12489011', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-57462760', 'ctest-vn1-12489011'], 'port_security_enabled': True, 'description': ''}} 2025-12-26 21:44:42,934 - DEBUG - Response for create_subnet : {'subnet': {'id': '00ec03fc-546e-4696-a627-9895d93cc5f0', 'name': '', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'network_id': '33a5dbce-7868-423d-92bb-860d200a314d', 'ip_version': 4, 'cidr': '212.164.179.192/26', 'allocation_pools': [{'start': '212.164.179.194', 'end': '212.164.179.254'}], 'gateway_ip': '212.164.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.164.179.194', 'tags': [], 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d'}} 2025-12-26 21:44:43,140 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8fd5733-21e0-4454-b1b0-59ec51197b15', 'name': '', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'network_id': '33a5dbce-7868-423d-92bb-860d200a314d', 'ip_version': 4, 'cidr': '66.206.197.128/26', 'allocation_pools': [{'start': '66.206.197.130', 'end': '66.206.197.190'}], 'gateway_ip': '66.206.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.206.197.130', 'tags': [], 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d'}} 2025-12-26 21:44:43,161 - INFO - Created VN ctest-vn1-12489011 2025-12-26 21:44:43,214 - DEBUG - VN ctest-vn1-12489011 UUID is 33a5dbce-7868-423d-92bb-860d200a314d 2025-12-26 21:44:43,503 - DEBUG - Response for create_port : {'port': {'name': '6727e66a-b165-47fc-9a73-ae4d333a2b94', 'id': '6727e66a-b165-47fc-9a73-ae4d333a2b94', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'network_id': '33a5dbce-7868-423d-92bb-860d200a314d', 'mac_address': '02:67:27:e6:6a:b1', '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': '212.164.179.197', 'subnet_id': '00ec03fc-546e-4696-a627-9895d93cc5f0'}], 'security_groups': ['7974adf3-47b0-4588-ab5e-4b798fda3cd9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d'}} 2025-12-26 21:44:43,685 - DEBUG - Response for create_port : {'port': {'name': '590c8e47-e0ce-4e94-937d-e0de6ebe9226', 'id': '590c8e47-e0ce-4e94-937d-e0de6ebe9226', 'tenant_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d', 'network_id': '33a5dbce-7868-423d-92bb-860d200a314d', 'mac_address': '02:59:0c:8e:47:e0', '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': '66.206.197.133', 'subnet_id': 'a8fd5733-21e0-4454-b1b0-59ec51197b15'}], 'security_groups': ['7974adf3-47b0-4588-ab5e-4b798fda3cd9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f5d7c7c707574b5dbaaa10aeec2f4b6d'}} 2025-12-26 21:44:43,742 - DEBUG - Services list from nova: [, , ] 2025-12-26 21:44:44,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4929-1) 2025-12-26 21:44:44,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4929-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4929-1) 2025-12-26 21:44:44,532 - INFO - Waiting for VM ctest-vn1-vm1-72755514 to be up.. 2025-12-26 21:44:44,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-26 21:44:49,640 - DEBUG - VM is in ACTIVE state now 2025-12-26 21:44:49,641 - INFO - VM name : ctest-vn1-vm1-72755514 2025-12-26 21:44:49,712 - DEBUG - VM ctest-vn1-vm1-72755514 ID is e7ef6b9c-c821-42f6-a7ff-9c3a2005dd5f 2025-12-26 21:44:49,734 - DEBUG - VM ctest-vn1-vm1-72755514 launched on Node cn-jenkins-deploy-platform-ansible-os-4929-1 2025-12-26 21:44:49,804 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e7ef6b9c-c821-42f6-a7ff-9c3a2005dd5f 2025-12-26 21:44:49,811 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6727e66a-b165-47fc-9a73-ae4d333a2b94 2025-12-26 21:44:53,053 - 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 1010ms') 2025-12-26 21:44:53,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72755514 failed! 2025-12-26 21:44:53,114 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57462760:ctest-vn1-12489011 is 212.164.179.193 and allocation pool is NOT set 2025-12-26 21:44:53,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-57462760:ctest-vn1-12489011 is 66.206.197.129 and allocation pool is NOT set 2025-12-26 21:44:55,178 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.913 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.913/5.782/10.651/4.869 ms') 2025-12-26 21:44:55,178 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72755514 passed 2025-12-26 21:44:55,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:44:55,330 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72755514, IP 212.164.179.197, Port 22 2025-12-26 21:44:55,385 - 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-12-26 21:44:55,463 - DEBUG - VM ctest-vn1-vm1-72755514 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-26 21:45:00,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:45:00,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72755514, IP 212.164.179.197, Port 22 2025-12-26 21:45:00,625 - DEBUG - VM ctest-vn1-vm1-72755514 is ready for SSH connections 2025-12-26 21:45:00,625 - INFO - Waiting for VM ctest-vn1-vm2-77591358 to be up.. 2025-12-26 21:45:00,704 - DEBUG - VM is in ACTIVE state now 2025-12-26 21:45:00,704 - INFO - VM name : ctest-vn1-vm2-77591358 2025-12-26 21:45:00,771 - DEBUG - VM ctest-vn1-vm2-77591358 ID is dcaa2025-d3ff-46d9-8a8c-30492b099630 2025-12-26 21:45:00,772 - DEBUG - VM ctest-vn1-vm2-77591358 launched on Node cn-jenkins-deploy-platform-ansible-os-4929-1 2025-12-26 21:45:00,842 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/dcaa2025-d3ff-46d9-8a8c-30492b099630 2025-12-26 21:45:00,852 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/590c8e47-e0ce-4e94-937d-e0de6ebe9226 2025-12-26 21:45:02,089 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.340 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.340/1.559/2.779/1.219 ms') 2025-12-26 21:45:02,090 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-77591358 passed 2025-12-26 21:45:02,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:45:02,242 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-77591358, IP 66.206.197.133, Port 22 2025-12-26 21:45:02,397 - DEBUG - VM ctest-vn1-vm2-77591358 is ready for SSH connections 2025-12-26 21:45:02,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:45:02,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:45:02,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-26 21:45:02,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.164.179.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-26 21:45:02,397 - DEBUG - ping -s 56 -c 3 -W 1 212.164.179.197 2025-12-26 21:45:05,097 - DEBUG - PING 212.164.179.197 (212.164.179.197): 56 data bytes 64 bytes from 212.164.179.197: seq=0 ttl=63 time=5.064 ms 64 bytes from 212.164.179.197: seq=1 ttl=63 time=0.857 ms 64 bytes from 212.164.179.197: seq=2 ttl=63 time=0.992 ms --- 212.164.179.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.857/2.304/5.064 ms 2025-12-26 21:45:05,097 - INFO - Ping to IP 212.164.179.197 from VM ctest-vn1-vm2-77591358 passed 2025-12-26 21:45:05,097 - INFO - Detaching port 590c8e47-e0ce-4e94-937d-e0de6ebe9226 from VM ctest-vn1-vm2-77591358 2025-12-26 21:45:05,143 - INFO - Deleting VM ctest-vn1-vm2-77591358 2025-12-26 21:45:05,210 - INFO - Detaching port 6727e66a-b165-47fc-9a73-ae4d333a2b94 from VM ctest-vn1-vm1-72755514 2025-12-26 21:45:05,245 - INFO - Deleting VM ctest-vn1-vm1-72755514 2025-12-26 21:45:05,485 - DEBUG - Response for delete_port : () 2025-12-26 21:45:05,663 - DEBUG - Response for delete_port : () 2025-12-26 21:45:05,663 - INFO - Deleting VN ctest-vn1-12489011 2025-12-26 21:45:05,823 - DEBUG - Response for deleting network () 2025-12-26 21:45:06,079 - DEBUG - No XMPP flaps were noticed during the test
2025-12-26 21:45:06,079 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-26 21:45:06,079 - INFO - -------------------------------------------------------------------------------- 2025-12-26 21:45:06,771 - INFO - Deleted project: ctest-TestPorts-57462760, ID : f5d7c7c7-0757-4b5d-baaa-10aeec2f4b6d