2025-07-31 02:20:28,913 - INFO - Domain Default found not creating 2025-07-31 02:20:29,040 - INFO - Project ctest-TestPorts-81874676 not found, creating it 2025-07-31 02:20:29,476 - INFO - Created Project:ctest-TestPorts-81874676, ID : 9b7b7dcd-a5cd-4752-8727-c96c2dbc3b60 2025-07-31 02:20:30,906 - INFO - ================================================================================ 2025-07-31 02:20:30,906 - INFO - STARTING TEST : test_ports_bindings 2025-07-31 02:20:30,906 - 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-07-31 02:20:31,168 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-31 02:20:31,168 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:20:31,168 - INFO - 2025-07-31 02:20:31,695 - DEBUG - Response for create_network : {'network': {'id': '04c60d7f-442c-49e7-8b8d-eff5916a3eb6', 'name': 'ctest-vn-18966590', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81874676', 'ctest-vn-18966590'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:20:31,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '32abe0e3-fdf8-43c6-b8b7-51dc4a7e377d', 'name': '', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'network_id': '04c60d7f-442c-49e7-8b8d-eff5916a3eb6', 'ip_version': 4, 'cidr': '141.204.226.128/26', 'allocation_pools': [{'start': '141.204.226.130', 'end': '141.204.226.190'}], 'gateway_ip': '141.204.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.204.226.130', 'tags': [], 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60'}} 2025-07-31 02:20:31,909 - INFO - Created VN ctest-vn-18966590 2025-07-31 02:20:31,963 - DEBUG - VN ctest-vn-18966590 UUID is 04c60d7f-442c-49e7-8b8d-eff5916a3eb6 2025-07-31 02:20:32,066 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81874676', 'ctest-vmi-11373834']} 2025-07-31 02:20:32,332 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-11373834', 'id': 'fc1444b1-0505-46bf-bc6f-3d32230bb2f7', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'network_id': '04c60d7f-442c-49e7-8b8d-eff5916a3eb6', 'mac_address': '02:fc:14:44:b1:05', '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': '141.204.226.131', 'subnet_id': '32abe0e3-fdf8-43c6-b8b7-51dc4a7e377d'}], 'security_groups': ['08e0ef85-8388-4c88-a754-d4978613af1d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60'}} 2025-07-31 02:20:32,332 - DEBUG - Created port fc1444b1-0505-46bf-bc6f-3d32230bb2f7 2025-07-31 02:20:32,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fc1444b1-0505-46bf-bc6f-3d32230bb2f7 2025-07-31 02:20:32,729 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fc1444b1-0505-46bf-bc6f-3d32230bb2f7 2025-07-31 02:20:32,761 - INFO - VMI fc1444b1-0505-46bf-bc6f-3d32230bb2f7 verification in API Server passed 2025-07-31 02:20:32,842 - DEBUG - Response for delete_port : () 2025-07-31 02:20:32,842 - INFO - Deleted port fc1444b1-0505-46bf-bc6f-3d32230bb2f7 2025-07-31 02:20:32,842 - INFO - Deleting VN ctest-vn-18966590 2025-07-31 02:20:32,932 - DEBUG - Response for deleting network () 2025-07-31 02:20:33,192 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:20:33,193 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-07-31 02:20:33,193 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:20:33,195 - INFO - ================================================================================ 2025-07-31 02:20:33,195 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-31 02:20:33,195 - 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-07-31 02:20:33,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-31 02:20:33,480 - INFO - Initial checks done. Running the testcase now 2025-07-31 02:20:33,480 - INFO - 2025-07-31 02:20:33,653 - DEBUG - Response for create_network : {'network': {'id': '83da82ee-09e6-40a9-903a-248ca584b8c4', 'name': 'ctest-vn1-48718975', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81874676', 'ctest-vn1-48718975'], 'port_security_enabled': True, 'description': ''}} 2025-07-31 02:20:33,870 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2e20be0-859d-4bed-88b6-d4a36fb658b2', 'name': '', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'network_id': '83da82ee-09e6-40a9-903a-248ca584b8c4', 'ip_version': 4, 'cidr': '177.58.58.0/26', 'allocation_pools': [{'start': '177.58.58.2', 'end': '177.58.58.62'}], 'gateway_ip': '177.58.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.58.58.2', 'tags': [], 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60'}} 2025-07-31 02:20:34,046 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a332a95-c1d0-4b7e-8e71-24183e348c26', 'name': '', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'network_id': '83da82ee-09e6-40a9-903a-248ca584b8c4', 'ip_version': 4, 'cidr': '35.254.1.192/26', 'allocation_pools': [{'start': '35.254.1.194', 'end': '35.254.1.254'}], 'gateway_ip': '35.254.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.254.1.194', 'tags': [], 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60'}} 2025-07-31 02:20:34,064 - INFO - Created VN ctest-vn1-48718975 2025-07-31 02:20:34,119 - DEBUG - VN ctest-vn1-48718975 UUID is 83da82ee-09e6-40a9-903a-248ca584b8c4 2025-07-31 02:20:34,406 - DEBUG - Response for create_port : {'port': {'name': '7f9d3835-51f4-4cab-8570-1b4967f74aff', 'id': '7f9d3835-51f4-4cab-8570-1b4967f74aff', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'network_id': '83da82ee-09e6-40a9-903a-248ca584b8c4', 'mac_address': '02:7f:9d:38:35:51', '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': '177.58.58.5', 'subnet_id': 'f2e20be0-859d-4bed-88b6-d4a36fb658b2'}], 'security_groups': ['08e0ef85-8388-4c88-a754-d4978613af1d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60'}} 2025-07-31 02:20:34,569 - DEBUG - Response for create_port : {'port': {'name': '83793f03-6987-4464-8ea5-49f305a3bbbb', 'id': '83793f03-6987-4464-8ea5-49f305a3bbbb', 'tenant_id': '9b7b7dcda5cd47528727c96c2dbc3b60', 'network_id': '83da82ee-09e6-40a9-903a-248ca584b8c4', 'mac_address': '02:83:79:3f:03:69', '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': '35.254.1.197', 'subnet_id': '4a332a95-c1d0-4b7e-8e71-24183e348c26'}], 'security_groups': ['08e0ef85-8388-4c88-a754-d4978613af1d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9b7b7dcda5cd47528727c96c2dbc3b60'}} 2025-07-31 02:20:34,621 - DEBUG - Services list from nova: [, , ] 2025-07-31 02:20:34,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3728-1) 2025-07-31 02:20:35,387 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3728-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3728-1) 2025-07-31 02:20:35,387 - INFO - Waiting for VM ctest-vn1-vm1-53637368 to be up.. 2025-07-31 02:20:35,425 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-31 02:20:40,499 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:20:40,499 - INFO - VM name : ctest-vn1-vm1-53637368 2025-07-31 02:20:40,585 - DEBUG - VM ctest-vn1-vm1-53637368 ID is 98d024db-6231-4480-9255-c1e50880edb0 2025-07-31 02:20:40,604 - DEBUG - VM ctest-vn1-vm1-53637368 launched on Node cn-jenkins-deploy-platform-ansible-os-3728-1 2025-07-31 02:20:40,692 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/98d024db-6231-4480-9255-c1e50880edb0 2025-07-31 02:20:40,701 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7f9d3835-51f4-4cab-8570-1b4967f74aff 2025-07-31 02:20:43,974 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1026ms') 2025-07-31 02:20:43,974 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-53637368 failed! 2025-07-31 02:20:44,031 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81874676:ctest-vn1-48718975 is 177.58.58.1 and allocation pool is NOT set 2025-07-31 02:20:44,031 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81874676:ctest-vn1-48718975 is 35.254.1.193 and allocation pool is NOT set 2025-07-31 02:20:46,090 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.564 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.564/2.092/3.620/1.528 ms') 2025-07-31 02:20:46,090 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-53637368 passed 2025-07-31 02:20:46,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:20:46,243 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53637368, IP 177.58.58.5, Port 22 2025-07-31 02:20:46,298 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-31 02:20:46,368 - DEBUG - VM ctest-vn1-vm1-53637368 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-31 02:20:51,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:20:51,369 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53637368, IP 177.58.58.5, Port 22 2025-07-31 02:20:51,522 - DEBUG - VM ctest-vn1-vm1-53637368 is ready for SSH connections 2025-07-31 02:20:51,522 - INFO - Waiting for VM ctest-vn1-vm2-82097959 to be up.. 2025-07-31 02:20:51,590 - DEBUG - VM is in ACTIVE state now 2025-07-31 02:20:51,590 - INFO - VM name : ctest-vn1-vm2-82097959 2025-07-31 02:20:51,656 - DEBUG - VM ctest-vn1-vm2-82097959 ID is e86dd6df-7991-4d38-86ad-ca457b3a5af8 2025-07-31 02:20:51,656 - DEBUG - VM ctest-vn1-vm2-82097959 launched on Node cn-jenkins-deploy-platform-ansible-os-3728-1 2025-07-31 02:20:51,722 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e86dd6df-7991-4d38-86ad-ca457b3a5af8 2025-07-31 02:20:51,730 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/83793f03-6987-4464-8ea5-49f305a3bbbb 2025-07-31 02:20:52,974 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/1.590/2.795/1.204 ms') 2025-07-31 02:20:52,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-82097959 passed 2025-07-31 02:20:53,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:20:53,131 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-82097959, IP 35.254.1.197, Port 22 2025-07-31 02:20:53,286 - DEBUG - VM ctest-vn1-vm2-82097959 is ready for SSH connections 2025-07-31 02:20:53,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:20:53,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:20:53,287 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-31 02:20:53,287 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.58.58.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-31 02:20:53,287 - DEBUG - ping -s 56 -c 3 -W 1 177.58.58.5 2025-07-31 02:20:56,976 - DEBUG - PING 177.58.58.5 (177.58.58.5): 56 data bytes 64 bytes from 177.58.58.5: seq=0 ttl=63 time=4.040 ms 64 bytes from 177.58.58.5: seq=1 ttl=63 time=0.945 ms 64 bytes from 177.58.58.5: seq=2 ttl=63 time=0.735 ms --- 177.58.58.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.906/4.040 ms 2025-07-31 02:20:56,976 - INFO - Ping to IP 177.58.58.5 from VM ctest-vn1-vm2-82097959 passed 2025-07-31 02:20:56,976 - INFO - Detaching port 83793f03-6987-4464-8ea5-49f305a3bbbb from VM ctest-vn1-vm2-82097959 2025-07-31 02:20:57,023 - INFO - Deleting VM ctest-vn1-vm2-82097959 2025-07-31 02:20:57,087 - INFO - Detaching port 7f9d3835-51f4-4cab-8570-1b4967f74aff from VM ctest-vn1-vm1-53637368 2025-07-31 02:20:57,116 - INFO - Deleting VM ctest-vn1-vm1-53637368 2025-07-31 02:20:57,314 - DEBUG - Response for delete_port : () 2025-07-31 02:20:57,457 - DEBUG - Response for delete_port : () 2025-07-31 02:20:57,458 - INFO - Deleting VN ctest-vn1-48718975 2025-07-31 02:20:57,604 - DEBUG - Response for deleting network () 2025-07-31 02:20:57,856 - DEBUG - No XMPP flaps were noticed during the test 2025-07-31 02:20:57,856 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-07-31 02:20:57,856 - INFO - -------------------------------------------------------------------------------- 2025-07-31 02:20:58,550 - INFO - Deleted project: ctest-TestPorts-81874676, ID : 9b7b7dcd-a5cd-4752-8727-c96c2dbc3b60