2026-02-19 02:10:38,764 - INFO - Domain Default found not creating
2026-02-19 02:10:38,931 - INFO - Project ctest-TestPorts-27742069 not found, creating it
2026-02-19 02:10:39,382 - INFO - Created Project:ctest-TestPorts-27742069, ID : a8999d30-73fa-4787-993f-08d143062f87
2026-02-19 02:10:40,868 - INFO - ================================================================================
2026-02-19 02:10:40,868 - INFO - STARTING TEST : test_ports_bindings
2026-02-19 02:10:40,868 - 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-19 02:10:41,123 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with
2026-02-19 02:10:41,123 - INFO - Initial checks done. Running the testcase now
2026-02-19 02:10:41,124 - INFO -
2026-02-19 02:10:41,656 - DEBUG - Response for create_network : {'network': {'id': '4f531b65-5926-4fae-aae0-3735dd18b472', 'name': 'ctest-vn-82533834', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'project_id': 'a8999d3073fa4787993f08d143062f87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27742069', 'ctest-vn-82533834'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:10:41,830 - DEBUG - Response for create_subnet : {'subnet': {'id': '94ce1964-be24-43f7-9b97-313d2b45c84d', 'name': '', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'network_id': '4f531b65-5926-4fae-aae0-3735dd18b472', 'ip_version': 4, 'cidr': '16.12.161.128/26', 'allocation_pools': [{'start': '16.12.161.130', 'end': '16.12.161.190'}], 'gateway_ip': '16.12.161.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.12.161.130', 'tags': [], 'project_id': 'a8999d3073fa4787993f08d143062f87'}}
2026-02-19 02:10:41,848 - INFO - Created VN ctest-vn-82533834
2026-02-19 02:10:41,902 - DEBUG - VN ctest-vn-82533834 UUID is 4f531b65-5926-4fae-aae0-3735dd18b472
2026-02-19 02:10:42,012 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27742069', 'ctest-vmi-00558701']}
2026-02-19 02:10:42,238 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00558701', 'id': 'e9f8a8c4-179c-4c33-96ab-caf3a37910c9', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'network_id': '4f531b65-5926-4fae-aae0-3735dd18b472', 'mac_address': '02:e9:f8:a8:c4:17', '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': '16.12.161.131', 'subnet_id': '94ce1964-be24-43f7-9b97-313d2b45c84d'}], 'security_groups': ['bc34931e-0451-48b9-85be-f5c8e59b4cb5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a8999d3073fa4787993f08d143062f87'}}
2026-02-19 02:10:42,238 - DEBUG - Created port e9f8a8c4-179c-4c33-96ab-caf3a37910c9
2026-02-19 02:10:42,346 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/e9f8a8c4-179c-4c33-96ab-caf3a37910c9
2026-02-19 02:10:42,662 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/e9f8a8c4-179c-4c33-96ab-caf3a37910c9
2026-02-19 02:10:42,707 - INFO - VMI e9f8a8c4-179c-4c33-96ab-caf3a37910c9 verification in API Server passed
2026-02-19 02:10:42,795 - DEBUG - Response for delete_port : ()
2026-02-19 02:10:42,795 - INFO - Deleted port e9f8a8c4-179c-4c33-96ab-caf3a37910c9
2026-02-19 02:10:42,795 - INFO - Deleting VN ctest-vn-82533834
2026-02-19 02:10:42,898 - DEBUG - Response for deleting network ()
2026-02-19 02:10:43,152 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 02:10:43,152 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-02-19 02:10:43,152 - INFO - --------------------------------------------------------------------------------
2026-02-19 02:10:43,154 - INFO - ================================================================================
2026-02-19 02:10:43,154 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-19 02:10:43,155 - 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-19 02:10:43,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with
2026-02-19 02:10:43,439 - INFO - Initial checks done. Running the testcase now
2026-02-19 02:10:43,440 - INFO -
2026-02-19 02:10:43,607 - DEBUG - Response for create_network : {'network': {'id': '6187651e-915e-4162-a140-700bf8c6f407', 'name': 'ctest-vn1-46260561', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'project_id': 'a8999d3073fa4787993f08d143062f87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27742069', 'ctest-vn1-46260561'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 02:10:43,778 - DEBUG - Response for create_subnet : {'subnet': {'id': '33a1242c-1b22-4d60-a8c3-54c5f86bed55', 'name': '', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'network_id': '6187651e-915e-4162-a140-700bf8c6f407', 'ip_version': 4, 'cidr': '91.224.64.64/26', 'allocation_pools': [{'start': '91.224.64.66', 'end': '91.224.64.126'}], 'gateway_ip': '91.224.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.224.64.66', 'tags': [], 'project_id': 'a8999d3073fa4787993f08d143062f87'}}
2026-02-19 02:10:43,957 - DEBUG - Response for create_subnet : {'subnet': {'id': '628bfd04-08e5-4c25-bfc5-913683c324b4', 'name': '', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'network_id': '6187651e-915e-4162-a140-700bf8c6f407', 'ip_version': 4, 'cidr': '164.107.133.128/26', 'allocation_pools': [{'start': '164.107.133.130', 'end': '164.107.133.190'}], 'gateway_ip': '164.107.133.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.107.133.130', 'tags': [], 'project_id': 'a8999d3073fa4787993f08d143062f87'}}
2026-02-19 02:10:43,975 - INFO - Created VN ctest-vn1-46260561
2026-02-19 02:10:44,026 - DEBUG - VN ctest-vn1-46260561 UUID is 6187651e-915e-4162-a140-700bf8c6f407
2026-02-19 02:10:44,322 - DEBUG - Response for create_port : {'port': {'name': '24094c8a-1421-44a5-a2b7-e2b28fd0ab26', 'id': '24094c8a-1421-44a5-a2b7-e2b28fd0ab26', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'network_id': '6187651e-915e-4162-a140-700bf8c6f407', 'mac_address': '02:24:09:4c:8a:14', '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': '91.224.64.69', 'subnet_id': '33a1242c-1b22-4d60-a8c3-54c5f86bed55'}], 'security_groups': ['bc34931e-0451-48b9-85be-f5c8e59b4cb5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a8999d3073fa4787993f08d143062f87'}}
2026-02-19 02:10:44,495 - DEBUG - Response for create_port : {'port': {'name': '877cd229-c344-40b9-9850-364d9b056f70', 'id': '877cd229-c344-40b9-9850-364d9b056f70', 'tenant_id': 'a8999d3073fa4787993f08d143062f87', 'network_id': '6187651e-915e-4162-a140-700bf8c6f407', 'mac_address': '02:87:7c:d2:29:c3', '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': '164.107.133.133', 'subnet_id': '628bfd04-08e5-4c25-bfc5-913683c324b4'}], 'security_groups': ['bc34931e-0451-48b9-85be-f5c8e59b4cb5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a8999d3073fa4787993f08d143062f87'}}
2026-02-19 02:10:44,561 - DEBUG - Services list from nova: [, , ]
2026-02-19 02:10:44,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5347-1)
2026-02-19 02:10:45,381 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5347-1)
2026-02-19 02:10:45,382 - INFO - Waiting for VM ctest-vn1-vm1-01925839 to be up..
2026-02-19 02:10:45,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-19 02:10:50,499 - DEBUG - VM is in ACTIVE state now
2026-02-19 02:10:50,499 - INFO - VM name : ctest-vn1-vm1-01925839
2026-02-19 02:10:50,573 - DEBUG - VM ctest-vn1-vm1-01925839 ID is b017d241-3338-4b46-b414-1bd4186c4f62
2026-02-19 02:10:50,592 - DEBUG - VM ctest-vn1-vm1-01925839 launched on Node cn-jenkins-deploy-platform-ansible-os-5347-1
2026-02-19 02:10:50,666 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/b017d241-3338-4b46-b414-1bd4186c4f62
2026-02-19 02:10:50,675 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/24094c8a-1421-44a5-a2b7-e2b28fd0ab26
2026-02-19 02:10:53,934 - 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 1023ms')
2026-02-19 02:10:53,934 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01925839 failed!
2026-02-19 02:10:53,990 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27742069:ctest-vn1-46260561 is 91.224.64.65 and allocation pool is NOT set
2026-02-19 02:10:53,990 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27742069:ctest-vn1-46260561 is 164.107.133.129 and allocation pool is NOT set
2026-02-19 02:10:56,051 - 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=11.7 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/6.189/11.746/5.556 ms')
2026-02-19 02:10:56,051 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01925839 passed
2026-02-19 02:10:56,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 02:10:56,203 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01925839, IP 91.224.64.69, Port 22
2026-02-19 02:10:56,268 - 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-19 02:10:56,349 - DEBUG - VM ctest-vn1-vm1-01925839 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-19 02:11:01,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 02:11:01,350 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01925839, IP 91.224.64.69, Port 22
2026-02-19 02:11:01,506 - DEBUG - VM ctest-vn1-vm1-01925839 is ready for SSH connections
2026-02-19 02:11:01,506 - INFO - Waiting for VM ctest-vn1-vm2-31729252 to be up..
2026-02-19 02:11:01,585 - DEBUG - VM is in ACTIVE state now
2026-02-19 02:11:01,585 - INFO - VM name : ctest-vn1-vm2-31729252
2026-02-19 02:11:01,666 - DEBUG - VM ctest-vn1-vm2-31729252 ID is cb2c9e15-9763-4f87-b6ad-1f3e75855810
2026-02-19 02:11:01,666 - DEBUG - VM ctest-vn1-vm2-31729252 launched on Node cn-jenkins-deploy-platform-ansible-os-5347-1
2026-02-19 02:11:01,739 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/cb2c9e15-9763-4f87-b6ad-1f3e75855810
2026-02-19 02:11:01,748 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/877cd229-c344-40b9-9850-364d9b056f70
2026-02-19 02:11:02,992 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.474 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.474/1.796/3.118/1.322 ms')
2026-02-19 02:11:02,992 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31729252 passed
2026-02-19 02:11:03,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 02:11:03,138 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31729252, IP 164.107.133.133, Port 22
2026-02-19 02:11:03,298 - DEBUG - VM ctest-vn1-vm2-31729252 is ready for SSH connections
2026-02-19 02:11:03,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 02:11:03,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 02:11:03,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-19 02:11:03,299 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.224.64.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2026-02-19 02:11:03,299 - DEBUG - ping -s 56 -c 3 -W 1 91.224.64.69
2026-02-19 02:11:05,959 - DEBUG - PING 91.224.64.69 (91.224.64.69): 56 data bytes
64 bytes from 91.224.64.69: seq=0 ttl=63 time=3.491 ms
64 bytes from 91.224.64.69: seq=1 ttl=63 time=1.013 ms
64 bytes from 91.224.64.69: seq=2 ttl=63 time=0.868 ms
--- 91.224.64.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.868/1.790/3.491 ms
2026-02-19 02:11:05,959 - INFO - Ping to IP 91.224.64.69 from VM ctest-vn1-vm2-31729252 passed
2026-02-19 02:11:05,959 - INFO - Detaching port 877cd229-c344-40b9-9850-364d9b056f70 from VM ctest-vn1-vm2-31729252
2026-02-19 02:11:06,008 - INFO - Deleting VM ctest-vn1-vm2-31729252
2026-02-19 02:11:06,098 - INFO - Detaching port 24094c8a-1421-44a5-a2b7-e2b28fd0ab26 from VM ctest-vn1-vm1-01925839
2026-02-19 02:11:06,142 - INFO - Deleting VM ctest-vn1-vm1-01925839
2026-02-19 02:11:06,403 - DEBUG - Response for delete_port : ()
2026-02-19 02:11:06,599 - DEBUG - Response for delete_port : ()
2026-02-19 02:11:06,600 - INFO - Deleting VN ctest-vn1-46260561
2026-02-19 02:11:06,770 - DEBUG - Response for deleting network ()
2026-02-19 02:11:07,032 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 02:11:07,032 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-19 02:11:07,032 - INFO - --------------------------------------------------------------------------------
2026-02-19 02:11:07,816 - INFO - Deleted project: ctest-TestPorts-27742069, ID : a8999d30-73fa-4787-993f-08d143062f87