2025-08-10 20:52:44,684 - INFO - Domain Default found not creating 2025-08-10 20:52:44,808 - INFO - Project ctest-TestPorts-86093143 not found, creating it 2025-08-10 20:52:45,328 - INFO - Created Project:ctest-TestPorts-86093143, ID : 116443a2-0d18-43ad-91cc-58c63a3b28aa 2025-08-10 20:52:46,648 - INFO - ================================================================================ 2025-08-10 20:52:46,649 - INFO - STARTING TEST : test_ports_bindings 2025-08-10 20:52:46,649 - 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-10 20:52:47,894 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.50': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2025-08-10 20:52:47,894 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:52:47,894 - INFO - 2025-08-10 20:52:48,487 - DEBUG - Response for create_network : {'network': {'id': '017bbaa6-2c0b-4b80-9ecb-0cbf2c2f0f65', 'name': 'ctest-vn-10868161', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'project_id': '116443a20d1843ad91cc58c63a3b28aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86093143', 'ctest-vn-10868161'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:52:48,738 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7c3bfd0-54f2-43ca-8a56-62358303c152', 'name': '', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'network_id': '017bbaa6-2c0b-4b80-9ecb-0cbf2c2f0f65', 'ip_version': 4, 'cidr': '124.44.93.128/26', 'allocation_pools': [{'start': '124.44.93.130', 'end': '124.44.93.190'}], 'gateway_ip': '124.44.93.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.44.93.130', 'tags': [], 'project_id': '116443a20d1843ad91cc58c63a3b28aa'}} 2025-08-10 20:52:48,756 - INFO - Created VN ctest-vn-10868161 2025-08-10 20:52:48,768 - DEBUG - VN ctest-vn-10868161 UUID is 017bbaa6-2c0b-4b80-9ecb-0cbf2c2f0f65 2025-08-10 20:52:48,829 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-86093143', 'ctest-vmi-46675684']} 2025-08-10 20:52:49,084 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46675684', 'id': '0ef22aa7-a8b0-46ae-ab31-8fcb02acb1f8', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'network_id': '017bbaa6-2c0b-4b80-9ecb-0cbf2c2f0f65', 'mac_address': '02:0e:f2:2a:a7:a8', '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': '124.44.93.131', 'subnet_id': 'a7c3bfd0-54f2-43ca-8a56-62358303c152'}], 'security_groups': ['e5e7980a-1097-4dff-8dfa-fb14b1b21c42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '116443a20d1843ad91cc58c63a3b28aa'}} 2025-08-10 20:52:49,084 - DEBUG - Created port 0ef22aa7-a8b0-46ae-ab31-8fcb02acb1f8 2025-08-10 20:52:49,146 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0ef22aa7-a8b0-46ae-ab31-8fcb02acb1f8 2025-08-10 20:52:49,432 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0ef22aa7-a8b0-46ae-ab31-8fcb02acb1f8 2025-08-10 20:52:49,463 - INFO - VMI 0ef22aa7-a8b0-46ae-ab31-8fcb02acb1f8 verification in API Server passed 2025-08-10 20:52:49,590 - DEBUG - Response for delete_port : () 2025-08-10 20:52:49,590 - INFO - Deleted port 0ef22aa7-a8b0-46ae-ab31-8fcb02acb1f8 2025-08-10 20:52:49,590 - INFO - Deleting VN ctest-vn-10868161 2025-08-10 20:52:49,762 - DEBUG - Response for deleting network () 2025-08-10 20:52:51,022 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 20:52:51,022 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-08-10 20:52:51,022 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:52:51,025 - INFO - ================================================================================ 2025-08-10 20:52:51,025 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-10 20:52:51,025 - 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-10 20:52:52,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.50': {'10.20.0.25': '0', '10.20.0.17': '0'}} with 2025-08-10 20:52:52,270 - INFO - Initial checks done. Running the testcase now 2025-08-10 20:52:52,270 - INFO - 2025-08-10 20:52:52,557 - DEBUG - Response for create_network : {'network': {'id': '20b28fc2-4124-4231-9578-0ea4fc1743ee', 'name': 'ctest-vn1-32788826', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'project_id': '116443a20d1843ad91cc58c63a3b28aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-86093143', 'ctest-vn1-32788826'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 20:52:52,827 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b101c8e1-24bd-4c39-8569-2ee1e0393744', 'name': '', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'network_id': '20b28fc2-4124-4231-9578-0ea4fc1743ee', 'ip_version': 4, 'cidr': '4.63.113.128/26', 'allocation_pools': [{'start': '4.63.113.130', 'end': '4.63.113.190'}], 'gateway_ip': '4.63.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.63.113.130', 'tags': [], 'project_id': '116443a20d1843ad91cc58c63a3b28aa'}} 2025-08-10 20:52:53,070 - DEBUG - Response for create_subnet : {'subnet': {'id': '43253498-b0bd-4e2d-b598-4e36084cf65a', 'name': '', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'network_id': '20b28fc2-4124-4231-9578-0ea4fc1743ee', 'ip_version': 4, 'cidr': '92.102.224.64/26', 'allocation_pools': [{'start': '92.102.224.66', 'end': '92.102.224.126'}], 'gateway_ip': '92.102.224.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.102.224.66', 'tags': [], 'project_id': '116443a20d1843ad91cc58c63a3b28aa'}} 2025-08-10 20:52:53,090 - INFO - Created VN ctest-vn1-32788826 2025-08-10 20:52:53,099 - DEBUG - VN ctest-vn1-32788826 UUID is 20b28fc2-4124-4231-9578-0ea4fc1743ee 2025-08-10 20:52:53,390 - DEBUG - Response for create_port : {'port': {'name': '30d1021d-317b-4575-bc33-1cd46815061c', 'id': '30d1021d-317b-4575-bc33-1cd46815061c', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'network_id': '20b28fc2-4124-4231-9578-0ea4fc1743ee', 'mac_address': '02:30:d1:02:1d:31', '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': '4.63.113.133', 'subnet_id': 'b101c8e1-24bd-4c39-8569-2ee1e0393744'}], 'security_groups': ['e5e7980a-1097-4dff-8dfa-fb14b1b21c42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '116443a20d1843ad91cc58c63a3b28aa'}} 2025-08-10 20:52:53,666 - DEBUG - Response for create_port : {'port': {'name': '42a4c32a-feae-4476-83a8-d8d90e195ca1', 'id': '42a4c32a-feae-4476-83a8-d8d90e195ca1', 'tenant_id': '116443a20d1843ad91cc58c63a3b28aa', 'network_id': '20b28fc2-4124-4231-9578-0ea4fc1743ee', 'mac_address': '02:42:a4:c3:2a:fe', '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': '92.102.224.69', 'subnet_id': '43253498-b0bd-4e2d-b598-4e36084cf65a'}], 'security_groups': ['e5e7980a-1097-4dff-8dfa-fb14b1b21c42'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '116443a20d1843ad91cc58c63a3b28aa'}} 2025-08-10 20:52:53,716 - DEBUG - Services list from nova: [, , , ] 2025-08-10 20:52:54,130 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3790-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3790-1) 2025-08-10 20:52:54,655 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3790-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3790-2) 2025-08-10 20:52:54,655 - INFO - Waiting for VM ctest-vn1-vm1-38870217 to be up.. 2025-08-10 20:52:54,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 20:52:59,774 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:52:59,774 - INFO - VM name : ctest-vn1-vm1-38870217 2025-08-10 20:52:59,840 - DEBUG - VM ctest-vn1-vm1-38870217 ID is e5b0f147-2775-4f6a-9802-42b903168a8d 2025-08-10 20:52:59,862 - DEBUG - VM ctest-vn1-vm1-38870217 launched on Node an-jenkins-deploy-platform-ansible-os-3790-1 2025-08-10 20:52:59,925 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e5b0f147-2775-4f6a-9802-42b903168a8d 2025-08-10 20:53:00,218 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e5b0f147-2775-4f6a-9802-42b903168a8d 2025-08-10 20:53:00,247 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/30d1021d-317b-4575-bc33-1cd46815061c 2025-08-10 20:53:03,470 - 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 1020ms') 2025-08-10 20:53:03,471 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38870217 failed! 2025-08-10 20:53:03,483 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86093143:ctest-vn1-32788826 is 4.63.113.129 and allocation pool is NOT set 2025-08-10 20:53:03,483 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-86093143:ctest-vn1-32788826 is 92.102.224.65 and allocation pool is NOT set 2025-08-10 20:53:05,542 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.753 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.753/1.976/3.199/1.223 ms') 2025-08-10 20:53:05,542 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38870217 passed 2025-08-10 20:53:05,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:05,651 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38870217, IP 4.63.113.133, Port 22 2025-08-10 20:53:05,804 - DEBUG - VM ctest-vn1-vm1-38870217 is ready for SSH connections 2025-08-10 20:53:05,804 - INFO - Waiting for VM ctest-vn1-vm2-53616378 to be up.. 2025-08-10 20:53:05,872 - DEBUG - VM is in ACTIVE state now 2025-08-10 20:53:05,872 - INFO - VM name : ctest-vn1-vm2-53616378 2025-08-10 20:53:05,938 - DEBUG - VM ctest-vn1-vm2-53616378 ID is d86fd07d-7d2e-4eaa-ba99-d621e9e5651f 2025-08-10 20:53:05,938 - DEBUG - VM ctest-vn1-vm2-53616378 launched on Node an-jenkins-deploy-platform-ansible-os-3790-2 2025-08-10 20:53:06,089 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/d86fd07d-7d2e-4eaa-ba99-d621e9e5651f 2025-08-10 20:53:06,097 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/42a4c32a-feae-4476-83a8-d8d90e195ca1 2025-08-10 20:53:07,284 - 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=2.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.341 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.341/1.428/2.515/1.087 ms') 2025-08-10 20:53:07,284 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-53616378 passed 2025-08-10 20:53:07,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:07,391 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-53616378, IP 92.102.224.69, Port 22 2025-08-10 20:53:07,546 - DEBUG - VM ctest-vn1-vm2-53616378 is ready for SSH connections 2025-08-10 20:53:07,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:07,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:07,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 20:53:07,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.63.113.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-10 20:53:07,547 - DEBUG - ping -s 56 -c 3 -W 1 4.63.113.133 2025-08-10 20:53:10,378 - DEBUG - PING 4.63.113.133 (4.63.113.133): 56 data bytes 64 bytes from 4.63.113.133: seq=0 ttl=63 time=4.580 ms 64 bytes from 4.63.113.133: seq=1 ttl=63 time=0.854 ms 64 bytes from 4.63.113.133: seq=2 ttl=63 time=0.863 ms --- 4.63.113.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/2.099/4.580 ms 2025-08-10 20:53:10,378 - INFO - Ping to IP 4.63.113.133 from VM ctest-vn1-vm2-53616378 passed 2025-08-10 20:53:10,378 - INFO - Detaching port 42a4c32a-feae-4476-83a8-d8d90e195ca1 from VM ctest-vn1-vm2-53616378 2025-08-10 20:53:10,425 - INFO - Deleting VM ctest-vn1-vm2-53616378 2025-08-10 20:53:10,485 - INFO - Detaching port 30d1021d-317b-4575-bc33-1cd46815061c from VM ctest-vn1-vm1-38870217 2025-08-10 20:53:10,513 - INFO - Deleting VM ctest-vn1-vm1-38870217 2025-08-10 20:53:10,778 - DEBUG - Response for delete_port : () 2025-08-10 20:53:10,963 - DEBUG - Response for delete_port : () 2025-08-10 20:53:10,963 - INFO - Deleting VN ctest-vn1-32788826 2025-08-10 20:53:11,098 - DEBUG - Response for deleting network () 2025-08-10 20:53:12,354 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 20:53:12,354 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-10 20:53:12,354 - INFO - -------------------------------------------------------------------------------- 2025-08-10 20:53:13,010 - INFO - Deleted project: ctest-TestPorts-86093143, ID : 116443a2-0d18-43ad-91cc-58c63a3b28aa