2025-11-04 18:06:24,009 - INFO - Domain Default found not creating
2025-11-04 18:06:24,155 - INFO - Project ctest-TestPorts-95468635 not found, creating it
2025-11-04 18:06:24,598 - INFO - Created Project:ctest-TestPorts-95468635, ID : 298b5965-e581-484e-bf9a-2d15b6fba9c9
2025-11-04 18:06:26,004 - INFO - ================================================================================
2025-11-04 18:06:26,004 - INFO - STARTING TEST : test_ports_bindings
2025-11-04 18:06:26,004 - 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-04 18:06:26,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with
2025-11-04 18:06:26,256 - INFO - Initial checks done. Running the testcase now
2025-11-04 18:06:26,256 - INFO -
2025-11-04 18:06:26,793 - DEBUG - Response for create_network : {'network': {'id': 'afaa4d22-0859-4817-8686-2d6816fd6a20', 'name': 'ctest-vn-01066538', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'project_id': '298b5965e581484ebf9a2d15b6fba9c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95468635', 'ctest-vn-01066538'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 18:06:26,945 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd98517d4-ef62-4fa8-8a2f-7ded940683e2', 'name': '', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'network_id': 'afaa4d22-0859-4817-8686-2d6816fd6a20', 'ip_version': 4, 'cidr': '63.46.109.128/26', 'allocation_pools': [{'start': '63.46.109.130', 'end': '63.46.109.190'}], 'gateway_ip': '63.46.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.46.109.130', 'tags': [], 'project_id': '298b5965e581484ebf9a2d15b6fba9c9'}}
2025-11-04 18:06:26,964 - INFO - Created VN ctest-vn-01066538
2025-11-04 18:06:27,015 - DEBUG - VN ctest-vn-01066538 UUID is afaa4d22-0859-4817-8686-2d6816fd6a20
2025-11-04 18:06:27,115 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-95468635', 'ctest-vmi-72206430']}
2025-11-04 18:06:27,377 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-72206430', 'id': 'f71e9e2e-c609-44d8-90ef-f84ef15fee1f', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'network_id': 'afaa4d22-0859-4817-8686-2d6816fd6a20', 'mac_address': '02:f7:1e:9e:2e:c6', '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': '63.46.109.131', 'subnet_id': 'd98517d4-ef62-4fa8-8a2f-7ded940683e2'}], 'security_groups': ['a7aa3c9c-565a-4b38-ac99-abbf6cfe0cf9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '298b5965e581484ebf9a2d15b6fba9c9'}}
2025-11-04 18:06:27,378 - DEBUG - Created port f71e9e2e-c609-44d8-90ef-f84ef15fee1f
2025-11-04 18:06:27,479 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f71e9e2e-c609-44d8-90ef-f84ef15fee1f
2025-11-04 18:06:27,770 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/f71e9e2e-c609-44d8-90ef-f84ef15fee1f
2025-11-04 18:06:27,797 - INFO - VMI f71e9e2e-c609-44d8-90ef-f84ef15fee1f verification in API Server passed
2025-11-04 18:06:27,879 - DEBUG - Response for delete_port : ()
2025-11-04 18:06:27,879 - INFO - Deleted port f71e9e2e-c609-44d8-90ef-f84ef15fee1f
2025-11-04 18:06:27,879 - INFO - Deleting VN ctest-vn-01066538
2025-11-04 18:06:27,981 - DEBUG - Response for deleting network ()
2025-11-04 18:06:28,236 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 18:06:28,236 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-04 18:06:28,236 - INFO - --------------------------------------------------------------------------------
2025-11-04 18:06:28,240 - INFO - ================================================================================
2025-11-04 18:06:28,240 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-04 18:06:28,240 - 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-04 18:06:28,523 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with
2025-11-04 18:06:28,523 - INFO - Initial checks done. Running the testcase now
2025-11-04 18:06:28,523 - INFO -
2025-11-04 18:06:28,703 - DEBUG - Response for create_network : {'network': {'id': '0fa92c9d-a02d-48ca-8286-e829777c5dd0', 'name': 'ctest-vn1-23539350', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'project_id': '298b5965e581484ebf9a2d15b6fba9c9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-95468635', 'ctest-vn1-23539350'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 18:06:28,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db3f6e6b-07ce-4c91-b5ed-7514102b7a9f', 'name': '', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'network_id': '0fa92c9d-a02d-48ca-8286-e829777c5dd0', 'ip_version': 4, 'cidr': '138.117.56.192/26', 'allocation_pools': [{'start': '138.117.56.194', 'end': '138.117.56.254'}], 'gateway_ip': '138.117.56.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.117.56.194', 'tags': [], 'project_id': '298b5965e581484ebf9a2d15b6fba9c9'}}
2025-11-04 18:06:29,047 - DEBUG - Response for create_subnet : {'subnet': {'id': '628b65e9-ead4-477c-a22c-8c72d80cd33a', 'name': '', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'network_id': '0fa92c9d-a02d-48ca-8286-e829777c5dd0', 'ip_version': 4, 'cidr': '170.97.39.128/26', 'allocation_pools': [{'start': '170.97.39.130', 'end': '170.97.39.190'}], 'gateway_ip': '170.97.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.97.39.130', 'tags': [], 'project_id': '298b5965e581484ebf9a2d15b6fba9c9'}}
2025-11-04 18:06:29,063 - INFO - Created VN ctest-vn1-23539350
2025-11-04 18:06:29,115 - DEBUG - VN ctest-vn1-23539350 UUID is 0fa92c9d-a02d-48ca-8286-e829777c5dd0
2025-11-04 18:06:29,400 - DEBUG - Response for create_port : {'port': {'name': 'a36a6842-afec-427f-92ae-3b50fa22613f', 'id': 'a36a6842-afec-427f-92ae-3b50fa22613f', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'network_id': '0fa92c9d-a02d-48ca-8286-e829777c5dd0', 'mac_address': '02:a3:6a:68:42:af', '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': '138.117.56.197', 'subnet_id': 'db3f6e6b-07ce-4c91-b5ed-7514102b7a9f'}], 'security_groups': ['a7aa3c9c-565a-4b38-ac99-abbf6cfe0cf9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '298b5965e581484ebf9a2d15b6fba9c9'}}
2025-11-04 18:06:29,567 - DEBUG - Response for create_port : {'port': {'name': '0e39d957-9542-4930-8732-a09ff6ab9d80', 'id': '0e39d957-9542-4930-8732-a09ff6ab9d80', 'tenant_id': '298b5965e581484ebf9a2d15b6fba9c9', 'network_id': '0fa92c9d-a02d-48ca-8286-e829777c5dd0', 'mac_address': '02:0e:39:d9:57:95', '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': '170.97.39.133', 'subnet_id': '628b65e9-ead4-477c-a22c-8c72d80cd33a'}], 'security_groups': ['a7aa3c9c-565a-4b38-ac99-abbf6cfe0cf9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '298b5965e581484ebf9a2d15b6fba9c9'}}
2025-11-04 18:06:29,618 - DEBUG - Services list from nova: [, , ]
2025-11-04 18:06:29,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4621-1)
2025-11-04 18:06:30,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4621-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4621-1)
2025-11-04 18:06:30,327 - INFO - Waiting for VM ctest-vn1-vm1-20040760 to be up..
2025-11-04 18:06:30,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-04 18:06:35,437 - DEBUG - VM is in ACTIVE state now
2025-11-04 18:06:35,437 - INFO - VM name : ctest-vn1-vm1-20040760
2025-11-04 18:06:35,662 - DEBUG - VM ctest-vn1-vm1-20040760 ID is d1a6aa9b-70fb-46ac-8ad3-834fefa86110
2025-11-04 18:06:35,688 - DEBUG - VM ctest-vn1-vm1-20040760 launched on Node cn-jenkins-deploy-platform-ansible-os-4621-1
2025-11-04 18:06:35,768 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/d1a6aa9b-70fb-46ac-8ad3-834fefa86110
2025-11-04 18:06:35,775 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/a36a6842-afec-427f-92ae-3b50fa22613f
2025-11-04 18:06:39,013 - 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-04 18:06:39,013 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20040760 failed!
2025-11-04 18:06:39,067 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95468635:ctest-vn1-23539350 is 138.117.56.193 and allocation pool is NOT set
2025-11-04 18:06:39,067 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-95468635:ctest-vn1-23539350 is 170.97.39.129 and allocation pool is NOT set
2025-11-04 18:06:41,129 - 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=8.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.75 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 = 1.749/5.280/8.811/3.531 ms')
2025-11-04 18:06:41,129 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-20040760 passed
2025-11-04 18:06:41,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:06:41,279 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20040760, IP 138.117.56.197, Port 22
2025-11-04 18:06:41,345 - 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-11-04 18:06:41,417 - DEBUG - VM ctest-vn1-vm1-20040760 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-04 18:06:46,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:06:46,417 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20040760, IP 138.117.56.197, Port 22
2025-11-04 18:06:46,578 - DEBUG - VM ctest-vn1-vm1-20040760 is ready for SSH connections
2025-11-04 18:06:46,578 - INFO - Waiting for VM ctest-vn1-vm2-21172081 to be up..
2025-11-04 18:06:46,643 - DEBUG - VM is in ACTIVE state now
2025-11-04 18:06:46,643 - INFO - VM name : ctest-vn1-vm2-21172081
2025-11-04 18:06:46,704 - DEBUG - VM ctest-vn1-vm2-21172081 ID is daa8baa7-9961-428a-9d9c-237c4c98864e
2025-11-04 18:06:46,704 - DEBUG - VM ctest-vn1-vm2-21172081 launched on Node cn-jenkins-deploy-platform-ansible-os-4621-1
2025-11-04 18:06:46,782 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/daa8baa7-9961-428a-9d9c-237c4c98864e
2025-11-04 18:06:46,790 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/0e39d957-9542-4930-8732-a09ff6ab9d80
2025-11-04 18:06:48,027 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.336 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.336/1.483/2.630/1.147 ms')
2025-11-04 18:06:48,027 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-21172081 passed
2025-11-04 18:06:48,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:06:48,183 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-21172081, IP 170.97.39.133, Port 22
2025-11-04 18:06:48,334 - DEBUG - VM ctest-vn1-vm2-21172081 is ready for SSH connections
2025-11-04 18:06:48,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:06:48,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:06:48,334 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 18:06:48,334 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 138.117.56.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-11-04 18:06:48,335 - DEBUG - ping -s 56 -c 3 -W 1 138.117.56.197
2025-11-04 18:06:50,963 - DEBUG - PING 138.117.56.197 (138.117.56.197): 56 data bytes
64 bytes from 138.117.56.197: seq=0 ttl=63 time=3.268 ms
64 bytes from 138.117.56.197: seq=1 ttl=63 time=0.938 ms
64 bytes from 138.117.56.197: seq=2 ttl=63 time=1.008 ms
--- 138.117.56.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.938/1.738/3.268 ms
2025-11-04 18:06:50,963 - INFO - Ping to IP 138.117.56.197 from VM ctest-vn1-vm2-21172081 passed
2025-11-04 18:06:50,964 - INFO - Detaching port 0e39d957-9542-4930-8732-a09ff6ab9d80 from VM ctest-vn1-vm2-21172081
2025-11-04 18:06:51,008 - INFO - Deleting VM ctest-vn1-vm2-21172081
2025-11-04 18:06:51,068 - INFO - Detaching port a36a6842-afec-427f-92ae-3b50fa22613f from VM ctest-vn1-vm1-20040760
2025-11-04 18:06:51,106 - INFO - Deleting VM ctest-vn1-vm1-20040760
2025-11-04 18:06:51,310 - DEBUG - Response for delete_port : ()
2025-11-04 18:06:51,459 - DEBUG - Response for delete_port : ()
2025-11-04 18:06:51,459 - INFO - Deleting VN ctest-vn1-23539350
2025-11-04 18:06:51,604 - DEBUG - Response for deleting network ()
2025-11-04 18:06:51,867 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 18:06:51,867 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-04 18:06:51,867 - INFO - --------------------------------------------------------------------------------
2025-11-04 18:06:52,538 - INFO - Deleted project: ctest-TestPorts-95468635, ID : 298b5965-e581-484e-bf9a-2d15b6fba9c9