2026-08-25 20:32:31,244 - INFO - Domain Default found not creating
2026-08-25 20:32:31,421 - INFO - Project ctest-TestPorts-41357033 not found, creating it
2026-08-25 20:32:31,930 - INFO - Created Project:ctest-TestPorts-41357033, ID : c39dbef9-5ab4-41b4-a3ce-331be1cc8984
2026-08-25 20:32:33,683 - INFO - ================================================================================
2026-08-25 20:32:33,683 - INFO - STARTING TEST : test_ports_bindings
2026-08-25 20:32:33,683 - 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-25 20:32:33,960 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-08-25 20:32:33,960 - INFO - Initial checks done. Running the testcase now
2026-08-25 20:32:33,960 - INFO -
2026-08-25 20:32:34,625 - DEBUG - Response for create_network : {'network': {'id': '527435d6-92ed-4a43-a05a-5a0c75e38d77', 'name': 'ctest-vn-34253611', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41357033', 'ctest-vn-34253611'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 20:32:34,827 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4b41d09-ebb5-49d0-8a10-85f44174c3d5', 'name': '', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'network_id': '527435d6-92ed-4a43-a05a-5a0c75e38d77', 'ip_version': 4, 'cidr': '206.131.29.0/26', 'allocation_pools': [{'start': '206.131.29.2', 'end': '206.131.29.62'}], 'gateway_ip': '206.131.29.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.131.29.2', 'tags': [], 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984'}}
2026-08-25 20:32:34,847 - INFO - Created VN ctest-vn-34253611
2026-08-25 20:32:34,905 - DEBUG - VN ctest-vn-34253611 UUID is 527435d6-92ed-4a43-a05a-5a0c75e38d77
2026-08-25 20:32:35,020 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41357033', 'ctest-vmi-00173829']}
2026-08-25 20:32:35,311 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00173829', 'id': 'e75e1609-3331-4349-8231-493675dda926', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'network_id': '527435d6-92ed-4a43-a05a-5a0c75e38d77', 'mac_address': '02:e7:5e:16:09:33', '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': '206.131.29.3', 'subnet_id': 'c4b41d09-ebb5-49d0-8a10-85f44174c3d5'}], 'security_groups': ['05245ba4-34e4-44f3-b79f-a29a095c71d9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984'}}
2026-08-25 20:32:35,311 - DEBUG - Created port e75e1609-3331-4349-8231-493675dda926
2026-08-25 20:32:35,425 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e75e1609-3331-4349-8231-493675dda926
2026-08-25 20:32:35,822 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e75e1609-3331-4349-8231-493675dda926
2026-08-25 20:32:35,866 - INFO - VMI e75e1609-3331-4349-8231-493675dda926 verification in API Server passed
2026-08-25 20:32:36,013 - DEBUG - Response for delete_port : ()
2026-08-25 20:32:36,013 - INFO - Deleted port e75e1609-3331-4349-8231-493675dda926
2026-08-25 20:32:36,013 - INFO - Deleting VN ctest-vn-34253611
2026-08-25 20:32:36,165 - DEBUG - Response for deleting network ()
2026-08-25 20:32:36,442 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 20:32:36,443 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-08-25 20:32:36,443 - INFO - --------------------------------------------------------------------------------
2026-08-25 20:32:36,446 - INFO - ================================================================================
2026-08-25 20:32:36,446 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-08-25 20:32:36,446 - 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-25 20:32:36,746 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-08-25 20:32:36,746 - INFO - Initial checks done. Running the testcase now
2026-08-25 20:32:36,746 - INFO -
2026-08-25 20:32:37,232 - DEBUG - Response for create_network : {'network': {'id': '2dac6fa7-b7e8-4fb7-b09b-b7521251994b', 'name': 'ctest-vn1-23366668', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41357033', 'ctest-vn1-23366668'], 'port_security_enabled': True, 'description': ''}}
2026-08-25 20:32:37,525 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7271bed-d663-4010-aae8-ae64d9294461', 'name': '', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'network_id': '2dac6fa7-b7e8-4fb7-b09b-b7521251994b', 'ip_version': 4, 'cidr': '67.250.13.0/26', 'allocation_pools': [{'start': '67.250.13.2', 'end': '67.250.13.62'}], 'gateway_ip': '67.250.13.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.250.13.2', 'tags': [], 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984'}}
2026-08-25 20:32:37,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fad0e3e-39ae-4bfc-988e-2f6cb28e752c', 'name': '', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'network_id': '2dac6fa7-b7e8-4fb7-b09b-b7521251994b', 'ip_version': 4, 'cidr': '187.44.193.64/26', 'allocation_pools': [{'start': '187.44.193.66', 'end': '187.44.193.126'}], 'gateway_ip': '187.44.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.44.193.66', 'tags': [], 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984'}}
2026-08-25 20:32:37,783 - INFO - Created VN ctest-vn1-23366668
2026-08-25 20:32:37,841 - DEBUG - VN ctest-vn1-23366668 UUID is 2dac6fa7-b7e8-4fb7-b09b-b7521251994b
2026-08-25 20:32:38,246 - DEBUG - Response for create_port : {'port': {'name': 'a78a5c97-f2c3-48e5-88ad-a247dcd0bdc1', 'id': 'a78a5c97-f2c3-48e5-88ad-a247dcd0bdc1', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'network_id': '2dac6fa7-b7e8-4fb7-b09b-b7521251994b', 'mac_address': '02:a7:8a:5c:97:f2', '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': '67.250.13.5', 'subnet_id': 'b7271bed-d663-4010-aae8-ae64d9294461'}], 'security_groups': ['05245ba4-34e4-44f3-b79f-a29a095c71d9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984'}}
2026-08-25 20:32:38,496 - DEBUG - Response for create_port : {'port': {'name': 'd9a0de85-f9e2-4d58-ad7e-81f2d841a1f3', 'id': 'd9a0de85-f9e2-4d58-ad7e-81f2d841a1f3', 'tenant_id': 'c39dbef95ab441b4a3ce331be1cc8984', 'network_id': '2dac6fa7-b7e8-4fb7-b09b-b7521251994b', 'mac_address': '02:d9:a0:de:85:f9', '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': '187.44.193.69', 'subnet_id': '6fad0e3e-39ae-4bfc-988e-2f6cb28e752c'}], 'security_groups': ['05245ba4-34e4-44f3-b79f-a29a095c71d9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'c39dbef95ab441b4a3ce331be1cc8984'}}
2026-08-25 20:32:38,569 - DEBUG - Services list from nova: [, , ]
2026-08-25 20:32:38,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6227-1)
2026-08-25 20:32:39,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6227-1)
2026-08-25 20:32:39,449 - INFO - Waiting for VM ctest-vn1-vm1-65788144 to be up..
2026-08-25 20:32:39,498 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:32:44,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:32:49,648 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:32:54,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:32:59,841 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:33:04,949 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:33:10,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:33:15,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:33:20,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-25 20:33:25,351 - DEBUG - VM is in ACTIVE state now
2026-08-25 20:33:25,351 - INFO - VM name : ctest-vn1-vm1-65788144
2026-08-25 20:33:25,437 - DEBUG - VM ctest-vn1-vm1-65788144 ID is e4ab4e0f-157b-447f-ae08-2f1fdd77a44d
2026-08-25 20:33:25,459 - DEBUG - VM ctest-vn1-vm1-65788144 launched on Node cn-jenkins-deploy-platform-ansible-os-6227-1
2026-08-25 20:33:25,545 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e4ab4e0f-157b-447f-ae08-2f1fdd77a44d
2026-08-25 20:33:25,556 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/a78a5c97-f2c3-48e5-88ad-a247dcd0bdc1
2026-08-25 20:33:28,814 - 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 1002ms')
2026-08-25 20:33:28,814 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-65788144 failed!
2026-08-25 20:33:28,869 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41357033:ctest-vn1-23366668 is 67.250.13.1 and allocation pool is NOT set
2026-08-25 20:33:28,869 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41357033:ctest-vn1-23366668 is 187.44.193.65 and allocation pool is NOT set
2026-08-25 20:33:30,939 - 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=13.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.40 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 = 3.397/8.343/13.290/4.946 ms')
2026-08-25 20:33:30,939 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-65788144 passed
2026-08-25 20:33:31,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 20:33:31,097 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65788144, IP 67.250.13.5, Port 22
2026-08-25 20:33:31,164 - 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-25 20:33:31,259 - DEBUG - VM ctest-vn1-vm1-65788144 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-25 20:33:36,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 20:33:36,260 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65788144, IP 67.250.13.5, Port 22
2026-08-25 20:33:36,431 - DEBUG - VM ctest-vn1-vm1-65788144 is ready for SSH connections
2026-08-25 20:33:36,432 - INFO - Waiting for VM ctest-vn1-vm2-89003938 to be up..
2026-08-25 20:33:36,517 - DEBUG - VM is in ACTIVE state now
2026-08-25 20:33:36,517 - INFO - VM name : ctest-vn1-vm2-89003938
2026-08-25 20:33:36,602 - DEBUG - VM ctest-vn1-vm2-89003938 ID is 920e9b8a-26f4-4356-be61-01468f8b92a1
2026-08-25 20:33:36,603 - DEBUG - VM ctest-vn1-vm2-89003938 launched on Node cn-jenkins-deploy-platform-ansible-os-6227-1
2026-08-25 20:33:36,696 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/920e9b8a-26f4-4356-be61-01468f8b92a1
2026-08-25 20:33:36,706 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d9a0de85-f9e2-4d58-ad7e-81f2d841a1f3
2026-08-25 20:33:37,964 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.712 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.712/3.079/5.446/2.367 ms')
2026-08-25 20:33:37,964 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-89003938 passed
2026-08-25 20:33:38,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 20:33:38,121 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89003938, IP 187.44.193.69, Port 22
2026-08-25 20:33:38,295 - DEBUG - VM ctest-vn1-vm2-89003938 is ready for SSH connections
2026-08-25 20:33:38,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 20:33:38,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 20:33:38,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-25 20:33:38,296 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 67.250.13.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2026-08-25 20:33:38,296 - DEBUG - ping -s 56 -c 3 -W 1 67.250.13.5
2026-08-25 20:33:42,594 - DEBUG - PING 67.250.13.5 (67.250.13.5): 56 data bytes
64 bytes from 67.250.13.5: seq=0 ttl=63 time=7.176 ms
64 bytes from 67.250.13.5: seq=1 ttl=63 time=1.124 ms
64 bytes from 67.250.13.5: seq=2 ttl=63 time=1.310 ms
--- 67.250.13.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.124/3.203/7.176 ms
2026-08-25 20:33:42,594 - INFO - Ping to IP 67.250.13.5 from VM ctest-vn1-vm2-89003938 passed
2026-08-25 20:33:42,594 - INFO - Detaching port d9a0de85-f9e2-4d58-ad7e-81f2d841a1f3 from VM ctest-vn1-vm2-89003938
2026-08-25 20:33:42,661 - INFO - Deleting VM ctest-vn1-vm2-89003938
2026-08-25 20:33:42,758 - INFO - Detaching port a78a5c97-f2c3-48e5-88ad-a247dcd0bdc1 from VM ctest-vn1-vm1-65788144
2026-08-25 20:33:42,799 - INFO - Deleting VM ctest-vn1-vm1-65788144
2026-08-25 20:33:43,095 - DEBUG - Response for delete_port : ()
2026-08-25 20:33:43,331 - DEBUG - Response for delete_port : ()
2026-08-25 20:33:43,331 - INFO - Deleting VN ctest-vn1-23366668
2026-08-25 20:33:43,486 - DEBUG - Response for deleting network ()
2026-08-25 20:33:43,768 - DEBUG - No XMPP flaps were noticed during the test
2026-08-25 20:33:43,768 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:07]
2026-08-25 20:33:43,768 - INFO - --------------------------------------------------------------------------------
2026-08-25 20:33:44,565 - INFO - Deleted project: ctest-TestPorts-41357033, ID : c39dbef9-5ab4-41b4-a3ce-331be1cc8984