2025-08-25 21:08:21,501 - INFO - Domain Default found not creating 2025-08-25 21:08:21,635 - INFO - Project ctest-TestPorts-70124252 not found, creating it 2025-08-25 21:08:22,077 - INFO - Created Project:ctest-TestPorts-70124252, ID : 0067ab01-032f-491d-8203-b2f77a8dc95f 2025-08-25 21:08:23,499 - INFO - ================================================================================ 2025-08-25 21:08:23,499 - INFO - STARTING TEST : test_ports_bindings 2025-08-25 21:08:23,499 - 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-25 21:08:23,761 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-08-25 21:08:23,761 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:08:23,761 - INFO - 2025-08-25 21:08:24,291 - DEBUG - Response for create_network : {'network': {'id': '93e92373-9d64-4d0b-88cf-74b2f66ed433', 'name': 'ctest-vn-57277437', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'project_id': '0067ab01032f491d8203b2f77a8dc95f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70124252', 'ctest-vn-57277437'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:08:24,497 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc6d3b5c-e003-4607-9dae-3b53544c5419', 'name': '', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'network_id': '93e92373-9d64-4d0b-88cf-74b2f66ed433', 'ip_version': 4, 'cidr': '142.245.130.128/26', 'allocation_pools': [{'start': '142.245.130.130', 'end': '142.245.130.190'}], 'gateway_ip': '142.245.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.245.130.130', 'tags': [], 'project_id': '0067ab01032f491d8203b2f77a8dc95f'}} 2025-08-25 21:08:24,518 - INFO - Created VN ctest-vn-57277437 2025-08-25 21:08:24,570 - DEBUG - VN ctest-vn-57277437 UUID is 93e92373-9d64-4d0b-88cf-74b2f66ed433 2025-08-25 21:08:24,672 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70124252', 'ctest-vmi-96432975']} 2025-08-25 21:08:24,986 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-96432975', 'id': '030447a2-3bb0-4b7d-bf44-835ac1de2af3', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'network_id': '93e92373-9d64-4d0b-88cf-74b2f66ed433', 'mac_address': '02:03:04:47:a2:3b', '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': '142.245.130.131', 'subnet_id': 'cc6d3b5c-e003-4607-9dae-3b53544c5419'}], 'security_groups': ['6ec38919-d263-49cd-ac3c-863b4c759ba0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0067ab01032f491d8203b2f77a8dc95f'}} 2025-08-25 21:08:24,986 - DEBUG - Created port 030447a2-3bb0-4b7d-bf44-835ac1de2af3 2025-08-25 21:08:25,090 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/030447a2-3bb0-4b7d-bf44-835ac1de2af3 2025-08-25 21:08:25,380 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/030447a2-3bb0-4b7d-bf44-835ac1de2af3 2025-08-25 21:08:25,413 - INFO - VMI 030447a2-3bb0-4b7d-bf44-835ac1de2af3 verification in API Server passed 2025-08-25 21:08:25,505 - DEBUG - Response for delete_port : () 2025-08-25 21:08:25,505 - INFO - Deleted port 030447a2-3bb0-4b7d-bf44-835ac1de2af3 2025-08-25 21:08:25,505 - INFO - Deleting VN ctest-vn-57277437 2025-08-25 21:08:25,609 - DEBUG - Response for deleting network () 2025-08-25 21:08:25,868 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:08:25,868 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-25 21:08:25,868 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:08:25,870 - INFO - ================================================================================ 2025-08-25 21:08:25,870 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-25 21:08:25,870 - 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-25 21:08:26,161 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-08-25 21:08:26,161 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:08:26,161 - INFO - 2025-08-25 21:08:26,343 - DEBUG - Response for create_network : {'network': {'id': '636e7684-57a5-4797-9361-030785b31208', 'name': 'ctest-vn1-05109113', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'project_id': '0067ab01032f491d8203b2f77a8dc95f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70124252', 'ctest-vn1-05109113'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:08:26,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '546fbc2e-647a-4728-81aa-1519c1018c30', 'name': '', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'network_id': '636e7684-57a5-4797-9361-030785b31208', 'ip_version': 4, 'cidr': '219.215.202.192/26', 'allocation_pools': [{'start': '219.215.202.194', 'end': '219.215.202.254'}], 'gateway_ip': '219.215.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.215.202.194', 'tags': [], 'project_id': '0067ab01032f491d8203b2f77a8dc95f'}} 2025-08-25 21:08:26,697 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a0e6dc7-79a7-4504-9c14-75453f6e85ca', 'name': '', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'network_id': '636e7684-57a5-4797-9361-030785b31208', 'ip_version': 4, 'cidr': '6.142.27.0/26', 'allocation_pools': [{'start': '6.142.27.2', 'end': '6.142.27.62'}], 'gateway_ip': '6.142.27.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.142.27.2', 'tags': [], 'project_id': '0067ab01032f491d8203b2f77a8dc95f'}} 2025-08-25 21:08:26,715 - INFO - Created VN ctest-vn1-05109113 2025-08-25 21:08:26,766 - DEBUG - VN ctest-vn1-05109113 UUID is 636e7684-57a5-4797-9361-030785b31208 2025-08-25 21:08:27,080 - DEBUG - Response for create_port : {'port': {'name': '4189477d-c670-4014-a354-d0a245404817', 'id': '4189477d-c670-4014-a354-d0a245404817', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'network_id': '636e7684-57a5-4797-9361-030785b31208', 'mac_address': '02:41:89:47:7d:c6', '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': '219.215.202.197', 'subnet_id': '546fbc2e-647a-4728-81aa-1519c1018c30'}], 'security_groups': ['6ec38919-d263-49cd-ac3c-863b4c759ba0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0067ab01032f491d8203b2f77a8dc95f'}} 2025-08-25 21:08:27,279 - DEBUG - Response for create_port : {'port': {'name': 'bf2f496c-61e1-442f-b8d8-19f3a69440ef', 'id': 'bf2f496c-61e1-442f-b8d8-19f3a69440ef', 'tenant_id': '0067ab01032f491d8203b2f77a8dc95f', 'network_id': '636e7684-57a5-4797-9361-030785b31208', 'mac_address': '02:bf:2f:49:6c:61', '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': '6.142.27.5', 'subnet_id': '4a0e6dc7-79a7-4504-9c14-75453f6e85ca'}], 'security_groups': ['6ec38919-d263-49cd-ac3c-863b4c759ba0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0067ab01032f491d8203b2f77a8dc95f'}} 2025-08-25 21:08:27,330 - DEBUG - Services list from nova: [, , ] 2025-08-25 21:08:27,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:08:28,028 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:08:28,028 - INFO - Waiting for VM ctest-vn1-vm1-24332655 to be up.. 2025-08-25 21:08:28,066 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 21:08:33,163 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:08:33,163 - INFO - VM name : ctest-vn1-vm1-24332655 2025-08-25 21:08:33,358 - DEBUG - VM ctest-vn1-vm1-24332655 ID is f6e8f9bc-dcd8-47af-8291-b889125baccf 2025-08-25 21:08:33,380 - DEBUG - VM ctest-vn1-vm1-24332655 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:08:33,451 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f6e8f9bc-dcd8-47af-8291-b889125baccf 2025-08-25 21:08:33,460 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/4189477d-c670-4014-a354-d0a245404817 2025-08-25 21:08:36,704 - 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 1003ms') 2025-08-25 21:08:36,704 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24332655 failed! 2025-08-25 21:08:36,766 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70124252:ctest-vn1-05109113 is 219.215.202.193 and allocation pool is NOT set 2025-08-25 21:08:36,766 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70124252:ctest-vn1-05109113 is 6.142.27.1 and allocation pool is NOT set 2025-08-25 21:08:40,832 - 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=6.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 6.323/6.323/6.323/0.000 ms') 2025-08-25 21:08:40,832 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24332655 passed 2025-08-25 21:08:40,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:08:40,986 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24332655, IP 219.215.202.197, Port 22 2025-08-25 21:08:41,042 - 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-25 21:08:41,122 - DEBUG - VM ctest-vn1-vm1-24332655 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-25 21:08:46,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:08:46,123 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24332655, IP 219.215.202.197, Port 22 2025-08-25 21:08:46,298 - DEBUG - VM ctest-vn1-vm1-24332655 is ready for SSH connections 2025-08-25 21:08:46,298 - INFO - Waiting for VM ctest-vn1-vm2-79964842 to be up.. 2025-08-25 21:08:46,372 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:08:46,372 - INFO - VM name : ctest-vn1-vm2-79964842 2025-08-25 21:08:46,448 - DEBUG - VM ctest-vn1-vm2-79964842 ID is 635389b3-a0ac-4da0-bf58-3ce4a314a27c 2025-08-25 21:08:46,448 - DEBUG - VM ctest-vn1-vm2-79964842 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:08:46,526 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/635389b3-a0ac-4da0-bf58-3ce4a314a27c 2025-08-25 21:08:46,534 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/bf2f496c-61e1-442f-b8d8-19f3a69440ef 2025-08-25 21:08:47,780 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.346 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.346/1.726/3.107/1.380 ms') 2025-08-25 21:08:47,780 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79964842 passed 2025-08-25 21:08:47,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:08:47,930 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79964842, IP 6.142.27.5, Port 22 2025-08-25 21:08:48,112 - DEBUG - VM ctest-vn1-vm2-79964842 is ready for SSH connections 2025-08-25 21:08:48,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:08:48,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:08:48,112 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:08:48,112 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.215.202.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:08:48,112 - DEBUG - ping -s 56 -c 3 -W 1 219.215.202.197 2025-08-25 21:08:50,730 - DEBUG - PING 219.215.202.197 (219.215.202.197): 56 data bytes 64 bytes from 219.215.202.197: seq=0 ttl=63 time=3.379 ms 64 bytes from 219.215.202.197: seq=1 ttl=63 time=0.800 ms 64 bytes from 219.215.202.197: seq=2 ttl=63 time=0.763 ms --- 219.215.202.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.647/3.379 ms 2025-08-25 21:08:50,730 - INFO - Ping to IP 219.215.202.197 from VM ctest-vn1-vm2-79964842 passed 2025-08-25 21:08:50,730 - INFO - Detaching port bf2f496c-61e1-442f-b8d8-19f3a69440ef from VM ctest-vn1-vm2-79964842 2025-08-25 21:08:50,781 - INFO - Deleting VM ctest-vn1-vm2-79964842 2025-08-25 21:08:50,846 - INFO - Detaching port 4189477d-c670-4014-a354-d0a245404817 from VM ctest-vn1-vm1-24332655 2025-08-25 21:08:50,880 - INFO - Deleting VM ctest-vn1-vm1-24332655 2025-08-25 21:08:51,118 - DEBUG - Response for delete_port : () 2025-08-25 21:08:51,323 - DEBUG - Response for delete_port : () 2025-08-25 21:08:51,323 - INFO - Deleting VN ctest-vn1-05109113 2025-08-25 21:08:51,497 - DEBUG - Response for deleting network () 2025-08-25 21:08:51,768 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:08:51,768 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-08-25 21:08:51,768 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:08:52,459 - INFO - Deleted project: ctest-TestPorts-70124252, ID : 0067ab01-032f-491d-8203-b2f77a8dc95f