2026-02-23 02:15:47,104 - INFO - Domain Default found not creating
2026-02-23 02:15:47,255 - INFO - Project ctest-TestPorts-48869438 not found, creating it
2026-02-23 02:15:47,788 - INFO - Created Project:ctest-TestPorts-48869438, ID : 825d86a8-b6b0-48a0-8254-1606c7dbc783
2026-02-23 02:15:49,230 - INFO - ================================================================================
2026-02-23 02:15:49,230 - INFO - STARTING TEST : test_ports_bindings
2026-02-23 02:15:49,230 - 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-02-23 02:15:49,484 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.200': '0'}} with
2026-02-23 02:15:49,484 - INFO - Initial checks done. Running the testcase now
2026-02-23 02:15:49,484 - INFO -
2026-02-23 02:15:50,016 - DEBUG - Response for create_network : {'network': {'id': '898ae584-92ba-4f42-99a0-2a7647864755', 'name': 'ctest-vn-85837318', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'project_id': '825d86a8b6b048a082541606c7dbc783', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48869438', 'ctest-vn-85837318'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:15:50,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '17f9fed1-6c6f-481d-a52d-9acc5b0c436a', 'name': '', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'network_id': '898ae584-92ba-4f42-99a0-2a7647864755', 'ip_version': 4, 'cidr': '38.79.222.192/26', 'allocation_pools': [{'start': '38.79.222.194', 'end': '38.79.222.254'}], 'gateway_ip': '38.79.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.79.222.194', 'tags': [], 'project_id': '825d86a8b6b048a082541606c7dbc783'}}
2026-02-23 02:15:50,211 - INFO - Created VN ctest-vn-85837318
2026-02-23 02:15:50,262 - DEBUG - VN ctest-vn-85837318 UUID is 898ae584-92ba-4f42-99a0-2a7647864755
2026-02-23 02:15:50,360 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48869438', 'ctest-vmi-17208314']}
2026-02-23 02:15:50,624 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17208314', 'id': '080f054e-a718-4190-a786-ad72fac9f7fe', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'network_id': '898ae584-92ba-4f42-99a0-2a7647864755', 'mac_address': '02:08:0f:05:4e:a7', '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': '38.79.222.195', 'subnet_id': '17f9fed1-6c6f-481d-a52d-9acc5b0c436a'}], 'security_groups': ['5d4971c6-4bc1-4fcc-9fb9-1c02f564cc58'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '825d86a8b6b048a082541606c7dbc783'}}
2026-02-23 02:15:50,624 - DEBUG - Created port 080f054e-a718-4190-a786-ad72fac9f7fe
2026-02-23 02:15:50,726 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/080f054e-a718-4190-a786-ad72fac9f7fe
2026-02-23 02:15:51,020 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/080f054e-a718-4190-a786-ad72fac9f7fe
2026-02-23 02:15:51,075 - INFO - VMI 080f054e-a718-4190-a786-ad72fac9f7fe verification in API Server passed
2026-02-23 02:15:51,166 - DEBUG - Response for delete_port : ()
2026-02-23 02:15:51,166 - INFO - Deleted port 080f054e-a718-4190-a786-ad72fac9f7fe
2026-02-23 02:15:51,166 - INFO - Deleting VN ctest-vn-85837318
2026-02-23 02:15:51,263 - DEBUG - Response for deleting network ()
2026-02-23 02:15:51,515 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 02:15:51,515 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-23 02:15:51,515 - INFO - --------------------------------------------------------------------------------
2026-02-23 02:15:51,518 - INFO - ================================================================================
2026-02-23 02:15:51,518 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-23 02:15:51,518 - 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-02-23 02:15:51,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.200': '0'}} with
2026-02-23 02:15:51,814 - INFO - Initial checks done. Running the testcase now
2026-02-23 02:15:51,814 - INFO -
2026-02-23 02:15:51,982 - DEBUG - Response for create_network : {'network': {'id': '3795356f-871b-4e2a-9e07-37389b060f47', 'name': 'ctest-vn1-20433996', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'project_id': '825d86a8b6b048a082541606c7dbc783', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48869438', 'ctest-vn1-20433996'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 02:15:52,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '686dd75b-b005-4d09-a5e0-edc128a1d392', 'name': '', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'network_id': '3795356f-871b-4e2a-9e07-37389b060f47', 'ip_version': 4, 'cidr': '130.118.124.192/26', 'allocation_pools': [{'start': '130.118.124.194', 'end': '130.118.124.254'}], 'gateway_ip': '130.118.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.118.124.194', 'tags': [], 'project_id': '825d86a8b6b048a082541606c7dbc783'}}
2026-02-23 02:15:52,355 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f0077a5-abc2-443a-8705-ed723b45d35c', 'name': '', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'network_id': '3795356f-871b-4e2a-9e07-37389b060f47', 'ip_version': 4, 'cidr': '222.158.233.128/26', 'allocation_pools': [{'start': '222.158.233.130', 'end': '222.158.233.190'}], 'gateway_ip': '222.158.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.158.233.130', 'tags': [], 'project_id': '825d86a8b6b048a082541606c7dbc783'}}
2026-02-23 02:15:52,375 - INFO - Created VN ctest-vn1-20433996
2026-02-23 02:15:52,426 - DEBUG - VN ctest-vn1-20433996 UUID is 3795356f-871b-4e2a-9e07-37389b060f47
2026-02-23 02:15:52,700 - DEBUG - Response for create_port : {'port': {'name': '8a3be068-9ee6-48be-bb9a-585fdcd88d4c', 'id': '8a3be068-9ee6-48be-bb9a-585fdcd88d4c', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'network_id': '3795356f-871b-4e2a-9e07-37389b060f47', 'mac_address': '02:8a:3b:e0:68:9e', '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': '130.118.124.197', 'subnet_id': '686dd75b-b005-4d09-a5e0-edc128a1d392'}], 'security_groups': ['5d4971c6-4bc1-4fcc-9fb9-1c02f564cc58'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '825d86a8b6b048a082541606c7dbc783'}}
2026-02-23 02:15:52,854 - DEBUG - Response for create_port : {'port': {'name': '725b410c-9059-47d8-8496-f3a51bd8da27', 'id': '725b410c-9059-47d8-8496-f3a51bd8da27', 'tenant_id': '825d86a8b6b048a082541606c7dbc783', 'network_id': '3795356f-871b-4e2a-9e07-37389b060f47', 'mac_address': '02:72:5b:41:0c:90', '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': '222.158.233.133', 'subnet_id': '6f0077a5-abc2-443a-8705-ed723b45d35c'}], 'security_groups': ['5d4971c6-4bc1-4fcc-9fb9-1c02f564cc58'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '825d86a8b6b048a082541606c7dbc783'}}
2026-02-23 02:15:52,912 - DEBUG - Services list from nova: [, , ]
2026-02-23 02:15:53,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5386-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5386-1)
2026-02-23 02:15:53,644 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5386-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5386-1)
2026-02-23 02:15:53,644 - INFO - Waiting for VM ctest-vn1-vm1-49861566 to be up..
2026-02-23 02:15:53,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-23 02:15:58,753 - DEBUG - VM is in ACTIVE state now
2026-02-23 02:15:58,753 - INFO - VM name : ctest-vn1-vm1-49861566
2026-02-23 02:15:58,830 - DEBUG - VM ctest-vn1-vm1-49861566 ID is d869825d-906a-47ba-aa30-242a1742ea7f
2026-02-23 02:15:58,848 - DEBUG - VM ctest-vn1-vm1-49861566 launched on Node cn-jenkins-deploy-platform-ansible-os-5386-1
2026-02-23 02:15:58,920 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/d869825d-906a-47ba-aa30-242a1742ea7f
2026-02-23 02:15:58,929 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/8a3be068-9ee6-48be-bb9a-585fdcd88d4c
2026-02-23 02:16:02,199 - 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 1031ms')
2026-02-23 02:16:02,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49861566 failed!
2026-02-23 02:16:02,250 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48869438:ctest-vn1-20433996 is 130.118.124.193 and allocation pool is NOT set
2026-02-23 02:16:02,251 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48869438:ctest-vn1-20433996 is 222.158.233.129 and allocation pool is NOT set
2026-02-23 02:16:04,316 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.12 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 = 2.122/3.164/4.207/1.042 ms')
2026-02-23 02:16:04,316 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49861566 passed
2026-02-23 02:16:04,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 02:16:04,462 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49861566, IP 130.118.124.197, Port 22
2026-02-23 02:16:04,528 - 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-02-23 02:16:04,606 - DEBUG - VM ctest-vn1-vm1-49861566 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-23 02:16:09,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 02:16:09,607 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49861566, IP 130.118.124.197, Port 22
2026-02-23 02:16:09,766 - DEBUG - VM ctest-vn1-vm1-49861566 is ready for SSH connections
2026-02-23 02:16:09,766 - INFO - Waiting for VM ctest-vn1-vm2-42169479 to be up..
2026-02-23 02:16:09,838 - DEBUG - VM is in ACTIVE state now
2026-02-23 02:16:09,838 - INFO - VM name : ctest-vn1-vm2-42169479
2026-02-23 02:16:09,907 - DEBUG - VM ctest-vn1-vm2-42169479 ID is 6b87ce26-d41b-4d20-8b5b-c7ae9721c76c
2026-02-23 02:16:09,907 - DEBUG - VM ctest-vn1-vm2-42169479 launched on Node cn-jenkins-deploy-platform-ansible-os-5386-1
2026-02-23 02:16:09,977 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/6b87ce26-d41b-4d20-8b5b-c7ae9721c76c
2026-02-23 02:16:09,984 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/725b410c-9059-47d8-8496-f3a51bd8da27
2026-02-23 02:16:11,217 - 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.42 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 1002ms\r\nrtt min/avg/max/mdev = 0.444/1.931/3.418/1.487 ms')
2026-02-23 02:16:11,217 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-42169479 passed
2026-02-23 02:16:11,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 02:16:11,370 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42169479, IP 222.158.233.133, Port 22
2026-02-23 02:16:11,537 - DEBUG - VM ctest-vn1-vm2-42169479 is ready for SSH connections
2026-02-23 02:16:11,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 02:16:11,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 02:16:11,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-23 02:16:11,537 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.118.124.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2026-02-23 02:16:11,537 - DEBUG - ping -s 56 -c 3 -W 1 130.118.124.197
2026-02-23 02:16:14,155 - DEBUG - PING 130.118.124.197 (130.118.124.197): 56 data bytes
64 bytes from 130.118.124.197: seq=0 ttl=63 time=3.585 ms
64 bytes from 130.118.124.197: seq=1 ttl=63 time=0.862 ms
64 bytes from 130.118.124.197: seq=2 ttl=63 time=1.345 ms
--- 130.118.124.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.862/1.930/3.585 ms
2026-02-23 02:16:14,155 - INFO - Ping to IP 130.118.124.197 from VM ctest-vn1-vm2-42169479 passed
2026-02-23 02:16:14,155 - INFO - Detaching port 725b410c-9059-47d8-8496-f3a51bd8da27 from VM ctest-vn1-vm2-42169479
2026-02-23 02:16:14,205 - INFO - Deleting VM ctest-vn1-vm2-42169479
2026-02-23 02:16:14,280 - INFO - Detaching port 8a3be068-9ee6-48be-bb9a-585fdcd88d4c from VM ctest-vn1-vm1-49861566
2026-02-23 02:16:14,318 - INFO - Deleting VM ctest-vn1-vm1-49861566
2026-02-23 02:16:14,548 - DEBUG - Response for delete_port : ()
2026-02-23 02:16:14,708 - DEBUG - Response for delete_port : ()
2026-02-23 02:16:14,708 - INFO - Deleting VN ctest-vn1-20433996
2026-02-23 02:16:14,823 - DEBUG - Response for deleting network ()
2026-02-23 02:16:15,075 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 02:16:15,075 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-23 02:16:15,076 - INFO - --------------------------------------------------------------------------------
2026-02-23 02:16:15,759 - INFO - Deleted project: ctest-TestPorts-48869438, ID : 825d86a8-b6b0-48a0-8254-1606c7dbc783