2026-08-20 16:23:37,053 - INFO - Domain Default found not creating
2026-08-20 16:23:37,216 - INFO - Project ctest-TestPorts-00253662 not found, creating it
2026-08-20 16:23:37,710 - INFO - Created Project:ctest-TestPorts-00253662, ID : 26171664-0382-446d-a82b-fc30ce2feb2a
2026-08-20 16:23:39,413 - INFO - ================================================================================
2026-08-20 16:23:39,413 - INFO - STARTING TEST : test_ports_bindings
2026-08-20 16:23:39,413 - 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-08-20 16:23:39,682 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-08-20 16:23:39,682 - INFO - Initial checks done. Running the testcase now
2026-08-20 16:23:39,682 - INFO -
2026-08-20 16:23:40,348 - DEBUG - Response for create_network : {'network': {'id': '7191b40b-2ed0-496b-a672-0b38c5a57dbb', 'name': 'ctest-vn-11132746', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'project_id': '261716640382446da82bfc30ce2feb2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00253662', 'ctest-vn-11132746'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 16:23:40,502 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f900a74-2d09-46c9-972d-39efdb0f407a', 'name': '', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'network_id': '7191b40b-2ed0-496b-a672-0b38c5a57dbb', 'ip_version': 4, 'cidr': '118.147.158.0/26', 'allocation_pools': [{'start': '118.147.158.2', 'end': '118.147.158.62'}], 'gateway_ip': '118.147.158.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.147.158.2', 'tags': [], 'project_id': '261716640382446da82bfc30ce2feb2a'}}
2026-08-20 16:23:40,520 - INFO - Created VN ctest-vn-11132746
2026-08-20 16:23:40,573 - DEBUG - VN ctest-vn-11132746 UUID is 7191b40b-2ed0-496b-a672-0b38c5a57dbb
2026-08-20 16:23:40,679 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00253662', 'ctest-vmi-87110779']}
2026-08-20 16:23:40,953 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-87110779', 'id': 'fc661c24-9b20-4b3e-ad1a-728b22911b16', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'network_id': '7191b40b-2ed0-496b-a672-0b38c5a57dbb', 'mac_address': '02:fc:66:1c:24:9b', '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': '118.147.158.3', 'subnet_id': '8f900a74-2d09-46c9-972d-39efdb0f407a'}], 'security_groups': ['d2e1b5b1-2797-4e64-8675-70e5e69d3489'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '261716640382446da82bfc30ce2feb2a'}}
2026-08-20 16:23:40,953 - DEBUG - Created port fc661c24-9b20-4b3e-ad1a-728b22911b16
2026-08-20 16:23:41,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc661c24-9b20-4b3e-ad1a-728b22911b16
2026-08-20 16:23:41,428 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc661c24-9b20-4b3e-ad1a-728b22911b16
2026-08-20 16:23:41,458 - INFO - VMI fc661c24-9b20-4b3e-ad1a-728b22911b16 verification in API Server passed
2026-08-20 16:23:41,555 - DEBUG - Response for delete_port : ()
2026-08-20 16:23:41,555 - INFO - Deleted port fc661c24-9b20-4b3e-ad1a-728b22911b16
2026-08-20 16:23:41,555 - INFO - Deleting VN ctest-vn-11132746
2026-08-20 16:23:41,673 - DEBUG - Response for deleting network ()
2026-08-20 16:23:41,944 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 16:23:41,944 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-08-20 16:23:41,945 - INFO - --------------------------------------------------------------------------------
2026-08-20 16:23:41,948 - INFO - ================================================================================
2026-08-20 16:23:41,948 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-08-20 16:23:41,948 - 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-08-20 16:23:42,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2026-08-20 16:23:42,234 - INFO - Initial checks done. Running the testcase now
2026-08-20 16:23:42,234 - INFO -
2026-08-20 16:23:42,426 - DEBUG - Response for create_network : {'network': {'id': 'e6bd51cd-b0f9-4e79-8f50-259a14c032be', 'name': 'ctest-vn1-88334411', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'project_id': '261716640382446da82bfc30ce2feb2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00253662', 'ctest-vn1-88334411'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 16:23:42,669 - DEBUG - Response for create_subnet : {'subnet': {'id': '04cdfb2b-6fbc-494b-916a-8e5c0a82eede', 'name': '', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'network_id': 'e6bd51cd-b0f9-4e79-8f50-259a14c032be', 'ip_version': 4, 'cidr': '6.124.119.0/26', 'allocation_pools': [{'start': '6.124.119.2', 'end': '6.124.119.62'}], 'gateway_ip': '6.124.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.124.119.2', 'tags': [], 'project_id': '261716640382446da82bfc30ce2feb2a'}}
2026-08-20 16:23:42,854 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2dc970a-1fe7-429c-a7bc-a8181dd834b9', 'name': '', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'network_id': 'e6bd51cd-b0f9-4e79-8f50-259a14c032be', 'ip_version': 4, 'cidr': '59.234.92.192/26', 'allocation_pools': [{'start': '59.234.92.194', 'end': '59.234.92.254'}], 'gateway_ip': '59.234.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.234.92.194', 'tags': [], 'project_id': '261716640382446da82bfc30ce2feb2a'}}
2026-08-20 16:23:42,871 - INFO - Created VN ctest-vn1-88334411
2026-08-20 16:23:42,924 - DEBUG - VN ctest-vn1-88334411 UUID is e6bd51cd-b0f9-4e79-8f50-259a14c032be
2026-08-20 16:23:43,269 - DEBUG - Response for create_port : {'port': {'name': '0feae55d-227e-4964-a1c2-7347ad4c8003', 'id': '0feae55d-227e-4964-a1c2-7347ad4c8003', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'network_id': 'e6bd51cd-b0f9-4e79-8f50-259a14c032be', 'mac_address': '02:0f:ea:e5:5d:22', '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': '6.124.119.5', 'subnet_id': '04cdfb2b-6fbc-494b-916a-8e5c0a82eede'}], 'security_groups': ['d2e1b5b1-2797-4e64-8675-70e5e69d3489'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '261716640382446da82bfc30ce2feb2a'}}
2026-08-20 16:23:43,458 - DEBUG - Response for create_port : {'port': {'name': '40442a5c-802d-42b7-807b-321d094f9dba', 'id': '40442a5c-802d-42b7-807b-321d094f9dba', 'tenant_id': '261716640382446da82bfc30ce2feb2a', 'network_id': 'e6bd51cd-b0f9-4e79-8f50-259a14c032be', 'mac_address': '02:40:44:2a:5c:80', '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.234.92.197', 'subnet_id': 'e2dc970a-1fe7-429c-a7bc-a8181dd834b9'}], 'security_groups': ['d2e1b5b1-2797-4e64-8675-70e5e69d3489'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '261716640382446da82bfc30ce2feb2a'}}
2026-08-20 16:23:43,519 - DEBUG - Services list from nova: [, , ]
2026-08-20 16:23:43,867 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6191-1)
2026-08-20 16:23:44,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6191-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6191-1)
2026-08-20 16:23:44,308 - INFO - Waiting for VM ctest-vn1-vm1-78773951 to be up..
2026-08-20 16:23:44,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:23:49,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:23:54,489 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:23:59,571 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:24:04,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:24:09,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:24:14,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:24:19,922 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:24:24,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 16:24:30,083 - DEBUG - VM is in ACTIVE state now
2026-08-20 16:24:30,083 - INFO - VM name : ctest-vn1-vm1-78773951
2026-08-20 16:24:30,167 - DEBUG - VM ctest-vn1-vm1-78773951 ID is 54577f83-d7a6-4e49-a268-f2d68aaa5427
2026-08-20 16:24:30,190 - DEBUG - VM ctest-vn1-vm1-78773951 launched on Node cn-jenkins-deploy-platform-ansible-os-6191-1
2026-08-20 16:24:30,268 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54577f83-d7a6-4e49-a268-f2d68aaa5427
2026-08-20 16:24:30,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0feae55d-227e-4964-a1c2-7347ad4c8003
2026-08-20 16:24:33,548 - 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=2 ttl=63 time=5.66 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1025ms\r\nrtt min/avg/max/mdev = 5.661/5.661/5.661/0.000 ms')
2026-08-20 16:24:33,548 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-78773951 passed
2026-08-20 16:24:33,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 16:24:33,704 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78773951, IP 6.124.119.5, Port 22
2026-08-20 16:24:33,771 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-20 16:24:33,861 - DEBUG - VM ctest-vn1-vm1-78773951 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-20 16:24:38,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 16:24:38,862 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78773951, IP 6.124.119.5, Port 22
2026-08-20 16:24:39,035 - DEBUG - VM ctest-vn1-vm1-78773951 is ready for SSH connections
2026-08-20 16:24:39,035 - INFO - Waiting for VM ctest-vn1-vm2-28798501 to be up..
2026-08-20 16:24:39,111 - DEBUG - VM is in ACTIVE state now
2026-08-20 16:24:39,111 - INFO - VM name : ctest-vn1-vm2-28798501
2026-08-20 16:24:39,189 - DEBUG - VM ctest-vn1-vm2-28798501 ID is 4a58ad9f-fc33-4acc-b082-7830ab1be1ca
2026-08-20 16:24:39,189 - DEBUG - VM ctest-vn1-vm2-28798501 launched on Node cn-jenkins-deploy-platform-ansible-os-6191-1
2026-08-20 16:24:39,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4a58ad9f-fc33-4acc-b082-7830ab1be1ca
2026-08-20 16:24:39,276 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/40442a5c-802d-42b7-807b-321d094f9dba
2026-08-20 16:24:40,523 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.637 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.637/2.419/4.201/1.782 ms')
2026-08-20 16:24:40,523 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-28798501 passed
2026-08-20 16:24:40,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 16:24:40,681 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28798501, IP 59.234.92.197, Port 22
2026-08-20 16:24:40,847 - DEBUG - VM ctest-vn1-vm2-28798501 is ready for SSH connections
2026-08-20 16:24:40,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 16:24:40,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 16:24:40,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 16:24:40,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.124.119.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-08-20 16:24:40,847 - DEBUG - ping -s 56 -c 3 -W 1 6.124.119.5
2026-08-20 16:24:44,845 - DEBUG - PING 6.124.119.5 (6.124.119.5): 56 data bytes
64 bytes from 6.124.119.5: seq=0 ttl=63 time=4.906 ms
64 bytes from 6.124.119.5: seq=1 ttl=63 time=0.948 ms
64 bytes from 6.124.119.5: seq=2 ttl=63 time=1.048 ms
--- 6.124.119.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.948/2.300/4.906 ms
2026-08-20 16:24:44,845 - INFO - Ping to IP 6.124.119.5 from VM ctest-vn1-vm2-28798501 passed
2026-08-20 16:24:44,845 - INFO - Detaching port 40442a5c-802d-42b7-807b-321d094f9dba from VM ctest-vn1-vm2-28798501
2026-08-20 16:24:44,905 - INFO - Deleting VM ctest-vn1-vm2-28798501
2026-08-20 16:24:44,983 - INFO - Detaching port 0feae55d-227e-4964-a1c2-7347ad4c8003 from VM ctest-vn1-vm1-78773951
2026-08-20 16:24:45,022 - INFO - Deleting VM ctest-vn1-vm1-78773951
2026-08-20 16:24:45,327 - DEBUG - Response for delete_port : ()
2026-08-20 16:24:45,509 - DEBUG - Response for delete_port : ()
2026-08-20 16:24:45,510 - INFO - Deleting VN ctest-vn1-88334411
2026-08-20 16:24:45,645 - DEBUG - Response for deleting network ()
2026-08-20 16:24:45,921 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 16:24:45,921 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:04]
2026-08-20 16:24:45,921 - INFO - --------------------------------------------------------------------------------
2026-08-20 16:24:46,697 - INFO - Deleted project: ctest-TestPorts-00253662, ID : 26171664-0382-446d-a82b-fc30ce2feb2a