2025-11-10 20:12:35,354 - INFO - Domain Default found not creating
2025-11-10 20:12:35,782 - INFO - Project ctest-TestPorts-47383859 not found, creating it
2025-11-10 20:12:36,486 - INFO - Created Project:ctest-TestPorts-47383859, ID : f747d2c9-4b4b-4416-a2d2-2a572e540101
2025-11-10 20:12:38,398 - INFO - ================================================================================
2025-11-10 20:12:38,399 - INFO - STARTING TEST : test_ports_bindings
2025-11-10 20:12:38,399 - 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-11-10 20:12:38,728 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with
2025-11-10 20:12:38,728 - INFO - Initial checks done. Running the testcase now
2025-11-10 20:12:38,729 - INFO -
2025-11-10 20:12:39,365 - DEBUG - Response for create_network : {'network': {'id': 'e27951bb-8060-43a3-82ce-334f4ec09d91', 'name': 'ctest-vn-57478225', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'project_id': 'f747d2c94b4b4416a2d22a572e540101', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47383859', 'ctest-vn-57478225'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 20:12:39,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '4779133e-ec52-4750-a4fb-619afd162d42', 'name': '', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'network_id': 'e27951bb-8060-43a3-82ce-334f4ec09d91', 'ip_version': 4, 'cidr': '169.218.118.64/26', 'allocation_pools': [{'start': '169.218.118.66', 'end': '169.218.118.126'}], 'gateway_ip': '169.218.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.218.118.66', 'tags': [], 'project_id': 'f747d2c94b4b4416a2d22a572e540101'}}
2025-11-10 20:12:39,623 - INFO - Created VN ctest-vn-57478225
2025-11-10 20:12:39,674 - DEBUG - VN ctest-vn-57478225 UUID is e27951bb-8060-43a3-82ce-334f4ec09d91
2025-11-10 20:12:39,804 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47383859', 'ctest-vmi-76182292']}
2025-11-10 20:12:40,085 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-76182292', 'id': '1f866b16-42a8-4418-93ef-65d06d63ade9', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'network_id': 'e27951bb-8060-43a3-82ce-334f4ec09d91', 'mac_address': '02:1f:86:6b:16:42', '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': '169.218.118.67', 'subnet_id': '4779133e-ec52-4750-a4fb-619afd162d42'}], 'security_groups': ['e66a3637-b252-4d61-8fd6-68c926ae0c84'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f747d2c94b4b4416a2d22a572e540101'}}
2025-11-10 20:12:40,085 - DEBUG - Created port 1f866b16-42a8-4418-93ef-65d06d63ade9
2025-11-10 20:12:40,194 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1f866b16-42a8-4418-93ef-65d06d63ade9
2025-11-10 20:12:40,506 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1f866b16-42a8-4418-93ef-65d06d63ade9
2025-11-10 20:12:40,561 - INFO - VMI 1f866b16-42a8-4418-93ef-65d06d63ade9 verification in API Server passed
2025-11-10 20:12:40,722 - DEBUG - Response for delete_port : ()
2025-11-10 20:12:40,722 - INFO - Deleted port 1f866b16-42a8-4418-93ef-65d06d63ade9
2025-11-10 20:12:40,722 - INFO - Deleting VN ctest-vn-57478225
2025-11-10 20:12:40,860 - DEBUG - Response for deleting network ()
2025-11-10 20:12:41,168 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 20:12:41,169 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-10 20:12:41,169 - INFO - --------------------------------------------------------------------------------
2025-11-10 20:12:41,178 - INFO - ================================================================================
2025-11-10 20:12:41,178 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-10 20:12:41,179 - 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-11-10 20:12:41,521 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with
2025-11-10 20:12:41,521 - INFO - Initial checks done. Running the testcase now
2025-11-10 20:12:41,522 - INFO -
2025-11-10 20:12:41,848 - DEBUG - Response for create_network : {'network': {'id': 'f06e36ff-8894-41be-8a8b-f8e217c15a94', 'name': 'ctest-vn1-02938204', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'project_id': 'f747d2c94b4b4416a2d22a572e540101', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47383859', 'ctest-vn1-02938204'], 'port_security_enabled': True, 'description': ''}}
2025-11-10 20:12:42,135 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ed5991f-114f-4e9e-89b8-f6e264de6bed', 'name': '', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'network_id': 'f06e36ff-8894-41be-8a8b-f8e217c15a94', 'ip_version': 4, 'cidr': '159.21.186.128/26', 'allocation_pools': [{'start': '159.21.186.130', 'end': '159.21.186.190'}], 'gateway_ip': '159.21.186.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.21.186.130', 'tags': [], 'project_id': 'f747d2c94b4b4416a2d22a572e540101'}}
2025-11-10 20:12:42,352 - DEBUG - Response for create_subnet : {'subnet': {'id': '281c6b58-674c-4a69-b561-4a3e37d9f6b0', 'name': '', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'network_id': 'f06e36ff-8894-41be-8a8b-f8e217c15a94', 'ip_version': 4, 'cidr': '109.194.41.192/26', 'allocation_pools': [{'start': '109.194.41.194', 'end': '109.194.41.254'}], 'gateway_ip': '109.194.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.194.41.194', 'tags': [], 'project_id': 'f747d2c94b4b4416a2d22a572e540101'}}
2025-11-10 20:12:42,379 - INFO - Created VN ctest-vn1-02938204
2025-11-10 20:12:42,438 - DEBUG - VN ctest-vn1-02938204 UUID is f06e36ff-8894-41be-8a8b-f8e217c15a94
2025-11-10 20:12:42,874 - DEBUG - Response for create_port : {'port': {'name': '38ead117-b10b-467c-a651-d0df11346359', 'id': '38ead117-b10b-467c-a651-d0df11346359', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'network_id': 'f06e36ff-8894-41be-8a8b-f8e217c15a94', 'mac_address': '02:38:ea:d1:17:b1', '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': '159.21.186.133', 'subnet_id': '1ed5991f-114f-4e9e-89b8-f6e264de6bed'}], 'security_groups': ['e66a3637-b252-4d61-8fd6-68c926ae0c84'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f747d2c94b4b4416a2d22a572e540101'}}
2025-11-10 20:12:43,102 - DEBUG - Response for create_port : {'port': {'name': 'b474d4c3-cf57-4109-90f1-88045b8f10ab', 'id': 'b474d4c3-cf57-4109-90f1-88045b8f10ab', 'tenant_id': 'f747d2c94b4b4416a2d22a572e540101', 'network_id': 'f06e36ff-8894-41be-8a8b-f8e217c15a94', 'mac_address': '02:b4:74:d4:c3:cf', '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': '109.194.41.197', 'subnet_id': '281c6b58-674c-4a69-b561-4a3e37d9f6b0'}], 'security_groups': ['e66a3637-b252-4d61-8fd6-68c926ae0c84'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f747d2c94b4b4416a2d22a572e540101'}}
2025-11-10 20:12:43,163 - DEBUG - Services list from nova: [, , ]
2025-11-10 20:12:43,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4687-1)
2025-11-10 20:12:44,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4687-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4687-1)
2025-11-10 20:12:44,791 - INFO - Waiting for VM ctest-vn1-vm1-02308231 to be up..
2025-11-10 20:12:44,847 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-10 20:12:49,999 - DEBUG - VM is in ACTIVE state now
2025-11-10 20:12:49,999 - INFO - VM name : ctest-vn1-vm1-02308231
2025-11-10 20:12:50,147 - DEBUG - VM ctest-vn1-vm1-02308231 ID is 5a794561-022d-43c7-b32c-60ba00305c45
2025-11-10 20:12:50,184 - DEBUG - VM ctest-vn1-vm1-02308231 launched on Node cn-jenkins-deploy-platform-ansible-os-4687-1
2025-11-10 20:12:50,348 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5a794561-022d-43c7-b32c-60ba00305c45
2025-11-10 20:12:50,362 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/38ead117-b10b-467c-a651-d0df11346359
2025-11-10 20:12:53,693 - 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 1012ms')
2025-11-10 20:12:53,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02308231 failed!
2025-11-10 20:12:53,759 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47383859:ctest-vn1-02938204 is 159.21.186.129 and allocation pool is NOT set
2025-11-10 20:12:53,759 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47383859:ctest-vn1-02938204 is 109.194.41.193 and allocation pool is NOT set
2025-11-10 20:12:57,853 - 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 1011ms')
2025-11-10 20:12:57,854 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02308231 failed!
2025-11-10 20:12:57,930 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47383859:ctest-vn1-02938204 is 159.21.186.129 and allocation pool is NOT set
2025-11-10 20:12:57,931 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47383859:ctest-vn1-02938204 is 109.194.41.193 and allocation pool is NOT set
2025-11-10 20:13:00,024 - 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=10.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.16 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.163/5.909/10.655/4.746 ms')
2025-11-10 20:13:00,024 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-02308231 passed
2025-11-10 20:13:00,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 20:13:00,191 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-02308231, IP 159.21.186.133, Port 22
2025-11-10 20:13:00,403 - DEBUG - VM ctest-vn1-vm1-02308231 is ready for SSH connections
2025-11-10 20:13:00,403 - INFO - Waiting for VM ctest-vn1-vm2-55729771 to be up..
2025-11-10 20:13:00,574 - DEBUG - VM is in ACTIVE state now
2025-11-10 20:13:00,575 - INFO - VM name : ctest-vn1-vm2-55729771
2025-11-10 20:13:00,757 - DEBUG - VM ctest-vn1-vm2-55729771 ID is 01fb9491-9356-4256-9f43-d0e9d100fa7f
2025-11-10 20:13:00,757 - DEBUG - VM ctest-vn1-vm2-55729771 launched on Node cn-jenkins-deploy-platform-ansible-os-4687-1
2025-11-10 20:13:00,957 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/01fb9491-9356-4256-9f43-d0e9d100fa7f
2025-11-10 20:13:00,981 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/b474d4c3-cf57-4109-90f1-88045b8f10ab
2025-11-10 20:13:02,297 - 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=7.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.637 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.637/4.133/7.629/3.496 ms')
2025-11-10 20:13:02,297 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-55729771 passed
2025-11-10 20:13:02,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 20:13:02,462 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-55729771, IP 109.194.41.197, Port 22
2025-11-10 20:13:02,644 - DEBUG - VM ctest-vn1-vm2-55729771 is ready for SSH connections
2025-11-10 20:13:02,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 20:13:02,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 20:13:02,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-10 20:13:02,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.21.186.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-11-10 20:13:02,646 - DEBUG - ping -s 56 -c 3 -W 1 159.21.186.133
2025-11-10 20:13:05,782 - DEBUG - PING 159.21.186.133 (159.21.186.133): 56 data bytes
64 bytes from 159.21.186.133: seq=0 ttl=63 time=3.279 ms
64 bytes from 159.21.186.133: seq=1 ttl=63 time=1.167 ms
64 bytes from 159.21.186.133: seq=2 ttl=63 time=1.699 ms
--- 159.21.186.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.167/2.048/3.279 ms
2025-11-10 20:13:05,783 - INFO - Ping to IP 159.21.186.133 from VM ctest-vn1-vm2-55729771 passed
2025-11-10 20:13:05,783 - INFO - Detaching port b474d4c3-cf57-4109-90f1-88045b8f10ab from VM ctest-vn1-vm2-55729771
2025-11-10 20:13:05,870 - INFO - Deleting VM ctest-vn1-vm2-55729771
2025-11-10 20:13:06,051 - INFO - Detaching port 38ead117-b10b-467c-a651-d0df11346359 from VM ctest-vn1-vm1-02308231
2025-11-10 20:13:06,122 - INFO - Deleting VM ctest-vn1-vm1-02308231
2025-11-10 20:13:06,506 - DEBUG - Response for delete_port : ()
2025-11-10 20:13:06,681 - DEBUG - Response for delete_port : ()
2025-11-10 20:13:06,681 - INFO - Deleting VN ctest-vn1-02938204
2025-11-10 20:13:06,817 - DEBUG - Response for deleting network ()
2025-11-10 20:13:07,075 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 20:13:07,075 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-11-10 20:13:07,075 - INFO - --------------------------------------------------------------------------------
2025-11-10 20:13:07,801 - INFO - Deleted project: ctest-TestPorts-47383859, ID : f747d2c9-4b4b-4416-a2d2-2a572e540101