2025-08-11 13:36:29,031 - INFO - Domain Default found not creating
2025-08-11 13:36:29,150 - INFO - Project ctest-TestPorts-30955025 not found, creating it
2025-08-11 13:36:29,666 - INFO - Created Project:ctest-TestPorts-30955025, ID : a53701ba-d05a-4eb0-8a6e-93e284ad36c9
2025-08-11 13:36:30,965 - INFO - ================================================================================
2025-08-11 13:36:30,965 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 13:36:30,965 - 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-11 13:36:31,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with
2025-08-11 13:36:31,224 - INFO - Initial checks done. Running the testcase now
2025-08-11 13:36:31,224 - INFO -
2025-08-11 13:36:31,744 - DEBUG - Response for create_network : {'network': {'id': 'bb9c5cd8-5b05-4ef7-8667-94d704328b8a', 'name': 'ctest-vn-52478379', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30955025', 'ctest-vn-52478379'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 13:36:31,896 - DEBUG - Response for create_subnet : {'subnet': {'id': '176dd454-4615-424c-801c-c789b55cebdf', 'name': '', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'network_id': 'bb9c5cd8-5b05-4ef7-8667-94d704328b8a', 'ip_version': 4, 'cidr': '123.6.89.64/26', 'allocation_pools': [{'start': '123.6.89.66', 'end': '123.6.89.126'}], 'gateway_ip': '123.6.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.6.89.66', 'tags': [], 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9'}}
2025-08-11 13:36:31,911 - INFO - Created VN ctest-vn-52478379
2025-08-11 13:36:31,963 - DEBUG - VN ctest-vn-52478379 UUID is bb9c5cd8-5b05-4ef7-8667-94d704328b8a
2025-08-11 13:36:32,063 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30955025', 'ctest-vmi-04798242']}
2025-08-11 13:36:32,337 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04798242', 'id': 'e7a33447-52c4-4c74-bcd6-7b5dedf00902', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'network_id': 'bb9c5cd8-5b05-4ef7-8667-94d704328b8a', 'mac_address': '02:e7:a3:34:47:52', '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': '123.6.89.67', 'subnet_id': '176dd454-4615-424c-801c-c789b55cebdf'}], 'security_groups': ['31f5ae04-3f95-47cf-9e9d-2d587bdcd668'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9'}}
2025-08-11 13:36:32,337 - DEBUG - Created port e7a33447-52c4-4c74-bcd6-7b5dedf00902
2025-08-11 13:36:32,443 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e7a33447-52c4-4c74-bcd6-7b5dedf00902
2025-08-11 13:36:32,733 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e7a33447-52c4-4c74-bcd6-7b5dedf00902
2025-08-11 13:36:32,764 - INFO - VMI e7a33447-52c4-4c74-bcd6-7b5dedf00902 verification in API Server passed
2025-08-11 13:36:32,851 - DEBUG - Response for delete_port : ()
2025-08-11 13:36:32,851 - INFO - Deleted port e7a33447-52c4-4c74-bcd6-7b5dedf00902
2025-08-11 13:36:32,852 - INFO - Deleting VN ctest-vn-52478379
2025-08-11 13:36:32,953 - DEBUG - Response for deleting network ()
2025-08-11 13:36:33,208 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 13:36:33,208 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-11 13:36:33,208 - INFO - --------------------------------------------------------------------------------
2025-08-11 13:36:33,211 - INFO - ================================================================================
2025-08-11 13:36:33,211 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 13:36:33,211 - 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-11 13:36:33,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with
2025-08-11 13:36:33,492 - INFO - Initial checks done. Running the testcase now
2025-08-11 13:36:33,492 - INFO -
2025-08-11 13:36:33,655 - DEBUG - Response for create_network : {'network': {'id': '6661dd75-fa69-4ebf-8c40-25980319bd81', 'name': 'ctest-vn1-35625901', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30955025', 'ctest-vn1-35625901'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 13:36:33,867 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c3c6cd6-d3bb-437d-9e4f-e77c026f9db4', 'name': '', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'network_id': '6661dd75-fa69-4ebf-8c40-25980319bd81', 'ip_version': 4, 'cidr': '3.0.45.0/26', 'allocation_pools': [{'start': '3.0.45.2', 'end': '3.0.45.62'}], 'gateway_ip': '3.0.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.0.45.2', 'tags': [], 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9'}}
2025-08-11 13:36:34,034 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4561536-b280-4f8f-ab31-5b4783531466', 'name': '', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'network_id': '6661dd75-fa69-4ebf-8c40-25980319bd81', 'ip_version': 4, 'cidr': '16.188.54.192/26', 'allocation_pools': [{'start': '16.188.54.194', 'end': '16.188.54.254'}], 'gateway_ip': '16.188.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.188.54.194', 'tags': [], 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9'}}
2025-08-11 13:36:34,050 - INFO - Created VN ctest-vn1-35625901
2025-08-11 13:36:34,103 - DEBUG - VN ctest-vn1-35625901 UUID is 6661dd75-fa69-4ebf-8c40-25980319bd81
2025-08-11 13:36:34,376 - DEBUG - Response for create_port : {'port': {'name': 'b768cca3-3e78-44fe-8263-7ef8e8fc8835', 'id': 'b768cca3-3e78-44fe-8263-7ef8e8fc8835', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'network_id': '6661dd75-fa69-4ebf-8c40-25980319bd81', 'mac_address': '02:b7:68:cc:a3:3e', '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': '3.0.45.5', 'subnet_id': '9c3c6cd6-d3bb-437d-9e4f-e77c026f9db4'}], 'security_groups': ['31f5ae04-3f95-47cf-9e9d-2d587bdcd668'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9'}}
2025-08-11 13:36:34,548 - DEBUG - Response for create_port : {'port': {'name': '6f718771-03ee-4ec5-8ee3-c3120220d764', 'id': '6f718771-03ee-4ec5-8ee3-c3120220d764', 'tenant_id': 'a53701bad05a4eb08a6e93e284ad36c9', 'network_id': '6661dd75-fa69-4ebf-8c40-25980319bd81', 'mac_address': '02:6f:71:87:71:03', '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': '16.188.54.197', 'subnet_id': 'e4561536-b280-4f8f-ab31-5b4783531466'}], 'security_groups': ['31f5ae04-3f95-47cf-9e9d-2d587bdcd668'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a53701bad05a4eb08a6e93e284ad36c9'}}
2025-08-11 13:36:34,601 - DEBUG - Services list from nova: [, , ]
2025-08-11 13:36:34,877 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3807-1)
2025-08-11 13:36:35,316 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3807-1)
2025-08-11 13:36:35,316 - INFO - Waiting for VM ctest-vn1-vm1-06216494 to be up..
2025-08-11 13:36:35,349 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 13:36:40,413 - DEBUG - VM is in ACTIVE state now
2025-08-11 13:36:40,413 - INFO - VM name : ctest-vn1-vm1-06216494
2025-08-11 13:36:40,476 - DEBUG - VM ctest-vn1-vm1-06216494 ID is f81655fa-5b46-4bae-b40c-cea4853b1755
2025-08-11 13:36:40,493 - DEBUG - VM ctest-vn1-vm1-06216494 launched on Node cn-jenkins-deploy-platform-ansible-os-3807-1
2025-08-11 13:36:40,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f81655fa-5b46-4bae-b40c-cea4853b1755
2025-08-11 13:36:40,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b768cca3-3e78-44fe-8263-7ef8e8fc8835
2025-08-11 13:36:43,824 - 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 1032ms')
2025-08-11 13:36:43,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06216494 failed!
2025-08-11 13:36:43,879 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30955025:ctest-vn1-35625901 is 3.0.45.1 and allocation pool is NOT set
2025-08-11 13:36:43,879 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30955025:ctest-vn1-35625901 is 16.188.54.193 and allocation pool is NOT set
2025-08-11 13:36:45,941 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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 = 0.394/1.589/2.785/1.195 ms')
2025-08-11 13:36:45,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06216494 passed
2025-08-11 13:36:46,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:36:46,127 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06216494, IP 3.0.45.5, Port 22
2025-08-11 13:36:46,283 - DEBUG - VM ctest-vn1-vm1-06216494 is ready for SSH connections
2025-08-11 13:36:46,283 - INFO - Waiting for VM ctest-vn1-vm2-15810123 to be up..
2025-08-11 13:36:46,370 - DEBUG - VM is in ACTIVE state now
2025-08-11 13:36:46,370 - INFO - VM name : ctest-vn1-vm2-15810123
2025-08-11 13:36:46,437 - DEBUG - VM ctest-vn1-vm2-15810123 ID is 0f5bf11b-c574-42ca-a707-5c412a1ea04f
2025-08-11 13:36:46,437 - DEBUG - VM ctest-vn1-vm2-15810123 launched on Node cn-jenkins-deploy-platform-ansible-os-3807-1
2025-08-11 13:36:46,504 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0f5bf11b-c574-42ca-a707-5c412a1ea04f
2025-08-11 13:36:46,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6f718771-03ee-4ec5-8ee3-c3120220d764
2025-08-11 13:36:47,747 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.524/2.668/1.143 ms')
2025-08-11 13:36:47,747 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15810123 passed
2025-08-11 13:36:47,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:36:47,895 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15810123, IP 16.188.54.197, Port 22
2025-08-11 13:36:48,050 - DEBUG - VM ctest-vn1-vm2-15810123 is ready for SSH connections
2025-08-11 13:36:48,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:36:48,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:36:48,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 13:36:48,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.0.45.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-11 13:36:48,050 - DEBUG - ping -s 56 -c 3 -W 1 3.0.45.5
2025-08-11 13:36:50,657 - DEBUG - PING 3.0.45.5 (3.0.45.5): 56 data bytes
64 bytes from 3.0.45.5: seq=0 ttl=63 time=3.342 ms
64 bytes from 3.0.45.5: seq=1 ttl=63 time=0.706 ms
64 bytes from 3.0.45.5: seq=2 ttl=63 time=0.686 ms
--- 3.0.45.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.686/1.578/3.342 ms
2025-08-11 13:36:50,657 - INFO - Ping to IP 3.0.45.5 from VM ctest-vn1-vm2-15810123 passed
2025-08-11 13:36:50,658 - INFO - Detaching port 6f718771-03ee-4ec5-8ee3-c3120220d764 from VM ctest-vn1-vm2-15810123
2025-08-11 13:36:50,701 - INFO - Deleting VM ctest-vn1-vm2-15810123
2025-08-11 13:36:50,768 - INFO - Detaching port b768cca3-3e78-44fe-8263-7ef8e8fc8835 from VM ctest-vn1-vm1-06216494
2025-08-11 13:36:50,797 - INFO - Deleting VM ctest-vn1-vm1-06216494
2025-08-11 13:36:51,016 - DEBUG - Response for delete_port : ()
2025-08-11 13:36:51,165 - DEBUG - Response for delete_port : ()
2025-08-11 13:36:51,165 - INFO - Deleting VN ctest-vn1-35625901
2025-08-11 13:36:51,307 - DEBUG - Response for deleting network ()
2025-08-11 13:36:51,568 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 13:36:51,568 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-11 13:36:51,568 - INFO - --------------------------------------------------------------------------------
2025-08-11 13:36:52,243 - INFO - Deleted project: ctest-TestPorts-30955025, ID : a53701ba-d05a-4eb0-8a6e-93e284ad36c9