2025-10-30 10:09:46,212 - INFO - Domain Default found not creating 2025-10-30 10:09:46,364 - INFO - Project ctest-TestPorts-35037982 not found, creating it 2025-10-30 10:09:46,795 - INFO - Created Project:ctest-TestPorts-35037982, ID : 26adde28-ff4f-4c75-952a-793be3cd92ae 2025-10-30 10:09:48,201 - INFO - ================================================================================ 2025-10-30 10:09:48,202 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 10:09:48,202 - 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-30 10:09:48,456 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with 2025-10-30 10:09:48,456 - INFO - Initial checks done. Running the testcase now 2025-10-30 10:09:48,456 - INFO - 2025-10-30 10:09:48,978 - DEBUG - Response for create_network : {'network': {'id': '4ce0157b-893b-49e6-914e-8054f703855c', 'name': 'ctest-vn-24214762', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'project_id': '26adde28ff4f4c75952a793be3cd92ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35037982', 'ctest-vn-24214762'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:09:49,192 - DEBUG - Response for create_subnet : {'subnet': {'id': '079550b3-3563-43f5-8099-bc9d1326d90f', 'name': '', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'network_id': '4ce0157b-893b-49e6-914e-8054f703855c', 'ip_version': 4, 'cidr': '192.86.128.64/26', 'allocation_pools': [{'start': '192.86.128.66', 'end': '192.86.128.126'}], 'gateway_ip': '192.86.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.86.128.66', 'tags': [], 'project_id': '26adde28ff4f4c75952a793be3cd92ae'}} 2025-10-30 10:09:49,208 - INFO - Created VN ctest-vn-24214762 2025-10-30 10:09:49,259 - DEBUG - VN ctest-vn-24214762 UUID is 4ce0157b-893b-49e6-914e-8054f703855c 2025-10-30 10:09:49,360 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35037982', 'ctest-vmi-50163004']} 2025-10-30 10:09:49,629 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-50163004', 'id': 'fae0ad30-533b-4409-a1cf-eced6382ba50', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'network_id': '4ce0157b-893b-49e6-914e-8054f703855c', 'mac_address': '02:fa:e0:ad:30:53', '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': '192.86.128.67', 'subnet_id': '079550b3-3563-43f5-8099-bc9d1326d90f'}], 'security_groups': ['0b417281-0f36-4056-8474-d97aba5e077e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26adde28ff4f4c75952a793be3cd92ae'}} 2025-10-30 10:09:49,629 - DEBUG - Created port fae0ad30-533b-4409-a1cf-eced6382ba50 2025-10-30 10:09:49,731 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/fae0ad30-533b-4409-a1cf-eced6382ba50 2025-10-30 10:09:50,037 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/fae0ad30-533b-4409-a1cf-eced6382ba50 2025-10-30 10:09:50,069 - INFO - VMI fae0ad30-533b-4409-a1cf-eced6382ba50 verification in API Server passed 2025-10-30 10:09:50,146 - DEBUG - Response for delete_port : () 2025-10-30 10:09:50,146 - INFO - Deleted port fae0ad30-533b-4409-a1cf-eced6382ba50 2025-10-30 10:09:50,146 - INFO - Deleting VN ctest-vn-24214762 2025-10-30 10:09:50,244 - DEBUG - Response for deleting network () 2025-10-30 10:09:50,496 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 10:09:50,496 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-30 10:09:50,496 - INFO - -------------------------------------------------------------------------------- 2025-10-30 10:09:50,499 - INFO - ================================================================================ 2025-10-30 10:09:50,499 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 10:09:50,499 - 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-30 10:09:50,783 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.241': '0'}} with 2025-10-30 10:09:50,784 - INFO - Initial checks done. Running the testcase now 2025-10-30 10:09:50,784 - INFO - 2025-10-30 10:09:50,946 - DEBUG - Response for create_network : {'network': {'id': '55919fe8-1dda-451f-9ee1-5a02dc5f568b', 'name': 'ctest-vn1-06237930', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'project_id': '26adde28ff4f4c75952a793be3cd92ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35037982', 'ctest-vn1-06237930'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 10:09:51,098 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd055aa3b-9f4e-45da-883d-cf3c14ca8484', 'name': '', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'network_id': '55919fe8-1dda-451f-9ee1-5a02dc5f568b', 'ip_version': 4, 'cidr': '131.73.98.128/26', 'allocation_pools': [{'start': '131.73.98.130', 'end': '131.73.98.190'}], 'gateway_ip': '131.73.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.73.98.130', 'tags': [], 'project_id': '26adde28ff4f4c75952a793be3cd92ae'}} 2025-10-30 10:09:51,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '866284f7-ef0c-44ba-bbc5-07c5a148aa4f', 'name': '', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'network_id': '55919fe8-1dda-451f-9ee1-5a02dc5f568b', 'ip_version': 4, 'cidr': '157.249.179.0/26', 'allocation_pools': [{'start': '157.249.179.2', 'end': '157.249.179.62'}], 'gateway_ip': '157.249.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.249.179.2', 'tags': [], 'project_id': '26adde28ff4f4c75952a793be3cd92ae'}} 2025-10-30 10:09:51,317 - INFO - Created VN ctest-vn1-06237930 2025-10-30 10:09:51,367 - DEBUG - VN ctest-vn1-06237930 UUID is 55919fe8-1dda-451f-9ee1-5a02dc5f568b 2025-10-30 10:09:51,645 - DEBUG - Response for create_port : {'port': {'name': '079eb1fb-9358-402c-8520-2d7b752db333', 'id': '079eb1fb-9358-402c-8520-2d7b752db333', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'network_id': '55919fe8-1dda-451f-9ee1-5a02dc5f568b', 'mac_address': '02:07:9e:b1:fb:93', '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': '131.73.98.133', 'subnet_id': 'd055aa3b-9f4e-45da-883d-cf3c14ca8484'}], 'security_groups': ['0b417281-0f36-4056-8474-d97aba5e077e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26adde28ff4f4c75952a793be3cd92ae'}} 2025-10-30 10:09:51,809 - DEBUG - Response for create_port : {'port': {'name': '37ec39af-19c7-4fa8-8450-d4f68d799221', 'id': '37ec39af-19c7-4fa8-8450-d4f68d799221', 'tenant_id': '26adde28ff4f4c75952a793be3cd92ae', 'network_id': '55919fe8-1dda-451f-9ee1-5a02dc5f568b', 'mac_address': '02:37:ec:39:af:19', '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': '157.249.179.5', 'subnet_id': '866284f7-ef0c-44ba-bbc5-07c5a148aa4f'}], 'security_groups': ['0b417281-0f36-4056-8474-d97aba5e077e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26adde28ff4f4c75952a793be3cd92ae'}} 2025-10-30 10:09:51,864 - DEBUG - Services list from nova: [, , ] 2025-10-30 10:09:52,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4542-1) 2025-10-30 10:09:52,528 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4542-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4542-1) 2025-10-30 10:09:52,528 - INFO - Waiting for VM ctest-vn1-vm1-15495284 to be up.. 2025-10-30 10:09:52,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 10:09:57,641 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:09:57,641 - INFO - VM name : ctest-vn1-vm1-15495284 2025-10-30 10:09:57,855 - DEBUG - VM ctest-vn1-vm1-15495284 ID is 398db758-db8a-4bf7-bfb0-1e061a4265f7 2025-10-30 10:09:57,880 - DEBUG - VM ctest-vn1-vm1-15495284 launched on Node cn-jenkins-deploy-platform-ansible-os-4542-1 2025-10-30 10:09:57,956 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/398db758-db8a-4bf7-bfb0-1e061a4265f7 2025-10-30 10:09:57,963 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/079eb1fb-9358-402c-8520-2d7b752db333 2025-10-30 10:10:01,212 - 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-10-30 10:10:01,212 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15495284 failed! 2025-10-30 10:10:01,267 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35037982:ctest-vn1-06237930 is 131.73.98.129 and allocation pool is NOT set 2025-10-30 10:10:01,267 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35037982:ctest-vn1-06237930 is 157.249.179.1 and allocation pool is NOT set 2025-10-30 10:10:03,326 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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.522/1.863/3.204/1.341 ms') 2025-10-30 10:10:03,327 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15495284 passed 2025-10-30 10:10:03,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:10:03,475 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15495284, IP 131.73.98.133, Port 22 2025-10-30 10:10:03,541 - 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-30 10:10:03,611 - DEBUG - VM ctest-vn1-vm1-15495284 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 10:10:08,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:10:08,611 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15495284, IP 131.73.98.133, Port 22 2025-10-30 10:10:08,763 - DEBUG - VM ctest-vn1-vm1-15495284 is ready for SSH connections 2025-10-30 10:10:08,763 - INFO - Waiting for VM ctest-vn1-vm2-71047196 to be up.. 2025-10-30 10:10:08,830 - DEBUG - VM is in ACTIVE state now 2025-10-30 10:10:08,830 - INFO - VM name : ctest-vn1-vm2-71047196 2025-10-30 10:10:08,897 - DEBUG - VM ctest-vn1-vm2-71047196 ID is 6fc85207-8f4a-4d9e-a09b-034646f9ae2e 2025-10-30 10:10:08,897 - DEBUG - VM ctest-vn1-vm2-71047196 launched on Node cn-jenkins-deploy-platform-ansible-os-4542-1 2025-10-30 10:10:08,962 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/6fc85207-8f4a-4d9e-a09b-034646f9ae2e 2025-10-30 10:10:08,970 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/37ec39af-19c7-4fa8-8450-d4f68d799221 2025-10-30 10:10:10,208 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.401/1.628/2.856/1.227 ms') 2025-10-30 10:10:10,209 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-71047196 passed 2025-10-30 10:10:10,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:10:10,359 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-71047196, IP 157.249.179.5, Port 22 2025-10-30 10:10:10,519 - DEBUG - VM ctest-vn1-vm2-71047196 is ready for SSH connections 2025-10-30 10:10:10,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:10:10,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:10:10,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 10:10:10,519 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.73.98.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-10-30 10:10:10,519 - DEBUG - ping -s 56 -c 3 -W 1 131.73.98.133 2025-10-30 10:10:13,484 - DEBUG - PING 131.73.98.133 (131.73.98.133): 56 data bytes 64 bytes from 131.73.98.133: seq=0 ttl=63 time=3.417 ms 64 bytes from 131.73.98.133: seq=1 ttl=63 time=1.271 ms 64 bytes from 131.73.98.133: seq=2 ttl=63 time=0.776 ms --- 131.73.98.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/1.821/3.417 ms 2025-10-30 10:10:13,484 - INFO - Ping to IP 131.73.98.133 from VM ctest-vn1-vm2-71047196 passed 2025-10-30 10:10:13,484 - INFO - Detaching port 37ec39af-19c7-4fa8-8450-d4f68d799221 from VM ctest-vn1-vm2-71047196 2025-10-30 10:10:13,530 - INFO - Deleting VM ctest-vn1-vm2-71047196 2025-10-30 10:10:13,606 - INFO - Detaching port 079eb1fb-9358-402c-8520-2d7b752db333 from VM ctest-vn1-vm1-15495284 2025-10-30 10:10:13,636 - INFO - Deleting VM ctest-vn1-vm1-15495284 2025-10-30 10:10:13,857 - DEBUG - Response for delete_port : () 2025-10-30 10:10:14,030 - DEBUG - Response for delete_port : () 2025-10-30 10:10:14,030 - INFO - Deleting VN ctest-vn1-06237930 2025-10-30 10:10:14,161 - DEBUG - Response for deleting network () 2025-10-30 10:10:14,418 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 10:10:14,418 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-30 10:10:14,418 - INFO - -------------------------------------------------------------------------------- 2025-10-30 10:10:15,111 - INFO - Deleted project: ctest-TestPorts-35037982, ID : 26adde28-ff4f-4c75-952a-793be3cd92ae