2026-03-30 13:04:03,418 - INFO - Domain Default found not creating
2026-03-30 13:04:03,590 - INFO - Project ctest-TestPorts-05562813 not found, creating it
2026-03-30 13:04:04,062 - INFO - Created Project:ctest-TestPorts-05562813, ID : 7dd8a4b0-2017-46f4-8002-6ac646604ddb
2026-03-30 13:04:05,685 - INFO - ================================================================================
2026-03-30 13:04:05,685 - INFO - STARTING TEST : test_ports_bindings
2026-03-30 13:04:05,685 - 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-03-30 13:04:05,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-03-30 13:04:05,941 - INFO - Initial checks done. Running the testcase now
2026-03-30 13:04:05,941 - INFO -
2026-03-30 13:04:06,518 - DEBUG - Response for create_network : {'network': {'id': 'e8f96339-4991-443e-b5b5-46cfd560d03c', 'name': 'ctest-vn-21972669', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'project_id': '7dd8a4b0201746f480026ac646604ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05562813', 'ctest-vn-21972669'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 13:04:06,711 - DEBUG - Response for create_subnet : {'subnet': {'id': '483af308-526b-47f0-9b62-775b00f71550', 'name': '', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'network_id': 'e8f96339-4991-443e-b5b5-46cfd560d03c', 'ip_version': 4, 'cidr': '31.206.115.0/26', 'allocation_pools': [{'start': '31.206.115.2', 'end': '31.206.115.62'}], 'gateway_ip': '31.206.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.206.115.2', 'tags': [], 'project_id': '7dd8a4b0201746f480026ac646604ddb'}}
2026-03-30 13:04:06,731 - INFO - Created VN ctest-vn-21972669
2026-03-30 13:04:06,785 - DEBUG - VN ctest-vn-21972669 UUID is e8f96339-4991-443e-b5b5-46cfd560d03c
2026-03-30 13:04:07,098 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05562813', 'ctest-vmi-36521631']}
2026-03-30 13:04:07,329 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36521631', 'id': '463ef5fc-a984-4a62-b00a-aa246d1dad23', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'network_id': 'e8f96339-4991-443e-b5b5-46cfd560d03c', 'mac_address': '02:46:3e:f5:fc:a9', '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': '31.206.115.3', 'subnet_id': '483af308-526b-47f0-9b62-775b00f71550'}], 'security_groups': ['17cc7bcb-9b1b-4b70-86b2-d70e3151ff74'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7dd8a4b0201746f480026ac646604ddb'}}
2026-03-30 13:04:07,329 - DEBUG - Created port 463ef5fc-a984-4a62-b00a-aa246d1dad23
2026-03-30 13:04:07,433 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/463ef5fc-a984-4a62-b00a-aa246d1dad23
2026-03-30 13:04:07,729 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/463ef5fc-a984-4a62-b00a-aa246d1dad23
2026-03-30 13:04:07,767 - INFO - VMI 463ef5fc-a984-4a62-b00a-aa246d1dad23 verification in API Server passed
2026-03-30 13:04:07,868 - DEBUG - Response for delete_port : ()
2026-03-30 13:04:07,868 - INFO - Deleted port 463ef5fc-a984-4a62-b00a-aa246d1dad23
2026-03-30 13:04:07,868 - INFO - Deleting VN ctest-vn-21972669
2026-03-30 13:04:07,996 - DEBUG - Response for deleting network ()
2026-03-30 13:04:08,263 - DEBUG - No XMPP flaps were noticed during the test
2026-03-30 13:04:08,263 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-03-30 13:04:08,263 - INFO - --------------------------------------------------------------------------------
2026-03-30 13:04:08,265 - INFO - ================================================================================
2026-03-30 13:04:08,265 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-03-30 13:04:08,266 - 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-03-30 13:04:08,548 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with
2026-03-30 13:04:08,548 - INFO - Initial checks done. Running the testcase now
2026-03-30 13:04:08,548 - INFO -
2026-03-30 13:04:08,750 - DEBUG - Response for create_network : {'network': {'id': 'e830a673-e789-47be-af69-a5968a4fd561', 'name': 'ctest-vn1-69944784', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'project_id': '7dd8a4b0201746f480026ac646604ddb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05562813', 'ctest-vn1-69944784'], 'port_security_enabled': True, 'description': ''}}
2026-03-30 13:04:08,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fbc7634-b60d-4e3e-ad89-4ad015a8ddfd', 'name': '', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'network_id': 'e830a673-e789-47be-af69-a5968a4fd561', 'ip_version': 4, 'cidr': '37.83.131.128/26', 'allocation_pools': [{'start': '37.83.131.130', 'end': '37.83.131.190'}], 'gateway_ip': '37.83.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.83.131.130', 'tags': [], 'project_id': '7dd8a4b0201746f480026ac646604ddb'}}
2026-03-30 13:04:09,123 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a86ca917-2b92-4970-8ad8-923fbdb8268b', 'name': '', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'network_id': 'e830a673-e789-47be-af69-a5968a4fd561', 'ip_version': 4, 'cidr': '35.182.17.128/26', 'allocation_pools': [{'start': '35.182.17.130', 'end': '35.182.17.190'}], 'gateway_ip': '35.182.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.182.17.130', 'tags': [], 'project_id': '7dd8a4b0201746f480026ac646604ddb'}}
2026-03-30 13:04:09,144 - INFO - Created VN ctest-vn1-69944784
2026-03-30 13:04:09,197 - DEBUG - VN ctest-vn1-69944784 UUID is e830a673-e789-47be-af69-a5968a4fd561
2026-03-30 13:04:09,519 - DEBUG - Response for create_port : {'port': {'name': '2935e228-15d1-4dc5-9f61-99595853a9b3', 'id': '2935e228-15d1-4dc5-9f61-99595853a9b3', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'network_id': 'e830a673-e789-47be-af69-a5968a4fd561', 'mac_address': '02:29:35:e2:28:15', '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': '37.83.131.133', 'subnet_id': '3fbc7634-b60d-4e3e-ad89-4ad015a8ddfd'}], 'security_groups': ['17cc7bcb-9b1b-4b70-86b2-d70e3151ff74'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7dd8a4b0201746f480026ac646604ddb'}}
2026-03-30 13:04:09,700 - DEBUG - Response for create_port : {'port': {'name': 'f47706a8-6908-4312-a19b-f7e1c078bf39', 'id': 'f47706a8-6908-4312-a19b-f7e1c078bf39', 'tenant_id': '7dd8a4b0201746f480026ac646604ddb', 'network_id': 'e830a673-e789-47be-af69-a5968a4fd561', 'mac_address': '02:f4:77:06:a8:69', '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': '35.182.17.133', 'subnet_id': 'a86ca917-2b92-4970-8ad8-923fbdb8268b'}], 'security_groups': ['17cc7bcb-9b1b-4b70-86b2-d70e3151ff74'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7dd8a4b0201746f480026ac646604ddb'}}
2026-03-30 13:04:09,762 - DEBUG - Services list from nova: [, , ]
2026-03-30 13:04:10,127 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5566-1)
2026-03-30 13:04:10,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5566-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5566-1)
2026-03-30 13:04:10,563 - INFO - Waiting for VM ctest-vn1-vm1-65878038 to be up..
2026-03-30 13:04:10,602 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-03-30 13:04:15,678 - DEBUG - VM is in ACTIVE state now
2026-03-30 13:04:15,678 - INFO - VM name : ctest-vn1-vm1-65878038
2026-03-30 13:04:15,772 - DEBUG - VM ctest-vn1-vm1-65878038 ID is b77566be-6a2b-4743-b4cf-fd8a3f54effd
2026-03-30 13:04:15,799 - DEBUG - VM ctest-vn1-vm1-65878038 launched on Node cn-jenkins-deploy-platform-ansible-os-5566-1
2026-03-30 13:04:15,887 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b77566be-6a2b-4743-b4cf-fd8a3f54effd
2026-03-30 13:04:15,898 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2935e228-15d1-4dc5-9f61-99595853a9b3
2026-03-30 13:04:19,134 - 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 1003ms')
2026-03-30 13:04:19,134 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65878038 failed!
2026-03-30 13:04:19,189 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05562813:ctest-vn1-69944784 is 37.83.131.129 and allocation pool is NOT set
2026-03-30 13:04:19,189 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05562813:ctest-vn1-69944784 is 35.182.17.129 and allocation pool is NOT set
2026-03-30 13:04:21,249 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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 = 2.604/6.543/10.483/3.939 ms')
2026-03-30 13:04:21,249 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65878038 passed
2026-03-30 13:04:21,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-30 13:04:21,401 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65878038, IP 37.83.131.133, Port 22
2026-03-30 13:04:21,466 - 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-03-30 13:04:21,565 - DEBUG - VM ctest-vn1-vm1-65878038 is NOT ready for SSH connections, VM status: ACTIVE
2026-03-30 13:04:26,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-30 13:04:26,567 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65878038, IP 37.83.131.133, Port 22
2026-03-30 13:04:26,725 - DEBUG - VM ctest-vn1-vm1-65878038 is ready for SSH connections
2026-03-30 13:04:26,725 - INFO - Waiting for VM ctest-vn1-vm2-28698952 to be up..
2026-03-30 13:04:26,805 - DEBUG - VM is in ACTIVE state now
2026-03-30 13:04:26,805 - INFO - VM name : ctest-vn1-vm2-28698952
2026-03-30 13:04:26,886 - DEBUG - VM ctest-vn1-vm2-28698952 ID is e421ef1c-55d0-43ea-9e7e-72003f13e641
2026-03-30 13:04:26,886 - DEBUG - VM ctest-vn1-vm2-28698952 launched on Node cn-jenkins-deploy-platform-ansible-os-5566-1
2026-03-30 13:04:26,968 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e421ef1c-55d0-43ea-9e7e-72003f13e641
2026-03-30 13:04:26,977 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f47706a8-6908-4312-a19b-f7e1c078bf39
2026-03-30 13:04:28,208 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.444 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.444/2.110/3.776/1.666 ms')
2026-03-30 13:04:28,208 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28698952 passed
2026-03-30 13:04:28,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-30 13:04:28,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28698952, IP 35.182.17.133, Port 22
2026-03-30 13:04:28,516 - DEBUG - VM ctest-vn1-vm2-28698952 is ready for SSH connections
2026-03-30 13:04:28,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-30 13:04:28,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-30 13:04:28,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-03-30 13:04:28,517 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.83.131.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-03-30 13:04:28,517 - DEBUG - ping -s 56 -c 3 -W 1 37.83.131.133
2026-03-30 13:04:31,173 - DEBUG - PING 37.83.131.133 (37.83.131.133): 56 data bytes
64 bytes from 37.83.131.133: seq=0 ttl=63 time=3.793 ms
64 bytes from 37.83.131.133: seq=1 ttl=63 time=1.286 ms
64 bytes from 37.83.131.133: seq=2 ttl=63 time=1.154 ms
--- 37.83.131.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.154/2.077/3.793 ms
2026-03-30 13:04:31,173 - INFO - Ping to IP 37.83.131.133 from VM ctest-vn1-vm2-28698952 passed
2026-03-30 13:04:31,173 - INFO - Detaching port f47706a8-6908-4312-a19b-f7e1c078bf39 from VM ctest-vn1-vm2-28698952
2026-03-30 13:04:31,225 - INFO - Deleting VM ctest-vn1-vm2-28698952
2026-03-30 13:04:31,296 - INFO - Detaching port 2935e228-15d1-4dc5-9f61-99595853a9b3 from VM ctest-vn1-vm1-65878038
2026-03-30 13:04:31,339 - INFO - Deleting VM ctest-vn1-vm1-65878038
2026-03-30 13:04:31,659 - DEBUG - Response for delete_port : ()
2026-03-30 13:04:31,858 - DEBUG - Response for delete_port : ()
2026-03-30 13:04:31,858 - INFO - Deleting VN ctest-vn1-69944784
2026-03-30 13:04:32,044 - DEBUG - Response for deleting network ()
2026-03-30 13:04:32,303 - DEBUG - No XMPP flaps were noticed during the test
2026-03-30 13:04:32,303 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-03-30 13:04:32,304 - INFO - --------------------------------------------------------------------------------
2026-03-30 13:04:33,039 - INFO - Deleted project: ctest-TestPorts-05562813, ID : 7dd8a4b0-2017-46f4-8002-6ac646604ddb