2025-10-20 16:35:10,136 - INFO - Reading existing Domain with UUID d63b8345-8de7-4e97-94d5-a56d8ff33dd0
2025-10-20 16:35:10,147 - INFO - Using existing domain ['admin_domain'](d63b8345-8de7-4e97-94d5-a56d8ff33dd0)
2025-10-20 16:35:10,351 - INFO - Project ctest-TestPorts-23468022 not found, creating it
2025-10-20 16:35:10,857 - INFO - Created Project:ctest-TestPorts-23468022, ID : e60065c4-bd42-411b-ae4d-03a952013682
2025-10-20 16:35:12,633 - INFO - ================================================================================
2025-10-20 16:35:12,633 - INFO - STARTING TEST : test_ports_bindings
2025-10-20 16:35:12,633 - 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-10-20 16:35:13,024 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with
2025-10-20 16:35:13,024 - INFO - Initial checks done. Running the testcase now
2025-10-20 16:35:13,024 - INFO -
2025-10-20 16:35:13,795 - DEBUG - Response for create_network : {'network': {'id': '7d83b703-962d-4646-b286-7e448f1d0325', 'name': 'ctest-vn-34357492', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'project_id': 'e60065c4bd42411bae4d03a952013682', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-23468022', 'ctest-vn-34357492'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-20 16:35:14,053 - DEBUG - Response for create_subnet : {'subnet': {'id': '38032eef-5e02-4647-a03a-4e00bcbaa4fe', 'name': '', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'network_id': '7d83b703-962d-4646-b286-7e448f1d0325', 'ip_version': 4, 'cidr': '138.9.206.0/26', 'allocation_pools': [{'start': '138.9.206.2', 'end': '138.9.206.62'}], 'gateway_ip': '138.9.206.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T16:35:13.924128', 'updated_at': '2025-10-20T16:35:13.924128', 'dns_server_address': '138.9.206.2', 'tags': [], 'project_id': 'e60065c4bd42411bae4d03a952013682'}}
2025-10-20 16:35:14,120 - INFO - Created VN ctest-vn-34357492
2025-10-20 16:35:14,174 - DEBUG - VN ctest-vn-34357492 UUID is 7d83b703-962d-4646-b286-7e448f1d0325
2025-10-20 16:35:14,373 - DEBUG - Read virtual machine interface {'fq_name': ['admin_domain', 'ctest-TestPorts-23468022', 'ctest-vmi-35803754']}
2025-10-20 16:35:14,687 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35803754', 'id': '2c2c9b97-e7df-4ce9-befe-36e05444460d', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'network_id': '7d83b703-962d-4646-b286-7e448f1d0325', 'mac_address': '02:2c:2c:9b:97: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': '138.9.206.3', 'subnet_id': '38032eef-5e02-4647-a03a-4e00bcbaa4fe'}], 'security_groups': ['c8a51f8e-b33c-4acc-b382-43971191d876'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T16:35:14.483089', 'updated_at': '2025-10-20T16:35:14.551443', 'project_id': 'e60065c4bd42411bae4d03a952013682'}}
2025-10-20 16:35:14,687 - DEBUG - Created port 2c2c9b97-e7df-4ce9-befe-36e05444460d
2025-10-20 16:35:14,794 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/2c2c9b97-e7df-4ce9-befe-36e05444460d
2025-10-20 16:35:15,142 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/2c2c9b97-e7df-4ce9-befe-36e05444460d
2025-10-20 16:35:15,224 - INFO - VMI 2c2c9b97-e7df-4ce9-befe-36e05444460d verification in API Server passed
2025-10-20 16:35:15,382 - DEBUG - Response for delete_port : ()
2025-10-20 16:35:15,382 - INFO - Deleted port 2c2c9b97-e7df-4ce9-befe-36e05444460d
2025-10-20 16:35:15,383 - INFO - Deleting VN ctest-vn-34357492
2025-10-20 16:35:15,552 - DEBUG - Response for deleting network ()
2025-10-20 16:35:15,939 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 16:35:15,939 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-20 16:35:15,940 - INFO - --------------------------------------------------------------------------------
2025-10-20 16:35:15,942 - INFO - ================================================================================
2025-10-20 16:35:15,942 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-20 16:35:15,942 - 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-10-20 16:35:16,343 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with
2025-10-20 16:35:16,343 - INFO - Initial checks done. Running the testcase now
2025-10-20 16:35:16,343 - INFO -
2025-10-20 16:35:16,647 - DEBUG - Response for create_network : {'network': {'id': '3ef956c7-2aff-4a7b-8590-2e3cb4efde56', 'name': 'ctest-vn1-81036112', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'project_id': 'e60065c4bd42411bae4d03a952013682', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestPorts-23468022', 'ctest-vn1-81036112'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-20 16:35:16,919 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b296ff30-b033-4cfd-9d4f-2640fe2efcb9', 'name': '', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'network_id': '3ef956c7-2aff-4a7b-8590-2e3cb4efde56', 'ip_version': 4, 'cidr': '223.6.115.128/26', 'allocation_pools': [{'start': '223.6.115.130', 'end': '223.6.115.190'}], 'gateway_ip': '223.6.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T16:35:16.807768', 'updated_at': '2025-10-20T16:35:16.807768', 'dns_server_address': '223.6.115.130', 'tags': [], 'project_id': 'e60065c4bd42411bae4d03a952013682'}}
2025-10-20 16:35:17,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '20062688-322b-4fd7-bea5-15fc4ebf34a7', 'name': '', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'network_id': '3ef956c7-2aff-4a7b-8590-2e3cb4efde56', 'ip_version': 4, 'cidr': '33.65.123.0/26', 'allocation_pools': [{'start': '33.65.123.2', 'end': '33.65.123.62'}], 'gateway_ip': '33.65.123.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-20T16:35:17.080352', 'updated_at': '2025-10-20T16:35:17.080352', 'dns_server_address': '33.65.123.2', 'tags': [], 'project_id': 'e60065c4bd42411bae4d03a952013682'}}
2025-10-20 16:35:17,245 - INFO - Created VN ctest-vn1-81036112
2025-10-20 16:35:17,302 - DEBUG - VN ctest-vn1-81036112 UUID is 3ef956c7-2aff-4a7b-8590-2e3cb4efde56
2025-10-20 16:35:17,816 - DEBUG - Response for create_port : {'port': {'name': 'ffbf712a-77ff-4489-8e40-43e78a381f8c', 'id': 'ffbf712a-77ff-4489-8e40-43e78a381f8c', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'network_id': '3ef956c7-2aff-4a7b-8590-2e3cb4efde56', 'mac_address': '02:ff:bf:71:2a:77', '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': '223.6.115.133', 'subnet_id': 'b296ff30-b033-4cfd-9d4f-2640fe2efcb9'}], 'security_groups': ['c8a51f8e-b33c-4acc-b382-43971191d876'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T16:35:17.636026', 'updated_at': '2025-10-20T16:35:17.702036', 'project_id': 'e60065c4bd42411bae4d03a952013682'}}
2025-10-20 16:35:18,059 - DEBUG - Response for create_port : {'port': {'name': '8bfa0707-6a7b-45a2-b044-80ebcdfa8cc3', 'id': '8bfa0707-6a7b-45a2-b044-80ebcdfa8cc3', 'tenant_id': 'e60065c4bd42411bae4d03a952013682', 'network_id': '3ef956c7-2aff-4a7b-8590-2e3cb4efde56', 'mac_address': '02:8b:fa:07:07:6a', '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': '33.65.123.5', 'subnet_id': '20062688-322b-4fd7-bea5-15fc4ebf34a7'}], 'security_groups': ['c8a51f8e-b33c-4acc-b382-43971191d876'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-20T16:35:17.882076', 'updated_at': '2025-10-20T16:35:17.944901', 'project_id': 'e60065c4bd42411bae4d03a952013682'}}
2025-10-20 16:35:18,174 - DEBUG - Services list from nova: [, , ]
2025-10-20 16:35:18,929 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-600-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-600-1)
2025-10-20 16:35:19,716 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-600-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-600-1)
2025-10-20 16:35:19,716 - INFO - Waiting for VM ctest-vn1-vm1-05817778 to be up..
2025-10-20 16:35:19,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-20 16:35:24,949 - DEBUG - VM is in ACTIVE state now
2025-10-20 16:35:24,950 - INFO - VM name : ctest-vn1-vm1-05817778
2025-10-20 16:35:25,105 - DEBUG - VM ctest-vn1-vm1-05817778 ID is 368c0fe6-f968-44d5-a90f-eea5dd4c7357
2025-10-20 16:35:25,151 - DEBUG - VM ctest-vn1-vm1-05817778 launched on Node cn-jenkins-deploy-platform-juju-os-600-1
2025-10-20 16:35:25,292 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/368c0fe6-f968-44d5-a90f-eea5dd4c7357
2025-10-20 16:35:25,351 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/ffbf712a-77ff-4489-8e40-43e78a381f8c
2025-10-20 16:35:28,819 - 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')
2025-10-20 16:35:28,820 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05817778 failed!
2025-10-20 16:35:28,874 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-23468022:ctest-vn1-81036112 is 223.6.115.129 and allocation pool is NOT set
2025-10-20 16:35:28,875 - DEBUG - Gateway for vn admin_domain:ctest-TestPorts-23468022:ctest-vn1-81036112 is 33.65.123.1 and allocation pool is NOT set
2025-10-20 16:35:32,979 - 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=10.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 10.403/10.403/10.403/0.000 ms')
2025-10-20 16:35:32,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05817778 passed
2025-10-20 16:35:33,130 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:35:33,130 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05817778, IP 223.6.115.133, Port 22
2025-10-20 16:35:33,231 - 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-10-20 16:35:33,364 - DEBUG - VM ctest-vn1-vm1-05817778 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-20 16:35:38,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:35:38,365 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05817778, IP 223.6.115.133, Port 22
2025-10-20 16:35:38,580 - DEBUG - VM ctest-vn1-vm1-05817778 is ready for SSH connections
2025-10-20 16:35:38,581 - INFO - Waiting for VM ctest-vn1-vm2-03792936 to be up..
2025-10-20 16:35:38,716 - DEBUG - VM is in ACTIVE state now
2025-10-20 16:35:38,716 - INFO - VM name : ctest-vn1-vm2-03792936
2025-10-20 16:35:38,844 - DEBUG - VM ctest-vn1-vm2-03792936 ID is 385a6a1d-2523-482c-a2b8-83b480785513
2025-10-20 16:35:38,844 - DEBUG - VM ctest-vn1-vm2-03792936 launched on Node cn-jenkins-deploy-platform-juju-os-600-1
2025-10-20 16:35:38,980 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/385a6a1d-2523-482c-a2b8-83b480785513
2025-10-20 16:35:39,035 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/8bfa0707-6a7b-45a2-b044-80ebcdfa8cc3
2025-10-20 16:35:40,481 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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 = 0.505/1.649/2.794/1.144 ms')
2025-10-20 16:35:40,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03792936 passed
2025-10-20 16:35:40,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:35:40,634 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03792936, IP 33.65.123.5, Port 22
2025-10-20 16:35:40,844 - DEBUG - VM ctest-vn1-vm2-03792936 is ready for SSH connections
2025-10-20 16:35:40,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:35:40,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:35:40,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-20 16:35:40,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.6.115.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-10-20 16:35:40,844 - DEBUG - ping -s 56 -c 3 -W 1 223.6.115.133
2025-10-20 16:35:43,884 - DEBUG - PING 223.6.115.133 (223.6.115.133): 56 data bytes
64 bytes from 223.6.115.133: seq=0 ttl=63 time=3.691 ms
64 bytes from 223.6.115.133: seq=1 ttl=63 time=0.885 ms
64 bytes from 223.6.115.133: seq=2 ttl=63 time=1.029 ms
--- 223.6.115.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.885/1.868/3.691 ms
2025-10-20 16:35:43,885 - INFO - Ping to IP 223.6.115.133 from VM ctest-vn1-vm2-03792936 passed
2025-10-20 16:35:43,885 - INFO - Detaching port 8bfa0707-6a7b-45a2-b044-80ebcdfa8cc3 from VM ctest-vn1-vm2-03792936
2025-10-20 16:35:44,438 - INFO - Deleting VM ctest-vn1-vm2-03792936
2025-10-20 16:35:44,855 - INFO - Detaching port ffbf712a-77ff-4489-8e40-43e78a381f8c from VM ctest-vn1-vm1-05817778
2025-10-20 16:35:44,926 - INFO - Deleting VM ctest-vn1-vm1-05817778
2025-10-20 16:35:45,501 - DEBUG - Response for delete_port : ()
2025-10-20 16:35:45,902 - DEBUG - Response for delete_port : ()
2025-10-20 16:35:45,902 - INFO - Deleting VN ctest-vn1-81036112
2025-10-20 16:35:46,144 - DEBUG - Response for deleting network ()
2025-10-20 16:35:46,547 - DEBUG - No XMPP flaps were noticed during the test
2025-10-20 16:35:46,547 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:31]
2025-10-20 16:35:46,547 - INFO - --------------------------------------------------------------------------------
2025-10-20 16:35:47,292 - INFO - Deleted project: ctest-TestPorts-23468022, ID : e60065c4-bd42-411b-ae4d-03a952013682