2026-05-18 01:49:46,348 - INFO - Reading existing Domain with UUID 2d41c0d2-849f-4e48-95a3-b6637df9305b
2026-05-18 01:49:46,374 - INFO - Using existing domain ['admin_domain'](2d41c0d2-849f-4e48-95a3-b6637df9305b)
2026-05-18 01:49:46,703 - INFO - Project ctest-TestPorts-26611908 not found, creating it
2026-05-18 01:49:47,242 - INFO - Created Project:ctest-TestPorts-26611908, ID : 7f7b5c99-250a-4f85-91d6-20ea065297be
2026-05-18 01:49:49,038 - INFO - ================================================================================
2026-05-18 01:49:49,038 - INFO - STARTING TEST : test_ports_bindings
2026-05-18 01:49:49,038 - 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
2026-05-18 01:49:49,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-05-18 01:49:49,429 - INFO - Initial checks done. Running the testcase now
2026-05-18 01:49:49,429 - INFO -
2026-05-18 01:49:50,297 - DEBUG - Response for create_network : {'network': {'id': '6ed8aff8-144b-4f9a-8241-327b5e6e04c4', 'name': 'ctest-vn-81421719', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'project_id': '7f7b5c99250a4f8591d620ea065297be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-26611908', 'ctest-vn-81421719'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-05-18 01:49:50,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '9de61217-ee3b-4f2a-b1b9-d0d05f946e64', 'name': '', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'network_id': '6ed8aff8-144b-4f9a-8241-327b5e6e04c4', 'ip_version': 4, 'cidr': '37.186.171.128/26', 'allocation_pools': [{'start': '37.186.171.130', 'end': '37.186.171.190'}], 'gateway_ip': '37.186.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-18T01:49:50.459790', 'updated_at': '2026-05-18T01:49:50.459790', 'dns_server_address': '37.186.171.130', 'tags': [], 'project_id': '7f7b5c99250a4f8591d620ea065297be'}}
2026-05-18 01:49:50,645 - INFO - Created VN ctest-vn-81421719
2026-05-18 01:49:50,699 - DEBUG - VN ctest-vn-81421719 UUID is 6ed8aff8-144b-4f9a-8241-327b5e6e04c4
2026-05-18 01:49:50,906 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-26611908', 'ctest-vmi-74351661']}
2026-05-18 01:49:51,236 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74351661', 'id': 'd55417d0-e26d-4cd2-b63b-f5d86e23832b', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'network_id': '6ed8aff8-144b-4f9a-8241-327b5e6e04c4', 'mac_address': '02:d5:54:17:d0:e2', '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': '37.186.171.131', 'subnet_id': '9de61217-ee3b-4f2a-b1b9-d0d05f946e64'}], 'security_groups': ['e681cbfc-b01f-4f34-b9c9-9af169331ce8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-18T01:49:51.024715', 'updated_at': '2026-05-18T01:49:51.086367', 'project_id': '7f7b5c99250a4f8591d620ea065297be'}}
2026-05-18 01:49:51,237 - DEBUG - Created port d55417d0-e26d-4cd2-b63b-f5d86e23832b
2026-05-18 01:49:51,347 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/d55417d0-e26d-4cd2-b63b-f5d86e23832b
2026-05-18 01:49:51,707 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/d55417d0-e26d-4cd2-b63b-f5d86e23832b
2026-05-18 01:49:51,795 - INFO - VMI d55417d0-e26d-4cd2-b63b-f5d86e23832b verification in API Server passed
2026-05-18 01:49:52,031 - DEBUG - Response for delete_port : ()
2026-05-18 01:49:52,031 - INFO - Deleted port d55417d0-e26d-4cd2-b63b-f5d86e23832b
2026-05-18 01:49:52,031 - INFO - Deleting VN ctest-vn-81421719
2026-05-18 01:49:52,266 - DEBUG - Response for deleting network ()
2026-05-18 01:49:52,657 - DEBUG - No XMPP flaps were noticed during the test
2026-05-18 01:49:52,657 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-05-18 01:49:52,657 - INFO - --------------------------------------------------------------------------------
2026-05-18 01:49:52,660 - INFO - ================================================================================
2026-05-18 01:49:52,660 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-18 01:49:52,661 - 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
2026-05-18 01:49:53,088 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-05-18 01:49:53,088 - INFO - Initial checks done. Running the testcase now
2026-05-18 01:49:53,088 - INFO -
2026-05-18 01:49:53,412 - DEBUG - Response for create_network : {'network': {'id': 'a924e977-83c2-4a9b-9ff4-20bb74ad912b', 'name': 'ctest-vn1-31686044', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'project_id': '7f7b5c99250a4f8591d620ea065297be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-26611908', 'ctest-vn1-31686044'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-05-18 01:49:53,680 - DEBUG - Response for create_subnet : {'subnet': {'id': '45958d5b-bd06-4763-bb8c-53286eaea0ce', 'name': '', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'network_id': 'a924e977-83c2-4a9b-9ff4-20bb74ad912b', 'ip_version': 4, 'cidr': '79.22.16.192/26', 'allocation_pools': [{'start': '79.22.16.194', 'end': '79.22.16.254'}], 'gateway_ip': '79.22.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-18T01:49:53.575996', 'updated_at': '2026-05-18T01:49:53.575996', 'dns_server_address': '79.22.16.194', 'tags': [], 'project_id': '7f7b5c99250a4f8591d620ea065297be'}}
2026-05-18 01:49:53,920 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc55f19c-eca2-4285-bdd1-13dc7b5a661c', 'name': '', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'network_id': 'a924e977-83c2-4a9b-9ff4-20bb74ad912b', 'ip_version': 4, 'cidr': '188.118.97.0/26', 'allocation_pools': [{'start': '188.118.97.2', 'end': '188.118.97.62'}], 'gateway_ip': '188.118.97.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-18T01:49:53.797671', 'updated_at': '2026-05-18T01:49:53.797671', 'dns_server_address': '188.118.97.2', 'tags': [], 'project_id': '7f7b5c99250a4f8591d620ea065297be'}}
2026-05-18 01:49:53,997 - INFO - Created VN ctest-vn1-31686044
2026-05-18 01:49:54,051 - DEBUG - VN ctest-vn1-31686044 UUID is a924e977-83c2-4a9b-9ff4-20bb74ad912b
2026-05-18 01:49:54,588 - DEBUG - Response for create_port : {'port': {'name': 'df207f42-be9d-4721-9f78-9bbab4fd97fe', 'id': 'df207f42-be9d-4721-9f78-9bbab4fd97fe', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'network_id': 'a924e977-83c2-4a9b-9ff4-20bb74ad912b', 'mac_address': '02:df:20:7f:42:be', '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': '79.22.16.197', 'subnet_id': '45958d5b-bd06-4763-bb8c-53286eaea0ce'}], 'security_groups': ['e681cbfc-b01f-4f34-b9c9-9af169331ce8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-18T01:49:54.401041', 'updated_at': '2026-05-18T01:49:54.467475', 'project_id': '7f7b5c99250a4f8591d620ea065297be'}}
2026-05-18 01:49:54,954 - DEBUG - Response for create_port : {'port': {'name': '0f22d265-560d-45ae-a50b-7caf1cb1ee9c', 'id': '0f22d265-560d-45ae-a50b-7caf1cb1ee9c', 'tenant_id': '7f7b5c99250a4f8591d620ea065297be', 'network_id': 'a924e977-83c2-4a9b-9ff4-20bb74ad912b', 'mac_address': '02:0f:22:d2:65:56', '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': '188.118.97.5', 'subnet_id': 'bc55f19c-eca2-4285-bdd1-13dc7b5a661c'}], 'security_groups': ['e681cbfc-b01f-4f34-b9c9-9af169331ce8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-18T01:49:54.650509', 'updated_at': '2026-05-18T01:49:54.720332', 'project_id': '7f7b5c99250a4f8591d620ea065297be'}}
2026-05-18 01:49:55,105 - DEBUG - Services list from nova: [, , ]
2026-05-18 01:49:56,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-704-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-704-1)
2026-05-18 01:49:58,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-704-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-704-1)
2026-05-18 01:49:58,273 - INFO - Waiting for VM ctest-vn1-vm1-08772534 to be up..
2026-05-18 01:49:58,476 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-18 01:50:03,621 - DEBUG - VM is in ACTIVE state now
2026-05-18 01:50:03,621 - INFO - VM name : ctest-vn1-vm1-08772534
2026-05-18 01:50:03,781 - DEBUG - VM ctest-vn1-vm1-08772534 ID is ba3560b4-e693-426b-a05e-e205c066c4a9
2026-05-18 01:50:03,827 - DEBUG - VM ctest-vn1-vm1-08772534 launched on Node cn-jenkins-deploy-platform-juju-os-704-1
2026-05-18 01:50:03,982 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/ba3560b4-e693-426b-a05e-e205c066c4a9
2026-05-18 01:50:04,036 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/df207f42-be9d-4721-9f78-9bbab4fd97fe
2026-05-18 01:50:07,512 - 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 1014ms')
2026-05-18 01:50:07,512 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08772534 failed!
2026-05-18 01:50:07,567 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-26611908:ctest-vn1-31686044 is 79.22.16.193 and allocation pool is NOT set
2026-05-18 01:50:07,567 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-26611908:ctest-vn1-31686044 is 188.118.97.1 and allocation pool is NOT set
2026-05-18 01:50:11,667 - 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=2 ttl=63 time=4.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 4.178/4.178/4.178/0.000 ms')
2026-05-18 01:50:11,667 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08772534 passed
2026-05-18 01:50:11,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-18 01:50:11,828 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08772534, IP 79.22.16.197, Port 22
2026-05-18 01:50:12,042 - DEBUG - VM ctest-vn1-vm1-08772534 is ready for SSH connections
2026-05-18 01:50:12,043 - INFO - Waiting for VM ctest-vn1-vm2-06160520 to be up..
2026-05-18 01:50:12,200 - DEBUG - VM is in ACTIVE state now
2026-05-18 01:50:12,200 - INFO - VM name : ctest-vn1-vm2-06160520
2026-05-18 01:50:12,339 - DEBUG - VM ctest-vn1-vm2-06160520 ID is b9935a2f-8401-4d5c-adb8-86c918e202a4
2026-05-18 01:50:12,339 - DEBUG - VM ctest-vn1-vm2-06160520 launched on Node cn-jenkins-deploy-platform-juju-os-704-1
2026-05-18 01:50:12,496 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/b9935a2f-8401-4d5c-adb8-86c918e202a4
2026-05-18 01:50:12,552 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/0f22d265-560d-45ae-a50b-7caf1cb1ee9c
2026-05-18 01:50:14,017 - 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=5.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.998 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.998/3.480/5.963/2.482 ms')
2026-05-18 01:50:14,017 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-06160520 passed
2026-05-18 01:50:14,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-18 01:50:14,171 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-06160520, IP 188.118.97.5, Port 22
2026-05-18 01:50:14,386 - DEBUG - VM ctest-vn1-vm2-06160520 is ready for SSH connections
2026-05-18 01:50:14,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-18 01:50:14,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-18 01:50:14,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-18 01:50:14,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.22.16.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-05-18 01:50:14,386 - DEBUG - ping -s 56 -c 3 -W 1 79.22.16.197
2026-05-18 01:50:17,089 - DEBUG - PING 79.22.16.197 (79.22.16.197): 56 data bytes
64 bytes from 79.22.16.197: seq=0 ttl=63 time=4.428 ms
64 bytes from 79.22.16.197: seq=1 ttl=63 time=1.087 ms
64 bytes from 79.22.16.197: seq=2 ttl=63 time=0.947 ms
--- 79.22.16.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.947/2.154/4.428 ms
2026-05-18 01:50:17,089 - INFO - Ping to IP 79.22.16.197 from VM ctest-vn1-vm2-06160520 passed
2026-05-18 01:50:17,089 - INFO - Detaching port 0f22d265-560d-45ae-a50b-7caf1cb1ee9c from VM ctest-vn1-vm2-06160520
2026-05-18 01:50:17,168 - INFO - Deleting VM ctest-vn1-vm2-06160520
2026-05-18 01:50:17,352 - INFO - Detaching port df207f42-be9d-4721-9f78-9bbab4fd97fe from VM ctest-vn1-vm1-08772534
2026-05-18 01:50:17,449 - INFO - Deleting VM ctest-vn1-vm1-08772534
2026-05-18 01:50:17,944 - DEBUG - Response for delete_port : ()
2026-05-18 01:50:18,290 - DEBUG - Response for delete_port : ()
2026-05-18 01:50:18,290 - INFO - Deleting VN ctest-vn1-31686044
2026-05-18 01:50:18,773 - DEBUG - Response for deleting network ()
2026-05-18 01:50:19,188 - DEBUG - No XMPP flaps were noticed during the test
2026-05-18 01:50:19,188 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-05-18 01:50:19,188 - INFO - --------------------------------------------------------------------------------
2026-05-18 01:50:19,999 - INFO - Deleted project: ctest-TestPorts-26611908, ID : 7f7b5c99-250a-4f85-91d6-20ea065297be