2026-05-14 02:09:37,910 - INFO - Reading existing Domain with UUID d251bbb1-a677-4b52-8c85-ab79c9809042
2026-05-14 02:09:37,924 - INFO - Using existing domain ['admin_domain'](d251bbb1-a677-4b52-8c85-ab79c9809042)
2026-05-14 02:09:38,224 - INFO - Project ctest-TestPorts-08418929 not found, creating it
2026-05-14 02:09:38,952 - INFO - Created Project:ctest-TestPorts-08418929, ID : 3e467d6b-3bdd-4d92-9945-b0695309b4bb
2026-05-14 02:09:40,898 - INFO - ================================================================================
2026-05-14 02:09:40,898 - INFO - STARTING TEST : test_ports_bindings
2026-05-14 02:09:40,898 - 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-14 02:09:41,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-05-14 02:09:41,296 - INFO - Initial checks done. Running the testcase now
2026-05-14 02:09:41,296 - INFO -
2026-05-14 02:09:42,137 - DEBUG - Response for create_network : {'network': {'id': '6d13f5ee-d58c-41fb-a273-d61f77627b7c', 'name': 'ctest-vn-14418522', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'project_id': '3e467d6b3bdd4d929945b0695309b4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-08418929', 'ctest-vn-14418522'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-05-14 02:09:42,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '278fd5d0-64ba-4e01-9176-88fc7870abff', 'name': '', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'network_id': '6d13f5ee-d58c-41fb-a273-d61f77627b7c', 'ip_version': 4, 'cidr': '116.168.168.64/26', 'allocation_pools': [{'start': '116.168.168.66', 'end': '116.168.168.126'}], 'gateway_ip': '116.168.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:09:42.314112', 'updated_at': '2026-05-14T02:09:42.314112', 'dns_server_address': '116.168.168.66', 'tags': [], 'project_id': '3e467d6b3bdd4d929945b0695309b4bb'}}
2026-05-14 02:09:42,489 - INFO - Created VN ctest-vn-14418522
2026-05-14 02:09:42,542 - DEBUG - VN ctest-vn-14418522 UUID is 6d13f5ee-d58c-41fb-a273-d61f77627b7c
2026-05-14 02:09:42,758 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-08418929', 'ctest-vmi-01530805']}
2026-05-14 02:09:43,100 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-01530805', 'id': '02e1c61b-14e4-4717-91a7-93f15e81aabf', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'network_id': '6d13f5ee-d58c-41fb-a273-d61f77627b7c', 'mac_address': '02:02:e1:c6:1b:14', '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': '116.168.168.67', 'subnet_id': '278fd5d0-64ba-4e01-9176-88fc7870abff'}], 'security_groups': ['b1f37e29-d5d6-4d1a-a4f1-e2ff7c9842c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-14T02:09:42.887518', 'updated_at': '2026-05-14T02:09:42.954581', 'project_id': '3e467d6b3bdd4d929945b0695309b4bb'}}
2026-05-14 02:09:43,100 - DEBUG - Created port 02e1c61b-14e4-4717-91a7-93f15e81aabf
2026-05-14 02:09:43,214 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/02e1c61b-14e4-4717-91a7-93f15e81aabf
2026-05-14 02:09:43,561 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/02e1c61b-14e4-4717-91a7-93f15e81aabf
2026-05-14 02:09:43,647 - INFO - VMI 02e1c61b-14e4-4717-91a7-93f15e81aabf verification in API Server passed
2026-05-14 02:09:43,807 - DEBUG - Response for delete_port : ()
2026-05-14 02:09:43,807 - INFO - Deleted port 02e1c61b-14e4-4717-91a7-93f15e81aabf
2026-05-14 02:09:43,807 - INFO - Deleting VN ctest-vn-14418522
2026-05-14 02:09:43,991 - DEBUG - Response for deleting network ()
2026-05-14 02:09:44,404 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 02:09:44,405 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2026-05-14 02:09:44,406 - INFO - --------------------------------------------------------------------------------
2026-05-14 02:09:44,410 - INFO - ================================================================================
2026-05-14 02:09:44,410 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-14 02:09:44,410 - 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-14 02:09:44,829 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2026-05-14 02:09:44,830 - INFO - Initial checks done. Running the testcase now
2026-05-14 02:09:44,830 - INFO -
2026-05-14 02:09:45,215 - DEBUG - Response for create_network : {'network': {'id': '76882ea0-6bcb-40dd-a52f-e39e2a94a718', 'name': 'ctest-vn1-17558173', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'project_id': '3e467d6b3bdd4d929945b0695309b4bb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-08418929', 'ctest-vn1-17558173'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-05-14 02:09:45,573 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4e5d274-0214-4844-bf31-b7ce739c052d', 'name': '', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'network_id': '76882ea0-6bcb-40dd-a52f-e39e2a94a718', 'ip_version': 4, 'cidr': '64.9.116.64/26', 'allocation_pools': [{'start': '64.9.116.66', 'end': '64.9.116.126'}], 'gateway_ip': '64.9.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:09:45.392426', 'updated_at': '2026-05-14T02:09:45.392426', 'dns_server_address': '64.9.116.66', 'tags': [], 'project_id': '3e467d6b3bdd4d929945b0695309b4bb'}}
2026-05-14 02:09:45,928 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7af6f4c-2970-4ff6-8da7-0585ac25a839', 'name': '', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'network_id': '76882ea0-6bcb-40dd-a52f-e39e2a94a718', 'ip_version': 4, 'cidr': '160.146.152.128/26', 'allocation_pools': [{'start': '160.146.152.130', 'end': '160.146.152.190'}], 'gateway_ip': '160.146.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-05-14T02:09:45.724684', 'updated_at': '2026-05-14T02:09:45.724684', 'dns_server_address': '160.146.152.130', 'tags': [], 'project_id': '3e467d6b3bdd4d929945b0695309b4bb'}}
2026-05-14 02:09:46,013 - INFO - Created VN ctest-vn1-17558173
2026-05-14 02:09:46,082 - DEBUG - VN ctest-vn1-17558173 UUID is 76882ea0-6bcb-40dd-a52f-e39e2a94a718
2026-05-14 02:09:46,751 - DEBUG - Response for create_port : {'port': {'name': 'f43e89ed-4e7d-4e27-b49a-242100826ac2', 'id': 'f43e89ed-4e7d-4e27-b49a-242100826ac2', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'network_id': '76882ea0-6bcb-40dd-a52f-e39e2a94a718', 'mac_address': '02:f4:3e:89:ed:4e', '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': '64.9.116.69', 'subnet_id': 'a4e5d274-0214-4844-bf31-b7ce739c052d'}], 'security_groups': ['b1f37e29-d5d6-4d1a-a4f1-e2ff7c9842c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-14T02:09:46.507997', 'updated_at': '2026-05-14T02:09:46.583846', 'project_id': '3e467d6b3bdd4d929945b0695309b4bb'}}
2026-05-14 02:09:47,136 - DEBUG - Response for create_port : {'port': {'name': '3e294bd7-f55d-4ade-89d9-a9521973775d', 'id': '3e294bd7-f55d-4ade-89d9-a9521973775d', 'tenant_id': '3e467d6b3bdd4d929945b0695309b4bb', 'network_id': '76882ea0-6bcb-40dd-a52f-e39e2a94a718', 'mac_address': '02:3e:29:4b:d7:f5', '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': '160.146.152.133', 'subnet_id': 'a7af6f4c-2970-4ff6-8da7-0585ac25a839'}], 'security_groups': ['b1f37e29-d5d6-4d1a-a4f1-e2ff7c9842c8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2026-05-14T02:09:46.855385', 'updated_at': '2026-05-14T02:09:46.943775', 'project_id': '3e467d6b3bdd4d929945b0695309b4bb'}}
2026-05-14 02:09:47,268 - DEBUG - Services list from nova: [, , ]
2026-05-14 02:09:48,714 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-703-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-703-1)
2026-05-14 02:09:49,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-703-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-703-1)
2026-05-14 02:09:49,573 - INFO - Waiting for VM ctest-vn1-vm1-64592347 to be up..
2026-05-14 02:09:49,679 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-14 02:09:54,832 - DEBUG - VM is in ACTIVE state now
2026-05-14 02:09:54,833 - INFO - VM name : ctest-vn1-vm1-64592347
2026-05-14 02:09:54,977 - DEBUG - VM ctest-vn1-vm1-64592347 ID is d907ef92-5fec-42a4-ad6f-68c9902dd996
2026-05-14 02:09:55,013 - DEBUG - VM ctest-vn1-vm1-64592347 launched on Node cn-jenkins-deploy-platform-juju-os-703-1
2026-05-14 02:09:55,166 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/d907ef92-5fec-42a4-ad6f-68c9902dd996
2026-05-14 02:09:55,223 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/f43e89ed-4e7d-4e27-b49a-242100826ac2
2026-05-14 02:09:58,700 - 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 1011ms')
2026-05-14 02:09:58,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64592347 failed!
2026-05-14 02:09:58,758 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-08418929:ctest-vn1-17558173 is 64.9.116.65 and allocation pool is NOT set
2026-05-14 02:09:58,758 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-08418929:ctest-vn1-17558173 is 160.146.152.129 and allocation pool is NOT set
2026-05-14 02:10:02,897 - 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 1030ms')
2026-05-14 02:10:02,897 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64592347 failed!
2026-05-14 02:10:02,962 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-08418929:ctest-vn1-17558173 is 64.9.116.65 and allocation pool is NOT set
2026-05-14 02:10:02,962 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-08418929:ctest-vn1-17558173 is 160.146.152.129 and allocation pool is NOT set
2026-05-14 02:10:05,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=5.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.61 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.608/3.592/5.576/1.984 ms')
2026-05-14 02:10:05,065 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-64592347 passed
2026-05-14 02:10:05,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 02:10:05,231 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64592347, IP 64.9.116.69, Port 22
2026-05-14 02:10:05,328 - 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': ''}
2026-05-14 02:10:05,469 - DEBUG - VM ctest-vn1-vm1-64592347 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-14 02:10:10,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 02:10:10,470 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-64592347, IP 64.9.116.69, Port 22
2026-05-14 02:10:10,685 - DEBUG - VM ctest-vn1-vm1-64592347 is ready for SSH connections
2026-05-14 02:10:10,685 - INFO - Waiting for VM ctest-vn1-vm2-23750804 to be up..
2026-05-14 02:10:10,832 - DEBUG - VM is in ACTIVE state now
2026-05-14 02:10:10,832 - INFO - VM name : ctest-vn1-vm2-23750804
2026-05-14 02:10:10,976 - DEBUG - VM ctest-vn1-vm2-23750804 ID is b44ad5ca-7946-41a3-854c-8ae59a577de7
2026-05-14 02:10:10,976 - DEBUG - VM ctest-vn1-vm2-23750804 launched on Node cn-jenkins-deploy-platform-juju-os-703-1
2026-05-14 02:10:11,118 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/b44ad5ca-7946-41a3-854c-8ae59a577de7
2026-05-14 02:10:11,175 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/3e294bd7-f55d-4ade-89d9-a9521973775d
2026-05-14 02:10:12,638 - 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.442 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.442/1.708/2.975/1.266 ms')
2026-05-14 02:10:12,638 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23750804 passed
2026-05-14 02:10:12,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 02:10:12,798 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23750804, IP 160.146.152.133, Port 22
2026-05-14 02:10:13,020 - DEBUG - VM ctest-vn1-vm2-23750804 is ready for SSH connections
2026-05-14 02:10:13,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 02:10:13,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 02:10:13,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-14 02:10:13,020 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.9.116.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2026-05-14 02:10:13,021 - DEBUG - ping -s 56 -c 3 -W 1 64.9.116.69
2026-05-14 02:10:16,152 - DEBUG - PING 64.9.116.69 (64.9.116.69): 56 data bytes
64 bytes from 64.9.116.69: seq=0 ttl=63 time=4.178 ms
64 bytes from 64.9.116.69: seq=1 ttl=63 time=0.985 ms
64 bytes from 64.9.116.69: seq=2 ttl=63 time=1.003 ms
--- 64.9.116.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.985/2.055/4.178 ms
2026-05-14 02:10:16,153 - INFO - Ping to IP 64.9.116.69 from VM ctest-vn1-vm2-23750804 passed
2026-05-14 02:10:16,153 - INFO - Detaching port 3e294bd7-f55d-4ade-89d9-a9521973775d from VM ctest-vn1-vm2-23750804
2026-05-14 02:10:16,252 - INFO - Deleting VM ctest-vn1-vm2-23750804
2026-05-14 02:10:16,383 - INFO - Detaching port f43e89ed-4e7d-4e27-b49a-242100826ac2 from VM ctest-vn1-vm1-64592347
2026-05-14 02:10:16,452 - INFO - Deleting VM ctest-vn1-vm1-64592347
2026-05-14 02:10:16,862 - DEBUG - Response for delete_port : ()
2026-05-14 02:10:17,208 - DEBUG - Response for delete_port : ()
2026-05-14 02:10:17,208 - INFO - Deleting VN ctest-vn1-17558173
2026-05-14 02:10:17,437 - DEBUG - Response for deleting network ()
2026-05-14 02:10:17,847 - DEBUG - No XMPP flaps were noticed during the test
2026-05-14 02:10:17,847 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:33]
2026-05-14 02:10:17,847 - INFO - --------------------------------------------------------------------------------
2026-05-14 02:10:18,711 - INFO - Deleted project: ctest-TestPorts-08418929, ID : 3e467d6b-3bdd-4d92-9945-b0695309b4bb