2025-10-22 14:11:41,218 - INFO - Domain Default found not creating
2025-10-22 14:11:41,362 - INFO - Project ctest-TestPorts-90011077 not found, creating it
2025-10-22 14:11:41,807 - INFO - Created Project:ctest-TestPorts-90011077, ID : 26c3b735-ab52-4a90-8e52-7978ced55c37
2025-10-22 14:11:43,221 - INFO - ================================================================================
2025-10-22 14:11:43,221 - INFO - STARTING TEST : test_ports_bindings
2025-10-22 14:11:43,222 - 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-22 14:11:43,478 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with
2025-10-22 14:11:43,478 - INFO - Initial checks done. Running the testcase now
2025-10-22 14:11:43,478 - INFO -
2025-10-22 14:11:44,038 - DEBUG - Response for create_network : {'network': {'id': 'bb036baf-6fa6-4e08-a835-24e913f42711', 'name': 'ctest-vn-40440002', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'project_id': '26c3b735ab524a908e527978ced55c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90011077', 'ctest-vn-40440002'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 14:11:44,237 - DEBUG - Response for create_subnet : {'subnet': {'id': '11d84152-6983-4802-9bb2-6e78ca66e15a', 'name': '', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'network_id': 'bb036baf-6fa6-4e08-a835-24e913f42711', 'ip_version': 4, 'cidr': '37.92.253.0/26', 'allocation_pools': [{'start': '37.92.253.2', 'end': '37.92.253.62'}], 'gateway_ip': '37.92.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.92.253.2', 'tags': [], 'project_id': '26c3b735ab524a908e527978ced55c37'}}
2025-10-22 14:11:44,253 - INFO - Created VN ctest-vn-40440002
2025-10-22 14:11:44,305 - DEBUG - VN ctest-vn-40440002 UUID is bb036baf-6fa6-4e08-a835-24e913f42711
2025-10-22 14:11:44,408 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-90011077', 'ctest-vmi-88420750']}
2025-10-22 14:11:44,698 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88420750', 'id': '1f90d72b-dcfd-4068-8976-5d6921b77711', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'network_id': 'bb036baf-6fa6-4e08-a835-24e913f42711', 'mac_address': '02:1f:90:d7:2b:dc', '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': '37.92.253.3', 'subnet_id': '11d84152-6983-4802-9bb2-6e78ca66e15a'}], 'security_groups': ['634f9505-98fd-4bbc-93ec-4d608d383f8a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26c3b735ab524a908e527978ced55c37'}}
2025-10-22 14:11:44,698 - DEBUG - Created port 1f90d72b-dcfd-4068-8976-5d6921b77711
2025-10-22 14:11:44,804 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/1f90d72b-dcfd-4068-8976-5d6921b77711
2025-10-22 14:11:45,093 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/1f90d72b-dcfd-4068-8976-5d6921b77711
2025-10-22 14:11:45,123 - INFO - VMI 1f90d72b-dcfd-4068-8976-5d6921b77711 verification in API Server passed
2025-10-22 14:11:45,219 - DEBUG - Response for delete_port : ()
2025-10-22 14:11:45,219 - INFO - Deleted port 1f90d72b-dcfd-4068-8976-5d6921b77711
2025-10-22 14:11:45,219 - INFO - Deleting VN ctest-vn-40440002
2025-10-22 14:11:45,329 - DEBUG - Response for deleting network ()
2025-10-22 14:11:45,582 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:11:45,582 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 14:11:45,582 - INFO - --------------------------------------------------------------------------------
2025-10-22 14:11:45,584 - INFO - ================================================================================
2025-10-22 14:11:45,585 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-22 14:11:45,585 - 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-22 14:11:45,876 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with
2025-10-22 14:11:45,876 - INFO - Initial checks done. Running the testcase now
2025-10-22 14:11:45,876 - INFO -
2025-10-22 14:11:46,064 - DEBUG - Response for create_network : {'network': {'id': '1c3e1ba6-74a4-4b85-adac-1e03976c75d1', 'name': 'ctest-vn1-71551121', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'project_id': '26c3b735ab524a908e527978ced55c37', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-90011077', 'ctest-vn1-71551121'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 14:11:46,249 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca31348e-fd93-4af7-9c2d-5c81e761164c', 'name': '', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'network_id': '1c3e1ba6-74a4-4b85-adac-1e03976c75d1', 'ip_version': 4, 'cidr': '52.52.126.0/26', 'allocation_pools': [{'start': '52.52.126.2', 'end': '52.52.126.62'}], 'gateway_ip': '52.52.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.52.126.2', 'tags': [], 'project_id': '26c3b735ab524a908e527978ced55c37'}}
2025-10-22 14:11:46,459 - DEBUG - Response for create_subnet : {'subnet': {'id': '522bb184-8444-4a40-bf6f-1ff8d74d3199', 'name': '', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'network_id': '1c3e1ba6-74a4-4b85-adac-1e03976c75d1', 'ip_version': 4, 'cidr': '61.121.157.128/26', 'allocation_pools': [{'start': '61.121.157.130', 'end': '61.121.157.190'}], 'gateway_ip': '61.121.157.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.121.157.130', 'tags': [], 'project_id': '26c3b735ab524a908e527978ced55c37'}}
2025-10-22 14:11:46,477 - INFO - Created VN ctest-vn1-71551121
2025-10-22 14:11:46,528 - DEBUG - VN ctest-vn1-71551121 UUID is 1c3e1ba6-74a4-4b85-adac-1e03976c75d1
2025-10-22 14:11:46,842 - DEBUG - Response for create_port : {'port': {'name': '2ff1701d-daf2-4598-b52a-80f47f229fad', 'id': '2ff1701d-daf2-4598-b52a-80f47f229fad', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'network_id': '1c3e1ba6-74a4-4b85-adac-1e03976c75d1', 'mac_address': '02:2f:f1:70:1d:da', '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': '52.52.126.5', 'subnet_id': 'ca31348e-fd93-4af7-9c2d-5c81e761164c'}], 'security_groups': ['634f9505-98fd-4bbc-93ec-4d608d383f8a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26c3b735ab524a908e527978ced55c37'}}
2025-10-22 14:11:47,021 - DEBUG - Response for create_port : {'port': {'name': '907de0d8-a51c-4617-9deb-b5ee0ffc23a5', 'id': '907de0d8-a51c-4617-9deb-b5ee0ffc23a5', 'tenant_id': '26c3b735ab524a908e527978ced55c37', 'network_id': '1c3e1ba6-74a4-4b85-adac-1e03976c75d1', 'mac_address': '02:90:7d:e0:d8:a5', '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': '61.121.157.133', 'subnet_id': '522bb184-8444-4a40-bf6f-1ff8d74d3199'}], 'security_groups': ['634f9505-98fd-4bbc-93ec-4d608d383f8a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '26c3b735ab524a908e527978ced55c37'}}
2025-10-22 14:11:47,083 - DEBUG - Services list from nova: [, , ]
2025-10-22 14:11:47,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4432-1)
2025-10-22 14:11:47,846 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4432-1)
2025-10-22 14:11:47,846 - INFO - Waiting for VM ctest-vn1-vm1-48056603 to be up..
2025-10-22 14:11:47,889 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-22 14:11:52,963 - DEBUG - VM is in ACTIVE state now
2025-10-22 14:11:52,963 - INFO - VM name : ctest-vn1-vm1-48056603
2025-10-22 14:11:53,038 - DEBUG - VM ctest-vn1-vm1-48056603 ID is ebb6db20-167f-4a46-8458-6a21d1b3bece
2025-10-22 14:11:53,059 - DEBUG - VM ctest-vn1-vm1-48056603 launched on Node cn-jenkins-deploy-platform-ansible-os-4432-1
2025-10-22 14:11:53,139 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/ebb6db20-167f-4a46-8458-6a21d1b3bece
2025-10-22 14:11:53,147 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/2ff1701d-daf2-4598-b52a-80f47f229fad
2025-10-22 14:11:56,407 - 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 1027ms')
2025-10-22 14:11:56,407 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48056603 failed!
2025-10-22 14:11:56,464 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90011077:ctest-vn1-71551121 is 52.52.126.1 and allocation pool is NOT set
2025-10-22 14:11:56,465 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-90011077:ctest-vn1-71551121 is 61.121.157.129 and allocation pool is NOT set
2025-10-22 14:11:58,528 - 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=9.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 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.487/5.654/9.822/4.167 ms')
2025-10-22 14:11:58,528 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-48056603 passed
2025-10-22 14:11:58,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:11:58,680 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48056603, IP 52.52.126.5, Port 22
2025-10-22 14:11:58,747 - 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-22 14:11:58,821 - DEBUG - VM ctest-vn1-vm1-48056603 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-22 14:12:03,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:12:03,822 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-48056603, IP 52.52.126.5, Port 22
2025-10-22 14:12:03,980 - DEBUG - VM ctest-vn1-vm1-48056603 is ready for SSH connections
2025-10-22 14:12:03,980 - INFO - Waiting for VM ctest-vn1-vm2-32063337 to be up..
2025-10-22 14:12:04,053 - DEBUG - VM is in ACTIVE state now
2025-10-22 14:12:04,053 - INFO - VM name : ctest-vn1-vm2-32063337
2025-10-22 14:12:04,122 - DEBUG - VM ctest-vn1-vm2-32063337 ID is 8759533d-0b8e-4a02-878f-559d98b50e9f
2025-10-22 14:12:04,122 - DEBUG - VM ctest-vn1-vm2-32063337 launched on Node cn-jenkins-deploy-platform-ansible-os-4432-1
2025-10-22 14:12:04,186 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/8759533d-0b8e-4a02-878f-559d98b50e9f
2025-10-22 14:12:04,195 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/907de0d8-a51c-4617-9deb-b5ee0ffc23a5
2025-10-22 14:12:05,435 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.574 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.574/1.728/2.883/1.154 ms')
2025-10-22 14:12:05,435 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-32063337 passed
2025-10-22 14:12:05,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:12:05,584 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-32063337, IP 61.121.157.133, Port 22
2025-10-22 14:12:05,741 - DEBUG - VM ctest-vn1-vm2-32063337 is ready for SSH connections
2025-10-22 14:12:05,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:12:05,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:12:05,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-22 14:12:05,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.52.126.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-10-22 14:12:05,741 - DEBUG - ping -s 56 -c 3 -W 1 52.52.126.5
2025-10-22 14:12:08,375 - DEBUG - PING 52.52.126.5 (52.52.126.5): 56 data bytes
64 bytes from 52.52.126.5: seq=0 ttl=63 time=3.449 ms
64 bytes from 52.52.126.5: seq=1 ttl=63 time=0.991 ms
64 bytes from 52.52.126.5: seq=2 ttl=63 time=0.939 ms
--- 52.52.126.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.939/1.793/3.449 ms
2025-10-22 14:12:08,375 - INFO - Ping to IP 52.52.126.5 from VM ctest-vn1-vm2-32063337 passed
2025-10-22 14:12:08,375 - INFO - Detaching port 907de0d8-a51c-4617-9deb-b5ee0ffc23a5 from VM ctest-vn1-vm2-32063337
2025-10-22 14:12:08,422 - INFO - Deleting VM ctest-vn1-vm2-32063337
2025-10-22 14:12:08,487 - INFO - Detaching port 2ff1701d-daf2-4598-b52a-80f47f229fad from VM ctest-vn1-vm1-48056603
2025-10-22 14:12:08,520 - INFO - Deleting VM ctest-vn1-vm1-48056603
2025-10-22 14:12:08,751 - DEBUG - Response for delete_port : ()
2025-10-22 14:12:08,922 - DEBUG - Response for delete_port : ()
2025-10-22 14:12:08,922 - INFO - Deleting VN ctest-vn1-71551121
2025-10-22 14:12:09,084 - DEBUG - Response for deleting network ()
2025-10-22 14:12:09,341 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:12:09,341 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-22 14:12:09,341 - INFO - --------------------------------------------------------------------------------
2025-10-22 14:12:10,031 - INFO - Deleted project: ctest-TestPorts-90011077, ID : 26c3b735-ab52-4a90-8e52-7978ced55c37