2026-01-22 02:01:26,435 - INFO - Domain Default found not creating
2026-01-22 02:01:26,649 - INFO - Project ctest-TestPorts-88164260 not found, creating it
2026-01-22 02:01:27,124 - INFO - Created Project:ctest-TestPorts-88164260, ID : 17cabbfe-cdea-413b-b013-e66dacfdff95
2026-01-22 02:01:28,571 - INFO - ================================================================================
2026-01-22 02:01:28,571 - INFO - STARTING TEST : test_ports_bindings
2026-01-22 02:01:28,571 - 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-01-22 02:01:28,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.249': '0'}} with
2026-01-22 02:01:28,827 - INFO - Initial checks done. Running the testcase now
2026-01-22 02:01:28,827 - INFO -
2026-01-22 02:01:29,397 - DEBUG - Response for create_network : {'network': {'id': 'd82ebb6c-e872-4d0a-8381-361abbde05f3', 'name': 'ctest-vn-73474093', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'project_id': '17cabbfecdea413bb013e66dacfdff95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88164260', 'ctest-vn-73474093'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:01:29,613 - DEBUG - Response for create_subnet : {'subnet': {'id': '127658c6-a383-4a6d-b641-570fc961abcf', 'name': '', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'network_id': 'd82ebb6c-e872-4d0a-8381-361abbde05f3', 'ip_version': 4, 'cidr': '125.168.1.192/26', 'allocation_pools': [{'start': '125.168.1.194', 'end': '125.168.1.254'}], 'gateway_ip': '125.168.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.168.1.194', 'tags': [], 'project_id': '17cabbfecdea413bb013e66dacfdff95'}}
2026-01-22 02:01:29,631 - INFO - Created VN ctest-vn-73474093
2026-01-22 02:01:29,685 - DEBUG - VN ctest-vn-73474093 UUID is d82ebb6c-e872-4d0a-8381-361abbde05f3
2026-01-22 02:01:29,789 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88164260', 'ctest-vmi-58604916']}
2026-01-22 02:01:30,081 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58604916', 'id': 'ffc215a0-2cf2-43be-bca5-1fb7fd5ebe81', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'network_id': 'd82ebb6c-e872-4d0a-8381-361abbde05f3', 'mac_address': '02:ff:c2:15:a0:2c', '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': '125.168.1.195', 'subnet_id': '127658c6-a383-4a6d-b641-570fc961abcf'}], 'security_groups': ['ccd4ce49-6425-47fa-a0cb-ecddcb136f5a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '17cabbfecdea413bb013e66dacfdff95'}}
2026-01-22 02:01:30,081 - DEBUG - Created port ffc215a0-2cf2-43be-bca5-1fb7fd5ebe81
2026-01-22 02:01:30,185 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ffc215a0-2cf2-43be-bca5-1fb7fd5ebe81
2026-01-22 02:01:30,479 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ffc215a0-2cf2-43be-bca5-1fb7fd5ebe81
2026-01-22 02:01:30,513 - INFO - VMI ffc215a0-2cf2-43be-bca5-1fb7fd5ebe81 verification in API Server passed
2026-01-22 02:01:30,613 - DEBUG - Response for delete_port : ()
2026-01-22 02:01:30,613 - INFO - Deleted port ffc215a0-2cf2-43be-bca5-1fb7fd5ebe81
2026-01-22 02:01:30,613 - INFO - Deleting VN ctest-vn-73474093
2026-01-22 02:01:30,717 - DEBUG - Response for deleting network ()
2026-01-22 02:01:30,974 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 02:01:30,974 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-22 02:01:30,974 - INFO - --------------------------------------------------------------------------------
2026-01-22 02:01:30,976 - INFO - ================================================================================
2026-01-22 02:01:30,976 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-22 02:01:30,976 - 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-01-22 02:01:31,262 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.249': '0'}} with
2026-01-22 02:01:31,262 - INFO - Initial checks done. Running the testcase now
2026-01-22 02:01:31,262 - INFO -
2026-01-22 02:01:31,423 - DEBUG - Response for create_network : {'network': {'id': '4444f8ae-d828-4ecf-8cab-3d36e49fb37d', 'name': 'ctest-vn1-41875022', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'project_id': '17cabbfecdea413bb013e66dacfdff95', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88164260', 'ctest-vn1-41875022'], 'port_security_enabled': True, 'description': ''}}
2026-01-22 02:01:31,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abd3bb35-62d2-4ece-a9cb-a41aab618fb4', 'name': '', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'network_id': '4444f8ae-d828-4ecf-8cab-3d36e49fb37d', 'ip_version': 4, 'cidr': '52.237.140.64/26', 'allocation_pools': [{'start': '52.237.140.66', 'end': '52.237.140.126'}], 'gateway_ip': '52.237.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.237.140.66', 'tags': [], 'project_id': '17cabbfecdea413bb013e66dacfdff95'}}
2026-01-22 02:01:31,934 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab2c564e-0cb9-4efd-926e-36df0c113ddd', 'name': '', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'network_id': '4444f8ae-d828-4ecf-8cab-3d36e49fb37d', 'ip_version': 4, 'cidr': '149.3.143.64/26', 'allocation_pools': [{'start': '149.3.143.66', 'end': '149.3.143.126'}], 'gateway_ip': '149.3.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.3.143.66', 'tags': [], 'project_id': '17cabbfecdea413bb013e66dacfdff95'}}
2026-01-22 02:01:31,973 - INFO - Created VN ctest-vn1-41875022
2026-01-22 02:01:32,025 - DEBUG - VN ctest-vn1-41875022 UUID is 4444f8ae-d828-4ecf-8cab-3d36e49fb37d
2026-01-22 02:01:32,538 - DEBUG - Response for create_port : {'port': {'name': 'fe72cf88-c766-464a-b8e1-3a080ac258e4', 'id': 'fe72cf88-c766-464a-b8e1-3a080ac258e4', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'network_id': '4444f8ae-d828-4ecf-8cab-3d36e49fb37d', 'mac_address': '02:fe:72:cf:88:c7', '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': '52.237.140.69', 'subnet_id': 'abd3bb35-62d2-4ece-a9cb-a41aab618fb4'}], 'security_groups': ['ccd4ce49-6425-47fa-a0cb-ecddcb136f5a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '17cabbfecdea413bb013e66dacfdff95'}}
2026-01-22 02:01:32,715 - DEBUG - Response for create_port : {'port': {'name': '4428e484-7081-4fe0-bdb4-f499b6201aa4', 'id': '4428e484-7081-4fe0-bdb4-f499b6201aa4', 'tenant_id': '17cabbfecdea413bb013e66dacfdff95', 'network_id': '4444f8ae-d828-4ecf-8cab-3d36e49fb37d', 'mac_address': '02:44:28:e4:84:70', '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': '149.3.143.69', 'subnet_id': 'ab2c564e-0cb9-4efd-926e-36df0c113ddd'}], 'security_groups': ['ccd4ce49-6425-47fa-a0cb-ecddcb136f5a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '17cabbfecdea413bb013e66dacfdff95'}}
2026-01-22 02:01:32,787 - DEBUG - Services list from nova: [, , ]
2026-01-22 02:01:33,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5058-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5058-1)
2026-01-22 02:01:33,620 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5058-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5058-1)
2026-01-22 02:01:33,620 - INFO - Waiting for VM ctest-vn1-vm1-06231686 to be up..
2026-01-22 02:01:33,674 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-22 02:01:38,759 - DEBUG - VM is in ACTIVE state now
2026-01-22 02:01:38,759 - INFO - VM name : ctest-vn1-vm1-06231686
2026-01-22 02:01:38,847 - DEBUG - VM ctest-vn1-vm1-06231686 ID is 30b7fc02-0288-4dab-95e8-359d43e16087
2026-01-22 02:01:38,868 - DEBUG - VM ctest-vn1-vm1-06231686 launched on Node cn-jenkins-deploy-platform-ansible-os-5058-1
2026-01-22 02:01:38,953 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/30b7fc02-0288-4dab-95e8-359d43e16087
2026-01-22 02:01:38,962 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/fe72cf88-c766-464a-b8e1-3a080ac258e4
2026-01-22 02:01:42,233 - 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 1027ms')
2026-01-22 02:01:42,233 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06231686 failed!
2026-01-22 02:01:42,289 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88164260:ctest-vn1-41875022 is 52.237.140.65 and allocation pool is NOT set
2026-01-22 02:01:42,289 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88164260:ctest-vn1-41875022 is 149.3.143.65 and allocation pool is NOT set
2026-01-22 02:01:46,367 - 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=7.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 7.441/7.441/7.441/0.000 ms')
2026-01-22 02:01:46,368 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06231686 passed
2026-01-22 02:01:46,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:01:46,517 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06231686, IP 52.237.140.69, Port 22
2026-01-22 02:01:46,583 - 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-01-22 02:01:46,662 - DEBUG - VM ctest-vn1-vm1-06231686 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-22 02:01:51,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:01:51,664 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06231686, IP 52.237.140.69, Port 22
2026-01-22 02:01:51,821 - DEBUG - VM ctest-vn1-vm1-06231686 is ready for SSH connections
2026-01-22 02:01:51,821 - INFO - Waiting for VM ctest-vn1-vm2-62594187 to be up..
2026-01-22 02:01:51,905 - DEBUG - VM is in ACTIVE state now
2026-01-22 02:01:51,905 - INFO - VM name : ctest-vn1-vm2-62594187
2026-01-22 02:01:51,987 - DEBUG - VM ctest-vn1-vm2-62594187 ID is 037abf9b-7b91-44dc-bca9-9d4fcd92c7ca
2026-01-22 02:01:51,988 - DEBUG - VM ctest-vn1-vm2-62594187 launched on Node cn-jenkins-deploy-platform-ansible-os-5058-1
2026-01-22 02:01:52,079 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/037abf9b-7b91-44dc-bca9-9d4fcd92c7ca
2026-01-22 02:01:52,087 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4428e484-7081-4fe0-bdb4-f499b6201aa4
2026-01-22 02:01:53,326 - 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=3.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/2.153/3.852/1.698 ms')
2026-01-22 02:01:53,326 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-62594187 passed
2026-01-22 02:01:53,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:01:53,477 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-62594187, IP 149.3.143.69, Port 22
2026-01-22 02:01:53,637 - DEBUG - VM ctest-vn1-vm2-62594187 is ready for SSH connections
2026-01-22 02:01:53,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:01:53,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:01:53,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-22 02:01:53,637 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.237.140.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123
2026-01-22 02:01:53,637 - DEBUG - ping -s 56 -c 3 -W 1 52.237.140.69
2026-01-22 02:01:56,320 - DEBUG - PING 52.237.140.69 (52.237.140.69): 56 data bytes
64 bytes from 52.237.140.69: seq=0 ttl=63 time=3.686 ms
64 bytes from 52.237.140.69: seq=1 ttl=63 time=0.859 ms
64 bytes from 52.237.140.69: seq=2 ttl=63 time=1.029 ms
--- 52.237.140.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.859/1.858/3.686 ms
2026-01-22 02:01:56,320 - INFO - Ping to IP 52.237.140.69 from VM ctest-vn1-vm2-62594187 passed
2026-01-22 02:01:56,320 - INFO - Detaching port 4428e484-7081-4fe0-bdb4-f499b6201aa4 from VM ctest-vn1-vm2-62594187
2026-01-22 02:01:56,379 - INFO - Deleting VM ctest-vn1-vm2-62594187
2026-01-22 02:01:56,481 - INFO - Detaching port fe72cf88-c766-464a-b8e1-3a080ac258e4 from VM ctest-vn1-vm1-06231686
2026-01-22 02:01:56,512 - INFO - Deleting VM ctest-vn1-vm1-06231686
2026-01-22 02:01:56,769 - DEBUG - Response for delete_port : ()
2026-01-22 02:01:56,958 - DEBUG - Response for delete_port : ()
2026-01-22 02:01:56,958 - INFO - Deleting VN ctest-vn1-41875022
2026-01-22 02:01:57,107 - DEBUG - Response for deleting network ()
2026-01-22 02:01:57,364 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 02:01:57,364 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-01-22 02:01:57,364 - INFO - --------------------------------------------------------------------------------
2026-01-22 02:01:58,086 - INFO - Deleted project: ctest-TestPorts-88164260, ID : 17cabbfe-cdea-413b-b013-e66dacfdff95