2025-10-16 17:11:20,349 - INFO - Domain Default found not creating 2025-10-16 17:11:20,671 - INFO - Project ctest-TestPorts-51032416 not found, creating it 2025-10-16 17:11:21,326 - INFO - Created Project:ctest-TestPorts-51032416, ID : 6d359703-a074-4627-a3df-b69847e6049e 2025-10-16 17:11:23,547 - INFO - ================================================================================ 2025-10-16 17:11:23,547 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 17:11:23,548 - 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-16 17:11:23,884 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-10-16 17:11:23,885 - INFO - Initial checks done. Running the testcase now 2025-10-16 17:11:23,885 - INFO - 2025-10-16 17:11:24,623 - DEBUG - Response for create_network : {'network': {'id': '2ac89eee-e6cd-43b1-ac17-02c5226517cd', 'name': 'ctest-vn-39510151', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'project_id': '6d359703a0744627a3dfb69847e6049e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51032416', 'ctest-vn-39510151'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 17:11:24,829 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5cbeb1d-a547-4720-ba38-4e254ee9e218', 'name': '', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'network_id': '2ac89eee-e6cd-43b1-ac17-02c5226517cd', 'ip_version': 4, 'cidr': '123.72.39.128/26', 'allocation_pools': [{'start': '123.72.39.130', 'end': '123.72.39.190'}], 'gateway_ip': '123.72.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.72.39.130', 'tags': [], 'project_id': '6d359703a0744627a3dfb69847e6049e'}} 2025-10-16 17:11:24,848 - INFO - Created VN ctest-vn-39510151 2025-10-16 17:11:24,898 - DEBUG - VN ctest-vn-39510151 UUID is 2ac89eee-e6cd-43b1-ac17-02c5226517cd 2025-10-16 17:11:25,061 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51032416', 'ctest-vmi-93158826']} 2025-10-16 17:11:25,414 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93158826', 'id': '654b5467-7499-4b55-adbc-3a4bbdda6cdf', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'network_id': '2ac89eee-e6cd-43b1-ac17-02c5226517cd', 'mac_address': '02:65:4b:54:67:74', '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.72.39.131', 'subnet_id': 'd5cbeb1d-a547-4720-ba38-4e254ee9e218'}], 'security_groups': ['7fc2ee85-67ae-4850-b1e3-a8d1c12edbfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d359703a0744627a3dfb69847e6049e'}} 2025-10-16 17:11:25,414 - DEBUG - Created port 654b5467-7499-4b55-adbc-3a4bbdda6cdf 2025-10-16 17:11:25,522 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/654b5467-7499-4b55-adbc-3a4bbdda6cdf 2025-10-16 17:11:25,833 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/654b5467-7499-4b55-adbc-3a4bbdda6cdf 2025-10-16 17:11:25,914 - INFO - VMI 654b5467-7499-4b55-adbc-3a4bbdda6cdf verification in API Server passed 2025-10-16 17:11:26,128 - DEBUG - Response for delete_port : () 2025-10-16 17:11:26,128 - INFO - Deleted port 654b5467-7499-4b55-adbc-3a4bbdda6cdf 2025-10-16 17:11:26,128 - INFO - Deleting VN ctest-vn-39510151 2025-10-16 17:11:26,258 - DEBUG - Response for deleting network () 2025-10-16 17:11:26,556 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 17:11:26,556 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-16 17:11:26,556 - INFO - -------------------------------------------------------------------------------- 2025-10-16 17:11:26,561 - INFO - ================================================================================ 2025-10-16 17:11:26,561 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 17:11:26,561 - 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-16 17:11:26,897 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-10-16 17:11:26,897 - INFO - Initial checks done. Running the testcase now 2025-10-16 17:11:26,897 - INFO - 2025-10-16 17:11:27,217 - DEBUG - Response for create_network : {'network': {'id': 'f0359091-2549-4bdd-87cf-964ce211cd03', 'name': 'ctest-vn1-28027799', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'project_id': '6d359703a0744627a3dfb69847e6049e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51032416', 'ctest-vn1-28027799'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 17:11:27,509 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ab21278-6810-40fb-9b0f-724d27388972', 'name': '', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'network_id': 'f0359091-2549-4bdd-87cf-964ce211cd03', 'ip_version': 4, 'cidr': '88.83.152.64/26', 'allocation_pools': [{'start': '88.83.152.66', 'end': '88.83.152.126'}], 'gateway_ip': '88.83.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.83.152.66', 'tags': [], 'project_id': '6d359703a0744627a3dfb69847e6049e'}} 2025-10-16 17:11:27,804 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8e7934f-a622-4c3d-9e87-16004e334510', 'name': '', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'network_id': 'f0359091-2549-4bdd-87cf-964ce211cd03', 'ip_version': 4, 'cidr': '194.118.61.0/26', 'allocation_pools': [{'start': '194.118.61.2', 'end': '194.118.61.62'}], 'gateway_ip': '194.118.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.118.61.2', 'tags': [], 'project_id': '6d359703a0744627a3dfb69847e6049e'}} 2025-10-16 17:11:27,843 - INFO - Created VN ctest-vn1-28027799 2025-10-16 17:11:27,911 - DEBUG - VN ctest-vn1-28027799 UUID is f0359091-2549-4bdd-87cf-964ce211cd03 2025-10-16 17:11:28,432 - DEBUG - Response for create_port : {'port': {'name': 'f7f3e14c-97e5-4040-9238-1157e5629d73', 'id': 'f7f3e14c-97e5-4040-9238-1157e5629d73', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'network_id': 'f0359091-2549-4bdd-87cf-964ce211cd03', 'mac_address': '02:f7:f3:e1:4c:97', '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': '88.83.152.69', 'subnet_id': '5ab21278-6810-40fb-9b0f-724d27388972'}], 'security_groups': ['7fc2ee85-67ae-4850-b1e3-a8d1c12edbfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d359703a0744627a3dfb69847e6049e'}} 2025-10-16 17:11:28,641 - DEBUG - Response for create_port : {'port': {'name': '0b804e96-3669-4c54-b144-f31ab7c846d2', 'id': '0b804e96-3669-4c54-b144-f31ab7c846d2', 'tenant_id': '6d359703a0744627a3dfb69847e6049e', 'network_id': 'f0359091-2549-4bdd-87cf-964ce211cd03', 'mac_address': '02:0b:80:4e:96:36', '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': '194.118.61.5', 'subnet_id': 'b8e7934f-a622-4c3d-9e87-16004e334510'}], 'security_groups': ['7fc2ee85-67ae-4850-b1e3-a8d1c12edbfe'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6d359703a0744627a3dfb69847e6049e'}} 2025-10-16 17:11:28,705 - DEBUG - Services list from nova: [, , ] 2025-10-16 17:11:29,486 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4349-1) 2025-10-16 17:11:30,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4349-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4349-1) 2025-10-16 17:11:30,229 - INFO - Waiting for VM ctest-vn1-vm1-31450371 to be up.. 2025-10-16 17:11:30,278 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 17:11:35,483 - DEBUG - VM is in ACTIVE state now 2025-10-16 17:11:35,483 - INFO - VM name : ctest-vn1-vm1-31450371 2025-10-16 17:11:35,630 - DEBUG - VM ctest-vn1-vm1-31450371 ID is 9a5c7870-1829-449f-877e-17b5b7024d32 2025-10-16 17:11:35,656 - DEBUG - VM ctest-vn1-vm1-31450371 launched on Node cn-jenkins-deploy-platform-ansible-os-4349-1 2025-10-16 17:11:35,781 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9a5c7870-1829-449f-877e-17b5b7024d32 2025-10-16 17:11:35,794 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f7f3e14c-97e5-4040-9238-1157e5629d73 2025-10-16 17:11:39,091 - 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 1020ms') 2025-10-16 17:11:39,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31450371 failed! 2025-10-16 17:11:39,158 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51032416:ctest-vn1-28027799 is 88.83.152.65 and allocation pool is NOT set 2025-10-16 17:11:39,158 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51032416:ctest-vn1-28027799 is 194.118.61.1 and allocation pool is NOT set 2025-10-16 17:11:41,230 - 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=12.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.19 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 = 3.187/7.868/12.550/4.681 ms') 2025-10-16 17:11:41,231 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31450371 passed 2025-10-16 17:11:41,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:11:41,402 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31450371, IP 88.83.152.69, Port 22 2025-10-16 17:11:41,479 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-16 17:11:41,663 - DEBUG - VM ctest-vn1-vm1-31450371 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 17:11:46,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:11:46,665 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31450371, IP 88.83.152.69, Port 22 2025-10-16 17:11:46,858 - DEBUG - VM ctest-vn1-vm1-31450371 is ready for SSH connections 2025-10-16 17:11:46,858 - INFO - Waiting for VM ctest-vn1-vm2-73488952 to be up.. 2025-10-16 17:11:46,948 - DEBUG - VM is in ACTIVE state now 2025-10-16 17:11:46,948 - INFO - VM name : ctest-vn1-vm2-73488952 2025-10-16 17:11:47,052 - DEBUG - VM ctest-vn1-vm2-73488952 ID is cfe218fe-7036-4897-87de-4b4204894b28 2025-10-16 17:11:47,052 - DEBUG - VM ctest-vn1-vm2-73488952 launched on Node cn-jenkins-deploy-platform-ansible-os-4349-1 2025-10-16 17:11:47,212 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cfe218fe-7036-4897-87de-4b4204894b28 2025-10-16 17:11:47,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0b804e96-3669-4c54-b144-f31ab7c846d2 2025-10-16 17:11:48,554 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.742 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.742/4.391/8.040/3.649 ms') 2025-10-16 17:11:48,554 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73488952 passed 2025-10-16 17:11:48,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:11:48,715 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73488952, IP 194.118.61.5, Port 22 2025-10-16 17:11:48,901 - DEBUG - VM ctest-vn1-vm2-73488952 is ready for SSH connections 2025-10-16 17:11:48,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:11:48,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:11:48,902 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 17:11:48,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.83.152.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-10-16 17:11:48,903 - DEBUG - ping -s 56 -c 3 -W 1 88.83.152.69 2025-10-16 17:11:51,966 - DEBUG - PING 88.83.152.69 (88.83.152.69): 56 data bytes 64 bytes from 88.83.152.69: seq=0 ttl=63 time=6.049 ms 64 bytes from 88.83.152.69: seq=1 ttl=63 time=1.773 ms 64 bytes from 88.83.152.69: seq=2 ttl=63 time=1.773 ms --- 88.83.152.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.773/3.198/6.049 ms 2025-10-16 17:11:51,967 - INFO - Ping to IP 88.83.152.69 from VM ctest-vn1-vm2-73488952 passed 2025-10-16 17:11:51,967 - INFO - Detaching port 0b804e96-3669-4c54-b144-f31ab7c846d2 from VM ctest-vn1-vm2-73488952 2025-10-16 17:11:52,079 - INFO - Deleting VM ctest-vn1-vm2-73488952 2025-10-16 17:11:52,180 - INFO - Detaching port f7f3e14c-97e5-4040-9238-1157e5629d73 from VM ctest-vn1-vm1-31450371 2025-10-16 17:11:52,221 - INFO - Deleting VM ctest-vn1-vm1-31450371 2025-10-16 17:11:52,599 - DEBUG - Response for delete_port : () 2025-10-16 17:11:52,778 - DEBUG - Response for delete_port : () 2025-10-16 17:11:52,778 - INFO - Deleting VN ctest-vn1-28027799 2025-10-16 17:11:52,947 - DEBUG - Response for deleting network () 2025-10-16 17:11:53,234 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 17:11:53,234 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-10-16 17:11:53,235 - INFO - -------------------------------------------------------------------------------- 2025-10-16 17:11:54,073 - INFO - Deleted project: ctest-TestPorts-51032416, ID : 6d359703-a074-4627-a3df-b69847e6049e