2025-10-21 14:20:16,149 - INFO - Domain Default found not creating
2025-10-21 14:20:16,271 - INFO - Project ctest-TestPorts-91351612 not found, creating it
2025-10-21 14:20:16,688 - INFO - Created Project:ctest-TestPorts-91351612, ID : 0baccdb7-5ebe-4e14-915d-a2978ae615a0
2025-10-21 14:20:18,017 - INFO - ================================================================================
2025-10-21 14:20:18,017 - INFO - STARTING TEST : test_ports_bindings
2025-10-21 14:20:18,017 - 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-10-21 14:20:18,270 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-21 14:20:18,270 - INFO - Initial checks done. Running the testcase now
2025-10-21 14:20:18,270 - INFO -
2025-10-21 14:20:18,782 - DEBUG - Response for create_network : {'network': {'id': '07ff67e4-8fc1-496f-87fc-9922f9127fb9', 'name': 'ctest-vn-74200947', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'project_id': '0baccdb75ebe4e14915da2978ae615a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91351612', 'ctest-vn-74200947'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:20:18,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '9409e3e3-32a3-4069-963d-75516e07e5f7', 'name': '', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'network_id': '07ff67e4-8fc1-496f-87fc-9922f9127fb9', 'ip_version': 4, 'cidr': '9.228.254.192/26', 'allocation_pools': [{'start': '9.228.254.194', 'end': '9.228.254.254'}], 'gateway_ip': '9.228.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.228.254.194', 'tags': [], 'project_id': '0baccdb75ebe4e14915da2978ae615a0'}}
2025-10-21 14:20:19,014 - INFO - Created VN ctest-vn-74200947
2025-10-21 14:20:19,066 - DEBUG - VN ctest-vn-74200947 UUID is 07ff67e4-8fc1-496f-87fc-9922f9127fb9
2025-10-21 14:20:19,171 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-91351612', 'ctest-vmi-41991647']}
2025-10-21 14:20:19,418 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41991647', 'id': '5e00bc7b-b112-46e3-a70a-d86bcb77ad75', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'network_id': '07ff67e4-8fc1-496f-87fc-9922f9127fb9', 'mac_address': '02:5e:00:bc:7b:b1', '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': '9.228.254.195', 'subnet_id': '9409e3e3-32a3-4069-963d-75516e07e5f7'}], 'security_groups': ['3f361b3e-c979-4f73-9091-5cca2acdd467'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0baccdb75ebe4e14915da2978ae615a0'}}
2025-10-21 14:20:19,419 - DEBUG - Created port 5e00bc7b-b112-46e3-a70a-d86bcb77ad75
2025-10-21 14:20:19,522 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e00bc7b-b112-46e3-a70a-d86bcb77ad75
2025-10-21 14:20:19,821 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5e00bc7b-b112-46e3-a70a-d86bcb77ad75
2025-10-21 14:20:19,849 - INFO - VMI 5e00bc7b-b112-46e3-a70a-d86bcb77ad75 verification in API Server passed
2025-10-21 14:20:19,927 - DEBUG - Response for delete_port : ()
2025-10-21 14:20:19,927 - INFO - Deleted port 5e00bc7b-b112-46e3-a70a-d86bcb77ad75
2025-10-21 14:20:19,927 - INFO - Deleting VN ctest-vn-74200947
2025-10-21 14:20:20,017 - DEBUG - Response for deleting network ()
2025-10-21 14:20:20,271 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 14:20:20,271 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-21 14:20:20,271 - INFO - --------------------------------------------------------------------------------
2025-10-21 14:20:20,273 - INFO - ================================================================================
2025-10-21 14:20:20,273 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-21 14:20:20,273 - 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-10-21 14:20:20,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-21 14:20:20,563 - INFO - Initial checks done. Running the testcase now
2025-10-21 14:20:20,563 - INFO -
2025-10-21 14:20:20,727 - DEBUG - Response for create_network : {'network': {'id': '97754740-7552-4d79-9ca7-4adcd4290bb7', 'name': 'ctest-vn1-27918251', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'project_id': '0baccdb75ebe4e14915da2978ae615a0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-91351612', 'ctest-vn1-27918251'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 14:20:20,925 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f70e2901-83ea-4d60-82c5-223f81adcc2b', 'name': '', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'network_id': '97754740-7552-4d79-9ca7-4adcd4290bb7', 'ip_version': 4, 'cidr': '8.238.255.64/26', 'allocation_pools': [{'start': '8.238.255.66', 'end': '8.238.255.126'}], 'gateway_ip': '8.238.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.238.255.66', 'tags': [], 'project_id': '0baccdb75ebe4e14915da2978ae615a0'}}
2025-10-21 14:20:21,075 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa5764da-64e7-47a0-95bf-061b08191187', 'name': '', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'network_id': '97754740-7552-4d79-9ca7-4adcd4290bb7', 'ip_version': 4, 'cidr': '208.60.148.0/26', 'allocation_pools': [{'start': '208.60.148.2', 'end': '208.60.148.62'}], 'gateway_ip': '208.60.148.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.60.148.2', 'tags': [], 'project_id': '0baccdb75ebe4e14915da2978ae615a0'}}
2025-10-21 14:20:21,092 - INFO - Created VN ctest-vn1-27918251
2025-10-21 14:20:21,146 - DEBUG - VN ctest-vn1-27918251 UUID is 97754740-7552-4d79-9ca7-4adcd4290bb7
2025-10-21 14:20:21,418 - DEBUG - Response for create_port : {'port': {'name': '46bfdf84-3227-45a5-9b19-4933229bf549', 'id': '46bfdf84-3227-45a5-9b19-4933229bf549', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'network_id': '97754740-7552-4d79-9ca7-4adcd4290bb7', 'mac_address': '02:46:bf:df:84:32', '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': '8.238.255.69', 'subnet_id': 'f70e2901-83ea-4d60-82c5-223f81adcc2b'}], 'security_groups': ['3f361b3e-c979-4f73-9091-5cca2acdd467'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0baccdb75ebe4e14915da2978ae615a0'}}
2025-10-21 14:20:21,597 - DEBUG - Response for create_port : {'port': {'name': '56f566ad-17ec-42de-b6c7-5868b3013976', 'id': '56f566ad-17ec-42de-b6c7-5868b3013976', 'tenant_id': '0baccdb75ebe4e14915da2978ae615a0', 'network_id': '97754740-7552-4d79-9ca7-4adcd4290bb7', 'mac_address': '02:56:f5:66:ad:17', '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': '208.60.148.5', 'subnet_id': 'fa5764da-64e7-47a0-95bf-061b08191187'}], 'security_groups': ['3f361b3e-c979-4f73-9091-5cca2acdd467'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0baccdb75ebe4e14915da2978ae615a0'}}
2025-10-21 14:20:21,656 - DEBUG - Services list from nova: [, , ]
2025-10-21 14:20:21,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4394-1)
2025-10-21 14:20:22,338 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4394-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4394-1)
2025-10-21 14:20:22,338 - INFO - Waiting for VM ctest-vn1-vm1-00505378 to be up..
2025-10-21 14:20:22,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 14:20:27,442 - DEBUG - VM is in ACTIVE state now
2025-10-21 14:20:27,442 - INFO - VM name : ctest-vn1-vm1-00505378
2025-10-21 14:20:27,508 - DEBUG - VM ctest-vn1-vm1-00505378 ID is 08565fb6-02a9-48c0-b670-aa997c5b9aea
2025-10-21 14:20:27,525 - DEBUG - VM ctest-vn1-vm1-00505378 launched on Node cn-jenkins-deploy-platform-ansible-os-4394-1
2025-10-21 14:20:27,593 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/08565fb6-02a9-48c0-b670-aa997c5b9aea
2025-10-21 14:20:27,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/46bfdf84-3227-45a5-9b19-4933229bf549
2025-10-21 14:20:30,840 - 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 1015ms')
2025-10-21 14:20:30,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00505378 failed!
2025-10-21 14:20:30,894 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91351612:ctest-vn1-27918251 is 8.238.255.65 and allocation pool is NOT set
2025-10-21 14:20:30,894 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-91351612:ctest-vn1-27918251 is 208.60.148.1 and allocation pool is NOT set
2025-10-21 14:20:32,967 - 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=4.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.350/3.117/4.884/1.767 ms')
2025-10-21 14:20:32,967 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00505378 passed
2025-10-21 14:20:33,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:20:33,114 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00505378, IP 8.238.255.69, Port 22
2025-10-21 14:20:33,270 - DEBUG - VM ctest-vn1-vm1-00505378 is ready for SSH connections
2025-10-21 14:20:33,270 - INFO - Waiting for VM ctest-vn1-vm2-45086722 to be up..
2025-10-21 14:20:33,345 - DEBUG - VM is in ACTIVE state now
2025-10-21 14:20:33,345 - INFO - VM name : ctest-vn1-vm2-45086722
2025-10-21 14:20:33,408 - DEBUG - VM ctest-vn1-vm2-45086722 ID is 915e946c-ea37-4629-ba69-6338c3a0c45a
2025-10-21 14:20:33,409 - DEBUG - VM ctest-vn1-vm2-45086722 launched on Node cn-jenkins-deploy-platform-ansible-os-4394-1
2025-10-21 14:20:33,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/915e946c-ea37-4629-ba69-6338c3a0c45a
2025-10-21 14:20:33,594 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/56f566ad-17ec-42de-b6c7-5868b3013976
2025-10-21 14:20:34,821 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.508/2.633/1.125 ms')
2025-10-21 14:20:34,821 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45086722 passed
2025-10-21 14:20:34,970 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:20:34,970 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45086722, IP 208.60.148.5, Port 22
2025-10-21 14:20:35,130 - DEBUG - VM ctest-vn1-vm2-45086722 is ready for SSH connections
2025-10-21 14:20:35,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:20:35,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:20:35,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 14:20:35,130 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.238.255.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-21 14:20:35,130 - DEBUG - ping -s 56 -c 3 -W 1 8.238.255.69
2025-10-21 14:20:38,066 - DEBUG - PING 8.238.255.69 (8.238.255.69): 56 data bytes
64 bytes from 8.238.255.69: seq=0 ttl=63 time=3.801 ms
64 bytes from 8.238.255.69: seq=1 ttl=63 time=0.653 ms
64 bytes from 8.238.255.69: seq=2 ttl=63 time=0.776 ms
--- 8.238.255.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.653/1.743/3.801 ms
2025-10-21 14:20:38,067 - INFO - Ping to IP 8.238.255.69 from VM ctest-vn1-vm2-45086722 passed
2025-10-21 14:20:38,067 - INFO - Detaching port 56f566ad-17ec-42de-b6c7-5868b3013976 from VM ctest-vn1-vm2-45086722
2025-10-21 14:20:38,113 - INFO - Deleting VM ctest-vn1-vm2-45086722
2025-10-21 14:20:38,182 - INFO - Detaching port 46bfdf84-3227-45a5-9b19-4933229bf549 from VM ctest-vn1-vm1-00505378
2025-10-21 14:20:38,213 - INFO - Deleting VM ctest-vn1-vm1-00505378
2025-10-21 14:20:38,420 - DEBUG - Response for delete_port : ()
2025-10-21 14:20:38,556 - DEBUG - Response for delete_port : ()
2025-10-21 14:20:38,556 - INFO - Deleting VN ctest-vn1-27918251
2025-10-21 14:20:38,686 - DEBUG - Response for deleting network ()
2025-10-21 14:20:38,946 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 14:20:38,946 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-21 14:20:38,946 - INFO - --------------------------------------------------------------------------------
2025-10-21 14:20:39,612 - INFO - Deleted project: ctest-TestPorts-91351612, ID : 0baccdb7-5ebe-4e14-915d-a2978ae615a0