2025-11-13 18:23:29,876 - INFO - Domain Default found not creating
2025-11-13 18:23:30,106 - INFO - Project ctest-TestPorts-85677914 not found, creating it
2025-11-13 18:23:30,644 - INFO - Created Project:ctest-TestPorts-85677914, ID : 1d81bc34-3fad-4124-a8c1-68dbb79a3f85
2025-11-13 18:23:32,748 - INFO - ================================================================================
2025-11-13 18:23:32,748 - INFO - STARTING TEST : test_ports_bindings
2025-11-13 18:23:32,748 - 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-13 18:23:33,061 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-11-13 18:23:33,061 - INFO - Initial checks done. Running the testcase now
2025-11-13 18:23:33,061 - INFO -
2025-11-13 18:23:33,666 - DEBUG - Response for create_network : {'network': {'id': '8a45d923-ba8b-4c30-9b1e-aacd3876485d', 'name': 'ctest-vn-70061386', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'project_id': '1d81bc343fad4124a8c168dbb79a3f85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85677914', 'ctest-vn-70061386'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 18:23:33,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f6262d6-6dfa-427e-9d4f-19f945143c4f', 'name': '', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'network_id': '8a45d923-ba8b-4c30-9b1e-aacd3876485d', 'ip_version': 4, 'cidr': '146.42.55.128/26', 'allocation_pools': [{'start': '146.42.55.130', 'end': '146.42.55.190'}], 'gateway_ip': '146.42.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.42.55.130', 'tags': [], 'project_id': '1d81bc343fad4124a8c168dbb79a3f85'}}
2025-11-13 18:23:33,934 - INFO - Created VN ctest-vn-70061386
2025-11-13 18:23:33,993 - DEBUG - VN ctest-vn-70061386 UUID is 8a45d923-ba8b-4c30-9b1e-aacd3876485d
2025-11-13 18:23:34,145 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85677914', 'ctest-vmi-29977230']}
2025-11-13 18:23:34,498 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29977230', 'id': '6c5db85f-5907-4410-b28c-a684fa45d05c', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'network_id': '8a45d923-ba8b-4c30-9b1e-aacd3876485d', 'mac_address': '02:6c:5d:b8:5f:59', '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': '146.42.55.131', 'subnet_id': '2f6262d6-6dfa-427e-9d4f-19f945143c4f'}], 'security_groups': ['3a86c88e-459b-4984-a6f7-75aac4e6646d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d81bc343fad4124a8c168dbb79a3f85'}}
2025-11-13 18:23:34,498 - DEBUG - Created port 6c5db85f-5907-4410-b28c-a684fa45d05c
2025-11-13 18:23:34,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6c5db85f-5907-4410-b28c-a684fa45d05c
2025-11-13 18:23:35,003 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6c5db85f-5907-4410-b28c-a684fa45d05c
2025-11-13 18:23:35,050 - INFO - VMI 6c5db85f-5907-4410-b28c-a684fa45d05c verification in API Server passed
2025-11-13 18:23:35,202 - DEBUG - Response for delete_port : ()
2025-11-13 18:23:35,203 - INFO - Deleted port 6c5db85f-5907-4410-b28c-a684fa45d05c
2025-11-13 18:23:35,203 - INFO - Deleting VN ctest-vn-70061386
2025-11-13 18:23:35,338 - DEBUG - Response for deleting network ()
2025-11-13 18:23:35,648 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 18:23:35,649 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-13 18:23:35,649 - INFO - --------------------------------------------------------------------------------
2025-11-13 18:23:35,656 - INFO - ================================================================================
2025-11-13 18:23:35,656 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-13 18:23:35,657 - 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-13 18:23:36,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-11-13 18:23:36,003 - INFO - Initial checks done. Running the testcase now
2025-11-13 18:23:36,003 - INFO -
2025-11-13 18:23:36,279 - DEBUG - Response for create_network : {'network': {'id': '0e5b44d2-3f6d-462c-a642-2c95fff06ad7', 'name': 'ctest-vn1-19978734', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'project_id': '1d81bc343fad4124a8c168dbb79a3f85', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85677914', 'ctest-vn1-19978734'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 18:23:36,439 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ece63d9b-7016-44d7-970c-8e452fadcfa8', 'name': '', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'network_id': '0e5b44d2-3f6d-462c-a642-2c95fff06ad7', 'ip_version': 4, 'cidr': '59.80.221.0/26', 'allocation_pools': [{'start': '59.80.221.2', 'end': '59.80.221.62'}], 'gateway_ip': '59.80.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.80.221.2', 'tags': [], 'project_id': '1d81bc343fad4124a8c168dbb79a3f85'}}
2025-11-13 18:23:36,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1ccb275-1c1f-4d9c-8d44-c68d11dda424', 'name': '', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'network_id': '0e5b44d2-3f6d-462c-a642-2c95fff06ad7', 'ip_version': 4, 'cidr': '157.171.102.0/26', 'allocation_pools': [{'start': '157.171.102.2', 'end': '157.171.102.62'}], 'gateway_ip': '157.171.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.171.102.2', 'tags': [], 'project_id': '1d81bc343fad4124a8c168dbb79a3f85'}}
2025-11-13 18:23:36,692 - INFO - Created VN ctest-vn1-19978734
2025-11-13 18:23:36,749 - DEBUG - VN ctest-vn1-19978734 UUID is 0e5b44d2-3f6d-462c-a642-2c95fff06ad7
2025-11-13 18:23:37,086 - DEBUG - Response for create_port : {'port': {'name': '300330c3-d8bb-4002-a738-aea5d66a8fa0', 'id': '300330c3-d8bb-4002-a738-aea5d66a8fa0', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'network_id': '0e5b44d2-3f6d-462c-a642-2c95fff06ad7', 'mac_address': '02:30:03:30:c3:d8', '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': '59.80.221.5', 'subnet_id': 'ece63d9b-7016-44d7-970c-8e452fadcfa8'}], 'security_groups': ['3a86c88e-459b-4984-a6f7-75aac4e6646d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d81bc343fad4124a8c168dbb79a3f85'}}
2025-11-13 18:23:37,258 - DEBUG - Response for create_port : {'port': {'name': '9ef5e80d-7854-4009-bfdc-1b31fde06290', 'id': '9ef5e80d-7854-4009-bfdc-1b31fde06290', 'tenant_id': '1d81bc343fad4124a8c168dbb79a3f85', 'network_id': '0e5b44d2-3f6d-462c-a642-2c95fff06ad7', 'mac_address': '02:9e:f5:e8:0d:78', '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': '157.171.102.5', 'subnet_id': 'e1ccb275-1c1f-4d9c-8d44-c68d11dda424'}], 'security_groups': ['3a86c88e-459b-4984-a6f7-75aac4e6646d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1d81bc343fad4124a8c168dbb79a3f85'}}
2025-11-13 18:23:37,312 - DEBUG - Services list from nova: [, , ]
2025-11-13 18:23:37,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4726-1)
2025-11-13 18:23:38,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4726-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4726-1)
2025-11-13 18:23:38,324 - INFO - Waiting for VM ctest-vn1-vm1-80302754 to be up..
2025-11-13 18:23:38,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-13 18:23:43,519 - DEBUG - VM is in ACTIVE state now
2025-11-13 18:23:43,519 - INFO - VM name : ctest-vn1-vm1-80302754
2025-11-13 18:23:43,612 - DEBUG - VM ctest-vn1-vm1-80302754 ID is 936dcdf5-1304-437f-a117-ebc10ba917ae
2025-11-13 18:23:43,634 - DEBUG - VM ctest-vn1-vm1-80302754 launched on Node cn-jenkins-deploy-platform-ansible-os-4726-1
2025-11-13 18:23:43,737 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/936dcdf5-1304-437f-a117-ebc10ba917ae
2025-11-13 18:23:43,754 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/300330c3-d8bb-4002-a738-aea5d66a8fa0
2025-11-13 18:23:47,086 - 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 1013ms')
2025-11-13 18:23:47,086 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80302754 failed!
2025-11-13 18:23:47,161 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85677914:ctest-vn1-19978734 is 59.80.221.1 and allocation pool is NOT set
2025-11-13 18:23:47,162 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85677914:ctest-vn1-19978734 is 157.171.102.1 and allocation pool is NOT set
2025-11-13 18:23:49,248 - 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=4.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.071/2.784/4.497/1.713 ms')
2025-11-13 18:23:49,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80302754 passed
2025-11-13 18:23:49,417 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 18:23:49,418 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80302754, IP 59.80.221.5, Port 22
2025-11-13 18:23:49,615 - DEBUG - VM ctest-vn1-vm1-80302754 is ready for SSH connections
2025-11-13 18:23:49,615 - INFO - Waiting for VM ctest-vn1-vm2-89684668 to be up..
2025-11-13 18:23:49,809 - DEBUG - VM is in ACTIVE state now
2025-11-13 18:23:49,810 - INFO - VM name : ctest-vn1-vm2-89684668
2025-11-13 18:23:49,954 - DEBUG - VM ctest-vn1-vm2-89684668 ID is 18cd38aa-56ea-47f4-984c-08b210bc0aea
2025-11-13 18:23:49,954 - DEBUG - VM ctest-vn1-vm2-89684668 launched on Node cn-jenkins-deploy-platform-ansible-os-4726-1
2025-11-13 18:23:50,081 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/18cd38aa-56ea-47f4-984c-08b210bc0aea
2025-11-13 18:23:50,095 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9ef5e80d-7854-4009-bfdc-1b31fde06290
2025-11-13 18:23:51,378 - 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=4.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.12 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 = 1.121/2.755/4.390/1.634 ms')
2025-11-13 18:23:51,378 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89684668 passed
2025-11-13 18:23:51,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 18:23:51,570 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89684668, IP 157.171.102.5, Port 22
2025-11-13 18:23:51,761 - DEBUG - VM ctest-vn1-vm2-89684668 is ready for SSH connections
2025-11-13 18:23:51,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 18:23:51,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 18:23:51,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 18:23:51,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.80.221.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-13 18:23:51,762 - DEBUG - ping -s 56 -c 3 -W 1 59.80.221.5
2025-11-13 18:23:54,782 - DEBUG - PING 59.80.221.5 (59.80.221.5): 56 data bytes
64 bytes from 59.80.221.5: seq=0 ttl=63 time=9.818 ms
64 bytes from 59.80.221.5: seq=1 ttl=63 time=2.537 ms
64 bytes from 59.80.221.5: seq=2 ttl=63 time=2.050 ms
--- 59.80.221.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.050/4.801/9.818 ms
2025-11-13 18:23:54,783 - INFO - Ping to IP 59.80.221.5 from VM ctest-vn1-vm2-89684668 passed
2025-11-13 18:23:54,783 - INFO - Detaching port 9ef5e80d-7854-4009-bfdc-1b31fde06290 from VM ctest-vn1-vm2-89684668
2025-11-13 18:23:54,913 - INFO - Deleting VM ctest-vn1-vm2-89684668
2025-11-13 18:23:55,057 - INFO - Detaching port 300330c3-d8bb-4002-a738-aea5d66a8fa0 from VM ctest-vn1-vm1-80302754
2025-11-13 18:23:55,128 - INFO - Deleting VM ctest-vn1-vm1-80302754
2025-11-13 18:23:55,444 - DEBUG - Response for delete_port : ()
2025-11-13 18:23:55,601 - DEBUG - Response for delete_port : ()
2025-11-13 18:23:55,601 - INFO - Deleting VN ctest-vn1-19978734
2025-11-13 18:23:55,767 - DEBUG - Response for deleting network ()
2025-11-13 18:23:56,085 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 18:23:56,085 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-13 18:23:56,085 - INFO - --------------------------------------------------------------------------------
2025-11-13 18:23:56,940 - INFO - Deleted project: ctest-TestPorts-85677914, ID : 1d81bc34-3fad-4124-a8c1-68dbb79a3f85