2025-10-06 22:47:54,279 - INFO - Domain Default found not creating 2025-10-06 22:47:54,407 - INFO - Project ctest-TestPorts-66438311 not found, creating it 2025-10-06 22:47:54,883 - INFO - Created Project:ctest-TestPorts-66438311, ID : bc08d4dd-8456-4620-991b-2c870280eec1 2025-10-06 22:47:56,922 - INFO - ================================================================================ 2025-10-06 22:47:56,922 - INFO - STARTING TEST : test_ports_bindings 2025-10-06 22:47:56,922 - 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-06 22:47:57,176 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 22:47:57,176 - INFO - Initial checks done. Running the testcase now 2025-10-06 22:47:57,176 - INFO - 2025-10-06 22:47:57,741 - DEBUG - Response for create_network : {'network': {'id': '582f54e1-bf1a-43d3-ae32-b7d199492d18', 'name': 'ctest-vn-42760163', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'project_id': 'bc08d4dd84564620991b2c870280eec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66438311', 'ctest-vn-42760163'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:47:57,958 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da888ea9-7ba5-427d-8a7d-d270ae620f3e', 'name': '', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'network_id': '582f54e1-bf1a-43d3-ae32-b7d199492d18', 'ip_version': 4, 'cidr': '5.193.64.0/26', 'allocation_pools': [{'start': '5.193.64.2', 'end': '5.193.64.62'}], 'gateway_ip': '5.193.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.193.64.2', 'tags': [], 'project_id': 'bc08d4dd84564620991b2c870280eec1'}} 2025-10-06 22:47:57,974 - INFO - Created VN ctest-vn-42760163 2025-10-06 22:47:58,023 - DEBUG - VN ctest-vn-42760163 UUID is 582f54e1-bf1a-43d3-ae32-b7d199492d18 2025-10-06 22:47:58,130 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66438311', 'ctest-vmi-63699301']} 2025-10-06 22:47:58,405 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63699301', 'id': '1eba95bb-c538-4fab-9220-5e05f3d949f8', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'network_id': '582f54e1-bf1a-43d3-ae32-b7d199492d18', 'mac_address': '02:1e:ba:95:bb:c5', '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': '5.193.64.3', 'subnet_id': 'da888ea9-7ba5-427d-8a7d-d270ae620f3e'}], 'security_groups': ['42555736-0c37-4646-b22a-f63efb47e619'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc08d4dd84564620991b2c870280eec1'}} 2025-10-06 22:47:58,405 - DEBUG - Created port 1eba95bb-c538-4fab-9220-5e05f3d949f8 2025-10-06 22:47:58,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1eba95bb-c538-4fab-9220-5e05f3d949f8 2025-10-06 22:47:58,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/1eba95bb-c538-4fab-9220-5e05f3d949f8 2025-10-06 22:47:58,842 - INFO - VMI 1eba95bb-c538-4fab-9220-5e05f3d949f8 verification in API Server passed 2025-10-06 22:47:58,921 - DEBUG - Response for delete_port : () 2025-10-06 22:47:58,921 - INFO - Deleted port 1eba95bb-c538-4fab-9220-5e05f3d949f8 2025-10-06 22:47:58,921 - INFO - Deleting VN ctest-vn-42760163 2025-10-06 22:47:59,023 - DEBUG - Response for deleting network () 2025-10-06 22:47:59,276 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 22:47:59,277 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-06 22:47:59,277 - INFO - -------------------------------------------------------------------------------- 2025-10-06 22:47:59,279 - INFO - ================================================================================ 2025-10-06 22:47:59,279 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-06 22:47:59,279 - 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-06 22:47:59,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 22:47:59,568 - INFO - Initial checks done. Running the testcase now 2025-10-06 22:47:59,568 - INFO - 2025-10-06 22:47:59,735 - DEBUG - Response for create_network : {'network': {'id': '8cee58cc-289c-4f4e-9219-4fa25a861799', 'name': 'ctest-vn1-44212408', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'project_id': 'bc08d4dd84564620991b2c870280eec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66438311', 'ctest-vn1-44212408'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:47:59,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8c6d333-c65c-4148-b8d4-17eb2559fc00', 'name': '', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'network_id': '8cee58cc-289c-4f4e-9219-4fa25a861799', 'ip_version': 4, 'cidr': '70.194.254.192/26', 'allocation_pools': [{'start': '70.194.254.194', 'end': '70.194.254.254'}], 'gateway_ip': '70.194.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.194.254.194', 'tags': [], 'project_id': 'bc08d4dd84564620991b2c870280eec1'}} 2025-10-06 22:48:00,066 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b646910-f3ef-4e34-b8e5-f001a525f64e', 'name': '', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'network_id': '8cee58cc-289c-4f4e-9219-4fa25a861799', 'ip_version': 4, 'cidr': '175.250.124.0/26', 'allocation_pools': [{'start': '175.250.124.2', 'end': '175.250.124.62'}], 'gateway_ip': '175.250.124.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.250.124.2', 'tags': [], 'project_id': 'bc08d4dd84564620991b2c870280eec1'}} 2025-10-06 22:48:00,083 - INFO - Created VN ctest-vn1-44212408 2025-10-06 22:48:00,135 - DEBUG - VN ctest-vn1-44212408 UUID is 8cee58cc-289c-4f4e-9219-4fa25a861799 2025-10-06 22:48:00,438 - DEBUG - Response for create_port : {'port': {'name': '9bd785e2-181a-4f35-898b-be6d227df34f', 'id': '9bd785e2-181a-4f35-898b-be6d227df34f', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'network_id': '8cee58cc-289c-4f4e-9219-4fa25a861799', 'mac_address': '02:9b:d7:85:e2:18', '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': '70.194.254.197', 'subnet_id': 'b8c6d333-c65c-4148-b8d4-17eb2559fc00'}], 'security_groups': ['42555736-0c37-4646-b22a-f63efb47e619'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc08d4dd84564620991b2c870280eec1'}} 2025-10-06 22:48:00,607 - DEBUG - Response for create_port : {'port': {'name': '5ad998a6-2e73-4c62-b87b-dd962e1618c5', 'id': '5ad998a6-2e73-4c62-b87b-dd962e1618c5', 'tenant_id': 'bc08d4dd84564620991b2c870280eec1', 'network_id': '8cee58cc-289c-4f4e-9219-4fa25a861799', 'mac_address': '02:5a:d9:98:a6:2e', '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': '175.250.124.5', 'subnet_id': '9b646910-f3ef-4e34-b8e5-f001a525f64e'}], 'security_groups': ['42555736-0c37-4646-b22a-f63efb47e619'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bc08d4dd84564620991b2c870280eec1'}} 2025-10-06 22:48:00,668 - DEBUG - Services list from nova: [, , ] 2025-10-06 22:48:00,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:48:01,422 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:48:01,422 - INFO - Waiting for VM ctest-vn1-vm1-98451409 to be up.. 2025-10-06 22:48:01,600 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 22:48:06,672 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:48:06,672 - INFO - VM name : ctest-vn1-vm1-98451409 2025-10-06 22:48:06,740 - DEBUG - VM ctest-vn1-vm1-98451409 ID is b02930af-5f04-4d94-a593-63c9fe3caa6f 2025-10-06 22:48:06,760 - DEBUG - VM ctest-vn1-vm1-98451409 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:48:06,842 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b02930af-5f04-4d94-a593-63c9fe3caa6f 2025-10-06 22:48:06,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9bd785e2-181a-4f35-898b-be6d227df34f 2025-10-06 22:48:10,103 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1019ms') 2025-10-06 22:48:10,103 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-98451409 failed! 2025-10-06 22:48:10,159 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66438311:ctest-vn1-44212408 is 70.194.254.193 and allocation pool is NOT set 2025-10-06 22:48:10,159 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66438311:ctest-vn1-44212408 is 175.250.124.1 and allocation pool is NOT set 2025-10-06 22:48:12,226 - 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=8.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.75 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.749/5.370/8.992/3.621 ms') 2025-10-06 22:48:12,226 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-98451409 passed 2025-10-06 22:48:12,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:12,375 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98451409, IP 70.194.254.197, Port 22 2025-10-06 22:48:12,530 - DEBUG - VM ctest-vn1-vm1-98451409 is ready for SSH connections 2025-10-06 22:48:12,531 - INFO - Waiting for VM ctest-vn1-vm2-62522853 to be up.. 2025-10-06 22:48:12,606 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:48:12,607 - INFO - VM name : ctest-vn1-vm2-62522853 2025-10-06 22:48:12,680 - DEBUG - VM ctest-vn1-vm2-62522853 ID is 2252ea17-3855-42ab-a906-3e3a1c939394 2025-10-06 22:48:12,680 - DEBUG - VM ctest-vn1-vm2-62522853 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:48:12,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2252ea17-3855-42ab-a906-3e3a1c939394 2025-10-06 22:48:12,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ad998a6-2e73-4c62-b87b-dd962e1618c5 2025-10-06 22:48:14,017 - 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.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.749 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.749/2.151/3.554/1.402 ms') 2025-10-06 22:48:14,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-62522853 passed 2025-10-06 22:48:14,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:14,171 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62522853, IP 175.250.124.5, Port 22 2025-10-06 22:48:14,341 - DEBUG - VM ctest-vn1-vm2-62522853 is ready for SSH connections 2025-10-06 22:48:14,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:14,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:14,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:48:14,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 70.194.254.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:48:14,342 - DEBUG - ping -s 56 -c 3 -W 1 70.194.254.197 2025-10-06 22:48:18,324 - DEBUG - PING 70.194.254.197 (70.194.254.197): 56 data bytes 64 bytes from 70.194.254.197: seq=0 ttl=63 time=3.377 ms 64 bytes from 70.194.254.197: seq=1 ttl=63 time=0.861 ms 64 bytes from 70.194.254.197: seq=2 ttl=63 time=0.982 ms --- 70.194.254.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.861/1.740/3.377 ms 2025-10-06 22:48:18,324 - INFO - Ping to IP 70.194.254.197 from VM ctest-vn1-vm2-62522853 passed 2025-10-06 22:48:18,325 - INFO - Detaching port 5ad998a6-2e73-4c62-b87b-dd962e1618c5 from VM ctest-vn1-vm2-62522853 2025-10-06 22:48:18,371 - INFO - Deleting VM ctest-vn1-vm2-62522853 2025-10-06 22:48:18,438 - INFO - Detaching port 9bd785e2-181a-4f35-898b-be6d227df34f from VM ctest-vn1-vm1-98451409 2025-10-06 22:48:18,487 - INFO - Deleting VM ctest-vn1-vm1-98451409 2025-10-06 22:48:18,695 - DEBUG - Response for delete_port : () 2025-10-06 22:48:18,858 - DEBUG - Response for delete_port : () 2025-10-06 22:48:18,858 - INFO - Deleting VN ctest-vn1-44212408 2025-10-06 22:48:18,987 - DEBUG - Response for deleting network () 2025-10-06 22:48:19,240 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 22:48:19,240 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-06 22:48:19,240 - INFO - -------------------------------------------------------------------------------- 2025-10-06 22:48:19,919 - INFO - Deleted project: ctest-TestPorts-66438311, ID : bc08d4dd-8456-4620-991b-2c870280eec1