2025-11-04 21:50:43,203 - INFO - Domain Default found not creating
2025-11-04 21:50:43,331 - INFO - Project ctest-TestPorts-72911829 not found, creating it
2025-11-04 21:50:43,783 - INFO - Created Project:ctest-TestPorts-72911829, ID : b58c32c3-b957-4b0e-a916-ac8bc01462ba
2025-11-04 21:50:45,190 - INFO - ================================================================================
2025-11-04 21:50:45,190 - INFO - STARTING TEST : test_ports_bindings
2025-11-04 21:50:45,190 - 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 21:50:45,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-11-04 21:50:45,447 - INFO - Initial checks done. Running the testcase now
2025-11-04 21:50:45,448 - INFO -
2025-11-04 21:50:46,002 - DEBUG - Response for create_network : {'network': {'id': 'c3e8b8fe-6999-48e1-8d2f-6e64d807058f', 'name': 'ctest-vn-28466169', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72911829', 'ctest-vn-28466169'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 21:50:46,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '968ad08c-33ed-48d4-a45e-a102a8992f71', 'name': '', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'network_id': 'c3e8b8fe-6999-48e1-8d2f-6e64d807058f', 'ip_version': 4, 'cidr': '212.94.110.128/26', 'allocation_pools': [{'start': '212.94.110.130', 'end': '212.94.110.190'}], 'gateway_ip': '212.94.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.94.110.130', 'tags': [], 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba'}}
2025-11-04 21:50:46,149 - INFO - Created VN ctest-vn-28466169
2025-11-04 21:50:46,199 - DEBUG - VN ctest-vn-28466169 UUID is c3e8b8fe-6999-48e1-8d2f-6e64d807058f
2025-11-04 21:50:46,294 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72911829', 'ctest-vmi-12831151']}
2025-11-04 21:50:46,586 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-12831151', 'id': 'd93b1b68-4de0-4806-947f-71e703da70ba', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'network_id': 'c3e8b8fe-6999-48e1-8d2f-6e64d807058f', 'mac_address': '02:d9:3b:1b:68:4d', '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': '212.94.110.131', 'subnet_id': '968ad08c-33ed-48d4-a45e-a102a8992f71'}], 'security_groups': ['66dbfbf4-29d8-4208-8c8b-ead7a7525f2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba'}}
2025-11-04 21:50:46,586 - DEBUG - Created port d93b1b68-4de0-4806-947f-71e703da70ba
2025-11-04 21:50:46,688 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/d93b1b68-4de0-4806-947f-71e703da70ba
2025-11-04 21:50:47,003 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/d93b1b68-4de0-4806-947f-71e703da70ba
2025-11-04 21:50:47,033 - INFO - VMI d93b1b68-4de0-4806-947f-71e703da70ba verification in API Server passed
2025-11-04 21:50:47,109 - DEBUG - Response for delete_port : ()
2025-11-04 21:50:47,109 - INFO - Deleted port d93b1b68-4de0-4806-947f-71e703da70ba
2025-11-04 21:50:47,109 - INFO - Deleting VN ctest-vn-28466169
2025-11-04 21:50:47,202 - DEBUG - Response for deleting network ()
2025-11-04 21:50:47,457 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 21:50:47,457 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-04 21:50:47,457 - INFO - --------------------------------------------------------------------------------
2025-11-04 21:50:47,461 - INFO - ================================================================================
2025-11-04 21:50:47,461 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-04 21:50:47,461 - 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 21:50:47,744 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2025-11-04 21:50:47,744 - INFO - Initial checks done. Running the testcase now
2025-11-04 21:50:47,744 - INFO -
2025-11-04 21:50:47,912 - DEBUG - Response for create_network : {'network': {'id': '098b6af6-5c25-466e-b3b5-96191e9e4622', 'name': 'ctest-vn1-81742101', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72911829', 'ctest-vn1-81742101'], 'port_security_enabled': True, 'description': ''}}
2025-11-04 21:50:48,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '83312731-a48d-47d8-8952-a41e1d5731a2', 'name': '', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'network_id': '098b6af6-5c25-466e-b3b5-96191e9e4622', 'ip_version': 4, 'cidr': '66.251.5.0/26', 'allocation_pools': [{'start': '66.251.5.2', 'end': '66.251.5.62'}], 'gateway_ip': '66.251.5.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.251.5.2', 'tags': [], 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba'}}
2025-11-04 21:50:48,202 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5c943be-ad20-460b-adf2-eba1763845e6', 'name': '', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'network_id': '098b6af6-5c25-466e-b3b5-96191e9e4622', 'ip_version': 4, 'cidr': '141.112.174.0/26', 'allocation_pools': [{'start': '141.112.174.2', 'end': '141.112.174.62'}], 'gateway_ip': '141.112.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.112.174.2', 'tags': [], 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba'}}
2025-11-04 21:50:48,217 - INFO - Created VN ctest-vn1-81742101
2025-11-04 21:50:48,271 - DEBUG - VN ctest-vn1-81742101 UUID is 098b6af6-5c25-466e-b3b5-96191e9e4622
2025-11-04 21:50:48,552 - DEBUG - Response for create_port : {'port': {'name': '66fcab6a-d1ab-4495-986b-5dd5441034de', 'id': '66fcab6a-d1ab-4495-986b-5dd5441034de', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'network_id': '098b6af6-5c25-466e-b3b5-96191e9e4622', 'mac_address': '02:66:fc:ab:6a:d1', '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': '66.251.5.5', 'subnet_id': '83312731-a48d-47d8-8952-a41e1d5731a2'}], 'security_groups': ['66dbfbf4-29d8-4208-8c8b-ead7a7525f2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba'}}
2025-11-04 21:50:48,704 - DEBUG - Response for create_port : {'port': {'name': 'ef9fc3a0-f28c-44bc-a783-017c07021d86', 'id': 'ef9fc3a0-f28c-44bc-a783-017c07021d86', 'tenant_id': 'b58c32c3b9574b0ea916ac8bc01462ba', 'network_id': '098b6af6-5c25-466e-b3b5-96191e9e4622', 'mac_address': '02:ef:9f:c3:a0:f2', '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': '141.112.174.5', 'subnet_id': 'e5c943be-ad20-460b-adf2-eba1763845e6'}], 'security_groups': ['66dbfbf4-29d8-4208-8c8b-ead7a7525f2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b58c32c3b9574b0ea916ac8bc01462ba'}}
2025-11-04 21:50:48,762 - DEBUG - Services list from nova: [, , ]
2025-11-04 21:50:49,101 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1)
2025-11-04 21:50:49,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4622-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4622-1)
2025-11-04 21:50:49,428 - INFO - Waiting for VM ctest-vn1-vm1-98249672 to be up..
2025-11-04 21:50:49,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-04 21:50:54,530 - DEBUG - VM is in ACTIVE state now
2025-11-04 21:50:54,530 - INFO - VM name : ctest-vn1-vm1-98249672
2025-11-04 21:50:54,598 - DEBUG - VM ctest-vn1-vm1-98249672 ID is cb87991d-c644-4671-bf90-4c2d0b09ed45
2025-11-04 21:50:54,617 - DEBUG - VM ctest-vn1-vm1-98249672 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1
2025-11-04 21:50:54,699 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/cb87991d-c644-4671-bf90-4c2d0b09ed45
2025-11-04 21:50:54,706 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/66fcab6a-d1ab-4495-986b-5dd5441034de
2025-11-04 21:50:57,950 - 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 1007ms')
2025-11-04 21:50:57,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98249672 failed!
2025-11-04 21:50:58,003 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72911829:ctest-vn1-81742101 is 66.251.5.1 and allocation pool is NOT set
2025-11-04 21:50:58,004 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72911829:ctest-vn1-81742101 is 141.112.174.1 and allocation pool is NOT set
2025-11-04 21:51:00,065 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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 = 0.566/2.134/3.702/1.568 ms')
2025-11-04 21:51:00,066 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98249672 passed
2025-11-04 21:51:00,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:51:00,216 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98249672, IP 66.251.5.5, Port 22
2025-11-04 21:51:00,376 - DEBUG - VM ctest-vn1-vm1-98249672 is ready for SSH connections
2025-11-04 21:51:00,376 - INFO - Waiting for VM ctest-vn1-vm2-67715847 to be up..
2025-11-04 21:51:00,446 - DEBUG - VM is in ACTIVE state now
2025-11-04 21:51:00,446 - INFO - VM name : ctest-vn1-vm2-67715847
2025-11-04 21:51:00,513 - DEBUG - VM ctest-vn1-vm2-67715847 ID is e12684cb-3847-49e5-8917-7d0c54aed90f
2025-11-04 21:51:00,513 - DEBUG - VM ctest-vn1-vm2-67715847 launched on Node cn-jenkins-deploy-platform-ansible-os-4622-1
2025-11-04 21:51:00,578 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/e12684cb-3847-49e5-8917-7d0c54aed90f
2025-11-04 21:51:00,586 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/ef9fc3a0-f28c-44bc-a783-017c07021d86
2025-11-04 21:51:01,819 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/1.703/2.977/1.274 ms')
2025-11-04 21:51:01,819 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-67715847 passed
2025-11-04 21:51:01,971 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:51:01,972 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-67715847, IP 141.112.174.5, Port 22
2025-11-04 21:51:02,143 - DEBUG - VM ctest-vn1-vm2-67715847 is ready for SSH connections
2025-11-04 21:51:02,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:51:02,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:51:02,143 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-04 21:51:02,144 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.251.5.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-11-04 21:51:02,144 - DEBUG - ping -s 56 -c 3 -W 1 66.251.5.5
2025-11-04 21:51:05,010 - DEBUG - PING 66.251.5.5 (66.251.5.5): 56 data bytes
64 bytes from 66.251.5.5: seq=0 ttl=63 time=3.695 ms
64 bytes from 66.251.5.5: seq=1 ttl=63 time=1.233 ms
64 bytes from 66.251.5.5: seq=2 ttl=63 time=1.145 ms
--- 66.251.5.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.145/2.024/3.695 ms
2025-11-04 21:51:05,010 - INFO - Ping to IP 66.251.5.5 from VM ctest-vn1-vm2-67715847 passed
2025-11-04 21:51:05,010 - INFO - Detaching port ef9fc3a0-f28c-44bc-a783-017c07021d86 from VM ctest-vn1-vm2-67715847
2025-11-04 21:51:05,064 - INFO - Deleting VM ctest-vn1-vm2-67715847
2025-11-04 21:51:05,127 - INFO - Detaching port 66fcab6a-d1ab-4495-986b-5dd5441034de from VM ctest-vn1-vm1-98249672
2025-11-04 21:51:05,166 - INFO - Deleting VM ctest-vn1-vm1-98249672
2025-11-04 21:51:05,391 - DEBUG - Response for delete_port : ()
2025-11-04 21:51:05,577 - DEBUG - Response for delete_port : ()
2025-11-04 21:51:05,577 - INFO - Deleting VN ctest-vn1-81742101
2025-11-04 21:51:05,700 - DEBUG - Response for deleting network ()
2025-11-04 21:51:05,960 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 21:51:05,960 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-04 21:51:05,961 - INFO - --------------------------------------------------------------------------------
2025-11-04 21:51:06,652 - INFO - Deleted project: ctest-TestPorts-72911829, ID : b58c32c3-b957-4b0e-a916-ac8bc01462ba