2025-09-23 22:47:36,136 - INFO - Domain Default found not creating
2025-09-23 22:47:36,267 - INFO - Project ctest-TestPorts-27862340 not found, creating it
2025-09-23 22:47:36,687 - INFO - Created Project:ctest-TestPorts-27862340, ID : a1f352db-2db1-40b0-ac19-2718456e49d6
2025-09-23 22:47:38,751 - INFO - ================================================================================
2025-09-23 22:47:38,751 - INFO - STARTING TEST : test_ports_bindings
2025-09-23 22:47:38,751 - 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-09-23 22:47:39,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-23 22:47:39,003 - INFO - Initial checks done. Running the testcase now
2025-09-23 22:47:39,003 - INFO -
2025-09-23 22:47:39,525 - DEBUG - Response for create_network : {'network': {'id': '228b9953-0f0e-4058-964b-cf4ca3e0cc8e', 'name': 'ctest-vn-87200519', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'project_id': 'a1f352db2db140b0ac192718456e49d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27862340', 'ctest-vn-87200519'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 22:47:39,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '26b539f7-45b4-4a84-9a52-13d21ff9e152', 'name': '', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'network_id': '228b9953-0f0e-4058-964b-cf4ca3e0cc8e', 'ip_version': 4, 'cidr': '75.52.178.0/26', 'allocation_pools': [{'start': '75.52.178.2', 'end': '75.52.178.62'}], 'gateway_ip': '75.52.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.52.178.2', 'tags': [], 'project_id': 'a1f352db2db140b0ac192718456e49d6'}}
2025-09-23 22:47:39,706 - INFO - Created VN ctest-vn-87200519
2025-09-23 22:47:39,758 - DEBUG - VN ctest-vn-87200519 UUID is 228b9953-0f0e-4058-964b-cf4ca3e0cc8e
2025-09-23 22:47:39,866 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27862340', 'ctest-vmi-20482587']}
2025-09-23 22:47:40,105 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20482587', 'id': 'f4cad754-d940-410e-934d-94da6f31a2f9', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'network_id': '228b9953-0f0e-4058-964b-cf4ca3e0cc8e', 'mac_address': '02:f4:ca:d7:54:d9', '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': '75.52.178.3', 'subnet_id': '26b539f7-45b4-4a84-9a52-13d21ff9e152'}], 'security_groups': ['da6c7017-9fd1-4b93-b721-c1dd1dbccdfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a1f352db2db140b0ac192718456e49d6'}}
2025-09-23 22:47:40,105 - DEBUG - Created port f4cad754-d940-410e-934d-94da6f31a2f9
2025-09-23 22:47:40,206 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f4cad754-d940-410e-934d-94da6f31a2f9
2025-09-23 22:47:40,495 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f4cad754-d940-410e-934d-94da6f31a2f9
2025-09-23 22:47:40,526 - INFO - VMI f4cad754-d940-410e-934d-94da6f31a2f9 verification in API Server passed
2025-09-23 22:47:40,611 - DEBUG - Response for delete_port : ()
2025-09-23 22:47:40,611 - INFO - Deleted port f4cad754-d940-410e-934d-94da6f31a2f9
2025-09-23 22:47:40,612 - INFO - Deleting VN ctest-vn-87200519
2025-09-23 22:47:40,709 - DEBUG - Response for deleting network ()
2025-09-23 22:47:40,963 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 22:47:40,964 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-23 22:47:40,964 - INFO - --------------------------------------------------------------------------------
2025-09-23 22:47:40,966 - INFO - ================================================================================
2025-09-23 22:47:40,966 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-23 22:47:40,966 - 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-09-23 22:47:41,251 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-23 22:47:41,251 - INFO - Initial checks done. Running the testcase now
2025-09-23 22:47:41,251 - INFO -
2025-09-23 22:47:41,426 - DEBUG - Response for create_network : {'network': {'id': '2156a635-145c-4e6a-8569-c01c4eb7c059', 'name': 'ctest-vn1-29561387', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'project_id': 'a1f352db2db140b0ac192718456e49d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27862340', 'ctest-vn1-29561387'], 'port_security_enabled': True, 'description': ''}}
2025-09-23 22:47:41,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '10be2396-f2ba-4fb4-b687-4f3c51cdaf7b', 'name': '', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'network_id': '2156a635-145c-4e6a-8569-c01c4eb7c059', 'ip_version': 4, 'cidr': '103.9.153.128/26', 'allocation_pools': [{'start': '103.9.153.130', 'end': '103.9.153.190'}], 'gateway_ip': '103.9.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.9.153.130', 'tags': [], 'project_id': 'a1f352db2db140b0ac192718456e49d6'}}
2025-09-23 22:47:41,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '03734efe-1dde-4421-bffb-4cedbd00ea36', 'name': '', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'network_id': '2156a635-145c-4e6a-8569-c01c4eb7c059', 'ip_version': 4, 'cidr': '184.28.249.128/26', 'allocation_pools': [{'start': '184.28.249.130', 'end': '184.28.249.190'}], 'gateway_ip': '184.28.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.28.249.130', 'tags': [], 'project_id': 'a1f352db2db140b0ac192718456e49d6'}}
2025-09-23 22:47:41,793 - INFO - Created VN ctest-vn1-29561387
2025-09-23 22:47:41,842 - DEBUG - VN ctest-vn1-29561387 UUID is 2156a635-145c-4e6a-8569-c01c4eb7c059
2025-09-23 22:47:42,162 - DEBUG - Response for create_port : {'port': {'name': 'ef6c2caa-a7e2-43c6-99c1-fed074d0ca5b', 'id': 'ef6c2caa-a7e2-43c6-99c1-fed074d0ca5b', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'network_id': '2156a635-145c-4e6a-8569-c01c4eb7c059', 'mac_address': '02:ef:6c:2c:aa:a7', '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': '103.9.153.133', 'subnet_id': '10be2396-f2ba-4fb4-b687-4f3c51cdaf7b'}], 'security_groups': ['da6c7017-9fd1-4b93-b721-c1dd1dbccdfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a1f352db2db140b0ac192718456e49d6'}}
2025-09-23 22:47:42,338 - DEBUG - Response for create_port : {'port': {'name': 'f96c320a-9296-4b11-9d8d-c86171ee96ee', 'id': 'f96c320a-9296-4b11-9d8d-c86171ee96ee', 'tenant_id': 'a1f352db2db140b0ac192718456e49d6', 'network_id': '2156a635-145c-4e6a-8569-c01c4eb7c059', 'mac_address': '02:f9:6c:32:0a:92', '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': '184.28.249.133', 'subnet_id': '03734efe-1dde-4421-bffb-4cedbd00ea36'}], 'security_groups': ['da6c7017-9fd1-4b93-b721-c1dd1dbccdfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a1f352db2db140b0ac192718456e49d6'}}
2025-09-23 22:47:42,389 - DEBUG - Services list from nova: [, , ]
2025-09-23 22:47:42,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4179-1)
2025-09-23 22:47:43,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4179-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4179-1)
2025-09-23 22:47:43,112 - INFO - Waiting for VM ctest-vn1-vm1-95148621 to be up..
2025-09-23 22:47:43,153 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-23 22:47:48,238 - DEBUG - VM is in ACTIVE state now
2025-09-23 22:47:48,238 - INFO - VM name : ctest-vn1-vm1-95148621
2025-09-23 22:47:48,315 - DEBUG - VM ctest-vn1-vm1-95148621 ID is 1735f787-4c13-49de-9cd8-7be6b146789e
2025-09-23 22:47:48,334 - DEBUG - VM ctest-vn1-vm1-95148621 launched on Node cn-jenkins-deploy-platform-ansible-os-4179-1
2025-09-23 22:47:48,543 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1735f787-4c13-49de-9cd8-7be6b146789e
2025-09-23 22:47:48,551 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/ef6c2caa-a7e2-43c6-99c1-fed074d0ca5b
2025-09-23 22:47:51,799 - 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 1014ms')
2025-09-23 22:47:51,799 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-95148621 failed!
2025-09-23 22:47:51,854 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27862340:ctest-vn1-29561387 is 103.9.153.129 and allocation pool is NOT set
2025-09-23 22:47:51,856 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27862340:ctest-vn1-29561387 is 184.28.249.129 and allocation pool is NOT set
2025-09-23 22:47:53,922 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.428 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.428/2.240/4.053/1.812 ms')
2025-09-23 22:47:53,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-95148621 passed
2025-09-23 22:47:54,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 22:47:54,070 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95148621, IP 103.9.153.133, Port 22
2025-09-23 22:47:54,136 - 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-09-23 22:47:54,210 - DEBUG - VM ctest-vn1-vm1-95148621 is NOT ready for SSH connections, VM status: ACTIVE
2025-09-23 22:47:59,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 22:47:59,211 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95148621, IP 103.9.153.133, Port 22
2025-09-23 22:47:59,365 - DEBUG - VM ctest-vn1-vm1-95148621 is ready for SSH connections
2025-09-23 22:47:59,365 - INFO - Waiting for VM ctest-vn1-vm2-40210527 to be up..
2025-09-23 22:47:59,430 - DEBUG - VM is in ACTIVE state now
2025-09-23 22:47:59,430 - INFO - VM name : ctest-vn1-vm2-40210527
2025-09-23 22:47:59,498 - DEBUG - VM ctest-vn1-vm2-40210527 ID is a2feb3da-04c8-46fc-bebd-a2b636465000
2025-09-23 22:47:59,498 - DEBUG - VM ctest-vn1-vm2-40210527 launched on Node cn-jenkins-deploy-platform-ansible-os-4179-1
2025-09-23 22:47:59,565 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a2feb3da-04c8-46fc-bebd-a2b636465000
2025-09-23 22:47:59,573 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/f96c320a-9296-4b11-9d8d-c86171ee96ee
2025-09-23 22:48:00,808 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/1.792/3.131/1.339 ms')
2025-09-23 22:48:00,808 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-40210527 passed
2025-09-23 22:48:00,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 22:48:00,958 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40210527, IP 184.28.249.133, Port 22
2025-09-23 22:48:01,114 - DEBUG - VM ctest-vn1-vm2-40210527 is ready for SSH connections
2025-09-23 22:48:01,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 22:48:01,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 22:48:01,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-23 22:48:01,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.9.153.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-09-23 22:48:01,114 - DEBUG - ping -s 56 -c 3 -W 1 103.9.153.133
2025-09-23 22:48:05,162 - DEBUG - PING 103.9.153.133 (103.9.153.133): 56 data bytes
64 bytes from 103.9.153.133: seq=0 ttl=63 time=3.816 ms
64 bytes from 103.9.153.133: seq=1 ttl=63 time=1.049 ms
64 bytes from 103.9.153.133: seq=2 ttl=63 time=0.896 ms
--- 103.9.153.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.896/1.920/3.816 ms
2025-09-23 22:48:05,162 - INFO - Ping to IP 103.9.153.133 from VM ctest-vn1-vm2-40210527 passed
2025-09-23 22:48:05,162 - INFO - Detaching port f96c320a-9296-4b11-9d8d-c86171ee96ee from VM ctest-vn1-vm2-40210527
2025-09-23 22:48:05,219 - INFO - Deleting VM ctest-vn1-vm2-40210527
2025-09-23 22:48:05,282 - INFO - Detaching port ef6c2caa-a7e2-43c6-99c1-fed074d0ca5b from VM ctest-vn1-vm1-95148621
2025-09-23 22:48:05,318 - INFO - Deleting VM ctest-vn1-vm1-95148621
2025-09-23 22:48:05,547 - DEBUG - Response for delete_port : ()
2025-09-23 22:48:05,732 - DEBUG - Response for delete_port : ()
2025-09-23 22:48:05,733 - INFO - Deleting VN ctest-vn1-29561387
2025-09-23 22:48:05,873 - DEBUG - Response for deleting network ()
2025-09-23 22:48:06,126 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 22:48:06,126 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-09-23 22:48:06,127 - INFO - --------------------------------------------------------------------------------
2025-09-23 22:48:06,802 - INFO - Deleted project: ctest-TestPorts-27862340, ID : a1f352db-2db1-40b0-ac19-2718456e49d6