2025-11-06 06:31:21,341 - INFO - Domain Default found not creating
2025-11-06 06:31:21,545 - INFO - Project ctest-TestPorts-40994514 not found, creating it
2025-11-06 06:31:22,012 - INFO - Created Project:ctest-TestPorts-40994514, ID : 984e9a97-b2c3-4265-abc0-a0a726726dea
2025-11-06 06:31:23,456 - INFO - ================================================================================
2025-11-06 06:31:23,456 - INFO - STARTING TEST : test_ports_bindings
2025-11-06 06:31:23,456 - 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-06 06:31:23,714 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with
2025-11-06 06:31:23,714 - INFO - Initial checks done. Running the testcase now
2025-11-06 06:31:23,714 - INFO -
2025-11-06 06:31:24,263 - DEBUG - Response for create_network : {'network': {'id': '05a9bfe7-dc30-43ee-a873-671c0e2bba0f', 'name': 'ctest-vn-73309617', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'project_id': '984e9a97b2c34265abc0a0a726726dea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40994514', 'ctest-vn-73309617'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 06:31:24,409 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f57c6926-e625-45ba-9bcc-f884e3502fd6', 'name': '', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'network_id': '05a9bfe7-dc30-43ee-a873-671c0e2bba0f', 'ip_version': 4, 'cidr': '192.176.212.64/26', 'allocation_pools': [{'start': '192.176.212.66', 'end': '192.176.212.126'}], 'gateway_ip': '192.176.212.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.176.212.66', 'tags': [], 'project_id': '984e9a97b2c34265abc0a0a726726dea'}}
2025-11-06 06:31:24,431 - INFO - Created VN ctest-vn-73309617
2025-11-06 06:31:24,484 - DEBUG - VN ctest-vn-73309617 UUID is 05a9bfe7-dc30-43ee-a873-671c0e2bba0f
2025-11-06 06:31:24,605 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40994514', 'ctest-vmi-56400382']}
2025-11-06 06:31:24,860 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-56400382', 'id': '9b244b6a-e72e-4a07-aee2-23c5e8a0922a', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'network_id': '05a9bfe7-dc30-43ee-a873-671c0e2bba0f', 'mac_address': '02:9b:24:4b:6a:e7', '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.176.212.67', 'subnet_id': 'f57c6926-e625-45ba-9bcc-f884e3502fd6'}], 'security_groups': ['81405a61-ffbb-479c-adaf-87562a77dba0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '984e9a97b2c34265abc0a0a726726dea'}}
2025-11-06 06:31:24,860 - DEBUG - Created port 9b244b6a-e72e-4a07-aee2-23c5e8a0922a
2025-11-06 06:31:24,964 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9b244b6a-e72e-4a07-aee2-23c5e8a0922a
2025-11-06 06:31:25,262 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9b244b6a-e72e-4a07-aee2-23c5e8a0922a
2025-11-06 06:31:25,294 - INFO - VMI 9b244b6a-e72e-4a07-aee2-23c5e8a0922a verification in API Server passed
2025-11-06 06:31:25,375 - DEBUG - Response for delete_port : ()
2025-11-06 06:31:25,375 - INFO - Deleted port 9b244b6a-e72e-4a07-aee2-23c5e8a0922a
2025-11-06 06:31:25,375 - INFO - Deleting VN ctest-vn-73309617
2025-11-06 06:31:25,469 - DEBUG - Response for deleting network ()
2025-11-06 06:31:25,722 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 06:31:25,722 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-06 06:31:25,722 - INFO - --------------------------------------------------------------------------------
2025-11-06 06:31:25,725 - INFO - ================================================================================
2025-11-06 06:31:25,725 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-06 06:31:25,725 - 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-06 06:31:26,013 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with
2025-11-06 06:31:26,013 - INFO - Initial checks done. Running the testcase now
2025-11-06 06:31:26,013 - INFO -
2025-11-06 06:31:26,180 - DEBUG - Response for create_network : {'network': {'id': '04909056-fb25-44b5-80b2-905bf90257ac', 'name': 'ctest-vn1-99077872', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'project_id': '984e9a97b2c34265abc0a0a726726dea', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40994514', 'ctest-vn1-99077872'], 'port_security_enabled': True, 'description': ''}}
2025-11-06 06:31:26,368 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a09ea79f-d7a0-493b-8f53-7d21aa1b3520', 'name': '', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'network_id': '04909056-fb25-44b5-80b2-905bf90257ac', 'ip_version': 4, 'cidr': '178.169.193.128/26', 'allocation_pools': [{'start': '178.169.193.130', 'end': '178.169.193.190'}], 'gateway_ip': '178.169.193.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.169.193.130', 'tags': [], 'project_id': '984e9a97b2c34265abc0a0a726726dea'}}
2025-11-06 06:31:26,501 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e12971b1-0423-4d2f-a970-23ca9e8f893f', 'name': '', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'network_id': '04909056-fb25-44b5-80b2-905bf90257ac', 'ip_version': 4, 'cidr': '109.88.111.128/26', 'allocation_pools': [{'start': '109.88.111.130', 'end': '109.88.111.190'}], 'gateway_ip': '109.88.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.88.111.130', 'tags': [], 'project_id': '984e9a97b2c34265abc0a0a726726dea'}}
2025-11-06 06:31:26,519 - INFO - Created VN ctest-vn1-99077872
2025-11-06 06:31:26,568 - DEBUG - VN ctest-vn1-99077872 UUID is 04909056-fb25-44b5-80b2-905bf90257ac
2025-11-06 06:31:26,854 - DEBUG - Response for create_port : {'port': {'name': '618b3825-4f0e-49bc-8575-616b42819ca8', 'id': '618b3825-4f0e-49bc-8575-616b42819ca8', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'network_id': '04909056-fb25-44b5-80b2-905bf90257ac', 'mac_address': '02:61:8b:38:25:4f', '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': '178.169.193.133', 'subnet_id': 'a09ea79f-d7a0-493b-8f53-7d21aa1b3520'}], 'security_groups': ['81405a61-ffbb-479c-adaf-87562a77dba0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '984e9a97b2c34265abc0a0a726726dea'}}
2025-11-06 06:31:27,013 - DEBUG - Response for create_port : {'port': {'name': '80628ddf-ee71-4b85-98d7-2b30ddbfcc82', 'id': '80628ddf-ee71-4b85-98d7-2b30ddbfcc82', 'tenant_id': '984e9a97b2c34265abc0a0a726726dea', 'network_id': '04909056-fb25-44b5-80b2-905bf90257ac', 'mac_address': '02:80:62:8d:df:ee', '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': '109.88.111.133', 'subnet_id': 'e12971b1-0423-4d2f-a970-23ca9e8f893f'}], 'security_groups': ['81405a61-ffbb-479c-adaf-87562a77dba0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '984e9a97b2c34265abc0a0a726726dea'}}
2025-11-06 06:31:27,075 - DEBUG - Services list from nova: [, , ]
2025-11-06 06:31:27,390 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4665-1)
2025-11-06 06:31:27,767 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4665-1)
2025-11-06 06:31:27,767 - INFO - Waiting for VM ctest-vn1-vm1-08235258 to be up..
2025-11-06 06:31:27,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-06 06:31:32,875 - DEBUG - VM is in ACTIVE state now
2025-11-06 06:31:32,876 - INFO - VM name : ctest-vn1-vm1-08235258
2025-11-06 06:31:32,944 - DEBUG - VM ctest-vn1-vm1-08235258 ID is 499f1cdd-a36f-4746-b6b6-e608559f27a9
2025-11-06 06:31:32,962 - DEBUG - VM ctest-vn1-vm1-08235258 launched on Node cn-jenkins-deploy-platform-ansible-os-4665-1
2025-11-06 06:31:33,033 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/499f1cdd-a36f-4746-b6b6-e608559f27a9
2025-11-06 06:31:33,041 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/618b3825-4f0e-49bc-8575-616b42819ca8
2025-11-06 06:31:36,283 - 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 1019ms')
2025-11-06 06:31:36,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08235258 failed!
2025-11-06 06:31:36,336 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40994514:ctest-vn1-99077872 is 178.169.193.129 and allocation pool is NOT set
2025-11-06 06:31:36,336 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40994514:ctest-vn1-99077872 is 109.88.111.129 and allocation pool is NOT set
2025-11-06 06:31:38,405 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.72 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 = 2.718/3.173/3.629/0.455 ms')
2025-11-06 06:31:38,405 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08235258 passed
2025-11-06 06:31:38,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 06:31:38,552 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08235258, IP 178.169.193.133, Port 22
2025-11-06 06:31:38,608 - 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-06 06:31:38,677 - DEBUG - VM ctest-vn1-vm1-08235258 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-06 06:31:43,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 06:31:43,678 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08235258, IP 178.169.193.133, Port 22
2025-11-06 06:31:43,832 - DEBUG - VM ctest-vn1-vm1-08235258 is ready for SSH connections
2025-11-06 06:31:43,832 - INFO - Waiting for VM ctest-vn1-vm2-87419470 to be up..
2025-11-06 06:31:43,902 - DEBUG - VM is in ACTIVE state now
2025-11-06 06:31:43,902 - INFO - VM name : ctest-vn1-vm2-87419470
2025-11-06 06:31:43,967 - DEBUG - VM ctest-vn1-vm2-87419470 ID is 488b8f99-5b09-4ea6-960b-91451c512e96
2025-11-06 06:31:43,967 - DEBUG - VM ctest-vn1-vm2-87419470 launched on Node cn-jenkins-deploy-platform-ansible-os-4665-1
2025-11-06 06:31:44,032 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/488b8f99-5b09-4ea6-960b-91451c512e96
2025-11-06 06:31:44,039 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/80628ddf-ee71-4b85-98d7-2b30ddbfcc82
2025-11-06 06:31:45,276 - 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=3.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.797/3.170/1.373 ms')
2025-11-06 06:31:45,276 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87419470 passed
2025-11-06 06:31:45,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 06:31:45,428 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87419470, IP 109.88.111.133, Port 22
2025-11-06 06:31:45,583 - DEBUG - VM ctest-vn1-vm2-87419470 is ready for SSH connections
2025-11-06 06:31:45,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 06:31:45,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 06:31:45,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-06 06:31:45,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.169.193.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-06 06:31:45,584 - DEBUG - ping -s 56 -c 3 -W 1 178.169.193.133
2025-11-06 06:31:48,225 - DEBUG - PING 178.169.193.133 (178.169.193.133): 56 data bytes
64 bytes from 178.169.193.133: seq=0 ttl=63 time=3.837 ms
64 bytes from 178.169.193.133: seq=1 ttl=63 time=1.300 ms
64 bytes from 178.169.193.133: seq=2 ttl=63 time=1.173 ms
--- 178.169.193.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.173/2.103/3.837 ms
2025-11-06 06:31:48,225 - INFO - Ping to IP 178.169.193.133 from VM ctest-vn1-vm2-87419470 passed
2025-11-06 06:31:48,225 - INFO - Detaching port 80628ddf-ee71-4b85-98d7-2b30ddbfcc82 from VM ctest-vn1-vm2-87419470
2025-11-06 06:31:48,271 - INFO - Deleting VM ctest-vn1-vm2-87419470
2025-11-06 06:31:48,357 - INFO - Detaching port 618b3825-4f0e-49bc-8575-616b42819ca8 from VM ctest-vn1-vm1-08235258
2025-11-06 06:31:48,393 - INFO - Deleting VM ctest-vn1-vm1-08235258
2025-11-06 06:31:48,635 - DEBUG - Response for delete_port : ()
2025-11-06 06:31:48,815 - DEBUG - Response for delete_port : ()
2025-11-06 06:31:48,816 - INFO - Deleting VN ctest-vn1-99077872
2025-11-06 06:31:48,935 - DEBUG - Response for deleting network ()
2025-11-06 06:31:49,194 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 06:31:49,194 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-06 06:31:49,194 - INFO - --------------------------------------------------------------------------------
2025-11-06 06:31:49,862 - INFO - Deleted project: ctest-TestPorts-40994514, ID : 984e9a97-b2c3-4265-abc0-a0a726726dea