2025-12-09 09:32:17,449 - INFO - Domain Default found not creating 2025-12-09 09:32:17,612 - INFO - Project ctest-TestPorts-61833705 not found, creating it 2025-12-09 09:32:18,087 - INFO - Created Project:ctest-TestPorts-61833705, ID : 1c27357f-2ef5-4b78-9683-154c882df7a1 2025-12-09 09:32:19,610 - INFO - ================================================================================ 2025-12-09 09:32:19,610 - INFO - STARTING TEST : test_ports_bindings 2025-12-09 09:32:19,610 - 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-12-09 09:32:19,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with 2025-12-09 09:32:19,865 - INFO - Initial checks done. Running the testcase now 2025-12-09 09:32:19,865 - INFO - 2025-12-09 09:32:20,398 - DEBUG - Response for create_network : {'network': {'id': '966c950d-1e54-4bcd-b83e-dc820cd22f14', 'name': 'ctest-vn-37856338', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'project_id': '1c27357f2ef54b789683154c882df7a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61833705', 'ctest-vn-37856338'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:32:20,628 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1d0fbad-1318-49aa-a975-116a348842da', 'name': '', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'network_id': '966c950d-1e54-4bcd-b83e-dc820cd22f14', 'ip_version': 4, 'cidr': '25.96.53.0/26', 'allocation_pools': [{'start': '25.96.53.2', 'end': '25.96.53.62'}], 'gateway_ip': '25.96.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.96.53.2', 'tags': [], 'project_id': '1c27357f2ef54b789683154c882df7a1'}} 2025-12-09 09:32:20,643 - INFO - Created VN ctest-vn-37856338 2025-12-09 09:32:20,695 - DEBUG - VN ctest-vn-37856338 UUID is 966c950d-1e54-4bcd-b83e-dc820cd22f14 2025-12-09 09:32:20,796 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-61833705', 'ctest-vmi-85518757']} 2025-12-09 09:32:21,053 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85518757', 'id': '81042438-4f57-4dd8-9aaa-d2bf1b19ec8e', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'network_id': '966c950d-1e54-4bcd-b83e-dc820cd22f14', 'mac_address': '02:81:04:24:38:4f', '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': '25.96.53.3', 'subnet_id': 'b1d0fbad-1318-49aa-a975-116a348842da'}], 'security_groups': ['21cf8c3e-ff81-4e9b-ac99-189d67635fc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1c27357f2ef54b789683154c882df7a1'}} 2025-12-09 09:32:21,053 - DEBUG - Created port 81042438-4f57-4dd8-9aaa-d2bf1b19ec8e 2025-12-09 09:32:21,159 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/81042438-4f57-4dd8-9aaa-d2bf1b19ec8e 2025-12-09 09:32:21,452 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/81042438-4f57-4dd8-9aaa-d2bf1b19ec8e 2025-12-09 09:32:21,483 - INFO - VMI 81042438-4f57-4dd8-9aaa-d2bf1b19ec8e verification in API Server passed 2025-12-09 09:32:21,559 - DEBUG - Response for delete_port : () 2025-12-09 09:32:21,559 - INFO - Deleted port 81042438-4f57-4dd8-9aaa-d2bf1b19ec8e 2025-12-09 09:32:21,559 - INFO - Deleting VN ctest-vn-37856338 2025-12-09 09:32:21,652 - DEBUG - Response for deleting network () 2025-12-09 09:32:21,899 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 09:32:21,899 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-09 09:32:21,899 - INFO - -------------------------------------------------------------------------------- 2025-12-09 09:32:21,901 - INFO - ================================================================================ 2025-12-09 09:32:21,901 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-09 09:32:21,901 - 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-12-09 09:32:22,192 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with 2025-12-09 09:32:22,192 - INFO - Initial checks done. Running the testcase now 2025-12-09 09:32:22,192 - INFO - 2025-12-09 09:32:22,357 - DEBUG - Response for create_network : {'network': {'id': '26d0cc2a-28ea-44be-9316-94222c38d3d9', 'name': 'ctest-vn1-15290175', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'project_id': '1c27357f2ef54b789683154c882df7a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-61833705', 'ctest-vn1-15290175'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 09:32:22,536 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e63d722-0fff-4886-9d35-1ee942264ccb', 'name': '', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'network_id': '26d0cc2a-28ea-44be-9316-94222c38d3d9', 'ip_version': 4, 'cidr': '113.178.161.64/26', 'allocation_pools': [{'start': '113.178.161.66', 'end': '113.178.161.126'}], 'gateway_ip': '113.178.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.178.161.66', 'tags': [], 'project_id': '1c27357f2ef54b789683154c882df7a1'}} 2025-12-09 09:32:22,700 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c74b8038-e295-404c-aadf-2b579701b04d', 'name': '', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'network_id': '26d0cc2a-28ea-44be-9316-94222c38d3d9', 'ip_version': 4, 'cidr': '90.204.28.64/26', 'allocation_pools': [{'start': '90.204.28.66', 'end': '90.204.28.126'}], 'gateway_ip': '90.204.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.204.28.66', 'tags': [], 'project_id': '1c27357f2ef54b789683154c882df7a1'}} 2025-12-09 09:32:22,718 - INFO - Created VN ctest-vn1-15290175 2025-12-09 09:32:22,771 - DEBUG - VN ctest-vn1-15290175 UUID is 26d0cc2a-28ea-44be-9316-94222c38d3d9 2025-12-09 09:32:23,058 - DEBUG - Response for create_port : {'port': {'name': '6fcf074a-9dc0-46c8-8277-b6c627fca3e8', 'id': '6fcf074a-9dc0-46c8-8277-b6c627fca3e8', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'network_id': '26d0cc2a-28ea-44be-9316-94222c38d3d9', 'mac_address': '02:6f:cf:07:4a:9d', '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': '113.178.161.69', 'subnet_id': '8e63d722-0fff-4886-9d35-1ee942264ccb'}], 'security_groups': ['21cf8c3e-ff81-4e9b-ac99-189d67635fc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1c27357f2ef54b789683154c882df7a1'}} 2025-12-09 09:32:23,220 - DEBUG - Response for create_port : {'port': {'name': 'bc5970e8-7f3f-43d0-9565-9d8855c28240', 'id': 'bc5970e8-7f3f-43d0-9565-9d8855c28240', 'tenant_id': '1c27357f2ef54b789683154c882df7a1', 'network_id': '26d0cc2a-28ea-44be-9316-94222c38d3d9', 'mac_address': '02:bc:59:70:e8:7f', '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': '90.204.28.69', 'subnet_id': 'c74b8038-e295-404c-aadf-2b579701b04d'}], 'security_groups': ['21cf8c3e-ff81-4e9b-ac99-189d67635fc9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1c27357f2ef54b789683154c882df7a1'}} 2025-12-09 09:32:23,271 - DEBUG - Services list from nova: [, , ] 2025-12-09 09:32:23,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1) 2025-12-09 09:32:23,965 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4867-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4867-1) 2025-12-09 09:32:23,966 - INFO - Waiting for VM ctest-vn1-vm1-52543655 to be up.. 2025-12-09 09:32:24,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 09:32:29,085 - DEBUG - VM is in ACTIVE state now 2025-12-09 09:32:29,085 - INFO - VM name : ctest-vn1-vm1-52543655 2025-12-09 09:32:29,168 - DEBUG - VM ctest-vn1-vm1-52543655 ID is a972f837-ce7b-4b99-897c-fba18aa918cd 2025-12-09 09:32:29,190 - DEBUG - VM ctest-vn1-vm1-52543655 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1 2025-12-09 09:32:29,267 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/a972f837-ce7b-4b99-897c-fba18aa918cd 2025-12-09 09:32:29,275 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/6fcf074a-9dc0-46c8-8277-b6c627fca3e8 2025-12-09 09:32:32,522 - 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 1011ms') 2025-12-09 09:32:32,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52543655 failed! 2025-12-09 09:32:32,575 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61833705:ctest-vn1-15290175 is 113.178.161.65 and allocation pool is NOT set 2025-12-09 09:32:32,575 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-61833705:ctest-vn1-15290175 is 90.204.28.65 and allocation pool is NOT set 2025-12-09 09:32:34,634 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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 = 2.659/3.274/3.889/0.615 ms') 2025-12-09 09:32:34,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52543655 passed 2025-12-09 09:32:34,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:32:34,787 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52543655, IP 113.178.161.69, Port 22 2025-12-09 09:32:34,853 - 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-12-09 09:32:34,924 - DEBUG - VM ctest-vn1-vm1-52543655 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-09 09:32:39,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:32:39,926 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52543655, IP 113.178.161.69, Port 22 2025-12-09 09:32:40,087 - DEBUG - VM ctest-vn1-vm1-52543655 is ready for SSH connections 2025-12-09 09:32:40,087 - INFO - Waiting for VM ctest-vn1-vm2-08256552 to be up.. 2025-12-09 09:32:40,159 - DEBUG - VM is in ACTIVE state now 2025-12-09 09:32:40,159 - INFO - VM name : ctest-vn1-vm2-08256552 2025-12-09 09:32:40,232 - DEBUG - VM ctest-vn1-vm2-08256552 ID is 196926aa-f015-42c7-98be-fabd41263e51 2025-12-09 09:32:40,232 - DEBUG - VM ctest-vn1-vm2-08256552 launched on Node cn-jenkins-deploy-platform-ansible-os-4867-1 2025-12-09 09:32:40,310 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/196926aa-f015-42c7-98be-fabd41263e51 2025-12-09 09:32:40,319 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/bc5970e8-7f3f-43d0-9565-9d8855c28240 2025-12-09 09:32:41,555 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.623/2.780/1.156 ms') 2025-12-09 09:32:41,555 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08256552 passed 2025-12-09 09:32:41,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:32:41,703 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08256552, IP 90.204.28.69, Port 22 2025-12-09 09:32:41,858 - DEBUG - VM ctest-vn1-vm2-08256552 is ready for SSH connections 2025-12-09 09:32:41,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:32:41,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:32:41,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 09:32:41,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.178.161.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-12-09 09:32:41,859 - DEBUG - ping -s 56 -c 3 -W 1 113.178.161.69 2025-12-09 09:32:44,504 - DEBUG - PING 113.178.161.69 (113.178.161.69): 56 data bytes 64 bytes from 113.178.161.69: seq=0 ttl=63 time=3.635 ms 64 bytes from 113.178.161.69: seq=1 ttl=63 time=1.314 ms 64 bytes from 113.178.161.69: seq=2 ttl=63 time=0.835 ms --- 113.178.161.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.928/3.635 ms 2025-12-09 09:32:44,504 - INFO - Ping to IP 113.178.161.69 from VM ctest-vn1-vm2-08256552 passed 2025-12-09 09:32:44,504 - INFO - Detaching port bc5970e8-7f3f-43d0-9565-9d8855c28240 from VM ctest-vn1-vm2-08256552 2025-12-09 09:32:44,551 - INFO - Deleting VM ctest-vn1-vm2-08256552 2025-12-09 09:32:44,620 - INFO - Detaching port 6fcf074a-9dc0-46c8-8277-b6c627fca3e8 from VM ctest-vn1-vm1-52543655 2025-12-09 09:32:44,651 - INFO - Deleting VM ctest-vn1-vm1-52543655 2025-12-09 09:32:44,886 - DEBUG - Response for delete_port : () 2025-12-09 09:32:45,029 - DEBUG - Response for delete_port : () 2025-12-09 09:32:45,029 - INFO - Deleting VN ctest-vn1-15290175 2025-12-09 09:32:45,150 - DEBUG - Response for deleting network () 2025-12-09 09:32:45,408 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 09:32:45,408 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-09 09:32:45,408 - INFO - -------------------------------------------------------------------------------- 2025-12-09 09:32:46,075 - INFO - Deleted project: ctest-TestPorts-61833705, ID : 1c27357f-2ef5-4b78-9683-154c882df7a1