2025-10-30 22:21:31,098 - INFO - Domain Default found not creating
2025-10-30 22:21:31,219 - INFO - Project ctest-TestPorts-20615909 not found, creating it
2025-10-30 22:21:31,618 - INFO - Created Project:ctest-TestPorts-20615909, ID : 1a136e1e-eb0e-4079-9580-534fdfb18330
2025-10-30 22:21:33,261 - INFO - ================================================================================
2025-10-30 22:21:33,262 - INFO - STARTING TEST : test_ports_bindings
2025-10-30 22:21:33,262 - 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 22:21:33,517 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.153': '0'}} with
2025-10-30 22:21:33,517 - INFO - Initial checks done. Running the testcase now
2025-10-30 22:21:33,517 - INFO -
2025-10-30 22:21:34,014 - DEBUG - Response for create_network : {'network': {'id': '2d9d619a-7e76-4499-b464-e74923466fcd', 'name': 'ctest-vn-63179407', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'project_id': '1a136e1eeb0e40799580534fdfb18330', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20615909', 'ctest-vn-63179407'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 22:21:34,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a72379a-8f00-4bb7-b9d2-c040574c5eb4', 'name': '', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'network_id': '2d9d619a-7e76-4499-b464-e74923466fcd', 'ip_version': 4, 'cidr': '86.192.182.0/26', 'allocation_pools': [{'start': '86.192.182.2', 'end': '86.192.182.62'}], 'gateway_ip': '86.192.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.192.182.2', 'tags': [], 'project_id': '1a136e1eeb0e40799580534fdfb18330'}}
2025-10-30 22:21:34,210 - INFO - Created VN ctest-vn-63179407
2025-10-30 22:21:34,260 - DEBUG - VN ctest-vn-63179407 UUID is 2d9d619a-7e76-4499-b464-e74923466fcd
2025-10-30 22:21:34,357 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-20615909', 'ctest-vmi-38788615']}
2025-10-30 22:21:34,611 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38788615', 'id': '9dfb8369-6bc2-4d4b-b151-82f65aff0ac5', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'network_id': '2d9d619a-7e76-4499-b464-e74923466fcd', 'mac_address': '02:9d:fb:83:69:6b', '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': '86.192.182.3', 'subnet_id': '3a72379a-8f00-4bb7-b9d2-c040574c5eb4'}], 'security_groups': ['0a42642b-0232-4921-941e-79ef51beab26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a136e1eeb0e40799580534fdfb18330'}}
2025-10-30 22:21:34,611 - DEBUG - Created port 9dfb8369-6bc2-4d4b-b151-82f65aff0ac5
2025-10-30 22:21:34,717 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9dfb8369-6bc2-4d4b-b151-82f65aff0ac5
2025-10-30 22:21:35,008 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/9dfb8369-6bc2-4d4b-b151-82f65aff0ac5
2025-10-30 22:21:35,037 - INFO - VMI 9dfb8369-6bc2-4d4b-b151-82f65aff0ac5 verification in API Server passed
2025-10-30 22:21:35,110 - DEBUG - Response for delete_port : ()
2025-10-30 22:21:35,110 - INFO - Deleted port 9dfb8369-6bc2-4d4b-b151-82f65aff0ac5
2025-10-30 22:21:35,110 - INFO - Deleting VN ctest-vn-63179407
2025-10-30 22:21:35,202 - DEBUG - Response for deleting network ()
2025-10-30 22:21:35,457 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 22:21:35,457 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-30 22:21:35,457 - INFO - --------------------------------------------------------------------------------
2025-10-30 22:21:35,459 - INFO - ================================================================================
2025-10-30 22:21:35,459 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-30 22:21:35,460 - 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 22:21:35,747 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.153': '0'}} with
2025-10-30 22:21:35,747 - INFO - Initial checks done. Running the testcase now
2025-10-30 22:21:35,747 - INFO -
2025-10-30 22:21:35,918 - DEBUG - Response for create_network : {'network': {'id': 'd7561f6e-4c67-4db5-b96a-8e336c02afef', 'name': 'ctest-vn1-71619163', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'project_id': '1a136e1eeb0e40799580534fdfb18330', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-20615909', 'ctest-vn1-71619163'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 22:21:36,102 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b53bb4c-7605-4c8f-9d01-87b0ed27700e', 'name': '', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'network_id': 'd7561f6e-4c67-4db5-b96a-8e336c02afef', 'ip_version': 4, 'cidr': '140.211.142.64/26', 'allocation_pools': [{'start': '140.211.142.66', 'end': '140.211.142.126'}], 'gateway_ip': '140.211.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.211.142.66', 'tags': [], 'project_id': '1a136e1eeb0e40799580534fdfb18330'}}
2025-10-30 22:21:36,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '636353d1-c6b4-4ae9-ab41-9297a2081b91', 'name': '', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'network_id': 'd7561f6e-4c67-4db5-b96a-8e336c02afef', 'ip_version': 4, 'cidr': '175.75.149.64/26', 'allocation_pools': [{'start': '175.75.149.66', 'end': '175.75.149.126'}], 'gateway_ip': '175.75.149.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.75.149.66', 'tags': [], 'project_id': '1a136e1eeb0e40799580534fdfb18330'}}
2025-10-30 22:21:36,276 - INFO - Created VN ctest-vn1-71619163
2025-10-30 22:21:36,328 - DEBUG - VN ctest-vn1-71619163 UUID is d7561f6e-4c67-4db5-b96a-8e336c02afef
2025-10-30 22:21:36,616 - DEBUG - Response for create_port : {'port': {'name': '10f4cc77-ec16-4bac-8a61-e285c424beb9', 'id': '10f4cc77-ec16-4bac-8a61-e285c424beb9', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'network_id': 'd7561f6e-4c67-4db5-b96a-8e336c02afef', 'mac_address': '02:10:f4:cc:77:ec', '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': '140.211.142.69', 'subnet_id': '1b53bb4c-7605-4c8f-9d01-87b0ed27700e'}], 'security_groups': ['0a42642b-0232-4921-941e-79ef51beab26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a136e1eeb0e40799580534fdfb18330'}}
2025-10-30 22:21:36,763 - DEBUG - Response for create_port : {'port': {'name': 'cb17b671-3c41-4530-b90c-8f300357a112', 'id': 'cb17b671-3c41-4530-b90c-8f300357a112', 'tenant_id': '1a136e1eeb0e40799580534fdfb18330', 'network_id': 'd7561f6e-4c67-4db5-b96a-8e336c02afef', 'mac_address': '02:cb:17:b6:71:3c', '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': '175.75.149.69', 'subnet_id': '636353d1-c6b4-4ae9-ab41-9297a2081b91'}], 'security_groups': ['0a42642b-0232-4921-941e-79ef51beab26'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a136e1eeb0e40799580534fdfb18330'}}
2025-10-30 22:21:36,814 - DEBUG - Services list from nova: [, , ]
2025-10-30 22:21:37,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4561-1)
2025-10-30 22:21:37,456 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4561-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4561-1)
2025-10-30 22:21:37,456 - INFO - Waiting for VM ctest-vn1-vm1-07085885 to be up..
2025-10-30 22:21:37,492 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 22:21:42,557 - DEBUG - VM is in ACTIVE state now
2025-10-30 22:21:42,557 - INFO - VM name : ctest-vn1-vm1-07085885
2025-10-30 22:21:42,629 - DEBUG - VM ctest-vn1-vm1-07085885 ID is 61c892f8-9ca3-48c9-9994-35bdc8f218aa
2025-10-30 22:21:42,646 - DEBUG - VM ctest-vn1-vm1-07085885 launched on Node cn-jenkins-deploy-platform-ansible-os-4561-1
2025-10-30 22:21:42,715 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/61c892f8-9ca3-48c9-9994-35bdc8f218aa
2025-10-30 22:21:42,722 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/10f4cc77-ec16-4bac-8a61-e285c424beb9
2025-10-30 22:21:45,966 - 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-10-30 22:21:45,966 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07085885 failed!
2025-10-30 22:21:46,020 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20615909:ctest-vn1-71619163 is 140.211.142.65 and allocation pool is NOT set
2025-10-30 22:21:46,021 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-20615909:ctest-vn1-71619163 is 175.75.149.65 and allocation pool is NOT set
2025-10-30 22:21:48,079 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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.831/3.611/5.391/1.780 ms')
2025-10-30 22:21:48,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07085885 passed
2025-10-30 22:21:48,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 22:21:48,233 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07085885, IP 140.211.142.69, Port 22
2025-10-30 22:21:48,288 - 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 22:21:48,355 - DEBUG - VM ctest-vn1-vm1-07085885 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-30 22:21:53,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 22:21:53,357 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07085885, IP 140.211.142.69, Port 22
2025-10-30 22:21:53,512 - DEBUG - VM ctest-vn1-vm1-07085885 is ready for SSH connections
2025-10-30 22:21:53,512 - INFO - Waiting for VM ctest-vn1-vm2-68866896 to be up..
2025-10-30 22:21:53,578 - DEBUG - VM is in ACTIVE state now
2025-10-30 22:21:53,578 - INFO - VM name : ctest-vn1-vm2-68866896
2025-10-30 22:21:53,643 - DEBUG - VM ctest-vn1-vm2-68866896 ID is 14c4a8aa-7631-42c5-851f-7cab54bfd754
2025-10-30 22:21:53,643 - DEBUG - VM ctest-vn1-vm2-68866896 launched on Node cn-jenkins-deploy-platform-ansible-os-4561-1
2025-10-30 22:21:53,708 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/14c4a8aa-7631-42c5-851f-7cab54bfd754
2025-10-30 22:21:53,714 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/cb17b671-3c41-4530-b90c-8f300357a112
2025-10-30 22:21:54,943 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.405 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.405/1.565/2.726/1.160 ms')
2025-10-30 22:21:54,943 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-68866896 passed
2025-10-30 22:21:55,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 22:21:55,093 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-68866896, IP 175.75.149.69, Port 22
2025-10-30 22:21:55,244 - DEBUG - VM ctest-vn1-vm2-68866896 is ready for SSH connections
2025-10-30 22:21:55,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 22:21:55,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 22:21:55,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 22:21:55,245 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.211.142.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123
2025-10-30 22:21:55,245 - DEBUG - ping -s 56 -c 3 -W 1 140.211.142.69
2025-10-30 22:21:58,348 - DEBUG - PING 140.211.142.69 (140.211.142.69): 56 data bytes
64 bytes from 140.211.142.69: seq=0 ttl=63 time=5.127 ms
64 bytes from 140.211.142.69: seq=1 ttl=63 time=1.054 ms
64 bytes from 140.211.142.69: seq=2 ttl=63 time=2.123 ms
--- 140.211.142.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.054/2.768/5.127 ms
2025-10-30 22:21:58,348 - INFO - Ping to IP 140.211.142.69 from VM ctest-vn1-vm2-68866896 passed
2025-10-30 22:21:58,349 - INFO - Detaching port cb17b671-3c41-4530-b90c-8f300357a112 from VM ctest-vn1-vm2-68866896
2025-10-30 22:21:58,397 - INFO - Deleting VM ctest-vn1-vm2-68866896
2025-10-30 22:21:58,458 - INFO - Detaching port 10f4cc77-ec16-4bac-8a61-e285c424beb9 from VM ctest-vn1-vm1-07085885
2025-10-30 22:21:58,492 - INFO - Deleting VM ctest-vn1-vm1-07085885
2025-10-30 22:21:58,687 - DEBUG - Response for delete_port : ()
2025-10-30 22:21:58,815 - DEBUG - Response for delete_port : ()
2025-10-30 22:21:58,815 - INFO - Deleting VN ctest-vn1-71619163
2025-10-30 22:21:58,930 - DEBUG - Response for deleting network ()
2025-10-30 22:21:59,189 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 22:21:59,189 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-30 22:21:59,189 - INFO - --------------------------------------------------------------------------------
2025-10-30 22:21:59,934 - INFO - Deleted project: ctest-TestPorts-20615909, ID : 1a136e1e-eb0e-4079-9580-534fdfb18330