2025-09-25 19:53:18,791 - INFO - Domain Default found not creating
2025-09-25 19:53:18,913 - INFO - Project ctest-TestPorts-15895176 not found, creating it
2025-09-25 19:53:19,360 - INFO - Created Project:ctest-TestPorts-15895176, ID : 407448f7-f055-43a0-92ee-2b09e511e169
2025-09-25 19:53:20,664 - INFO - ================================================================================
2025-09-25 19:53:20,664 - INFO - STARTING TEST : test_ports_bindings
2025-09-25 19:53:20,664 - 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-09-25 19:53:20,918 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-25 19:53:20,918 - INFO - Initial checks done. Running the testcase now
2025-09-25 19:53:20,918 - INFO -
2025-09-25 19:53:21,423 - DEBUG - Response for create_network : {'network': {'id': '80a50f95-ab3c-4c3f-a88e-21a9e1da2969', 'name': 'ctest-vn-45068656', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'project_id': '407448f7f05543a092ee2b09e511e169', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15895176', 'ctest-vn-45068656'], 'port_security_enabled': True, 'description': ''}}
2025-09-25 19:53:21,606 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a43efa0-b053-4753-a069-a0b8d6d7f8a0', 'name': '', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'network_id': '80a50f95-ab3c-4c3f-a88e-21a9e1da2969', 'ip_version': 4, 'cidr': '80.147.225.192/26', 'allocation_pools': [{'start': '80.147.225.194', 'end': '80.147.225.254'}], 'gateway_ip': '80.147.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.147.225.194', 'tags': [], 'project_id': '407448f7f05543a092ee2b09e511e169'}}
2025-09-25 19:53:21,620 - INFO - Created VN ctest-vn-45068656
2025-09-25 19:53:21,670 - DEBUG - VN ctest-vn-45068656 UUID is 80a50f95-ab3c-4c3f-a88e-21a9e1da2969
2025-09-25 19:53:21,765 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-15895176', 'ctest-vmi-46284966']}
2025-09-25 19:53:22,031 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46284966', 'id': '9ba5bf70-bc6d-4f17-b7c9-230e80b1623e', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'network_id': '80a50f95-ab3c-4c3f-a88e-21a9e1da2969', 'mac_address': '02:9b:a5:bf:70:bc', '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': '80.147.225.195', 'subnet_id': '0a43efa0-b053-4753-a069-a0b8d6d7f8a0'}], 'security_groups': ['e891c7e1-5038-42ba-b4aa-99a7fcebac99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '407448f7f05543a092ee2b09e511e169'}}
2025-09-25 19:53:22,031 - DEBUG - Created port 9ba5bf70-bc6d-4f17-b7c9-230e80b1623e
2025-09-25 19:53:22,134 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/9ba5bf70-bc6d-4f17-b7c9-230e80b1623e
2025-09-25 19:53:22,421 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/9ba5bf70-bc6d-4f17-b7c9-230e80b1623e
2025-09-25 19:53:22,449 - INFO - VMI 9ba5bf70-bc6d-4f17-b7c9-230e80b1623e verification in API Server passed
2025-09-25 19:53:22,533 - DEBUG - Response for delete_port : ()
2025-09-25 19:53:22,533 - INFO - Deleted port 9ba5bf70-bc6d-4f17-b7c9-230e80b1623e
2025-09-25 19:53:22,533 - INFO - Deleting VN ctest-vn-45068656
2025-09-25 19:53:22,624 - DEBUG - Response for deleting network ()
2025-09-25 19:53:22,874 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 19:53:22,874 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-25 19:53:22,874 - INFO - --------------------------------------------------------------------------------
2025-09-25 19:53:22,876 - INFO - ================================================================================
2025-09-25 19:53:22,876 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-25 19:53:22,876 - 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-09-25 19:53:23,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with
2025-09-25 19:53:23,162 - INFO - Initial checks done. Running the testcase now
2025-09-25 19:53:23,162 - INFO -
2025-09-25 19:53:23,317 - DEBUG - Response for create_network : {'network': {'id': '3a7c425e-f82b-49d9-a224-b9a442e6813e', 'name': 'ctest-vn1-61507456', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'project_id': '407448f7f05543a092ee2b09e511e169', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-15895176', 'ctest-vn1-61507456'], 'port_security_enabled': True, 'description': ''}}
2025-09-25 19:53:23,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '91023c22-38bc-4aad-9162-32ed4285f5e6', 'name': '', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'network_id': '3a7c425e-f82b-49d9-a224-b9a442e6813e', 'ip_version': 4, 'cidr': '222.102.230.192/26', 'allocation_pools': [{'start': '222.102.230.194', 'end': '222.102.230.254'}], 'gateway_ip': '222.102.230.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.102.230.194', 'tags': [], 'project_id': '407448f7f05543a092ee2b09e511e169'}}
2025-09-25 19:53:23,701 - DEBUG - Response for create_subnet : {'subnet': {'id': '0706f307-e549-4c11-91a0-23d99facc032', 'name': '', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'network_id': '3a7c425e-f82b-49d9-a224-b9a442e6813e', 'ip_version': 4, 'cidr': '139.11.140.64/26', 'allocation_pools': [{'start': '139.11.140.66', 'end': '139.11.140.126'}], 'gateway_ip': '139.11.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.11.140.66', 'tags': [], 'project_id': '407448f7f05543a092ee2b09e511e169'}}
2025-09-25 19:53:23,718 - INFO - Created VN ctest-vn1-61507456
2025-09-25 19:53:23,766 - DEBUG - VN ctest-vn1-61507456 UUID is 3a7c425e-f82b-49d9-a224-b9a442e6813e
2025-09-25 19:53:24,033 - DEBUG - Response for create_port : {'port': {'name': '85006b8b-1f4f-491b-9716-78b6d47781a2', 'id': '85006b8b-1f4f-491b-9716-78b6d47781a2', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'network_id': '3a7c425e-f82b-49d9-a224-b9a442e6813e', 'mac_address': '02:85:00:6b:8b:1f', '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': '222.102.230.197', 'subnet_id': '91023c22-38bc-4aad-9162-32ed4285f5e6'}], 'security_groups': ['e891c7e1-5038-42ba-b4aa-99a7fcebac99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '407448f7f05543a092ee2b09e511e169'}}
2025-09-25 19:53:24,180 - DEBUG - Response for create_port : {'port': {'name': 'e93784b1-eee2-487c-9496-1e48ed37aadd', 'id': 'e93784b1-eee2-487c-9496-1e48ed37aadd', 'tenant_id': '407448f7f05543a092ee2b09e511e169', 'network_id': '3a7c425e-f82b-49d9-a224-b9a442e6813e', 'mac_address': '02:e9:37:84:b1:ee', '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': '139.11.140.69', 'subnet_id': '0706f307-e549-4c11-91a0-23d99facc032'}], 'security_groups': ['e891c7e1-5038-42ba-b4aa-99a7fcebac99'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '407448f7f05543a092ee2b09e511e169'}}
2025-09-25 19:53:24,227 - DEBUG - Services list from nova: [, , ]
2025-09-25 19:53:24,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4194-1)
2025-09-25 19:53:24,838 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4194-1)
2025-09-25 19:53:24,839 - INFO - Waiting for VM ctest-vn1-vm1-36842381 to be up..
2025-09-25 19:53:24,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-25 19:53:29,948 - DEBUG - VM is in ACTIVE state now
2025-09-25 19:53:29,948 - INFO - VM name : ctest-vn1-vm1-36842381
2025-09-25 19:53:30,020 - DEBUG - VM ctest-vn1-vm1-36842381 ID is 11b22981-3983-4b98-9b16-10b2483a858f
2025-09-25 19:53:30,047 - DEBUG - VM ctest-vn1-vm1-36842381 launched on Node cn-jenkins-deploy-platform-ansible-os-4194-1
2025-09-25 19:53:30,193 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/11b22981-3983-4b98-9b16-10b2483a858f
2025-09-25 19:53:30,209 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/85006b8b-1f4f-491b-9716-78b6d47781a2
2025-09-25 19:53:33,522 - 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 1029ms')
2025-09-25 19:53:33,522 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36842381 failed!
2025-09-25 19:53:33,578 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15895176:ctest-vn1-61507456 is 222.102.230.193 and allocation pool is NOT set
2025-09-25 19:53:33,578 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-15895176:ctest-vn1-61507456 is 139.11.140.65 and allocation pool is NOT set
2025-09-25 19:53:35,636 - 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.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.765 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.765/2.065/3.365/1.300 ms')
2025-09-25 19:53:35,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36842381 passed
2025-09-25 19:53:35,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 19:53:35,782 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36842381, IP 222.102.230.197, Port 22
2025-09-25 19:53:35,933 - DEBUG - VM ctest-vn1-vm1-36842381 is ready for SSH connections
2025-09-25 19:53:35,933 - INFO - Waiting for VM ctest-vn1-vm2-00729014 to be up..
2025-09-25 19:53:35,996 - DEBUG - VM is in ACTIVE state now
2025-09-25 19:53:35,996 - INFO - VM name : ctest-vn1-vm2-00729014
2025-09-25 19:53:36,056 - DEBUG - VM ctest-vn1-vm2-00729014 ID is 2d000122-87f4-44a4-be71-ffe576668e3d
2025-09-25 19:53:36,056 - DEBUG - VM ctest-vn1-vm2-00729014 launched on Node cn-jenkins-deploy-platform-ansible-os-4194-1
2025-09-25 19:53:36,117 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2d000122-87f4-44a4-be71-ffe576668e3d
2025-09-25 19:53:36,123 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/e93784b1-eee2-487c-9496-1e48ed37aadd
2025-09-25 19:53:37,349 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/1.936/3.416/1.480 ms')
2025-09-25 19:53:37,349 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-00729014 passed
2025-09-25 19:53:37,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 19:53:37,498 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-00729014, IP 139.11.140.69, Port 22
2025-09-25 19:53:37,653 - DEBUG - VM ctest-vn1-vm2-00729014 is ready for SSH connections
2025-09-25 19:53:37,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 19:53:37,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 19:53:37,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-25 19:53:37,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.102.230.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123
2025-09-25 19:53:37,654 - DEBUG - ping -s 56 -c 3 -W 1 222.102.230.197
2025-09-25 19:53:40,294 - DEBUG - PING 222.102.230.197 (222.102.230.197): 56 data bytes
64 bytes from 222.102.230.197: seq=0 ttl=63 time=3.860 ms
64 bytes from 222.102.230.197: seq=1 ttl=63 time=0.969 ms
64 bytes from 222.102.230.197: seq=2 ttl=63 time=0.685 ms
--- 222.102.230.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.685/1.838/3.860 ms
2025-09-25 19:53:40,294 - INFO - Ping to IP 222.102.230.197 from VM ctest-vn1-vm2-00729014 passed
2025-09-25 19:53:40,294 - INFO - Detaching port e93784b1-eee2-487c-9496-1e48ed37aadd from VM ctest-vn1-vm2-00729014
2025-09-25 19:53:40,337 - INFO - Deleting VM ctest-vn1-vm2-00729014
2025-09-25 19:53:40,394 - INFO - Detaching port 85006b8b-1f4f-491b-9716-78b6d47781a2 from VM ctest-vn1-vm1-36842381
2025-09-25 19:53:40,427 - INFO - Deleting VM ctest-vn1-vm1-36842381
2025-09-25 19:53:40,664 - DEBUG - Response for delete_port : ()
2025-09-25 19:53:40,810 - DEBUG - Response for delete_port : ()
2025-09-25 19:53:40,810 - INFO - Deleting VN ctest-vn1-61507456
2025-09-25 19:53:40,934 - DEBUG - Response for deleting network ()
2025-09-25 19:53:41,190 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 19:53:41,190 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-25 19:53:41,190 - INFO - --------------------------------------------------------------------------------
2025-09-25 19:53:41,840 - INFO - Deleted project: ctest-TestPorts-15895176, ID : 407448f7-f055-43a0-92ee-2b09e511e169