2025-08-15 12:11:41,324 - INFO - Domain Default found not creating
2025-08-15 12:11:41,453 - INFO - Project ctest-TestPorts-28304803 not found, creating it
2025-08-15 12:11:41,912 - INFO - Created Project:ctest-TestPorts-28304803, ID : 6ab26c23-8b52-4429-b4b4-c3547f4c7673
2025-08-15 12:11:43,327 - INFO - ================================================================================
2025-08-15 12:11:43,327 - INFO - STARTING TEST : test_ports_bindings
2025-08-15 12:11:43,327 - 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-15 12:11:43,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with
2025-08-15 12:11:43,586 - INFO - Initial checks done. Running the testcase now
2025-08-15 12:11:43,586 - INFO -
2025-08-15 12:11:44,369 - DEBUG - Response for create_network : {'network': {'id': '44cb5128-ebc7-44af-9c17-ae745e3fde71', 'name': 'ctest-vn-05475500', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'project_id': '6ab26c238b524429b4b4c3547f4c7673', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28304803', 'ctest-vn-05475500'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 12:11:44,563 - DEBUG - Response for create_subnet : {'subnet': {'id': '31ac42b7-be5f-4c8d-a7bd-80bbebba7995', 'name': '', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'network_id': '44cb5128-ebc7-44af-9c17-ae745e3fde71', 'ip_version': 4, 'cidr': '185.233.33.128/26', 'allocation_pools': [{'start': '185.233.33.130', 'end': '185.233.33.190'}], 'gateway_ip': '185.233.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.233.33.130', 'tags': [], 'project_id': '6ab26c238b524429b4b4c3547f4c7673'}}
2025-08-15 12:11:44,584 - INFO - Created VN ctest-vn-05475500
2025-08-15 12:11:44,641 - DEBUG - VN ctest-vn-05475500 UUID is 44cb5128-ebc7-44af-9c17-ae745e3fde71
2025-08-15 12:11:44,747 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28304803', 'ctest-vmi-51573314']}
2025-08-15 12:11:45,004 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51573314', 'id': '7483ca22-250d-4842-9f4c-5a1ef697f117', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'network_id': '44cb5128-ebc7-44af-9c17-ae745e3fde71', 'mac_address': '02:74:83:ca:22:25', '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': '185.233.33.131', 'subnet_id': '31ac42b7-be5f-4c8d-a7bd-80bbebba7995'}], 'security_groups': ['13a9b7a5-8354-4885-bbe7-823bf9d82de6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ab26c238b524429b4b4c3547f4c7673'}}
2025-08-15 12:11:45,004 - DEBUG - Created port 7483ca22-250d-4842-9f4c-5a1ef697f117
2025-08-15 12:11:45,117 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7483ca22-250d-4842-9f4c-5a1ef697f117
2025-08-15 12:11:45,418 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7483ca22-250d-4842-9f4c-5a1ef697f117
2025-08-15 12:11:45,453 - INFO - VMI 7483ca22-250d-4842-9f4c-5a1ef697f117 verification in API Server passed
2025-08-15 12:11:45,536 - DEBUG - Response for delete_port : ()
2025-08-15 12:11:45,536 - INFO - Deleted port 7483ca22-250d-4842-9f4c-5a1ef697f117
2025-08-15 12:11:45,536 - INFO - Deleting VN ctest-vn-05475500
2025-08-15 12:11:45,638 - DEBUG - Response for deleting network ()
2025-08-15 12:11:45,890 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 12:11:45,890 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-15 12:11:45,890 - INFO - --------------------------------------------------------------------------------
2025-08-15 12:11:45,893 - INFO - ================================================================================
2025-08-15 12:11:45,893 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-15 12:11:45,893 - 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-15 12:11:46,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with
2025-08-15 12:11:46,174 - INFO - Initial checks done. Running the testcase now
2025-08-15 12:11:46,174 - INFO -
2025-08-15 12:11:46,354 - DEBUG - Response for create_network : {'network': {'id': '58e2c779-01cf-4068-b766-b7952e537e05', 'name': 'ctest-vn1-75373222', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'project_id': '6ab26c238b524429b4b4c3547f4c7673', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28304803', 'ctest-vn1-75373222'], 'port_security_enabled': True, 'description': ''}}
2025-08-15 12:11:46,518 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3876e40-3c4c-43bd-b626-d176e799bc7e', 'name': '', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'network_id': '58e2c779-01cf-4068-b766-b7952e537e05', 'ip_version': 4, 'cidr': '6.168.80.0/26', 'allocation_pools': [{'start': '6.168.80.2', 'end': '6.168.80.62'}], 'gateway_ip': '6.168.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.168.80.2', 'tags': [], 'project_id': '6ab26c238b524429b4b4c3547f4c7673'}}
2025-08-15 12:11:46,691 - DEBUG - Response for create_subnet : {'subnet': {'id': '975c3075-226f-4c75-a066-a1de85f482ef', 'name': '', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'network_id': '58e2c779-01cf-4068-b766-b7952e537e05', 'ip_version': 4, 'cidr': '57.140.88.128/26', 'allocation_pools': [{'start': '57.140.88.130', 'end': '57.140.88.190'}], 'gateway_ip': '57.140.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.140.88.130', 'tags': [], 'project_id': '6ab26c238b524429b4b4c3547f4c7673'}}
2025-08-15 12:11:46,712 - INFO - Created VN ctest-vn1-75373222
2025-08-15 12:11:46,765 - DEBUG - VN ctest-vn1-75373222 UUID is 58e2c779-01cf-4068-b766-b7952e537e05
2025-08-15 12:11:47,070 - DEBUG - Response for create_port : {'port': {'name': '295a73df-861a-4a0d-acaf-4739767eb1c7', 'id': '295a73df-861a-4a0d-acaf-4739767eb1c7', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'network_id': '58e2c779-01cf-4068-b766-b7952e537e05', 'mac_address': '02:29:5a:73:df: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': '6.168.80.5', 'subnet_id': 'b3876e40-3c4c-43bd-b626-d176e799bc7e'}], 'security_groups': ['13a9b7a5-8354-4885-bbe7-823bf9d82de6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ab26c238b524429b4b4c3547f4c7673'}}
2025-08-15 12:11:47,244 - DEBUG - Response for create_port : {'port': {'name': 'b7a56027-de95-4e98-8de1-c1c06ae37329', 'id': 'b7a56027-de95-4e98-8de1-c1c06ae37329', 'tenant_id': '6ab26c238b524429b4b4c3547f4c7673', 'network_id': '58e2c779-01cf-4068-b766-b7952e537e05', 'mac_address': '02:b7:a5:60:27:de', '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': '57.140.88.133', 'subnet_id': '975c3075-226f-4c75-a066-a1de85f482ef'}], 'security_groups': ['13a9b7a5-8354-4885-bbe7-823bf9d82de6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6ab26c238b524429b4b4c3547f4c7673'}}
2025-08-15 12:11:47,295 - DEBUG - Services list from nova: [, , ]
2025-08-15 12:11:47,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1)
2025-08-15 12:11:48,120 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3864-1)
2025-08-15 12:11:48,120 - INFO - Waiting for VM ctest-vn1-vm1-75214676 to be up..
2025-08-15 12:11:48,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-15 12:11:53,243 - DEBUG - VM is in ACTIVE state now
2025-08-15 12:11:53,243 - INFO - VM name : ctest-vn1-vm1-75214676
2025-08-15 12:11:53,308 - DEBUG - VM ctest-vn1-vm1-75214676 ID is 2b4a5e79-f01a-4f27-af84-e750aaf13cb9
2025-08-15 12:11:53,332 - DEBUG - VM ctest-vn1-vm1-75214676 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1
2025-08-15 12:11:53,409 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2b4a5e79-f01a-4f27-af84-e750aaf13cb9
2025-08-15 12:11:53,421 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/295a73df-861a-4a0d-acaf-4739767eb1c7
2025-08-15 12:11:56,678 - 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 1013ms')
2025-08-15 12:11:56,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75214676 failed!
2025-08-15 12:11:56,733 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28304803:ctest-vn1-75373222 is 6.168.80.1 and allocation pool is NOT set
2025-08-15 12:11:56,733 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28304803:ctest-vn1-75373222 is 57.140.88.129 and allocation pool is NOT set
2025-08-15 12:11:58,796 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.299 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.299/1.909/3.519/1.610 ms')
2025-08-15 12:11:58,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75214676 passed
2025-08-15 12:11:58,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 12:11:58,949 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75214676, IP 6.168.80.5, Port 22
2025-08-15 12:11:59,105 - DEBUG - VM ctest-vn1-vm1-75214676 is ready for SSH connections
2025-08-15 12:11:59,105 - INFO - Waiting for VM ctest-vn1-vm2-49931339 to be up..
2025-08-15 12:11:59,172 - DEBUG - VM is in ACTIVE state now
2025-08-15 12:11:59,172 - INFO - VM name : ctest-vn1-vm2-49931339
2025-08-15 12:11:59,235 - DEBUG - VM ctest-vn1-vm2-49931339 ID is c4c6960c-9714-4b9e-aa84-0465e60b3e35
2025-08-15 12:11:59,235 - DEBUG - VM ctest-vn1-vm2-49931339 launched on Node cn-jenkins-deploy-platform-ansible-os-3864-1
2025-08-15 12:11:59,299 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c4c6960c-9714-4b9e-aa84-0465e60b3e35
2025-08-15 12:11:59,307 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b7a56027-de95-4e98-8de1-c1c06ae37329
2025-08-15 12:12:00,545 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.410/1.966/3.523/1.556 ms')
2025-08-15 12:12:00,546 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-49931339 passed
2025-08-15 12:12:00,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 12:12:00,693 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-49931339, IP 57.140.88.133, Port 22
2025-08-15 12:12:00,848 - DEBUG - VM ctest-vn1-vm2-49931339 is ready for SSH connections
2025-08-15 12:12:00,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 12:12:00,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 12:12:00,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-15 12:12:00,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.168.80.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-08-15 12:12:00,848 - DEBUG - ping -s 56 -c 3 -W 1 6.168.80.5
2025-08-15 12:12:03,461 - DEBUG - PING 6.168.80.5 (6.168.80.5): 56 data bytes
64 bytes from 6.168.80.5: seq=0 ttl=63 time=3.339 ms
64 bytes from 6.168.80.5: seq=1 ttl=63 time=0.795 ms
64 bytes from 6.168.80.5: seq=2 ttl=63 time=0.920 ms
--- 6.168.80.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.795/1.684/3.339 ms
2025-08-15 12:12:03,461 - INFO - Ping to IP 6.168.80.5 from VM ctest-vn1-vm2-49931339 passed
2025-08-15 12:12:03,461 - INFO - Detaching port b7a56027-de95-4e98-8de1-c1c06ae37329 from VM ctest-vn1-vm2-49931339
2025-08-15 12:12:03,507 - INFO - Deleting VM ctest-vn1-vm2-49931339
2025-08-15 12:12:03,569 - INFO - Detaching port 295a73df-861a-4a0d-acaf-4739767eb1c7 from VM ctest-vn1-vm1-75214676
2025-08-15 12:12:03,606 - INFO - Deleting VM ctest-vn1-vm1-75214676
2025-08-15 12:12:03,832 - DEBUG - Response for delete_port : ()
2025-08-15 12:12:03,999 - DEBUG - Response for delete_port : ()
2025-08-15 12:12:03,999 - INFO - Deleting VN ctest-vn1-75373222
2025-08-15 12:12:04,165 - DEBUG - Response for deleting network ()
2025-08-15 12:12:04,418 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 12:12:04,418 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-15 12:12:04,418 - INFO - --------------------------------------------------------------------------------
2025-08-15 12:12:05,092 - INFO - Deleted project: ctest-TestPorts-28304803, ID : 6ab26c23-8b52-4429-b4b4-c3547f4c7673