2025-11-05 15:53:44,914 - INFO - Domain Default found not creating 2025-11-05 15:53:45,094 - INFO - Project ctest-TestPorts-60576535 not found, creating it 2025-11-05 15:53:45,594 - INFO - Created Project:ctest-TestPorts-60576535, ID : 34dbd853-b7df-40e7-8c17-45a06c8bdf46 2025-11-05 15:53:47,623 - INFO - ================================================================================ 2025-11-05 15:53:47,623 - INFO - STARTING TEST : test_ports_bindings 2025-11-05 15:53:47,623 - 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-11-05 15:53:47,875 - WARNING - Test is running with cores: {'10.0.0.40': ['core.isc-loop-0003.72957.cn-jenkins-deploy-platform-ansible-os-4646-1.1762357600']} 2025-11-05 15:53:47,882 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.200': '0'}} with 2025-11-05 15:53:47,882 - INFO - Initial checks done. Running the testcase now 2025-11-05 15:53:47,882 - INFO - 2025-11-05 15:53:48,475 - DEBUG - Response for create_network : {'network': {'id': '556ceb22-7e77-4d52-92a7-7132484ae07a', 'name': 'ctest-vn-60828230', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'project_id': '34dbd853b7df40e78c1745a06c8bdf46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60576535', 'ctest-vn-60828230'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:53:48,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1bc099d-01ea-4b5e-b9b5-0703cb909088', 'name': '', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'network_id': '556ceb22-7e77-4d52-92a7-7132484ae07a', 'ip_version': 4, 'cidr': '50.80.212.64/26', 'allocation_pools': [{'start': '50.80.212.66', 'end': '50.80.212.126'}], 'gateway_ip': '50.80.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.80.212.66', 'tags': [], 'project_id': '34dbd853b7df40e78c1745a06c8bdf46'}} 2025-11-05 15:53:48,698 - INFO - Created VN ctest-vn-60828230 2025-11-05 15:53:48,752 - DEBUG - VN ctest-vn-60828230 UUID is 556ceb22-7e77-4d52-92a7-7132484ae07a 2025-11-05 15:53:48,867 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60576535', 'ctest-vmi-19877212']} 2025-11-05 15:53:49,100 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19877212', 'id': '2e3d5fdc-6aaa-491c-91fd-d7b5cbfee6cc', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'network_id': '556ceb22-7e77-4d52-92a7-7132484ae07a', 'mac_address': '02:2e:3d:5f:dc:6a', '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': '50.80.212.67', 'subnet_id': 'd1bc099d-01ea-4b5e-b9b5-0703cb909088'}], 'security_groups': ['6be95bc4-f5b5-4486-a129-b46a68c5258a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34dbd853b7df40e78c1745a06c8bdf46'}} 2025-11-05 15:53:49,100 - DEBUG - Created port 2e3d5fdc-6aaa-491c-91fd-d7b5cbfee6cc 2025-11-05 15:53:49,203 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/2e3d5fdc-6aaa-491c-91fd-d7b5cbfee6cc 2025-11-05 15:53:49,535 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/2e3d5fdc-6aaa-491c-91fd-d7b5cbfee6cc 2025-11-05 15:53:49,568 - INFO - VMI 2e3d5fdc-6aaa-491c-91fd-d7b5cbfee6cc verification in API Server passed 2025-11-05 15:53:49,654 - DEBUG - Response for delete_port : () 2025-11-05 15:53:49,654 - INFO - Deleted port 2e3d5fdc-6aaa-491c-91fd-d7b5cbfee6cc 2025-11-05 15:53:49,654 - INFO - Deleting VN ctest-vn-60828230 2025-11-05 15:53:49,766 - DEBUG - Response for deleting network () 2025-11-05 15:53:50,026 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 15:53:50,026 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 15:53:50,026 - INFO - -------------------------------------------------------------------------------- 2025-11-05 15:53:50,029 - INFO - ================================================================================ 2025-11-05 15:53:50,029 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-05 15:53:50,029 - 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-11-05 15:53:50,307 - WARNING - Test is running with cores: {'10.0.0.40': ['core.isc-loop-0003.72957.cn-jenkins-deploy-platform-ansible-os-4646-1.1762357600']} 2025-11-05 15:53:50,313 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.200': '0'}} with 2025-11-05 15:53:50,313 - INFO - Initial checks done. Running the testcase now 2025-11-05 15:53:50,313 - INFO - 2025-11-05 15:53:50,498 - DEBUG - Response for create_network : {'network': {'id': '8f2019d8-da87-4c3b-86a5-9e1bc670a566', 'name': 'ctest-vn1-99216210', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'project_id': '34dbd853b7df40e78c1745a06c8bdf46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60576535', 'ctest-vn1-99216210'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 15:53:50,680 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9f4f8b7-30e7-4d3c-a515-0f6f469030e4', 'name': '', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'network_id': '8f2019d8-da87-4c3b-86a5-9e1bc670a566', 'ip_version': 4, 'cidr': '206.201.241.128/26', 'allocation_pools': [{'start': '206.201.241.130', 'end': '206.201.241.190'}], 'gateway_ip': '206.201.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.201.241.130', 'tags': [], 'project_id': '34dbd853b7df40e78c1745a06c8bdf46'}} 2025-11-05 15:53:50,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d25b13b-dcef-4c61-97ac-d804742a67b4', 'name': '', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'network_id': '8f2019d8-da87-4c3b-86a5-9e1bc670a566', 'ip_version': 4, 'cidr': '95.127.131.64/26', 'allocation_pools': [{'start': '95.127.131.66', 'end': '95.127.131.126'}], 'gateway_ip': '95.127.131.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.127.131.66', 'tags': [], 'project_id': '34dbd853b7df40e78c1745a06c8bdf46'}} 2025-11-05 15:53:50,918 - INFO - Created VN ctest-vn1-99216210 2025-11-05 15:53:50,972 - DEBUG - VN ctest-vn1-99216210 UUID is 8f2019d8-da87-4c3b-86a5-9e1bc670a566 2025-11-05 15:53:51,297 - DEBUG - Response for create_port : {'port': {'name': '4afcde7f-2dcc-4fd2-bf6e-d433d6b01f22', 'id': '4afcde7f-2dcc-4fd2-bf6e-d433d6b01f22', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'network_id': '8f2019d8-da87-4c3b-86a5-9e1bc670a566', 'mac_address': '02:4a:fc:de:7f:2d', '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': '206.201.241.133', 'subnet_id': 'e9f4f8b7-30e7-4d3c-a515-0f6f469030e4'}], 'security_groups': ['6be95bc4-f5b5-4486-a129-b46a68c5258a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34dbd853b7df40e78c1745a06c8bdf46'}} 2025-11-05 15:53:51,463 - DEBUG - Response for create_port : {'port': {'name': '3e3da005-0f20-453f-8056-ca9acb026754', 'id': '3e3da005-0f20-453f-8056-ca9acb026754', 'tenant_id': '34dbd853b7df40e78c1745a06c8bdf46', 'network_id': '8f2019d8-da87-4c3b-86a5-9e1bc670a566', 'mac_address': '02:3e:3d:a0:05:0f', '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': '95.127.131.69', 'subnet_id': '7d25b13b-dcef-4c61-97ac-d804742a67b4'}], 'security_groups': ['6be95bc4-f5b5-4486-a129-b46a68c5258a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '34dbd853b7df40e78c1745a06c8bdf46'}} 2025-11-05 15:53:51,524 - DEBUG - Services list from nova: [, , ] 2025-11-05 15:53:51,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4646-1) 2025-11-05 15:53:52,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4646-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4646-1) 2025-11-05 15:53:52,305 - INFO - Waiting for VM ctest-vn1-vm1-21241339 to be up.. 2025-11-05 15:53:52,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 15:53:57,435 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:53:57,435 - INFO - VM name : ctest-vn1-vm1-21241339 2025-11-05 15:53:57,515 - DEBUG - VM ctest-vn1-vm1-21241339 ID is 6bbb6883-f06e-4df2-bb1f-8116abc7d0cd 2025-11-05 15:53:57,535 - DEBUG - VM ctest-vn1-vm1-21241339 launched on Node cn-jenkins-deploy-platform-ansible-os-4646-1 2025-11-05 15:53:57,612 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/6bbb6883-f06e-4df2-bb1f-8116abc7d0cd 2025-11-05 15:53:57,620 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/4afcde7f-2dcc-4fd2-bf6e-d433d6b01f22 2025-11-05 15:54:00,884 - 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 1026ms') 2025-11-05 15:54:00,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21241339 failed! 2025-11-05 15:54:00,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60576535:ctest-vn1-99216210 is 206.201.241.129 and allocation pool is NOT set 2025-11-05 15:54:00,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60576535:ctest-vn1-99216210 is 95.127.131.65 and allocation pool is NOT set 2025-11-05 15:54:05,017 - 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=4.21 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 = 4.207/4.207/4.207/0.000 ms') 2025-11-05 15:54:05,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21241339 passed 2025-11-05 15:54:05,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:05,172 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21241339, IP 206.201.241.133, Port 22 2025-11-05 15:54:05,237 - 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-11-05 15:54:05,323 - DEBUG - VM ctest-vn1-vm1-21241339 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-05 15:54:10,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:10,325 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21241339, IP 206.201.241.133, Port 22 2025-11-05 15:54:10,483 - DEBUG - VM ctest-vn1-vm1-21241339 is ready for SSH connections 2025-11-05 15:54:10,483 - INFO - Waiting for VM ctest-vn1-vm2-91030017 to be up.. 2025-11-05 15:54:10,565 - DEBUG - VM is in ACTIVE state now 2025-11-05 15:54:10,566 - INFO - VM name : ctest-vn1-vm2-91030017 2025-11-05 15:54:10,650 - DEBUG - VM ctest-vn1-vm2-91030017 ID is 270ae275-27a2-4106-b1b7-23a88864ce04 2025-11-05 15:54:10,650 - DEBUG - VM ctest-vn1-vm2-91030017 launched on Node cn-jenkins-deploy-platform-ansible-os-4646-1 2025-11-05 15:54:10,731 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/270ae275-27a2-4106-b1b7-23a88864ce04 2025-11-05 15:54:10,740 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/3e3da005-0f20-453f-8056-ca9acb026754 2025-11-05 15:54:11,980 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 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.430/1.842/3.254/1.412 ms') 2025-11-05 15:54:11,980 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91030017 passed 2025-11-05 15:54:12,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:12,139 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91030017, IP 95.127.131.69, Port 22 2025-11-05 15:54:12,294 - DEBUG - VM ctest-vn1-vm2-91030017 is ready for SSH connections 2025-11-05 15:54:12,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:12,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:12,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 15:54:12,295 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.201.241.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.40, gateway password: c0ntrail123 2025-11-05 15:54:12,295 - DEBUG - ping -s 56 -c 3 -W 1 206.201.241.133 2025-11-05 15:54:14,993 - DEBUG - PING 206.201.241.133 (206.201.241.133): 56 data bytes 64 bytes from 206.201.241.133: seq=0 ttl=63 time=3.834 ms 64 bytes from 206.201.241.133: seq=1 ttl=63 time=0.978 ms 64 bytes from 206.201.241.133: seq=2 ttl=63 time=2.082 ms --- 206.201.241.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.978/2.298/3.834 ms 2025-11-05 15:54:14,993 - INFO - Ping to IP 206.201.241.133 from VM ctest-vn1-vm2-91030017 passed 2025-11-05 15:54:14,993 - INFO - Detaching port 3e3da005-0f20-453f-8056-ca9acb026754 from VM ctest-vn1-vm2-91030017 2025-11-05 15:54:15,053 - INFO - Deleting VM ctest-vn1-vm2-91030017 2025-11-05 15:54:15,136 - INFO - Detaching port 4afcde7f-2dcc-4fd2-bf6e-d433d6b01f22 from VM ctest-vn1-vm1-21241339 2025-11-05 15:54:15,171 - INFO - Deleting VM ctest-vn1-vm1-21241339 2025-11-05 15:54:15,411 - DEBUG - Response for delete_port : () 2025-11-05 15:54:15,597 - DEBUG - Response for delete_port : () 2025-11-05 15:54:15,597 - INFO - Deleting VN ctest-vn1-99216210 2025-11-05 15:54:15,741 - DEBUG - Response for deleting network () 2025-11-05 15:54:16,006 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 15:54:16,006 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-11-05 15:54:16,006 - INFO - -------------------------------------------------------------------------------- 2025-11-05 15:54:16,737 - INFO - Deleted project: ctest-TestPorts-60576535, ID : 34dbd853-b7df-40e7-8c17-45a06c8bdf46