2026-10-27 17:27:44,875 - INFO - Domain Default found not creating
2026-10-27 17:27:45,044 - INFO - Project ctest-TestPorts-17396317 not found, creating it
2026-10-27 17:27:45,523 - INFO - Created Project:ctest-TestPorts-17396317, ID : 75b9cbea-b275-4209-bd76-b15d7a6417f3
2026-10-27 17:27:47,153 - INFO - ================================================================================
2026-10-27 17:27:47,153 - INFO - STARTING TEST : test_ports_bindings
2026-10-27 17:27:47,153 - 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-10-27 17:27:47,410 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.254': '0'}} with
2026-10-27 17:27:47,410 - INFO - Initial checks done. Running the testcase now
2026-10-27 17:27:47,410 - INFO -
2026-10-27 17:27:48,067 - DEBUG - Response for create_network : {'network': {'id': '8f21a87a-4018-4358-b064-81589e782dec', 'name': 'ctest-vn-82556541', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'project_id': '75b9cbeab2754209bd76b15d7a6417f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17396317', 'ctest-vn-82556541'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-10-27 17:27:48,299 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd04722d-feb1-4f43-bbf9-1c8f72080dc1', 'name': '', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'network_id': '8f21a87a-4018-4358-b064-81589e782dec', 'ip_version': 4, 'cidr': '205.184.61.128/26', 'allocation_pools': [{'start': '205.184.61.130', 'end': '205.184.61.190'}], 'gateway_ip': '205.184.61.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-27T17:27:48.240681', 'updated_at': '2026-10-27T17:27:48.240681', 'dns_server_address': '205.184.61.130', 'tags': [], 'project_id': '75b9cbeab2754209bd76b15d7a6417f3'}}
2026-10-27 17:27:48,316 - INFO - Created VN ctest-vn-82556541
2026-10-27 17:27:48,368 - DEBUG - VN ctest-vn-82556541 UUID is 8f21a87a-4018-4358-b064-81589e782dec
2026-10-27 17:27:48,471 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17396317', 'ctest-vmi-39370316']}
2026-10-27 17:27:48,786 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-39370316', 'id': '30025416-5bc1-42df-ae6b-19016bd36dd0', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'network_id': '8f21a87a-4018-4358-b064-81589e782dec', 'mac_address': '02:30:02:54:16:5b', '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': '205.184.61.131', 'subnet_id': 'fd04722d-feb1-4f43-bbf9-1c8f72080dc1'}], 'security_groups': ['4eac85ba-54f0-435a-a380-bc3c07db0d65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-27T17:27:48.623769', 'updated_at': '2026-10-27T17:27:48.690785', 'project_id': '75b9cbeab2754209bd76b15d7a6417f3'}}
2026-10-27 17:27:48,786 - DEBUG - Created port 30025416-5bc1-42df-ae6b-19016bd36dd0
2026-10-27 17:27:48,892 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/30025416-5bc1-42df-ae6b-19016bd36dd0
2026-10-27 17:27:49,261 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/30025416-5bc1-42df-ae6b-19016bd36dd0
2026-10-27 17:27:49,290 - INFO - VMI 30025416-5bc1-42df-ae6b-19016bd36dd0 verification in API Server passed
2026-10-27 17:27:49,380 - DEBUG - Response for delete_port : ()
2026-10-27 17:27:49,380 - INFO - Deleted port 30025416-5bc1-42df-ae6b-19016bd36dd0
2026-10-27 17:27:49,381 - INFO - Deleting VN ctest-vn-82556541
2026-10-27 17:27:49,542 - DEBUG - Response for deleting network ()
2026-10-27 17:27:49,813 - DEBUG - No XMPP flaps were noticed during the test
2026-10-27 17:27:49,813 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-10-27 17:27:49,813 - INFO - --------------------------------------------------------------------------------
2026-10-27 17:27:49,816 - INFO - ================================================================================
2026-10-27 17:27:49,816 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-10-27 17:27:49,816 - 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-10-27 17:27:50,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.254': '0'}} with
2026-10-27 17:27:50,124 - INFO - Initial checks done. Running the testcase now
2026-10-27 17:27:50,125 - INFO -
2026-10-27 17:27:50,317 - DEBUG - Response for create_network : {'network': {'id': 'd84aa4ce-13d5-480c-a654-d9320d40a61c', 'name': 'ctest-vn1-16266137', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'project_id': '75b9cbeab2754209bd76b15d7a6417f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17396317', 'ctest-vn1-16266137'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-10-27 17:27:50,490 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acace498-fc3b-4bad-9f30-8757e62573ed', 'name': '', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'network_id': 'd84aa4ce-13d5-480c-a654-d9320d40a61c', 'ip_version': 4, 'cidr': '28.106.223.128/26', 'allocation_pools': [{'start': '28.106.223.130', 'end': '28.106.223.190'}], 'gateway_ip': '28.106.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-27T17:27:50.438764', 'updated_at': '2026-10-27T17:27:50.438764', 'dns_server_address': '28.106.223.130', 'tags': [], 'project_id': '75b9cbeab2754209bd76b15d7a6417f3'}}
2026-10-27 17:27:50,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a37b0599-abdd-42e3-8afd-0cd97615c51c', 'name': '', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'network_id': 'd84aa4ce-13d5-480c-a654-d9320d40a61c', 'ip_version': 4, 'cidr': '86.231.139.192/26', 'allocation_pools': [{'start': '86.231.139.194', 'end': '86.231.139.254'}], 'gateway_ip': '86.231.139.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-10-27T17:27:50.573265', 'updated_at': '2026-10-27T17:27:50.573265', 'dns_server_address': '86.231.139.194', 'tags': [], 'project_id': '75b9cbeab2754209bd76b15d7a6417f3'}}
2026-10-27 17:27:50,650 - INFO - Created VN ctest-vn1-16266137
2026-10-27 17:27:50,704 - DEBUG - VN ctest-vn1-16266137 UUID is d84aa4ce-13d5-480c-a654-d9320d40a61c
2026-10-27 17:27:51,014 - DEBUG - Response for create_port : {'port': {'name': 'c17b8d32-35cf-4c23-a84a-5b2f03e75da4', 'id': 'c17b8d32-35cf-4c23-a84a-5b2f03e75da4', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'network_id': 'd84aa4ce-13d5-480c-a654-d9320d40a61c', 'mac_address': '02:c1:7b:8d:32:35', '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': '28.106.223.133', 'subnet_id': 'acace498-fc3b-4bad-9f30-8757e62573ed'}], 'security_groups': ['4eac85ba-54f0-435a-a380-bc3c07db0d65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-27T17:27:50.885673', 'updated_at': '2026-10-27T17:27:50.947494', 'project_id': '75b9cbeab2754209bd76b15d7a6417f3'}}
2026-10-27 17:27:51,194 - DEBUG - Response for create_port : {'port': {'name': 'cb9e2ff4-fd78-442b-aa0b-b8269718d1ac', 'id': 'cb9e2ff4-fd78-442b-aa0b-b8269718d1ac', 'tenant_id': '75b9cbeab2754209bd76b15d7a6417f3', 'network_id': 'd84aa4ce-13d5-480c-a654-d9320d40a61c', 'mac_address': '02:cb:9e:2f:f4:fd', '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': '86.231.139.197', 'subnet_id': 'a37b0599-abdd-42e3-8afd-0cd97615c51c'}], 'security_groups': ['4eac85ba-54f0-435a-a380-bc3c07db0d65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'created_at': '2026-10-27T17:27:51.063464', 'updated_at': '2026-10-27T17:27:51.127091', 'project_id': '75b9cbeab2754209bd76b15d7a6417f3'}}
2026-10-27 17:27:51,263 - DEBUG - Services list from nova: [, , ]
2026-10-27 17:27:51,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6421-1)
2026-10-27 17:27:51,991 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6421-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6421-1)
2026-10-27 17:27:51,991 - INFO - Waiting for VM ctest-vn1-vm1-80132589 to be up..
2026-10-27 17:27:52,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:27:57,070 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:02,145 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:07,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:12,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:17,375 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:22,448 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:27,559 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:32,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-27 17:28:37,762 - DEBUG - VM is in ACTIVE state now
2026-10-27 17:28:37,762 - INFO - VM name : ctest-vn1-vm1-80132589
2026-10-27 17:28:37,850 - DEBUG - VM ctest-vn1-vm1-80132589 ID is 00a50629-40ef-43b4-8418-322211e53f4e
2026-10-27 17:28:37,878 - DEBUG - VM ctest-vn1-vm1-80132589 launched on Node cn-jenkins-deploy-platform-ansible-os-6421-1
2026-10-27 17:28:37,965 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/00a50629-40ef-43b4-8418-322211e53f4e
2026-10-27 17:28:37,974 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/c17b8d32-35cf-4c23-a84a-5b2f03e75da4
2026-10-27 17:28:41,228 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms')
2026-10-27 17:28:41,228 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-80132589 failed!
2026-10-27 17:28:41,284 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17396317:ctest-vn1-16266137 is 28.106.223.129 and allocation pool is NOT set
2026-10-27 17:28:41,284 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17396317:ctest-vn1-16266137 is 86.231.139.193 and allocation pool is NOT set
2026-10-27 17:28:43,346 - 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=12.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.70 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 = 2.696/7.618/12.541/4.922 ms')
2026-10-27 17:28:43,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-80132589 passed
2026-10-27 17:28:43,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 17:28:43,500 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80132589, IP 28.106.223.133, Port 22
2026-10-27 17:28:43,565 - 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-10-27 17:28:43,661 - DEBUG - VM ctest-vn1-vm1-80132589 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-27 17:28:48,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 17:28:48,662 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80132589, IP 28.106.223.133, Port 22
2026-10-27 17:28:48,829 - DEBUG - VM ctest-vn1-vm1-80132589 is ready for SSH connections
2026-10-27 17:28:48,829 - INFO - Waiting for VM ctest-vn1-vm2-93064582 to be up..
2026-10-27 17:28:48,901 - DEBUG - VM is in ACTIVE state now
2026-10-27 17:28:48,901 - INFO - VM name : ctest-vn1-vm2-93064582
2026-10-27 17:28:48,968 - DEBUG - VM ctest-vn1-vm2-93064582 ID is bf82ab51-351f-4040-bdef-5602fa6aa89d
2026-10-27 17:28:48,969 - DEBUG - VM ctest-vn1-vm2-93064582 launched on Node cn-jenkins-deploy-platform-ansible-os-6421-1
2026-10-27 17:28:49,032 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/bf82ab51-351f-4040-bdef-5602fa6aa89d
2026-10-27 17:28:49,039 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/cb9e2ff4-fd78-442b-aa0b-b8269718d1ac
2026-10-27 17:28:50,312 - 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=3.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.633 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 = 0.633/2.067/3.501/1.434 ms')
2026-10-27 17:28:50,312 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-93064582 passed
2026-10-27 17:28:50,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 17:28:50,476 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-93064582, IP 86.231.139.197, Port 22
2026-10-27 17:28:50,655 - DEBUG - VM ctest-vn1-vm2-93064582 is ready for SSH connections
2026-10-27 17:28:50,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 17:28:50,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 17:28:50,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-27 17:28:50,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.106.223.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-10-27 17:28:50,656 - DEBUG - ping -s 56 -c 3 -W 1 28.106.223.133
2026-10-27 17:28:54,741 - DEBUG - PING 28.106.223.133 (28.106.223.133): 56 data bytes
64 bytes from 28.106.223.133: seq=0 ttl=63 time=8.177 ms
64 bytes from 28.106.223.133: seq=1 ttl=63 time=0.862 ms
64 bytes from 28.106.223.133: seq=2 ttl=63 time=1.249 ms
--- 28.106.223.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.862/3.429/8.177 ms
2026-10-27 17:28:54,741 - INFO - Ping to IP 28.106.223.133 from VM ctest-vn1-vm2-93064582 passed
2026-10-27 17:28:54,741 - INFO - Detaching port cb9e2ff4-fd78-442b-aa0b-b8269718d1ac from VM ctest-vn1-vm2-93064582
2026-10-27 17:28:54,800 - INFO - Deleting VM ctest-vn1-vm2-93064582
2026-10-27 17:28:54,902 - INFO - Detaching port c17b8d32-35cf-4c23-a84a-5b2f03e75da4 from VM ctest-vn1-vm1-80132589
2026-10-27 17:28:54,957 - INFO - Deleting VM ctest-vn1-vm1-80132589
2026-10-27 17:28:55,227 - DEBUG - Response for delete_port : ()
2026-10-27 17:28:55,405 - DEBUG - Response for delete_port : ()
2026-10-27 17:28:55,405 - INFO - Deleting VN ctest-vn1-16266137
2026-10-27 17:28:55,513 - DEBUG - Response for deleting network ()
2026-10-27 17:28:55,809 - DEBUG - No XMPP flaps were noticed during the test
2026-10-27 17:28:55,809 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:06]
2026-10-27 17:28:55,810 - INFO - --------------------------------------------------------------------------------
2026-10-27 17:28:56,700 - INFO - Deleted project: ctest-TestPorts-17396317, ID : 75b9cbea-b275-4209-bd76-b15d7a6417f3