2025-12-09 03:47:52,677 - INFO - Domain Default found not creating 2025-12-09 03:47:52,840 - INFO - Project ctest-TestPorts-18694963 not found, creating it 2025-12-09 03:47:53,319 - INFO - Created Project:ctest-TestPorts-18694963, ID : a4cc2e9c-eae1-46b4-bcc2-7ef77e6cdf73 2025-12-09 03:47:55,058 - INFO - ================================================================================ 2025-12-09 03:47:55,058 - INFO - STARTING TEST : test_ports_bindings 2025-12-09 03:47:55,058 - 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 03:47:55,315 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2025-12-09 03:47:55,315 - INFO - Initial checks done. Running the testcase now 2025-12-09 03:47:55,315 - INFO - 2025-12-09 03:47:55,905 - DEBUG - Response for create_network : {'network': {'id': '30a427d9-7bce-4eaa-9f70-adeb8c03c396', 'name': 'ctest-vn-16286904', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18694963', 'ctest-vn-16286904'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:47:56,117 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb4ffa82-68eb-49fc-8915-434239144410', 'name': '', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'network_id': '30a427d9-7bce-4eaa-9f70-adeb8c03c396', 'ip_version': 4, 'cidr': '67.137.10.64/26', 'allocation_pools': [{'start': '67.137.10.66', 'end': '67.137.10.126'}], 'gateway_ip': '67.137.10.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.137.10.66', 'tags': [], 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73'}} 2025-12-09 03:47:56,135 - INFO - Created VN ctest-vn-16286904 2025-12-09 03:47:56,189 - DEBUG - VN ctest-vn-16286904 UUID is 30a427d9-7bce-4eaa-9f70-adeb8c03c396 2025-12-09 03:47:56,293 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18694963', 'ctest-vmi-12561932']} 2025-12-09 03:47:56,576 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12561932', 'id': '47a1c1ed-a4e2-4c9d-ae01-335a76a09cf3', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'network_id': '30a427d9-7bce-4eaa-9f70-adeb8c03c396', 'mac_address': '02:47:a1:c1:ed:a4', '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': '67.137.10.67', 'subnet_id': 'cb4ffa82-68eb-49fc-8915-434239144410'}], 'security_groups': ['e7624d3b-6f70-445e-9945-6033578ad9dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73'}} 2025-12-09 03:47:56,576 - DEBUG - Created port 47a1c1ed-a4e2-4c9d-ae01-335a76a09cf3 2025-12-09 03:47:56,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/47a1c1ed-a4e2-4c9d-ae01-335a76a09cf3 2025-12-09 03:47:57,019 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/47a1c1ed-a4e2-4c9d-ae01-335a76a09cf3 2025-12-09 03:47:57,057 - INFO - VMI 47a1c1ed-a4e2-4c9d-ae01-335a76a09cf3 verification in API Server passed 2025-12-09 03:47:57,145 - DEBUG - Response for delete_port : () 2025-12-09 03:47:57,145 - INFO - Deleted port 47a1c1ed-a4e2-4c9d-ae01-335a76a09cf3 2025-12-09 03:47:57,146 - INFO - Deleting VN ctest-vn-16286904 2025-12-09 03:47:57,266 - DEBUG - Response for deleting network () 2025-12-09 03:47:57,524 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 03:47:57,524 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-09 03:47:57,524 - INFO - -------------------------------------------------------------------------------- 2025-12-09 03:47:57,528 - INFO - ================================================================================ 2025-12-09 03:47:57,528 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-09 03:47:57,528 - 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 03:47:57,811 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2025-12-09 03:47:57,812 - INFO - Initial checks done. Running the testcase now 2025-12-09 03:47:57,812 - INFO - 2025-12-09 03:47:58,005 - DEBUG - Response for create_network : {'network': {'id': '8dca3977-0dc0-418e-8b54-54c1852b9661', 'name': 'ctest-vn1-62892384', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18694963', 'ctest-vn1-62892384'], 'port_security_enabled': True, 'description': ''}} 2025-12-09 03:47:58,195 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbdb13d1-c2c1-4b99-ab9b-fd717b047d6e', 'name': '', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'network_id': '8dca3977-0dc0-418e-8b54-54c1852b9661', 'ip_version': 4, 'cidr': '156.141.76.192/26', 'allocation_pools': [{'start': '156.141.76.194', 'end': '156.141.76.254'}], 'gateway_ip': '156.141.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.141.76.194', 'tags': [], 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73'}} 2025-12-09 03:47:58,344 - DEBUG - Response for create_subnet : {'subnet': {'id': '27d6d82c-8b18-4c63-af2e-abbcdb895fab', 'name': '', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'network_id': '8dca3977-0dc0-418e-8b54-54c1852b9661', 'ip_version': 4, 'cidr': '178.179.12.0/26', 'allocation_pools': [{'start': '178.179.12.2', 'end': '178.179.12.62'}], 'gateway_ip': '178.179.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.179.12.2', 'tags': [], 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73'}} 2025-12-09 03:47:58,363 - INFO - Created VN ctest-vn1-62892384 2025-12-09 03:47:58,413 - DEBUG - VN ctest-vn1-62892384 UUID is 8dca3977-0dc0-418e-8b54-54c1852b9661 2025-12-09 03:47:58,706 - DEBUG - Response for create_port : {'port': {'name': '6321e8e1-2a06-43c0-8893-967c4bdbead6', 'id': '6321e8e1-2a06-43c0-8893-967c4bdbead6', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'network_id': '8dca3977-0dc0-418e-8b54-54c1852b9661', 'mac_address': '02:63:21:e8:e1:2a', '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': '156.141.76.197', 'subnet_id': 'fbdb13d1-c2c1-4b99-ab9b-fd717b047d6e'}], 'security_groups': ['e7624d3b-6f70-445e-9945-6033578ad9dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73'}} 2025-12-09 03:47:58,889 - DEBUG - Response for create_port : {'port': {'name': '8c96ed04-86e2-4108-b19b-08eac7c39973', 'id': '8c96ed04-86e2-4108-b19b-08eac7c39973', 'tenant_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73', 'network_id': '8dca3977-0dc0-418e-8b54-54c1852b9661', 'mac_address': '02:8c:96:ed:04:86', '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': '178.179.12.5', 'subnet_id': '27d6d82c-8b18-4c63-af2e-abbcdb895fab'}], 'security_groups': ['e7624d3b-6f70-445e-9945-6033578ad9dc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a4cc2e9ceae146b4bcc27ef77e6cdf73'}} 2025-12-09 03:47:58,953 - DEBUG - Services list from nova: [, , ] 2025-12-09 03:47:59,312 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4865-1) 2025-12-09 03:47:59,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4865-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4865-1) 2025-12-09 03:47:59,713 - INFO - Waiting for VM ctest-vn1-vm1-41567426 to be up.. 2025-12-09 03:47:59,756 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-09 03:48:04,830 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:48:04,830 - INFO - VM name : ctest-vn1-vm1-41567426 2025-12-09 03:48:04,903 - DEBUG - VM ctest-vn1-vm1-41567426 ID is d97e6639-705f-48a6-920d-148364eceb79 2025-12-09 03:48:04,922 - DEBUG - VM ctest-vn1-vm1-41567426 launched on Node cn-jenkins-deploy-platform-ansible-os-4865-1 2025-12-09 03:48:04,993 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d97e6639-705f-48a6-920d-148364eceb79 2025-12-09 03:48:05,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6321e8e1-2a06-43c0-8893-967c4bdbead6 2025-12-09 03:48:08,258 - 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 1022ms') 2025-12-09 03:48:08,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41567426 failed! 2025-12-09 03:48:08,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18694963:ctest-vn1-62892384 is 156.141.76.193 and allocation pool is NOT set 2025-12-09 03:48:08,317 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18694963:ctest-vn1-62892384 is 178.179.12.1 and allocation pool is NOT set 2025-12-09 03:48:12,383 - 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=14.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 14.115/14.115/14.115/0.000 ms') 2025-12-09 03:48:12,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41567426 passed 2025-12-09 03:48:12,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:48:12,537 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41567426, IP 156.141.76.197, Port 22 2025-12-09 03:48:12,602 - 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 03:48:12,686 - DEBUG - VM ctest-vn1-vm1-41567426 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-09 03:48:17,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:48:17,688 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41567426, IP 156.141.76.197, Port 22 2025-12-09 03:48:17,845 - DEBUG - VM ctest-vn1-vm1-41567426 is ready for SSH connections 2025-12-09 03:48:17,845 - INFO - Waiting for VM ctest-vn1-vm2-24098945 to be up.. 2025-12-09 03:48:17,921 - DEBUG - VM is in ACTIVE state now 2025-12-09 03:48:17,921 - INFO - VM name : ctest-vn1-vm2-24098945 2025-12-09 03:48:17,997 - DEBUG - VM ctest-vn1-vm2-24098945 ID is 4026b001-403d-4b7a-a852-b542d5c0b9d6 2025-12-09 03:48:17,997 - DEBUG - VM ctest-vn1-vm2-24098945 launched on Node cn-jenkins-deploy-platform-ansible-os-4865-1 2025-12-09 03:48:18,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4026b001-403d-4b7a-a852-b542d5c0b9d6 2025-12-09 03:48:18,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c96ed04-86e2-4108-b19b-08eac7c39973 2025-12-09 03:48:19,321 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.782/3.126/1.344 ms') 2025-12-09 03:48:19,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-24098945 passed 2025-12-09 03:48:19,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:48:19,481 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-24098945, IP 178.179.12.5, Port 22 2025-12-09 03:48:19,645 - DEBUG - VM ctest-vn1-vm2-24098945 is ready for SSH connections 2025-12-09 03:48:19,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:48:19,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:48:19,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-09 03:48:19,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.141.76.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-09 03:48:19,646 - DEBUG - ping -s 56 -c 3 -W 1 156.141.76.197 2025-12-09 03:48:22,409 - DEBUG - PING 156.141.76.197 (156.141.76.197): 56 data bytes 64 bytes from 156.141.76.197: seq=0 ttl=63 time=4.370 ms 64 bytes from 156.141.76.197: seq=1 ttl=63 time=1.020 ms 64 bytes from 156.141.76.197: seq=2 ttl=63 time=0.967 ms --- 156.141.76.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.967/2.119/4.370 ms 2025-12-09 03:48:22,409 - INFO - Ping to IP 156.141.76.197 from VM ctest-vn1-vm2-24098945 passed 2025-12-09 03:48:22,410 - INFO - Detaching port 8c96ed04-86e2-4108-b19b-08eac7c39973 from VM ctest-vn1-vm2-24098945 2025-12-09 03:48:22,467 - INFO - Deleting VM ctest-vn1-vm2-24098945 2025-12-09 03:48:22,540 - INFO - Detaching port 6321e8e1-2a06-43c0-8893-967c4bdbead6 from VM ctest-vn1-vm1-41567426 2025-12-09 03:48:22,587 - INFO - Deleting VM ctest-vn1-vm1-41567426 2025-12-09 03:48:22,870 - DEBUG - Response for delete_port : () 2025-12-09 03:48:23,080 - DEBUG - Response for delete_port : () 2025-12-09 03:48:23,080 - INFO - Deleting VN ctest-vn1-62892384 2025-12-09 03:48:23,275 - DEBUG - Response for deleting network () 2025-12-09 03:48:23,543 - DEBUG - No XMPP flaps were noticed during the test
2025-12-09 03:48:23,543 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-12-09 03:48:23,543 - INFO - -------------------------------------------------------------------------------- 2025-12-09 03:48:24,339 - INFO - Deleted project: ctest-TestPorts-18694963, ID : a4cc2e9c-eae1-46b4-bcc2-7ef77e6cdf73