2025-10-23 01:48:53,523 - INFO - Domain Default found not creating
2025-10-23 01:48:53,650 - INFO - Project ctest-TestPorts-55286250 not found, creating it
2025-10-23 01:48:54,073 - INFO - Created Project:ctest-TestPorts-55286250, ID : fff85ab2-a00a-4d49-8eed-f61e7823e1d3
2025-10-23 01:48:55,407 - INFO - ================================================================================
2025-10-23 01:48:55,407 - INFO - STARTING TEST : test_ports_bindings
2025-10-23 01:48:55,407 - 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-23 01:48:55,665 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-10-23 01:48:55,665 - INFO - Initial checks done. Running the testcase now
2025-10-23 01:48:55,665 - INFO -
2025-10-23 01:48:56,172 - DEBUG - Response for create_network : {'network': {'id': '54991a13-3532-4864-8e4e-14c6f880f6e7', 'name': 'ctest-vn-10226744', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55286250', 'ctest-vn-10226744'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 01:48:56,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '13f43d44-6037-4282-a9d1-924d71eaef33', 'name': '', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'network_id': '54991a13-3532-4864-8e4e-14c6f880f6e7', 'ip_version': 4, 'cidr': '60.184.154.64/26', 'allocation_pools': [{'start': '60.184.154.66', 'end': '60.184.154.126'}], 'gateway_ip': '60.184.154.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.184.154.66', 'tags': [], 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3'}}
2025-10-23 01:48:56,364 - INFO - Created VN ctest-vn-10226744
2025-10-23 01:48:56,416 - DEBUG - VN ctest-vn-10226744 UUID is 54991a13-3532-4864-8e4e-14c6f880f6e7
2025-10-23 01:48:56,516 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-55286250', 'ctest-vmi-14026767']}
2025-10-23 01:48:56,828 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14026767', 'id': '18e7a337-5bfb-4142-9332-2ded0a6dcbda', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'network_id': '54991a13-3532-4864-8e4e-14c6f880f6e7', 'mac_address': '02:18:e7:a3:37:5b', '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': '60.184.154.67', 'subnet_id': '13f43d44-6037-4282-a9d1-924d71eaef33'}], 'security_groups': ['a52d54d9-1b96-4bf4-bda3-0fe41cb9878a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3'}}
2025-10-23 01:48:56,828 - DEBUG - Created port 18e7a337-5bfb-4142-9332-2ded0a6dcbda
2025-10-23 01:48:56,932 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/18e7a337-5bfb-4142-9332-2ded0a6dcbda
2025-10-23 01:48:57,220 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/18e7a337-5bfb-4142-9332-2ded0a6dcbda
2025-10-23 01:48:57,249 - INFO - VMI 18e7a337-5bfb-4142-9332-2ded0a6dcbda verification in API Server passed
2025-10-23 01:48:57,320 - DEBUG - Response for delete_port : ()
2025-10-23 01:48:57,320 - INFO - Deleted port 18e7a337-5bfb-4142-9332-2ded0a6dcbda
2025-10-23 01:48:57,320 - INFO - Deleting VN ctest-vn-10226744
2025-10-23 01:48:57,404 - DEBUG - Response for deleting network ()
2025-10-23 01:48:57,653 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 01:48:57,653 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-23 01:48:57,653 - INFO - --------------------------------------------------------------------------------
2025-10-23 01:48:57,655 - INFO - ================================================================================
2025-10-23 01:48:57,655 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-23 01:48:57,655 - 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-23 01:48:57,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2025-10-23 01:48:57,941 - INFO - Initial checks done. Running the testcase now
2025-10-23 01:48:57,941 - INFO -
2025-10-23 01:48:58,095 - DEBUG - Response for create_network : {'network': {'id': 'a7cb347f-15ed-4c0e-b0df-41a69acf96cb', 'name': 'ctest-vn1-00110959', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-55286250', 'ctest-vn1-00110959'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 01:48:58,236 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6886118-d651-4f00-b260-639e15ffb3f4', 'name': '', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'network_id': 'a7cb347f-15ed-4c0e-b0df-41a69acf96cb', 'ip_version': 4, 'cidr': '208.141.247.128/26', 'allocation_pools': [{'start': '208.141.247.130', 'end': '208.141.247.190'}], 'gateway_ip': '208.141.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.141.247.130', 'tags': [], 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3'}}
2025-10-23 01:48:58,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '1c28fa22-c7b0-4548-afbb-a13ff306e90a', 'name': '', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'network_id': 'a7cb347f-15ed-4c0e-b0df-41a69acf96cb', 'ip_version': 4, 'cidr': '156.75.216.0/26', 'allocation_pools': [{'start': '156.75.216.2', 'end': '156.75.216.62'}], 'gateway_ip': '156.75.216.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.75.216.2', 'tags': [], 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3'}}
2025-10-23 01:48:58,375 - INFO - Created VN ctest-vn1-00110959
2025-10-23 01:48:58,424 - DEBUG - VN ctest-vn1-00110959 UUID is a7cb347f-15ed-4c0e-b0df-41a69acf96cb
2025-10-23 01:48:58,688 - DEBUG - Response for create_port : {'port': {'name': 'b2b0fff3-dcd7-4bbd-bad1-fc44ea7ec974', 'id': 'b2b0fff3-dcd7-4bbd-bad1-fc44ea7ec974', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'network_id': 'a7cb347f-15ed-4c0e-b0df-41a69acf96cb', 'mac_address': '02:b2:b0:ff:f3:dc', '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.141.247.133', 'subnet_id': 'b6886118-d651-4f00-b260-639e15ffb3f4'}], 'security_groups': ['a52d54d9-1b96-4bf4-bda3-0fe41cb9878a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3'}}
2025-10-23 01:48:58,849 - DEBUG - Response for create_port : {'port': {'name': '52578f03-dc92-4d39-9b61-4b2154a8c70a', 'id': '52578f03-dc92-4d39-9b61-4b2154a8c70a', 'tenant_id': 'fff85ab2a00a4d498eedf61e7823e1d3', 'network_id': 'a7cb347f-15ed-4c0e-b0df-41a69acf96cb', 'mac_address': '02:52:57:8f:03:dc', '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.75.216.5', 'subnet_id': '1c28fa22-c7b0-4548-afbb-a13ff306e90a'}], 'security_groups': ['a52d54d9-1b96-4bf4-bda3-0fe41cb9878a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fff85ab2a00a4d498eedf61e7823e1d3'}}
2025-10-23 01:48:58,899 - DEBUG - Services list from nova: [, , ]
2025-10-23 01:48:59,177 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4446-1)
2025-10-23 01:48:59,641 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4446-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4446-1)
2025-10-23 01:48:59,641 - INFO - Waiting for VM ctest-vn1-vm1-35075970 to be up..
2025-10-23 01:48:59,673 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 01:49:04,742 - DEBUG - VM is in ACTIVE state now
2025-10-23 01:49:04,742 - INFO - VM name : ctest-vn1-vm1-35075970
2025-10-23 01:49:04,805 - DEBUG - VM ctest-vn1-vm1-35075970 ID is 87565b34-d04d-48ee-adb3-b869e16e8830
2025-10-23 01:49:04,823 - DEBUG - VM ctest-vn1-vm1-35075970 launched on Node cn-jenkins-deploy-platform-ansible-os-4446-1
2025-10-23 01:49:04,893 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/87565b34-d04d-48ee-adb3-b869e16e8830
2025-10-23 01:49:04,902 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b2b0fff3-dcd7-4bbd-bad1-fc44ea7ec974
2025-10-23 01:49:08,197 - 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 1031ms')
2025-10-23 01:49:08,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35075970 failed!
2025-10-23 01:49:08,252 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55286250:ctest-vn1-00110959 is 208.141.247.129 and allocation pool is NOT set
2025-10-23 01:49:08,253 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-55286250:ctest-vn1-00110959 is 156.75.216.1 and allocation pool is NOT set
2025-10-23 01:49:10,314 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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 = 2.486/2.590/2.695/0.104 ms')
2025-10-23 01:49:10,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35075970 passed
2025-10-23 01:49:10,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:49:10,465 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35075970, IP 208.141.247.133, Port 22
2025-10-23 01:49:10,621 - DEBUG - VM ctest-vn1-vm1-35075970 is ready for SSH connections
2025-10-23 01:49:10,621 - INFO - Waiting for VM ctest-vn1-vm2-47266190 to be up..
2025-10-23 01:49:10,705 - DEBUG - VM is in ACTIVE state now
2025-10-23 01:49:10,705 - INFO - VM name : ctest-vn1-vm2-47266190
2025-10-23 01:49:10,770 - DEBUG - VM ctest-vn1-vm2-47266190 ID is af66e803-b946-47ab-8a97-effaf8280776
2025-10-23 01:49:10,770 - DEBUG - VM ctest-vn1-vm2-47266190 launched on Node cn-jenkins-deploy-platform-ansible-os-4446-1
2025-10-23 01:49:10,833 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/af66e803-b946-47ab-8a97-effaf8280776
2025-10-23 01:49:10,859 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/52578f03-dc92-4d39-9b61-4b2154a8c70a
2025-10-23 01:49:12,084 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.536/2.641/1.105 ms')
2025-10-23 01:49:12,084 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-47266190 passed
2025-10-23 01:49:12,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:49:12,237 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47266190, IP 156.75.216.5, Port 22
2025-10-23 01:49:12,392 - DEBUG - VM ctest-vn1-vm2-47266190 is ready for SSH connections
2025-10-23 01:49:12,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:49:12,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:49:12,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 01:49:12,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.141.247.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-10-23 01:49:12,392 - DEBUG - ping -s 56 -c 3 -W 1 208.141.247.133
2025-10-23 01:49:15,304 - DEBUG - PING 208.141.247.133 (208.141.247.133): 56 data bytes
64 bytes from 208.141.247.133: seq=0 ttl=63 time=3.211 ms
64 bytes from 208.141.247.133: seq=1 ttl=63 time=0.670 ms
64 bytes from 208.141.247.133: seq=2 ttl=63 time=0.681 ms
--- 208.141.247.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.670/1.520/3.211 ms
2025-10-23 01:49:15,304 - INFO - Ping to IP 208.141.247.133 from VM ctest-vn1-vm2-47266190 passed
2025-10-23 01:49:15,304 - INFO - Detaching port 52578f03-dc92-4d39-9b61-4b2154a8c70a from VM ctest-vn1-vm2-47266190
2025-10-23 01:49:15,349 - INFO - Deleting VM ctest-vn1-vm2-47266190
2025-10-23 01:49:15,406 - INFO - Detaching port b2b0fff3-dcd7-4bbd-bad1-fc44ea7ec974 from VM ctest-vn1-vm1-35075970
2025-10-23 01:49:15,434 - INFO - Deleting VM ctest-vn1-vm1-35075970
2025-10-23 01:49:15,623 - DEBUG - Response for delete_port : ()
2025-10-23 01:49:15,769 - DEBUG - Response for delete_port : ()
2025-10-23 01:49:15,769 - INFO - Deleting VN ctest-vn1-00110959
2025-10-23 01:49:15,918 - DEBUG - Response for deleting network ()
2025-10-23 01:49:16,180 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 01:49:16,181 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-23 01:49:16,181 - INFO - --------------------------------------------------------------------------------
2025-10-23 01:49:16,838 - INFO - Deleted project: ctest-TestPorts-55286250, ID : fff85ab2-a00a-4d49-8eed-f61e7823e1d3