2025-08-07 02:14:51,034 - INFO - Domain Default found not creating 2025-08-07 02:14:51,212 - INFO - Project ctest-TestPorts-99098261 not found, creating it 2025-08-07 02:14:51,695 - INFO - Created Project:ctest-TestPorts-99098261, ID : 51457693-031f-4989-acbe-6344a1faae7e 2025-08-07 02:14:53,382 - INFO - ================================================================================ 2025-08-07 02:14:53,382 - INFO - STARTING TEST : test_ports_bindings 2025-08-07 02:14:53,382 - 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-08-07 02:14:53,655 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-08-07 02:14:53,655 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:14:53,656 - INFO - 2025-08-07 02:14:54,281 - DEBUG - Response for create_network : {'network': {'id': '17b7e4e7-fcfa-4b9f-8b9b-0ad32dd7f946', 'name': 'ctest-vn-48435139', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'project_id': '51457693031f4989acbe6344a1faae7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99098261', 'ctest-vn-48435139'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:14:54,465 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fe44436-0907-41d7-a72a-13df92eb68f5', 'name': '', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'network_id': '17b7e4e7-fcfa-4b9f-8b9b-0ad32dd7f946', 'ip_version': 4, 'cidr': '164.183.13.192/26', 'allocation_pools': [{'start': '164.183.13.194', 'end': '164.183.13.254'}], 'gateway_ip': '164.183.13.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.183.13.194', 'tags': [], 'project_id': '51457693031f4989acbe6344a1faae7e'}} 2025-08-07 02:14:54,486 - INFO - Created VN ctest-vn-48435139 2025-08-07 02:14:54,541 - DEBUG - VN ctest-vn-48435139 UUID is 17b7e4e7-fcfa-4b9f-8b9b-0ad32dd7f946 2025-08-07 02:14:54,666 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-99098261', 'ctest-vmi-84605136']} 2025-08-07 02:14:54,937 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-84605136', 'id': '1dc9a518-a06a-46a1-828c-e1fd93397f6b', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'network_id': '17b7e4e7-fcfa-4b9f-8b9b-0ad32dd7f946', 'mac_address': '02:1d:c9:a5:18:a0', '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': '164.183.13.195', 'subnet_id': '2fe44436-0907-41d7-a72a-13df92eb68f5'}], 'security_groups': ['3118a08e-5ffc-4a99-b0b7-b70e6b1ab5aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '51457693031f4989acbe6344a1faae7e'}} 2025-08-07 02:14:54,937 - DEBUG - Created port 1dc9a518-a06a-46a1-828c-e1fd93397f6b 2025-08-07 02:14:55,049 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1dc9a518-a06a-46a1-828c-e1fd93397f6b 2025-08-07 02:14:55,404 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1dc9a518-a06a-46a1-828c-e1fd93397f6b 2025-08-07 02:14:55,446 - INFO - VMI 1dc9a518-a06a-46a1-828c-e1fd93397f6b verification in API Server passed 2025-08-07 02:14:55,551 - DEBUG - Response for delete_port : () 2025-08-07 02:14:55,552 - INFO - Deleted port 1dc9a518-a06a-46a1-828c-e1fd93397f6b 2025-08-07 02:14:55,552 - INFO - Deleting VN ctest-vn-48435139 2025-08-07 02:14:55,672 - DEBUG - Response for deleting network () 2025-08-07 02:14:55,933 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:14:55,933 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-07 02:14:55,933 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:14:55,936 - INFO - ================================================================================ 2025-08-07 02:14:55,936 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-07 02:14:55,936 - 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-08-07 02:14:56,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-08-07 02:14:56,220 - INFO - Initial checks done. Running the testcase now 2025-08-07 02:14:56,220 - INFO - 2025-08-07 02:14:56,428 - DEBUG - Response for create_network : {'network': {'id': '57195d8d-b299-41f2-9aba-20148caf5273', 'name': 'ctest-vn1-37023766', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'project_id': '51457693031f4989acbe6344a1faae7e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-99098261', 'ctest-vn1-37023766'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 02:14:56,601 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcee41b5-eea9-4f62-9b46-ec4976c5ab93', 'name': '', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'network_id': '57195d8d-b299-41f2-9aba-20148caf5273', 'ip_version': 4, 'cidr': '36.134.8.64/26', 'allocation_pools': [{'start': '36.134.8.66', 'end': '36.134.8.126'}], 'gateway_ip': '36.134.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.134.8.66', 'tags': [], 'project_id': '51457693031f4989acbe6344a1faae7e'}} 2025-08-07 02:14:56,788 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a01b99e-22a0-4616-bf18-b590fb5e8495', 'name': '', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'network_id': '57195d8d-b299-41f2-9aba-20148caf5273', 'ip_version': 4, 'cidr': '41.239.176.0/26', 'allocation_pools': [{'start': '41.239.176.2', 'end': '41.239.176.62'}], 'gateway_ip': '41.239.176.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.239.176.2', 'tags': [], 'project_id': '51457693031f4989acbe6344a1faae7e'}} 2025-08-07 02:14:56,810 - INFO - Created VN ctest-vn1-37023766 2025-08-07 02:14:56,865 - DEBUG - VN ctest-vn1-37023766 UUID is 57195d8d-b299-41f2-9aba-20148caf5273 2025-08-07 02:14:57,208 - DEBUG - Response for create_port : {'port': {'name': '2a816252-9ae6-4828-ad51-b2cc7bb1fc94', 'id': '2a816252-9ae6-4828-ad51-b2cc7bb1fc94', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'network_id': '57195d8d-b299-41f2-9aba-20148caf5273', 'mac_address': '02:2a:81:62:52:9a', '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': '36.134.8.69', 'subnet_id': 'bcee41b5-eea9-4f62-9b46-ec4976c5ab93'}], 'security_groups': ['3118a08e-5ffc-4a99-b0b7-b70e6b1ab5aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '51457693031f4989acbe6344a1faae7e'}} 2025-08-07 02:14:57,442 - DEBUG - Response for create_port : {'port': {'name': 'dd44faee-5bbc-47c8-92e7-c3e71ffe87d1', 'id': 'dd44faee-5bbc-47c8-92e7-c3e71ffe87d1', 'tenant_id': '51457693031f4989acbe6344a1faae7e', 'network_id': '57195d8d-b299-41f2-9aba-20148caf5273', 'mac_address': '02:dd:44:fa:ee:5b', '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': '41.239.176.5', 'subnet_id': '8a01b99e-22a0-4616-bf18-b590fb5e8495'}], 'security_groups': ['3118a08e-5ffc-4a99-b0b7-b70e6b1ab5aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '51457693031f4989acbe6344a1faae7e'}} 2025-08-07 02:14:57,507 - DEBUG - Services list from nova: [, , ] 2025-08-07 02:14:57,921 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:14:58,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3766-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3766-1) 2025-08-07 02:14:58,425 - INFO - Waiting for VM ctest-vn1-vm1-63365664 to be up.. 2025-08-07 02:14:58,477 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-07 02:15:03,573 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:03,573 - INFO - VM name : ctest-vn1-vm1-63365664 2025-08-07 02:15:03,659 - DEBUG - VM ctest-vn1-vm1-63365664 ID is e075ffad-972c-4759-8b34-817fe44b1528 2025-08-07 02:15:03,679 - DEBUG - VM ctest-vn1-vm1-63365664 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:15:03,770 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/e075ffad-972c-4759-8b34-817fe44b1528 2025-08-07 02:15:03,781 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/2a816252-9ae6-4828-ad51-b2cc7bb1fc94 2025-08-07 02:15:07,064 - 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 1030ms') 2025-08-07 02:15:07,065 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63365664 failed! 2025-08-07 02:15:07,121 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99098261:ctest-vn1-37023766 is 36.134.8.65 and allocation pool is NOT set 2025-08-07 02:15:07,121 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-99098261:ctest-vn1-37023766 is 41.239.176.1 and allocation pool is NOT set 2025-08-07 02:15:11,197 - 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=10.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 10.012/10.012/10.012/0.000 ms') 2025-08-07 02:15:11,197 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63365664 passed 2025-08-07 02:15:11,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:11,358 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63365664, IP 36.134.8.69, Port 22 2025-08-07 02:15:11,427 - 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-08-07 02:15:11,535 - DEBUG - VM ctest-vn1-vm1-63365664 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-07 02:15:16,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:16,536 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63365664, IP 36.134.8.69, Port 22 2025-08-07 02:15:16,692 - DEBUG - VM ctest-vn1-vm1-63365664 is ready for SSH connections 2025-08-07 02:15:16,692 - INFO - Waiting for VM ctest-vn1-vm2-84838227 to be up.. 2025-08-07 02:15:16,776 - DEBUG - VM is in ACTIVE state now 2025-08-07 02:15:16,776 - INFO - VM name : ctest-vn1-vm2-84838227 2025-08-07 02:15:16,860 - DEBUG - VM ctest-vn1-vm2-84838227 ID is c2676761-9bc2-4013-a55b-1a5f6b490bb2 2025-08-07 02:15:16,860 - DEBUG - VM ctest-vn1-vm2-84838227 launched on Node cn-jenkins-deploy-platform-ansible-os-3766-1 2025-08-07 02:15:16,946 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/c2676761-9bc2-4013-a55b-1a5f6b490bb2 2025-08-07 02:15:16,957 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/dd44faee-5bbc-47c8-92e7-c3e71ffe87d1 2025-08-07 02:15:18,208 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.442 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.442/1.821/3.200/1.379 ms') 2025-08-07 02:15:18,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-84838227 passed 2025-08-07 02:15:18,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:18,365 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-84838227, IP 41.239.176.5, Port 22 2025-08-07 02:15:18,535 - DEBUG - VM ctest-vn1-vm2-84838227 is ready for SSH connections 2025-08-07 02:15:18,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:18,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:18,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-07 02:15:18,536 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.134.8.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-08-07 02:15:18,536 - DEBUG - ping -s 56 -c 3 -W 1 36.134.8.69 2025-08-07 02:15:21,222 - DEBUG - PING 36.134.8.69 (36.134.8.69): 56 data bytes 64 bytes from 36.134.8.69: seq=0 ttl=63 time=4.474 ms 64 bytes from 36.134.8.69: seq=1 ttl=63 time=1.131 ms 64 bytes from 36.134.8.69: seq=2 ttl=63 time=0.911 ms --- 36.134.8.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/2.172/4.474 ms 2025-08-07 02:15:21,222 - INFO - Ping to IP 36.134.8.69 from VM ctest-vn1-vm2-84838227 passed 2025-08-07 02:15:21,222 - INFO - Detaching port dd44faee-5bbc-47c8-92e7-c3e71ffe87d1 from VM ctest-vn1-vm2-84838227 2025-08-07 02:15:21,279 - INFO - Deleting VM ctest-vn1-vm2-84838227 2025-08-07 02:15:21,352 - INFO - Detaching port 2a816252-9ae6-4828-ad51-b2cc7bb1fc94 from VM ctest-vn1-vm1-63365664 2025-08-07 02:15:21,392 - INFO - Deleting VM ctest-vn1-vm1-63365664 2025-08-07 02:15:21,693 - DEBUG - Response for delete_port : () 2025-08-07 02:15:21,905 - DEBUG - Response for delete_port : () 2025-08-07 02:15:21,905 - INFO - Deleting VN ctest-vn1-37023766 2025-08-07 02:15:22,123 - DEBUG - Response for deleting network () 2025-08-07 02:15:22,390 - DEBUG - No XMPP flaps were noticed during the test
2025-08-07 02:15:22,390 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-08-07 02:15:22,390 - INFO - -------------------------------------------------------------------------------- 2025-08-07 02:15:23,177 - INFO - Deleted project: ctest-TestPorts-99098261, ID : 51457693-031f-4989-acbe-6344a1faae7e